@unovis/vue 1.7.0-pre.2 → 1.7.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 (184) hide show
  1. package/README.md +4 -0
  2. package/components/annotations/index.cjs +1 -1
  3. package/components/annotations/index.cjs.map +1 -1
  4. package/components/annotations/index.d.ts +1 -1
  5. package/components/annotations/index.js +18 -20
  6. package/components/annotations/index.js.map +1 -1
  7. package/components/area/index.cjs +1 -1
  8. package/components/area/index.cjs.map +1 -1
  9. package/components/area/index.d.ts +1 -1
  10. package/components/area/index.js +22 -23
  11. package/components/area/index.js.map +1 -1
  12. package/components/axis/index.cjs +1 -1
  13. package/components/axis/index.cjs.map +1 -1
  14. package/components/axis/index.d.ts +1 -1
  15. package/components/axis/index.js +26 -25
  16. package/components/axis/index.js.map +1 -1
  17. package/components/boxplot/index.cjs +2 -0
  18. package/components/boxplot/index.cjs.map +1 -0
  19. package/components/boxplot/index.d.ts +19 -0
  20. package/components/boxplot/index.js +31 -0
  21. package/components/boxplot/index.js.map +1 -0
  22. package/components/boxplot/index2.cjs +2 -0
  23. package/components/boxplot/index2.cjs.map +1 -0
  24. package/components/boxplot/index2.js +7 -0
  25. package/components/boxplot/index2.js.map +1 -0
  26. package/components/brush/index.cjs +1 -1
  27. package/components/brush/index.cjs.map +1 -1
  28. package/components/brush/index.d.ts +1 -1
  29. package/components/brush/index.js +22 -24
  30. package/components/brush/index.js.map +1 -1
  31. package/components/chord-diagram/index.cjs +1 -1
  32. package/components/chord-diagram/index.cjs.map +1 -1
  33. package/components/chord-diagram/index.d.ts +1 -1
  34. package/components/chord-diagram/index.js +22 -24
  35. package/components/chord-diagram/index.js.map +1 -1
  36. package/components/crosshair/index.cjs +1 -1
  37. package/components/crosshair/index.cjs.map +1 -1
  38. package/components/crosshair/index.d.ts +3 -3
  39. package/components/crosshair/index.js +20 -24
  40. package/components/crosshair/index.js.map +1 -1
  41. package/components/donut/index.cjs +1 -1
  42. package/components/donut/index.cjs.map +1 -1
  43. package/components/donut/index.d.ts +1 -1
  44. package/components/donut/index.js +22 -24
  45. package/components/donut/index.js.map +1 -1
  46. package/components/free-brush/index.cjs +1 -1
  47. package/components/free-brush/index.cjs.map +1 -1
  48. package/components/free-brush/index.d.ts +1 -1
  49. package/components/free-brush/index.js +21 -24
  50. package/components/free-brush/index.js.map +1 -1
  51. package/components/graph/index.cjs +1 -1
  52. package/components/graph/index.cjs.map +1 -1
  53. package/components/graph/index.d.ts +1 -1
  54. package/components/graph/index.js +26 -22
  55. package/components/graph/index.js.map +1 -1
  56. package/components/grouped-bar/index.cjs +1 -1
  57. package/components/grouped-bar/index.cjs.map +1 -1
  58. package/components/grouped-bar/index.d.ts +1 -1
  59. package/components/grouped-bar/index.js +24 -25
  60. package/components/grouped-bar/index.js.map +1 -1
  61. package/components/heatmap/index.cjs +2 -0
  62. package/components/heatmap/index.cjs.map +1 -0
  63. package/components/heatmap/index.d.ts +19 -0
  64. package/components/heatmap/index.js +49 -0
  65. package/components/heatmap/index.js.map +1 -0
  66. package/components/heatmap/index2.cjs +2 -0
  67. package/components/heatmap/index2.cjs.map +1 -0
  68. package/components/heatmap/index2.js +7 -0
  69. package/components/heatmap/index2.js.map +1 -0
  70. package/components/line/index.cjs +1 -1
  71. package/components/line/index.cjs.map +1 -1
  72. package/components/line/index.d.ts +1 -1
  73. package/components/line/index.js +22 -24
  74. package/components/line/index.js.map +1 -1
  75. package/components/nested-donut/index.cjs +1 -1
  76. package/components/nested-donut/index.cjs.map +1 -1
  77. package/components/nested-donut/index.d.ts +1 -1
  78. package/components/nested-donut/index.js +22 -25
  79. package/components/nested-donut/index.js.map +1 -1
  80. package/components/plotband/index.cjs +1 -1
  81. package/components/plotband/index.cjs.map +1 -1
  82. package/components/plotband/index.d.ts +1 -1
  83. package/components/plotband/index.js +16 -17
  84. package/components/plotband/index.js.map +1 -1
  85. package/components/plotline/index.cjs +1 -1
  86. package/components/plotline/index.cjs.map +1 -1
  87. package/components/plotline/index.d.ts +1 -1
  88. package/components/plotline/index.js +16 -17
  89. package/components/plotline/index.js.map +1 -1
  90. package/components/radial-bar/index.cjs +2 -0
  91. package/components/radial-bar/index.cjs.map +1 -0
  92. package/components/radial-bar/index.d.ts +19 -0
  93. package/components/radial-bar/index.js +54 -0
  94. package/components/radial-bar/index.js.map +1 -0
  95. package/components/radial-bar/index2.cjs +2 -0
  96. package/components/radial-bar/index2.cjs.map +1 -0
  97. package/components/radial-bar/index2.js +7 -0
  98. package/components/radial-bar/index2.js.map +1 -0
  99. package/components/sankey/index.cjs +1 -1
  100. package/components/sankey/index.cjs.map +1 -1
  101. package/components/sankey/index.d.ts +1 -1
  102. package/components/sankey/index.js +24 -23
  103. package/components/sankey/index.js.map +1 -1
  104. package/components/scatter/index.cjs +1 -1
  105. package/components/scatter/index.cjs.map +1 -1
  106. package/components/scatter/index.d.ts +1 -1
  107. package/components/scatter/index.js +22 -24
  108. package/components/scatter/index.js.map +1 -1
  109. package/components/stacked-bar/index.cjs +1 -1
  110. package/components/stacked-bar/index.cjs.map +1 -1
  111. package/components/stacked-bar/index.d.ts +1 -1
  112. package/components/stacked-bar/index.js +23 -23
  113. package/components/stacked-bar/index.js.map +1 -1
  114. package/components/timeline/index.cjs +1 -1
  115. package/components/timeline/index.cjs.map +1 -1
  116. package/components/timeline/index.d.ts +3 -3
  117. package/components/timeline/index.js +20 -24
  118. package/components/timeline/index.js.map +1 -1
  119. package/components/tooltip/index.cjs +1 -1
  120. package/components/tooltip/index.cjs.map +1 -1
  121. package/components/tooltip/index.d.ts +1 -1
  122. package/components/tooltip/index.js +15 -17
  123. package/components/tooltip/index.js.map +1 -1
  124. package/components/topojson-map/index.cjs +1 -1
  125. package/components/topojson-map/index.cjs.map +1 -1
  126. package/components/topojson-map/index.d.ts +1 -1
  127. package/components/topojson-map/index.js +52 -25
  128. package/components/topojson-map/index.js.map +1 -1
  129. package/components/treemap/index.cjs +1 -1
  130. package/components/treemap/index.cjs.map +1 -1
  131. package/components/treemap/index.d.ts +1 -1
  132. package/components/treemap/index.js +22 -24
  133. package/components/treemap/index.js.map +1 -1
  134. package/components/xy-labels/index.cjs +1 -1
  135. package/components/xy-labels/index.cjs.map +1 -1
  136. package/components/xy-labels/index.d.ts +1 -1
  137. package/components/xy-labels/index.js +21 -24
  138. package/components/xy-labels/index.js.map +1 -1
  139. package/components.d.ts +3 -0
  140. package/containers/single-container/index.cjs +1 -1
  141. package/containers/single-container/index.cjs.map +1 -1
  142. package/containers/single-container/index.js +26 -26
  143. package/containers/single-container/index.js.map +1 -1
  144. package/containers/xy-container/index.cjs +1 -1
  145. package/containers/xy-container/index.cjs.map +1 -1
  146. package/containers/xy-container/index.js +25 -30
  147. package/containers/xy-container/index.js.map +1 -1
  148. package/html-components/bullet-legend/index.cjs +1 -1
  149. package/html-components/bullet-legend/index.cjs.map +1 -1
  150. package/html-components/bullet-legend/index.d.ts +1 -1
  151. package/html-components/bullet-legend/index.js +23 -24
  152. package/html-components/bullet-legend/index.js.map +1 -1
  153. package/html-components/flow-legend/index.cjs +1 -1
  154. package/html-components/flow-legend/index.cjs.map +1 -1
  155. package/html-components/flow-legend/index.d.ts +1 -1
  156. package/html-components/flow-legend/index.js +21 -23
  157. package/html-components/flow-legend/index.js.map +1 -1
  158. package/html-components/leaflet-flow-map/index.cjs +1 -1
  159. package/html-components/leaflet-flow-map/index.cjs.map +1 -1
  160. package/html-components/leaflet-flow-map/index.d.ts +1 -1
  161. package/html-components/leaflet-flow-map/index.js +22 -24
  162. package/html-components/leaflet-flow-map/index.js.map +1 -1
  163. package/html-components/leaflet-map/index.cjs +1 -1
  164. package/html-components/leaflet-map/index.cjs.map +1 -1
  165. package/html-components/leaflet-map/index.d.ts +1 -1
  166. package/html-components/leaflet-map/index.js +22 -24
  167. package/html-components/leaflet-map/index.js.map +1 -1
  168. package/html-components/rolling-pin-legend/index.cjs +1 -1
  169. package/html-components/rolling-pin-legend/index.cjs.map +1 -1
  170. package/html-components/rolling-pin-legend/index.d.ts +1 -1
  171. package/html-components/rolling-pin-legend/index.js +22 -24
  172. package/html-components/rolling-pin-legend/index.js.map +1 -1
  173. package/index.cjs +2 -2
  174. package/index.js +95 -86
  175. package/index.js.map +1 -1
  176. package/package.json +12 -12
  177. package/utils/context.cjs.map +1 -1
  178. package/utils/context.js +1 -1
  179. package/utils/context.js.map +1 -1
  180. package/utils/props.cjs +1 -1
  181. package/utils/props.cjs.map +1 -1
  182. package/utils/props.d.ts +1 -4
  183. package/utils/props.js +9 -9
  184. package/utils/props.js.map +1 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as d, computed as F, ref as a, onMounted as m, nextTick as f, onUnmounted as g, watch as c, createElementBlock as S, openBlock as b } from "vue";
