@unovis/vue 1.4.1-beta.0 → 1.4.2-beta.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.
Files changed (39) hide show
  1. package/components/annotations/index.cjs +2 -0
  2. package/components/annotations/index.cjs.map +1 -0
  3. package/components/annotations/index.d.ts +96 -0
  4. package/components/annotations/index.js +35 -0
  5. package/components/annotations/index.js.map +1 -0
  6. package/components/annotations/index2.cjs +2 -0
  7. package/components/annotations/index2.cjs.map +1 -0
  8. package/components/annotations/index2.js +7 -0
  9. package/components/annotations/index2.js.map +1 -0
  10. package/components/area/index.d.ts +2 -2
  11. package/components/axis/index.d.ts +2 -2
  12. package/components/brush/index.d.ts +1 -1
  13. package/components/crosshair/index.d.ts +2 -2
  14. package/components/free-brush/index.d.ts +1 -1
  15. package/components/graph/index.cjs +1 -1
  16. package/components/graph/index.cjs.map +1 -1
  17. package/components/graph/index.d.ts +4 -0
  18. package/components/graph/index.js +13 -9
  19. package/components/graph/index.js.map +1 -1
  20. package/components/grouped-bar/index.d.ts +2 -2
  21. package/components/line/index.d.ts +2 -2
  22. package/components/scatter/index.d.ts +2 -2
  23. package/components/stacked-bar/index.d.ts +2 -2
  24. package/components/timeline/index.d.ts +2 -2
  25. package/components/xy-labels/index.d.ts +2 -2
  26. package/components.d.ts +6 -5
  27. package/containers/single-container/index.d.ts +1 -1
  28. package/containers/xy-container/index.d.ts +1 -1
  29. package/html-components/bullet-legend/index.cjs +1 -1
  30. package/html-components/bullet-legend/index.cjs.map +1 -1
  31. package/html-components/bullet-legend/index.d.ts +12 -0
  32. package/html-components/bullet-legend/index.js +18 -16
  33. package/html-components/bullet-legend/index.js.map +1 -1
  34. package/html-components/leaflet-flow-map/index.d.ts +1 -1
  35. package/html-components/leaflet-map/index.d.ts +1 -1
  36. package/index.cjs +2 -2
  37. package/index.js +51 -48
  38. package/index.js.map +1 -1
  39. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@unovis/ts"),c=require("../../utils/props.cjs"),p=require("../../utils/context.cjs"),v={"data-vis-annotations":""},_=i.Annotations.selectors,f=e.defineComponent({__name:"index",props:{items:{},duration:{},events:{},attributes:{},data:{}},setup(u,{expose:l}){const d=u,s=e.inject(p.annotationsAccessorKey),n=c.useForwardProps(d),t=e.ref();return e.onMounted(()=>{e.nextTick(()=>{t.value=new i.Annotations(n.value),s.update(t.value)})}),e.onUnmounted(()=>{var o;(o=t.value)==null||o.destroy(),s.destroy()}),e.watch(n,(o,r)=>{var a;c.arePropsEqual(o,r)||(a=t.value)==null||a.setConfig(n.value)}),l({component:t}),(o,r)=>(e.openBlock(),e.createElementBlock("div",v))}});exports.VisAnnotationsSelectors=_;exports.default=f;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/annotations/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-annotations\": \"\" }\n\nimport { Annotations, AnnotationsConfigInterface, AnnotationItem } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { annotationsAccessorKey } from '../../utils/context'\n\n\nexport const VisAnnotationsSelectors = Annotations.selectors\n\ntype Props = AnnotationsConfigInterface\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n items: {},\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(annotationsAccessorKey)\n\n// data and required props \n\n\n\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Annotations>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Annotations(config.value)\n \n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n }\n})\n\n\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","VisAnnotationsSelectors","Annotations","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","annotationsAccessorKey","config","useForwardProps","component","ref","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"mOAGMA,EAAa,CAAE,uBAAwB,IAQhCC,EAA0BC,EAAY,YAAA,UAIvBC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,MAAO,CAAC,EACR,SAAU,CAAC,EACX,OAAQ,CAAC,EACT,WAAY,CAAC,EACb,KAAM,CAAC,CACT,EACA,MAAMC,EAAc,CAAE,OAAQC,GAAY,CAE5C,MAAMC,EAAQF,EAGRG,EAAWC,SAAOC,EAAAA,sBAAsB,EAOxCC,EAASC,kBAAgBL,CAAK,EAG9BM,EAAYC,EAAAA,MAGlBC,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACbH,EAAU,MAAQ,IAAIX,EAAY,YAAAS,EAAO,KAAK,EAErCH,EAAA,OAAOK,EAAU,KAAK,CAAA,CAChC,CAAA,CACF,EAEDI,EAAAA,YAAY,IAAM,QAChBC,EAAAL,EAAU,QAAV,MAAAK,EAAiB,UACjBV,EAAS,QAAQ,CAAA,CAClB,EAEKW,EAAAA,MAAAR,EAAQ,CAACS,EAAMC,IAAS,OACvBC,EAAA,cAAcF,EAAMC,CAAI,IACjBH,EAAAL,EAAA,QAAA,MAAAK,EAAO,UAAUP,EAAO,MACpC,CACD,EAGQL,EAAA,CACP,UAAAO,CAAA,CACD,EAEM,CAACU,EAAUC,KACRC,EAAW,UAAA,EAAGC,EAAAA,mBAAoB,MAAO1B,CAAU,EAE7D,CAEA,CAAC"}
@@ -0,0 +1,96 @@
1
+ import { Annotations, AnnotationItem } from '@unovis/ts';
2
+ export declare const VisAnnotationsSelectors: typeof import("@unovis/ts/lib/components/annotations/style");
3
+ declare const _default: import("vue").DefineComponent<{
4
+ items: {
5
+ type: import("vue").PropType<AnnotationItem[]>;
6
+ required: true;
7
+ };
8
+ duration: {
9
+ type: import("vue").PropType<number>;
10
+ };
11
+ events: {
12
+ type: import("vue").PropType<{
13
+ [selector: string]: {
14
+ touchstart?: import("@unovis/ts").VisEventCallback<any>;
15
+ touchmove?: import("@unovis/ts").VisEventCallback<any>;
16
+ touchend?: import("@unovis/ts").VisEventCallback<any>;
17
+ mouseover?: import("@unovis/ts").VisEventCallback<any>;
18
+ mousemove?: import("@unovis/ts").VisEventCallback<any>;
19
+ mousedown?: import("@unovis/ts").VisEventCallback<any>;
20
+ mouseup?: import("@unovis/ts").VisEventCallback<any>;
21
+ click?: import("@unovis/ts").VisEventCallback<any>;
22
+ auxclick?: import("@unovis/ts").VisEventCallback<any>;
23
+ contextmenu?: import("@unovis/ts").VisEventCallback<any>;
24
+ dblclick?: import("@unovis/ts").VisEventCallback<any>;
25
+ mouseenter?: import("@unovis/ts").VisEventCallback<any>;
26
+ mouseleave?: import("@unovis/ts").VisEventCallback<any>;
27
+ mouseout?: import("@unovis/ts").VisEventCallback<any>;
28
+ scroll?: import("@unovis/ts").VisEventCallback<any>;
29
+ select?: import("@unovis/ts").VisEventCallback<any>;
30
+ wheel?: import("@unovis/ts").VisEventCallback<any>;
31
+ pointerdown?: import("@unovis/ts").VisEventCallback<any>;
32
+ pointerup?: import("@unovis/ts").VisEventCallback<any>;
33
+ pointerout?: import("@unovis/ts").VisEventCallback<any>;
34
+ pointermove?: import("@unovis/ts").VisEventCallback<any>;
35
+ };
36
+ }>;
37
+ };
38
+ attributes: {
39
+ type: import("vue").PropType<{
40
+ [selector: string]: {
41
+ [attr: string]: string | number | boolean | ((datum: any) => string | number | boolean);
42
+ };
43
+ }>;
44
+ };
45
+ data: {
46
+ type: import("vue").PropType<never>;
47
+ };
48
+ }, {
49
+ component: import("vue").Ref<Annotations>;
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ items: {
52
+ type: import("vue").PropType<AnnotationItem[]>;
53
+ required: true;
54
+ };
55
+ duration: {
56
+ type: import("vue").PropType<number>;
57
+ };
58
+ events: {
59
+ type: import("vue").PropType<{
60
+ [selector: string]: {
61
+ touchstart?: import("@unovis/ts").VisEventCallback<any>;
62
+ touchmove?: import("@unovis/ts").VisEventCallback<any>;
63
+ touchend?: import("@unovis/ts").VisEventCallback<any>;
64
+ mouseover?: import("@unovis/ts").VisEventCallback<any>;
65
+ mousemove?: import("@unovis/ts").VisEventCallback<any>;
66
+ mousedown?: import("@unovis/ts").VisEventCallback<any>;
67
+ mouseup?: import("@unovis/ts").VisEventCallback<any>;
68
+ click?: import("@unovis/ts").VisEventCallback<any>;
69
+ auxclick?: import("@unovis/ts").VisEventCallback<any>;
70
+ contextmenu?: import("@unovis/ts").VisEventCallback<any>;
71
+ dblclick?: import("@unovis/ts").VisEventCallback<any>;
72
+ mouseenter?: import("@unovis/ts").VisEventCallback<any>;
73
+ mouseleave?: import("@unovis/ts").VisEventCallback<any>;
74
+ mouseout?: import("@unovis/ts").VisEventCallback<any>;
75
+ scroll?: import("@unovis/ts").VisEventCallback<any>;
76
+ select?: import("@unovis/ts").VisEventCallback<any>;
77
+ wheel?: import("@unovis/ts").VisEventCallback<any>;
78
+ pointerdown?: import("@unovis/ts").VisEventCallback<any>;
79
+ pointerup?: import("@unovis/ts").VisEventCallback<any>;
80
+ pointerout?: import("@unovis/ts").VisEventCallback<any>;
81
+ pointermove?: import("@unovis/ts").VisEventCallback<any>;
82
+ };
83
+ }>;
84
+ };
85
+ attributes: {
86
+ type: import("vue").PropType<{
87
+ [selector: string]: {
88
+ [attr: string]: string | number | boolean | ((datum: any) => string | number | boolean);
89
+ };
90
+ }>;
91
+ };
92
+ data: {
93
+ type: import("vue").PropType<never>;
94
+ };
95
+ }>>, {}, {}>;
96
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { defineComponent as u, inject as m, ref as d, onMounted as l, nextTick as f, onUnmounted as v, watch as _, openBlock as x, createElementBlock as h } from "vue";
2
+ import { Annotations as r } from "@unovis/ts";
3
+ import { useForwardProps as k, arePropsEqual as w } from "../../utils/props.js";
4
+ import { annotationsAccessorKey as y } from "../../utils/context.js";
5
+ const A = { "data-vis-annotations": "" }, P = r.selectors, b = /* @__PURE__ */ u({
6
+ __name: "index",
7
+ props: {
8
+ items: {},
9
+ duration: {},
10
+ events: {},
11
+ attributes: {},
12
+ data: {}
13
+ },
14
+ setup(c, { expose: i }) {
15
+ const p = c, n = m(y), t = k(p), o = d();
16
+ return l(() => {
17
+ f(() => {
18
+ o.value = new r(t.value), n.update(o.value);
19
+ });
20
+ }), v(() => {
21
+ var e;
22
+ (e = o.value) == null || e.destroy(), n.destroy();
23
+ }), _(t, (e, s) => {
24
+ var a;
25
+ w(e, s) || (a = o.value) == null || a.setConfig(t.value);
26
+ }), i({
27
+ component: o
28
+ }), (e, s) => (x(), h("div", A));
29
+ }
30
+ });
31
+ export {
32
+ P as VisAnnotationsSelectors,
33
+ b as default
34
+ };
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/annotations/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-annotations\": \"\" }\n\nimport { Annotations, AnnotationsConfigInterface, AnnotationItem } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { annotationsAccessorKey } from '../../utils/context'\n\n\nexport const VisAnnotationsSelectors = Annotations.selectors\n\ntype Props = AnnotationsConfigInterface\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n items: {},\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(annotationsAccessorKey)\n\n// data and required props \n\n\n\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Annotations>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Annotations(config.value)\n \n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n }\n})\n\n\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","VisAnnotationsSelectors","Annotations","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","annotationsAccessorKey","config","useForwardProps","component","ref","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;;AAGA,MAAMA,IAAa,EAAE,wBAAwB,MAQhCC,IAA0BC,EAAY,WAIvBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,UAAU,CAAC;AAAA,IACX,QAAQ,CAAC;AAAA,IACT,YAAY,CAAC;AAAA,IACb,MAAM,CAAC;AAAA,EACT;AAAA,EACA,MAAMC,GAAc,EAAE,QAAQC,KAAY;AAE5C,UAAMC,IAAQF,GAGRG,IAAWC,EAAOC,CAAsB,GAOxCC,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC;AAGlB,WAAAC,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAAH,EAAU,QAAQ,IAAIX,EAAYS,EAAO,KAAK,GAErCH,EAAA,OAAOK,EAAU,KAAK;AAAA,MAAA,CAChC;AAAA,IAAA,CACF,GAEDI,EAAY,MAAM;;AAChB,OAAAC,IAAAL,EAAU,UAAV,QAAAK,EAAiB,WACjBV,EAAS,QAAQ;AAAA,IAAA,CAClB,GAEKW,EAAAR,GAAQ,CAACS,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBH,IAAAL,EAAA,UAAA,QAAAK,EAAO,UAAUP,EAAO;AAAA,IACpC,CACD,GAGQL,EAAA;AAAA,MACP,WAAAO;AAAA,IAAA,CACD,GAEM,CAACU,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO1B,CAAU;AAAA,EAE7D;AAEA,CAAC;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs");exports.VisAnnotationsSelectors=e.VisAnnotationsSelectors;exports.default=e.default;
2
+ //# sourceMappingURL=index2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index2.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import t from "./index.js";
2
+ import { VisAnnotationsSelectors as s } from "./index.js";
3
+ export {
4
+ s as VisAnnotationsSelectors,
5
+ t as default
6
+ };
7
+ //# sourceMappingURL=index2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -38,14 +38,14 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
+ x: NumericAccessor<Datum>;
42
+ y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
41
43
  color?: import("@unovis/ts").ColorAccessor<Datum[]>;
