@adyen/lume-vue3 1.9.1 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components/charts/lume-alluvial-diagram/defaults.d.ts +1 -1
- package/dist/@types/components/charts/lume-alluvial-diagram/defaults.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts +8 -8
- package/dist/@types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts +8 -8
- package/dist/@types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts +8 -8
- package/dist/@types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-line-chart/defaults.d.ts +1 -1
- package/dist/@types/components/charts/lume-line-chart/defaults.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts +8 -8
- package/dist/@types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts +8 -8
- package/dist/@types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-sparkline-chart/composables/sparkline-area.d.ts +1 -1
- package/dist/@types/components/charts/lume-sparkline-chart/composables/sparkline-area.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-sparkline-chart/defaults.d.ts +1 -1
- package/dist/@types/components/charts/lume-sparkline-chart/defaults.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts +4 -4
- package/dist/@types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts +8 -8
- package/dist/@types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/core/index.d.ts +1 -0
- package/dist/@types/components/core/index.d.ts.map +1 -1
- package/dist/@types/components/core/lume-axis/composables/index.d.ts +4 -4
- package/dist/@types/components/core/lume-axis/composables/lume-skip.d.ts +1 -1
- package/dist/@types/components/core/lume-axis/composables/lume-skip.d.ts.map +1 -1
- package/dist/@types/components/core/lume-axis/defaults.d.ts +1 -1
- package/dist/@types/components/core/lume-axis/defaults.d.ts.map +1 -1
- package/dist/@types/components/core/lume-axis/index.d.ts +1 -0
- package/dist/@types/components/core/lume-axis/index.d.ts.map +1 -1
- package/dist/@types/components/core/lume-axis/lume-axis.vue.d.ts +2 -2
- package/dist/@types/components/core/lume-axis/lume-axis.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-axis/types.d.ts +2 -2
- package/dist/@types/components/core/lume-axis/types.d.ts.map +1 -1
- package/dist/@types/components/core/lume-chart/lume-chart.vue.d.ts +7 -6
- package/dist/@types/components/core/lume-chart/lume-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-chart-container/lume-chart-container.vue.d.ts +1 -1
- package/dist/@types/components/core/lume-chart-container/lume-chart-container.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-chart-legend/lume-chart-legend.vue.d.ts +2 -2
- package/dist/@types/components/core/lume-chart-legend/lume-chart-legend.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-tooltip/lume-tooltip.vue.d.ts +1 -1
- package/dist/@types/components/core/lume-tooltip/lume-tooltip.vue.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-extents.d.ts +2 -2
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-extents.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-graph.d.ts +3 -3
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-graph.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-hover.d.ts +2 -2
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-hover.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/helpers.d.ts +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/helpers.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts +8 -8
- package/dist/@types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/bar-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/bar-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/single-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/single-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts +3 -3
- package/dist/@types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts +8 -8
- package/dist/@types/components/groups/lume-line-group/lume-line-group.vue.d.ts +7 -7
- package/dist/@types/components/groups/lume-line-group/lume-line-group.vue.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts +8 -8
- package/dist/@types/components/index.d.ts +1 -0
- package/dist/@types/components/index.d.ts.map +1 -1
- package/dist/@types/composables/base.d.ts +3 -3
- package/dist/@types/composables/base.d.ts.map +1 -1
- package/dist/@types/composables/group-props.d.ts +3 -3
- package/dist/@types/composables/group-props.d.ts.map +1 -1
- package/dist/@types/composables/line-null-values.d.ts +1 -1
- package/dist/@types/composables/line-null-values.d.ts.map +1 -1
- package/dist/@types/composables/negative-values.d.ts +2 -2
- package/dist/@types/composables/negative-values.d.ts.map +1 -1
- package/dist/@types/composables/options.d.ts +1 -73
- package/dist/@types/composables/options.d.ts.map +1 -1
- package/dist/@types/composables/props.d.ts +3 -3
- package/dist/@types/composables/props.d.ts.map +1 -1
- package/dist/@types/composables/scales.d.ts +3 -3
- package/dist/@types/composables/scales.d.ts.map +1 -1
- package/dist/@types/composables/tooltip.d.ts +2 -2
- package/dist/@types/composables/tooltip.d.ts.map +1 -1
- package/dist/@types/index.d.ts +1 -0
- package/dist/@types/index.d.ts.map +1 -1
- package/dist/@types/types/alluvial.d.ts +1 -1
- package/dist/@types/types/alluvial.d.ts.map +1 -1
- package/dist/@types/types/events.d.ts +4 -4
- package/dist/@types/types/events.d.ts.map +1 -1
- package/dist/@types/types/index.d.ts +6 -0
- package/dist/@types/types/index.d.ts.map +1 -0
- package/dist/@types/types/options.d.ts +74 -0
- package/dist/@types/types/options.d.ts.map +1 -0
- package/dist/index.js +594 -591
- package/dist/index.js.map +1 -1
- package/dist/scss/main.scss +2 -2
- package/dist/styles/main.css +1 -1
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import { AxisOptions } from '@/composables/options';
|
|
3
2
|
import { Scale } from '@/composables/scales';
|
|
4
|
-
import {
|
|
3
|
+
import type { AxisOptions } from '@/types/options';
|
|
4
|
+
import type { ContainerSize } from '@/types/size';
|
|
5
5
|
export type AxisMixinFunction = (value?: string | number | SVGTextElement, index?: number) => Record<string, string | number>;
|
|
6
6
|
export type AxisMixin = (scale: Ref<Scale>, containerSize: Ref<ContainerSize>, options: Ref<AxisOptions>) => Record<string, AxisMixinFunction>;
|
|
7
7
|
export interface TickAttributes {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-axis/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-axis/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG,CAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,cAAc,EACxC,KAAK,CAAC,EAAE,MAAM,KACX,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG,CACtB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,EACjB,aAAa,EAAE,GAAG,CAAC,aAAa,CAAC,EACjC,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC,KACtB,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAEvC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrC,QAAQ,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;CACzC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Scale } from '@/composables/scales';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { ChartType, Data } from '@/types/dataset';
|
|
4
|
+
import type { ContainerSize } from '@/types/size';
|
|
5
|
+
import type { ChartOptions } from '@/types/options';
|
|
5
6
|
declare function handleInternalHover(index: number): void;
|
|
6
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
8
|
chartType: {
|
|
@@ -62,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
63
|
"link-mouseleave": (p: import("@/types/events").AlluvialLinkEventPayload) => void;
|
|
63
64
|
"bar-click": (p: import("@/types/events").InteractionEventPayload) => void;
|
|
64
65
|
rendered: () => void;
|
|
65
|
-
resize: (p:
|
|
66
|
+
resize: (p: ContainerSize) => void;
|
|
66
67
|
"hovered-index-changed": (p: import("@/types/events").HoverIndexChangedEventPayload) => void;
|
|
67
68
|
"update:hoveredIndex": (p: number) => void;
|
|
68
69
|
"data-changed": (p: import("@/types/events").DataChangedEventPayload<Data<import("@/types/dataset").DatasetValue<number>>>) => void;
|
|
@@ -128,7 +129,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
128
129
|
default: any;
|
|
129
130
|
};
|
|
130
131
|
}>> & {
|
|
131
|
-
onResize?: (p:
|
|
132
|
+
onResize?: (p: ContainerSize) => any;
|
|
132
133
|
"onTooltip-mouseenter"?: () => any;
|
|
133
134
|
"onTooltip-mouseleave"?: () => any;
|
|
134
135
|
"onAxis-click"?: (p: import("@/types/events").InteractionEventPayload) => any;
|
|
@@ -159,8 +160,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
159
160
|
"onTooltip-closed"?: () => any;
|
|
160
161
|
}, {
|
|
161
162
|
color: import("@/utils/constants").Colors | import("@/utils/constants").DivergentColors;
|
|
162
|
-
labels: string[];
|
|
163
163
|
title: string;
|
|
164
|
+
labels: string[];
|
|
164
165
|
hoveredIndex: number;
|
|
165
166
|
orientation?: import("@/utils/constants").Orientation;
|
|
166
167
|
options: ChartOptions;
|
|
@@ -222,7 +223,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
222
223
|
hoveredIndex: number;
|
|
223
224
|
handleMouseEnter: () => boolean;
|
|
224
225
|
handleMouseLeave: () => boolean;
|
|
225
|
-
options: import("@/
|
|
226
|
+
options: import("@/types/options").TooltipOptions;
|
|
226
227
|
opened: boolean;
|
|
227
228
|
targetElement: Element;
|
|
228
229
|
}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lume-chart.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart/lume-chart.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,QAAQ,EAMT,MAAM,KAAK,CAAC;AAYb,OAAO,EAAW,KAAK,EAAiB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"lume-chart.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart/lume-chart.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,QAAQ,EAMT,MAAM,KAAK,CAAC;AAYb,OAAO,EAAW,KAAK,EAAiB,MAAM,sBAAsB,CAAC;AAqBrE,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAiJpD,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,QAmBzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0zBD,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { InternalMargins } from '@/utils/constants';
|
|
3
|
-
import { ContainerSize } from '@/types/size';
|
|
3
|
+
import type { ContainerSize } from '@/types/size';
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
5
|
margins: {
|
|
6
6
|
type: PropType<InternalMargins>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lume-chart-container.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart-container/lume-chart-container.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,QAAQ,EAA4B,MAAM,KAAK,CAAC;AAGnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"lume-chart-container.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart-container/lume-chart-container.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,QAAQ,EAA4B,MAAM,KAAK,CAAC;AAGnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuPlD,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { InternalData } from '@/types/dataset';
|
|
3
|
-
import { LegendEventPayload } from '@/types/events';
|
|
2
|
+
import type { InternalData } from '@/types/dataset';
|
|
3
|
+
import type { LegendEventPayload } from '@/types/events';
|
|
4
4
|
import { dataValidator } from '@/utils/helpers';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lume-chart-legend.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart-legend/lume-chart-legend.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"lume-chart-legend.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart-legend/lume-chart-legend.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;AAkHhD,wBAaG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lume-tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-tooltip/lume-tooltip.vue.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"lume-tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-tooltip/lume-tooltip.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,QAAQ,EAMT,MAAM,KAAK,CAAC;AACb,OAAO,EAEL,SAAS,EAGV,MAAM,gBAAgB,CAAC;AASxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAMtD,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB;;;;;;;;;;;;;;;;;;;;;;;;2BAodsB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBApFC,GAAG;mBACL,GAAG;qBACD,GAAG;mBACL,GAAG;;AAlY/B,wBAmfI;AACJ,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AlluvialLabelMargins } from '@/types/alluvial';
|
|
2
|
-
import { ContainerSize } from '@/types/size';
|
|
1
|
+
import type { AlluvialLabelMargins } from '@/types/alluvial';
|
|
2
|
+
import type { ContainerSize } from '@/types/size';
|
|
3
3
|
export declare function useAlluvialExtents(containerSize: ContainerSize): {
|
|
4
4
|
extents: import("vue").Ref<{
|
|
5
5
|
x0: number;
|
package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-extents.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alluvial-extents.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-alluvial-group/composables/alluvial-extents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"alluvial-extents.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-alluvial-group/composables/alluvial-extents.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAmB,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAclD,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,aAAa;;;;;;;kCAGxB,oBAAoB;EAK1D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { AlluvialExtents, AlluvialNode, SankeyGraph, SankeyLinkProps, SankeyNode, SankeyNodeProps } from '@/types/alluvial';
|
|
3
|
+
import type { InternalData } from '@/types/dataset';
|
|
4
|
+
import type { AlluvialDiagramOptions } from '@/types/options';
|
|
5
5
|
export declare function useAlluvialGraph(data: Ref<InternalData<AlluvialNode>>, options: Ref<AlluvialDiagramOptions>, extents: Ref<AlluvialExtents>): {
|
|
6
6
|
columns: ComputedRef<SankeyNode<SankeyNodeProps, SankeyLinkProps>[][]>;
|
|
7
7
|
graph: ComputedRef<SankeyGraph<SankeyNodeProps, SankeyLinkProps>>;
|
package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-graph.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alluvial-graph.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-alluvial-group/composables/alluvial-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAO,GAAG,EAAS,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"alluvial-graph.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-alluvial-group/composables/alluvial-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAO,GAAG,EAAS,MAAM,KAAK,CAAC;AAQ7D,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAW9D,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,EACrC,OAAO,EAAE,GAAG,CAAC,sBAAsB,CAAC,EACpC,OAAO,EAAE,GAAG,CAAC,eAAe,CAAC;;;EAiI9B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { AlluvialDiagramOptions } from '@/
|
|
3
|
-
import { HighlightedElements, NodeBlock, SankeyGraph, SankeyLinkProps, SankeyNodeProps } from '@/types/alluvial';
|
|
2
|
+
import type { AlluvialDiagramOptions } from '@/types/options';
|
|
3
|
+
import type { HighlightedElements, NodeBlock, SankeyGraph, SankeyLinkProps, SankeyNodeProps } from '@/types/alluvial';
|
|
4
4
|
export declare function useAlluvialHover(nodeBlocks: Ref<Array<NodeBlock>>, options: Ref<AlluvialDiagramOptions>, graph: Ref<SankeyGraph<SankeyNodeProps, SankeyLinkProps>>): {
|
|
5
5
|
highlightedElements: import("vue").ComputedRef<HighlightedElements>;
|
|
6
6
|
hoveredElement: Ref<{
|
package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-hover.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alluvial-hover.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-alluvial-group/composables/alluvial-hover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAc,MAAM,KAAK,CAAC;AAGhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"alluvial-hover.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-alluvial-group/composables/alluvial-hover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAc,MAAM,KAAK,CAAC;AAGhD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAI9D,OAAO,KAAK,EAEV,mBAAmB,EACnB,SAAS,EACT,WAAW,EAEX,eAAe,EACf,eAAe,EAChB,MAAM,kBAAkB,CAAC;AA8G1B,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,EACjC,OAAO,EAAE,GAAG,CAAC,sBAAsB,CAAC,EACpC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8D1D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SankeyNode } from 'd3-sankey';
|
|
2
|
-
import { LinkPath, NodeBlock, SankeyGraph, SankeyLink, SankeyLinkProps, SankeyNodeProps } from '@/types/alluvial';
|
|
2
|
+
import type { LinkPath, NodeBlock, SankeyGraph, SankeyLink, SankeyLinkProps, SankeyNodeProps } from '@/types/alluvial';
|
|
3
3
|
/**
|
|
4
4
|
* Gets the ID of an alluvial node.
|
|
5
5
|
* @param node An alluvial node.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/groups/lume-alluvial-group/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,UAAU,EAAE,MAAM,WAAW,CAAC;AAO7D,OAAO,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/groups/lume-alluvial-group/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,UAAU,EAAE,MAAM,WAAW,CAAC;AAO7D,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,WAAW,EACX,UAAU,EACV,eAAe,EACf,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAI1B;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,eAAe,EAAE,eAAe,CAAC,GACnE,MAAM,GAAG,MAAM,CAGjB;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,WAAW,gDAElE;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,gDAEzD;AAED,wBAAgB,YAAY,CAC1B,OAAO,EAAE,UAAU,CAAC,eAAe,EAAE,OAAO,CAAC,GAAG,UAAU,GACzD,OAAO,IAAI,UAAU,CAAC,eAAe,EAAE,OAAO,CAAC,CAKjD;AAED,wBAAgB,aAAa,CAC3B,KAAK,EAAE,WAAW,CAAC,eAAe,EAAE,eAAe,CAAC,EACpD,gBAAgB,EAAE,KAAK,CAAC,cAAc,CAAC;;;;;EA8BxC;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC,GACzD,KAAK,CAAC,SAAS,CAAC,CAkBlB;AAiBD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,GACvB,KAAK,CAAC,QAAQ,CAAC,CAWjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CACxB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,OAAO,EACxB,KAAK,CAAC,EAAE,IAAI,QA6Bb"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AlluvialDiagramOptions } from '@/composables/options';
|
|
3
2
|
import { Color } from '@/utils/constants';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import type { AlluvialDiagramOptions } from '@/types/options';
|
|
4
|
+
import type { AlluvialNode } from '@/types/alluvial';
|
|
5
|
+
import type { AlluvialLinkEventPayload, AlluvialNodeEventPayload } from '@/types/events';
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
7
|
hoveredElementId: {
|
|
8
8
|
type: PropType<string | number>;
|
|
9
9
|
default: any;
|
|
10
10
|
};
|
|
11
11
|
data: {
|
|
12
|
-
type: PropType<import("
|
|
12
|
+
type: PropType<import("../../..").InternalData<AlluvialNode>>;
|
|
13
13
|
required: boolean;
|
|
14
14
|
};
|
|
15
15
|
labels: {
|
|
@@ -38,7 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
40
|
containerSize: {
|
|
41
|
-
type: PropType<import("
|
|
41
|
+
type: PropType<import("../../..").ContainerSize>;
|
|
42
42
|
default: () => {
|
|
43
43
|
width: number;
|
|
44
44
|
height: number;
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
65
65
|
default: any;
|
|
66
66
|
};
|
|
67
67
|
data: {
|
|
68
|
-
type: PropType<import("
|
|
68
|
+
type: PropType<import("../../..").InternalData<AlluvialNode>>;
|
|
69
69
|
required: boolean;
|
|
70
70
|
};
|
|
71
71
|
labels: {
|
|
@@ -94,7 +94,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
94
94
|
default: number;
|
|
95
95
|
};
|
|
96
96
|
containerSize: {
|
|
97
|
-
type: PropType<import("
|
|
97
|
+
type: PropType<import("../../..").ContainerSize>;
|
|
98
98
|
default: () => {
|
|
99
99
|
width: number;
|
|
100
100
|
height: number;
|
|
@@ -117,7 +117,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
117
117
|
"onLink-mouseleave"?: (p: AlluvialLinkEventPayload) => any;
|
|
118
118
|
}, {
|
|
119
119
|
labels: (string | number)[];
|
|
120
|
-
containerSize: import("
|
|
120
|
+
containerSize: import("../../..").ContainerSize;
|
|
121
121
|
hoveredIndex: number;
|
|
122
122
|
orientation: import("@/utils/constants").Orientation;
|
|
123
123
|
options: AlluvialDiagramOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lume-alluvial-group.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/groups/lume-alluvial-group/lume-alluvial-group.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,QAAQ,EAAsB,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"lume-alluvial-group.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/groups/lume-alluvial-group/lume-alluvial-group.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,QAAQ,EAAsB,MAAM,KAAK,CAAC;AAcrE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAe1C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2rBxB,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef, PropType, Ref } from 'vue';
|
|
2
2
|
import { Scale } from '@/composables/scales';
|
|
3
3
|
import { Orientation } from '@/utils/constants';
|
|
4
|
-
import { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
4
|
+
import type { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
5
5
|
declare function typeValidator(type: string): boolean;
|
|
6
6
|
export declare function orientationValidator(orientation: string): boolean;
|
|
7
7
|
export declare const withBarProps: (useOrientation?: boolean) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/bar-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG3D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAGL,WAAW,EAEZ,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"bar-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/bar-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG3D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAGL,WAAW,EAEZ,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAExE,iBAAS,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE5C;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAEjE;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;CAevB,CAAC;AAEH,wBAAgB,WAAW,CACzB,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,EACvB,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;EAgCpC;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,UAEzE;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,WAAW,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC;;;EAyC/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { Scale } from '@/composables/scales';
|
|
3
3
|
import { Orientation } from '@/utils/constants';
|
|
4
|
-
import { Data, DatasetValueObject } from '@/types/dataset';
|
|
4
|
+
import type { Data, DatasetValueObject } from '@/types/dataset';
|
|
5
5
|
export declare function useGroupedBarMixin(data: ComputedRef<Data<DatasetValueObject<number>>>, xScale: Ref<Scale>, yScale: Ref<Scale>, orientation: Ref<Orientation>, hoveredIndex: Ref<number>, classList: Array<string>): {
|
|
6
6
|
barAttributeGenerator: (barValue: DatasetValueObject, index: number, groupIndex: number) => {
|
|
7
7
|
x: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouped-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/grouped-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAGjD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAU,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"grouped-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/grouped-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAGjD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAU,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAShE,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EACnD,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,EAC7B,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;sCA6DZ,kBAAkB,SACrB,MAAM,cACD,MAAM;;;;;;;;;;;;;;EAyBrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { Scale } from '@/composables/scales';
|
|
3
3
|
import { Orientation } from '@/utils/constants';
|
|
4
|
-
import { Data, DatasetValueObject } from '@/types/dataset';
|
|
4
|
+
import type { Data, DatasetValueObject } from '@/types/dataset';
|
|
5
5
|
export declare function useSingleBarMixin(data: ComputedRef<Data<DatasetValueObject<number>>>, xScale: Ref<Scale>, yScale: Ref<Scale>, orientation: Ref<Orientation>, hoveredIndex: Ref<number>, classList: Array<string>): {
|
|
6
6
|
barAttributeGenerator: (barValue: DatasetValueObject, index: number, groupIndex: number) => {
|
|
7
7
|
x: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/single-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAGjD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"single-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/single-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAGjD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAShE,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EACnD,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,EAC7B,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;sCAuCZ,kBAAkB,SACrB,MAAM,cACD,MAAM;;;;;;;;;;;;;;EAuBrB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { BarChartOptions } from '@/composables/options';
|
|
3
2
|
import { Scale } from '@/composables/scales';
|
|
4
3
|
import { Orientation } from '@/utils/constants';
|
|
5
|
-
import { Data, DatasetValueObject } from '@/types/dataset';
|
|
6
|
-
import {
|
|
4
|
+
import type { Data, DatasetValueObject } from '@/types/dataset';
|
|
5
|
+
import type { BarChartOptions } from '@/types/options';
|
|
6
|
+
import type { ContainerSize } from '@/types/size';
|
|
7
7
|
export declare function useStackedAxes(groupedData: ComputedRef<DatasetValueObject[][]>, orientation: Ref<Orientation>, options: Ref<BarChartOptions>): {
|
|
8
8
|
stackedXScaleGenerator: (_data: Data<import("@/types/dataset").DatasetValue<number>>, labels: Array<string>, size: ContainerSize) => Scale;
|
|
9
9
|
stackedYScaleGenerator: (_data: Data<import("@/types/dataset").DatasetValue<number>>, labels: Array<string>, size: ContainerSize) => Scale;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stacked-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/stacked-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAGjD,OAAO,
|
|
1
|
+
{"version":3,"file":"stacked-mixin.d.ts","sourceRoot":"","sources":["../../../../../../../lib/src/components/groups/lume-bar-group/composables/stacked-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAGjD,OAAO,EAAkB,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAU,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,wBAAgB,cAAc,CAC5B,WAAW,EAAE,WAAW,CAAC,kBAAkB,EAAE,EAAE,CAAC,EAChD,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,EAC7B,OAAO,EAAE,GAAG,CAAC,eAAe,CAAC;kGAiCnB,MAAM,MAAM,CAAC,QACf,aAAa,KAClB,KAAK;kGAoBE,MAAM,MAAM,CAAC,QACf,aAAa,KAClB,KAAK;EAmBT;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EACnD,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,EAClB,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,EAC7B,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;sCAyEZ,kBAAkB,SACrB,MAAM,cACD,MAAM;;;;;;;;;EA2BrB"}
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
default: () => any[];
|
|
20
20
|
};
|
|
21
21
|
data: {
|
|
22
|
-
type: PropType<import("
|
|
22
|
+
type: PropType<import("../../..").InternalData<import("../../..").DatasetValueObject<number>>>;
|
|
23
23
|
required: boolean;
|
|
24
24
|
};
|
|
25
25
|
labels: {
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
default: () => any[];
|
|
28
28
|
};
|
|
29
29
|
options: {
|
|
30
|
-
type: PropType<import("
|
|
30
|
+
type: PropType<import("../../..").Options>;
|
|
31
31
|
default: () => {};
|
|
32
32
|
};
|
|
33
33
|
xScale: {
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
default: number;
|
|
44
44
|
};
|
|
45
45
|
containerSize: {
|
|
46
|
-
type: PropType<import("
|
|
46
|
+
type: PropType<import("../../..").ContainerSize>;
|
|
47
47
|
default: () => {
|
|
48
48
|
width: number;
|
|
49
49
|
height: number;
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
default: () => any[];
|
|
77
77
|
};
|
|
78
78
|
data: {
|
|
79
|
-
type: PropType<import("
|
|
79
|
+
type: PropType<import("../../..").InternalData<import("../../..").DatasetValueObject<number>>>;
|
|
80
80
|
required: boolean;
|
|
81
81
|
};
|
|
82
82
|
labels: {
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
default: () => any[];
|
|
85
85
|
};
|
|
86
86
|
options: {
|
|
87
|
-
type: PropType<import("
|
|
87
|
+
type: PropType<import("../../..").Options>;
|
|
88
88
|
default: () => {};
|
|
89
89
|
};
|
|
90
90
|
xScale: {
|
|
@@ -100,7 +100,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
default: number;
|
|
101
101
|
};
|
|
102
102
|
containerSize: {
|
|
103
|
-
type: PropType<import("
|
|
103
|
+
type: PropType<import("../../..").ContainerSize>;
|
|
104
104
|
default: () => {
|
|
105
105
|
width: number;
|
|
106
106
|
height: number;
|
|
@@ -116,10 +116,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
116
|
}, {
|
|
117
117
|
type: string;
|
|
118
118
|
labels: (string | number)[];
|
|
119
|
-
containerSize: import("
|
|
119
|
+
containerSize: import("../../..").ContainerSize;
|
|
120
120
|
hoveredIndex: number;
|
|
121
121
|
orientation: import("@/utils/constants").Orientation;
|
|
122
|
-
options: import("
|
|
122
|
+
options: import("../../..").Options;
|
|
123
123
|
transition: boolean;
|
|
124
124
|
classList: string | string[];
|
|
125
125
|
xScale: import("../../../composables").Scale;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LineChartOptions } from '@/
|
|
1
|
+
import type { LineChartOptions } from '@/types/options';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
withPoints: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
data: {
|
|
12
|
-
type: import("vue").PropType<import("
|
|
12
|
+
type: import("vue").PropType<import("../../..").InternalData<import("../../..").DatasetValueObject<number>>>;
|
|
13
13
|
required: boolean;
|
|
14
14
|
};
|
|
15
15
|
labels: {
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
40
|
containerSize: {
|
|
41
|
-
type: import("vue").PropType<import("
|
|
41
|
+
type: import("vue").PropType<import("../../..").ContainerSize>;
|
|
42
42
|
default: () => {
|
|
43
43
|
width: number;
|
|
44
44
|
height: number;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
72
|
data: {
|
|
73
|
-
type: import("vue").PropType<import("
|
|
73
|
+
type: import("vue").PropType<import("../../..").InternalData<import("../../..").DatasetValueObject<number>>>;
|
|
74
74
|
required: boolean;
|
|
75
75
|
};
|
|
76
76
|
labels: {
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
99
|
default: number;
|
|
100
100
|
};
|
|
101
101
|
containerSize: {
|
|
102
|
-
type: import("vue").PropType<import("
|
|
102
|
+
type: import("vue").PropType<import("../../..").ContainerSize>;
|
|
103
103
|
default: () => {
|
|
104
104
|
width: number;
|
|
105
105
|
height: number;
|
|
@@ -122,9 +122,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
event: MouseEvent;
|
|
123
123
|
}) => any;
|
|
124
124
|
}, {
|
|
125
|
-
labels: (string | number)[];
|
|
126
125
|
withPoints: boolean;
|
|
127
|
-
|
|
126
|
+
labels: (string | number)[];
|
|
127
|
+
containerSize: import("../../..").ContainerSize;
|
|
128
128
|
hoveredIndex: number;
|
|
129
129
|
orientation: import("../../../utils/constants").Orientation;
|
|
130
130
|
options: LineChartOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lume-line-group.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/groups/lume-line-group/lume-line-group.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lume-line-group.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/groups/lume-line-group/lume-line-group.vue.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsBxC,MAAM;sBAAgB,MAAM;eAAS,UAAU;;;eAA/C,MAAM;sBAAgB,MAAM;eAAS,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAA/C,MAAM;sBAAgB,MAAM;eAAS,UAAU;;;eAA/C,MAAM;sBAAgB,MAAM;eAAS,UAAU;;;;;;;;;;;;;;AAjB/D,wBAoTI"}
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
default: Orientation;
|
|
7
7
|
};
|
|
8
8
|
data: {
|
|
9
|
-
type: PropType<import("
|
|
9
|
+
type: PropType<import("../../..").InternalData<import("../../..").DatasetValueObject<number>>>;
|
|
10
10
|
required: boolean;
|
|
11
11
|
};
|
|
12
12
|
labels: {
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
default: () => any[];
|
|
15
15
|
};
|
|
16
16
|
options: {
|
|
17
|
-
type: PropType<import("
|
|
17
|
+
type: PropType<import("../../..").Options>;
|
|
18
18
|
default: () => {};
|
|
19
19
|
};
|
|
20
20
|
xScale: {
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: number;
|
|
31
31
|
};
|
|
32
32
|
containerSize: {
|
|
33
|
-
type: PropType<import("
|
|
33
|
+
type: PropType<import("../../..").ContainerSize>;
|
|
34
34
|
default: () => {
|
|
35
35
|
width: number;
|
|
36
36
|
height: number;
|
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
default: Orientation;
|
|
58
58
|
};
|
|
59
59
|
data: {
|
|
60
|
-
type: PropType<import("
|
|
60
|
+
type: PropType<import("../../..").InternalData<import("../../..").DatasetValueObject<number>>>;
|
|
61
61
|
required: boolean;
|
|
62
62
|
};
|
|
63
63
|
labels: {
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
default: () => any[];
|
|
66
66
|
};
|
|
67
67
|
options: {
|
|
68
|
-
type: PropType<import("
|
|
68
|
+
type: PropType<import("../../..").Options>;
|
|
69
69
|
default: () => {};
|
|
70
70
|
};
|
|
71
71
|
xScale: {
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
default: number;
|
|
82
82
|
};
|
|
83
83
|
containerSize: {
|
|
84
|
-
type: PropType<import("
|
|
84
|
+
type: PropType<import("../../..").ContainerSize>;
|
|
85
85
|
default: () => {
|
|
86
86
|
width: number;
|
|
87
87
|
height: number;
|
|
@@ -104,10 +104,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
"onLume__internal--hover"?: (p: number) => any;
|
|
105
105
|
}, {
|
|
106
106
|
labels: (string | number)[];
|
|
107
|
-
containerSize: import("
|
|
107
|
+
containerSize: import("../../..").ContainerSize;
|
|
108
108
|
hoveredIndex: number;
|
|
109
109
|
orientation: Orientation;
|
|
110
|
-
options: import("
|
|
110
|
+
options: import("../../..").Options;
|
|
111
111
|
transition: boolean;
|
|
112
112
|
classList: string | string[];
|
|
113
113
|
xScale: import("../../../composables").Scale;
|
|
@@ -6,6 +6,7 @@ export { default as LumeStackedBarChart } from './charts/lume-stacked-bar-chart/
|
|
|
6
6
|
export { default as LumeLineChart } from './charts/lume-line-chart/lume-line-chart.vue';
|
|
7
7
|
export { default as LumeSparklineChart } from './charts/lume-sparkline-chart/lume-sparkline-chart.vue';
|
|
8
8
|
export { default as LumeAxis } from './core/lume-axis/lume-axis.vue';
|
|
9
|
+
export * from './core/lume-axis/types';
|
|
9
10
|
export { default as LumeChart } from './core/lume-chart/lume-chart.vue';
|
|
10
11
|
export { default as LumeChartContainer } from './core/lume-chart-container/lume-chart-container.vue';
|
|
11
12
|
export { default as LumeChartLegend } from './core/lume-chart-legend/lume-chart-legend.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/src/components/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAE1G,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0DAA0D,CAAC;AACzG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAC5G,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAE5G,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAExF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAIvG,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAE5F,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,wEAAwE,CAAC;AACpH,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8EAA8E,CAAC;AAC7H,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0EAA0E,CAAC;AAEvH,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+FAA+F,CAAC;AACjJ,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+FAA+F,CAAC;AACjJ,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,iGAAiG,CAAC;AAEpJ,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oDAAoD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/src/components/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAE1G,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0DAA0D,CAAC;AACzG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAC5G,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAE5G,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAExF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAIvG,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAE5F,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,wEAAwE,CAAC;AACpH,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8EAA8E,CAAC;AAC7H,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0EAA0E,CAAC;AAEvH,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+FAA+F,CAAC;AACjJ,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+FAA+F,CAAC;AACjJ,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,iGAAiG,CAAC;AAEpJ,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oDAAoD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComputedRef, PropType, Ref } from 'vue';
|
|
2
2
|
import { Colors, DivergentColors, Orientation } from '@/utils/constants';
|
|
3
|
-
import { Data, DatasetValue, DatasetValueObject, InternalData } from '@/types/dataset';
|
|
4
|
-
import { ContainerSize } from '@/types/size';
|
|
5
|
-
import { Options } from '
|
|
3
|
+
import type { Data, DatasetValue, DatasetValueObject, InternalData } from '@/types/dataset';
|
|
4
|
+
import type { ContainerSize } from '@/types/size';
|
|
5
|
+
import type { Options } from '@/types/options';
|
|
6
6
|
export type DataValidator = (value: Data) => boolean;
|
|
7
7
|
export declare const withBase: (dataValidator?: DataValidator) => {
|
|
8
8
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../lib/src/composables/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,QAAQ,EAAY,GAAG,EAAE,MAAM,KAAK,CAAC;AAErE,OAAO,EAEL,MAAM,EACN,eAAe,EACf,WAAW,EAEZ,MAAM,mBAAmB,CAAC;AAS3B,OAAO,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../lib/src/composables/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,QAAQ,EAAY,GAAG,EAAE,MAAM,KAAK,CAAC;AAErE,OAAO,EAEL,MAAM,EACN,eAAe,EACf,WAAW,EAEZ,MAAM,mBAAmB,CAAC;AAS3B,OAAO,KAAK,EAEV,IAAI,EAEJ,YAAY,EACZ,kBAAkB,EAClB,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAmB/C,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK,OAAO,CAAC;AAErD,eAAO,MAAM,QAAQ,mBAAmB,aAAa;;;;;;;;;;;;;;;;;;CAkBnD,CAAC;AAEH,wBAAgB,OAAO,CACrB,IAAI,CAAC,EAAE,GAAG,CAAC,IAAI,GAAG,YAAY,CAAC,EAC/B,MAAM,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAC3B,KAAK,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,eAAe,CAAC,EACrC,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,EACtB,WAAW,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC;;;;;;;;uBA2CJ,aAAa;EAmBxC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Options } from '@/composables/options';
|
|
3
2
|
import { orientationValidator } from '@/composables/props';
|
|
4
3
|
import { Scale } from '@/composables/scales';
|
|
5
4
|
import { Orientation } from '@/utils/constants';
|
|
6
|
-
import { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
7
|
-
import { ContainerSize } from '@/types/size';
|
|
5
|
+
import type { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
6
|
+
import type { ContainerSize } from '@/types/size';
|
|
7
|
+
import type { Options } from '@/types/options';
|
|
8
8
|
export declare const withGroupProps: <T extends Options = Options, K extends DatasetValueObject<number> = DatasetValueObject<number>>() => {
|
|
9
9
|
data: {
|
|
10
10
|
type: PropType<InternalData<K>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-props.d.ts","sourceRoot":"","sources":["../../../../lib/src/composables/group-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"group-props.d.ts","sourceRoot":"","sources":["../../../../lib/src/composables/group-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CvB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
2
|
+
import type { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
3
3
|
export declare function useLineNullValues(data: Ref<InternalData>): {
|
|
4
4
|
computedLineData: import("vue").ComputedRef<{
|
|
5
5
|
isDashed: (index: number) => boolean;
|