@icij/murmur-next 4.0.13 → 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.
Files changed (38) hide show
  1. package/dist/lib/components/ActiveTextTruncate.vue.d.ts +0 -2
  2. package/dist/lib/components/AdvancedLinkForm.vue.d.ts +2 -3
  3. package/dist/lib/components/Brand.vue.d.ts +1 -3
  4. package/dist/lib/components/DigitsInput.vue.d.ts +0 -2
  5. package/dist/lib/components/DonateForm.vue.d.ts +0 -1
  6. package/dist/lib/components/EmbedForm.vue.d.ts +0 -1
  7. package/dist/lib/components/EmbeddableFooter.vue.d.ts +0 -2
  8. package/dist/lib/components/FollowUsPopover.vue.d.ts +0 -1
  9. package/dist/lib/components/GenericHeader.vue.d.ts +340 -361
  10. package/dist/lib/components/HapticCopy.vue.d.ts +1 -0
  11. package/dist/lib/components/ImddbHeader.vue.d.ts +340 -361
  12. package/dist/lib/components/RangePicker.vue.d.ts +4 -4
  13. package/dist/lib/components/ScaleLegend.vue.d.ts +2 -4
  14. package/dist/lib/components/SecretInput.vue.d.ts +0 -2
  15. package/dist/lib/components/SelectableDropdown.vue.d.ts +5 -5
  16. package/dist/lib/components/SharingOptions.vue.d.ts +1 -1
  17. package/dist/lib/components/SignUpForm.vue.d.ts +1 -1
  18. package/dist/lib/components/TinyPagination.vue.d.ts +3 -2
  19. package/dist/lib/datavisualisations/BarChart.vue.d.ts +8 -16
  20. package/dist/lib/datavisualisations/ColumnChart.vue.d.ts +8 -12
  21. package/dist/lib/datavisualisations/LineChart.vue.d.ts +6 -16
  22. package/dist/lib/datavisualisations/StackedBarChart.vue.d.ts +6 -8
  23. package/dist/lib/datavisualisations/StackedColumnChart.vue.d.ts +4 -6
  24. package/dist/lib/main.d.ts +1 -1
  25. package/dist/lib/maps/ChoroplethMap.vue.d.ts +4 -12
  26. package/dist/lib/maps/ChoroplethMapAnnotation.vue.d.ts +0 -2
  27. package/dist/lib/maps/SymbolMap.vue.d.ts +4 -4
  28. package/dist/lib/murmur.css +1 -1
  29. package/dist/lib/murmur.js +10054 -10582
  30. package/dist/lib/murmur.js.map +1 -1
  31. package/dist/lib/murmur.umd.cjs +34 -38
  32. package/dist/lib/murmur.umd.cjs.map +1 -1
  33. package/lib/assets/images/murmur-textured.png +0 -0
  34. package/lib/components/AdvancedLinkForm.vue +22 -32
  35. package/lib/components/HapticCopy.vue +9 -2
  36. package/lib/components/SecretInput.vue +12 -15
  37. package/lib/components/SharingOptions.vue +10 -20
  38. package/package.json +13 -14
@@ -28,7 +28,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
28
28
  * where the dragging for the start value begins.
29
29
  */
30
30
  startOffset: {
31
- type: PropType<string | number>;
31
+ type: PropType<number | string>;
32
32
  default: number;
33
33
  };
34
34
  /**
@@ -36,7 +36,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
36
36
  * the dragging for the end value ends.
37
37
  */
38
38
  endOffset: {
39
- type: PropType<string | number>;
39
+ type: PropType<number | string>;
40
40
  default: number;
41
41
  };
42
42
  /**
@@ -127,7 +127,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
127
127
  * where the dragging for the start value begins.
128
128
  */
129
129
  startOffset: {
130
- type: PropType<string | number>;
130
+ type: PropType<number | string>;
131
131
  default: number;
132
132
  };
133
133
  /**
@@ -135,7 +135,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
135
135
  * the dragging for the end value ends.
136
136
  */
137
137
  endOffset: {
138
- type: PropType<string | number>;
138
+ type: PropType<number | string>;
139
139
  default: number;
140
140
  };
141
141
  /**
@@ -1,6 +1,4 @@
1
1
  import { PropType } from '../../node_modules/vue';
2
- /// <reference types="@/shims-vue" />
3
- /// <reference types="vue-i18n" />
4
2
  import * as d3 from 'd3';
5
3
  type ClassListLegend = {
6
4
  'scale-legend--has-cursor': boolean;
@@ -30,7 +28,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
30
28
  default: number;
31
29
  };
32
30
  colorScale: {
33
- type: PropType<string | ColorScaleFn>;
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<string | ColorScaleFn>;
77
+ type: PropType<ColorScaleFn | string>;
80
78
  default: string;
81
79
  validator(colorScale: ColorScale): boolean;
82
80
  };
@@ -1,5 +1,3 @@
1
- /// <reference types="@/shims-vue" />
2
- /// <reference types="vue-i18n" />
3
1
  declare const _default: import('../../node_modules/vue').DefineComponent<{
4
2
  /**
5
3
  * If true the value is visible by default
@@ -6,14 +6,14 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
6
6
  * The items of the list.
7
7
  */
