@icij/murmur-next 4.0.12 → 4.0.14
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 +1 -2
- package/dist/lib/components/AccordionWrapper.vue.d.ts +1 -2
- package/dist/lib/components/ActiveTextTruncate.vue.d.ts +0 -2
- package/dist/lib/components/AdvancedLinkForm.vue.d.ts +6 -8
- package/dist/lib/components/Brand.vue.d.ts +1 -3
- package/dist/lib/components/BrandExpansion.vue.d.ts +2 -3
- 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 +5 -6
- package/dist/lib/components/DigitsInput.vue.d.ts +0 -2
- package/dist/lib/components/DonateForm.vue.d.ts +4 -6
- package/dist/lib/components/EmbedForm.vue.d.ts +4 -6
- package/dist/lib/components/EmbeddableFooter.vue.d.ts +0 -2
- package/dist/lib/components/FollowUsPopover.vue.d.ts +4 -6
- package/dist/lib/components/GenericFooter.vue.d.ts +1 -2
- package/dist/lib/components/GenericHeader.vue.d.ts +399 -421
- package/dist/lib/components/HapticCopy.vue.d.ts +9 -10
- package/dist/lib/components/ImddbHeader.vue.d.ts +398 -420
- package/dist/lib/components/OrdinalLegend.vue.d.ts +1 -2
- package/dist/lib/components/RangePicker.vue.d.ts +6 -7
- package/dist/lib/components/ResponsiveIframe.vue.d.ts +2 -4
- package/dist/lib/components/ScaleLegend.vue.d.ts +3 -5
- package/dist/lib/components/SecretInput.vue.d.ts +0 -2
- package/dist/lib/components/SelectableDropdown.vue.d.ts +8 -8
- package/dist/lib/components/SharingOptions.vue.d.ts +2 -3
- package/dist/lib/components/SharingOptionsLink.vue.d.ts +1 -2
- package/dist/lib/components/SignUpForm.vue.d.ts +6 -7
- package/dist/lib/components/SlideUpDown.vue.d.ts +2 -3
- package/dist/lib/components/TexturedDeck.vue.d.ts +1 -2
- package/dist/lib/components/TinyPagination.vue.d.ts +9 -9
- package/dist/lib/composables/chart.d.ts +1 -2
- package/dist/lib/composables/resizeObserver.d.ts +1 -2
- package/dist/lib/composables/sendEmail.d.ts +1 -2
- package/dist/lib/config.d.ts +1 -0
- package/dist/lib/datavisualisations/BarChart.vue.d.ts +27 -21
- package/dist/lib/datavisualisations/ColumnChart.vue.d.ts +9 -14
- package/dist/lib/datavisualisations/LineChart.vue.d.ts +7 -17
- package/dist/lib/datavisualisations/StackedBarChart.vue.d.ts +7 -9
- package/dist/lib/datavisualisations/StackedColumnChart.vue.d.ts +5 -7
- package/dist/lib/i18n.d.ts +1 -0
- package/dist/lib/main.d.ts +4 -5
- package/dist/lib/maps/ChoroplethMap.vue.d.ts +6 -14
- package/dist/lib/maps/ChoroplethMapAnnotation.vue.d.ts +0 -2
- package/dist/lib/maps/SymbolMap.vue.d.ts +5 -6
- package/dist/lib/murmur.css +1 -1
- package/dist/lib/murmur.js +14002 -13433
- package/dist/lib/murmur.js.map +1 -1
- package/dist/lib/murmur.umd.cjs +46 -42
- package/dist/lib/murmur.umd.cjs.map +1 -1
- package/dist/lib/types.d.ts +3 -6
- package/dist/lib/utils/assets.d.ts +1 -1
- package/dist/lib/utils/iframe-resizer.d.ts +1 -1
- package/dist/lib/utils/placeholder.d.ts +1 -0
- package/dist/lib/utils/placeholderTypes.d.ts +2 -3
- package/lib/assets/images/murmur-textured.png +0 -0
- package/lib/components/AdvancedLinkForm.vue +22 -32
- package/lib/components/HapticCopy.vue +10 -3
- package/lib/components/SecretInput.vue +12 -15
- package/lib/components/SelectableDropdown.vue +24 -18
- package/lib/components/SharingOptions.vue +10 -20
- package/lib/datavisualisations/BarChart.vue +15 -10
- package/package.json +13 -14
|
@@ -1,7 +1,6 @@
|
|
|
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
|
+
|
|
5
4
|
type DragDropValue = {
|
|
6
5
|
detail: number;
|
|
7
6
|
};
|
|
@@ -29,7 +28,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
29
28
|
* where the dragging for the start value begins.
|
|
30
29
|
*/
|
|
31
30
|
startOffset: {
|
|
32
|
-
type: PropType<
|
|
31
|
+
type: PropType<number | string>;
|
|
33
32
|
default: number;
|
|
34
33
|
};
|
|
35
34
|
/**
|
|
@@ -37,7 +36,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
37
36
|
* the dragging for the end value ends.
|
|
38
37
|
*/
|
|
39
38
|
endOffset: {
|
|
40
|
-
type: PropType<
|
|
39
|
+
type: PropType<number | string>;
|
|
41
40
|
default: number;
|
|
42
41
|
};
|
|
43
42
|
/**
|
|
@@ -128,7 +127,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
128
127
|
* where the dragging for the start value begins.
|
|
129
128
|
*/
|
|
130
129
|
startOffset: {
|
|
131
|
-
type: PropType<
|
|
130
|
+
type: PropType<number | string>;
|
|
132
131
|
default: number;
|
|
133
132
|
};
|
|
134
133
|
/**
|
|
@@ -136,7 +135,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
136
135
|
* the dragging for the end value ends.
|
|
137
136
|
*/
|
|
138
137
|
endOffset: {
|
|
139
|
-
type: PropType<
|
|
138
|
+
type: PropType<number | string>;
|
|
140
139
|
default: number;
|
|
141
140
|
};
|
|
142
141
|
/**
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/// <reference types="vue-i18n" />
|
|
4
|
-
import type { Parent } from 'pym.js';
|
|
1
|
+
import { Parent } from 'pym.js';
|
|
2
|
+
|
|
5
3
|
type StartsWithIcijIframe = `icij-iframe-${string}`;
|
|
6
4
|
type ResponsiveIframeData = {
|
|
7
5
|
iframeId: StartsWithIcijIframe;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
|
-
import * as d3 from 'd3';
|
|
4
1
|
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
import * as d3 from 'd3';
|
|
5
3
|
type ClassListLegend = {
|
|
6
4
|
'scale-legend--has-cursor': boolean;
|
|
7
5
|
};
|
|
@@ -30,7 +28,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
30
28
|
default: number;
|
|
31
29
|
};
|
|
32
30
|
colorScale: {
|
|
33
|
-
type: PropType<
|
|
31
|
+
type: PropType<ColorScaleFn | string>;
|
|
34
32
|
default: string;
|
|
35
33
|
validator(colorScale: ColorScale): boolean;
|
|
36
34
|
};
|
|
@@ -76,7 +74,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
76
74
|
default: number;
|
|
77
75
|
};
|
|
78
76
|
colorScale: {
|
|
79
|
-
type: PropType<
|
|
77
|
+
type: PropType<ColorScaleFn | string>;
|
|
80
78
|
default: string;
|
|
81
79
|
validator(colorScale: ColorScale): boolean;
|
|
82
80
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
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
|
/**
|
|
7
6
|
* The items of the list.
|
|
8
7
|
*/
|
|
9
8
|
items: {
|
|
10
|
-
type: PropType<
|
|
9
|
+
type: PropType<Item[]>;
|
|
11
10
|
default(): never[];
|
|
12
11
|
};
|
|
13
12
|
/**
|
|
14
13
|
* The actual selected item.
|
|
15
14
|
*/
|
|
16
15
|
modelValue: {
|
|
17
|
-
type: PropType<
|
|
16
|
+
type: PropType<Item>;
|
|
18
17
|
default: null;
|
|
19
18
|
};
|
|
20
19
|
/**
|
|
@@ -99,7 +98,8 @@ 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;
|
|
102
|
+
serialize: (item: Item) => any;
|
|
103
103
|
scroller: import('../../node_modules/vue').Ref<null>;
|
|
104
104
|
activeItems: import('../../node_modules/vue').Ref<any[]>;
|
|
105
105
|
itemId: (item: Item) => string;
|
|
@@ -108,14 +108,14 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
108
108
|
* The items of the list.
|
|
109
109
|
*/
|
|
110
110
|
items: {
|
|
111
|
-
type: PropType<
|
|
111
|
+
type: PropType<Item[]>;
|
|
112
112
|
default(): never[];
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* The actual selected item.
|
|
116
116
|
*/
|
|
117
117
|
modelValue: {
|
|
118
|
-
type: PropType<
|
|
118
|
+
type: PropType<Item>;
|
|
119
119
|
default: null;
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
@@ -194,8 +194,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
194
194
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
195
195
|
onDeactivate?: ((...args: any[]) => any) | undefined;
|
|
196
196
|
}, {
|
|
197
|
-
hide: boolean;
|
|
198
197
|
modelValue: any;
|
|
198
|
+
hide: boolean;
|
|
199
199
|
multiple: boolean;
|
|
200
200
|
items: any[];
|
|
201
201
|
propagate: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { CSSProperties, PropType } from '../../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
/**
|
|
5
4
|
* SharingOptions
|
|
6
5
|
*/
|
|
@@ -71,7 +70,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
71
70
|
}, {
|
|
72
71
|
style: import('../../node_modules/vue').ComputedRef<CSSProperties>;
|
|
73
72
|
show: () => void;
|
|
74
|
-
|
|
73
|
+
embedFormId: string;
|
|
75
74
|
valuesFor: (network: string) => {
|
|
76
75
|
[key: string]: string;
|
|
77
76
|
};
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -131,8 +130,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
131
130
|
}>>, {
|
|
132
131
|
variant: string;
|
|
133
132
|
horizontal: boolean;
|
|
134
|
-
action: string;
|
|
135
133
|
referrer: string;
|
|
134
|
+
action: string;
|
|
136
135
|
emailField: string;
|
|
137
136
|
defaultGroups: string | string[];
|
|
138
137
|
noLabel: 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;
|
|
@@ -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
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
+
import { ButtonVariant } from 'bootstrap-vue-next';
|
|
4
|
+
|
|
5
5
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
6
|
/**
|
|
7
7
|
* Total items to be stored in pages
|
|
@@ -64,7 +64,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
64
64
|
* Navigation button variants
|
|
65
65
|
*/
|
|
66
66
|
navVariant: {
|
|
67
|
-
type: PropType<
|
|
67
|
+
type: PropType<ButtonVariant>;
|
|
68
68
|
default: string;
|
|
69
69
|
};
|
|
70
70
|
/**
|
|
@@ -80,10 +80,10 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
};
|
|
82
82
|
}, {
|
|
83
|
-
t: import(
|
|
84
|
-
[x: string]: import(
|
|
85
|
-
}, string, import(
|
|
86
|
-
[x: string]: import(
|
|
83
|
+
t: import('vue-i18n').ComposerTranslation<{
|
|
84
|
+
[x: string]: import('@intlify/core-base').LocaleMessage<import('vue-i18n').VueMessageType>;
|
|
85
|
+
}, string, import('@intlify/core-base').RemoveIndexSignature<{
|
|
86
|
+
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
|
87
87
|
}>, never, string, string>;
|
|
88
88
|
currentPageInput: import('../../node_modules/vue').Ref<string | number>;
|
|
89
89
|
paginationClassList: import('../../node_modules/vue').ComputedRef<object>;
|
|
@@ -155,7 +155,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
155
155
|
* Navigation button variants
|
|
156
156
|
*/
|
|
157
157
|
navVariant: {
|
|
158
|
-
type: PropType<
|
|
158
|
+
type: PropType<ButtonVariant>;
|
|
159
159
|
default: string;
|
|
160
160
|
};
|
|
161
161
|
/**
|
|
@@ -183,6 +183,6 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
183
183
|
noNav: boolean;
|
|
184
184
|
previousPageIcon: string | Record<string, any> | unknown[];
|
|
185
185
|
nextPageIcon: string | Record<string, any> | unknown[];
|
|
186
|
-
navVariant: keyof import(
|
|
186
|
+
navVariant: keyof import('bootstrap-vue-next').BaseButtonVariant;
|
|
187
187
|
}, {}>;
|
|
188
188
|
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
1
|
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
4
2
|
import { Ref, SetupContext } from '@vue/runtime-core';
|
|
3
|
+
|
|
5
4
|
type ChartContext<T extends string[]> = SetupContext<[...T, ...string[]]>;
|
|
6
5
|
type ChartEmit = Pick<ChartContext<['resized', 'loaded']>, 'emit'>;
|
|
7
6
|
type ChartProps = {
|
|
@@ -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,16 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
2
|
+
|
|
3
|
+
type Datum = {
|
|
4
|
+
value: number | number[];
|
|
5
|
+
highlight?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
};
|
|
8
|
+
type Bar = {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
} & Datum;
|
|
3
14
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
4
15
|
chartHeightRatio: {
|
|
5
16
|
type: NumberConstructor;
|
|
6
17
|
};
|
|
7
|
-
/**
|
|
8
|
-
* Color of each highlighted bar (uses the CSS variable --bar-highlight-color by default)
|
|
9
|
-
*/
|
|
10
18
|
data: {
|
|
11
|
-
default: () =>
|
|
19
|
+
default: () => any[] | string;
|
|
12
20
|
validator(value: string): boolean;
|
|
13
|
-
type: (
|
|
21
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
14
22
|
};
|
|
15
23
|
dataUrlType: {
|
|
16
24
|
default: string;
|
|
@@ -99,7 +107,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
99
107
|
};
|
|
100
108
|
};
|
|
101
109
|
}, {
|
|
102
|
-
el: import('../../node_modules/vue').Ref<null>;
|
|
110
|
+
el: import('../../node_modules/vue').Ref<ComponentPublicInstance<HTMLElement> | null>;
|
|
103
111
|
dataHasHighlights: any;
|
|
104
112
|
width: import('../../node_modules/vue').Ref<number>;
|
|
105
113
|
height: import('../../node_modules/vue').ComputedRef<number>;
|
|
@@ -109,20 +117,21 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
109
117
|
top: number;
|
|
110
118
|
bottom: number;
|
|
111
119
|
}>;
|
|
112
|
-
labels: import('../../node_modules/vue').ComputedRef<
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
120
|
+
labels: import('../../node_modules/vue').ComputedRef<{
|
|
121
|
+
label: string | undefined;
|
|
122
|
+
x: any;
|
|
123
|
+
y: number;
|
|
124
|
+
}[]>;
|
|
125
|
+
bars: import('../../node_modules/vue').ComputedRef<Bar[]>;
|
|
126
|
+
formatXDatum: (d: number | number[]) => any;
|
|
127
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, {}, string, import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
116
128
|
chartHeightRatio: {
|
|
117
129
|
type: NumberConstructor;
|
|
118
130
|
};
|
|
119
|
-
/**
|
|
120
|
-
* Color of each highlighted bar (uses the CSS variable --bar-highlight-color by default)
|
|
121
|
-
*/
|
|
122
131
|
data: {
|
|
123
|
-
default: () =>
|
|
132
|
+
default: () => any[] | string;
|
|
124
133
|
validator(value: string): boolean;
|
|
125
|
-
type: (
|
|
134
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
126
135
|
};
|
|
127
136
|
dataUrlType: {
|
|
128
137
|
default: string;
|
|
@@ -210,10 +219,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
210
219
|
(): undefined;
|
|
211
220
|
};
|
|
212
221
|
};
|
|
213
|
-
}
|
|
214
|
-
onResized?: ((...args: any[]) => any) | undefined;
|
|
215
|
-
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
216
|
-
}, {
|
|
222
|
+
}>>, {
|
|
217
223
|
data: string | Record<string, any> | unknown[];
|
|
218
224
|
barHeight: number;
|
|
219
225
|
barGap: number;
|
|
@@ -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,11 +14,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
15
14
|
type: NumberConstructor;
|
|
16
15
|
};
|
|
17
16
|
data: {
|
|
18
|
-
default: () =>
|
|
19
|
-
* Color of each highlighted column (uses the CSS variable --column-color by default)
|
|
20
|
-
*/
|
|
17
|
+
default: () => any[] | string;
|
|
21
18
|
validator(value: string): boolean;
|
|
22
|
-
type: (
|
|
19
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
23
20
|
};
|
|
24
21
|
dataUrlType: {
|
|
25
22
|
default: string;
|
|
@@ -79,7 +76,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
79
76
|
* Function to apply to format x axis ticks
|
|
80
77
|
*/
|
|
81
78
|
xAxisTickFormat: {
|
|
82
|
-
type: PropType<
|
|
79
|
+
type: PropType<Function | string>;
|
|
83
80
|
default: () => {
|
|
84
81
|
<T>(value: T): T;
|
|
85
82
|
(): undefined;
|
|
@@ -96,7 +93,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
96
93
|
* Function to apply to format y axis ticks
|
|
97
94
|
*/
|
|
98
95
|
yAxisTickFormat: {
|
|
99
|
-
type: PropType<
|
|
96
|
+
type: PropType<Function | string>;
|
|
100
97
|
default: () => {
|
|
101
98
|
<T>(value: T): T;
|
|
102
99
|
(): undefined;
|
|
@@ -217,11 +214,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
217
214
|
type: NumberConstructor;
|
|
218
215
|
};
|
|
219
216
|
data: {
|
|
220
|
-
default: () =>
|
|
221
|
-
* Color of each highlighted column (uses the CSS variable --column-color by default)
|
|
222
|
-
*/
|
|
217
|
+
default: () => any[] | string;
|
|
223
218
|
validator(value: string): boolean;
|
|
224
|
-
type: (
|
|
219
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
225
220
|
};
|
|
226
221
|
dataUrlType: {
|
|
227
222
|
default: string;
|
|
@@ -281,7 +276,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
281
276
|
* Function to apply to format x axis ticks
|
|
282
277
|
*/
|
|
283
278
|
xAxisTickFormat: {
|
|
284
|
-
type: PropType<
|
|
279
|
+
type: PropType<Function | string>;
|
|
285
280
|
default: () => {
|
|
286
281
|
<T>(value: T): T;
|
|
287
282
|
(): undefined;
|
|
@@ -298,7 +293,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
298
293
|
* Function to apply to format y axis ticks
|
|
299
294
|
*/
|
|
300
295
|
yAxisTickFormat: {
|
|
301
|
-
type: PropType<
|
|
296
|
+
type: PropType<Function | string>;
|
|
302
297
|
default: () => {
|
|
303
298
|
<T>(value: T): T;
|
|
304
299
|
(): undefined;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
|
-
import * as d3 from 'd3';
|
|
4
1
|
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
2
|
+
import * as d3 from 'd3';
|
|
5
3
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
4
|
chartHeightRatio: {
|
|
7
5
|
type: NumberConstructor;
|
|
8
6
|
};
|
|
9
7
|
data: {
|
|
10
|
-
default: () =>
|
|
11
|
-
* Enforce a width for each column's label
|
|
12
|
-
*/
|
|
8
|
+
default: () => any[] | string;
|
|
13
9
|
validator(value: string): boolean;
|
|
14
|
-
type: (
|
|
10
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
15
11
|
};
|
|
16
12
|
dataUrlType: {
|
|
17
13
|
default: string;
|
|
@@ -22,9 +18,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
22
18
|
type: BooleanConstructor;
|
|
23
19
|
};
|
|
24
20
|
socialModeRatio: {
|
|
25
|
-
default: number;
|
|
26
|
-
* Name of the series (to get the value from in the data collection objects)
|
|
27
|
-
*/
|
|
21
|
+
default: number;
|
|
28
22
|
type: NumberConstructor;
|
|
29
23
|
};
|
|
30
24
|
/**
|
|
@@ -109,11 +103,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
109
103
|
type: NumberConstructor;
|
|
110
104
|
};
|
|
111
105
|
data: {
|
|
112
|
-
default: () =>
|
|
113
|
-
* Enforce a width for each column's label
|
|
114
|
-
*/
|
|
106
|
+
default: () => any[] | string;
|
|
115
107
|
validator(value: string): boolean;
|
|
116
|
-
type: (
|
|
108
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
117
109
|
};
|
|
118
110
|
dataUrlType: {
|
|
119
111
|
default: string;
|
|
@@ -124,9 +116,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
124
116
|
type: BooleanConstructor;
|
|
125
117
|
};
|
|
126
118
|
socialModeRatio: {
|
|
127
|
-
default: number;
|
|
128
|
-
* Name of the series (to get the value from in the data collection objects)
|
|
129
|
-
*/
|
|
119
|
+
default: number;
|
|
130
120
|
type: NumberConstructor;
|
|
131
121
|
};
|
|
132
122
|
/**
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
|
-
import * as d3 from 'd3';
|
|
4
1
|
import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
|
|
2
|
+
import * as d3 from 'd3';
|
|
5
3
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
4
|
chartHeightRatio: {
|
|
7
5
|
type: NumberConstructor;
|
|
8
6
|
};
|
|
9
7
|
data: {
|
|
10
|
-
default: () =>
|
|
8
|
+
default: () => any[] | string;
|
|
11
9
|
validator(value: string): boolean;
|
|
12
|
-
type: (
|
|
10
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
13
11
|
};
|
|
14
12
|
dataUrlType: {
|
|
15
13
|
default: string;
|
|
@@ -138,7 +136,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
138
136
|
* function returning the formatted value or a d3's formatter string.
|
|
139
137
|
*/
|
|
140
138
|
xAxisTickFormat: {
|
|
141
|
-
type: PropType<
|
|
139
|
+
type: PropType<Function | string>;
|
|
142
140
|
default: () => {
|
|
143
141
|
<T>(value: T): T;
|
|
144
142
|
(): undefined;
|
|
@@ -175,9 +173,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
175
173
|
type: NumberConstructor;
|
|
176
174
|
};
|
|
177
175
|
data: {
|
|
178
|
-
default: () =>
|
|
176
|
+
default: () => any[] | string;
|
|
179
177
|
validator(value: string): boolean;
|
|
180
|
-
type: (
|
|
178
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
181
179
|
};
|
|
182
180
|
dataUrlType: {
|
|
183
181
|
default: string;
|
|
@@ -306,7 +304,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
306
304
|
* function returning the formatted value or a d3's formatter string.
|
|
307
305
|
*/
|
|
308
306
|
xAxisTickFormat: {
|
|
309
|
-
type: PropType<
|
|
307
|
+
type: PropType<Function | string>;
|
|
310
308
|
default: () => {
|
|
311
309
|
<T>(value: T): T;
|
|
312
310
|
(): undefined;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="vue-i18n" />
|
|
3
|
-
import * as d3 from 'd3';
|
|
4
1
|
import { ComponentPublicInstance } from '../../node_modules/vue';
|
|
2
|
+
import * as d3 from 'd3';
|
|
5
3
|
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
4
|
chartHeightRatio: {
|
|
7
5
|
type: NumberConstructor;
|
|
8
6
|
};
|
|
9
7
|
data: {
|
|
10
|
-
default: () =>
|
|
8
|
+
default: () => any[] | string;
|
|
11
9
|
validator(value: string): boolean;
|
|
12
|
-
type: (
|
|
10
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
13
11
|
};
|
|
14
12
|
dataUrlType: {
|
|
15
13
|
default: string;
|
|
@@ -213,9 +211,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
|
213
211
|
type: NumberConstructor;
|
|
214
212
|
};
|
|
215
213
|
data: {
|
|
216
|
-
default: () =>
|
|
214
|
+
default: () => any[] | string;
|
|
217
215
|
validator(value: string): boolean;
|
|
218
|
-
type: (
|
|
216
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
219
217
|
};
|
|
220
218
|
dataUrlType: {
|
|
221
219
|
default: string;
|
package/dist/lib/i18n.d.ts
CHANGED
package/dist/lib/main.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="@/shims-vue" />
|
|
2
|
-
/// <reference types="node_modules/vue-i18n/dist/vue-i18n" />
|
|
3
1
|
import { App, Component, DefineComponent } from '../node_modules/vue';
|
|
2
|
+
|
|
4
3
|
export { default as AccordionWrapper } from './components/AccordionWrapper.vue';
|
|
5
4
|
export { default as AccordionStep } from './components/AccordionStep.vue';
|
|
6
5
|
export { default as ActiveTextTruncate } from './components/ActiveTextTruncate.vue';
|
|
@@ -48,14 +47,14 @@ type PluginOptions = {
|
|
|
48
47
|
registerComponents?: boolean;
|
|
49
48
|
};
|
|
50
49
|
declare const Murmur: {
|
|
51
|
-
readonly i18n: import(
|
|
52
|
-
readonly config: import(
|
|
50
|
+
readonly i18n: import('vue-i18n').I18n<{}, {}, {}, string, boolean>;
|
|
51
|
+
readonly config: import('./config').Config;
|
|
53
52
|
readonly components: ComponentMap;
|
|
54
53
|
readonly datavisualisations: ComponentMap;
|
|
55
54
|
readonly maps: ComponentMap;
|
|
56
55
|
setLocaleMessage(lang: string, message: any): void;
|
|
57
56
|
mergeLocaleMessage(lang: string, message: any): void;
|
|
58
|
-
setLocale(lang:
|
|
57
|
+
setLocale(lang: "fr" | "en"): "en" | "fr";
|
|
59
58
|
getLocale(): any;
|
|
60
59
|
install(app: App<Element>, { useI18n, useBootstrap, useConfig, registerComponents }?: PluginOptions): void;
|
|
61
60
|
};
|