fds-vue-core 8.12.1 → 8.12.2
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/components/BankId/FdsBankIdSameDevice/FdsBankIdSameDevice.vue.d.ts +2 -2
- package/dist/components/Blocks/FdsBlockLink/FdsBlockLink.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonIcon/FdsButtonIcon.vue.d.ts +1 -1
- package/dist/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue.d.ts +2 -2
- package/dist/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue.d.ts +2 -2
- package/dist/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue.d.ts +2 -2
- package/dist/components/Buttons/FdsButtonTertiary/FdsButtonTertiary.vue.d.ts +2 -2
- package/dist/components/FdsIcon/FdsIcon.vue.d.ts +1 -47
- package/dist/components/FdsIcon/types.d.ts +0 -15
- package/dist/components/FdsPopover/FdsPopover.vue.d.ts +2 -2
- package/dist/components/FdsSearchSelect/FdsSearchSelect.vue.d.ts +3 -3
- package/dist/components/FdsSearchSelectPro/FdsSearchSelectPro.vue.d.ts +3 -3
- package/dist/components/FdsSpinner/FdsSpinner.vue.d.ts +1 -1
- package/dist/components/Form/FdsCheckbox/FdsCheckbox.vue.d.ts +3 -3
- package/dist/components/Form/FdsInput/FdsInput.vue.d.ts +3 -3
- package/dist/components/Form/FdsPhonenumber/FdsPhonenumber.vue.d.ts +1 -1
- package/dist/components/Form/FdsRadio/FdsRadio.vue.d.ts +3 -3
- package/dist/components/Form/FdsSelect/FdsSelect.vue.d.ts +3 -3
- package/dist/components/Form/FdsSsn/FdsSsn.vue.d.ts +1 -1
- package/dist/components/Form/FdsSwitch/FdsSwitch.vue.d.ts +1 -1
- package/dist/components/Form/FdsTextarea/FdsTextarea.vue.d.ts +3 -3
- package/dist/components/IconRescue/IconRescueIcon.vue.d.ts +54 -0
- package/dist/components/IconRescue/types.d.ts +18 -0
- package/dist/components/Tabs/FdsTabsItem/FdsTabsItem.vue.d.ts +2 -2
- package/dist/fds-vue-core.cjs.js +18 -1828
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +19 -1829
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/FdsIcon/FdsIcon.vue +2 -2405
- package/src/components/FdsIcon/types.ts +0 -12
- package/src/components/{FdsIcon → IconRescue}/IconRescue.stories.ts +7 -7
- package/src/components/IconRescue/IconRescueIcon.vue +2465 -0
- package/src/components/IconRescue/types.ts +16 -0
- package/src/lang/en.json +0 -1
- package/src/lang/sv.json +0 -1
- /package/dist/components/{FdsIcon → IconRescue}/iconGame.d.ts +0 -0
- /package/dist/components/{FdsIcon → IconRescue}/iconTargets.d.ts +0 -0
- /package/src/components/{FdsIcon → IconRescue}/iconGame.ts +0 -0
- /package/src/components/{FdsIcon → IconRescue}/iconTargets.ts +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FdsBankIdSameDeviceProps } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<FdsBankIdSameDeviceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
-
cancel: () => any;
|
|
4
3
|
start: () => any;
|
|
4
|
+
cancel: () => any;
|
|
5
5
|
}, string, import('vue').PublicProps, Readonly<FdsBankIdSameDeviceProps> & Readonly<{
|
|
6
|
-
onCancel?: (() => any) | undefined;
|
|
7
6
|
onStart?: (() => any) | undefined;
|
|
7
|
+
onCancel?: (() => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
dataTestid: string;
|
|
10
10
|
ongoingLogin: boolean;
|
|
@@ -11,9 +11,9 @@ declare const __VLS_base: import('vue').DefineComponent<FdsInteractionBlockProps
|
|
|
11
11
|
}>, {
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
dataTestid: string;
|
|
14
|
-
variant: "list" | "link";
|
|
15
14
|
icon: string;
|
|
16
15
|
heading: string;
|
|
16
|
+
variant: "list" | "link";
|
|
17
17
|
interactive: boolean;
|
|
18
18
|
as: "a" | "button" | "router-link";
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,7 @@ 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
|
-
type: "
|
|
7
|
+
type: "button" | "submit" | "reset";
|
|
8
8
|
size: number;
|
|
9
9
|
dataTestid: string;
|
|
10
10
|
loading: boolean;
|
|
@@ -4,14 +4,14 @@ 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: "
|
|
7
|
+
type: "button" | "submit" | "reset";
|
|
8
8
|
dataTestid: string;
|
|
9
9
|
icon: string;
|
|
10
10
|
loading: boolean;
|
|
11
11
|
iconSize: number;
|
|
12
12
|
as: "a" | "button" | "router-link";
|
|
13
13
|
block: boolean;
|
|
14
|
-
state: "
|
|
14
|
+
state: "hover" | "focus" | "active";
|
|
15
15
|
iconPos: "left" | "right";
|
|
16
16
|
textSelection: boolean;
|
|
17
17
|
invert: boolean;
|
|
@@ -4,7 +4,7 @@ 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
|
-
type: "
|
|
7
|
+
type: "button" | "submit" | "reset";
|
|
8
8
|
size: "sm" | "md" | "lg";
|
|
9
9
|
dataTestid: string;
|
|
10
10
|
icon: string;
|
|
@@ -12,7 +12,7 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonBaseProps, {}
|
|
|
12
12
|
iconSize: number;
|
|
13
13
|
as: "a" | "button" | "router-link";
|
|
14
14
|
block: boolean;
|
|
15
|
-
state: "
|
|
15
|
+
state: "hover" | "focus" | "active";
|
|
16
16
|
iconPos: "left" | "right";
|
|
17
17
|
textSelection: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,7 @@ 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
|
-
type: "
|
|
7
|
+
type: "button" | "submit" | "reset";
|
|
8
8
|
size: "sm" | "md" | "lg";
|
|
9
9
|
dataTestid: string;
|
|
10
10
|
icon: string;
|
|
@@ -12,7 +12,7 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonBaseProps, {}
|
|
|
12
12
|
iconSize: number;
|
|
13
13
|
as: "a" | "button" | "router-link";
|
|
14
14
|
block: boolean;
|
|
15
|
-
state: "
|
|
15
|
+
state: "hover" | "focus" | "active";
|
|
16
16
|
iconPos: "left" | "right";
|
|
17
17
|
textSelection: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,7 @@ 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
|
-
type: "
|
|
7
|
+
type: "button" | "submit" | "reset";
|
|
8
8
|
size: "sm" | "md";
|
|
9
9
|
dataTestid: string;
|
|
10
10
|
icon: string;
|
|
@@ -12,7 +12,7 @@ declare const __VLS_export: import('vue').DefineComponent<FdsButtonTertiaryProps
|
|
|
12
12
|
iconSize: number;
|
|
13
13
|
as: "a" | "button" | "router-link";
|
|
14
14
|
block: boolean;
|
|
15
|
-
state: "
|
|
15
|
+
state: "hover" | "focus" | "active";
|
|
16
16
|
iconPos: "left" | "right";
|
|
17
17
|
textSelection: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,53 +1,7 @@
|
|
|
1
|
-
import { WeaponId } from './iconGame';
|
|
2
1
|
import { FdsIconProps } from './types';
|
|
3
|
-
declare
|
|
4
|
-
declare const __VLS_export: import('vue').DefineComponent<FdsIconProps, {
|
|
5
|
-
heal: typeof heal;
|
|
6
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
-
summon: (point: {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
}) => any;
|
|
11
|
-
kill: (points: number) => any;
|
|
12
|
-
gameOver: () => any;
|
|
13
|
-
destroyed: () => any;
|
|
14
|
-
split: (point: {
|
|
15
|
-
x: number;
|
|
16
|
-
y: number;
|
|
17
|
-
}) => any;
|
|
18
|
-
experience: (amount: number) => any;
|
|
19
|
-
crate: (reward: "laserBeam" | "homingLaser" | "weaponUpgrade") => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<FdsIconProps> & Readonly<{
|
|
21
|
-
onSummon?: ((point: {
|
|
22
|
-
x: number;
|
|
23
|
-
y: number;
|
|
24
|
-
}) => any) | undefined;
|
|
25
|
-
onKill?: ((points: number) => any) | undefined;
|
|
26
|
-
onGameOver?: (() => any) | undefined;
|
|
27
|
-
onDestroyed?: (() => any) | undefined;
|
|
28
|
-
onSplit?: ((point: {
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
}) => any) | undefined;
|
|
32
|
-
onExperience?: ((amount: number) => any) | undefined;
|
|
33
|
-
onCrate?: ((reward: "laserBeam" | "homingLaser" | "weaponUpgrade") => any) | undefined;
|
|
34
|
-
}>, {
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<FdsIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsIconProps> & Readonly<{}>, {
|
|
35
3
|
size: string | number;
|
|
36
|
-
laser: boolean;
|
|
37
4
|
title: string;
|
|
38
|
-
flying: boolean;
|
|
39
|
-
boss: boolean;
|
|
40
|
-
enemyKind: "kamikaze" | "splitter" | "sniper" | "swarm";
|
|
41
|
-
spawnPoint: {
|
|
42
|
-
x: number;
|
|
43
|
-
y: number;
|
|
44
|
-
};
|
|
45
|
-
weapons: Partial<Record<WeaponId, number>>;
|
|
46
|
-
stats: import('./iconGame').PlayerStats;
|
|
47
|
-
bossAttacks: import('./iconGame').BossAttack[];
|
|
48
|
-
strength: number;
|
|
49
|
-
paused: boolean;
|
|
50
|
-
label: string;
|
|
51
5
|
dataTestid: string;
|
|
52
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
53
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
2
|
import { IconName } from '../../assets/icons';
|
|
3
|
-
import { BossAttack, PlayerStats, WeaponLevels } from './iconGame';
|
|
4
3
|
export type FdsIconName = IconName;
|
|
5
4
|
export interface FdsIconProps extends /* @vue-ignore */ HTMLAttributes {
|
|
6
5
|
name: FdsIconName;
|
|
7
6
|
size?: number | string;
|
|
8
7
|
title?: string | undefined;
|
|
9
|
-
laser?: boolean;
|
|
10
|
-
flying?: boolean;
|
|
11
|
-
boss?: boolean;
|
|
12
|
-
enemyKind?: 'kamikaze' | 'splitter' | 'sniper' | 'swarm';
|
|
13
|
-
spawnPoint?: {
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
};
|
|
17
|
-
weapons?: WeaponLevels;
|
|
18
|
-
stats?: PlayerStats;
|
|
19
|
-
bossAttacks?: BossAttack[];
|
|
20
|
-
strength?: number;
|
|
21
|
-
paused?: boolean;
|
|
22
|
-
label?: string;
|
|
23
8
|
dataTestid?: string;
|
|
24
9
|
}
|
|
@@ -14,11 +14,11 @@ declare const __VLS_base: import('vue').DefineComponent<FdsPopoverProps, {}, {},
|
|
|
14
14
|
onClose?: (() => any) | undefined;
|
|
15
15
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
label: string;
|
|
18
17
|
dataTestid: string;
|
|
19
18
|
body: string;
|
|
19
|
+
label: string;
|
|
20
20
|
open: boolean;
|
|
21
|
-
position: "left" | "right" | "
|
|
21
|
+
position: "left" | "right" | "bottom" | "top";
|
|
22
22
|
offset: number;
|
|
23
23
|
offsetX: number;
|
|
24
24
|
offsetY: number;
|
|
@@ -5,24 +5,24 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProps,
|
|
|
5
5
|
blurAndClear: () => void;
|
|
6
6
|
focus: () => void;
|
|
7
7
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
-
change: (value: string) => any;
|
|
9
8
|
input: (ev: Event) => any;
|
|
9
|
+
change: (value: string) => any;
|
|
10
10
|
clearInput: (ev: Event) => any;
|
|
11
11
|
paginate: (value: number) => any;
|
|
12
12
|
searchSelected: (value: Record<string, unknown> | null) => any;
|
|
13
13
|
total: (value: number) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<FdsSearchSelectProps> & Readonly<{
|
|
15
|
-
onChange?: ((value: string) => any) | undefined;
|
|
16
15
|
onInput?: ((ev: Event) => any) | undefined;
|
|
16
|
+
onChange?: ((value: string) => any) | undefined;
|
|
17
17
|
onClearInput?: ((ev: Event) => any) | undefined;
|
|
18
18
|
onPaginate?: ((value: number) => any) | undefined;
|
|
19
19
|
onSearchSelected?: ((value: Record<string, unknown> | null) => any) | undefined;
|
|
20
20
|
onTotal?: ((value: number) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
|
-
label: string;
|
|
24
23
|
dataTestid: string;
|
|
25
24
|
page: number;
|
|
25
|
+
label: string;
|
|
26
26
|
meta: string | null;
|
|
27
27
|
loading: boolean;
|
|
28
28
|
valid: boolean | null;
|
|
@@ -5,24 +5,24 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProProp
|
|
|
5
5
|
blurAndClear: () => void;
|
|
6
6
|
focus: () => void;
|
|
7
7
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
-
change: (value: string) => any;
|
|
9
8
|
input: (ev: Event) => any;
|
|
9
|
+
change: (value: string) => any;
|
|
10
10
|
clearInput: (ev: Event) => any;
|
|
11
11
|
searchSelected: (value: Record<string, unknown> | Record<string, unknown>[] | null) => any;
|
|
12
12
|
total: (value: number) => any;
|
|
13
13
|
loadMore: () => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<FdsSearchSelectProProps> & Readonly<{
|
|
15
|
-
onChange?: ((value: string) => any) | undefined;
|
|
16
15
|
onInput?: ((ev: Event) => any) | undefined;
|
|
16
|
+
onChange?: ((value: string) => any) | undefined;
|
|
17
17
|
onClearInput?: ((ev: Event) => any) | undefined;
|
|
18
18
|
onSearchSelected?: ((value: Record<string, unknown> | Record<string, unknown>[] | null) => any) | undefined;
|
|
19
19
|
onTotal?: ((value: number) => any) | undefined;
|
|
20
20
|
onLoadMore?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
|
-
label: string;
|
|
24
23
|
dataTestid: string;
|
|
25
24
|
page: number;
|
|
25
|
+
label: string;
|
|
26
26
|
meta: string | null;
|
|
27
27
|
loading: boolean;
|
|
28
28
|
valid: boolean | null;
|
|
@@ -8,9 +8,9 @@ type __VLS_Props = {
|
|
|
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
10
|
size: string;
|
|
11
|
-
label: string;
|
|
12
11
|
dataTestid: string;
|
|
13
12
|
color: "inherit" | "black" | "blue" | "white";
|
|
13
|
+
label: string;
|
|
14
14
|
labelPosition: "right" | "bottom";
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,21 +11,21 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
11
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: boolean | (string | number | boolean | null)[] | undefined) => any;
|
|
13
13
|
} & {
|
|
14
|
-
change: (value: boolean) => any;
|
|
15
14
|
input: (value: boolean) => any;
|
|
15
|
+
change: (value: boolean) => any;
|
|
16
16
|
"update:checked": (value: boolean) => any;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
onChange?: ((value: boolean) => any) | undefined;
|
|
19
18
|
onInput?: ((value: boolean) => any) | undefined;
|
|
19
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
20
20
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((value: boolean | (string | number | boolean | null)[] | undefined) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
required: boolean;
|
|
25
25
|
value: string | number | boolean | null;
|
|
26
|
-
label: string;
|
|
27
26
|
dataTestid: string;
|
|
28
27
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
28
|
+
label: string;
|
|
29
29
|
indeterminate: boolean;
|
|
30
30
|
checked: boolean;
|
|
31
31
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
@@ -7,16 +7,16 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: string | undefined) => any;
|
|
9
9
|
} & {
|
|
10
|
-
blur: (ev: FocusEvent) => any;
|
|
11
10
|
input: (ev: Event) => any;
|
|
11
|
+
blur: (ev: FocusEvent) => any;
|
|
12
12
|
keyup: (ev: KeyboardEvent) => any;
|
|
13
13
|
autocomplete: (ev: Event) => any;
|
|
14
14
|
clearInput: () => any;
|
|
15
15
|
"update:value": (value: string) => any;
|
|
16
16
|
"keyup.enter": (ev: KeyboardEvent) => any;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
19
18
|
onInput?: ((ev: Event) => any) | undefined;
|
|
19
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
20
20
|
onKeyup?: ((ev: KeyboardEvent) => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
22
22
|
onAutocomplete?: ((ev: Event) => any) | undefined;
|
|
@@ -27,9 +27,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
required: boolean;
|
|
29
29
|
value: string;
|
|
30
|
-
label: string;
|
|
31
30
|
dataTestid: string;
|
|
32
31
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
32
|
+
label: string;
|
|
33
33
|
meta: string;
|
|
34
34
|
mask: string | RegExp | (string | RegExp)[];
|
|
35
35
|
pattern: string;
|
|
@@ -11,13 +11,13 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
11
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string | number | boolean | null | undefined) => any;
|
|
13
13
|
} & {
|
|
14
|
-
change: (value: string | number | boolean | null) => any;
|
|
15
14
|
input: (value: string | number | boolean | null) => any;
|
|
15
|
+
change: (value: string | number | boolean | null) => any;
|
|
16
16
|
"update:checked": (value: boolean) => any;
|
|
17
17
|
"update:modelValue": (value: string | number | boolean | null) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
onChange?: ((value: string | number | boolean | null) => any) | undefined;
|
|
20
19
|
onInput?: ((value: string | number | boolean | null) => any) | undefined;
|
|
20
|
+
onChange?: ((value: string | number | boolean | null) => any) | undefined;
|
|
21
21
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
"onUpdate:modelValue"?: ((value: string | number | boolean | null) => any) | undefined;
|
|
23
23
|
}>, {
|
|
@@ -26,9 +26,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
26
26
|
id: string;
|
|
27
27
|
name: string;
|
|
28
28
|
value: string | number | boolean | null;
|
|
29
|
-
label: string;
|
|
30
29
|
dataTestid: string;
|
|
31
30
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
31
|
+
label: string;
|
|
32
32
|
checked: boolean;
|
|
33
33
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
34
34
|
disablePseudoStates: boolean;
|
|
@@ -11,18 +11,18 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
11
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string | undefined) => any;
|
|
13
13
|
} & {
|
|
14
|
-
change: (ev: Event) => any;
|
|
15
14
|
input: (ev: Event) => any;
|
|
15
|
+
change: (ev: Event) => any;
|
|
16
16
|
"update:value": (value: string) => any;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
onChange?: ((ev: Event) => any) | undefined;
|
|
19
18
|
onInput?: ((ev: Event) => any) | undefined;
|
|
19
|
+
onChange?: ((ev: Event) => any) | undefined;
|
|
20
20
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
21
21
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
value: string;
|
|
24
|
-
label: string;
|
|
25
24
|
dataTestid: string;
|
|
25
|
+
label: string;
|
|
26
26
|
meta: string;
|
|
27
27
|
options: {
|
|
28
28
|
value: string;
|
|
@@ -21,8 +21,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
21
21
|
name: string;
|
|
22
22
|
placeholder: string;
|
|
23
23
|
maxlength: number;
|
|
24
|
-
label: string;
|
|
25
24
|
dataTestid: string;
|
|
25
|
+
label: string;
|
|
26
26
|
meta: string;
|
|
27
27
|
autofocus: boolean;
|
|
28
28
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
@@ -20,9 +20,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
value: string | number | boolean | null;
|
|
23
|
-
label: string;
|
|
24
23
|
dataTestid: string;
|
|
25
24
|
class: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
25
|
+
label: string;
|
|
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;
|
|
@@ -5,24 +5,24 @@ type __VLS_ModelProps = {
|
|
|
5
5
|
};
|
|
6
6
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
7
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
input: (ev: Event) => any;
|
|
8
9
|
blur: (ev: FocusEvent) => any;
|
|
9
10
|
change: (ev: Event) => any;
|
|
10
|
-
input: (ev: Event) => any;
|
|
11
11
|
"update:modelValue": (value: string | undefined) => any;
|
|
12
12
|
valid: (value: boolean | null) => any;
|
|
13
13
|
"update:value": (value: string) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
onInput?: ((ev: Event) => any) | undefined;
|
|
15
16
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
16
17
|
onChange?: ((ev: Event) => any) | undefined;
|
|
17
|
-
onInput?: ((ev: Event) => any) | undefined;
|
|
18
18
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
19
19
|
onValid?: ((value: boolean | null) => any) | undefined;
|
|
20
20
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
maxlength: number;
|
|
23
23
|
value: string;
|
|
24
|
-
label: string;
|
|
25
24
|
dataTestid: string;
|
|
25
|
+
label: string;
|
|
26
26
|
meta: string;
|
|
27
27
|
inputClass: string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
|
28
28
|
valid: boolean | null;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { WeaponId } from './iconGame';
|
|
2
|
+
import { IconRescueIconProps } from './types';
|
|
3
|
+
declare function heal(amount: number): void;
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<IconRescueIconProps, {
|
|
5
|
+
heal: typeof heal;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
split: (point: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
}) => any;
|
|
11
|
+
destroyed: () => any;
|
|
12
|
+
summon: (point: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}) => any;
|
|
16
|
+
kill: (points: number) => any;
|
|
17
|
+
gameOver: () => any;
|
|
18
|
+
experience: (amount: number) => any;
|
|
19
|
+
crate: (reward: "laserBeam" | "homingLaser" | "weaponUpgrade") => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<IconRescueIconProps> & Readonly<{
|
|
21
|
+
onSplit?: ((point: {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
}) => any) | undefined;
|
|
25
|
+
onDestroyed?: (() => any) | undefined;
|
|
26
|
+
onSummon?: ((point: {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
onKill?: ((points: number) => any) | undefined;
|
|
31
|
+
onGameOver?: (() => any) | undefined;
|
|
32
|
+
onExperience?: ((amount: number) => any) | undefined;
|
|
33
|
+
onCrate?: ((reward: "laserBeam" | "homingLaser" | "weaponUpgrade") => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
size: string | number;
|
|
36
|
+
title: string;
|
|
37
|
+
dataTestid: string;
|
|
38
|
+
label: string;
|
|
39
|
+
laser: boolean;
|
|
40
|
+
flying: boolean;
|
|
41
|
+
boss: boolean;
|
|
42
|
+
enemyKind: "kamikaze" | "splitter" | "sniper" | "swarm";
|
|
43
|
+
spawnPoint: {
|
|
44
|
+
x: number;
|
|
45
|
+
y: number;
|
|
46
|
+
};
|
|
47
|
+
weapons: Partial<Record<WeaponId, number>>;
|
|
48
|
+
stats: import('./iconGame').PlayerStats;
|
|
49
|
+
bossAttacks: import('./iconGame').BossAttack[];
|
|
50
|
+
strength: number;
|
|
51
|
+
paused: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const _default: typeof __VLS_export;
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FdsIconProps } from '../FdsIcon/types';
|
|
2
|
+
import { BossAttack, PlayerStats, WeaponLevels } from './iconGame';
|
|
3
|
+
export interface IconRescueIconProps extends FdsIconProps {
|
|
4
|
+
laser?: boolean;
|
|
5
|
+
flying?: boolean;
|
|
6
|
+
boss?: boolean;
|
|
7
|
+
enemyKind?: 'kamikaze' | 'splitter' | 'sniper' | 'swarm';
|
|
8
|
+
spawnPoint?: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
};
|
|
12
|
+
weapons?: WeaponLevels;
|
|
13
|
+
stats?: PlayerStats;
|
|
14
|
+
bossAttacks?: BossAttack[];
|
|
15
|
+
strength?: number;
|
|
16
|
+
paused?: boolean;
|
|
17
|
+
label?: string;
|
|
18
|
+
}
|
|
@@ -10,10 +10,10 @@ declare const __VLS_base: import('vue').DefineComponent<FdsTabsItemProps, {}, {}
|
|
|
10
10
|
}>, {
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
href: string;
|
|
13
|
-
label: string;
|
|
14
13
|
dataTestid: string;
|
|
15
|
-
|
|
14
|
+
label: string;
|
|
16
15
|
as: "a" | "button" | "router-link";
|
|
16
|
+
to: string;
|
|
17
17
|
active: boolean;
|
|
18
18
|
exact: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|