@adyen/lume 0.1.2 → 0.1.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/README.md +3 -2
- package/dist/common/43767e44.js +9 -0
- package/dist/common/43767e44.js.map +1 -0
- package/dist/common/c2033638.js +9 -0
- package/dist/common/c2033638.js.map +1 -0
- package/dist/common/cf54f0b6.js +2959 -0
- package/dist/common/cf54f0b6.js.map +1 -0
- package/dist/common/ec8ca41a.js +9 -0
- package/dist/common/ec8ca41a.js.map +1 -0
- package/dist/index.js +27 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin.js +43 -0
- package/dist/plugin.js.map +1 -0
- package/dist/scss/_titles.scss +2 -15
- package/dist/scss/{mixins/_typography.scss → _typography.scss} +9 -5
- package/dist/scss/components/lume-alluvial-group.scss +46 -0
- package/dist/scss/components/lume-alluvial-path-group.scss +31 -0
- package/dist/scss/components/lume-axis.scss +36 -0
- package/dist/scss/components/lume-bar.scss +27 -0
- package/dist/scss/components/lume-chart-container.scss +35 -0
- package/dist/scss/components/lume-chart-legend.scss +28 -0
- package/dist/scss/components/lume-chart.scss +38 -0
- package/dist/scss/components/lume-line-group.scss +11 -0
- package/dist/scss/components/lume-line.scss +34 -0
- package/dist/scss/components/lume-point.scss +9 -0
- package/dist/scss/components/lume-sparkline-chart.scss +10 -0
- package/dist/scss/components/lume-tooltip.scss +80 -0
- package/dist/scss/main.scss +16 -0
- package/dist/scss/variables/_colors.scss +4 -0
- package/dist/styles/font.css +1 -3
- package/dist/styles/main.css +3 -3
- package/package.json +31 -26
- package/dist/assets/fonts/inter-500.woff +0 -0
- package/dist/assets/fonts/inter-500.woff2 +0 -0
- package/dist/assets/fonts/inter-600.woff +0 -0
- package/dist/assets/fonts/inter-600.woff2 +0 -0
- package/dist/assets/fonts/inter-700.woff +0 -0
- package/dist/assets/fonts/inter-700.woff2 +0 -0
- package/dist/assets/fonts/inter-regular.woff +0 -0
- package/dist/assets/fonts/inter-regular.woff2 +0 -0
- package/dist/scss/font.scss +0 -37
- package/dist/scss/mixins/_base.scss +0 -7
- package/dist/styles/font.css.map +0 -1
- package/dist/styles/font.js +0 -0
- package/dist/styles/main.css.map +0 -1
- package/dist/styles/main.js +0 -0
- package/dist/types/components/charts/index.d.ts +0 -8
- package/dist/types/components/charts/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-alluvial-diagram/defaults.d.ts +0 -13
- package/dist/types/components/charts/lume-alluvial-diagram/defaults.d.ts.map +0 -1
- package/dist/types/components/charts/lume-alluvial-diagram/index.d.ts +0 -2
- package/dist/types/components/charts/lume-alluvial-diagram/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts +0 -109
- package/dist/types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts.map +0 -1
- package/dist/types/components/charts/lume-bar-chart/index.d.ts +0 -2
- package/dist/types/components/charts/lume-bar-chart/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts +0 -120
- package/dist/types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts.map +0 -1
- package/dist/types/components/charts/lume-grouped-bar-chart/defaults.d.ts +0 -28
- package/dist/types/components/charts/lume-grouped-bar-chart/defaults.d.ts.map +0 -1
- package/dist/types/components/charts/lume-grouped-bar-chart/index.d.ts +0 -2
- package/dist/types/components/charts/lume-grouped-bar-chart/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts +0 -94
- package/dist/types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts.map +0 -1
- package/dist/types/components/charts/lume-line-chart/defaults.d.ts +0 -3
- package/dist/types/components/charts/lume-line-chart/defaults.d.ts.map +0 -1
- package/dist/types/components/charts/lume-line-chart/index.d.ts +0 -2
- package/dist/types/components/charts/lume-line-chart/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts +0 -93
- package/dist/types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts.map +0 -1
- package/dist/types/components/charts/lume-single-bar-chart/defaults.d.ts +0 -24
- package/dist/types/components/charts/lume-single-bar-chart/defaults.d.ts.map +0 -1
- package/dist/types/components/charts/lume-single-bar-chart/index.d.ts +0 -2
- package/dist/types/components/charts/lume-single-bar-chart/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts +0 -94
- package/dist/types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts.map +0 -1
- package/dist/types/components/charts/lume-sparkline-chart/composables/sparkline-area.d.ts +0 -7
- package/dist/types/components/charts/lume-sparkline-chart/composables/sparkline-area.d.ts.map +0 -1
- package/dist/types/components/charts/lume-sparkline-chart/defaults.d.ts +0 -3
- package/dist/types/components/charts/lume-sparkline-chart/defaults.d.ts.map +0 -1
- package/dist/types/components/charts/lume-sparkline-chart/index.d.ts +0 -2
- package/dist/types/components/charts/lume-sparkline-chart/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts +0 -56
- package/dist/types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts.map +0 -1
- package/dist/types/components/charts/lume-stacked-bar-chart/defaults.d.ts +0 -28
- package/dist/types/components/charts/lume-stacked-bar-chart/defaults.d.ts.map +0 -1
- package/dist/types/components/charts/lume-stacked-bar-chart/index.d.ts +0 -2
- package/dist/types/components/charts/lume-stacked-bar-chart/index.d.ts.map +0 -1
- package/dist/types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts +0 -96
- package/dist/types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts.map +0 -1
- package/dist/types/components/core/index.d.ts +0 -9
- package/dist/types/components/core/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/composables/index.d.ts +0 -8
- package/dist/types/components/core/lume-axis/composables/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/composables/lume-skip.d.ts +0 -13
- package/dist/types/components/core/lume-axis/composables/lume-skip.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/composables/x-band-scale-axis.d.ts +0 -4
- package/dist/types/components/core/lume-axis/composables/x-band-scale-axis.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/composables/x-linear-scale-axis.d.ts +0 -4
- package/dist/types/components/core/lume-axis/composables/x-linear-scale-axis.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/composables/y-band-scale-axis.d.ts +0 -4
- package/dist/types/components/core/lume-axis/composables/y-band-scale-axis.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/composables/y-linear-scale-axis.d.ts +0 -4
- package/dist/types/components/core/lume-axis/composables/y-linear-scale-axis.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/defaults.d.ts +0 -4
- package/dist/types/components/core/lume-axis/defaults.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/index.d.ts +0 -2
- package/dist/types/components/core/lume-axis/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/lume-axis.vue.d.ts +0 -87
- package/dist/types/components/core/lume-axis/lume-axis.vue.d.ts.map +0 -1
- package/dist/types/components/core/lume-axis/types.d.ts +0 -7
- package/dist/types/components/core/lume-axis/types.d.ts.map +0 -1
- package/dist/types/components/core/lume-bar/composables/bar-sizing.d.ts +0 -20
- package/dist/types/components/core/lume-bar/composables/bar-sizing.d.ts.map +0 -1
- package/dist/types/components/core/lume-bar/composables/bar-transition.d.ts +0 -7
- package/dist/types/components/core/lume-bar/composables/bar-transition.d.ts.map +0 -1
- package/dist/types/components/core/lume-bar/index.d.ts +0 -2
- package/dist/types/components/core/lume-bar/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-bar/lume-bar.vue.d.ts +0 -88
- package/dist/types/components/core/lume-bar/lume-bar.vue.d.ts.map +0 -1
- package/dist/types/components/core/lume-chart/index.d.ts +0 -2
- package/dist/types/components/core/lume-chart/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-chart-container/index.d.ts +0 -2
- package/dist/types/components/core/lume-chart-container/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-chart-container/lume-chart-container.vue.d.ts +0 -56
- package/dist/types/components/core/lume-chart-container/lume-chart-container.vue.d.ts.map +0 -1
- package/dist/types/components/core/lume-chart-legend/index.d.ts +0 -2
- package/dist/types/components/core/lume-chart-legend/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-chart-legend/lume-chart-legend.vue.d.ts +0 -17
- package/dist/types/components/core/lume-chart-legend/lume-chart-legend.vue.d.ts.map +0 -1
- package/dist/types/components/core/lume-line/index.d.ts +0 -2
- package/dist/types/components/core/lume-line/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-line/lume-line.vue.d.ts +0 -72
- package/dist/types/components/core/lume-line/lume-line.vue.d.ts.map +0 -1
- package/dist/types/components/core/lume-point/index.d.ts +0 -2
- package/dist/types/components/core/lume-point/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-point/lume-point.vue.d.ts +0 -71
- package/dist/types/components/core/lume-point/lume-point.vue.d.ts.map +0 -1
- package/dist/types/components/core/lume-tooltip/index.d.ts +0 -2
- package/dist/types/components/core/lume-tooltip/index.d.ts.map +0 -1
- package/dist/types/components/core/lume-tooltip/lume-tooltip.vue.d.ts +0 -86
- package/dist/types/components/core/lume-tooltip/lume-tooltip.vue.d.ts.map +0 -1
- package/dist/types/components/groups/composables/group-props.d.ts +0 -27
- package/dist/types/components/groups/composables/group-props.d.ts.map +0 -1
- package/dist/types/components/groups/index.d.ts +0 -5
- package/dist/types/components/groups/index.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-building-blocks.d.ts +0 -55
- package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-building-blocks.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-coordinates.d.ts +0 -10
- package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-coordinates.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-interactions.d.ts +0 -24
- package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-interactions.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-group/constants.d.ts +0 -3
- package/dist/types/components/groups/lume-alluvial-group/constants.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-group/index.d.ts +0 -2
- package/dist/types/components/groups/lume-alluvial-group/index.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts +0 -143
- package/dist/types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-path-group/index.d.ts +0 -2
- package/dist/types/components/groups/lume-alluvial-path-group/index.d.ts.map +0 -1
- package/dist/types/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.d.ts +0 -53
- package/dist/types/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/composables/bar-mixin.d.ts +0 -30
- package/dist/types/components/groups/lume-bar-group/composables/bar-mixin.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts +0 -16
- package/dist/types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/composables/single-mixin.d.ts +0 -16
- package/dist/types/components/groups/lume-bar-group/composables/single-mixin.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts +0 -22
- package/dist/types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/constants.d.ts +0 -2
- package/dist/types/components/groups/lume-bar-group/constants.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/index.d.ts +0 -2
- package/dist/types/components/groups/lume-bar-group/index.d.ts.map +0 -1
- package/dist/types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts +0 -95
- package/dist/types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts.map +0 -1
- package/dist/types/components/groups/lume-line-group/index.d.ts +0 -2
- package/dist/types/components/groups/lume-line-group/index.d.ts.map +0 -1
- package/dist/types/components/groups/lume-line-group/lume-line-group.vue.d.ts +0 -75
- package/dist/types/components/groups/lume-line-group/lume-line-group.vue.d.ts.map +0 -1
- package/dist/types/components/groups/lume-overlay-group/index.d.ts +0 -2
- package/dist/types/components/groups/lume-overlay-group/index.d.ts.map +0 -1
- package/dist/types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts +0 -67
- package/dist/types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -20
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/composables/base.d.ts +0 -31
- package/dist/types/composables/base.d.ts.map +0 -1
- package/dist/types/composables/line-null-values.d.ts +0 -15
- package/dist/types/composables/line-null-values.d.ts.map +0 -1
- package/dist/types/composables/negative-values.d.ts +0 -16
- package/dist/types/composables/negative-values.d.ts.map +0 -1
- package/dist/types/composables/options.d.ts +0 -53
- package/dist/types/composables/options.d.ts.map +0 -1
- package/dist/types/composables/props.d.ts +0 -47
- package/dist/types/composables/props.d.ts.map +0 -1
- package/dist/types/composables/resize.d.ts +0 -17
- package/dist/types/composables/resize.d.ts.map +0 -1
- package/dist/types/composables/scales.d.ts +0 -51
- package/dist/types/composables/scales.d.ts.map +0 -1
- package/dist/types/composables/tooltip.d.ts +0 -29
- package/dist/types/composables/tooltip.d.ts.map +0 -1
- package/dist/types/constants.d.ts +0 -47
- package/dist/types/constants.d.ts.map +0 -1
- package/dist/types/docs/storybook-data/alluvial-data.d.ts +0 -38
- package/dist/types/docs/storybook-data/alluvial-data.d.ts.map +0 -1
- package/dist/types/docs/storybook-data/base-data.d.ts +0 -39
- package/dist/types/docs/storybook-data/base-data.d.ts.map +0 -1
- package/dist/types/docs/storybook-data/sparkline-data.d.ts +0 -24
- package/dist/types/docs/storybook-data/sparkline-data.d.ts.map +0 -1
- package/dist/types/docs/storybook-helpers.d.ts +0 -35
- package/dist/types/docs/storybook-helpers.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types/alluvial.d.ts +0 -72
- package/dist/types/types/alluvial.d.ts.map +0 -1
- package/dist/types/types/dataset.d.ts +0 -32
- package/dist/types/types/dataset.d.ts.map +0 -1
- package/dist/types/types/size.d.ts +0 -7
- package/dist/types/types/size.d.ts.map +0 -1
- package/dist/types/utils/colors.d.ts +0 -5
- package/dist/types/utils/colors.d.ts.map +0 -1
- package/dist/types/utils/helpers.d.ts +0 -98
- package/dist/types/utils/helpers.d.ts.map +0 -1
- package/dist/types/utils/svg-check.d.ts +0 -7
- package/dist/types/utils/svg-check.d.ts.map +0 -1
- package/dist/types/utils/warnings.d.ts +0 -7
- package/dist/types/utils/warnings.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/lume-point/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Scale } from '@/composables/scales';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
color: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
radius: {
|
|
9
|
-
type: NumberConstructor;
|
|
10
|
-
default: number;
|
|
11
|
-
};
|
|
12
|
-
value: {
|
|
13
|
-
type: NumberConstructor;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
index: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
active: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
xScale: {
|
|
25
|
-
type: PropType<Scale>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
yScale: {
|
|
29
|
-
type: PropType<Scale>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
}, {
|
|
33
|
-
cx: import("vue").ComputedRef<number>;
|
|
34
|
-
cy: import("vue").ComputedRef<number>;
|
|
35
|
-
root: import("vue").Ref<SVGCircleElement>;
|
|
36
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
color: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
radius: {
|
|
42
|
-
type: NumberConstructor;
|
|
43
|
-
default: number;
|
|
44
|
-
};
|
|
45
|
-
value: {
|
|
46
|
-
type: NumberConstructor;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
index: {
|
|
50
|
-
type: NumberConstructor;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
active: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
xScale: {
|
|
58
|
-
type: PropType<Scale>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
yScale: {
|
|
62
|
-
type: PropType<Scale>;
|
|
63
|
-
required: true;
|
|
64
|
-
};
|
|
65
|
-
}>>, {
|
|
66
|
-
color: string;
|
|
67
|
-
radius: number;
|
|
68
|
-
active: boolean;
|
|
69
|
-
}>;
|
|
70
|
-
export default _default;
|
|
71
|
-
//# sourceMappingURL=lume-point.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-point.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/lume-point/lume-point.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAAwC,QAAQ,EAAO,MAAM,KAAK,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK7C,wBAgDG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/lume-tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { PropType, Ref } from 'vue';
|
|
2
|
-
import { Placement, Instance as PopperInstance, PositioningStrategy } from '@popperjs/core';
|
|
3
|
-
import { TooltipOptions } from '@/composables/options';
|
|
4
|
-
interface TooltipItem {
|
|
5
|
-
type: string;
|
|
6
|
-
color: string;
|
|
7
|
-
label: string;
|
|
8
|
-
value: number | string;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
|
11
|
-
options: {
|
|
12
|
-
type: PropType<TooltipOptions>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
targetElement: {
|
|
16
|
-
new (): Element;
|
|
17
|
-
prototype: Element;
|
|
18
|
-
};
|
|
19
|
-
position: {
|
|
20
|
-
type: PropType<Placement>;
|
|
21
|
-
default: string;
|
|
22
|
-
validator: (value: string) => boolean;
|
|
23
|
-
};
|
|
24
|
-
fixedPositioning: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
modifiers: {
|
|
29
|
-
type: ArrayConstructor;
|
|
30
|
-
default: any;
|
|
31
|
-
};
|
|
32
|
-
title: {
|
|
33
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
34
|
-
default: any;
|
|
35
|
-
};
|
|
36
|
-
items: {
|
|
37
|
-
type: PropType<TooltipItem[]>;
|
|
38
|
-
default: any;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
allModifiers: import("vue").ComputedRef<unknown[]>;
|
|
42
|
-
allOptions: import("vue").ComputedRef<TooltipOptions>;
|
|
43
|
-
popper: Ref<PopperInstance>;
|
|
44
|
-
root: Ref<HTMLDivElement>;
|
|
45
|
-
showTitle: import("vue").ComputedRef<boolean>;
|
|
46
|
-
strategy: import("vue").ComputedRef<PositioningStrategy>;
|
|
47
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
-
options: {
|
|
49
|
-
type: PropType<TooltipOptions>;
|
|
50
|
-
default: () => {};
|
|
51
|
-
};
|
|
52
|
-
targetElement: {
|
|
53
|
-
new (): Element;
|
|
54
|
-
prototype: Element;
|
|
55
|
-
};
|
|
56
|
-
position: {
|
|
57
|
-
type: PropType<Placement>;
|
|
58
|
-
default: string;
|
|
59
|
-
validator: (value: string) => boolean;
|
|
60
|
-
};
|
|
61
|
-
fixedPositioning: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
modifiers: {
|
|
66
|
-
type: ArrayConstructor;
|
|
67
|
-
default: any;
|
|
68
|
-
};
|
|
69
|
-
title: {
|
|
70
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
71
|
-
default: any;
|
|
72
|
-
};
|
|
73
|
-
items: {
|
|
74
|
-
type: PropType<TooltipItem[]>;
|
|
75
|
-
default: any;
|
|
76
|
-
};
|
|
77
|
-
}>>, {
|
|
78
|
-
title: string | number;
|
|
79
|
-
position: Placement;
|
|
80
|
-
fixedPositioning: boolean;
|
|
81
|
-
options: TooltipOptions;
|
|
82
|
-
modifiers: unknown[];
|
|
83
|
-
items: TooltipItem[];
|
|
84
|
-
}>;
|
|
85
|
-
export default _default;
|
|
86
|
-
//# sourceMappingURL=lume-tooltip.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/lume-tooltip/lume-tooltip.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,QAAQ,EAER,GAAG,EAGJ,MAAM,KAAK,CAAC;AACb,OAAO,EAEL,SAAS,EACT,QAAQ,IAAI,cAAc,EAC1B,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,cAAc,EAA2B,MAAM,uBAAuB,CAAC;AAIhF,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;;;;;;;;;;;;;2BAQwB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;AAN/B,wBA6FG"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Options } from '@/composables/options';
|
|
3
|
-
import { Scale } from '@/composables/scales';
|
|
4
|
-
import { InternalData } from '@/types/dataset';
|
|
5
|
-
export declare const withGroupProps: () => {
|
|
6
|
-
data: {
|
|
7
|
-
type: PropType<InternalData>;
|
|
8
|
-
required: boolean;
|
|
9
|
-
};
|
|
10
|
-
xScale: {
|
|
11
|
-
type: PropType<Scale>;
|
|
12
|
-
required: boolean;
|
|
13
|
-
};
|
|
14
|
-
yScale: {
|
|
15
|
-
type: PropType<Scale>;
|
|
16
|
-
required: boolean;
|
|
17
|
-
};
|
|
18
|
-
hoveredIndex: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
default: number;
|
|
21
|
-
};
|
|
22
|
-
options: {
|
|
23
|
-
type: PropType<Options>;
|
|
24
|
-
default: () => {};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=group-props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group-props.d.ts","sourceRoot":"","sources":["../../../../../src/components/groups/composables/group-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CAqBzB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as LumeAlluvialGroup } from './lume-alluvial-group';
|
|
2
|
-
export { default as LumeBarGroup } from './lume-bar-group';
|
|
3
|
-
export { default as LumeLineGroup } from './lume-line-group';
|
|
4
|
-
export { default as LumeOverlayGroup } from './lume-overlay-group';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/groups/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { SankeyLink, SankeyNode } from 'd3-sankey';
|
|
3
|
-
import { ContainerSize } from '@/types/size';
|
|
4
|
-
import { AlluvialDataset, AlluvialNode, SankeyLinkAdditionalProperties, SankeyNodeAdditionalProperties } from '@/types/alluvial';
|
|
5
|
-
import { Data } from '@/types/dataset';
|
|
6
|
-
export declare const BASE_DATA: AlluvialDataset;
|
|
7
|
-
export declare function useAlluvialBlocks(alluvialProps: Ref<AlluvialDataset>, containerSize: ContainerSize): {
|
|
8
|
-
nodes: ComputedRef<SankeyNode<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>[]>;
|
|
9
|
-
links: ComputedRef<SankeyLink<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>[]>;
|
|
10
|
-
graph: ComputedRef<import("d3-sankey").SankeyGraph<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>>;
|
|
11
|
-
alluvialInstance: Ref<{
|
|
12
|
-
containerSize: {
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
outerWidth?: number;
|
|
16
|
-
outerHeight?: number;
|
|
17
|
-
};
|
|
18
|
-
highlightedLink: any;
|
|
19
|
-
highlightedNode: any;
|
|
20
|
-
leftExtent: number;
|
|
21
|
-
rightExtent: number;
|
|
22
|
-
topExtent: number;
|
|
23
|
-
bottomExtent: number;
|
|
24
|
-
nodeBlocks: any[];
|
|
25
|
-
linkPaths: any[];
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
export declare function getAlluvialComputedData(alluvialData: Ref<Data<AlluvialNode>>): Ref<{
|
|
29
|
-
nodePadding?: number;
|
|
30
|
-
nodeWidth?: number;
|
|
31
|
-
nodeSort?: (nodeA: SankeyNode<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>, nodeB: SankeyNode<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>) => number;
|
|
32
|
-
valueFormatter?: (value: number) => string;
|
|
33
|
-
getHighlightedElements?: ({ node, link, links }: import("@/types/alluvial").HighlightedElements) => {
|
|
34
|
-
links: SankeyLink<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>[];
|
|
35
|
-
nodes: Map<unknown, unknown>;
|
|
36
|
-
};
|
|
37
|
-
nodeAlign?: (node: SankeyNode<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>, n: number) => number;
|
|
38
|
-
values: {
|
|
39
|
-
targets?: {
|
|
40
|
-
node: string;
|
|
41
|
-
value: number;
|
|
42
|
-
color?: import("../../../../constants").Color;
|
|
43
|
-
}[];
|
|
44
|
-
value: number;
|
|
45
|
-
color?: import("../../../../constants").Color;
|
|
46
|
-
label?: string;
|
|
47
|
-
}[];
|
|
48
|
-
color?: import("../../../../constants").Color;
|
|
49
|
-
label?: string;
|
|
50
|
-
areaColor?: import("../../../../constants").Color;
|
|
51
|
-
legend?: string;
|
|
52
|
-
type?: "bar" | "line";
|
|
53
|
-
isDashed?: (index: number) => boolean;
|
|
54
|
-
}>;
|
|
55
|
-
//# sourceMappingURL=lume-alluvial-building-blocks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-alluvial-building-blocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/groups/lume-alluvial-group/composables/lume-alluvial-building-blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAO,GAAG,EAAE,MAAM,KAAK,CAAC;AACtD,OAAO,EAAyB,UAAU,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAI1E,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,eAAe,EACf,YAAY,EACZ,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,eAAO,MAAM,SAAS,EAAE,eAMvB,CAAC;AAaF,wBAAgB,iBAAiB,CAC/B,aAAa,EAAE,GAAG,CAAC,eAAe,CAAC,EACnC,aAAa,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;EA4D7B;AAED,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;GAS5E"}
|
package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-coordinates.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { SankeyGraph } from 'd3-sankey';
|
|
3
|
-
import { AlluvialDataset, SankeyLinkAdditionalProperties, SankeyNodeAdditionalProperties } from '@/types/alluvial';
|
|
4
|
-
export declare function useCoordinates(alluvialProps: Ref<AlluvialDataset>, graph: Ref<SankeyGraph<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>>, nodeTextElements: Ref<Array<SVGTextElement>>): {
|
|
5
|
-
leftMostNodeLabelWidth: ComputedRef<number>;
|
|
6
|
-
rightMostNodeLabelWidth: ComputedRef<number>;
|
|
7
|
-
topMostNodeLabelExtraHeight: ComputedRef<number>;
|
|
8
|
-
bottomMostNodeLabelExtraHeight: ComputedRef<number>;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=lume-alluvial-coordinates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-alluvial-coordinates.d.ts","sourceRoot":"","sources":["../../../../../../src/components/groups/lume-alluvial-group/composables/lume-alluvial-coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EACL,eAAe,EACf,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,kBAAkB,CAAC;AAE1B,wBAAgB,cAAc,CAC5B,aAAa,EAAE,GAAG,CAAC,eAAe,CAAC,EACnC,KAAK,EAAE,GAAG,CACR,WAAW,CAAC,8BAA8B,EAAE,8BAA8B,CAAC,CAC5E,EACD,gBAAgB,EAAE,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;;;;;EAkE7C"}
|
package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-interactions.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { SankeyGraph, SankeyLink } from 'd3-sankey';
|
|
3
|
-
import { AlluvialDataset, AlluvialInstance, SankeyLinkAdditionalProperties, SankeyNodeAdditionalProperties } from '@/types/alluvial';
|
|
4
|
-
export declare function useAlluvialInteractions(alluvialInstance: Ref<AlluvialInstance>, alluvialProps: Ref<AlluvialDataset>, graph: Ref<SankeyGraph<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>>): {
|
|
5
|
-
highlightedElements: ComputedRef<{
|
|
6
|
-
links?: SankeyLink<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>[];
|
|
7
|
-
nodes?: Map<unknown, unknown>;
|
|
8
|
-
}>;
|
|
9
|
-
highlightLinks: (highlightedLinks?: SankeyLink<SankeyNodeAdditionalProperties, SankeyLinkAdditionalProperties>[]) => {
|
|
10
|
-
nodeIds: any[];
|
|
11
|
-
linkIds: string[];
|
|
12
|
-
};
|
|
13
|
-
updateNodes: ({ values, updatingNodes, isEntering }: {
|
|
14
|
-
values: any;
|
|
15
|
-
updatingNodes?: any[];
|
|
16
|
-
isEntering?: boolean;
|
|
17
|
-
}) => void;
|
|
18
|
-
renderChart: ({ nodes, links }: {
|
|
19
|
-
nodes: any;
|
|
20
|
-
links: any;
|
|
21
|
-
}) => void;
|
|
22
|
-
maxDepth: ComputedRef<number>;
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=lume-alluvial-interactions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-alluvial-interactions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/groups/lume-alluvial-group/composables/lume-alluvial-interactions.ts"],"names":[],"mappings":"AAAA,OAAY,EAAY,WAAW,EAAmB,GAAG,EAAE,MAAM,KAAK,CAAC;AACvE,OAAO,EACL,WAAW,EACX,UAAU,EAGX,MAAM,WAAW,CAAC;AAQnB,OAAO,EACL,eAAe,EACf,gBAAgB,EAEhB,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,kBAAkB,CAAC;AAI1B,wBAAgB,uBAAuB,CACrC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB,CAAC,EACvC,aAAa,EAAE,GAAG,CAAC,eAAe,CAAC,EACnC,KAAK,EAAE,GAAG,CACR,WAAW,CAAC,8BAA8B,EAAE,8BAA8B,CAAC,CAC5E;;gBAaS,WACN,8BAA8B,EAC9B,8BAA8B,CAC/B,EAAE;gBACK,IAAI,OAAO,EAAE,OAAO,CAAC;;wCAyDX,WAChB,8BAA8B,EAC9B,8BAA8B,CAC/B,EAAE;;;;;;;;;;;;;;EAgHN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/groups/lume-alluvial-group/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,OAAO,CAAC;AAClC,eAAO,MAAM,kBAAkB,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/groups/lume-alluvial-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { isNodeOrLinkFaded } from '@/utils/helpers';
|
|
3
|
-
import { Data } from '@/types/dataset';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
title: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: any;
|
|
8
|
-
};
|
|
9
|
-
orientation: {
|
|
10
|
-
type: import("vue").PropType<import("../../../constants").Orientation>;
|
|
11
|
-
default: import("../../../constants").Orientation;
|
|
12
|
-
validator: (orientation: string) => boolean;
|
|
13
|
-
};
|
|
14
|
-
classList: {
|
|
15
|
-
type: import("vue").PropType<string | string[]>;
|
|
16
|
-
default: () => any[];
|
|
17
|
-
};
|
|
18
|
-
options: {
|
|
19
|
-
type: import("vue").PropType<import("../../../composables/options").ChartOptions>;
|
|
20
|
-
default: () => {};
|
|
21
|
-
};
|
|
22
|
-
xScale: {
|
|
23
|
-
type: import("vue").PropType<import("d3-scale").ScaleBand<string | number> | import("../../../composables/scales").ScaleGenerator<import("../../../composables/scales").Scale>>;
|
|
24
|
-
default: any;
|
|
25
|
-
};
|
|
26
|
-
yScale: {
|
|
27
|
-
type: import("vue").PropType<import("d3-scale").ScaleLinear<number, number, never> | import("../../../composables/scales").ScaleGenerator<import("d3-scale").ScaleLinear<number, number, never>>>;
|
|
28
|
-
default: any;
|
|
29
|
-
};
|
|
30
|
-
data: {
|
|
31
|
-
type: import("vue").PropType<Data<import("@/types/dataset").DatasetValue<number>>>;
|
|
32
|
-
required: boolean;
|
|
33
|
-
validator: import("../../../composables/base").DataValidator;
|
|
34
|
-
};
|
|
35
|
-
labels: {
|
|
36
|
-
type: import("vue").PropType<string[]>;
|
|
37
|
-
default: any;
|
|
38
|
-
};
|
|
39
|
-
color: {
|
|
40
|
-
type: import("vue").PropType<import("../../../constants").Colors | import("../../../constants").DivergentColors>;
|
|
41
|
-
default: import("../../../constants").Colors;
|
|
42
|
-
};
|
|
43
|
-
}, {
|
|
44
|
-
alluvialInstance: Ref<{
|
|
45
|
-
containerSize: {
|
|
46
|
-
width: number;
|
|
47
|
-
height: number;
|
|
48
|
-
outerWidth?: number;
|
|
49
|
-
outerHeight?: number;
|
|
50
|
-
};
|
|
51
|
-
highlightedLink: any;
|
|
52
|
-
highlightedNode: any;
|
|
53
|
-
leftExtent: number;
|
|
54
|
-
rightExtent: number;
|
|
55
|
-
topExtent: number;
|
|
56
|
-
bottomExtent: number;
|
|
57
|
-
nodeBlocks: any[];
|
|
58
|
-
linkPaths: any[];
|
|
59
|
-
}>;
|
|
60
|
-
computedData: Ref<{
|
|
61
|
-
nodePadding?: number;
|
|
62
|
-
nodeWidth?: number;
|
|
63
|
-
nodeSort?: (nodeA: import("d3-sankey").SankeyNode<import("@/types/alluvial").SankeyNodeAdditionalProperties, import("@/types/alluvial").SankeyLinkAdditionalProperties>, nodeB: import("d3-sankey").SankeyNode<import("@/types/alluvial").SankeyNodeAdditionalProperties, import("@/types/alluvial").SankeyLinkAdditionalProperties>) => number;
|
|
64
|
-
valueFormatter?: (value: number) => string;
|
|
65
|
-
getHighlightedElements?: ({ node, link, links }: import("@/types/alluvial").HighlightedElements) => {
|
|
66
|
-
links: import("d3-sankey").SankeyLink<import("@/types/alluvial").SankeyNodeAdditionalProperties, import("@/types/alluvial").SankeyLinkAdditionalProperties>[];
|
|
67
|
-
nodes: Map<unknown, unknown>;
|
|
68
|
-
};
|
|
69
|
-
nodeAlign?: (node: import("d3-sankey").SankeyNode<import("@/types/alluvial").SankeyNodeAdditionalProperties, import("@/types/alluvial").SankeyLinkAdditionalProperties>, n: number) => number;
|
|
70
|
-
values: {
|
|
71
|
-
targets?: {
|
|
72
|
-
node: string;
|
|
73
|
-
value: number;
|
|
74
|
-
color?: import("../../../constants").Color;
|
|
75
|
-
}[];
|
|
76
|
-
value: number;
|
|
77
|
-
color?: import("../../../constants").Color;
|
|
78
|
-
label?: string;
|
|
79
|
-
}[];
|
|
80
|
-
color?: import("../../../constants").Color;
|
|
81
|
-
label?: string;
|
|
82
|
-
areaColor?: import("../../../constants").Color;
|
|
83
|
-
legend?: string;
|
|
84
|
-
type?: "bar" | "line";
|
|
85
|
-
isDashed?: (index: number) => boolean;
|
|
86
|
-
}>;
|
|
87
|
-
defaultColor: string;
|
|
88
|
-
highlightedLinkIds: Ref<any[]>;
|
|
89
|
-
highlightedNodeIds: Ref<any[]>;
|
|
90
|
-
isNodeOrLinkFaded: typeof isNodeOrLinkFaded;
|
|
91
|
-
maxDepth: import("vue").ComputedRef<number>;
|
|
92
|
-
nodeText: any;
|
|
93
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
-
title: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: any;
|
|
97
|
-
};
|
|
98
|
-
orientation: {
|
|
99
|
-
type: import("vue").PropType<import("../../../constants").Orientation>;
|
|
100
|
-
default: import("../../../constants").Orientation;
|
|
101
|
-
validator: (orientation: string) => boolean;
|
|
102
|
-
};
|
|
103
|
-
classList: {
|
|
104
|
-
type: import("vue").PropType<string | string[]>;
|
|
105
|
-
default: () => any[];
|
|
106
|
-
};
|
|
107
|
-
options: {
|
|
108
|
-
type: import("vue").PropType<import("../../../composables/options").ChartOptions>;
|
|
109
|
-
default: () => {};
|
|
110
|
-
};
|
|
111
|
-
xScale: {
|
|
112
|
-
type: import("vue").PropType<import("d3-scale").ScaleBand<string | number> | import("../../../composables/scales").ScaleGenerator<import("../../../composables/scales").Scale>>;
|
|
113
|
-
default: any;
|
|
114
|
-
};
|
|
115
|
-
yScale: {
|
|
116
|
-
type: import("vue").PropType<import("d3-scale").ScaleLinear<number, number, never> | import("../../../composables/scales").ScaleGenerator<import("d3-scale").ScaleLinear<number, number, never>>>;
|
|
117
|
-
default: any;
|
|
118
|
-
};
|
|
119
|
-
data: {
|
|
120
|
-
type: import("vue").PropType<Data<import("@/types/dataset").DatasetValue<number>>>;
|
|
121
|
-
required: boolean;
|
|
122
|
-
validator: import("../../../composables/base").DataValidator;
|
|
123
|
-
};
|
|
124
|
-
labels: {
|
|
125
|
-
type: import("vue").PropType<string[]>;
|
|
126
|
-
default: any;
|
|
127
|
-
};
|
|
128
|
-
color: {
|
|
129
|
-
type: import("vue").PropType<import("../../../constants").Colors | import("../../../constants").DivergentColors>;
|
|
130
|
-
default: import("../../../constants").Colors;
|
|
131
|
-
};
|
|
132
|
-
}>>, {
|
|
133
|
-
color: import("../../../constants").Colors | import("../../../constants").DivergentColors;
|
|
134
|
-
title: string;
|
|
135
|
-
orientation: import("../../../constants").Orientation;
|
|
136
|
-
options: import("../../../composables/options").ChartOptions;
|
|
137
|
-
classList: string | string[];
|
|
138
|
-
xScale: import("d3-scale").ScaleBand<string | number> | import("../../../composables/scales").ScaleGenerator<import("../../../composables/scales").Scale>;
|
|
139
|
-
yScale: import("d3-scale").ScaleLinear<number, number, never> | import("../../../composables/scales").ScaleGenerator<import("d3-scale").ScaleLinear<number, number, never>>;
|
|
140
|
-
labels: string[];
|
|
141
|
-
}>;
|
|
142
|
-
export default _default;
|
|
143
|
-
//# sourceMappingURL=lume-alluvial-group.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-alluvial-group.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/groups/lume-alluvial-group/lume-alluvial-group.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,GAAG,EAAgB,MAAM,KAAK,CAAC;AAa9D,OAAO,EAEL,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKvC,wBAwGG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/groups/lume-alluvial-path-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC"}
|
package/dist/types/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { LinkPath } from '@/types/alluvial';
|
|
3
|
-
export declare const GHOST_STROKE_WIDTH_OFFSET = 8;
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
linkPaths: {
|
|
6
|
-
type: PropType<LinkPath[]>;
|
|
7
|
-
default: () => any[];
|
|
8
|
-
};
|
|
9
|
-
isGhost: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
containerWidth: {
|
|
14
|
-
type: NumberConstructor;
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
highlightedLinkIds: {
|
|
18
|
-
type: PropType<string[]>;
|
|
19
|
-
default: () => any[];
|
|
20
|
-
};
|
|
21
|
-
}, {
|
|
22
|
-
getClasses: (linkPath: LinkPath) => {
|
|
23
|
-
[x: string]: boolean;
|
|
24
|
-
'lume-stroke--transparent': boolean;
|
|
25
|
-
'lume-alluvial-path-group__link--ghost': boolean;
|
|
26
|
-
'lume-alluvial-path-group__link--faded': boolean;
|
|
27
|
-
};
|
|
28
|
-
ghostStrokeWidthOffset: import("vue").ComputedRef<8 | 0>;
|
|
29
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
linkPaths: {
|
|
31
|
-
type: PropType<LinkPath[]>;
|
|
32
|
-
default: () => any[];
|
|
33
|
-
};
|
|
34
|
-
isGhost: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
containerWidth: {
|
|
39
|
-
type: NumberConstructor;
|
|
40
|
-
default: number;
|
|
41
|
-
};
|
|
42
|
-
highlightedLinkIds: {
|
|
43
|
-
type: PropType<string[]>;
|
|
44
|
-
default: () => any[];
|
|
45
|
-
};
|
|
46
|
-
}>>, {
|
|
47
|
-
linkPaths: LinkPath[];
|
|
48
|
-
isGhost: boolean;
|
|
49
|
-
containerWidth: number;
|
|
50
|
-
highlightedLinkIds: string[];
|
|
51
|
-
}>;
|
|
52
|
-
export default _default;
|
|
53
|
-
//# sourceMappingURL=lume-alluvial-path-group.vue.d.ts.map
|
package/dist/types/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lume-alluvial-path-group.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,QAAQ,EAAU,MAAM,KAAK,CAAC;AAIlE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,eAAO,MAAM,yBAAyB,IAAI,CAAC;;;;;;;;;;;;;;;;;;;2BA4BT,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1B1C,wBAwCG"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, PropType, Ref } from 'vue';
|
|
2
|
-
import { Scale } from '@/composables/scales';
|
|
3
|
-
import { Orientation } from '@/constants';
|
|
4
|
-
import { DatasetValueObject, InternalData } from '@/types/dataset';
|
|
5
|
-
import { BarChartOptions } from '@/composables/options';
|
|
6
|
-
declare function typeValidator(type: string): boolean;
|
|
7
|
-
export declare function orientationValidator(orientation: string): boolean;
|
|
8
|
-
export declare const withBarProps: (useOrientation?: boolean) => {
|
|
9
|
-
orientation?: {
|
|
10
|
-
type: PropType<Orientation>;
|
|
11
|
-
default: Orientation;
|
|
12
|
-
validator: typeof orientationValidator;
|
|
13
|
-
};
|
|
14
|
-
type: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: any;
|
|
17
|
-
validator: typeof typeValidator;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare function useBarMixin(data: Ref<InternalData>): {
|
|
21
|
-
multiBarData: ComputedRef<InternalData>;
|
|
22
|
-
groupedData: ComputedRef<DatasetValueObject<number>[][]>;
|
|
23
|
-
};
|
|
24
|
-
export declare function getBarChartType(data: Ref<InternalData>, type: Ref<string>): string;
|
|
25
|
-
export declare function useBarScales(xScale: Ref<Scale>, yScale: Ref<Scale>, options?: Ref<BarChartOptions>, orientation?: Ref<Orientation>): {
|
|
26
|
-
barXScale: ComputedRef<Scale>;
|
|
27
|
-
barYScale: ComputedRef<Scale>;
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=bar-mixin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bar-mixin.d.ts","sourceRoot":"","sources":["../../../../../../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,EAAkB,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAsB,WAAW,EAAgB,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,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,CAAC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC;;;EA4BlD;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,OAAO,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,EAC9B,WAAW,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC;;;EA6C/B"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { Scale } from '@/composables/scales';
|
|
3
|
-
import { Orientation } from '@/constants';
|
|
4
|
-
import { Data, DatasetValueObject } from '@/types/dataset';
|
|
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
|
-
barAttributeGenerator: (barValue: DatasetValueObject, index: number, groupIndex: number) => {
|
|
7
|
-
classList: string[];
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
isFaded: boolean;
|
|
13
|
-
isNegative: boolean;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=grouped-mixin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grouped-mixin.d.ts","sourceRoot":"","sources":["../../../../../../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,aAAa,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,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;;;;;;;;;EAsBrB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { Scale } from '@/composables/scales';
|
|
3
|
-
import { Orientation } from '@/constants';
|
|
4
|
-
import { Data, DatasetValueObject } from '@/types/dataset';
|
|
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
|
-
barAttributeGenerator: (barValue: DatasetValueObject, index: number, groupIndex: number) => {
|
|
7
|
-
classList: string[];
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
isFaded: boolean;
|
|
13
|
-
isNegative: boolean;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=single-mixin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"single-mixin.d.ts","sourceRoot":"","sources":["../../../../../../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,aAAa,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,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;;;;;;;;;EAoBrB"}
|