8
8
  items: {
9
- type: PropType<any[]>;
9
+ type: PropType<Item[]>;
10
10
  default(): never[];
11
11
  };
12
12
  /**
13
13
  * The actual selected item.
14
14
  */
15
15
  modelValue: {
16
- type: PropType<any>;
16
+ type: PropType<Item>;
17
17
  default: null;
18
18
  };
19
19
  /**
@@ -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<any[]>;
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<any>;
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;
@@ -70,7 +70,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
70
70
  }, {
71
71
  style: import('../../node_modules/vue').ComputedRef<CSSProperties>;
72
72
  show: () => void;
73
- embedForm: import('../../node_modules/vue').Ref<null>;
73
+ embedFormId: string;
74
74
  valuesFor: (network: string) => {
75
75
  [key: string]: string;
76
76
  };
@@ -130,8 +130,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
130
130
  }>>, {
131
131
  variant: string;
132
132
  horizontal: boolean;
133
- action: string;
134
133
  referrer: string;
134
+ action: string;
135
135
  emailField: string;
136
136
  defaultGroups: string | string[];
137
137
  noLabel: boolean;
@@ -1,5 +1,6 @@
1
1
  import { PropType } from '../../node_modules/vue';
2
2
  import { Size } from '../enums';
3
+ import { ButtonVariant } from 'bootstrap-vue-next';
3
4
 
4
5
  declare const _default: import('../../node_modules/vue').DefineComponent<{
5
6
  /**
@@ -63,7 +64,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
63
64
  * Navigation button variants
64
65
  */
65
66
  navVariant: {
66
- type: PropType<keyof import('bootstrap-vue-next').BaseButtonVariant>;
67
+ type: PropType<ButtonVariant>;
67
68
  default: string;
68
69
  };
69
70
  /**
@@ -154,7 +155,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
154
155
  * Navigation button variants
155
156
  */
156
157
  navVariant: {
157
- type: PropType<keyof import('bootstrap-vue-next').BaseButtonVariant>;
158
+ type: PropType<ButtonVariant>;
158
159
  default: string;
159
160
  };
160
161
  /**
@@ -16,9 +16,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
16
16
  type: NumberConstructor;
17
17
  };
18
18
  data: {
19
- default: () => string | any[];
19
+ default: () => any[] | string;
20
20
  validator(value: string): boolean;
21
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
21
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
22
22
  };
23
23
  dataUrlType: {
24
24
  default: string;
@@ -30,12 +30,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
30
30
  };
31
31
  socialModeRatio: {
32
32
  default: number;
33
- type: NumberConstructor; /**
34
- * Enforce a width for each bar's label
35
- */
36
- }; /**
37
- * Enforce a width for each bar's label
38
- */
33
+ type: NumberConstructor;
34
+ };
39
35
  /**
40
36
  * Height of each bar
41
37
  */
@@ -133,9 +129,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
133
129
  type: NumberConstructor;
134
130
  };
135
131
  data: {
136
- default: () => string | any[];
132
+ default: () => any[] | string;
137
133
  validator(value: string): boolean;
138
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
134
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
139
135
  };
140
136
  dataUrlType: {
141
137
  default: string;
@@ -147,12 +143,8 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
147
143
  };
148
144
  socialModeRatio: {
149
145
  default: number;
150
- type: NumberConstructor; /**
151
- * Enforce a width for each bar's label
152
- */
153
- }; /**
154
- * Enforce a width for each bar's label
155
- */
146
+ type: NumberConstructor;
147
+ };
156
148
  /**
157
149
  * Height of each bar
158
150
  */
@@ -14,11 +14,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
14
14
  type: NumberConstructor;
15
15
  };
16
16
  data: {
17
- default: () => string | any[]; /**
18
- * Color of each highlighted column (uses the CSS variable --column-color by default)
19
- */
17
+ default: () => any[] | string;
20
18
  validator(value: string): boolean;
21
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
19
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
22
20
  };