1
+ import { defineComponent as y, computed as d, ref as r, onMounted as F, nextTick as m, onUnmounted as f, watch as a, openBlock as g, createElementBlock as S } from "vue";
2
2
  import { LeafletFlowMap as p } from "@unovis/ts";
3
- import { useForwardProps as v, arePropsEqual as L } from "../../utils/props.js";
4
- const P = p.selectors, C = /* @__PURE__ */ d({
3
+ import { useForwardProps as b, arePropsEqual as v } from "../../utils/props.js";
4
+ const B = p.selectors, N = /* @__PURE__ */ y({
5
5
  __name: "index",
6
6
  props: {
7
7
  sourceLongitude: { type: [Function, Number, null] },
@@ -31,6 +31,7 @@ const P = p.selectors, C = /* @__PURE__ */ d({
31
31
  accessToken: {},
32
32
  attribution: {},
33
33
  renderer: {},
34
+ preserveDrawingBuffer: { type: Boolean },
34
35
  onMapInitialized: { type: Function },
35
36
  onMapMoveZoom: { type: Function },
36
37
  onMapMoveStart: { type: Function },
@@ -68,32 +69,29 @@ const P = p.selectors, C = /* @__PURE__ */ d({
68
69
  attributes: {},
69
70
  data: {}
70
71
  },
71
- setup(s, { expose: y }) {
72
- const i = s, e = F(() => i.data), o = v(i), n = a(), u = a();
73
- return m(() => {
74
- f(() => {
75
- u.value && (n.value = new p(u.value, o.value, e.value));
72
+ setup(c, { expose: s }) {
73
+ const u = c, n = d(() => u.data), e = b(u), t = r(), o = r();
74
+ return F(() => {
75
+ m(() => {
76
+ o.value && (t.value = new p(o.value, e.value, n.value));
76
77
  });
77
- }), g(() => {
78
- var t;
79
- (t = n.value) == null || t.destroy();
80
- }), c(o, (t, l) => {
81
- var r;
82
- L(t, l) || (r = n.value) == null || r.setConfig(o.value);
83
- }), c(e, () => {
84
- var t;
85
- (t = n.value) == null || t.setData(e.value);
86
- }), y({
87
- component: n
88
- }), (t, l) => (b(), S("div", {
89
- "data-vis-leaflet-flow-map": "",
78
+ }), f(() => {
79
+ t.value?.destroy();
80
+ }), a(e, (i, l) => {
81
+ v(i, l) || (t.value?.setConfig(e.value), t.value?.render());
82
+ }), a(n, () => {
83
+ t.value?.setData(n.value);
84
+ }), s({
85
+ component: t
86
+ }), (i, l) => (g(), S("div", {
90
87
  ref_key: "elRef",
91
- ref: u
88
+ ref: o,
89
+ "data-vis-leaflet-flow-map": ""
92
90
  }, null, 512));
93
91
  }
94
92
  });
95
93
  export {
96
- P as VisLeafletFlowMapSelectors,
97
- C as default
94
+ B as VisLeafletFlowMapSelectors,
95
+ N as default
98
96
  };
99
97
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-flow-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"PointDatum extends GenericDataRecord,FlowDatum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { LeafletFlowMap, LeafletFlowMapConfigInterface, GenericDataRecord, MapLibreStyleSpecs } 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 \ntype Props = LeafletFlowMapConfigInterface<PointDatum, FlowDatum>\nconst props = defineProps<Props & { data?: { points: PointDatum[]; flows?: FlowDatum[] } }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletFlowMap<PointDatum, FlowDatum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new LeafletFlowMap<PointDatum, FlowDatum>(elRef.value, config.value, data.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?.setConfig(config.value)\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletFlowMapSelectors = LeafletFlowMap.selectors\n</script>\n\n<template>\n <div data-vis-leaflet-flow-map ref=\"elRef\"/>\n</template>\n\n\n<style>\n [data-vis-leaflet-flow-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletFlowMapSelectors","LeafletFlowMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AAiDO,MAAMA,IAA6BC,EAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxCzD,UAAMC,IAAQC,GAERC,IAAOC,EAAS,MAAMH,EAAM,IAAI,GAEhCI,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAGF,EAAM,UACTF,EAAU,QAAQ,IAAIP,EAAsCS,EAAM,OAAOJ,EAAO,OAAOF,EAAK,KAAK;AAAA,MAGnG,CAAC;AAAA,IACH,CAAC,GAEDS,EAAY,MAAM;;AAChB,OAAAC,IAAAN,EAAU,UAAV,QAAAM,EAAiB;AAAA,IAEnB,CAAC,GAEDC,EAAMT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BH,IAAAN,EAAU,UAAV,QAAAM,EAAiB,UAAUR,EAAO;AAAA,IAEtC,CAAC,GAEDS,EAAMX,GAAM,MAAM;;AAChB,OAAAU,IAAAN,EAAU,UAAV,QAAAM,EAAiB,QAAQV,EAAK;AAAA,IAChC,CAAC,GAEDe,EAAa;AAAA,MACX,WAAAX;AAAA,IAAA,CACD,mBAQCY,EAA4C,OAAA;AAAA,MAAvC,6BAAA;AAAA,eAA8B;AAAA,MAAJ,KAAIV;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-flow-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"PointDatum extends GenericDataRecord, FlowDatum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { GenericDataRecord, LeafletFlowMapConfigInterface } from '@unovis/ts'\nimport { LeafletFlowMap } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = LeafletFlowMapConfigInterface<PointDatum, FlowDatum>\nconst props = defineProps<Props & { data?: { points: PointDatum[], flows?: FlowDatum[] } }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletFlowMap<PointDatum, FlowDatum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new LeafletFlowMap<PointDatum, FlowDatum>(elRef.value, config.value, data.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletFlowMapSelectors = LeafletFlowMap.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-leaflet-flow-map />\n</template>\n\n<style>\n [data-vis-leaflet-flow-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletFlowMapSelectors","LeafletFlowMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA+CO,MAAMA,IAA6BC,EAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtCzD,UAAMC,IAAQC,GAERC,IAAOC,EAAS,MAAMH,EAAM,IAAI,GAEhCI,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAIF,EAAM,UACRF,EAAU,QAAQ,IAAIP,EAAsCS,EAAM,OAAOJ,EAAO,OAAOF,EAAK,KAAK;AAAA,MACrG,CAAC;AAAA,IACH,CAAC,GAEDS,EAAY,MAAM;AAChB,MAAAL,EAAU,OAAO,QAAA;AAAA,IACnB,CAAC,GAEDM,EAAMR,GAAQ,CAACS,GAAMC,MAAS;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,GACvCE,EAAU,OAAO,OAAA;AAAA,IAErB,CAAC,GAEDM,EAAMV,GAAM,MAAM;AAChB,MAAAI,EAAU,OAAO,QAAQJ,EAAK,KAAK;AAAA,IACrC,CAAC,GAEDc,EAAa;AAAA,MACX,WAAAV;AAAA,IAAA,CACD,mBAQCW,EAA6C,OAAA;AAAA,eAApC;AAAA,MAAJ,KAAIT;AAAA,MAAQ,6BAAA;AAAA,IAAA;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("@unovis/ts"),p=require("../../utils/props.cjs"),y=c.LeafletMap.selectors,f=t.defineComponent({__name:"index",props:{width:{},height:{},flyToDuration:{},fitViewPadding:{},zoomDuration:{},initialBounds:{},fitBoundsOnUpdate:{},fitViewOnInit:{type:Boolean},fitViewOnUpdate:{type:Boolean},style:{},styleDarkTheme:{},accessToken:{},attribution:{},renderer:{},onMapInitialized:{type:Function},onMapMoveZoom:{type:Function},onMapMoveStart:{type:Function},onMapMoveEnd:{type:Function},onMapZoomStart:{type:Function},onMapZoomEnd:{type:Function},onMapClick:{type:Function},pointLongitude:{type:[Function,Number,null]},pointLatitude:{type:[Function,Number,null]},pointId:{type:[Function,String,null]},pointShape:{type:[Function,String,null]},pointColor:{type:[Function,String,Array,null]},pointRadius:{type:[Function,Number,null]},pointLabel:{type:[Function,String,null]},pointLabelColor:{type:[Function,String,null]},pointBottomLabel:{type:[Function,String,null]},pointCursor:{type:[Function,String,null]},pointRingWidth:{},selectedPointId:{},clusterColor:{type:[Function,String,Array,null]},clusterRadius:{type:[Function,Number,null]},clusterLabel:{type:[Function,String,null]},clusterLabelColor:{type:[Function,String,null]},clusterBottomLabel:{type:[Function,String,null]},clusterRingWidth:{},clusterBackground:{type:Boolean},clusterExpandOnClick:{type:Boolean},clusteringDistance:{},colorMap:{},topoJSONLayer:{},tooltip:{},ariaLabel:{},duration:{},events:{},attributes:{},data:{}},setup(s,{expose:d}){const u=s,o=t.computed(()=>u.data),i=p.useForwardProps(u),n=t.ref(),l=t.ref();return t.onMounted(()=>{t.nextTick(()=>{l.value&&(n.value=new c.LeafletMap(l.value,i.value,o.value))})}),t.onUnmounted(()=>{var e;(e=n.value)==null||e.destroy()}),t.watch(i,(e,a)=>{var r;p.arePropsEqual(e,a)||(r=n.value)==null||r.setConfig(i.value)}),t.watch(o,()=>{var e;(e=n.value)==null||e.setData(o.value)}),d({component:n}),(e,a)=>(t.openBlock(),t.createElementBlock("div",{"data-vis-leaflet-map":"",ref_key:"elRef",ref:l},null,512))}});exports.VisLeafletMapSelectors=y;exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@unovis/ts"),r=require("../../utils/props.cjs"),d=p.LeafletMap.selectors,y=e.defineComponent({__name:"index",props:{width:{},height:{},flyToDuration:{},fitViewPadding:{},zoomDuration:{},initialBounds:{},fitBoundsOnUpdate:{},fitViewOnInit:{type:Boolean},fitViewOnUpdate:{type:Boolean},style:{},styleDarkTheme:{},accessToken:{},attribution:{},renderer:{},preserveDrawingBuffer:{type:Boolean},onMapInitialized:{type:Function},onMapMoveZoom:{type:Function},onMapMoveStart:{type:Function},onMapMoveEnd:{type:Function},onMapZoomStart:{type:Function},onMapZoomEnd:{type:Function},onMapClick:{type:Function},pointLongitude:{type:[Function,Number,null]},pointLatitude:{type:[Function,Number,null]},pointId:{type:[Function,String,null]},pointShape:{type:[Function,String,null]},pointColor:{type:[Function,String,Array,null]},pointRadius:{type:[Function,Number,null]},pointLabel:{type:[Function,String,null]},pointLabelColor:{type:[Function,String,null]},pointBottomLabel:{type:[Function,String,null]},pointCursor:{type:[Function,String,null]},pointRingWidth:{},selectedPointId:{},clusterColor:{type:[Function,String,Array,null]},clusterRadius:{type:[Function,Number,null]},clusterLabel:{type:[Function,String,null]},clusterLabelColor:{type:[Function,String,null]},clusterBottomLabel:{type:[Function,String,null]},clusterRingWidth:{},clusterBackground:{type:Boolean},clusterExpandOnClick:{type:Boolean},clusteringDistance:{},colorMap:{},topoJSONLayer:{},tooltip:{},ariaLabel:{},duration:{},events:{},attributes:{},data:{}},setup(c,{expose:s}){const l=c,n=e.computed(()=>l.data),o=r.useForwardProps(l),t=e.ref(),i=e.ref();return e.onMounted(()=>{e.nextTick(()=>{i.value&&(t.value=new p.LeafletMap(i.value,o.value,n.value))})}),e.onUnmounted(()=>{t.value?.destroy()}),e.watch(o,(u,a)=>{r.arePropsEqual(u,a)||(t.value?.setConfig(o.value),t.value?.render())}),e.watch(n,()=>{t.value?.setData(n.value)}),s({component:t}),(u,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"elRef",ref:i,"data-vis-leaflet-map":""},null,512))}});exports.VisLeafletMapSelectors=d;exports.default=y;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/html-components/leaflet-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { LeafletMap, LeafletMapConfigInterface, GenericDataRecord, MapLibreStyleSpecs } 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 \ntype Props = LeafletMapConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletMap<Datum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new LeafletMap<Datum>(elRef.value, config.value, data.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?.setConfig(config.value)\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletMapSelectors = LeafletMap.selectors\n</script>\n\n<template>\n <div data-vis-leaflet-map ref=\"elRef\"/>\n</template>\n\n\n<style>\n [data-vis-leaflet-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletMapSelectors","LeafletMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":"8LAiDaA,EAAyBC,EAAAA,WAAW,w5CAxCjD,MAAMC,EAAQC,EAERC,EAAOC,EAAAA,SAAS,IAAMH,EAAM,IAAI,EAEhCI,EAASC,EAAAA,gBAAgBL,CAAK,EAG9BM,EAAYC,EAAAA,IAAA,EACZC,EAAQD,EAAAA,IAAA,EAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACVF,EAAM,QACTF,EAAU,MAAQ,IAAIP,EAAAA,WAAkBS,EAAM,MAAOJ,EAAO,MAAOF,EAAK,KAAK,EAG/E,CAAC,CACH,CAAC,EAEDS,EAAAA,YAAY,IAAM,QAChBC,EAAAN,EAAU,QAAV,MAAAM,EAAiB,SAEnB,CAAC,EAEDC,EAAAA,MAAMT,EAAQ,CAACU,EAAMC,IAAS,OACvBC,EAAAA,cAAcF,EAAMC,CAAI,IAC3BH,EAAAN,EAAU,QAAV,MAAAM,EAAiB,UAAUR,EAAO,MAEtC,CAAC,EAEDS,EAAAA,MAAMX,EAAM,IAAM,QAChBU,EAAAN,EAAU,QAAV,MAAAM,EAAiB,QAAQV,EAAK,MAChC,CAAC,EAEDe,EAAa,CACX,UAAAX,CAAA,CACD,wBAQCY,EAAAA,mBAAuC,MAAA,CAAlC,uBAAA,WAAyB,QAAJ,IAAIV,CAAA"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/html-components/leaflet-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { GenericDataRecord, LeafletMapConfigInterface } from '@unovis/ts'\nimport { LeafletMap } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = LeafletMapConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletMap<Datum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new LeafletMap<Datum>(elRef.value, config.value, data.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletMapSelectors = LeafletMap.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-leaflet-map />\n</template>\n\n<style>\n [data-vis-leaflet-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletMapSelectors","LeafletMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":"8LA+CaA,EAAyBC,EAAAA,WAAW,67CAtCjD,MAAMC,EAAQC,EAERC,EAAOC,EAAAA,SAAS,IAAMH,EAAM,IAAI,EAEhCI,EAASC,EAAAA,gBAAgBL,CAAK,EAG9BM,EAAYC,EAAAA,IAAA,EACZC,EAAQD,EAAAA,IAAA,EAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACTF,EAAM,QACRF,EAAU,MAAQ,IAAIP,EAAAA,WAAkBS,EAAM,MAAOJ,EAAO,MAAOF,EAAK,KAAK,EACjF,CAAC,CACH,CAAC,EAEDS,EAAAA,YAAY,IAAM,CAChBL,EAAU,OAAO,QAAA,CACnB,CAAC,EAEDM,EAAAA,MAAMR,EAAQ,CAACS,EAAMC,IAAS,CACvBC,EAAAA,cAAcF,EAAMC,CAAI,IAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,EACvCE,EAAU,OAAO,OAAA,EAErB,CAAC,EAEDM,EAAAA,MAAMV,EAAM,IAAM,CAChBI,EAAU,OAAO,QAAQJ,EAAK,KAAK,CACrC,CAAC,EAEDc,EAAa,CACX,UAAAV,CAAA,CACD,wBAQCW,EAAAA,mBAAwC,MAAA,SAA/B,QAAJ,IAAIT,EAAQ,uBAAA,EAAA"}
@@ -1,4 +1,4 @@
1
- import { LeafletMap, LeafletMapConfigInterface, GenericDataRecord } from '@unovis/ts';
1
+ import { GenericDataRecord, LeafletMapConfigInterface, LeafletMap } from '@unovis/ts';
2
2
 
3
3
  export declare const VisLeafletMapSelectors: typeof import("@unovis/ts/components/leaflet-map/style");
4
4
  declare const _default: <Datum extends GenericDataRecord>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
@@ -1,7 +1,7 @@
1
- import { defineComponent as y, computed as m, ref as r, onMounted as f, nextTick as F, onUnmounted as g, watch as p, createElementBlock as v, openBlock as S } from "vue";
2
- import { LeafletMap as c } from "@unovis/ts";
3
- import { useForwardProps as M, arePropsEqual as b } from "../../utils/props.js";
4
- const k = c.selectors, C = /* @__PURE__ */ y({
1
+ import { defineComponent as d, computed as y, ref as a, onMounted as f, nextTick as m, onUnmounted as F, watch as r, openBlock as g, createElementBlock as v } from "vue";
2
+ import { LeafletMap as p } from "@unovis/ts";
3
+ import { useForwardProps as S, arePropsEqual as M } from "../../utils/props.js";
4
+ const h = p.selectors, k = /* @__PURE__ */ d({
5
5
  __name: "index",
6
6
  props: {
7
7
  width: {},
@@ -18,6 +18,7 @@ const k = c.selectors, C = /* @__PURE__ */ y({
18
18
  accessToken: {},
19
19
  attribution: {},
20
20
  renderer: {},
21
+ preserveDrawingBuffer: { type: Boolean },
21
22
  onMapInitialized: { type: Function },
22
23
  onMapMoveZoom: { type: Function },
23
24
  onMapMoveStart: { type: Function },
@@ -55,32 +56,29 @@ const k = c.selectors, C = /* @__PURE__ */ y({
55
56
  attributes: {},
56
57
  data: {}
57
58
  },
58
- setup(s, { expose: d }) {
59
- const l = s, e = m(() => l.data), o = M(l), n = r(), i = r();
59
+ setup(c, { expose: s }) {
60
+ const i = c, n = y(() => i.data), e = S(i), t = a(), o = a();
60
61
  return f(() => {
61
- F(() => {
62
- i.value && (n.value = new c(i.value, o.value, e.value));
62
+ m(() => {
63
+ o.value && (t.value = new p(o.value, e.value, n.value));
63
64
  });
64
- }), g(() => {
65
- var t;
66
- (t = n.value) == null || t.destroy();
67
- }), p(o, (t, u) => {
68
- var a;
69
- b(t, u) || (a = n.value) == null || a.setConfig(o.value);
70
- }), p(e, () => {
71
- var t;
72
- (t = n.value) == null || t.setData(e.value);
73
- }), d({
74
- component: n
75
- }), (t, u) => (S(), v("div", {
76
- "data-vis-leaflet-map": "",
65
+ }), F(() => {
66
+ t.value?.destroy();
67
+ }), r(e, (l, u) => {
68
+ M(l, u) || (t.value?.setConfig(e.value), t.value?.render());
69
+ }), r(n, () => {
70
+ t.value?.setData(n.value);
71
+ }), s({
72
+ component: t
73
+ }), (l, u) => (g(), v("div", {
77
74
  ref_key: "elRef",
78
- ref: i
75
+ ref: o,
76
+ "data-vis-leaflet-map": ""
79
77
  }, null, 512));
80
78
  }
81
79
  });
82
80
  export {
83
- k as VisLeafletMapSelectors,
84
- C as default
81
+ h as VisLeafletMapSelectors,
82
+ k as default
85
83
  };
86
84
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { LeafletMap, LeafletMapConfigInterface, GenericDataRecord, MapLibreStyleSpecs } 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 \ntype Props = LeafletMapConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletMap<Datum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new LeafletMap<Datum>(elRef.value, config.value, data.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?.setConfig(config.value)\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletMapSelectors = LeafletMap.selectors\n</script>\n\n<template>\n <div data-vis-leaflet-map ref=\"elRef\"/>\n</template>\n\n\n<style>\n [data-vis-leaflet-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletMapSelectors","LeafletMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AAiDO,MAAMA,IAAyBC,EAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxCjD,UAAMC,IAAQC,GAERC,IAAOC,EAAS,MAAMH,EAAM,IAAI,GAEhCI,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAGF,EAAM,UACTF,EAAU,QAAQ,IAAIP,EAAkBS,EAAM,OAAOJ,EAAO,OAAOF,EAAK,KAAK;AAAA,MAG/E,CAAC;AAAA,IACH,CAAC,GAEDS,EAAY,MAAM;;AAChB,OAAAC,IAAAN,EAAU,UAAV,QAAAM,EAAiB;AAAA,IAEnB,CAAC,GAEDC,EAAMT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BH,IAAAN,EAAU,UAAV,QAAAM,EAAiB,UAAUR,EAAO;AAAA,IAEtC,CAAC,GAEDS,EAAMX,GAAM,MAAM;;AAChB,OAAAU,IAAAN,EAAU,UAAV,QAAAM,EAAiB,QAAQV,EAAK;AAAA,IAChC,CAAC,GAEDe,EAAa;AAAA,MACX,WAAAX;AAAA,IAAA,CACD,mBAQCY,EAAuC,OAAA;AAAA,MAAlC,wBAAA;AAAA,eAAyB;AAAA,MAAJ,KAAIV;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { GenericDataRecord, LeafletMapConfigInterface } from '@unovis/ts'\nimport { LeafletMap } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = LeafletMapConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletMap<Datum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new LeafletMap<Datum>(elRef.value, config.value, data.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletMapSelectors = LeafletMap.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-leaflet-map />\n</template>\n\n<style>\n [data-vis-leaflet-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletMapSelectors","LeafletMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA+CO,MAAMA,IAAyBC,EAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtCjD,UAAMC,IAAQC,GAERC,IAAOC,EAAS,MAAMH,EAAM,IAAI,GAEhCI,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAIF,EAAM,UACRF,EAAU,QAAQ,IAAIP,EAAkBS,EAAM,OAAOJ,EAAO,OAAOF,EAAK,KAAK;AAAA,MACjF,CAAC;AAAA,IACH,CAAC,GAEDS,EAAY,MAAM;AAChB,MAAAL,EAAU,OAAO,QAAA;AAAA,IACnB,CAAC,GAEDM,EAAMR,GAAQ,CAACS,GAAMC,MAAS;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,GACvCE,EAAU,OAAO,OAAA;AAAA,IAErB,CAAC,GAEDM,EAAMV,GAAM,MAAM;AAChB,MAAAI,EAAU,OAAO,QAAQJ,EAAK,KAAK;AAAA,IACrC,CAAC,GAEDc,EAAa;AAAA,MACX,WAAAV;AAAA,IAAA,CACD,mBAQCW,EAAwC,OAAA;AAAA,eAA/B;AAAA,MAAJ,KAAIT;AAAA,MAAQ,wBAAA;AAAA,IAAA;;;"}
@@ -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"),i=require("../../utils/props.cjs"),p=c.RollingPinLegend.selectors,f=e.defineComponent({__name:"index",props:{rects:{},leftLabelText:{},rightLabelText:{},labelClassName:{},labelFontSize:{},renderIntoProvidedDomNode:{type:Boolean},data:{}},setup(u,{expose:d}){const r=u;e.computed(()=>r.data);const t=i.useForwardProps(r),o=e.ref(),l=e.ref();return e.onMounted(()=>{e.nextTick(()=>{l.value&&(o.value=new c.RollingPinLegend(l.value,t.value))})}),e.onUnmounted(()=>{var n;(n=o.value)==null||n.destroy()}),e.watch(t,(n,s)=>{var a;i.arePropsEqual(n,s)||(a=o.value)==null||a.setConfig(t.value)}),d({component:o}),(n,s)=>(e.openBlock(),e.createElementBlock("div",{"data-vis-rolling-pin-legend":"",ref_key:"elRef",ref:l},null,512))}});exports.VisRollingPinLegendSelectors=p;exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@unovis/ts"),a=require("../../utils/props.cjs"),d=i.RollingPinLegend.selectors,p=e.defineComponent({__name:"index",props:{rects:{},leftLabelText:{},rightLabelText:{},labelClassName:{},labelFontSize:{},renderIntoProvidedDomNode:{type:Boolean},data:{}},setup(u,{expose:c}){const l=u;e.computed(()=>l.data);const o=a.useForwardProps(l),n=e.ref(),t=e.ref();return e.onMounted(()=>{e.nextTick(()=>{t.value&&(n.value=new i.RollingPinLegend(t.value,o.value))})}),e.onUnmounted(()=>{n.value?.destroy()}),e.watch(o,(r,s)=>{a.arePropsEqual(r,s)||(n.value?.setConfig(o.value),n.value?.render())}),c({component:n}),(r,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"elRef",ref:t,"data-vis-rolling-pin-legend":""},null,512))}});exports.VisRollingPinLegendSelectors=d;exports.default=p;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\" >\n// !!! This code was automatically generated. You should not change it !!!\nimport { RollingPinLegend, RollingPinLegendConfigInterface, RollingPinLegendItem } 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 \ntype Props = RollingPinLegendConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<RollingPinLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new RollingPinLegend(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?.setConfig(config.value)\n }\n})\n\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisRollingPinLegendSelectors = RollingPinLegend.selectors\n</script>\n\n<template>\n <div data-vis-rolling-pin-legend ref=\"elRef\"/>\n</template>\n\n\n<style>\n [data-vis-rolling-pin-legend] {\n display:block;\n }\n</style>\n"],"names":["VisRollingPinLegendSelectors","RollingPinLegend","props","__props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":"8LA8CaA,EAA+BC,EAAAA,iBAAiB,0MArC7D,MAAMC,EAAQC,EAEDC,EAAAA,SAAS,IAAMF,EAAM,IAAI,EAEtC,MAAMG,EAASC,EAAAA,gBAAgBJ,CAAK,EAG9BK,EAAYC,EAAAA,IAAA,EACZC,EAAQD,EAAAA,IAAA,EAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACVF,EAAM,QACTF,EAAU,MAAQ,IAAIN,EAAAA,iBAAiBQ,EAAM,MAAOJ,EAAO,KAAK,EAGlE,CAAC,CACH,CAAC,EAEDO,EAAAA,YAAY,IAAM,QAChBC,EAAAN,EAAU,QAAV,MAAAM,EAAiB,SAEnB,CAAC,EAEDC,EAAAA,MAAMT,EAAQ,CAACU,EAAMC,IAAS,OACvBC,EAAAA,cAAcF,EAAMC,CAAI,IAC3BH,EAAAN,EAAU,QAAV,MAAAM,EAAiB,UAAUR,EAAO,MAEtC,CAAC,EAGDa,EAAa,CACX,UAAAX,CAAA,CACD,wBAQCY,EAAAA,mBAA8C,MAAA,CAAzC,8BAAA,WAAgC,QAAJ,IAAIV,CAAA"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { RollingPinLegendConfigInterface } from '@unovis/ts'\nimport { RollingPinLegend } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = RollingPinLegendConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<RollingPinLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new RollingPinLegend(elRef.value, config.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisRollingPinLegendSelectors = RollingPinLegend.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-rolling-pin-legend />\n</template>\n\n<style>\n [data-vis-rolling-pin-legend] {\n display:block;\n }\n</style>\n"],"names":["VisRollingPinLegendSelectors","RollingPinLegend","props","__props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":"8LA2CaA,EAA+BC,EAAAA,iBAAiB,0MAlC7D,MAAMC,EAAQC,EAEDC,EAAAA,SAAS,IAAMF,EAAM,IAAI,EAEtC,MAAMG,EAASC,EAAAA,gBAAgBJ,CAAK,EAG9BK,EAAYC,EAAAA,IAAA,EACZC,EAAQD,EAAAA,IAAA,EAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACTF,EAAM,QACRF,EAAU,MAAQ,IAAIN,EAAAA,iBAAiBQ,EAAM,MAAOJ,EAAO,KAAK,EACpE,CAAC,CACH,CAAC,EAEDO,EAAAA,YAAY,IAAM,CAChBL,EAAU,OAAO,QAAA,CACnB,CAAC,EAEDM,EAAAA,MAAMR,EAAQ,CAACS,EAAMC,IAAS,CACvBC,EAAAA,cAAcF,EAAMC,CAAI,IAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,EACvCE,EAAU,OAAO,OAAA,EAErB,CAAC,EAEDU,EAAa,CACX,UAAAV,CAAA,CACD,wBAQCW,EAAAA,mBAA+C,MAAA,SAAtC,QAAJ,IAAIT,EAAQ,8BAAA,EAAA"}
@@ -1,4 +1,4 @@
1
- import { RollingPinLegend, RollingPinLegendConfigInterface } from '@unovis/ts';
1
+ import { RollingPinLegendConfigInterface, RollingPinLegend } from '@unovis/ts';
2
2
 
3
3
  export declare const VisRollingPinLegendSelectors: typeof import("@unovis/ts/components/rolling-pin-legend/style");
4
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RollingPinLegendConfigInterface & {
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, computed as u, ref as s, onMounted as f, nextTick as m, onUnmounted as v, watch as g, createElementBlock as x, openBlock as _ } from "vue";
2
- import { RollingPinLegend as i } from "@unovis/ts";
3
- import { useForwardProps as P, arePropsEqual as b } from "../../utils/props.js";
4
- const h = i.selectors, w = /* @__PURE__ */ p({
1
+ import { defineComponent as d, computed as p, ref as a, onMounted as u, nextTick as f, onUnmounted as m, watch as v, openBlock as g, createElementBlock as x } from "vue";
2
+ import { RollingPinLegend as s } from "@unovis/ts";
3
+ import { useForwardProps as _, arePropsEqual as P } from "../../utils/props.js";
4
+ const R = s.selectors, h = /* @__PURE__ */ d({
5
5
  __name: "index",
6
6
  props: {
7
7
  rects: {},
@@ -12,31 +12,29 @@ const h = i.selectors, w = /* @__PURE__ */ p({
12
12
  renderIntoProvidedDomNode: { type: Boolean },
13
13
  data: {}
14
14
  },
15
- setup(c, { expose: d }) {
16
- const l = c;
17
- u(() => l.data);
18
- const n = P(l), o = s(), t = s();
19
- return f(() => {
20
- m(() => {
21
- t.value && (o.value = new i(t.value, n.value));
15
+ setup(i, { expose: c }) {
16
+ const t = i;
17
+ p(() => t.data);
18
+ const o = _(t), e = a(), n = a();
19
+ return u(() => {
20
+ f(() => {
21
+ n.value && (e.value = new s(n.value, o.value));
22
22
  });
23
- }), v(() => {
24
- var e;
25
- (e = o.value) == null || e.destroy();
26
- }), g(n, (e, r) => {
27
- var a;
28
- b(e, r) || (a = o.value) == null || a.setConfig(n.value);
29
- }), d({
30
- component: o
31
- }), (e, r) => (_(), x("div", {
32
- "data-vis-rolling-pin-legend": "",
23
+ }), m(() => {
24
+ e.value?.destroy();
25
+ }), v(o, (l, r) => {
26
+ P(l, r) || (e.value?.setConfig(o.value), e.value?.render());
27
+ }), c({
28
+ component: e
29
+ }), (l, r) => (g(), x("div", {
33
30
  ref_key: "elRef",
34
- ref: t
31
+ ref: n,
32
+ "data-vis-rolling-pin-legend": ""
35
33
  }, null, 512));
36
34
  }
37
35
  });
38
36
  export {
39
- h as VisRollingPinLegendSelectors,
40
- w as default
37
+ R as VisRollingPinLegendSelectors,
38
+ h as default
41
39
  };
42
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\" >\n// !!! This code was automatically generated. You should not change it !!!\nimport { RollingPinLegend, RollingPinLegendConfigInterface, RollingPinLegendItem } 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 \ntype Props = RollingPinLegendConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<RollingPinLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if(elRef.value)\n component.value = new RollingPinLegend(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?.setConfig(config.value)\n }\n})\n\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisRollingPinLegendSelectors = RollingPinLegend.selectors\n</script>\n\n<template>\n <div data-vis-rolling-pin-legend ref=\"elRef\"/>\n</template>\n\n\n<style>\n [data-vis-rolling-pin-legend] {\n display:block;\n }\n</style>\n"],"names":["VisRollingPinLegendSelectors","RollingPinLegend","props","__props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA8CO,MAAMA,IAA+BC,EAAiB;;;;;;;;;;;;AArC7D,UAAMC,IAAQC;AAED,IAAAC,EAAS,MAAMF,EAAM,IAAI;AAEtC,UAAMG,IAASC,EAAgBJ,CAAK,GAG9BK,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAGF,EAAM,UACTF,EAAU,QAAQ,IAAIN,EAAiBQ,EAAM,OAAOJ,EAAO,KAAK;AAAA,MAGlE,CAAC;AAAA,IACH,CAAC,GAEDO,EAAY,MAAM;;AAChB,OAAAC,IAAAN,EAAU,UAAV,QAAAM,EAAiB;AAAA,IAEnB,CAAC,GAEDC,EAAMT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BH,IAAAN,EAAU,UAAV,QAAAM,EAAiB,UAAUR,EAAO;AAAA,IAEtC,CAAC,GAGDa,EAAa;AAAA,MACX,WAAAX;AAAA,IAAA,CACD,mBAQCY,EAA8C,OAAA;AAAA,MAAzC,+BAAA;AAAA,eAAgC;AAAA,MAAJ,KAAIV;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { RollingPinLegendConfigInterface } from '@unovis/ts'\nimport { RollingPinLegend } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = RollingPinLegendConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<RollingPinLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new RollingPinLegend(elRef.value, config.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisRollingPinLegendSelectors = RollingPinLegend.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-rolling-pin-legend />\n</template>\n\n<style>\n [data-vis-rolling-pin-legend] {\n display:block;\n }\n</style>\n"],"names":["VisRollingPinLegendSelectors","RollingPinLegend","props","__props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA2CO,MAAMA,IAA+BC,EAAiB;;;;;;;;;;;;AAlC7D,UAAMC,IAAQC;AAED,IAAAC,EAAS,MAAMF,EAAM,IAAI;AAEtC,UAAMG,IAASC,EAAgBJ,CAAK,GAG9BK,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAIF,EAAM,UACRF,EAAU,QAAQ,IAAIN,EAAiBQ,EAAM,OAAOJ,EAAO,KAAK;AAAA,MACpE,CAAC;AAAA,IACH,CAAC,GAEDO,EAAY,MAAM;AAChB,MAAAL,EAAU,OAAO,QAAA;AAAA,IACnB,CAAC,GAEDM,EAAMR,GAAQ,CAACS,GAAMC,MAAS;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,GACvCE,EAAU,OAAO,OAAA;AAAA,IAErB,CAAC,GAEDU,EAAa;AAAA,MACX,WAAAV;AAAA,IAAA,CACD,mBAQCW,EAA+C,OAAA;AAAA,eAAtC;AAAA,MAAJ,KAAIT;AAAA,MAAQ,+BAAA;AAAA,IAAA;;;"}
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],[data-vis-flow-legend],[data-vis-rolling-pin-legend]{display:block}")),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 m=require("./containers/xy-container/index.cjs");;const M=require("./containers/single-container/index.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"),_=require("./components/grouped-bar/index.cjs"),u=require("./components/line/index.cjs"),l=require("./components/scatter/index.cjs"),n=require("./components/stacked-bar/index.cjs"),o=require("./components/timeline/index.cjs"),c=require("./components/xy-labels/index.cjs"),a=require("./components/plotband/index.cjs"),p=require("./components/plotline/index.cjs"),d=require("./components/chord-diagram/index.cjs"),V=require("./components/donut/index.cjs"),S=require("./components/graph/index.cjs"),v=require("./components/nested-donut/index.cjs"),g=require("./components/sankey/index.cjs"),f=require("./components/topojson-map/index.cjs"),q=require("./components/treemap/index.cjs"),y=require("./components/tooltip/index.cjs"),x=require("./components/annotations/index.cjs"),$=require("./html-components/leaflet-map/index.cjs");;const L=require("./html-components/leaflet-flow-map/index.cjs");;const h=require("./html-components/bullet-legend/index.cjs");;const B=require("./html-components/flow-legend/index.cjs");;const T=require("./html-components/rolling-pin-legend/index.cjs");;exports.VisXYContainer=m.default;exports.VisSingleContainer=M.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=_.default;exports.VisGroupedBarSelectors=_.VisGroupedBarSelectors;exports.VisLine=u.default;exports.VisLineSelectors=u.VisLineSelectors;exports.VisScatter=l.default;exports.VisScatterSelectors=l.VisScatterSelectors;exports.VisStackedBar=n.default;exports.VisStackedBarSelectors=n.VisStackedBarSelectors;exports.VisTimeline=o.default;exports.VisTimelineSelectors=o.VisTimelineSelectors;exports.VisXYLabels=c.default;exports.VisXYLabelsSelectors=c.VisXYLabelsSelectors;exports.VisPlotband=a.default;exports.VisPlotbandSelectors=a.VisPlotbandSelectors;exports.VisPlotline=p.default;exports.VisPlotlineSelectors=p.VisPlotlineSelectors;exports.VisChordDiagram=d.default;exports.VisChordDiagramSelectors=d.VisChordDiagramSelectors;exports.VisDonut=V.default;exports.VisDonutSelectors=V.VisDonutSelectors;exports.VisGraph=S.default;exports.VisGraphSelectors=S.VisGraphSelectors;exports.VisNestedDonut=v.default;exports.VisNestedDonutSelectors=v.VisNestedDonutSelectors;exports.VisSankey=g.default;exports.VisSankeySelectors=g.VisSankeySelectors;exports.VisTopoJSONMap=f.default;exports.VisTopoJSONMapSelectors=f.VisTopoJSONMapSelectors;exports.VisTreemap=q.default;exports.VisTreemapSelectors=q.VisTreemapSelectors;exports.VisTooltip=y.default;exports.VisTooltipSelectors=y.VisTooltipSelectors;exports.VisAnnotations=x.default;exports.VisAnnotationsSelectors=x.VisAnnotationsSelectors;exports.VisLeafletMap=$.default;exports.VisLeafletMapSelectors=$.VisLeafletMapSelectors;exports.VisLeafletFlowMap=L.default;exports.VisLeafletFlowMapSelectors=L.VisLeafletFlowMapSelectors;exports.VisBulletLegend=h.default;exports.VisBulletLegendSelectors=h.VisBulletLegendSelectors;exports.VisFlowLegend=B.default;exports.VisFlowLegendSelectors=B.VisFlowLegendSelectors;exports.VisRollingPinLegend=T.default;exports.VisRollingPinLegendSelectors=T.VisRollingPinLegendSelectors;
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-vis-bullet-legend],[data-vis-flow-legend]{display:block}[data-vis-leaflet-flow-map],[data-vis-leaflet-map]{display:block;position:relative}[data-vis-rolling-pin-legend]{display:block}.unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}")),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 e=require("./components/annotations/index.cjs"),t=require("./components/area/index.cjs"),s=require("./components/axis/index.cjs"),r=require("./components/boxplot/index.cjs"),i=require("./components/brush/index.cjs"),_=require("./html-components/bullet-legend/index.cjs");;const u=require("./components/chord-diagram/index.cjs"),l=require("./components/crosshair/index.cjs"),o=require("./components/donut/index.cjs"),n=require("./html-components/flow-legend/index.cjs");;const a=require("./components/free-brush/index.cjs"),c=require("./components/graph/index.cjs"),p=require("./components/grouped-bar/index.cjs"),d=require("./components/heatmap/index.cjs"),V=require("./html-components/leaflet-flow-map/index.cjs");;const S=require("./html-components/leaflet-map/index.cjs");;const v=require("./components/line/index.cjs"),g=require("./components/nested-donut/index.cjs"),f=require("./components/plotband/index.cjs"),q=require("./components/plotline/index.cjs"),x=require("./components/radial-bar/index.cjs"),y=require("./html-components/rolling-pin-legend/index.cjs");;const $=require("./components/sankey/index.cjs"),B=require("./components/scatter/index.cjs"),b=require("./containers/single-container/index.cjs");;const L=require("./components/stacked-bar/index.cjs"),h=require("./components/timeline/index.cjs"),m=require("./components/tooltip/index.cjs"),T=require("./components/topojson-map/index.cjs"),M=require("./components/treemap/index.cjs"),A=require("./containers/xy-container/index.cjs");;const P=require("./components/xy-labels/index.cjs");exports.VisAnnotations=e.default;exports.VisAnnotationsSelectors=e.VisAnnotationsSelectors;exports.VisArea=t.default;exports.VisAreaSelectors=t.VisAreaSelectors;exports.VisAxis=s.default;exports.VisAxisSelectors=s.VisAxisSelectors;exports.VisBoxplot=r.default;exports.VisBoxplotSelectors=r.VisBoxplotSelectors;exports.VisBrush=i.default;exports.VisBrushSelectors=i.VisBrushSelectors;exports.VisBulletLegend=_.default;exports.VisBulletLegendSelectors=_.VisBulletLegendSelectors;exports.VisChordDiagram=u.default;exports.VisChordDiagramSelectors=u.VisChordDiagramSelectors;exports.VisCrosshair=l.default;exports.VisCrosshairSelectors=l.VisCrosshairSelectors;exports.VisDonut=o.default;exports.VisDonutSelectors=o.VisDonutSelectors;exports.VisFlowLegend=n.default;exports.VisFlowLegendSelectors=n.VisFlowLegendSelectors;exports.VisFreeBrush=a.default;exports.VisFreeBrushSelectors=a.VisFreeBrushSelectors;exports.VisGraph=c.default;exports.VisGraphSelectors=c.VisGraphSelectors;exports.VisGroupedBar=p.default;exports.VisGroupedBarSelectors=p.VisGroupedBarSelectors;exports.VisHeatmap=d.default;exports.VisHeatmapSelectors=d.VisHeatmapSelectors;exports.VisLeafletFlowMap=V.default;exports.VisLeafletFlowMapSelectors=V.VisLeafletFlowMapSelectors;exports.VisLeafletMap=S.default;exports.VisLeafletMapSelectors=S.VisLeafletMapSelectors;exports.VisLine=v.default;exports.VisLineSelectors=v.VisLineSelectors;exports.VisNestedDonut=g.default;exports.VisNestedDonutSelectors=g.VisNestedDonutSelectors;exports.VisPlotband=f.default;exports.VisPlotbandSelectors=f.VisPlotbandSelectors;exports.VisPlotline=q.default;exports.VisPlotlineSelectors=q.VisPlotlineSelectors;exports.VisRadialBar=x.default;exports.VisRadialBarSelectors=x.VisRadialBarSelectors;exports.VisRollingPinLegend=y.default;exports.VisRollingPinLegendSelectors=y.VisRollingPinLegendSelectors;exports.VisSankey=$.default;exports.VisSankeySelectors=$.VisSankeySelectors;exports.VisScatter=B.default;exports.VisScatterSelectors=B.VisScatterSelectors;exports.VisSingleContainer=b.default;exports.VisStackedBar=L.default;exports.VisStackedBarSelectors=L.VisStackedBarSelectors;exports.VisTimeline=h.default;exports.VisTimelineSelectors=h.VisTimelineSelectors;exports.VisTooltip=m.default;exports.VisTooltipSelectors=m.VisTooltipSelectors;exports.VisTopoJSONMap=T.default;exports.VisTopoJSONMapSelectors=T.VisTopoJSONMapSelectors;exports.VisTreemap=M.default;exports.VisTreemapSelectors=M.VisTreemapSelectors;exports.VisXYContainer=A.default;exports.VisXYLabels=P.default;exports.VisXYLabelsSelectors=P.VisXYLabelsSelectors;
3
3
  //# sourceMappingURL=index.cjs.map
package/index.js CHANGED
@@ -1,96 +1,105 @@
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],[data-vis-flow-legend],[data-vis-rolling-pin-legend]{display:block}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- import { default as V } from "./containers/xy-container/index.js";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-vis-bullet-legend],[data-vis-flow-legend]{display:block}[data-vis-leaflet-flow-map],[data-vis-leaflet-map]{display:block;position:relative}[data-vis-rolling-pin-legend]{display:block}.unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
+ import { default as V, VisAnnotationsSelectors as p } from "./components/annotations/index.js";
3
+ import { default as m, VisAreaSelectors as u } from "./components/area/index.js";
4
+ import { default as x, VisAxisSelectors as n } from "./components/axis/index.js";
5
+ import { default as B, VisBoxplotSelectors as L } from "./components/boxplot/index.js";
6
+ import { default as h, VisBrushSelectors as T } from "./components/brush/index.js";
7
+ import { default as C, VisBulletLegendSelectors as D } from "./html-components/bullet-legend/index.js";
3
8
 
4
- import { default as d } from "./containers/single-container/index.js";
9
+ import { default as M, VisChordDiagramSelectors as P } from "./components/chord-diagram/index.js";
10
+ import { default as k, VisCrosshairSelectors as w } from "./components/crosshair/index.js";
11
+ import { default as N, VisDonutSelectors as R } from "./components/donut/index.js";
12
+ import { default as Y, VisFlowLegendSelectors as y } from "./html-components/flow-legend/index.js";
5
13
 
6
- import { default as u, VisAreaSelectors as S } from "./components/area/index.js";
7
- import { default as c, VisAxisSelectors as x } from "./components/axis/index.js";
8
- import { default as g, VisBrushSelectors as h } from "./components/brush/index.js";
9
- import { default as T, VisCrosshairSelectors as A } from "./components/crosshair/index.js";
10
- import { default as D, VisFreeBrushSelectors as F } from "./components/free-brush/index.js";
11
- import { default as P, VisGroupedBarSelectors as b } from "./components/grouped-bar/index.js";
12
- import { default as w, VisLineSelectors as G } from "./components/line/index.js";
13
- import { default as X, VisScatterSelectors as Y } from "./components/scatter/index.js";
14
- import { default as J, VisStackedBarSelectors as O } from "./components/stacked-bar/index.js";
15
- import { default as j, VisTimelineSelectors as q } from "./components/timeline/index.js";
16
- import { default as z, VisXYLabelsSelectors as E } from "./components/xy-labels/index.js";
17
- import { default as I, VisPlotbandSelectors as K } from "./components/plotband/index.js";
18
- import { default as U, VisPlotlineSelectors as W } from "./components/plotline/index.js";
19
- import { default as _, VisChordDiagramSelectors as $ } from "./components/chord-diagram/index.js";
20
- import { default as se, VisDonutSelectors as oe } from "./components/donut/index.js";
21
- import { default as te, VisGraphSelectors as ae } from "./components/graph/index.js";
22
- import { default as le, VisNestedDonutSelectors as fe } from "./components/nested-donut/index.js";
23
- import { default as pe, VisSankeySelectors as de } from "./components/sankey/index.js";
24
- import { default as ue, VisTopoJSONMapSelectors as Se } from "./components/topojson-map/index.js";
25
- import { default as ce, VisTreemapSelectors as xe } from "./components/treemap/index.js";
26
- import { default as ge, VisTooltipSelectors as he } from "./components/tooltip/index.js";
27
- import { default as Te, VisAnnotationsSelectors as Ae } from "./components/annotations/index.js";
28
- import { default as De, VisLeafletMapSelectors as Fe } from "./html-components/leaflet-map/index.js";
14
+ import { default as J, VisFreeBrushSelectors as O } from "./components/free-brush/index.js";
15
+ import { default as q, VisGraphSelectors as v } from "./components/graph/index.js";
16
+ import { default as E, VisGroupedBarSelectors as I } from "./components/grouped-bar/index.js";
17
+ import { default as Q, VisHeatmapSelectors as U } from "./components/heatmap/index.js";
18
+ import { default as Z, VisLeafletFlowMapSelectors as _ } from "./html-components/leaflet-flow-map/index.js";
29
19
 
30
- import { default as Pe, VisLeafletFlowMapSelectors as be } from "./html-components/leaflet-flow-map/index.js";
20
+ import { default as ee, VisLeafletMapSelectors as se } from "./html-components/leaflet-map/index.js";
31
21
 
32
- import { default as we, VisBulletLegendSelectors as Ge } from "./html-components/bullet-legend/index.js";
22
+ import { default as te, VisLineSelectors as re } from "./components/line/index.js";
23
+ import { default as ie, VisNestedDonutSelectors as le } from "./components/nested-donut/index.js";
24
+ import { default as Ve, VisPlotbandSelectors as pe } from "./components/plotband/index.js";
25
+ import { default as me, VisPlotlineSelectors as ue } from "./components/plotline/index.js";
26
+ import { default as xe, VisRadialBarSelectors as ne } from "./components/radial-bar/index.js";
27
+ import { default as Be, VisRollingPinLegendSelectors as Le } from "./html-components/rolling-pin-legend/index.js";
33
28
 
34
- import { default as Xe, VisFlowLegendSelectors as Ye } from "./html-components/flow-legend/index.js";
29
+ import { default as he, VisSankeySelectors as Te } from "./components/sankey/index.js";
30
+ import { default as Ce, VisScatterSelectors as De } from "./components/scatter/index.js";
31
+ import { default as Me } from "./containers/single-container/index.js";
35
32
 
36
- import { default as Je, VisRollingPinLegendSelectors as Oe } from "./html-components/rolling-pin-legend/index.js";
33
+ import { default as be, VisStackedBarSelectors as ke } from "./components/stacked-bar/index.js";
34
+ import { default as Ge, VisTimelineSelectors as Ne } from "./components/timeline/index.js";
35
+ import { default as Xe, VisTooltipSelectors as Ye } from "./components/tooltip/index.js";
36
+ import { default as He, VisTopoJSONMapSelectors as Je } from "./components/topojson-map/index.js";
37
+ import { default as je, VisTreemapSelectors as qe } from "./components/treemap/index.js";
38
+ import { default as ze } from "./containers/xy-container/index.js";
37
39
 
40
+ import { default as Ie, VisXYLabelsSelectors as Ke } from "./components/xy-labels/index.js";
38
41
  export {
39
- Te as VisAnnotations,
40
- Ae as VisAnnotationsSelectors,
41
- u as VisArea,
42
- S as VisAreaSelectors,
43
- c as VisAxis,
44
- x as VisAxisSelectors,
45
- g as VisBrush,
46
- h as VisBrushSelectors,
47
- we as VisBulletLegend,
48
- Ge as VisBulletLegendSelectors,
49
- _ as VisChordDiagram,
50
- $ as VisChordDiagramSelectors,
51
- T as VisCrosshair,
52
- A as VisCrosshairSelectors,
53
- se as VisDonut,
54
- oe as VisDonutSelectors,
55
- Xe as VisFlowLegend,
56
- Ye as VisFlowLegendSelectors,
57
- D as VisFreeBrush,
58
- F as VisFreeBrushSelectors,
59
- te as VisGraph,
60
- ae as VisGraphSelectors,
61
- P as VisGroupedBar,
62
- b as VisGroupedBarSelectors,
63
- Pe as VisLeafletFlowMap,
64
- be as VisLeafletFlowMapSelectors,
65
- De as VisLeafletMap,
66
- Fe as VisLeafletMapSelectors,
67
- w as VisLine,
68
- G as VisLineSelectors,
69
- le as VisNestedDonut,
70
- fe as VisNestedDonutSelectors,
71
- I as VisPlotband,
72
- K as VisPlotbandSelectors,
73
- U as VisPlotline,
74
- W as VisPlotlineSelectors,
75
- Je as VisRollingPinLegend,
76
- Oe as VisRollingPinLegendSelectors,
77
- pe as VisSankey,
78
- de as VisSankeySelectors,
79
- X as VisScatter,
80
- Y as VisScatterSelectors,
81
- d as VisSingleContainer,
82
- J as VisStackedBar,
83
- O as VisStackedBarSelectors,
84
- j as VisTimeline,
85
- q as VisTimelineSelectors,
86
- ge as VisTooltip,
87
- he as VisTooltipSelectors,
88
- ue as VisTopoJSONMap,
89
- Se as VisTopoJSONMapSelectors,
90
- ce as VisTreemap,
91
- xe as VisTreemapSelectors,
92
- V as VisXYContainer,
93
- z as VisXYLabels,
94
- E as VisXYLabelsSelectors
42
+ V as VisAnnotations,
43
+ p as VisAnnotationsSelectors,
44
+ m as VisArea,
45
+ u as VisAreaSelectors,
46
+ x as VisAxis,
47
+ n as VisAxisSelectors,
48
+ B as VisBoxplot,
49
+ L as VisBoxplotSelectors,
50
+ h as VisBrush,
51
+ T as VisBrushSelectors,
52
+ C as VisBulletLegend,
53
+ D as VisBulletLegendSelectors,
54
+ M as VisChordDiagram,
55
+ P as VisChordDiagramSelectors,
56
+ k as VisCrosshair,
57
+ w as VisCrosshairSelectors,
58
+ N as VisDonut,
59
+ R as VisDonutSelectors,
60
+ Y as VisFlowLegend,
61
+ y as VisFlowLegendSelectors,
62
+ J as VisFreeBrush,
63
+ O as VisFreeBrushSelectors,
64
+ q as VisGraph,
65
+ v as VisGraphSelectors,
66
+ E as VisGroupedBar,
67
+ I as VisGroupedBarSelectors,
68
+ Q as VisHeatmap,
69
+ U as VisHeatmapSelectors,
70
+ Z as VisLeafletFlowMap,
71
+ _ as VisLeafletFlowMapSelectors,
72
+ ee as VisLeafletMap,
73
+ se as VisLeafletMapSelectors,
74
+ te as VisLine,
75
+ re as VisLineSelectors,
76
+ ie as VisNestedDonut,
77
+ le as VisNestedDonutSelectors,
78
+ Ve as VisPlotband,
79
+ pe as VisPlotbandSelectors,
80
+ me as VisPlotline,
81
+ ue as VisPlotlineSelectors,
82
+ xe as VisRadialBar,
83
+ ne as VisRadialBarSelectors,
84
+ Be as VisRollingPinLegend,
85
+ Le as VisRollingPinLegendSelectors,
86
+ he as VisSankey,
87
+ Te as VisSankeySelectors,
88
+ Ce as VisScatter,
89
+ De as VisScatterSelectors,
90
+ Me as VisSingleContainer,
91
+ be as VisStackedBar,
92
+ ke as VisStackedBarSelectors,
93
+ Ge as VisTimeline,
94
+ Ne as VisTimelineSelectors,
95
+ Xe as VisTooltip,
96
+ Ye as VisTooltipSelectors,
97
+ He as VisTopoJSONMap,
98
+ Je as VisTopoJSONMapSelectors,
99
+ je as VisTreemap,
100
+ qe as VisTreemapSelectors,
101
+ ze as VisXYContainer,
102
+ Ie as VisXYLabels,
103
+ Ke as VisXYLabelsSelectors
95
104
  };
96
105
  //# sourceMappingURL=index.js.map
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}