fds-vue-core 2.0.86 → 2.0.88
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/FdsSearchSelect/FdsSearchSelect.stories.d.ts +15 -0
- package/dist/components/FdsSearchSelect/FdsSearchSelect.stories.d.ts.map +1 -0
- package/dist/components/FdsSearchSelect/FdsSearchSelect.vue.d.ts +41 -0
- package/dist/components/FdsSearchSelect/FdsSearchSelect.vue.d.ts.map +1 -0
- package/dist/components/FdsSearchSelect/types.d.ts +29 -0
- package/dist/components/FdsSearchSelect/types.d.ts.map +1 -0
- package/dist/components/Form/FdsInput/FdsInput.stories.d.ts +9 -0
- package/dist/components/Form/FdsInput/FdsInput.stories.d.ts.map +1 -1
- package/dist/components/Form/FdsInput/FdsInput.vue.d.ts +6 -0
- package/dist/components/Form/FdsInput/FdsInput.vue.d.ts.map +1 -1
- package/dist/components/Form/FdsInput/types.d.ts +6 -0
- package/dist/components/Form/FdsInput/types.d.ts.map +1 -1
- package/dist/components/Tabs/FdsTabs/FdsTabs.stories.d.ts +4 -0
- package/dist/components/Tabs/FdsTabs/FdsTabs.stories.d.ts.map +1 -1
- package/dist/components/Tabs/FdsTabsItem/FdsTabsItem.vue.d.ts +7 -2
- package/dist/components/Tabs/FdsTabsItem/FdsTabsItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/FdsTabsItem/types.d.ts +12 -0
- package/dist/components/Tabs/FdsTabsItem/types.d.ts.map +1 -1
- package/dist/composables/useBoldQuery.d.ts +10 -0
- package/dist/composables/useBoldQuery.d.ts.map +1 -0
- package/dist/composables/useIsPid.d.ts +16 -0
- package/dist/composables/useIsPid.d.ts.map +1 -0
- package/dist/fds-vue-core.cjs.js +4319 -587
- 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 +4320 -588
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/global-components.d.ts +1 -0
- package/dist/global-components.d.ts.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import FdsSearchSelect from './FdsSearchSelect.vue';
|
|
3
|
+
declare const meta: Meta<typeof FdsSearchSelect>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const WithItems: Story;
|
|
7
|
+
export declare const WithSelectedEarlier: Story;
|
|
8
|
+
export declare const SingleOrganization: Story;
|
|
9
|
+
export declare const WithValidation: Story;
|
|
10
|
+
export declare const WithLabelLeft: Story;
|
|
11
|
+
export declare const WithAbsoluteList: Story;
|
|
12
|
+
export declare const Disabled: Story;
|
|
13
|
+
export declare const EnglishLocale: Story;
|
|
14
|
+
export declare const WithPagination: Story;
|
|
15
|
+
//# sourceMappingURL=FdsSearchSelect.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FdsSearchSelect.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FdsSearchSelect/FdsSearchSelect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,eAAe,MAAM,uBAAuB,CAAA;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAyHtC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AA+BlC,eAAO,MAAM,SAAS,EAAE,KAwBvB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAuBjC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA6BhC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA0B5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KA0B3B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAyB9B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KA8B3B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA0D5B,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { FdsSearchSelectProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<FdsSearchSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
change: (value: string) => any;
|
|
4
|
+
paginate: (value: number) => any;
|
|
5
|
+
searchSelected: (value: Record<string, unknown>) => any;
|
|
6
|
+
total: (value: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<FdsSearchSelectProps> & Readonly<{
|
|
8
|
+
onChange?: (value: string) => any;
|
|
9
|
+
onPaginate?: (value: number) => any;
|
|
10
|
+
onSearchSelected?: (value: Record<string, unknown>) => any;
|
|
11
|
+
onTotal?: (value: number) => any;
|
|
12
|
+
}>, {
|
|
13
|
+
label: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
meta: string | null;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
valid: string;
|
|
18
|
+
invalidMessage: string;
|
|
19
|
+
labelLeft: boolean;
|
|
20
|
+
locale: "sv" | "en";
|
|
21
|
+
page: number;
|
|
22
|
+
items: Array<Record<string, unknown>>;
|
|
23
|
+
totalPages: number;
|
|
24
|
+
totalCount: number;
|
|
25
|
+
searchFields: string[];
|
|
26
|
+
preserveOrder: boolean;
|
|
27
|
+
initialValue: string;
|
|
28
|
+
dropdownAbsolute: boolean;
|
|
29
|
+
singleItemLabel: string;
|
|
30
|
+
searchContext: {
|
|
31
|
+
context: string;
|
|
32
|
+
linkWord: string;
|
|
33
|
+
};
|
|
34
|
+
noResultPrompt: string;
|
|
35
|
+
borderless: boolean;
|
|
36
|
+
marginless: boolean;
|
|
37
|
+
maxListHeight: number | string;
|
|
38
|
+
clearTrigger: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
export default _default;
|
|
41
|
+
//# sourceMappingURL=FdsSearchSelect.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FdsSearchSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FdsSearchSelect/FdsSearchSelect.vue"],"names":[],"mappings":"AA+kBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAy0BnD,wBAIG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface FdsSearchSelectProps {
|
|
2
|
+
items: Array<Record<string, unknown>>;
|
|
3
|
+
page?: number;
|
|
4
|
+
totalPages?: number;
|
|
5
|
+
totalCount?: number;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
searchFields?: string[];
|
|
8
|
+
preserveOrder?: boolean;
|
|
9
|
+
initialValue?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
dropdownAbsolute?: boolean;
|
|
12
|
+
labelLeft?: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
meta?: string | null;
|
|
15
|
+
singleItemLabel?: string;
|
|
16
|
+
searchContext?: {
|
|
17
|
+
context: string;
|
|
18
|
+
linkWord: string;
|
|
19
|
+
};
|
|
20
|
+
valid?: string;
|
|
21
|
+
invalidMessage?: string;
|
|
22
|
+
noResultPrompt?: string;
|
|
23
|
+
borderless?: boolean;
|
|
24
|
+
marginless?: boolean;
|
|
25
|
+
maxListHeight?: number | string;
|
|
26
|
+
locale?: 'sv' | 'en';
|
|
27
|
+
clearTrigger?: boolean;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FdsSearchSelect/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;IACrD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}
|
|
@@ -6,4 +6,13 @@ type Story = StoryObj<typeof meta>;
|
|
|
6
6
|
export declare const Basic: Story;
|
|
7
7
|
export declare const WithVModel: Story;
|
|
8
8
|
export declare const WithMeta: Story;
|
|
9
|
+
export declare const WithValidation: Story;
|
|
10
|
+
export declare const Disabled: Story;
|
|
11
|
+
export declare const Required: Story;
|
|
12
|
+
export declare const WithLabelLeft: Story;
|
|
13
|
+
export declare const Password: Story;
|
|
14
|
+
export declare const Search: Story;
|
|
15
|
+
export declare const WithMask: Story;
|
|
16
|
+
export declare const WithMaskPhone: Story;
|
|
17
|
+
export declare const AllStates: Story;
|
|
9
18
|
//# sourceMappingURL=FdsInput.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"FdsInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAwG/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA+B5B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAW3B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAiBpB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAoBtB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAcvB,CAAA"}
|
|
@@ -23,11 +23,17 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
23
23
|
id: string;
|
|
24
24
|
type: "text" | "search" | "email" | "password";
|
|
25
25
|
meta: string;
|
|
26
|
+
mask: string | RegExp | Array<string | RegExp>;
|
|
26
27
|
valid: string;
|
|
27
28
|
optional: boolean;
|
|
28
29
|
labelLeft: boolean;
|
|
29
30
|
clearButton: boolean;
|
|
30
31
|
passwordLabels: string[];
|
|
32
|
+
maskOptions: {
|
|
33
|
+
lazy?: boolean;
|
|
34
|
+
placeholderChar?: string;
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
};
|
|
31
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
38
|
export default _default;
|
|
33
39
|
//# sourceMappingURL=FdsInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.vue"],"names":[],"mappings":"AA+NA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,KAAK,WAAW,GAAG,aAAa,CAAC;AA4KjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA1LF,CAhNuC;uBAgNvC,CA9MuB;;;;AAsmBvB,wBAIG"}
|
|
@@ -16,5 +16,11 @@ export interface FdsInputProps {
|
|
|
16
16
|
locale?: 'sv' | 'en';
|
|
17
17
|
size?: number | string;
|
|
18
18
|
maxlength?: number;
|
|
19
|
+
mask?: string | RegExp | Array<string | RegExp>;
|
|
20
|
+
maskOptions?: {
|
|
21
|
+
lazy?: boolean;
|
|
22
|
+
placeholderChar?: string;
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
};
|
|
19
25
|
}
|
|
20
26
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAA;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAA;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;IAC/C,WAAW,CAAC,EAAE;QACZ,IAAI,CAAC,EAAE,OAAO,CAAA;QACd,eAAe,CAAC,EAAE,MAAM,CAAA;QACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KACvB,CAAA;CACF"}
|
|
@@ -7,4 +7,8 @@ export declare const Default: Story;
|
|
|
7
7
|
export declare const Secondary: Story;
|
|
8
8
|
export declare const Block: Story;
|
|
9
9
|
export declare const WithDisabled: Story;
|
|
10
|
+
export declare const WithRouterLinks: Story;
|
|
11
|
+
export declare const WithExactMatch: Story;
|
|
12
|
+
export declare const WithAnchorLinks: Story;
|
|
13
|
+
export declare const WithButtons: Story;
|
|
10
14
|
//# sourceMappingURL=FdsTabs.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsTabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/FdsTabs/FdsTabs.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,OAAO,MAAM,wBAAwB,CAAA;AAG5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAY9B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"FdsTabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/FdsTabs/FdsTabs.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,OAAO,MAAM,wBAAwB,CAAA;AAG5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAY9B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAkBlC,eAAO,MAAM,OAAO,EAAE,KAmBrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KA4BvB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KA4BnB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAuB1B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAyB7B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAyB5B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAyB7B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAA"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import type { FdsTabsItemProps } from './types';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<FdsTabsItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FdsTabsItemProps> & Readonly<{}>, {
|
|
7
|
+
label: string;
|
|
7
8
|
disabled: boolean;
|
|
8
9
|
active: boolean;
|
|
10
|
+
as: "router-link" | "a" | "button";
|
|
11
|
+
href: string;
|
|
12
|
+
to: string;
|
|
13
|
+
exact: boolean;
|
|
9
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
15
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
16
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsTabsItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/FdsTabsItem/FdsTabsItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsTabsItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/FdsTabsItem/FdsTabsItem.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAsK/C,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;;;;;;;;4EAGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
export interface FdsTabsItemProps {
|
|
2
|
+
/** Link destination (for router-link or anchor) */
|
|
3
|
+
to?: string;
|
|
4
|
+
/** Link destination (for anchor tag) */
|
|
5
|
+
href?: string;
|
|
6
|
+
/** Component type: 'router-link', 'a', or 'button' */
|
|
7
|
+
as?: 'router-link' | 'a' | 'button';
|
|
8
|
+
/** Manually set active state (if not using router) */
|
|
2
9
|
active?: boolean;
|
|
10
|
+
/** Use exact path matching (default: false, matches if path includes to/href) */
|
|
11
|
+
exact?: boolean;
|
|
12
|
+
/** Disable the tab */
|
|
3
13
|
disabled?: boolean;
|
|
14
|
+
/** Tab label text */
|
|
15
|
+
label?: string;
|
|
4
16
|
}
|
|
5
17
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/FdsTabsItem/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/FdsTabsItem/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,mDAAmD;IACnD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sDAAsD;IACtD,EAAE,CAAC,EAAE,aAAa,GAAG,GAAG,GAAG,QAAQ,CAAA;IACnC,sDAAsD;IACtD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iFAAiF;IACjF,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Composable for bolding search query matches in text
|
|
4
|
+
* @param searchTerm - Reactive search term (Ref<string>)
|
|
5
|
+
* @returns Function that takes text and returns HTML with matched query bolded
|
|
6
|
+
*/
|
|
7
|
+
export declare function useBoldQuery(searchTerm: Ref<string>): {
|
|
8
|
+
boldQuery: (text: string) => string;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=useBoldQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBoldQuery.d.ts","sourceRoot":"","sources":["../../src/composables/useBoldQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC;sBACzB,MAAM,KAAG,MAAM;EAoBzC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Check if a string looks like a personnummer (Swedish personal identity number)
|
|
4
|
+
* @param value - String value to check
|
|
5
|
+
* @returns Boolean indicating if the value looks like a personnummer
|
|
6
|
+
*/
|
|
7
|
+
export declare function isPidString(value: string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Composable for detecting if a string looks like a personnummer (Swedish personal identity number)
|
|
10
|
+
* @param value - Reactive string value to check (Ref<string>)
|
|
11
|
+
* @returns Computed boolean indicating if the value looks like a personnummer
|
|
12
|
+
*/
|
|
13
|
+
export declare function useIsPid(value: Ref<string>): {
|
|
14
|
+
isPid: import("vue").ComputedRef<boolean>;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=useIsPid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsPid.d.ts","sourceRoot":"","sources":["../../src/composables/useIsPid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAExC;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CA2BlD;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC;;EAM1C"}
|