23
21
  dataUrlType: {
24
22
  default: string;
@@ -78,7 +76,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
78
76
  * Function to apply to format x axis ticks
79
77
  */
80
78
  xAxisTickFormat: {
81
- type: PropType<string | Function>;
79
+ type: PropType<Function | string>;
82
80
  default: () => {
83
81
  <T>(value: T): T;
84
82
  (): undefined;
@@ -95,7 +93,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
95
93
  * Function to apply to format y axis ticks
96
94
  */
97
95
  yAxisTickFormat: {
98
- type: PropType<string | Function>;
96
+ type: PropType<Function | string>;
99
97
  default: () => {
100
98
  <T>(value: T): T;
101
99
  (): undefined;
@@ -216,11 +214,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
216
214
  type: NumberConstructor;
217
215
  };
218
216
  data: {
219
- default: () => string | any[]; /**
220
- * Color of each highlighted column (uses the CSS variable --column-color by default)
221
- */
217
+ default: () => any[] | string;
222
218
  validator(value: string): boolean;
223
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
219
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
224
220
  };
225
221
  dataUrlType: {
226
222
  default: string;
@@ -280,7 +276,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
280
276
  * Function to apply to format x axis ticks
281
277
  */
282
278
  xAxisTickFormat: {
283
- type: PropType<string | Function>;
279
+ type: PropType<Function | string>;
284
280
  default: () => {
285
281
  <T>(value: T): T;
286
282
  (): undefined;
@@ -297,7 +293,7 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
297
293
  * Function to apply to format y axis ticks
298
294
  */
299
295
  yAxisTickFormat: {
300
- type: PropType<string | Function>;
296
+ type: PropType<Function | string>;
301
297
  default: () => {
302
298
  <T>(value: T): T;
303
299
  (): undefined;
@@ -1,17 +1,13 @@
1
1
  import { ComponentPublicInstance } from '../../node_modules/vue';
2
- /// <reference types="@/shims-vue" />
3
- /// <reference types="vue-i18n" />
4
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: () => string | any[]; /**
11
- * Enforce a width for each column's label
12
- */
8
+ default: () => any[] | string;
13
9
  validator(value: string): boolean;
14
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
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: () => string | any[]; /**
113
- * Enforce a width for each column's label
114
- */
106
+ default: () => any[] | string;
115
107
  validator(value: string): boolean;
116
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
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
1
  import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
2
- /// <reference types="@/shims-vue" />
3
- /// <reference types="vue-i18n" />
4
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: () => string | any[];
8
+ default: () => any[] | string;
11
9
  validator(value: string): boolean;
12
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
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<string | Function>;
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: () => string | any[];
176
+ default: () => any[] | string;
179
177
  validator(value: string): boolean;
180
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
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<string | Function>;
307
+ type: PropType<Function | string>;
310
308
  default: () => {
311
309
  <T>(value: T): T;
312
310
  (): undefined;
@@ -1,15 +1,13 @@
1
1
  import { ComponentPublicInstance } from '../../node_modules/vue';
2
- /// <reference types="@/shims-vue" />
3
- /// <reference types="vue-i18n" />
4
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: () => string | any[];
8
+ default: () => any[] | string;
11
9
  validator(value: string): boolean;
12
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
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: () => string | any[];
214
+ default: () => any[] | string;
217
215
  validator(value: string): boolean;
218
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
216
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
219
217
  };
220
218
  dataUrlType: {
221
219
  default: string;
@@ -54,7 +54,7 @@ declare const Murmur: {
54
54
  readonly maps: ComponentMap;
55
55
  setLocaleMessage(lang: string, message: any): void;
56
56
  mergeLocaleMessage(lang: string, message: any): void;
57
- setLocale(lang: 'fr' | 'en'): "en" | "fr";
57
+ setLocale(lang: "fr" | "en"): "en" | "fr";
58
58
  getLocale(): any;
59
59
  install(app: App<Element>, { useI18n, useBootstrap, useConfig, registerComponents }?: PluginOptions): void;
60
60
  };
@@ -1,21 +1,16 @@
1
1
  import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
2
- /// <reference types="@/shims-vue" />
3
- /// <reference types="vue-i18n" />
4
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: () => string | any[];
8
+ default: () => any[] | string;
11
9
  validator(value: string): boolean;
12
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
10
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
13
11
  };
14
12
  dataUrlType: {
15
13
  default: string;
16
- /**
17
- * Covers the empty values with a hatched pattern.
18
- */
19
14
  validator(value: string): boolean;
20
15
  type: StringConstructor;
21
16
  };
@@ -250,15 +245,12 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
250
245
  type: NumberConstructor;
251
246
  };
252
247
  data: {
253
- default: () => string | any[];
248
+ default: () => any[] | string;
254
249
  validator(value: string): boolean;
255
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
250
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
256
251
  };
257
252
  dataUrlType: {
258
253
  default: string;
259
- /**
260
- * Covers the empty values with a hatched pattern.
261
- */
262
254
  validator(value: string): boolean;
263
255
  type: StringConstructor;
264
256
  };
@@ -1,5 +1,3 @@
1
- /// <reference types="@/shims-vue" />
2
- /// <reference types="vue-i18n" />
3
1
  export declare const PLACEMENTS: {
4
2
  TOP: string;
5
3
  TOPLEFT: string;
@@ -6,9 +6,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
6
6
  type: NumberConstructor;
7
7
  };
8
8
  data: {
9
- default: () => string | any[];
9
+ default: () => any[] | string;
10
10
  validator(value: string): boolean;
11
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
11
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
12
12
  };
13
13
  dataUrlType: {
14
14
  default: string;
@@ -136,9 +136,9 @@ declare const _default: import('../../node_modules/vue').DefineComponent<{
136
136
  type: NumberConstructor;
137
137
  };
138
138
  data: {
139
- default: () => string | any[];
139
+ default: () => any[] | string;
140
140
  validator(value: string): boolean;
141
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
141
+ type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
142
142
  };
143
143
  dataUrlType: {
144
144
  default: string;