fds-vue-core 8.12.3 → 8.13.1

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.
@@ -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
@@ -0,0 +1,4 @@
1
+ import { FdsCancellationRuleTextOptions } from '../helpers/cancellationRule';
2
+ export declare function useCancellationRuleText(): {
3
+ cancellationRuleText: (rule: string | null | undefined, options?: FdsCancellationRuleTextOptions) => string;
4
+ };