@icij/murmur-next 4.0.4 → 4.0.6
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/lib/components/AccordionStep.vue.d.ts +2 -3
- package/dist/lib/components/AccordionWrapper.vue.d.ts +1 -2
- package/dist/lib/components/ActiveTextTruncate.vue.d.ts +2 -2
- package/dist/lib/components/AdvancedLinkForm.vue.d.ts +5 -6
- package/dist/lib/components/Brand.vue.d.ts +8 -8
- package/dist/lib/components/BrandExpansion.vue.d.ts +6 -7
- package/dist/lib/components/ConfirmButton.vue.d.ts +1 -2
- package/dist/lib/components/ContentPlaceholder.vue.d.ts +2 -3
- package/dist/lib/components/CustomPagination.vue.d.ts +9 -10
- package/dist/lib/components/DigitsInput.vue.d.ts +3 -3
- package/dist/lib/components/DonateForm.vue.d.ts +4 -5
- package/dist/lib/components/EmbedForm.vue.d.ts +7 -8
- package/dist/lib/components/FollowUsPopover.vue.d.ts +4 -5
- package/dist/lib/components/GenericFooter.vue.d.ts +1 -2
- package/dist/lib/components/GenericHeader.vue.d.ts +283 -284
- package/dist/lib/components/HapticCopy.vue.d.ts +6 -8
- package/dist/lib/components/ImddbHeader.vue.d.ts +282 -283
- package/dist/lib/components/OrdinalLegend.vue.d.ts +8 -9
- package/dist/lib/components/RangePicker.vue.d.ts +10 -14
- package/dist/lib/components/ResponsiveIframe.vue.d.ts +2 -3
- package/dist/lib/components/ScaleLegend.vue.d.ts +2 -2
- package/dist/lib/components/SecretInput.vue.d.ts +3 -3
- package/dist/lib/components/SelectableDropdown.vue.d.ts +6 -7
- package/dist/lib/components/SharingOptions.vue.d.ts +1 -2
- package/dist/lib/components/SharingOptionsLink.vue.d.ts +2 -3
- package/dist/lib/components/SignUpForm.vue.d.ts +5 -6
- package/dist/lib/components/SlideUpDown.vue.d.ts +3 -4
- package/dist/lib/components/TexturedDeck.vue.d.ts +3 -4
- package/dist/lib/components/TinyPagination.vue.d.ts +15 -16
- package/dist/lib/composables/chart.d.ts +7 -8
- package/dist/lib/composables/resizeObserver.d.ts +1 -2
- package/dist/lib/composables/sendEmail.d.ts +1 -2
- package/dist/lib/config.d.ts +3 -2
- package/dist/lib/datavisualisations/BarChart.vue.d.ts +6 -8
- package/dist/lib/datavisualisations/ColumnChart.vue.d.ts +7 -4
- package/dist/lib/datavisualisations/LineChart.vue.d.ts +17 -9
- package/dist/lib/datavisualisations/StackedBarChart.vue.d.ts +4 -8
- package/dist/lib/datavisualisations/StackedColumnChart.vue.d.ts +4 -4
- package/dist/lib/i18n.d.ts +1 -0
- package/dist/lib/main.d.ts +11 -8
- package/dist/lib/maps/ChoroplethMap.vue.d.ts +10 -4
- package/dist/lib/maps/ChoroplethMapAnnotation.vue.d.ts +3 -3
- package/dist/lib/maps/SymbolMap.vue.d.ts +8 -8
- package/dist/lib/murmur.css +1 -1
- package/dist/lib/murmur.js +17563 -16205
- package/dist/lib/murmur.js.map +1 -1
- package/dist/lib/murmur.umd.cjs +60 -52
- package/dist/lib/murmur.umd.cjs.map +1 -1
- package/dist/lib/types.d.ts +4 -7
- package/dist/lib/utils/assets.d.ts +1 -1
- package/dist/lib/utils/iframe-resizer.d.ts +1 -0
- package/dist/lib/utils/placeholder.d.ts +1 -0
- package/dist/lib/utils/placeholderTypes.d.ts +2 -3
- package/lib/components/Brand.vue +9 -9
- package/lib/components/OrdinalLegend.vue +1 -1
- package/lib/components/RangePicker.vue +15 -9
- package/lib/composables/chart.ts +10 -7
- package/lib/composables/resizeObserver.ts +1 -1
- package/lib/composables/sendEmail.ts +0 -1
- package/lib/config.ts +2 -2
- package/lib/locales/en.json +1 -1
- package/lib/locales/fr.json +1 -1
- package/lib/main.ts +18 -12
- package/lib/maps/ChoroplethMap.vue +1 -1
- package/lib/maps/ChoroplethMapAnnotation.vue +2 -2
- package/lib/maps/SymbolMap.vue +5 -4
- package/lib/shims-pym.d.ts +7 -0
- package/lib/shims-vue.d.ts +1 -1
- package/lib/types.ts +5 -5
- package/lib/utils/iframe-resizer.ts +1 -1
- package/lib/utils/placeholder.ts +0 -1
- package/package.json +49 -43
- package/lib/locales/locales/en.json +0 -140
- package/lib/locales/locales/fr.json +0 -117
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
type Datum = {
|
|
5
|
-
id
|
|
4
|
+
id?: string;
|
|
6
5
|
color: string;
|
|
7
|
-
path
|
|
6
|
+
path?: string;
|
|
8
7
|
label: string;
|
|
9
8
|
};
|
|
10
9
|
type Category = 'id' | 'color' | 'path' | 'label';
|
|
@@ -25,11 +24,11 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
25
24
|
default: string;
|
|
26
25
|
};
|
|
27
26
|
highlight: {
|
|
28
|
-
type: (
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
29
28
|
default: null;
|
|
30
29
|
};
|
|
31
30
|
value: {
|
|
32
|
-
type: (
|
|
31
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
33
32
|
default: null;
|
|
34
33
|
};
|
|
35
34
|
}, {
|
|
@@ -66,11 +65,11 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
66
65
|
default: string;
|
|
67
66
|
};
|
|
68
67
|
highlight: {
|
|
69
|
-
type: (
|
|
68
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
70
69
|
default: null;
|
|
71
70
|
};
|
|
72
71
|
value: {
|
|
73
|
-
type: (
|
|
72
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
74
73
|
default: null;
|
|
75
74
|
};
|
|
76
75
|
}>> & {
|
|
@@ -78,8 +77,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
78
77
|
"onUpdate:highlight"?: ((...args: any[]) => any) | undefined;
|
|
79
78
|
}, {
|
|
80
79
|
data: Datum[];
|
|
81
|
-
horizontal: boolean;
|
|
82
80
|
value: string | number;
|
|
81
|
+
horizontal: boolean;
|
|
83
82
|
markerPath: string | Function;
|
|
84
83
|
categoryObjectsPath: Category;
|
|
85
84
|
highlight: string | number;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType } from '../../node_modules/vue';
|
|
4
|
-
import
|
|
2
|
+
import { Variant } from '../types';
|
|
3
|
+
|
|
4
|
+
type DragDropValue = {
|
|
5
|
+
detail: number;
|
|
6
|
+
};
|
|
5
7
|
/**
|
|
6
8
|
* A component to wrap an HTML element with a range picker overlay.
|
|
7
9
|
*/
|
|
@@ -99,17 +101,11 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
99
101
|
endBoundStyle: import('../../node_modules/vue').ComputedRef<{
|
|
100
102
|
left: string;
|
|
101
103
|
}>;
|
|
102
|
-
dragStartBound: ({ detail: dx }:
|
|
103
|
-
|
|
104
|
-
}) => void;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}) => void;
|
|
108
|
-
dragBounds: ({ detail: dx }: {
|
|
109
|
-
detail: any;
|
|
110
|
-
}) => void;
|
|
111
|
-
toggleMoving: (value: any) => void;
|
|
112
|
-
toggleResizing: (value: any) => void;
|
|
104
|
+
dragStartBound: ({ detail: dx }: DragDropValue) => void;
|
|
105
|
+
dragEndBound: ({ detail: dx }: DragDropValue) => void;
|
|
106
|
+
dragBounds: ({ detail: dx }: DragDropValue) => void;
|
|
107
|
+
toggleMoving: (value: boolean) => void;
|
|
108
|
+
toggleResizing: (value: boolean) => void;
|
|
113
109
|
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, "update:range"[], "update:range", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
114
110
|
/**
|
|
115
111
|
* Initial values of the range bounds. Should contain two numbers.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import type { Parent } from 'pym.js';
|
|
1
|
+
import { Parent } from 'pym.js';
|
|
2
|
+
|
|
4
3
|
type StartsWithIcijIframe = `icij-iframe-${string}`;
|
|
5
4
|
type ResponsiveIframeData = {
|
|
6
5
|
iframeId: StartsWithIcijIframe;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { PropType } from '../../node_modules/vue';
|
|
1
2
|
/// <reference types="@/shims-vue" />
|
|
2
3
|
/// <reference types="vue-i18n" />
|
|
3
4
|
import * as d3 from 'd3';
|
|
4
|
-
import { PropType } from '../../node_modules/vue';
|
|
5
5
|
type ClassListLegend = {
|
|
6
6
|
'scale-legend--has-cursor': boolean;
|
|
7
7
|
};
|
|
@@ -89,8 +89,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
91
|
}>>, {
|
|
92
|
-
width: number;
|
|
93
92
|
height: number;
|
|
93
|
+
width: number;
|
|
94
94
|
max: number;
|
|
95
95
|
min: number;
|
|
96
96
|
cursorValue: number;
|
|
@@ -11,7 +11,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
11
11
|
* Value of the input
|
|
12
12
|
*/
|
|
13
13
|
value: {
|
|
14
|
-
type: (
|
|
14
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
@@ -57,7 +57,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
57
57
|
* Value of the input
|
|
58
58
|
*/
|
|
59
59
|
value: {
|
|
60
|
-
type: (
|
|
60
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
@@ -89,9 +89,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
89
89
|
}>> & {
|
|
90
90
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
|
-
visible: boolean;
|
|
93
92
|
size: string;
|
|
94
93
|
value: string | number;
|
|
94
|
+
visible: boolean;
|
|
95
95
|
hapticCopyVariant: string;
|
|
96
96
|
noToggler: boolean;
|
|
97
97
|
noHapticCopy: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
type Item = any;
|
|
5
4
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
5
|
/**
|
|
@@ -99,11 +98,11 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
99
98
|
clickToSelectItem: (item: Item) => void;
|
|
100
99
|
clickToAddItem: (item: Item) => void;
|
|
101
100
|
clickToSelectRangeToItem: (item: Item) => void;
|
|
102
|
-
indexIcon: (item: Item) => import(
|
|
101
|
+
indexIcon: (item: Item) => import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
103
102
|
scroller: import('../../node_modules/vue').Ref<null>;
|
|
104
103
|
activeItems: import('../../node_modules/vue').Ref<any[]>;
|
|
105
104
|
itemId: (item: Item) => string;
|
|
106
|
-
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, ("
|
|
105
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, ("click" | "update:modelValue" | "deactivate")[], "click" | "update:modelValue" | "deactivate", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
107
106
|
/**
|
|
108
107
|
* The items of the list.
|
|
109
108
|
*/
|
|
@@ -190,15 +189,15 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
190
189
|
default: string;
|
|
191
190
|
};
|
|
192
191
|
}>> & {
|
|
193
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
194
192
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
195
194
|
onDeactivate?: ((...args: any[]) => any) | undefined;
|
|
196
195
|
}, {
|
|
197
|
-
modelValue: any;
|
|
198
196
|
hide: boolean;
|
|
197
|
+
modelValue: any;
|
|
198
|
+
multiple: boolean;
|
|
199
199
|
items: any[];
|
|
200
200
|
propagate: boolean;
|
|
201
|
-
multiple: boolean;
|
|
202
201
|
serializer: Function;
|
|
203
202
|
listClass: string;
|
|
204
203
|
itemClass: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType, VNode } from '../../node_modules/vue';
|
|
4
2
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
|
|
5
4
|
type Popup = {
|
|
6
5
|
instance: Window | null | undefined;
|
|
7
6
|
interval: undefined | ReturnType<typeof setTimeout>;
|
|
@@ -188,8 +187,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
188
187
|
default: null;
|
|
189
188
|
};
|
|
190
189
|
}>>, {
|
|
191
|
-
title: string;
|
|
192
190
|
tag: string;
|
|
191
|
+
title: string;
|
|
193
192
|
url: string;
|
|
194
193
|
description: string;
|
|
195
194
|
hashtags: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
/**
|
|
5
4
|
* SignUpForm
|
|
6
5
|
*/
|
|
@@ -60,10 +59,10 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
60
59
|
default: string;
|
|
61
60
|
};
|
|
62
61
|
}, {
|
|
63
|
-
t: import(
|
|
64
|
-
[x: string]: import(
|
|
65
|
-
}, string, import(
|
|
66
|
-
[x: string]: import(
|
|
62
|
+
t: import('vue-i18n').ComposerTranslation<{
|
|
63
|
+
[x: string]: import('@intlify/core-base').LocaleMessage<import('vue-i18n').VueMessageType>;
|
|
64
|
+
}, string, import('@intlify/core-base').RemoveIndexSignature<{
|
|
65
|
+
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
|
67
66
|
}>, never, string, string>;
|
|
68
67
|
email: import('../../node_modules/vue').Ref<string>;
|
|
69
68
|
frozen: import('../../node_modules/vue').Ref<boolean>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import type { CSSProperties } from '../../node_modules/vue';
|
|
1
|
+
import { CSSProperties } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
type StyleTransition = Pick<CSSProperties, 'overflow' | 'transition-property' | 'transition-duration' | 'height'>;
|
|
5
4
|
interface SlideUpDownData {
|
|
6
5
|
state: string;
|
|
@@ -68,7 +67,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
68
67
|
};
|
|
69
68
|
}>>, {
|
|
70
69
|
active: boolean;
|
|
71
|
-
tag: string;
|
|
72
70
|
duration: number;
|
|
71
|
+
tag: string;
|
|
73
72
|
}, {}>;
|
|
74
73
|
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType } from '../../node_modules/vue';
|
|
4
2
|
import { DeckTexture } from '../enums';
|
|
3
|
+
|
|
5
4
|
type TexturedDeckValue = DeckTexture | number;
|
|
6
5
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
7
6
|
/**
|
|
@@ -80,10 +79,10 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
80
79
|
default: () => any;
|
|
81
80
|
};
|
|
82
81
|
}>>, {
|
|
83
|
-
black: boolean;
|
|
84
82
|
tag: string | Record<string, any>;
|
|
85
|
-
modelValue: TexturedDeckValue;
|
|
86
83
|
size: string;
|
|
84
|
+
black: boolean;
|
|
85
|
+
modelValue: TexturedDeckValue;
|
|
87
86
|
backgroundBaseUrl: string;
|
|
88
87
|
}, {}>;
|
|
89
88
|
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { PropType } from '../../node_modules/vue';
|
|
4
2
|
import { Size } from '../enums';
|
|
3
|
+
|
|
5
4
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
5
|
/**
|
|
7
6
|
* Total items to be stored in pages
|
|
@@ -21,7 +20,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
21
20
|
* Grabs and syncs the currentPage variable passed down from the parent in v-model
|
|
22
21
|
*/
|
|
23
22
|
modelValue: {
|
|
24
|
-
type: (
|
|
23
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
25
24
|
default: number;
|
|
26
25
|
};
|
|
27
26
|
/**
|
|
@@ -37,7 +36,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
37
36
|
* properly. If `pages` is empty, it will be calculated using the size.
|
|
38
37
|
*/
|
|
39
38
|
pages: {
|
|
40
|
-
type: (
|
|
39
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
41
40
|
default: null;
|
|
42
41
|
};
|
|
43
42
|
/**
|
|
@@ -64,7 +63,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
64
63
|
* Navigation button variants
|
|
65
64
|
*/
|
|
66
65
|
navVariant: {
|
|
67
|
-
type: PropType<keyof import(
|
|
66
|
+
type: PropType<keyof import('bootstrap-vue-next').BaseButtonVariant>;
|
|
68
67
|
default: string;
|
|
69
68
|
};
|
|
70
69
|
/**
|
|
@@ -80,10 +79,10 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
80
79
|
type: BooleanConstructor;
|
|
81
80
|
};
|
|
82
81
|
}, {
|
|
83
|
-
t: import(
|
|
84
|
-
[x: string]: import(
|
|
85
|
-
}, string, import(
|
|
86
|
-
[x: string]: import(
|
|
82
|
+
t: import('vue-i18n').ComposerTranslation<{
|
|
83
|
+
[x: string]: import('@intlify/core-base').LocaleMessage<import('vue-i18n').VueMessageType>;
|
|
84
|
+
}, string, import('@intlify/core-base').RemoveIndexSignature<{
|
|
85
|
+
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
|
87
86
|
}>, never, string, string>;
|
|
88
87
|
currentPageInput: import('../../node_modules/vue').Ref<string | number>;
|
|
89
88
|
paginationClassList: import('../../node_modules/vue').ComputedRef<object>;
|
|
@@ -112,7 +111,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
112
111
|
* Grabs and syncs the currentPage variable passed down from the parent in v-model
|
|
113
112
|
*/
|
|
114
113
|
modelValue: {
|
|
115
|
-
type: (
|
|
114
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
116
115
|
default: number;
|
|
117
116
|
};
|
|
118
117
|
/**
|
|
@@ -128,7 +127,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
128
127
|
* properly. If `pages` is empty, it will be calculated using the size.
|
|
129
128
|
*/
|
|
130
129
|
pages: {
|
|
131
|
-
type: (
|
|
130
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
132
131
|
default: null;
|
|
133
132
|
};
|
|
134
133
|
/**
|
|
@@ -155,7 +154,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
155
154
|
* Navigation button variants
|
|
156
155
|
*/
|
|
157
156
|
navVariant: {
|
|
158
|
-
type: PropType<keyof import(
|
|
157
|
+
type: PropType<keyof import('bootstrap-vue-next').BaseButtonVariant>;
|
|
159
158
|
default: string;
|
|
160
159
|
};
|
|
161
160
|
/**
|
|
@@ -173,16 +172,16 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
173
172
|
}>> & {
|
|
174
173
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
175
174
|
}, {
|
|
176
|
-
modelValue: string | number;
|
|
177
175
|
size: Size;
|
|
176
|
+
modelValue: string | number;
|
|
177
|
+
block: boolean;
|
|
178
|
+
compact: boolean;
|
|
178
179
|
perPage: number;
|
|
179
180
|
totalRows: number;
|
|
180
|
-
compact: boolean;
|
|
181
181
|
pages: string | number;
|
|
182
|
-
block: boolean;
|
|
183
182
|
noNav: boolean;
|
|
184
183
|
previousPageIcon: string | Record<string, any> | unknown[];
|
|
185
184
|
nextPageIcon: string | Record<string, any> | unknown[];
|
|
186
|
-
navVariant: keyof import(
|
|
185
|
+
navVariant: keyof import('bootstrap-vue-next').BaseButtonVariant;
|
|
187
186
|
}, {}>;
|
|
188
187
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
4
|
-
import { Ref, SetupContext } from
|
|
2
|
+
import { Ref, SetupContext } from '@vue/runtime-core';
|
|
3
|
+
|
|
5
4
|
type ChartContext<T extends string[]> = SetupContext<[...T, ...string[]]>;
|
|
6
|
-
type ChartEmit = Pick<ChartContext<[
|
|
5
|
+
type ChartEmit = Pick<ChartContext<['resized', 'loaded']>, 'emit'>;
|
|
7
6
|
type ChartProps = {
|
|
8
7
|
chartHeightRatio: {
|
|
9
8
|
type: NumberConstructor;
|
|
@@ -32,17 +31,17 @@ export declare const chartEmits: string[];
|
|
|
32
31
|
type Chart = {
|
|
33
32
|
dataHasHighlights: any;
|
|
34
33
|
loadedData: any;
|
|
35
|
-
xAxisYearFormat: (year:
|
|
34
|
+
xAxisYearFormat: (year: number | string) => number | string;
|
|
36
35
|
elementsMaxBBox: ({ selector, defaultWidth, defaultHeight }?: {
|
|
37
36
|
selector?: any;
|
|
38
37
|
defaultWidth?: any;
|
|
39
38
|
defaultHeight?: any;
|
|
40
|
-
}) =>
|
|
39
|
+
}) => {
|
|
41
40
|
width: any;
|
|
42
41
|
height: any;
|
|
43
|
-
}
|
|
42
|
+
};
|
|
44
43
|
d3Formatter: any;
|
|
45
44
|
baseHeightRatio: any;
|
|
46
45
|
};
|
|
47
|
-
export declare function useChart(resizableRef: Ref<ComponentPublicInstance<HTMLElement> | null>, props: ChartProps, { emit }: ChartEmit, isLoaded: Ref<boolean>, onResized?:
|
|
46
|
+
export declare function useChart(resizableRef: Ref<ComponentPublicInstance<HTMLElement> | null>, props: ChartProps, { emit }: ChartEmit, isLoaded: Ref<boolean>, onResized?: () => void, afterLoaded?: () => Promise<any>): Chart;
|
|
48
47
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { MaybeRefOrGetter } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
export declare function useSendEmail(email: MaybeRefOrGetter<string>, action?: string, emailField?: string, tracker?: string, referrer?: string | null, defaultGroups?: string[] | string): {
|
|
5
4
|
send: () => Promise<unknown>;
|
|
6
5
|
};
|
package/dist/lib/config.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Ref } from
|
|
1
|
+
import { Ref } from '@vue/runtime-core';
|
|
2
|
+
|
|
2
3
|
type ConfigMap = {
|
|
3
4
|
[key: string]: any;
|
|
4
5
|
};
|
|
@@ -8,7 +9,7 @@ export declare class Config {
|
|
|
8
9
|
constructor(values?: {});
|
|
9
10
|
merge(values?: {}): {};
|
|
10
11
|
set(key: string, value: any): any;
|
|
11
|
-
get(key: string, defaultValue?:
|
|
12
|
+
get(key: string, defaultValue?: NonNullable<unknown> | null): any;
|
|
12
13
|
is(key: string): boolean;
|
|
13
14
|
isnt(key: string): boolean;
|
|
14
15
|
scope(name: string): any;
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// <reference types="vue-i18n" />
|
|
3
3
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
4
4
|
chartHeightRatio: {
|
|
5
|
-
type: NumberConstructor;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}; /**
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
9
8
|
* Color of each highlighted bar (uses the CSS variable --bar-highlight-color by default)
|
|
10
9
|
*/
|
|
11
10
|
data: {
|
|
@@ -115,10 +114,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
115
114
|
formatXDatum: (d: any) => any;
|
|
116
115
|
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, ("resized" | "loaded")[], "resized" | "loaded", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
117
116
|
chartHeightRatio: {
|
|
118
|
-
type: NumberConstructor;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}; /**
|
|
117
|
+
type: NumberConstructor;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
122
120
|
* Color of each highlighted bar (uses the CSS variable --bar-highlight-color by default)
|
|
123
121
|
*/
|
|
124
122
|
data: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
type ColumnBar = {
|
|
5
4
|
datum: {
|
|
6
5
|
[timeSerie: string]: any;
|
|
@@ -15,7 +14,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
15
14
|
type: NumberConstructor;
|
|
16
15
|
};
|
|
17
16
|
data: {
|
|
18
|
-
default: () => string | any[];
|
|
17
|
+
default: () => string | any[]; /**
|
|
18
|
+
* Color of each highlighted column (uses the CSS variable --column-color by default)
|
|
19
|
+
*/
|
|
19
20
|
validator(value: string): boolean;
|
|
20
21
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
21
22
|
};
|
|
@@ -215,7 +216,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
215
216
|
type: NumberConstructor;
|
|
216
217
|
};
|
|
217
218
|
data: {
|
|
218
|
-
default: () => string | any[];
|
|
219
|
+
default: () => string | any[]; /**
|
|
220
|
+
* Color of each highlighted column (uses the CSS variable --column-color by default)
|
|
221
|
+
*/
|
|
219
222
|
validator(value: string): boolean;
|
|
220
223
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
221
224
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
1
2
|
/// <reference types="@/shims-vue" />
|
|
2
3
|
/// <reference types="vue-i18n" />
|
|
3
4
|
import * as d3 from 'd3';
|
|
4
|
-
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
5
5
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
6
|
chartHeightRatio: {
|
|
7
7
|
type: NumberConstructor;
|
|
8
8
|
};
|
|
9
9
|
data: {
|
|
10
|
-
default: () => string | any[];
|
|
10
|
+
default: () => string | any[]; /**
|
|
11
|
+
* Enforce a width for each column's label
|
|
12
|
+
*/
|
|
11
13
|
validator(value: string): boolean;
|
|
12
14
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
13
15
|
};
|
|
@@ -20,7 +22,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
20
22
|
type: BooleanConstructor;
|
|
21
23
|
};
|
|
22
24
|
socialModeRatio: {
|
|
23
|
-
default: number;
|
|
25
|
+
default: number; /**
|
|
26
|
+
* Name of the series (to get the value from in the data collection objects)
|
|
27
|
+
*/
|
|
24
28
|
type: NumberConstructor;
|
|
25
29
|
};
|
|
26
30
|
/**
|
|
@@ -56,7 +60,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
56
60
|
* @see https://github.com/d3/d3-axis#axis_ticks
|
|
57
61
|
*/
|
|
58
62
|
xAxisTicks: {
|
|
59
|
-
type: (
|
|
63
|
+
type: (NumberConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
60
64
|
default: null;
|
|
61
65
|
};
|
|
62
66
|
/**
|
|
@@ -75,7 +79,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
75
79
|
* @see https://github.com/d3/d3-axis#axis_ticks
|
|
76
80
|
*/
|
|
77
81
|
yAxisTicks: {
|
|
78
|
-
type: (
|
|
82
|
+
type: (NumberConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
79
83
|
default: number;
|
|
80
84
|
};
|
|
81
85
|
/**
|
|
@@ -105,7 +109,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
105
109
|
type: NumberConstructor;
|
|
106
110
|
};
|
|
107
111
|
data: {
|
|
108
|
-
default: () => string | any[];
|
|
112
|
+
default: () => string | any[]; /**
|
|
113
|
+
* Enforce a width for each column's label
|
|
114
|
+
*/
|
|
109
115
|
validator(value: string): boolean;
|
|
110
116
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
111
117
|
};
|
|
@@ -118,7 +124,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
118
124
|
type: BooleanConstructor;
|
|
119
125
|
};
|
|
120
126
|
socialModeRatio: {
|
|
121
|
-
default: number;
|
|
127
|
+
default: number; /**
|
|
128
|
+
* Name of the series (to get the value from in the data collection objects)
|
|
129
|
+
*/
|
|
122
130
|
type: NumberConstructor;
|
|
123
131
|
};
|
|
124
132
|
/**
|
|
@@ -154,7 +162,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
154
162
|
* @see https://github.com/d3/d3-axis#axis_ticks
|
|
155
163
|
*/
|
|
156
164
|
xAxisTicks: {
|
|
157
|
-
type: (
|
|
165
|
+
type: (NumberConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
158
166
|
default: null;
|
|
159
167
|
};
|
|
160
168
|
/**
|
|
@@ -173,7 +181,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
173
181
|
* @see https://github.com/d3/d3-axis#axis_ticks
|
|
174
182
|
*/
|
|
175
183
|
yAxisTicks: {
|
|
176
|
-
type: (
|
|
184
|
+
type: (NumberConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
177
185
|
default: number;
|
|
178
186
|
};
|
|
179
187
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
|
|
1
2
|
/// <reference types="@/shims-vue" />
|
|
2
3
|
/// <reference types="vue-i18n" />
|
|
3
4
|
import * as d3 from 'd3';
|
|
4
|
-
import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
|
|
5
5
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
6
|
chartHeightRatio: {
|
|
7
7
|
type: NumberConstructor;
|
|
@@ -18,9 +18,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
socialMode: {
|
|
20
20
|
type: BooleanConstructor;
|
|
21
|
-
};
|
|
22
|
-
* Hide bars that have no values.
|
|
23
|
-
*/
|
|
21
|
+
};
|
|
24
22
|
socialModeRatio: {
|
|
25
23
|
default: number;
|
|
26
24
|
type: NumberConstructor;
|
|
@@ -188,9 +186,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
188
186
|
};
|
|
189
187
|
socialMode: {
|
|
190
188
|
type: BooleanConstructor;
|
|
191
|
-
};
|
|
192
|
-
* Hide bars that have no values.
|
|
193
|
-
*/
|
|
189
|
+
};
|
|
194
190
|
socialModeRatio: {
|
|
195
191
|
default: number;
|
|
196
192
|
type: NumberConstructor;
|
|
@@ -317,8 +313,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
317
313
|
};
|
|
318
314
|
};
|
|
319
315
|
}>>, {
|
|
320
|
-
keys: unknown[];
|
|
321
316
|
data: string | Record<string, any> | unknown[];
|
|
317
|
+
keys: unknown[];
|
|
322
318
|
relative: boolean;
|
|
323
319
|
sortBy: string | unknown[];
|
|
324
320
|
xAxisTickFormat: string | Function;
|