@icij/murmur-next 4.0.5 → 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 +78 -0
- package/dist/lib/components/AccordionWrapper.vue.d.ts +32 -0
- package/dist/lib/components/ActiveTextTruncate.vue.d.ts +101 -0
- package/dist/lib/components/AdvancedLinkForm.vue.d.ts +167 -0
- package/dist/lib/components/Brand.vue.d.ts +55 -0
- package/dist/lib/components/BrandExpansion.vue.d.ts +104 -0
- package/dist/lib/components/ConfirmButton.vue.d.ts +157 -0
- package/dist/lib/components/ContentPlaceholder.vue.d.ts +43 -0
- package/dist/lib/components/CustomPagination.vue.d.ts +129 -0
- package/dist/lib/components/DigitsInput.vue.d.ts +66 -0
- package/dist/lib/components/DonateForm.vue.d.ts +45 -0
- package/dist/lib/components/EmbedForm.vue.d.ts +120 -0
- package/dist/lib/components/EmbeddableFooter.vue.d.ts +103 -0
- package/dist/lib/components/FollowUsPopover.vue.d.ts +15 -0
- package/dist/lib/components/GenericFooter.vue.d.ts +46 -0
- package/dist/lib/components/GenericHeader.vue.d.ts +927 -0
- package/dist/lib/components/HapticCopy.vue.d.ts +154 -0
- package/dist/lib/components/ImddbHeader.vue.d.ts +959 -0
- package/dist/lib/components/OrdinalLegend.vue.d.ts +86 -0
- package/dist/lib/components/RangePicker.vue.d.ts +192 -0
- package/dist/lib/components/ResponsiveIframe.vue.d.ts +44 -0
- package/dist/lib/components/ScaleLegend.vue.d.ts +101 -0
- package/dist/lib/components/SecretInput.vue.d.ts +99 -0
- package/dist/lib/components/SelectableDropdown.vue.d.ts +209 -0
- package/dist/lib/components/SharingOptions.vue.d.ts +152 -0
- package/dist/lib/components/SharingOptionsLink.vue.d.ts +199 -0
- package/dist/lib/components/SignUpForm.vue.d.ts +140 -0
- package/dist/lib/components/SlideUpDown.vue.d.ts +73 -0
- package/dist/lib/components/TexturedDeck.vue.d.ts +88 -0
- package/dist/lib/components/TinyPagination.vue.d.ts +187 -0
- package/dist/lib/composables/chart.d.ts +47 -0
- package/dist/lib/composables/resizeObserver.d.ts +21 -0
- package/dist/lib/composables/sendEmail.d.ts +5 -0
- package/dist/lib/config.d.ts +20 -0
- package/dist/lib/config.default.d.ts +34 -0
- package/dist/lib/datavisualisations/BarChart.vue.d.ts +232 -0
- package/dist/lib/datavisualisations/ColumnChart.vue.d.ts +407 -0
- package/dist/lib/datavisualisations/LineChart.vue.d.ts +208 -0
- package/dist/lib/datavisualisations/StackedBarChart.vue.d.ts +338 -0
- package/dist/lib/datavisualisations/StackedColumnChart.vue.d.ts +412 -0
- package/dist/lib/enums.d.ts +32 -0
- package/dist/lib/i18n.d.ts +5 -0
- package/dist/lib/keys.d.ts +2 -0
- package/dist/lib/main.d.ts +55 -0
- package/dist/lib/maps/ChoroplethMap.vue.d.ts +466 -0
- package/dist/lib/maps/ChoroplethMapAnnotation.vue.d.ts +188 -0
- package/dist/lib/maps/SymbolMap.vue.d.ts +276 -0
- package/dist/lib/murmur.css +1 -0
- package/dist/lib/murmur.js +46019 -0
- package/dist/lib/murmur.js.map +1 -0
- package/dist/lib/murmur.umd.cjs +845 -0
- package/dist/lib/murmur.umd.cjs.map +1 -0
- package/dist/lib/types.d.ts +41 -0
- package/dist/lib/utils/animation.d.ts +8 -0
- package/dist/lib/utils/assets.d.ts +2 -0
- package/dist/lib/utils/clipboard.d.ts +2 -0
- package/dist/lib/utils/iframe-resizer.d.ts +11 -0
- package/dist/lib/utils/placeholder.d.ts +13 -0
- package/dist/lib/utils/placeholderTypes.d.ts +17 -0
- package/dist/lib/utils/strings.d.ts +1 -0
- package/lib/components/RangePicker.vue +3 -4
- package/package.json +6 -4
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
import { Accordion, Step } from '../types';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
5
|
+
/**
|
|
6
|
+
* Step name
|
|
7
|
+
*/
|
|
8
|
+
step: {
|
|
9
|
+
type: (SymbolConstructor | StringConstructor | (() => Step))[];
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Title of the step card
|
|
14
|
+
*/
|
|
15
|
+
title: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Content of the step card
|
|
21
|
+
*/
|
|
22
|
+
content: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Force card expansion/collapse
|
|
28
|
+
*/
|
|
29
|
+
active: {
|
|
30
|
+
type: PropType<boolean | undefined>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
isFirst: import('../../node_modules/vue').ComputedRef<boolean>;
|
|
35
|
+
isLast: import('../../node_modules/vue').ComputedRef<boolean>;
|
|
36
|
+
isActive: import('../../node_modules/vue').ComputedRef<boolean>;
|
|
37
|
+
isPrevious: import('../../node_modules/vue').ComputedRef<boolean>;
|
|
38
|
+
nextStep: () => void;
|
|
39
|
+
previousStep: () => void;
|
|
40
|
+
accordion: Accordion | undefined;
|
|
41
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, ("next-step" | "previous-step")[], "next-step" | "previous-step", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
42
|
+
/**
|
|
43
|
+
* Step name
|
|
44
|
+
*/
|
|
45
|
+
step: {
|
|
46
|
+
type: (SymbolConstructor | StringConstructor | (() => Step))[];
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Title of the step card
|
|
51
|
+
*/
|
|
52
|
+
title: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Content of the step card
|
|
58
|
+
*/
|
|
59
|
+
content: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Force card expansion/collapse
|
|
65
|
+
*/
|
|
66
|
+
active: {
|
|
67
|
+
type: PropType<boolean | undefined>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onNext-step"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onPrevious-step"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
content: string;
|
|
75
|
+
active: boolean | undefined;
|
|
76
|
+
title: string;
|
|
77
|
+
}, {}>;
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
import { Step } from '../types';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
5
|
+
step: {
|
|
6
|
+
type: (SymbolConstructor | StringConstructor | (() => Step))[];
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
steps: {
|
|
10
|
+
type: PropType<Step[]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
emitAccordionNextStepEvent: () => void;
|
|
15
|
+
emitAccordionPreviousStepEvent: () => void;
|
|
16
|
+
isActiveStep: (step: Step) => boolean;
|
|
17
|
+
isPreviousStep: (step: Step) => boolean;
|
|
18
|
+
isFirstStep: (step: Step) => boolean;
|
|
19
|
+
isLastStep: (step: Step) => boolean;
|
|
20
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, "step-change"[], "step-change", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
21
|
+
step: {
|
|
22
|
+
type: (SymbolConstructor | StringConstructor | (() => Step))[];
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
steps: {
|
|
26
|
+
type: PropType<Step[]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
"onStep-change"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}, {}, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/// <reference types="@/shims-vue" />
|
|
2
|
+
/// <reference types="vue-i18n" />
|
|
3
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* Number of Pixel Per Millisecond for the text transition.
|
|
6
|
+
*/
|
|
7
|
+
ppms: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Maximum width of the fading mask.
|
|
13
|
+
*/
|
|
14
|
+
fadingMaxWidth: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
validator: (value: number) => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Minimum width of the fading mask.
|
|
21
|
+
*/
|
|
22
|
+
fadingMinWidth: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
validator: (value: number) => boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Delay to start moving the text (in milliseconds).
|
|
29
|
+
*/
|
|
30
|
+
delay: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Direction of the truncate
|
|
36
|
+
*/
|
|
37
|
+
direction: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
validator: (value: string) => boolean;
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
el: import('../../node_modules/vue').Ref<null>;
|
|
44
|
+
isFading: import('../../node_modules/vue').ComputedRef<boolean>;
|
|
45
|
+
fadingLeftWidth: import('../../node_modules/vue').ComputedRef<string>;
|
|
46
|
+
fadingRightWidth: import('../../node_modules/vue').ComputedRef<string>;
|
|
47
|
+
textOffsetTransitionDuration: import('../../node_modules/vue').ComputedRef<string>;
|
|
48
|
+
textOffsetTransitionDelay: import('../../node_modules/vue').ComputedRef<string>;
|
|
49
|
+
textFinalOffset: import('../../node_modules/vue').ComputedRef<string>;
|
|
50
|
+
resetTextLivePosition: () => void;
|
|
51
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, ("cancel" | "start" | "end")[], "cancel" | "start" | "end", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
52
|
+
/**
|
|
53
|
+
* Number of Pixel Per Millisecond for the text transition.
|
|
54
|
+
*/
|
|
55
|
+
ppms: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Maximum width of the fading mask.
|
|
61
|
+
*/
|
|
62
|
+
fadingMaxWidth: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
validator: (value: number) => boolean;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Minimum width of the fading mask.
|
|
69
|
+
*/
|
|
70
|
+
fadingMinWidth: {
|
|
71
|
+
type: NumberConstructor;
|
|
72
|
+
default: number;
|
|
73
|
+
validator: (value: number) => boolean;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Delay to start moving the text (in milliseconds).
|
|
77
|
+
*/
|
|
78
|
+
delay: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Direction of the truncate
|
|
84
|
+
*/
|
|
85
|
+
direction: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
validator: (value: string) => boolean;
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
91
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onEnd?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
direction: string;
|
|
96
|
+
ppms: number;
|
|
97
|
+
fadingMaxWidth: number;
|
|
98
|
+
fadingMinWidth: number;
|
|
99
|
+
delay: number;
|
|
100
|
+
}, {}>;
|
|
101
|
+
export default _default;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/// <reference types="@/shims-vue" />
|
|
2
|
+
/**
|
|
3
|
+
* A form with tabs to offer several copy formats to users.
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
6
|
+
/**
|
|
7
|
+
* The link to copy
|
|
8
|
+
*/
|
|
9
|
+
link: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Title associated with the link
|
|
15
|
+
*/
|
|
16
|
+
title: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The forms to display
|
|
22
|
+
*/
|
|
23
|
+
forms: {
|
|
24
|
+
type: ArrayConstructor;
|
|
25
|
+
default: () => string[];
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Index of the selected tab
|
|
29
|
+
*/
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Activate the card integration for the tabs
|
|
36
|
+
*/
|
|
37
|
+
card: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Renders the tabs with the appearance of pill buttons
|
|
42
|
+
*/
|
|
43
|
+
pills: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Makes the tabs and the panels smaller.
|
|
48
|
+
*/
|
|
49
|
+
small: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Makes the tabs and the panels vertical.
|
|
54
|
+
*/
|
|
55
|
+
vertical: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* CSS class (or classes) to apply to the currently active tab.
|
|
60
|
+
*/
|
|
61
|
+
activeNavItemClass: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: null;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* When set to 'true', disables the fade animation on the tabs.
|
|
67
|
+
*/
|
|
68
|
+
noFade: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
};
|
|
71
|
+
}, {
|
|
72
|
+
t: import('vue-i18n').ComposerTranslation<{
|
|
73
|
+
[x: string]: import('@intlify/core-base').LocaleMessage<import('vue-i18n').VueMessageType>;
|
|
74
|
+
}, string, import('@intlify/core-base').RemoveIndexSignature<{
|
|
75
|
+
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
|
76
|
+
}>, never, string, string>;
|
|
77
|
+
titleOrLink: import('../../node_modules/vue').ComputedRef<string>;
|
|
78
|
+
linkAsMarkdown: import('../../node_modules/vue').ComputedRef<string>;
|
|
79
|
+
linkAsHtml: import('../../node_modules/vue').ComputedRef<string>;
|
|
80
|
+
formClasses: import('../../node_modules/vue').ComputedRef<{}>;
|
|
81
|
+
size: import('../../node_modules/vue').ComputedRef<"sm" | "md">;
|
|
82
|
+
showForm: import('../../node_modules/vue').ComputedRef<(name: string) => boolean>;
|
|
83
|
+
selectRaw: () => void;
|
|
84
|
+
selectRich: () => void;
|
|
85
|
+
selectMarkdown: () => void;
|
|
86
|
+
selectHtml: () => void;
|
|
87
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
88
|
+
/**
|
|
89
|
+
* The link to copy
|
|
90
|
+
*/
|
|
91
|
+
link: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: null;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Title associated with the link
|
|
97
|
+
*/
|
|
98
|
+
title: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: null;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* The forms to display
|
|
104
|
+
*/
|
|
105
|
+
forms: {
|
|
106
|
+
type: ArrayConstructor;
|
|
107
|
+
default: () => string[];
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Index of the selected tab
|
|
111
|
+
*/
|
|
112
|
+
modelValue: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Activate the card integration for the tabs
|
|
118
|
+
*/
|
|
119
|
+
card: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Renders the tabs with the appearance of pill buttons
|
|
124
|
+
*/
|
|
125
|
+
pills: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Makes the tabs and the panels smaller.
|
|
130
|
+
*/
|
|
131
|
+
small: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Makes the tabs and the panels vertical.
|
|
136
|
+
*/
|
|
137
|
+
vertical: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* CSS class (or classes) to apply to the currently active tab.
|
|
142
|
+
*/
|
|
143
|
+
activeNavItemClass: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: null;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* When set to 'true', disables the fade animation on the tabs.
|
|
149
|
+
*/
|
|
150
|
+
noFade: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
};
|
|
153
|
+
}>> & {
|
|
154
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
link: string;
|
|
157
|
+
small: boolean;
|
|
158
|
+
title: string;
|
|
159
|
+
vertical: boolean;
|
|
160
|
+
modelValue: number;
|
|
161
|
+
noFade: boolean;
|
|
162
|
+
activeNavItemClass: string;
|
|
163
|
+
card: boolean;
|
|
164
|
+
pills: boolean;
|
|
165
|
+
forms: unknown[];
|
|
166
|
+
}, {}>;
|
|
167
|
+
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// <reference types="@/shims-vue" />
|
|
2
|
+
/// <reference types="vue-i18n" />
|
|
3
|
+
interface BrandProps {
|
|
4
|
+
/**
|
|
5
|
+
* Add a balancing effect to the globe
|
|
6
|
+
*/
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Monochromatic logo's color
|
|
10
|
+
*/
|
|
11
|
+
color?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Logo's background color
|
|
14
|
+
*/
|
|
15
|
+
background?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Logo's size
|
|
18
|
+
*/
|
|
19
|
+
size?: number | string;
|
|
20
|
+
/**
|
|
21
|
+
* Force the width of the logo to be the same as the height
|
|
22
|
+
*/
|
|
23
|
+
square?: boolean;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BrandProps>, {
|
|
26
|
+
color: undefined;
|
|
27
|
+
background: undefined;
|
|
28
|
+
size: string;
|
|
29
|
+
}>, {}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, {}, string, import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BrandProps>, {
|
|
30
|
+
color: undefined;
|
|
31
|
+
background: undefined;
|
|
32
|
+
size: string;
|
|
33
|
+
}>>>, {
|
|
34
|
+
color: string;
|
|
35
|
+
background: string;
|
|
36
|
+
size: string | number;
|
|
37
|
+
}, {}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('../../node_modules/vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('../../node_modules/vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { PropType } from '../../node_modules/vue';
|
|
2
|
+
import { BrandMode } from '../enums';
|
|
3
|
+
import { BrandExpansionStyle } from '../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A component to create variations of ICIJ logo with text
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
9
|
+
/**
|
|
10
|
+
* Add a balancing effect to the globe
|
|
11
|
+
*/
|
|
12
|
+
animated: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Monochromatic logo's color
|
|
17
|
+
*/
|
|
18
|
+
color: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Logo's background color
|
|
24
|
+
*/
|
|
25
|
+
background: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: null;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Logo's size
|
|
31
|
+
*/
|
|
32
|
+
size: {
|
|
33
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Brand mode ("short", "medium", "long")
|
|
38
|
+
*/
|
|
39
|
+
mode: {
|
|
40
|
+
type: PropType<BrandMode>;
|
|
41
|
+
default: BrandMode;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Reverse color of the main text to white if no `color` is given
|
|
45
|
+
*/
|
|
46
|
+
dark: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
};
|
|
49
|
+
}, unknown, unknown, {
|
|
50
|
+
baseWidth(): number;
|
|
51
|
+
width(): string;
|
|
52
|
+
height(): string;
|
|
53
|
+
sizeAsNumber(): number;
|
|
54
|
+
style(): BrandExpansionStyle;
|
|
55
|
+
}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, {}, string, import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
56
|
+
/**
|
|
57
|
+
* Add a balancing effect to the globe
|
|
58
|
+
*/
|
|
59
|
+
animated: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Monochromatic logo's color
|
|
64
|
+
*/
|
|
65
|
+
color: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Logo's background color
|
|
71
|
+
*/
|
|
72
|
+
background: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: null;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Logo's size
|
|
78
|
+
*/
|
|
79
|
+
size: {
|
|
80
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Brand mode ("short", "medium", "long")
|
|
85
|
+
*/
|
|
86
|
+
mode: {
|
|
87
|
+
type: PropType<BrandMode>;
|
|
88
|
+
default: BrandMode;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Reverse color of the main text to white if no `color` is given
|
|
92
|
+
*/
|
|
93
|
+
dark: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
};
|
|
96
|
+
}>>, {
|
|
97
|
+
color: string;
|
|
98
|
+
background: string;
|
|
99
|
+
size: string | number;
|
|
100
|
+
dark: boolean;
|
|
101
|
+
animated: boolean;
|
|
102
|
+
mode: BrandMode;
|
|
103
|
+
}, {}>;
|
|
104
|
+
export default _default;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { PopoverPlacement } from 'bootstrap-vue-next';
|
|
2
|
+
import { ComponentPublicInstance, PropType } from '../../node_modules/vue';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ConfirmButton
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: import('../../node_modules/vue').DefineComponent<{
|
|
8
|
+
/**
|
|
9
|
+
* Confirmation message visible in the tooltip upon user's click
|
|
10
|
+
*/
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A description text to show under the confirmation label
|
|
17
|
+
*/
|
|
18
|
+
description: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Disable the closing button
|
|
24
|
+
*/
|
|
25
|
+
noCloseButton: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The confirmation callback
|
|
30
|
+
*/
|
|
31
|
+
confirmed: {
|
|
32
|
+
type: FunctionConstructor;
|
|
33
|
+
default: (...args: any[]) => void;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The cancellation callback
|
|
37
|
+
*/
|
|
38
|
+
cancelled: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
default: (...args: any[]) => void;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Label for 'Yes' button
|
|
44
|
+
*/
|
|
45
|
+
yes: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Label for 'No' button
|
|
51
|
+
*/
|
|
52
|
+
no: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Tooltip position
|
|
58
|
+
*/
|
|
59
|
+
placement: {
|
|
60
|
+
type: PropType<PopoverPlacement>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* HTML tag to render this component to.
|
|
65
|
+
*/
|
|
66
|
+
tag: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
showTooltip: import('../../node_modules/vue').Ref<{
|
|
72
|
+
valueOf: () => boolean;
|
|
73
|
+
}>;
|
|
74
|
+
uniqComponentId: string;
|
|
75
|
+
cancel: () => void;
|
|
76
|
+
confirm: () => void;
|
|
77
|
+
confirmationTooltip: import('../../node_modules/vue').Ref<ComponentPublicInstance | null>;
|
|
78
|
+
toggleConfirmationTooltip: () => void;
|
|
79
|
+
}, unknown, {}, {}, import('../../node_modules/vue').ComponentOptionsMixin, import('../../node_modules/vue').ComponentOptionsMixin, ("toggled" | "cancelled" | "confirmed")[], "toggled" | "cancelled" | "confirmed", import('../../node_modules/vue').PublicProps, Readonly<import('../../node_modules/vue').ExtractPropTypes<{
|
|
80
|
+
/**
|
|
81
|
+
* Confirmation message visible in the tooltip upon user's click
|
|
82
|
+
*/
|
|
83
|
+
label: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* A description text to show under the confirmation label
|
|
89
|
+
*/
|
|
90
|
+
description: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: null;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Disable the closing button
|
|
96
|
+
*/
|
|
97
|
+
noCloseButton: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* The confirmation callback
|
|
102
|
+
*/
|
|
103
|
+
confirmed: {
|
|
104
|
+
type: FunctionConstructor;
|
|
105
|
+
default: (...args: any[]) => void;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* The cancellation callback
|
|
109
|
+
*/
|
|
110
|
+
cancelled: {
|
|
111
|
+
type: FunctionConstructor;
|
|
112
|
+
default: (...args: any[]) => void;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Label for 'Yes' button
|
|
116
|
+
*/
|
|
117
|
+
yes: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Label for 'No' button
|
|
123
|
+
*/
|
|
124
|
+
no: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Tooltip position
|
|
130
|
+
*/
|
|
131
|
+
placement: {
|
|
132
|
+
type: PropType<PopoverPlacement>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* HTML tag to render this component to.
|
|
137
|
+
*/
|
|
138
|
+
tag: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
}>> & {
|
|
143
|
+
onToggled?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onCancelled?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
onConfirmed?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
tag: string;
|
|
148
|
+
label: string;
|
|
149
|
+
placement: PopoverPlacement;
|
|
150
|
+
cancelled: Function;
|
|
151
|
+
confirmed: Function;
|
|
152
|
+
description: string;
|
|
153
|
+
noCloseButton: boolean;
|
|
154
|
+
yes: string;
|
|
155
|
+
no: string;
|
|
156
|
+
}, {}>;
|
|
157
|
+
export default _default;
|