@unovis/vue 1.4.0 → 1.4.1

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 (34) 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/grouped-bar/index.d.ts +2 -2
  16. package/components/line/index.d.ts +2 -2
  17. package/components/scatter/index.d.ts +2 -2
  18. package/components/stacked-bar/index.d.ts +2 -2
  19. package/components/timeline/index.d.ts +2 -2
  20. package/components/xy-labels/index.d.ts +2 -2
  21. package/components.d.ts +6 -5
  22. package/containers/single-container/index.d.ts +1 -1
  23. package/containers/xy-container/index.d.ts +1 -1
  24. package/html-components/bullet-legend/index.cjs +1 -1
  25. package/html-components/bullet-legend/index.cjs.map +1 -1
  26. package/html-components/bullet-legend/index.d.ts +12 -0
  27. package/html-components/bullet-legend/index.js +18 -16
  28. package/html-components/bullet-legend/index.js.map +1 -1
  29. package/html-components/leaflet-flow-map/index.d.ts +1 -1
  30. package/html-components/leaflet-map/index.d.ts +1 -1
  31. package/index.cjs +2 -2
  32. package/index.js +51 -48
  33. package/index.js.map +1 -1
  34. 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;
@@ -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-xy-container,.unovis-single-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(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}[data-vis-leaflet-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-xy-container,.unovis-single-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(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}[data-vis-leaflet-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.0",
4
+ "version": "1.4.1",
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.0",
54
+ "@unovis/ts": "1.4.1",
55
55
  "vue": "^3"
56
56
  },
57
57
  "devDependencies": {