fds-vue-core 8.13.0 → 8.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -9
- package/components.d.ts +2 -0
- package/dist/components/BankId/FdsBankIdQr/FdsBankIdQr.vue.d.ts +7 -5
- package/dist/components/BankId/FdsBankIdStatusAlert/FdsBankIdStatusAlert.vue.d.ts +1 -1
- package/dist/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue.d.ts +1 -1
- package/dist/components/Blocks/FdsBlockLink/FdsBlockLink.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonCopy/FdsButtonCopy.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonDownload/FdsButtonDownload.vue.d.ts +2 -2
- package/dist/components/Buttons/FdsButtonIcon/FdsButtonIcon.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonTertiary/FdsButtonTertiary.vue.d.ts +1 -1
- package/dist/components/FdsAppVersion/FdsAppVersion.vue.d.ts +7 -0
- package/dist/components/FdsAppVersion/types.d.ts +8 -0
- package/dist/components/FdsDrawer/FdsDrawer.vue.d.ts +1 -1
- package/dist/components/FdsIcon/FdsIcon.vue.d.ts +2 -2
- package/dist/components/FdsModal/FdsModal.vue.d.ts +1 -1
- package/dist/components/FdsPopover/FdsPopover.vue.d.ts +9 -7
- package/dist/components/FdsSearchSelect/FdsSearchSelect.vue.d.ts +1 -1
- package/dist/components/FdsSearchSelectPro/FdsSearchSelectPro.vue.d.ts +2 -2
- package/dist/components/FdsSpinner/FdsSpinner.vue.d.ts +1 -1
- package/dist/components/Form/FdsCheckbox/FdsCheckbox.vue.d.ts +2 -2
- package/dist/components/Form/FdsInput/FdsInput.vue.d.ts +2 -2
- package/dist/components/Form/FdsPhonenumber/FdsPhonenumber.vue.d.ts +4 -4
- package/dist/components/Form/FdsPhonenumber/FdsPhonenumberCountryPicker.vue.d.ts +1 -1
- package/dist/components/Form/FdsRadio/FdsRadio.vue.d.ts +4 -4
- package/dist/components/Form/FdsSsn/FdsSsn.vue.d.ts +5 -5
- package/dist/components/Form/FdsSwitch/FdsSwitch.vue.d.ts +3 -3
- package/dist/components/Form/FdsTextarea/FdsTextarea.vue.d.ts +1 -1
- package/dist/components/IconRescue/IconRescueIcon.vue.d.ts +2 -2
- package/dist/components/Tabs/FdsTabsItem/FdsTabsItem.vue.d.ts +3 -3
- package/dist/components/Typography/FdsH1/FdsH1.vue.d.ts +1 -1
- package/dist/components/Typography/FdsH2/FdsH2.vue.d.ts +1 -1
- package/dist/components/Typography/FdsH3/FdsH3.vue.d.ts +1 -1
- package/dist/composables/setupRouterLinkInterceptor.d.ts +2 -0
- package/dist/fds-vue-core.cjs.js +446 -746
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +2 -2
- package/dist/fds-vue-core.es.js +446 -747
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +11 -13
- package/src/components/FdsAppVersion/FdsAppVersion.stories.ts +17 -0
- package/src/components/FdsAppVersion/FdsAppVersion.vue +22 -0
- package/src/components/FdsAppVersion/types.ts +9 -0
- package/src/composables/setupRouterLinkInterceptor.spec.ts +28 -0
- package/src/composables/setupRouterLinkInterceptor.ts +5 -0
- package/src/index.ts +5 -0
- package/src/lang/en.json +2 -0
- package/src/lang/sv.json +2 -0
package/README.md
CHANGED
|
@@ -118,22 +118,23 @@ All components are fully typed. Type definitions are included in the package.
|
|
|
118
118
|
- [Configuration Files](./CONFIG.md) - TypeScript, ESLint, Prettier, and VS Code configuration
|
|
119
119
|
- [Storybook](./) - Component API documentation and examples (run `pnpm storybook`)
|
|
120
120
|
|
|
121
|
-
### Local development in another project
|
|
121
|
+
### Local development in another project
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
In the consuming project, add the dependency pointing to your local checkout of `fds-vue-core`:
|
|
123
|
+
To test `fds-vue-core` changes in another project without publishing to npm, use fg-devkit. Clone `fds-vue-core` next to the consuming project, then run this in the consuming project:
|
|
126
124
|
|
|
127
125
|
```bash
|
|
128
|
-
pnpm
|
|
126
|
+
pnpm exec fgd link-fds-vue-core
|
|
129
127
|
```
|
|
130
128
|
|
|
131
|
-
|
|
129
|
+
Pass a path if `fds-vue-core` is somewhere else, for example `pnpm exec fgd link-fds-vue-core ../path/to/fds-vue-core`. The command builds `fds-vue-core`, links it into the consuming project and keeps watching `src`, so each change rebuilds and updates the consuming app. Use `--no-watch` to link without watching.
|
|
130
|
+
|
|
131
|
+
Before committing in the consuming project, go back to the published version:
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
```bash
|
|
134
|
+
pnpm exec fgd unlink-fds-vue-core
|
|
135
|
+
```
|
|
135
136
|
|
|
136
|
-
|
|
137
|
+
The pre-commit hook blocks commits that still have a local `file:` or `link:` dependency.
|
|
137
138
|
|
|
138
139
|
### Publish to npm
|
|
139
140
|
|
package/components.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './dist/index'
|
|
|
6
6
|
export { default } from './dist/index'
|
|
7
7
|
|
|
8
8
|
import type { DefineComponent } from 'vue'
|
|
9
|
+
import type { FdsAppVersionProps } from './dist/components/FdsAppVersion/types'
|
|
9
10
|
import type { FdsAlertBlockProps } from './dist/components/Blocks/FdsBlockAlert/types'
|
|
10
11
|
import type { FdsContentBlockProps } from './dist/components/Blocks/FdsBlockContent/types'
|
|
11
12
|
import type { FdsExpanderBlockProps } from './dist/components/Blocks/FdsBlockExpander/types'
|
|
@@ -98,6 +99,7 @@ declare module 'vue' {
|
|
|
98
99
|
FdsSearchSelect: DefineComponent<FdsSearchSelectProps>
|
|
99
100
|
FdsSearchSelectPro: DefineComponent<FdsSearchSelectProProps>
|
|
100
101
|
FdsTruncatedText: DefineComponent<FdsTruncatedTextProps>
|
|
102
|
+
FdsAppVersion: DefineComponent<FdsAppVersionProps>
|
|
101
103
|
FdsWeekCalendar: DefineComponent<FdsWeekCalendarProps>
|
|
102
104
|
FdsWizard: DefineComponent<FdsWizardProps>
|
|
103
105
|
FdsError: DefineComponent<FdsErrorProps>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FdsBankIdQrProps } from './types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
qr?: (props: {
|
|
5
|
+
qrCode: string | null;
|
|
6
|
+
}) => any;
|
|
7
|
+
};
|
|
7
8
|
};
|
|
9
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
10
|
declare const __VLS_base: import('vue').DefineComponent<FdsBankIdQrProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
11
|
cancel: () => any;
|
|
10
12
|
showQr: () => any;
|
|
@@ -4,8 +4,8 @@ declare const __VLS_export: import('vue').DefineComponent<FdsBankIdStatusAlertPr
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsBankIdStatusAlertProps> & Readonly<{
|
|
5
5
|
onClose?: (() => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
-
title: string | null;
|
|
8
7
|
dataTestid: string;
|
|
8
|
+
title: string | null;
|
|
9
9
|
body: string | null;
|
|
10
10
|
closeable: boolean;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import('vue').DefineComponent<FdsExpanderBlockProps, {
|
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<FdsExpanderBlockProps> & Readonly<{
|
|
10
10
|
onToggle?: (() => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
disabled: boolean;
|
|
13
12
|
dataTestid: string;
|
|
13
|
+
disabled: boolean;
|
|
14
14
|
icon: string;
|
|
15
15
|
heading: string;
|
|
16
16
|
open: boolean;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import('vue').DefineComponent<FdsInteractionBlockProps
|
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<FdsInteractionBlockProps> & Readonly<{
|
|
10
10
|
onClick?: ((event: Event) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
disabled: boolean;
|
|
13
12
|
dataTestid: string;
|
|
13
|
+
disabled: boolean;
|
|
14
14
|
icon: string;
|
|
15
15
|
heading: string;
|
|
16
16
|
variant: "list" | "link";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FdsCopyButtonProps } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<FdsCopyButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsCopyButtonProps> & Readonly<{}>, {
|
|
3
|
-
disabled: boolean;
|
|
4
3
|
value: string;
|
|
5
4
|
dataTestid: string;
|
|
6
5
|
text: string;
|
|
6
|
+
disabled: boolean;
|
|
7
7
|
copiedText: string;
|
|
8
8
|
timeoutMs: number;
|
|
9
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,10 +4,10 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonDownloadProps
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsButtonDownloadProps> & Readonly<{
|
|
5
5
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
href: string;
|
|
9
7
|
dataTestid: string;
|
|
10
8
|
text: string;
|
|
9
|
+
href: string;
|
|
10
|
+
disabled: boolean;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
iconPos: "left" | "right";
|
|
13
13
|
downloadOptions: import('./types').DownloadOptions;
|
|
@@ -4,9 +4,9 @@ declare const __VLS_export: import('vue').DefineComponent<FdsIconButtonProps, {}
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsIconButtonProps> & Readonly<{
|
|
5
5
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
dataTestid: string;
|
|
7
8
|
type: "button" | "submit" | "reset";
|
|
8
9
|
size: number;
|
|
9
|
-
dataTestid: string;
|
|
10
10
|
loading: boolean;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,8 +4,8 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonMinorProps, {
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsButtonMinorProps> & Readonly<{
|
|
5
5
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
-
type: "button" | "submit" | "reset";
|
|
8
7
|
dataTestid: string;
|
|
8
|
+
type: "button" | "submit" | "reset";
|
|
9
9
|
icon: string;
|
|
10
10
|
loading: boolean;
|
|
11
11
|
iconSize: number;
|
|
@@ -4,9 +4,9 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonBaseProps, {}
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsButtonBaseProps> & Readonly<{
|
|
5
5
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
dataTestid: string;
|
|
7
8
|
type: "button" | "submit" | "reset";
|
|
8
9
|
size: "sm" | "md" | "lg";
|
|
9
|
-
dataTestid: string;
|
|
10
10
|
icon: string;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
iconSize: number;
|
|
@@ -4,9 +4,9 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonBaseProps, {}
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsButtonBaseProps> & Readonly<{
|
|
5
5
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
dataTestid: string;
|
|
7
8
|
type: "button" | "submit" | "reset";
|
|
8
9
|
size: "sm" | "md" | "lg";
|
|
9
|
-
dataTestid: string;
|
|
10
10
|
icon: string;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
iconSize: number;
|
|
@@ -4,9 +4,9 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonTertiaryProps
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<FdsButtonTertiaryProps> & Readonly<{
|
|
5
5
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
dataTestid: string;
|
|
7
8
|
type: "button" | "submit" | "reset";
|
|
8
9
|
size: "sm" | "md";
|
|
9
|
-
dataTestid: string;
|
|
10
10
|
icon: string;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
iconSize: number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FdsAppVersionProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<FdsAppVersionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsAppVersionProps> & Readonly<{}>, {
|
|
3
|
+
dataTestid: string;
|
|
4
|
+
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -11,8 +11,8 @@ declare const __VLS_base: import('vue').DefineComponent<FdsDrawerProps, {}, {},
|
|
|
11
11
|
onClose?: (() => any) | undefined;
|
|
12
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
size: "sm" | "md" | "lg" | "xl";
|
|
15
14
|
dataTestid: string;
|
|
15
|
+
size: "sm" | "md" | "lg" | "xl";
|
|
16
16
|
heading: string;
|
|
17
17
|
open: boolean;
|
|
18
18
|
strict: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FdsIconProps } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<FdsIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsIconProps> & Readonly<{}>, {
|
|
3
|
-
size: string | number;
|
|
4
|
-
title: string;
|
|
5
3
|
dataTestid: string;
|
|
4
|
+
title: string;
|
|
5
|
+
size: string | number;
|
|
6
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -11,8 +11,8 @@ declare const __VLS_base: import('vue').DefineComponent<FdsModalProps, {}, {}, {
|
|
|
11
11
|
onClose?: (() => any) | undefined;
|
|
12
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
size: "sm" | "md" | "lg" | "xl";
|
|
15
14
|
dataTestid: string;
|
|
15
|
+
size: "sm" | "md" | "lg" | "xl";
|
|
16
16
|
heading: string;
|
|
17
17
|
open: boolean;
|
|
18
18
|
alignTop: boolean;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { FdsPopoverProps } from './types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} & {
|
|
6
|
-
|
|
7
|
-
} & {
|
|
8
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
trigger?: (props: {}) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
};
|
|
9
10
|
};
|
|
11
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
12
|
declare const __VLS_base: import('vue').DefineComponent<FdsPopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
13
|
close: () => any;
|
|
12
14
|
"update:open": (value: boolean) => any;
|
|
@@ -19,11 +19,11 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProps,
|
|
|
19
19
|
onSearchSelected?: ((value: Record<string, unknown> | null) => any) | undefined;
|
|
20
20
|
onTotal?: ((value: number) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
disabled: boolean;
|
|
23
22
|
dataTestid: string;
|
|
24
23
|
page: number;
|
|
25
24
|
label: string;
|
|
26
25
|
meta: string | null;
|
|
26
|
+
disabled: boolean;
|
|
27
27
|
loading: boolean;
|
|
28
28
|
valid: boolean | null;
|
|
29
29
|
invalidMessage: string;
|
|
@@ -19,15 +19,16 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProProp
|
|
|
19
19
|
onTotal?: ((value: number) => any) | undefined;
|
|
20
20
|
onLoadMore?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
disabled: boolean;
|
|
23
22
|
dataTestid: string;
|
|
24
23
|
page: number;
|
|
25
24
|
label: string;
|
|
26
25
|
meta: string | null;
|
|
26
|
+
disabled: boolean;
|
|
27
27
|
loading: boolean;
|
|
28
28
|
valid: boolean | null;
|
|
29
29
|
invalidMessage: string;
|
|
30
30
|
labelLeft: boolean;
|
|
31
|
+
multiple: boolean;
|
|
31
32
|
items: Record<string, any>[];
|
|
32
33
|
totalPages: number;
|
|
33
34
|
totalCount: number;
|
|
@@ -41,7 +42,6 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProProp
|
|
|
41
42
|
};
|
|
42
43
|
noResultPrompt: string;
|
|
43
44
|
maxListHeight: string | number;
|
|
44
|
-
multiple: boolean;
|
|
45
45
|
hierarchical: boolean;
|
|
46
46
|
selectChildrenRecursively: boolean;
|
|
47
47
|
initialSelectedItems: Record<string, any>[];
|
|
@@ -7,10 +7,10 @@ type __VLS_Props = {
|
|
|
7
7
|
dataTestid?: string;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
-
size: string;
|
|
11
10
|
dataTestid: string;
|
|
12
11
|
color: "inherit" | "black" | "blue" | "white";
|
|
13
12
|
label: string;
|
|
13
|
+
size: string;
|
|
14
14
|
labelPosition: "right" | "bottom";
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -20,12 +20,12 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
20
20
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((value: boolean | (string | number | boolean | null)[] | undefined) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
required: boolean;
|
|
25
23
|
value: string | number | boolean | null;
|
|
26
24
|
dataTestid: string;
|
|
27
25
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
28
26
|
label: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
29
|
indeterminate: boolean;
|
|
30
30
|
checked: boolean;
|
|
31
31
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
@@ -24,8 +24,6 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
24
24
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
25
25
|
"onKeyup.enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
required: boolean;
|
|
29
27
|
value: string;
|
|
30
28
|
dataTestid: string;
|
|
31
29
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
@@ -33,6 +31,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
33
31
|
meta: string;
|
|
34
32
|
mask: string | RegExp | (string | RegExp)[];
|
|
35
33
|
pattern: string;
|
|
34
|
+
required: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
36
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
37
37
|
valid: boolean | null;
|
|
38
38
|
optional: boolean;
|
|
@@ -20,14 +20,14 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
20
20
|
"onUpdate:country"?: ((...args: unknown[]) => any) | undefined;
|
|
21
21
|
"onUpdate:e164"?: ((phoneNumber: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
required: boolean;
|
|
25
|
-
id: string;
|
|
26
23
|
name: string;
|
|
27
|
-
placeholder: string;
|
|
28
24
|
dataTestid: string;
|
|
25
|
+
id: string;
|
|
26
|
+
placeholder: string;
|
|
29
27
|
label: string;
|
|
30
28
|
meta: string;
|
|
29
|
+
required: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
31
|
autofocus: boolean;
|
|
32
32
|
locale: string;
|
|
33
33
|
inputClass: string;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
19
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
20
|
onNoCountryResults?: ((value: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
disabled: boolean;
|
|
23
22
|
dataTestid: string;
|
|
24
23
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
24
|
+
disabled: boolean;
|
|
25
25
|
valid: boolean | null;
|
|
26
26
|
ariaLabel: string;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -21,14 +21,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
21
21
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
"onUpdate:modelValue"?: ((value: string | number | boolean | null) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
required: boolean;
|
|
26
|
-
id: string;
|
|
27
|
-
name: string;
|
|
28
24
|
value: string | number | boolean | null;
|
|
25
|
+
name: string;
|
|
29
26
|
dataTestid: string;
|
|
30
27
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
28
|
+
id: string;
|
|
31
29
|
label: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
disabled: boolean;
|
|
32
32
|
checked: boolean;
|
|
33
33
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
34
34
|
disablePseudoStates: boolean;
|
|
@@ -15,15 +15,15 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
15
15
|
onValid?: ((value: boolean | null) => any) | undefined;
|
|
16
16
|
onClearInput?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
required: boolean;
|
|
20
|
-
id: string;
|
|
21
18
|
name: string;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
maxlength: number;
|
|
24
19
|
dataTestid: string;
|
|
20
|
+
id: string;
|
|
21
|
+
placeholder: string;
|
|
25
22
|
label: string;
|
|
26
23
|
meta: string;
|
|
24
|
+
required: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
maxlength: number;
|
|
27
27
|
autofocus: boolean;
|
|
28
28
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
29
29
|
valid: boolean | null;
|
|
@@ -16,13 +16,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
16
16
|
onChange?: ((value: boolean) => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((value: boolean | (string | number | boolean | null)[]) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
19
|
value: string | number | boolean | null;
|
|
20
|
+
name: string;
|
|
23
21
|
dataTestid: string;
|
|
24
22
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
23
|
+
id: string;
|
|
25
24
|
label: string;
|
|
25
|
+
disabled: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
@@ -19,11 +19,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
19
19
|
onValid?: ((value: boolean | null) => any) | undefined;
|
|
20
20
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
maxlength: number;
|
|
23
22
|
value: string;
|
|
24
23
|
dataTestid: string;
|
|
25
24
|
label: string;
|
|
26
25
|
meta: string;
|
|
26
|
+
maxlength: number;
|
|
27
27
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
28
28
|
valid: boolean | null;
|
|
29
29
|
optional: boolean;
|
|
@@ -34,10 +34,10 @@ declare const __VLS_export: import('vue').DefineComponent<IconRescueIconProps, {
|
|
|
34
34
|
onCrate?: ((reward: "laserBeam" | "homingLaser" | "weaponUpgrade") => any) | undefined;
|
|
35
35
|
onHealth?: ((current: number) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
size: string | number;
|
|
38
|
-
title: string;
|
|
39
37
|
dataTestid: string;
|
|
38
|
+
title: string;
|
|
40
39
|
label: string;
|
|
40
|
+
size: string | number;
|
|
41
41
|
laser: boolean;
|
|
42
42
|
flying: boolean;
|
|
43
43
|
boss: boolean;
|
|
@@ -8,12 +8,12 @@ declare const __VLS_base: import('vue').DefineComponent<FdsTabsItemProps, {}, {}
|
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<FdsTabsItemProps> & Readonly<{
|
|
9
9
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
href: string;
|
|
13
11
|
dataTestid: string;
|
|
14
12
|
label: string;
|
|
15
|
-
as: "a" | "button" | "router-link";
|
|
16
13
|
to: string;
|
|
14
|
+
href: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
as: "a" | "button" | "router-link";
|
|
17
17
|
active: boolean;
|
|
18
18
|
exact: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FdsH1Props } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<FdsH1Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsH1Props> & Readonly<{}>, {
|
|
3
|
-
size: "sm" | "md" | "lg" | "xl" | "responsive";
|
|
4
3
|
dataTestid: string;
|
|
4
|
+
size: "sm" | "md" | "lg" | "xl" | "responsive";
|
|
5
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FdsH2Props } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<FdsH2Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsH2Props> & Readonly<{}>, {
|
|
3
|
-
size: "sm" | "md" | "lg" | "xl" | "responsive";
|
|
4
3
|
dataTestid: string;
|
|
4
|
+
size: "sm" | "md" | "lg" | "xl" | "responsive";
|
|
5
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FdsH3Props } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<FdsH3Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsH3Props> & Readonly<{}>, {
|
|
3
|
-
size: "sm" | "md" | "lg" | "xl" | "responsive";
|
|
4
3
|
dataTestid: string;
|
|
4
|
+
size: "sm" | "md" | "lg" | "xl" | "responsive";
|
|
5
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
export default _default;
|
|
@@ -11,6 +11,8 @@ export declare const isRelativeHref: (href: string) => boolean;
|
|
|
11
11
|
* Returns `null` when the link should use normal browser navigation.
|
|
12
12
|
*/
|
|
13
13
|
export declare const resolveRouterLinkTarget: (anchor: HTMLAnchorElement) => string | null;
|
|
14
|
+
/** True when the last path segment has a file extension, e.g. `/files/guide.pdf`. */
|
|
15
|
+
export declare const isFilePath: (pathname: string) => boolean;
|
|
14
16
|
/**
|
|
15
17
|
* Interceptar klick på relativa `<a href>` och navigerar med `router.push`
|
|
16
18
|
* i stället för full sidladdning. Användbart för HTML/JSON från t.ex. Payload CMS
|