42
44
  curveType?: string;
43
45
  baseline?: NumericAccessor<Datum>;
44
46
  opacity?: NumericAccessor<Datum[]>;
45
47
  cursor?: import("@unovis/ts").StringAccessor<Datum[]>;
46
48
  minHeight1Px?: boolean;
47
- x: NumericAccessor<Datum>;
48
- y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
49
49
  id?: (d: Datum, i: number, ...any: any[]) => string;
50
50
  xScale?: import("@unovis/ts").ContinuousScale;
51
51
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,10 +38,10 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
- label?: string;
42
- color?: string | string[] | ((d: Datum, i: number, ...any: unknown[]) => string) | ((d: Datum[], i: number, ...any: unknown[]) => string);
43
41
  x?: import("@unovis/ts").NumericAccessor<Datum>;
44
42
  y?: import("@unovis/ts").NumericAccessor<Datum> | import("@unovis/ts").NumericAccessor<Datum>[];
43
+ label?: string;
44
+ color?: string | string[] | ((d: Datum, i: number, ...any: unknown[]) => string) | ((d: Datum[], i: number, ...any: unknown[]) => string);
45
45
  id?: (d: Datum, i: number, ...any: any[]) => string;
46
46
  xScale?: import("@unovis/ts").ContinuousScale;
47
47
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,9 +38,9 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
- color?: string | string[] | ((d: Datum, i: number, ...any: unknown[]) => string) | ((d: Datum[], i: number, ...any: unknown[]) => string);
42
41
  x?: import("@unovis/ts").NumericAccessor<Datum>;
43
42
  y?: import("@unovis/ts").NumericAccessor<Datum> | import("@unovis/ts").NumericAccessor<Datum>[];
43
+ color?: string | string[] | ((d: Datum, i: number, ...any: unknown[]) => string) | ((d: Datum[], i: number, ...any: unknown[]) => string);
44
44
  id?: (d: Datum, i: number, ...any: any[]) => string;
45
45
  xScale?: import("@unovis/ts").ContinuousScale;
46
46
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,11 +38,11 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
+ x?: NumericAccessor<Datum>;
42
+ y?: NumericAccessor<Datum> | NumericAccessor<Datum>[];
41
43
  template?: (data: Datum, x: number | Date) => string | HTMLElement;
42
44
  color?: import("@unovis/ts").ColorAccessor<Datum>;
43
45
  baseline?: NumericAccessor<Datum>;
44
- x?: NumericAccessor<Datum>;
45
- y?: NumericAccessor<Datum> | NumericAccessor<Datum>[];
46
46
  id?: (d: Datum, i: number, ...any: any[]) => string;
47
47
  xScale?: import("@unovis/ts").ContinuousScale;
48
48
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,9 +38,9 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
- color?: string | string[] | ((d: Datum, i: number, ...any: unknown[]) => string) | ((d: Datum[], i: number, ...any: unknown[]) => string);
42
41
  x?: import("@unovis/ts").NumericAccessor<Datum>;
43
42
  y?: import("@unovis/ts").NumericAccessor<Datum> | import("@unovis/ts").NumericAccessor<Datum>[];
43
+ color?: string | string[] | ((d: Datum, i: number, ...any: unknown[]) => string) | ((d: Datum[], i: number, ...any: unknown[]) => string);
44
44
  id?: (d: Datum, i: number, ...any: any[]) => string;
45
45
  xScale?: import("@unovis/ts").ContinuousScale;
46
46
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@unovis/ts"),c=require("../../utils/props.cjs"),s=require("../../utils/context.cjs"),F={"data-vis-component":""},S=p.Graph.selectors,b=e.defineComponent({__name:"index",props:{zoomScaleExtent:{},disableZoom:{type:Boolean},disableDrag:{type:Boolean},zoomThrottledUpdateNodeThreshold:{},layoutType:{},layoutAutofit:{type:Boolean},layoutAutofitTolerance:{},layoutNonConnectedAside:{type:Boolean},layoutNodeGroup:{type:[Function,String,null]},layoutGroupOrder:{},layoutParallelNodesPerColumn:{},layoutParallelNodeSubGroup:{type:[Function,String,null]},layoutParallelSubGroupsPerRow:{},layoutParallelGroupSpacing:{},layoutParallelSortConnectionsByGroup:{},forceLayoutSettings:{},dagreLayoutSettings:{},layoutElkSettings:{type:[Function,null]},layoutElkNodeGroups:{},linkWidth:{type:[Function,Number,null]},linkStyle:{type:[Function,null]},linkBandWidth:{type:[Function,Number,null]},linkArrow:{type:[Function,null]},linkStroke:{type:[Function,String,Array,null]},linkDisabled:{type:[Function,Boolean,null]},linkFlow:{type:[Function,Boolean,null]},linkFlowAnimDuration:{},linkFlowParticleSize:{},linkLabel:{type:[Function,null]},linkLabelShiftFromCenter:{type:[Function,Boolean,null]},linkNeighborSpacing:{},linkCurvature:{type:[Function,Number,null]},selectedLinkId:{},nodeSize:{type:[Function,Number,null]},nodeStrokeWidth:{type:[Function,Number,null]},nodeShape:{type:[Function,null]},nodeGaugeValue:{type:[Function,Number,null]},nodeGaugeFill:{type:[Function,String,Array,null]},nodeGaugeAnimDuration:{},nodeIcon:{type:[Function,String,null]},nodeIconSize:{type:[Function,Number,null]},nodeLabel:{type:[Function,String,null]},nodeLabelTrim:{type:[Function,Boolean,null]},nodeLabelTrimMode:{type:[Function,null]},nodeLabelTrimLength:{type:[Function,Number,null]},nodeSubLabel:{type:[Function,String,null]},nodeSubLabelTrim:{type:[Function,Boolean,null]},nodeSubLabelTrimMode:{type:[Function,null]},nodeSubLabelTrimLength:{type:[Function,Number,null]},nodeSideLabels:{type:[Function,null]},nodeBottomIcon:{type:[Function,String,null]},nodeDisabled:{type:[Function,Boolean,null]},nodeFill:{type:[Function,String,Array,null]},nodeStroke:{type:[Function,String,Array,null]},nodeSort:{type:Function},nodeEnterPosition:{type:[Function,null]},nodeEnterScale:{type:[Function,Number,null]},nodeExitPosition:{type:[Function,null]},nodeExitScale:{type:[Function,Number,null]},selectedNodeId:{},panels:{},onNodeDragStart:{type:Function},onNodeDrag:{type:Function},onNodeDragEnd:{type:Function},onZoom:{type:Function},onLayoutCalculated:{type:Function},duration:{},events:{},attributes:{},data:{}},setup(d,{expose:y}){const i=d,o=e.inject(s.componentAccessorKey),l=e.computed(()=>o.data.value??i.data),u=c.useForwardProps(i),t=e.ref();return e.onMounted(()=>{e.nextTick(()=>{var n;t.value=new p.Graph(u.value),(n=t.value)==null||n.setData(l.value),o.update(t.value)})}),e.onUnmounted(()=>{var n;(n=t.value)==null||n.destroy(),o.destroy()}),e.watch(u,(n,a)=>{var r;c.arePropsEqual(n,a)||(r=t.value)==null||r.setConfig(u.value)}),e.watch(l,()=>{var n;(n=t.value)==null||n.setData(l.value)}),y({component:t}),(n,a)=>(e.openBlock(),e.createElementBlock("div",F))}});exports.VisGraphSelectors=S;exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),d=require("@unovis/ts"),c=require("../../utils/props.cjs"),s=require("../../utils/context.cjs"),F={"data-vis-component":""},S=d.Graph.selectors,b=n.defineComponent({__name:"index",props:{zoomScaleExtent:{},disableZoom:{type:Boolean},disableDrag:{type:Boolean},disableBrush:{type:Boolean},zoomThrottledUpdateNodeThreshold:{},layoutType:{},layoutAutofit:{type:Boolean},layoutAutofitTolerance:{},layoutNonConnectedAside:{type:Boolean},layoutNodeGroup:{type:[Function,String,null]},layoutGroupOrder:{},layoutParallelNodesPerColumn:{},layoutParallelNodeSubGroup:{type:[Function,String,null]},layoutParallelSubGroupsPerRow:{},layoutParallelGroupSpacing:{},layoutParallelSortConnectionsByGroup:{},forceLayoutSettings:{},dagreLayoutSettings:{},layoutElkSettings:{type:[Function,null]},layoutElkNodeGroups:{},linkWidth:{type:[Function,Number,null]},linkStyle:{type:[Function,null]},linkBandWidth:{type:[Function,Number,null]},linkArrow:{type:[Function,null]},linkStroke:{type:[Function,String,Array,null]},linkDisabled:{type:[Function,Boolean,null]},linkFlow:{type:[Function,Boolean,null]},linkFlowAnimDuration:{},linkFlowParticleSize:{},linkLabel:{type:[Function,null]},linkLabelShiftFromCenter:{type:[Function,Boolean,null]},linkNeighborSpacing:{},linkCurvature:{type:[Function,Number,null]},selectedLinkId:{},nodeSize:{type:[Function,Number,null]},nodeStrokeWidth:{type:[Function,Number,null]},nodeShape:{type:[Function,null]},nodeGaugeValue:{type:[Function,Number,null]},nodeGaugeFill:{type:[Function,String,Array,null]},nodeGaugeAnimDuration:{},nodeIcon:{type:[Function,String,null]},nodeIconSize:{type:[Function,Number,null]},nodeLabel:{type:[Function,String,null]},nodeLabelTrim:{type:[Function,Boolean,null]},nodeLabelTrimMode:{type:[Function,null]},nodeLabelTrimLength:{type:[Function,Number,null]},nodeSubLabel:{type:[Function,String,null]},nodeSubLabelTrim:{type:[Function,Boolean,null]},nodeSubLabelTrimMode:{type:[Function,null]},nodeSubLabelTrimLength:{type:[Function,Number,null]},nodeSideLabels:{type:[Function,null]},nodeBottomIcon:{type:[Function,String,null]},nodeDisabled:{type:[Function,Boolean,null]},nodeFill:{type:[Function,String,Array,null]},nodeStroke:{type:[Function,String,Array,null]},nodeSort:{type:Function},nodeEnterPosition:{type:[Function,null]},nodeEnterScale:{type:[Function,Number,null]},nodeExitPosition:{type:[Function,null]},nodeExitScale:{type:[Function,Number,null]},selectedNodeId:{},selectedNodeIds:{},panels:{},onNodeDragStart:{type:Function},onNodeDrag:{type:Function},onNodeDragEnd:{type:Function},onZoom:{type:Function},onLayoutCalculated:{type:Function},onNodeSelectionBrush:{type:Function},onNodeSelectionDrag:{type:Function},duration:{},events:{},attributes:{},data:{}},setup(p,{expose:y}){const i=p,t=n.inject(s.componentAccessorKey),l=n.computed(()=>t.data.value??i.data),u=c.useForwardProps(i),o=n.ref();return n.onMounted(()=>{n.nextTick(()=>{var e;o.value=new d.Graph(u.value),(e=o.value)==null||e.setData(l.value),t.update(o.value)})}),n.onUnmounted(()=>{var e;(e=o.value)==null||e.destroy(),t.destroy()}),n.watch(u,(e,a)=>{var r;c.arePropsEqual(e,a)||(r=o.value)==null||r.setConfig(u.value)}),n.watch(l,()=>{var e;(e=o.value)==null||e.setData(l.value)}),y({component:o}),(e,a)=>(n.openBlock(),n.createElementBlock("div",F))}});exports.VisGraphSelectors=S;exports.default=b;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/graph/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 { Graph, GraphConfigInterface, GraphInputNode, GraphInputLink } 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 VisGraphSelectors = Graph.selectors\n\ntype Props = GraphConfigInterface<N, L>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n zoomScaleExtent: {},\n disableZoom: { type: Boolean },\n disableDrag: { type: Boolean },\n zoomThrottledUpdateNodeThreshold: {},\n layoutType: {},\n layoutAutofit: { type: Boolean },\n layoutAutofitTolerance: {},\n layoutNonConnectedAside: { type: Boolean },\n layoutNodeGroup: { type: [Function, String, null] },\n layoutGroupOrder: {},\n layoutParallelNodesPerColumn: {},\n layoutParallelNodeSubGroup: { type: [Function, String, null] },\n layoutParallelSubGroupsPerRow: {},\n layoutParallelGroupSpacing: {},\n layoutParallelSortConnectionsByGroup: {},\n forceLayoutSettings: {},\n dagreLayoutSettings: {},\n layoutElkSettings: { type: [Function, null] },\n layoutElkNodeGroups: {},\n linkWidth: { type: [Function, Number, null] },\n linkStyle: { type: [Function, null] },\n linkBandWidth: { type: [Function, Number, null] },\n linkArrow: { type: [Function, null] },\n linkStroke: { type: [Function, String, Array, null] },\n linkDisabled: { type: [Function, Boolean, null] },\n linkFlow: { type: [Function, Boolean, null] },\n linkFlowAnimDuration: {},\n linkFlowParticleSize: {},\n linkLabel: { type: [Function, null] },\n linkLabelShiftFromCenter: { type: [Function, Boolean, null] },\n linkNeighborSpacing: {},\n linkCurvature: { type: [Function, Number, null] },\n selectedLinkId: {},\n nodeSize: { type: [Function, Number, null] },\n nodeStrokeWidth: { type: [Function, Number, null] },\n nodeShape: { type: [Function, null] },\n nodeGaugeValue: { type: [Function, Number, null] },\n nodeGaugeFill: { type: [Function, String, Array, null] },\n nodeGaugeAnimDuration: {},\n nodeIcon: { type: [Function, String, null] },\n nodeIconSize: { type: [Function, Number, null] },\n nodeLabel: { type: [Function, String, null] },\n nodeLabelTrim: { type: [Function, Boolean, null] },\n nodeLabelTrimMode: { type: [Function, null] },\n nodeLabelTrimLength: { type: [Function, Number, null] },\n nodeSubLabel: { type: [Function, String, null] },\n nodeSubLabelTrim: { type: [Function, Boolean, null] },\n nodeSubLabelTrimMode: { type: [Function, null] },\n nodeSubLabelTrimLength: { type: [Function, Number, null] },\n nodeSideLabels: { type: [Function, null] },\n nodeBottomIcon: { type: [Function, String, null] },\n nodeDisabled: { type: [Function, Boolean, null] },\n nodeFill: { type: [Function, String, Array, null] },\n nodeStroke: { type: [Function, String, Array, null] },\n nodeSort: { type: Function },\n nodeEnterPosition: { type: [Function, null] },\n nodeEnterScale: { type: [Function, Number, null] },\n nodeExitPosition: { type: [Function, null] },\n nodeExitScale: { type: [Function, Number, null] },\n selectedNodeId: {},\n panels: {},\n onNodeDragStart: { type: Function },\n onNodeDrag: { type: Function },\n onNodeDragEnd: { type: Function },\n onZoom: { type: Function },\n onLayoutCalculated: { type: Function },\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<Graph<N, L>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Graph<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","VisGraphSelectors","Graph","_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,EAAoBC,EAAM,MAAA,UAIXC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,gBAAiB,CAAC,EAClB,YAAa,CAAE,KAAM,OAAQ,EAC7B,YAAa,CAAE,KAAM,OAAQ,EAC7B,iCAAkC,CAAC,EACnC,WAAY,CAAC,EACb,cAAe,CAAE,KAAM,OAAQ,EAC/B,uBAAwB,CAAC,EACzB,wBAAyB,CAAE,KAAM,OAAQ,EACzC,gBAAiB,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAClD,iBAAkB,CAAC,EACnB,6BAA8B,CAAC,EAC/B,2BAA4B,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC7D,8BAA+B,CAA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,GAAY,CAE5C,MAAMC,EAAQF,EAGRG,EAAWC,SAAOC,EAAAA,oBAAoB,EAKtCC,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,EAAY,MAAAW,EAAO,KAAK,GACpCM,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
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/graph/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 { Graph, GraphConfigInterface, GraphInputNode, GraphInputLink } 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 VisGraphSelectors = Graph.selectors\n\ntype Props = GraphConfigInterface<N, L>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n zoomScaleExtent: {},\n disableZoom: { type: Boolean },\n disableDrag: { type: Boolean },\n disableBrush: { type: Boolean },\n zoomThrottledUpdateNodeThreshold: {},\n layoutType: {},\n layoutAutofit: { type: Boolean },\n layoutAutofitTolerance: {},\n layoutNonConnectedAside: { type: Boolean },\n layoutNodeGroup: { type: [Function, String, null] },\n layoutGroupOrder: {},\n layoutParallelNodesPerColumn: {},\n layoutParallelNodeSubGroup: { type: [Function, String, null] },\n layoutParallelSubGroupsPerRow: {},\n layoutParallelGroupSpacing: {},\n layoutParallelSortConnectionsByGroup: {},\n forceLayoutSettings: {},\n dagreLayoutSettings: {},\n layoutElkSettings: { type: [Function, null] },\n layoutElkNodeGroups: {},\n linkWidth: { type: [Function, Number, null] },\n linkStyle: { type: [Function, null] },\n linkBandWidth: { type: [Function, Number, null] },\n linkArrow: { type: [Function, null] },\n linkStroke: { type: [Function, String, Array, null] },\n linkDisabled: { type: [Function, Boolean, null] },\n linkFlow: { type: [Function, Boolean, null] },\n linkFlowAnimDuration: {},\n linkFlowParticleSize: {},\n linkLabel: { type: [Function, null] },\n linkLabelShiftFromCenter: { type: [Function, Boolean, null] },\n linkNeighborSpacing: {},\n linkCurvature: { type: [Function, Number, null] },\n selectedLinkId: {},\n nodeSize: { type: [Function, Number, null] },\n nodeStrokeWidth: { type: [Function, Number, null] },\n nodeShape: { type: [Function, null] },\n nodeGaugeValue: { type: [Function, Number, null] },\n nodeGaugeFill: { type: [Function, String, Array, null] },\n nodeGaugeAnimDuration: {},\n nodeIcon: { type: [Function, String, null] },\n nodeIconSize: { type: [Function, Number, null] },\n nodeLabel: { type: [Function, String, null] },\n nodeLabelTrim: { type: [Function, Boolean, null] },\n nodeLabelTrimMode: { type: [Function, null] },\n nodeLabelTrimLength: { type: [Function, Number, null] },\n nodeSubLabel: { type: [Function, String, null] },\n nodeSubLabelTrim: { type: [Function, Boolean, null] },\n nodeSubLabelTrimMode: { type: [Function, null] },\n nodeSubLabelTrimLength: { type: [Function, Number, null] },\n nodeSideLabels: { type: [Function, null] },\n nodeBottomIcon: { type: [Function, String, null] },\n nodeDisabled: { type: [Function, Boolean, null] },\n nodeFill: { type: [Function, String, Array, null] },\n nodeStroke: { type: [Function, String, Array, null] },\n nodeSort: { type: Function },\n nodeEnterPosition: { type: [Function, null] },\n nodeEnterScale: { type: [Function, Number, null] },\n nodeExitPosition: { type: [Function, null] },\n nodeExitScale: { type: [Function, Number, null] },\n selectedNodeId: {},\n selectedNodeIds: {},\n panels: {},\n onNodeDragStart: { type: Function },\n onNodeDrag: { type: Function },\n onNodeDragEnd: { type: Function },\n onZoom: { type: Function },\n onLayoutCalculated: { type: Function },\n onNodeSelectionBrush: { type: Function },\n onNodeSelectionDrag: { type: Function },\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<Graph<N, L>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Graph<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","VisGraphSelectors","Graph","_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,EAAoBC,EAAM,MAAA,UAIXC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,gBAAiB,CAAC,EAClB,YAAa,CAAE,KAAM,OAAQ,EAC7B,YAAa,CAAE,KAAM,OAAQ,EAC7B,aAAc,CAAE,KAAM,OAAQ,EAC9B,iCAAkC,CAAC,EACnC,WAAY,CAAC,EACb,cAAe,CAAE,KAAM,OAAQ,EAC/B,uBAAwB,CAAC,EACzB,wBAAyB,CAAE,KAAM,OAAQ,EACzC,gBAAiB,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAClD,iBAAkB,CAAC,EACnB,6BAA8B,CAAC,EAC/B,2BAA4B,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC7D,8BAA+B,CAAC,EAChC,2BAA4B,CAAC,EAC7B,qCAAsC,CAAC,EACvC,oBAAqB,CAAC,EACtB,oBAAqB,CAAC,EACtB,kBAAmB,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EAC5C,oBAAqB,CAAC,EACtB,UAAW,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC5C,UAAW,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACpC,cAAe,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAChD,UAAW,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACpC,WAAY,CAAE,KAAM,CAAC,SAAU,OAAQ,MAAO,IAAI,CAAE,EACpD,aAAc,CAAE,KAAM,CAAC,SAAU,QAAS,IAAI,CAAE,EAChD,SAAU,CAAE,KAAM,CAAC,SAAU,QAAS,IAAI,CAAE,EAC5C,qBAAsB,CAAC,EACvB,qBAAsB,CAAC,EACvB,UAAW,CAAE,KAAM,CAAC,S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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"}
@@ -65,6 +65,7 @@ declare const _default: <N extends GraphInputNode, L extends GraphInputLink>(__V
65
65
  zoomScaleExtent?: [number, number];
66
66
  disableZoom?: boolean;
67
67
  disableDrag?: boolean;
68
+ disableBrush?: boolean;
68
69
  zoomThrottledUpdateNodeThreshold?: number;
69
70
  layoutType?: string;
70
71
  layoutAutofit?: boolean;
@@ -121,12 +122,15 @@ declare const _default: <N extends GraphInputNode, L extends GraphInputLink>(__V
121
122
  nodeExitPosition?: import("@unovis/ts").GenericAccessor<[number, number], N>;
122
123
  nodeExitScale?: import("@unovis/ts").NumericAccessor<N>;
123
124
  selectedNodeId?: string | number;
125
+ selectedNodeIds?: string[] | number[];
124
126
  panels?: import("@unovis/ts").GraphPanelConfig[];
125
127
  onNodeDragStart?: (n: import("@unovis/ts").GraphNode<N, L>, event: import("d3-drag").D3DragEvent<SVGGElement, import("@unovis/ts").GraphNode<N, L>, unknown>) => void;
126
128
  onNodeDrag?: (n: import("@unovis/ts").GraphNode<N, L>, event: import("d3-drag").D3DragEvent<SVGGElement, import("@unovis/ts").GraphNode<N, L>, unknown>) => void;
127
129
  onNodeDragEnd?: (n: import("@unovis/ts").GraphNode<N, L>, event: import("d3-drag").D3DragEvent<SVGGElement, import("@unovis/ts").GraphNode<N, L>, unknown>) => void;
128
130
  onZoom?: (zoomScale: number, zoomScaleExtent: [number, number], event: import("d3-zoom").D3ZoomEvent<SVGGElement, unknown>) => void;
129
131
  onLayoutCalculated?: (n: import("@unovis/ts").GraphNode<N, L>[], links: import("@unovis/ts").GraphLink<N, L>[]) => void;
132
+ onNodeSelectionBrush?: (selectedNodes: import("@unovis/ts").GraphNode<N, L>[], event: import("d3-brush").D3BrushEvent<SVGGElement>) => void;
133
+ onNodeSelectionDrag?: (selectedNodes: import("@unovis/ts").GraphNode<N, L>[], event: import("d3-drag").D3DragEvent<SVGGElement, import("@unovis/ts").GraphNode<N, L>, unknown>) => void;
130
134
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
131
135
  expose(exposed: import("vue").ShallowUnwrapRef<{
132
136
  component: import("vue").Ref<Graph<N, L>>;
@@ -1,13 +1,14 @@
1
- import { defineComponent as y, inject as s, computed as F, ref as m, onMounted as S, nextTick as b, onUnmounted as g, watch as r, openBlock as k, createElementBlock as N } from "vue";
1
+ import { defineComponent as y, inject as s, computed as F, ref as m, onMounted as S, nextTick as b, onUnmounted as g, watch as r, openBlock as N, createElementBlock as k } from "vue";
2
2
  import { Graph as c } from "@unovis/ts";
3
- import { useForwardProps as L, arePropsEqual as h } from "../../utils/props.js";
4
- import { componentAccessorKey as f } from "../../utils/context.js";
5
- const v = { "data-vis-component": "" }, T = c.selectors, D = /* @__PURE__ */ y({
3
+ import { useForwardProps as h, arePropsEqual as B } from "../../utils/props.js";
4
+ import { componentAccessorKey as L } from "../../utils/context.js";
5
+ const f = { "data-vis-component": "" }, D = c.selectors, T = /* @__PURE__ */ y({
6
6
  __name: "index",
7
7
  props: {
8
8
  zoomScaleExtent: {},
9
9
  disableZoom: { type: Boolean },
10
10
  disableDrag: { type: Boolean },
11
+ disableBrush: { type: Boolean },
11
12
  zoomThrottledUpdateNodeThreshold: {},
12
13
  layoutType: {},
13
14
  layoutAutofit: { type: Boolean },
@@ -65,19 +66,22 @@ const v = { "data-vis-component": "" }, T = c.selectors, D = /* @__PURE__ */ y({
65
66
  nodeExitPosition: { type: [Function, null] },
66
67
  nodeExitScale: { type: [Function, Number, null] },
67
68
  selectedNodeId: {},
69
+ selectedNodeIds: {},
68
70
  panels: {},
69
71
  onNodeDragStart: { type: Function },
70
72
  onNodeDrag: { type: Function },
71
73
  onNodeDragEnd: { type: Function },
72
74
  onZoom: { type: Function },
73
75
  onLayoutCalculated: { type: Function },
76
+ onNodeSelectionBrush: { type: Function },
77
+ onNodeSelectionDrag: { type: Function },
74
78
  duration: {},
75
79
  events: {},
76
80
  attributes: {},
77
81
  data: {}
78
82
  },
79
83
  setup(p, { expose: d }) {
80
- const u = p, o = s(f), t = F(() => o.data.value ?? u.data), l = L(u), e = m();
84
+ const u = p, o = s(L), t = F(() => o.data.value ?? u.data), l = h(u), e = m();
81
85
  return S(() => {
82
86
  b(() => {
83
87
  var n;
@@ -88,17 +92,17 @@ const v = { "data-vis-component": "" }, T = c.selectors, D = /* @__PURE__ */ y({
88
92
  (n = e.value) == null || n.destroy(), o.destroy();
89
93
  }), r(l, (n, i) => {
90
94
  var a;
91
- h(n, i) || (a = e.value) == null || a.setConfig(l.value);
95
+ B(n, i) || (a = e.value) == null || a.setConfig(l.value);
92
96
  }), r(t, () => {
93
97
  var n;
94
98
  (n = e.value) == null || n.setData(t.value);
95
99
  }), d({
96
100
  component: e
97
- }), (n, i) => (k(), N("div", v));
101
+ }), (n, i) => (N(), k("div", f));
98
102
  }
99
103
  });
100
104
  export {
101
- T as VisGraphSelectors,
102
- D as default
105
+ D as VisGraphSelectors,
106
+ T as default
103
107
  };
104
108
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/graph/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 { Graph, GraphConfigInterface, GraphInputNode, GraphInputLink } 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 VisGraphSelectors = Graph.selectors\n\ntype Props = GraphConfigInterface<N, L>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n zoomScaleExtent: {},\n disableZoom: { type: Boolean },\n disableDrag: { type: Boolean },\n zoomThrottledUpdateNodeThreshold: {},\n layoutType: {},\n layoutAutofit: { type: Boolean },\n layoutAutofitTolerance: {},\n layoutNonConnectedAside: { type: Boolean },\n layoutNodeGroup: { type: [Function, String, null] },\n layoutGroupOrder: {},\n layoutParallelNodesPerColumn: {},\n layoutParallelNodeSubGroup: { type: [Function, String, null] },\n layoutParallelSubGroupsPerRow: {},\n layoutParallelGroupSpacing: {},\n layoutParallelSortConnectionsByGroup: {},\n forceLayoutSettings: {},\n dagreLayoutSettings: {},\n layoutElkSettings: { type: [Function, null] },\n layoutElkNodeGroups: {},\n linkWidth: { type: [Function, Number, null] },\n linkStyle: { type: [Function, null] },\n linkBandWidth: { type: [Function, Number, null] },\n linkArrow: { type: [Function, null] },\n linkStroke: { type: [Function, String, Array, null] },\n linkDisabled: { type: [Function, Boolean, null] },\n linkFlow: { type: [Function, Boolean, null] },\n linkFlowAnimDuration: {},\n linkFlowParticleSize: {},\n linkLabel: { type: [Function, null] },\n linkLabelShiftFromCenter: { type: [Function, Boolean, null] },\n linkNeighborSpacing: {},\n linkCurvature: { type: [Function, Number, null] },\n selectedLinkId: {},\n nodeSize: { type: [Function, Number, null] },\n nodeStrokeWidth: { type: [Function, Number, null] },\n nodeShape: { type: [Function, null] },\n nodeGaugeValue: { type: [Function, Number, null] },\n nodeGaugeFill: { type: [Function, String, Array, null] },\n nodeGaugeAnimDuration: {},\n nodeIcon: { type: [Function, String, null] },\n nodeIconSize: { type: [Function, Number, null] },\n nodeLabel: { type: [Function, String, null] },\n nodeLabelTrim: { type: [Function, Boolean, null] },\n nodeLabelTrimMode: { type: [Function, null] },\n nodeLabelTrimLength: { type: [Function, Number, null] },\n nodeSubLabel: { type: [Function, String, null] },\n nodeSubLabelTrim: { type: [Function, Boolean, null] },\n nodeSubLabelTrimMode: { type: [Function, null] },\n nodeSubLabelTrimLength: { type: [Function, Number, null] },\n nodeSideLabels: { type: [Function, null] },\n nodeBottomIcon: { type: [Function, String, null] },\n nodeDisabled: { type: [Function, Boolean, null] },\n nodeFill: { type: [Function, String, Array, null] },\n nodeStroke: { type: [Function, String, Array, null] },\n nodeSort: { type: Function },\n nodeEnterPosition: { type: [Function, null] },\n nodeEnterScale: { type: [Function, Number, null] },\n nodeExitPosition: { type: [Function, null] },\n nodeExitScale: { type: [Function, Number, null] },\n selectedNodeId: {},\n panels: {},\n onNodeDragStart: { type: Function },\n onNodeDrag: { type: Function },\n onNodeDragEnd: { type: Function },\n onZoom: { type: Function },\n onLayoutCalculated: { type: Function },\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<Graph<N, L>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Graph<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","VisGraphSelectors","Graph","_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,IAAoBC,EAAM,WAIXC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,iBAAiB,CAAC;AAAA,IAClB,aAAa,EAAE,MAAM,QAAQ;AAAA,IAC7B,aAAa,EAAE,MAAM,QAAQ;AAAA,IAC7B,kCAAkC,CAAC;AAAA,IACnC,YAAY,CAAC;AAAA,IACb,eAAe,EAAE,MAAM,QAAQ;AAAA,IAC/B,wBAAwB,CAAC;AAAA,IACzB,yBAAyB,EAAE,MAAM,QAAQ;AAAA,IACzC,iBAAiB,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IAClD,kBAAkB,CAAC;AAAA,IACnB,8BAA8B,CAAC;AAAA,IAC/B,4BAA4B,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IAC7D,+BAA+B,CAAC;AAAA,IAChC,4BAA4B,CAAC;AAAA,IAC7B,sCAAsC,CAAC;AAAA,IACvC,qBAAqB,CAAC;AAAA,IACtB,qBAAqB,CAAC;AAAA,IACtB,mBAAmB,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;AAAA,IAC5C,qBAAqB,CAAC;AAAA,IACtB,WAAW,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IAC5C,WAAW,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;AAAA,IACpC,eAAe,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IAChD,WAAW,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;AAAA,IACpC,YAAY,EAAE,MAAM,CAAC,UAAU,QAAQ,OAAO,IAAI,EAAE;AAAA,IACpD,cAAc,EAAE,MAAM,CAAC,UAAU,SAAS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EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;;AACb,QAAAH,EAAU,QAAQ,IAAIb,EAAYW,EAAO,KAAK,IACpCM,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
+ {"version":3,"file":"index.js","sources":["../../../src/components/graph/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 { Graph, GraphConfigInterface, GraphInputNode, GraphInputLink } 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 VisGraphSelectors = Graph.selectors\n\ntype Props = GraphConfigInterface<N, L>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n zoomScaleExtent: {},\n disableZoom: { type: Boolean },\n disableDrag: { type: Boolean },\n disableBrush: { type: Boolean },\n zoomThrottledUpdateNodeThreshold: {},\n layoutType: {},\n layoutAutofit: { type: Boolean },\n layoutAutofitTolerance: {},\n layoutNonConnectedAside: { type: Boolean },\n layoutNodeGroup: { type: [Function, String, null] },\n layoutGroupOrder: {},\n layoutParallelNodesPerColumn: {},\n layoutParallelNodeSubGroup: { type: [Function, String, null] },\n layoutParallelSubGroupsPerRow: {},\n layoutParallelGroupSpacing: {},\n layoutParallelSortConnectionsByGroup: {},\n forceLayoutSettings: {},\n dagreLayoutSettings: {},\n layoutElkSettings: { type: [Function, null] },\n layoutElkNodeGroups: {},\n linkWidth: { type: [Function, Number, null] },\n linkStyle: { type: [Function, null] },\n linkBandWidth: { type: [Function, Number, null] },\n linkArrow: { type: [Function, null] },\n linkStroke: { type: [Function, String, Array, null] },\n linkDisabled: { type: [Function, Boolean, null] },\n linkFlow: { type: [Function, Boolean, null] },\n linkFlowAnimDuration: {},\n linkFlowParticleSize: {},\n linkLabel: { type: [Function, null] },\n linkLabelShiftFromCenter: { type: [Function, Boolean, null] },\n linkNeighborSpacing: {},\n linkCurvature: { type: [Function, Number, null] },\n selectedLinkId: {},\n nodeSize: { type: [Function, Number, null] },\n nodeStrokeWidth: { type: [Function, Number, null] },\n nodeShape: { type: [Function, null] },\n nodeGaugeValue: { type: [Function, Number, null] },\n nodeGaugeFill: { type: [Function, String, Array, null] },\n nodeGaugeAnimDuration: {},\n nodeIcon: { type: [Function, String, null] },\n nodeIconSize: { type: [Function, Number, null] },\n nodeLabel: { type: [Function, String, null] },\n nodeLabelTrim: { type: [Function, Boolean, null] },\n nodeLabelTrimMode: { type: [Function, null] },\n nodeLabelTrimLength: { type: [Function, Number, null] },\n nodeSubLabel: { type: [Function, String, null] },\n nodeSubLabelTrim: { type: [Function, Boolean, null] },\n nodeSubLabelTrimMode: { type: [Function, null] },\n nodeSubLabelTrimLength: { type: [Function, Number, null] },\n nodeSideLabels: { type: [Function, null] },\n nodeBottomIcon: { type: [Function, String, null] },\n nodeDisabled: { type: [Function, Boolean, null] },\n nodeFill: { type: [Function, String, Array, null] },\n nodeStroke: { type: [Function, String, Array, null] },\n nodeSort: { type: Function },\n nodeEnterPosition: { type: [Function, null] },\n nodeEnterScale: { type: [Function, Number, null] },\n nodeExitPosition: { type: [Function, null] },\n nodeExitScale: { type: [Function, Number, null] },\n selectedNodeId: {},\n selectedNodeIds: {},\n panels: {},\n onNodeDragStart: { type: Function },\n onNodeDrag: { type: Function },\n onNodeDragEnd: { type: Function },\n onZoom: { type: Function },\n onLayoutCalculated: { type: Function },\n onNodeSelectionBrush: { type: Function },\n onNodeSelectionDrag: { type: Function },\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<Graph<N, L>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Graph<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","VisGraphSelectors","Graph","_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,IAAoBC,EAAM,WAIXC,IAAiBC,gBAA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b,QAAAH,EAAU,QAAQ,IAAIb,EAAYW,EAAO,KAAK,IACpCM,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;"}
@@ -38,10 +38,10 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
- color?: import("@unovis/ts").ColorAccessor<Datum>;
42
- cursor?: import("@unovis/ts").StringAccessor<Datum>;
43
41
  x: NumericAccessor<Datum>;
44
42
  y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
43
+ color?: import("@unovis/ts").ColorAccessor<Datum>;
44
+ cursor?: import("@unovis/ts").StringAccessor<Datum>;
45
45
  id?: (d: Datum, i: number, ...any: any[]) => string;
46
46
  xScale?: import("@unovis/ts").ContinuousScale;
47
47
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,11 +38,11 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
+ x: NumericAccessor<Datum>;
42
+ y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
41
43
  color?: import("@unovis/ts").ColorAccessor<Datum[]>;
42
44
  curveType?: import("@unovis/ts").CurveType;
43
45
  cursor?: import("@unovis/ts").StringAccessor<Datum[]>;
44
- x: NumericAccessor<Datum>;
45
- y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
46
46
  id?: (d: Datum, i: number, ...any: any[]) => string;
47
47
  xScale?: import("@unovis/ts").ContinuousScale;
48
48
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,11 +38,11 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
+ x: NumericAccessor<Datum>;
42
+ y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
41
43
  label?: import("@unovis/ts").StringAccessor<Datum>;
42
44
  color?: import("@unovis/ts").ColorAccessor<Datum>;
43
45
  cursor?: import("@unovis/ts").StringAccessor<Datum>;
44
- x: NumericAccessor<Datum>;
45
- y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
46
46
  id?: (d: Datum, i: number, ...any: any[]) => string;
47
47
  xScale?: import("@unovis/ts").ContinuousScale;
48
48
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,10 +38,10 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
- color?: import("@unovis/ts").ColorAccessor<Datum>;
42
- cursor?: import("@unovis/ts").StringAccessor<Datum>;
43
41
  x: NumericAccessor<Datum>;
44
42
  y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
43
+ color?: import("@unovis/ts").ColorAccessor<Datum>;
44
+ cursor?: import("@unovis/ts").StringAccessor<Datum>;
45
45
  id?: (d: Datum, i: number, ...any: any[]) => string;
46
46
  xScale?: import("@unovis/ts").ContinuousScale;
47
47
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -40,11 +40,11 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
40
40
  };
41
41
  data?: Datum[];
42
42
  length?: NumericAccessor<Datum>;
43
+ x: NumericAccessor<Datum>;
44
+ y?: NumericAccessor<Datum> | NumericAccessor<Datum>[];
43
45
  onScroll?: (scrollTop: number) => void;
44
46
  color?: import("@unovis/ts").ColorAccessor<Datum>;
45
47
  cursor?: StringAccessor<Datum>;
46
- x: NumericAccessor<Datum>;
47
- y?: NumericAccessor<Datum> | NumericAccessor<Datum>[];
48
48
  id?: (d: Datum, i: number, ...any: any[]) => string;
49
49
  xScale?: import("@unovis/ts").ContinuousScale;
50
50
  yScale?: import("@unovis/ts").ContinuousScale;
@@ -38,11 +38,11 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
+ x: NumericAccessor<Datum>;
42
+ y: NumericAccessor<Datum>;
41
43
  label?: import("@unovis/ts").StringAccessor<Datum>;
42
44
  color?: import("@unovis/ts").ColorAccessor<Datum>;
43
45
  cursor?: import("@unovis/ts").StringAccessor<Datum>;
44
- x: NumericAccessor<Datum>;
45
- y: NumericAccessor<Datum>;
46
46
  id?: (d: Datum, i: number, ...any: any[]) => string;
47
47
  xScale?: import("@unovis/ts").ContinuousScale;
48
48
  yScale?: import("@unovis/ts").ContinuousScale;
package/components.d.ts CHANGED
@@ -1,21 +1,22 @@
1
- export { default as VisLine, VisLineSelectors } from "./components/line/index";
2
1
  export { default as VisArea, VisAreaSelectors } from "./components/area/index";
3
2
  export { default as VisAxis, VisAxisSelectors } from "./components/axis/index";
4
3
  export { default as VisBrush, VisBrushSelectors } from "./components/brush/index";
5
- export { default as VisFreeBrush, VisFreeBrushSelectors } from "./components/free-brush/index";
6
4
  export { default as VisCrosshair, VisCrosshairSelectors } from "./components/crosshair/index";
5
+ export { default as VisFreeBrush, VisFreeBrushSelectors } from "./components/free-brush/index";
7
6
  export { default as VisGroupedBar, VisGroupedBarSelectors } from "./components/grouped-bar/index";
7
+ export { default as VisLine, VisLineSelectors } from "./components/line/index";
8
8
  export { default as VisScatter, VisScatterSelectors } from "./components/scatter/index";
9
9
  export { default as VisStackedBar, VisStackedBarSelectors } from "./components/stacked-bar/index";
10
10
  export { default as VisTimeline, VisTimelineSelectors } from "./components/timeline/index";
11
11
  export { default as VisXYLabels, VisXYLabelsSelectors } from "./components/xy-labels/index";
12
+ export { default as VisChordDiagram, VisChordDiagramSelectors } from "./components/chord-diagram/index";
12
13
  export { default as VisDonut, VisDonutSelectors } from "./components/donut/index";
13
- export { default as VisTopoJSONMap, VisTopoJSONMapSelectors } from "./components/topojson-map/index";
14
- export { default as VisSankey, VisSankeySelectors } from "./components/sankey/index";
15
14
  export { default as VisGraph, VisGraphSelectors } from "./components/graph/index";
16
- export { default as VisChordDiagram, VisChordDiagramSelectors } from "./components/chord-diagram/index";
17
15
  export { default as VisNestedDonut, VisNestedDonutSelectors } from "./components/nested-donut/index";
16
+ export { default as VisSankey, VisSankeySelectors } from "./components/sankey/index";
17
+ export { default as VisTopoJSONMap, VisTopoJSONMapSelectors } from "./components/topojson-map/index";
18
18
  export { default as VisTooltip, VisTooltipSelectors } from "./components/tooltip/index";
19
+ export { default as VisAnnotations, VisAnnotationsSelectors } from "./components/annotations/index";
19
20
  export { default as VisLeafletMap, VisLeafletMapSelectors } from "./html-components/leaflet-map/index";
20
21
  export { default as VisLeafletFlowMap, VisLeafletFlowMapSelectors } from "./html-components/leaflet-flow-map/index";
21
22
  export { default as VisBulletLegend, VisBulletLegendSelectors } from "./html-components/bullet-legend/index";
@@ -7,13 +7,13 @@ declare const _default: <T>(__VLS_props: any, __VLS_ctx?: {
7
7
  props: {
8
8
  duration?: number;
9
9
  data?: T;
10
+ width?: string | number;
10
11
  tooltip?: Tooltip;
11
12
  component?: ComponentCore<T, import("@unovis/ts").ComponentConfigInterface>;
12
13
  annotations?: Annotations;
13
14
  margin?: import("@unovis/ts").Spacing;
14
15
  padding?: import("@unovis/ts").Spacing;
15
16
  sizing?: string;
16
- width?: string | number;
17
17
  height?: string | number;
18
18
  svgDefs?: string;
19
19
  ariaLabel?: string;
@@ -7,6 +7,7 @@ declare const _default: <T>(__VLS_props: any, __VLS_ctx?: {
7
7
  props: {
8
8
  duration?: number;
9
9
  data?: T[];
10
+ width?: string | number;
10
11
  xScale?: import("@unovis/ts").ContinuousScale;
11
12
  yScale?: import("@unovis/ts").ContinuousScale;
12
13
  tooltip?: Tooltip;
@@ -15,7 +16,6 @@ declare const _default: <T>(__VLS_props: any, __VLS_ctx?: {
15
16
  margin?: import("@unovis/ts").Spacing;
16
17
  padding?: import("@unovis/ts").Spacing;
17
18
  sizing?: string;
18
- width?: string | number;
19
19
  height?: string | number;
20
20
  svgDefs?: string;
21
21
  ariaLabel?: string;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@unovis/ts"),r=require("../../utils/props.cjs"),p=c.BulletLegend.selectors,f=e.defineComponent({__name:"index",props:{items:{},labelClassName:{},onLegendItemClick:{type:Function},labelFontSize:{},labelMaxWidth:{},bulletSize:{},bulletShape:{type:[Function,null]},data:{}},setup(i,{expose:d}){const u=i;e.computed(()=>u.data);const n=r.useForwardProps(u),l=e.ref(),o=e.ref();return e.onMounted(()=>{e.nextTick(()=>{o.value&&(l.value=new c.BulletLegend(o.value,n.value))})}),e.onUnmounted(()=>{var t;(t=l.value)==null||t.destroy()}),e.watch(n,(t,s)=>{var a;r.arePropsEqual(t,s)||(a=l.value)==null||a.update(n.value)}),d({component:l}),(t,s)=>(e.openBlock(),e.createElementBlock("div",{"data-vis-bullet-legend":"",ref_key:"elRef",ref:o},null,512))}});exports.VisBulletLegendSelectors=p;exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@unovis/ts"),s=require("../../utils/props.cjs"),p=d.BulletLegend.selectors,v=e.defineComponent({__name:"index",props:{items:{},labelClassName:{},onLegendItemClick:{type:Function},labelFontSize:{},labelMaxWidth:{},bulletSize:{},bulletShape:{type:[Function,null]},orientation:{},renderIntoProvidedDomNode:{type:Boolean},data:{}},setup(c,{expose:i}){const r=c;e.computed(()=>r.data);const n=s.useForwardProps(r),o=e.ref(),l=e.ref();return e.onMounted(()=>{e.nextTick(()=>{l.value&&(o.value=new d.BulletLegend(l.value,{...n.value,renderIntoProvidedDomNode:!0}))})}),e.onUnmounted(()=>{var t;(t=o.value)==null||t.destroy()}),e.watch(n,(t,u)=>{var a;s.arePropsEqual(t,u)||(a=o.value)==null||a.update(n.value)}),i({component:o}),(t,u)=>(e.openBlock(),e.createElementBlock("div",{"data-vis-bullet-legend":"",ref_key:"elRef",ref:l},null,512))}});exports.VisBulletLegendSelectors=p;exports.default=v;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/html-components/bullet-legend/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\nimport { BulletLegend, BulletLegendConfigInterface, BulletLegendItemInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n\n// data and required props \n\nexport const VisBulletLegendSelectors = BulletLegend.selectors\n\ntype Props = BulletLegendConfigInterface\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n items: {},\n labelClassName: {},\n onLegendItemClick: { type: Function },\n labelFontSize: {},\n labelMaxWidth: {},\n bulletSize: {},\n bulletShape: { type: [Function, null] },\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 !!!\n\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<BulletLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new BulletLegend(elRef.value, config.value)\n \n \n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n \n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.update(config.value)\n }\n})\n\n\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n \"data-vis-bullet-legend\": \"\",\n ref_key: \"elRef\",\n ref: elRef\n }, null, 512))\n}\n}\n\n})"],"names":["VisBulletLegendSelectors","BulletLegend","_sfc_main","_defineComponent","__props","__expose","props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"8LAUaA,EAA2BC,EAAa,aAAA,UAIzBC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,MAAO,CAAC,EACR,eAAgB,CAAC,EACjB,kBAAmB,CAAE,KAAM,QAAS,EACpC,cAAe,CAAC,EAChB,cAAe,CAAC,EAChB,WAAY,CAAC,EACb,YAAa,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACtC,KAAM,CAAC,CACT,EACA,MAAMC,EAAc,CAAE,OAAQC,GAAY,CAE5C,MAAMC,EAAQF,EAKDG,WAAS,IAAMD,EAAM,IAAI,EAEhC,MAAAE,EAASC,kBAAgBH,CAAK,EAG9BI,EAAYC,EAAAA,MACZC,EAAQD,EAAAA,MAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACVF,EAAM,QACTF,EAAU,MAAQ,IAAIT,EAAA,aAAaW,EAAM,MAAOJ,EAAO,KAAK,EAAA,CAG7D,CAAA,CACF,EAEDO,EAAAA,YAAY,IAAM,QAChBC,EAAAN,EAAU,QAAV,MAAAM,EAAiB,SAAQ,CAE1B,EAEKC,EAAAA,MAAAT,EAAQ,CAACU,EAAMC,IAAS,OACvBC,EAAA,cAAcF,EAAMC,CAAI,IACjBH,EAAAN,EAAA,QAAA,MAAAM,EAAO,OAAOR,EAAO,MACjC,CACD,EAGQH,EAAA,CACP,UAAAK,CAAA,CACD,EAEM,CAACW,EAAUC,KACRC,EAAA,UAAA,EAAcC,EAAA,mBAAoB,MAAO,CAC/C,yBAA0B,GAC1B,QAAS,QACT,IAAKZ,CAAA,EACJ,KAAM,GAAG,EAEd,CAEA,CAAC"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/html-components/bullet-legend/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\nimport { BulletLegend, BulletLegendConfigInterface, BulletLegendItemInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n\n// data and required props \n\nexport const VisBulletLegendSelectors = BulletLegend.selectors\n\ntype Props = BulletLegendConfigInterface\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n items: {},\n labelClassName: {},\n onLegendItemClick: { type: Function },\n labelFontSize: {},\n labelMaxWidth: {},\n bulletSize: {},\n bulletShape: { type: [Function, null] },\n orientation: {},\n renderIntoProvidedDomNode: { type: Boolean },\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 !!!\n\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<BulletLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new BulletLegend(elRef.value, { ...config.value, renderIntoProvidedDomNode: true })\n \n \n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n \n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.update(config.value)\n }\n})\n\n\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n \"data-vis-bullet-legend\": \"\",\n ref_key: \"elRef\",\n ref: elRef\n }, null, 512))\n}\n}\n\n})"],"names":["VisBulletLegendSelectors","BulletLegend","_sfc_main","_defineComponent","__props","__expose","props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"8LAUaA,EAA2BC,EAAa,aAAA,UAIzBC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,MAAO,CAAC,EACR,eAAgB,CAAC,EACjB,kBAAmB,CAAE,KAAM,QAAS,EACpC,cAAe,CAAC,EAChB,cAAe,CAAC,EAChB,WAAY,CAAC,EACb,YAAa,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACtC,YAAa,CAAC,EACd,0BAA2B,CAAE,KAAM,OAAQ,EAC3C,KAAM,CAAC,CACT,EACA,MAAMC,EAAc,CAAE,OAAQC,GAAY,CAE5C,MAAMC,EAAQF,EAKDG,WAAS,IAAMD,EAAM,IAAI,EAEhC,MAAAE,EAASC,kBAAgBH,CAAK,EAG9BI,EAAYC,EAAAA,MACZC,EAAQD,EAAAA,MAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACVF,EAAM,QACCF,EAAA,MAAQ,IAAIT,EAAA,aAAaW,EAAM,MAAO,CAAE,GAAGJ,EAAO,MAAO,0BAA2B,EAAM,CAAA,EAAA,CAGrG,CAAA,CACF,EAEDO,EAAAA,YAAY,IAAM,QAChBC,EAAAN,EAAU,QAAV,MAAAM,EAAiB,SAAQ,CAE1B,EAEKC,EAAAA,MAAAT,EAAQ,CAACU,EAAMC,IAAS,OACvBC,EAAA,cAAcF,EAAMC,CAAI,IACjBH,EAAAN,EAAA,QAAA,MAAAM,EAAO,OAAOR,EAAO,MACjC,CACD,EAGQH,EAAA,CACP,UAAAK,CAAA,CACD,EAEM,CAACW,EAAUC,KACRC,EAAA,UAAA,EAAcC,EAAA,mBAAoB,MAAO,CAC/C,yBAA0B,GAC1B,QAAS,QACT,IAAKZ,CAAA,EACJ,KAAM,GAAG,EAEd,CAEA,CAAC"}
@@ -23,6 +23,12 @@ declare const _default: import("vue").DefineComponent<{
23
23
  bulletShape: {
24
24
  type: import("vue").PropType<import("@unovis/ts").GenericAccessor<import("@unovis/ts").BulletShape, BulletLegendItemInterface>>;
25
25
  };
26
+ orientation: {
27
+ type: import("vue").PropType<string>;
28
+ };
29
+ renderIntoProvidedDomNode: {
30
+ type: import("vue").PropType<boolean>;
31
+ };
26
32
  data: {
27
33
  type: import("vue").PropType<never>;
28
34
  };
@@ -51,6 +57,12 @@ declare const _default: import("vue").DefineComponent<{
51
57
  bulletShape: {
52
58
  type: import("vue").PropType<import("@unovis/ts").GenericAccessor<import("@unovis/ts").BulletShape, BulletLegendItemInterface>>;
53
59
  };
60
+ orientation: {
61
+ type: import("vue").PropType<string>;
62
+ };
63
+ renderIntoProvidedDomNode: {
64
+ type: import("vue").PropType<boolean>;
65
+ };
54
66
  data: {
55
67
  type: import("vue").PropType<never>;
56
68
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, computed as d, ref as r, onMounted as m, nextTick as f, onUnmounted as v, watch as _, openBlock as b, createElementBlock as x } from "vue";
2
- import { BulletLegend as s } from "@unovis/ts";
1
+ import { defineComponent as c, computed as p, ref as u, onMounted as m, nextTick as f, onUnmounted as v, watch as _, openBlock as b, createElementBlock as x } from "vue";
2
+ import { BulletLegend as d } from "@unovis/ts";
3
3
  import { useForwardProps as g, arePropsEqual as k } from "../../utils/props.js";
4
- const F = s.selectors, S = /* @__PURE__ */ p({
4
+ const F = d.selectors, P = /* @__PURE__ */ c({
5
5
  __name: "index",
6
6
  props: {
7
7
  items: {},
@@ -11,33 +11,35 @@ const F = s.selectors, S = /* @__PURE__ */ p({
11
11
  labelMaxWidth: {},
12
12
  bulletSize: {},
13
13
  bulletShape: { type: [Function, null] },
14
+ orientation: {},
15
+ renderIntoProvidedDomNode: { type: Boolean },
14
16
  data: {}
15
17
  },
16
- setup(c, { expose: i }) {
17
- const n = c;
18
- d(() => n.data);
19
- const l = g(n), t = r(), o = r();
18
+ setup(i, { expose: s }) {
19
+ const l = i;
20
+ p(() => l.data);
21
+ const t = g(l), o = u(), n = u();
20
22
  return m(() => {
21
23
  f(() => {
22
- o.value && (t.value = new s(o.value, l.value));
24
+ n.value && (o.value = new d(n.value, { ...t.value, renderIntoProvidedDomNode: !0 }));
23
25
  });
24
26
  }), v(() => {
25
27
  var e;
26
- (e = t.value) == null || e.destroy();
27
- }), _(l, (e, a) => {
28
- var u;
29
- k(e, a) || (u = t.value) == null || u.update(l.value);
30
- }), i({
31
- component: t
28
+ (e = o.value) == null || e.destroy();
29
+ }), _(t, (e, a) => {
30
+ var r;
31
+ k(e, a) || (r = o.value) == null || r.update(t.value);
32
+ }), s({
33
+ component: o
32
34
  }), (e, a) => (b(), x("div", {
33
35
  "data-vis-bullet-legend": "",
34
36
  ref_key: "elRef",
35
- ref: o
37
+ ref: n
36
38
  }, null, 512));
37
39
  }
38
40
  });
39
41
  export {
40
42
  F as VisBulletLegendSelectors,
41
- S as default
43
+ P as default
42
44
  };
43
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/html-components/bullet-legend/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\nimport { BulletLegend, BulletLegendConfigInterface, BulletLegendItemInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n\n// data and required props \n\nexport const VisBulletLegendSelectors = BulletLegend.selectors\n\ntype Props = BulletLegendConfigInterface\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n items: {},\n labelClassName: {},\n onLegendItemClick: { type: Function },\n labelFontSize: {},\n labelMaxWidth: {},\n bulletSize: {},\n bulletShape: { type: [Function, null] },\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 !!!\n\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<BulletLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new BulletLegend(elRef.value, config.value)\n \n \n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n \n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.update(config.value)\n }\n})\n\n\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n \"data-vis-bullet-legend\": \"\",\n ref_key: \"elRef\",\n ref: elRef\n }, null, 512))\n}\n}\n\n})"],"names":["VisBulletLegendSelectors","BulletLegend","_sfc_main","_defineComponent","__props","__expose","props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;AAUO,MAAMA,IAA2BC,EAAa,WAIzBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,gBAAgB,CAAC;AAAA,IACjB,mBAAmB,EAAE,MAAM,SAAS;AAAA,IACpC,eAAe,CAAC;AAAA,IAChB,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,aAAa,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;AAAA,IACtC,MAAM,CAAC;AAAA,EACT;AAAA,EACA,MAAMC,GAAc,EAAE,QAAQC,KAAY;AAE5C,UAAMC,IAAQF;AAKD,IAAAG,EAAS,MAAMD,EAAM,IAAI;AAEhC,UAAAE,IAASC,EAAgBH,CAAK,GAG9BI,IAAYC,KACZC,IAAQD;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAGF,EAAM,UACTF,EAAU,QAAQ,IAAIT,EAAaW,EAAM,OAAOJ,EAAO,KAAK;AAAA,MAAA,CAG7D;AAAA,IAAA,CACF,GAEDO,EAAY,MAAM;;AAChB,OAAAC,IAAAN,EAAU,UAAV,QAAAM,EAAiB;AAAA,IAAQ,CAE1B,GAEKC,EAAAT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBH,IAAAN,EAAA,UAAA,QAAAM,EAAO,OAAOR,EAAO;AAAA,IACjC,CACD,GAGQH,EAAA;AAAA,MACP,WAAAK;AAAA,IAAA,CACD,GAEM,CAACW,GAAUC,OACRC,EAAA,GAAcC,EAAoB,OAAO;AAAA,MAC/C,0BAA0B;AAAA,MAC1B,SAAS;AAAA,MACT,KAAKZ;AAAA,IAAA,GACJ,MAAM,GAAG;AAAA,EAEd;AAEA,CAAC;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/html-components/bullet-legend/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\nimport { BulletLegend, BulletLegendConfigInterface, BulletLegendItemInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n\n// data and required props \n\nexport const VisBulletLegendSelectors = BulletLegend.selectors\n\ntype Props = BulletLegendConfigInterface\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n items: {},\n labelClassName: {},\n onLegendItemClick: { type: Function },\n labelFontSize: {},\n labelMaxWidth: {},\n bulletSize: {},\n bulletShape: { type: [Function, null] },\n orientation: {},\n renderIntoProvidedDomNode: { type: Boolean },\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 !!!\n\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<BulletLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new BulletLegend(elRef.value, { ...config.value, renderIntoProvidedDomNode: true })\n \n \n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n \n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.update(config.value)\n }\n})\n\n\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n \"data-vis-bullet-legend\": \"\",\n ref_key: \"elRef\",\n ref: elRef\n }, null, 512))\n}\n}\n\n})"],"names":["VisBulletLegendSelectors","BulletLegend","_sfc_main","_defineComponent","__props","__expose","props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;AAUO,MAAMA,IAA2BC,EAAa,WAIzBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,gBAAgB,CAAC;AAAA,IACjB,mBAAmB,EAAE,MAAM,SAAS;AAAA,IACpC,eAAe,CAAC;AAAA,IAChB,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,aAAa,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;AAAA,IACtC,aAAa,CAAC;AAAA,IACd,2BAA2B,EAAE,MAAM,QAAQ;AAAA,IAC3C,MAAM,CAAC;AAAA,EACT;AAAA,EACA,MAAMC,GAAc,EAAE,QAAQC,KAAY;AAE5C,UAAMC,IAAQF;AAKD,IAAAG,EAAS,MAAMD,EAAM,IAAI;AAEhC,UAAAE,IAASC,EAAgBH,CAAK,GAG9BI,IAAYC,KACZC,IAAQD;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAGF,EAAM,UACCF,EAAA,QAAQ,IAAIT,EAAaW,EAAM,OAAO,EAAE,GAAGJ,EAAO,OAAO,2BAA2B,GAAM,CAAA;AAAA,MAAA,CAGrG;AAAA,IAAA,CACF,GAEDO,EAAY,MAAM;;AAChB,OAAAC,IAAAN,EAAU,UAAV,QAAAM,EAAiB;AAAA,IAAQ,CAE1B,GAEKC,EAAAT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBH,IAAAN,EAAA,UAAA,QAAAM,EAAO,OAAOR,EAAO;AAAA,IACjC,CACD,GAGQH,EAAA;AAAA,MACP,WAAAK;AAAA,IAAA,CACD,GAEM,CAACW,GAAUC,OACRC,EAAA,GAAcC,EAAoB,OAAO;AAAA,MAC/C,0BAA0B;AAAA,MAC1B,SAAS;AAAA,MACT,KAAKZ;AAAA,IAAA,GACJ,MAAM,GAAG;AAAA,EAEd;AAEA,CAAC;"}
@@ -41,6 +41,7 @@ declare const _default: <PointDatum extends GenericDataRecord, FlowDatum extends
41
41
  points: PointDatum[];
42
42
  flows?: FlowDatum[];
43
43
  };
44
+ width?: string | number;
44
45
  tooltip?: import("@unovis/ts").Tooltip;
45
46
  zoomDuration?: number;
46
47
  pointColor?: import("@unovis/ts").ColorAccessor<import("@unovis/ts").LeafletMapPointDatum<PointDatum>>;
@@ -50,7 +51,6 @@ declare const _default: <PointDatum extends GenericDataRecord, FlowDatum extends
50
51
  pointId?: import("@unovis/ts").StringAccessor<PointDatum>;
51
52
  clusterLabel?: import("@unovis/ts").StringAccessor<import("@unovis/ts").LeafletMapClusterDatum<PointDatum>>;
52
53
  clusterLabelColor?: import("@unovis/ts").StringAccessor<import("@unovis/ts").LeafletMapClusterDatum<PointDatum>>;
53
- width?: string | number;
54
54
  height?: string | number;
55
55
  ariaLabel?: string;
56
56
  sourceLongitude?: import("@unovis/ts").NumericAccessor<FlowDatum>;
@@ -38,6 +38,7 @@ declare const _default: <Datum extends GenericDataRecord>(__VLS_props: any, __VL
38
38
  };
39
39
  };
40
40
  data?: Datum[];
41
+ width?: string | number;
41
42
  tooltip?: import("@unovis/ts").Tooltip;
42
43
  zoomDuration?: number;
43
44
  pointColor?: import("@unovis/ts").ColorAccessor<import("@unovis/ts").LeafletMapPointDatum<Datum>>;
@@ -47,7 +48,6 @@ declare const _default: <Datum extends GenericDataRecord>(__VLS_props: any, __VL
47
48
  pointId?: import("@unovis/ts").StringAccessor<Datum>;
48
49
  clusterLabel?: import("@unovis/ts").StringAccessor<import("@unovis/ts").LeafletMapClusterDatum<Datum>>;
49
50
  clusterLabelColor?: import("@unovis/ts").StringAccessor<import("@unovis/ts").LeafletMapClusterDatum<Datum>>;
50
- width?: string | number;
51
51
  height?: string | number;
52
52
  ariaLabel?: string;
53
53
  flyToDuration?: number;
package/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./containers/xy-container/index.cjs");require("./containers/xy-container/index2.cjs");const $=require("./containers/single-container/index.cjs");require("./containers/single-container/index2.cjs");const e=require("./components/line/index.cjs"),t=require("./components/area/index.cjs"),s=require("./components/axis/index.cjs"),r=require("./components/brush/index.cjs"),i=require("./components/free-brush/index.cjs"),u=require("./components/crosshair/index.cjs"),_=require("./components/grouped-bar/index.cjs"),l=require("./components/scatter/index.cjs"),o=require("./components/stacked-bar/index.cjs"),a=require("./components/timeline/index.cjs"),c=require("./components/xy-labels/index.cjs"),n=require("./components/donut/index.cjs"),p=require("./components/topojson-map/index.cjs"),V=require("./components/sankey/index.cjs"),d=require("./components/graph/index.cjs"),S=require("./components/chord-diagram/index.cjs"),v=require("./components/nested-donut/index.cjs"),g=require("./components/tooltip/index.cjs"),f=require("./html-components/leaflet-map/index.cjs");require("./html-components/leaflet-map/index2.cjs");const q=require("./html-components/leaflet-flow-map/index.cjs");require("./html-components/leaflet-flow-map/index2.cjs");const y=require("./html-components/bullet-legend/index.cjs");require("./html-components/bullet-legend/index2.cjs");exports.VisXYContainer=x.default;exports.VisSingleContainer=$.default;exports.VisLine=e.default;exports.VisLineSelectors=e.VisLineSelectors;exports.VisArea=t.default;exports.VisAreaSelectors=t.VisAreaSelectors;exports.VisAxis=s.default;exports.VisAxisSelectors=s.VisAxisSelectors;exports.VisBrush=r.default;exports.VisBrushSelectors=r.VisBrushSelectors;exports.VisFreeBrush=i.default;exports.VisFreeBrushSelectors=i.VisFreeBrushSelectors;exports.VisCrosshair=u.default;exports.VisCrosshairSelectors=u.VisCrosshairSelectors;exports.VisGroupedBar=_.default;exports.VisGroupedBarSelectors=_.VisGroupedBarSelectors;exports.VisScatter=l.default;exports.VisScatterSelectors=l.VisScatterSelectors;exports.VisStackedBar=o.default;exports.VisStackedBarSelectors=o.VisStackedBarSelectors;exports.VisTimeline=a.default;exports.VisTimelineSelectors=a.VisTimelineSelectors;exports.VisXYLabels=c.default;exports.VisXYLabelsSelectors=c.VisXYLabelsSelectors;exports.VisDonut=n.default;exports.VisDonutSelectors=n.VisDonutSelectors;exports.VisTopoJSONMap=p.default;exports.VisTopoJSONMapSelectors=p.VisTopoJSONMapSelectors;exports.VisSankey=V.default;exports.VisSankeySelectors=V.VisSankeySelectors;exports.VisGraph=d.default;exports.VisGraphSelectors=d.VisGraphSelectors;exports.VisChordDiagram=S.default;exports.VisChordDiagramSelectors=S.VisChordDiagramSelectors;exports.VisNestedDonut=v.default;exports.VisNestedDonutSelectors=v.VisNestedDonutSelectors;exports.VisTooltip=g.default;exports.VisTooltipSelectors=g.VisTooltipSelectors;exports.VisLeafletMap=f.default;exports.VisLeafletMapSelectors=f.VisLeafletMapSelectors;exports.VisLeafletFlowMap=q.default;exports.VisLeafletFlowMapSelectors=q.VisLeafletFlowMapSelectors;exports.VisBulletLegend=y.default;exports.VisBulletLegendSelectors=y.VisBulletLegendSelectors;
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-vis-leaflet-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}.unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-flow-map]{display:block;position:relative}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./containers/xy-container/index.cjs");require("./containers/xy-container/index2.cjs");const h=require("./containers/single-container/index.cjs");require("./containers/single-container/index2.cjs");const e=require("./components/area/index.cjs"),t=require("./components/axis/index.cjs"),s=require("./components/brush/index.cjs"),r=require("./components/crosshair/index.cjs"),i=require("./components/free-brush/index.cjs"),u=require("./components/grouped-bar/index.cjs"),_=require("./components/line/index.cjs"),l=require("./components/scatter/index.cjs"),o=require("./components/stacked-bar/index.cjs"),n=require("./components/timeline/index.cjs"),a=require("./components/xy-labels/index.cjs"),c=require("./components/chord-diagram/index.cjs"),p=require("./components/donut/index.cjs"),V=require("./components/graph/index.cjs"),d=require("./components/nested-donut/index.cjs"),S=require("./components/sankey/index.cjs"),v=require("./components/topojson-map/index.cjs"),g=require("./components/tooltip/index.cjs"),f=require("./components/annotations/index.cjs"),q=require("./html-components/leaflet-map/index.cjs");require("./html-components/leaflet-map/index2.cjs");const y=require("./html-components/leaflet-flow-map/index.cjs");require("./html-components/leaflet-flow-map/index2.cjs");const x=require("./html-components/bullet-legend/index.cjs");require("./html-components/bullet-legend/index2.cjs");exports.VisXYContainer=$.default;exports.VisSingleContainer=h.default;exports.VisArea=e.default;exports.VisAreaSelectors=e.VisAreaSelectors;exports.VisAxis=t.default;exports.VisAxisSelectors=t.VisAxisSelectors;exports.VisBrush=s.default;exports.VisBrushSelectors=s.VisBrushSelectors;exports.VisCrosshair=r.default;exports.VisCrosshairSelectors=r.VisCrosshairSelectors;exports.VisFreeBrush=i.default;exports.VisFreeBrushSelectors=i.VisFreeBrushSelectors;exports.VisGroupedBar=u.default;exports.VisGroupedBarSelectors=u.VisGroupedBarSelectors;exports.VisLine=_.default;exports.VisLineSelectors=_.VisLineSelectors;exports.VisScatter=l.default;exports.VisScatterSelectors=l.VisScatterSelectors;exports.VisStackedBar=o.default;exports.VisStackedBarSelectors=o.VisStackedBarSelectors;exports.VisTimeline=n.default;exports.VisTimelineSelectors=n.VisTimelineSelectors;exports.VisXYLabels=a.default;exports.VisXYLabelsSelectors=a.VisXYLabelsSelectors;exports.VisChordDiagram=c.default;exports.VisChordDiagramSelectors=c.VisChordDiagramSelectors;exports.VisDonut=p.default;exports.VisDonutSelectors=p.VisDonutSelectors;exports.VisGraph=V.default;exports.VisGraphSelectors=V.VisGraphSelectors;exports.VisNestedDonut=d.default;exports.VisNestedDonutSelectors=d.VisNestedDonutSelectors;exports.VisSankey=S.default;exports.VisSankeySelectors=S.VisSankeySelectors;exports.VisTopoJSONMap=v.default;exports.VisTopoJSONMapSelectors=v.VisTopoJSONMapSelectors;exports.VisTooltip=g.default;exports.VisTooltipSelectors=g.VisTooltipSelectors;exports.VisAnnotations=f.default;exports.VisAnnotationsSelectors=f.VisAnnotationsSelectors;exports.VisLeafletMap=q.default;exports.VisLeafletMapSelectors=q.VisLeafletMapSelectors;exports.VisLeafletFlowMap=y.default;exports.VisLeafletFlowMapSelectors=y.VisLeafletFlowMapSelectors;exports.VisBulletLegend=x.default;exports.VisBulletLegendSelectors=x.VisBulletLegendSelectors;
3
3
  //# sourceMappingURL=index.cjs.map
package/index.js CHANGED
@@ -1,63 +1,66 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-vis-leaflet-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}.unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-flow-map]{display:block;position:relative}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
2
  import { default as l } from "./containers/xy-container/index.js";
3
3
  import "./containers/xy-container/index2.js";
4
4
  import { default as V } from "./containers/single-container/index.js";
5
5
  import "./containers/single-container/index2.js";
6
- import { default as u, VisLineSelectors as d } from "./components/line/index.js";
7
- import { default as S, VisAreaSelectors as c } from "./components/area/index.js";
8
- import { default as n, VisAxisSelectors as h } from "./components/axis/index.js";
9
- import { default as L, VisBrushSelectors as C } from "./components/brush/index.js";
10
- import { default as M, VisFreeBrushSelectors as T } from "./components/free-brush/index.js";
11
- import { default as k, VisCrosshairSelectors as A } from "./components/crosshair/index.js";
12
- import { default as G, VisGroupedBarSelectors as N } from "./components/grouped-bar/index.js";
6
+ import { default as u, VisAreaSelectors as d } from "./components/area/index.js";
7
+ import { default as S, VisAxisSelectors as c } from "./components/axis/index.js";
8
+ import { default as n, VisBrushSelectors as h } from "./components/brush/index.js";
9
+ import { default as L, VisCrosshairSelectors as A } from "./components/crosshair/index.js";
10
+ import { default as D, VisFreeBrushSelectors as M } from "./components/free-brush/index.js";
11
+ import { default as g, VisGroupedBarSelectors as k } from "./components/grouped-bar/index.js";
12
+ import { default as G, VisLineSelectors as N } from "./components/line/index.js";
13
13
  import { default as Y, VisScatterSelectors as b } from "./components/scatter/index.js";
14
14
  import { default as y, VisStackedBarSelectors as J } from "./components/stacked-bar/index.js";
15
15
  import { default as j, VisTimelineSelectors as q } from "./components/timeline/index.js";
16
16
  import { default as z, VisXYLabelsSelectors as E } from "./components/xy-labels/index.js";
17
- import { default as I, VisDonutSelectors as K } from "./components/donut/index.js";
18
- import { default as Q, VisTopoJSONMapSelectors as R } from "./components/topojson-map/index.js";
19
- import { default as W, VisSankeySelectors as Z } from "./components/sankey/index.js";
20
- import { default as $, VisGraphSelectors as ee } from "./components/graph/index.js";
21
- import { default as re, VisChordDiagramSelectors as oe } from "./components/chord-diagram/index.js";
22
- import { default as ae, VisNestedDonutSelectors as ie } from "./components/nested-donut/index.js";
17
+ import { default as I, VisChordDiagramSelectors as K } from "./components/chord-diagram/index.js";
18
+ import { default as Q, VisDonutSelectors as R } from "./components/donut/index.js";
19
+ import { default as W, VisGraphSelectors as Z } from "./components/graph/index.js";
20
+ import { default as $, VisNestedDonutSelectors as ee } from "./components/nested-donut/index.js";
21
+ import { default as re, VisSankeySelectors as oe } from "./components/sankey/index.js";
22
+ import { default as ae, VisTopoJSONMapSelectors as ie } from "./components/topojson-map/index.js";
23
23
  import { default as fe, VisTooltipSelectors as Ve } from "./components/tooltip/index.js";
24
- import { default as ue, VisLeafletMapSelectors as de } from "./html-components/leaflet-map/index.js";
24
+ import { default as ue, VisAnnotationsSelectors as de } from "./components/annotations/index.js";
25
+ import { default as Se, VisLeafletMapSelectors as ce } from "./html-components/leaflet-map/index.js";
25
26
  import "./html-components/leaflet-map/index2.js";
26
- import { default as Se, VisLeafletFlowMapSelectors as ce } from "./html-components/leaflet-flow-map/index.js";
27
+ import { default as ne, VisLeafletFlowMapSelectors as he } from "./html-components/leaflet-flow-map/index.js";
27
28
  import "./html-components/leaflet-flow-map/index2.js";
28
- import { default as ne, VisBulletLegendSelectors as he } from "./html-components/bullet-legend/index.js";
29
+ import { default as Le, VisBulletLegendSelectors as Ae } from "./html-components/bullet-legend/index.js";
29
30
  import "./html-components/bullet-legend/index2.js";
30
31
  export {
31
- S as VisArea,
32
- c as VisAreaSelectors,
33
- n as VisAxis,
34
- h as VisAxisSelectors,
35
- L as VisBrush,
36
- C as VisBrushSelectors,
37
- ne as VisBulletLegend,
38
- he as VisBulletLegendSelectors,
39
- re as VisChordDiagram,
40
- oe as VisChordDiagramSelectors,
41
- k as VisCrosshair,
32
+ ue as VisAnnotations,
33
+ de as VisAnnotationsSelectors,
34
+ u as VisArea,
35
+ d as VisAreaSelectors,
36
+ S as VisAxis,
37
+ c as VisAxisSelectors,
38
+ n as VisBrush,
39
+ h as VisBrushSelectors,
40
+ Le as VisBulletLegend,
41
+ Ae as VisBulletLegendSelectors,
42
+ I as VisChordDiagram,
43
+ K as VisChordDiagramSelectors,
44
+ L as VisCrosshair,
42
45
  A as VisCrosshairSelectors,
43
- I as VisDonut,
44
- K as VisDonutSelectors,
45
- M as VisFreeBrush,
46
- T as VisFreeBrushSelectors,
47
- $ as VisGraph,
48
- ee as VisGraphSelectors,
49
- G as VisGroupedBar,
50
- N as VisGroupedBarSelectors,
51
- Se as VisLeafletFlowMap,
52
- ce as VisLeafletFlowMapSelectors,
53
- ue as VisLeafletMap,
54
- de as VisLeafletMapSelectors,
55
- u as VisLine,
56
- d as VisLineSelectors,
57
- ae as VisNestedDonut,
58
- ie as VisNestedDonutSelectors,
59
- W as VisSankey,
60
- Z as VisSankeySelectors,
46
+ Q as VisDonut,
47
+ R as VisDonutSelectors,
48
+ D as VisFreeBrush,
49
+ M as VisFreeBrushSelectors,
50
+ W as VisGraph,
51
+ Z as VisGraphSelectors,
52
+ g as VisGroupedBar,
53
+ k as VisGroupedBarSelectors,
54
+ ne as VisLeafletFlowMap,
55
+ he as VisLeafletFlowMapSelectors,
56
+ Se as VisLeafletMap,
57
+ ce as VisLeafletMapSelectors,
58
+ G as VisLine,
59
+ N as VisLineSelectors,
60
+ $ as VisNestedDonut,
61
+ ee as VisNestedDonutSelectors,
62
+ re as VisSankey,
63
+ oe as VisSankeySelectors,
61
64
  Y as VisScatter,
62
65
  b as VisScatterSelectors,
63
66
  V as VisSingleContainer,
@@ -67,8 +70,8 @@ export {
67
70
  q as VisTimelineSelectors,
68
71
  fe as VisTooltip,
69
72
  Ve as VisTooltipSelectors,
70
- Q as VisTopoJSONMap,
71
- R as VisTopoJSONMapSelectors,
73
+ ae as VisTopoJSONMap,
74
+ ie as VisTopoJSONMapSelectors,
72
75
  l as VisXYContainer,
73
76
  z as VisXYLabels,
74
77
  E as VisXYLabelsSelectors
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unovis/vue",
3
3
  "description": "Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript",
4
- "version": "1.4.1-beta.0",
4
+ "version": "1.4.2-beta.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/f5/unovis.git",
@@ -51,7 +51,7 @@
51
51
  "gallery": "vite"
52
52
  },
53
53
  "peerDependencies": {
54
- "@unovis/ts": "1.4.1-beta.0",
54
+ "@unovis/ts": "1.4.2-beta.0",
55
55
  "vue": "^3"
56
56
  },
57
57
  "devDependencies": {