@hunter-industries/hunter-components 0.0.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 +43 -0
- package/dist/assets/fonts.stories.d.ts +5 -0
- package/dist/components/Button/Button.stories.d.ts +7 -0
- package/dist/components/Button/Button.vue.d.ts +25 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +6 -0
- package/dist/components/Dropdown/DropdownList/DropdownList.vue.d.ts +16 -0
- package/dist/components/Dropdown/DropdownList/DropdownListWithFilter.vue.d.ts +16 -0
- package/dist/components/Dropdown/DropdownList/DropdownLists.stories.d.ts +87 -0
- package/dist/components/Dropdown/DropdownList/index.d.ts +4 -0
- package/dist/components/Dropdown/DropdownWithButton.vue.d.ts +20 -0
- package/dist/components/Dropdown/index.d.ts +2 -0
- package/dist/components/Link/Link.stories.d.ts +6 -0
- package/dist/components/Link/Link.vue.d.ts +23 -0
- package/dist/components/Link/index.d.ts +2 -0
- package/dist/components/Navigation/NavigationLinks.stories.d.ts +6 -0
- package/dist/components/Navigation/NavigationLinks.vue.d.ts +17 -0
- package/dist/components/Navigation/index.d.ts +2 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +6 -0
- package/dist/components/SearchInput/SearchInput.vue.d.ts +21 -0
- package/dist/components/SearchInput/index.d.ts +2 -0
- package/dist/hunter-components.js +394 -0
- package/dist/hunter-components.umd.cjs +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/utils/filterByString.d.ts +12 -0
- package/dist/vite.svg +1 -0
- package/package.json +62 -0
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Hunter Component Library
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
This Component Library is currently for utilization by Vue applications at Hunter Industries.
|
|
6
|
+
|
|
7
|
+
## Getting Started
|
|
8
|
+
|
|
9
|
+
### Requirements
|
|
10
|
+
|
|
11
|
+
This library requires Node 18+ and Vue 3.
|
|
12
|
+
|
|
13
|
+
### Usage
|
|
14
|
+
|
|
15
|
+
Import the library from Hunter Industry's Azure DevOps Library into your view app.
|
|
16
|
+
|
|
17
|
+
Import a component from the library as you would a normal Vue component, passing props if required.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
Here is how to utilize the HunterButton component a template in your project:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
<template>
|
|
25
|
+
<div class="testing-wrapper">
|
|
26
|
+
<HunterButton variant="primary"
|
|
27
|
+
>Launch MyDesign</HunterButton>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
<script setup lang="ts">
|
|
31
|
+
import { HunterButton } from "hunter-components";
|
|
32
|
+
</script>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Usage Notes
|
|
36
|
+
|
|
37
|
+
This is a starter template for use in other projects. Changes made to this template should not be pushed to the current repo unless you are a developer/maintainer of this template.
|
|
38
|
+
|
|
39
|
+
## Future Features
|
|
40
|
+
|
|
41
|
+
Upcoming features will include:
|
|
42
|
+
|
|
43
|
+
- Unit testing templates
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/vue3";
|
|
2
|
+
import Button from "./Button.vue";
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Secondary: Story;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
variant: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/vue3";
|
|
2
|
+
import DropdownWithButton from "./DropdownWithButton.vue";
|
|
3
|
+
declare const meta: Meta<typeof DropdownWithButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DropdownListProps } from "../types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<DropdownListProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
selectOption: (value: any) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DropdownListProps>>> & {
|
|
5
|
+
onSelectOption?: ((value: any) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DropdownListWithFilterProps } from "../types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<DropdownListWithFilterProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
selectOption: (value: any) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DropdownListWithFilterProps>>> & {
|
|
5
|
+
onSelectOption?: ((value: any) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { Meta } from "@storybook/vue3";
|
|
2
|
+
import DropdownList from "./DropdownList.vue";
|
|
3
|
+
import DropdownListWithFilter from "./DropdownListWithFilter.vue";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("vue").DefineComponent<{
|
|
7
|
+
options: {
|
|
8
|
+
type: import("vue").PropType<import("../types").DropdownOption[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
optionKey: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
collapsed: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
scrollable: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
maxResults: {
|
|
23
|
+
type: import("vue").PropType<number>;
|
|
24
|
+
};
|
|
25
|
+
id: {
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
};
|
|
28
|
+
selected: {
|
|
29
|
+
type: import("vue").PropType<import("../types").DropdownOption>;
|
|
30
|
+
};
|
|
31
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
selectOption: (value: any) => void;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
options: {
|
|
35
|
+
type: import("vue").PropType<import("../types").DropdownOption[]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
optionKey: {
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
collapsed: {
|
|
43
|
+
type: import("vue").PropType<boolean>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
scrollable: {
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
};
|
|
49
|
+
maxResults: {
|
|
50
|
+
type: import("vue").PropType<number>;
|
|
51
|
+
};
|
|
52
|
+
id: {
|
|
53
|
+
type: import("vue").PropType<string>;
|
|
54
|
+
};
|
|
55
|
+
selected: {
|
|
56
|
+
type: import("vue").PropType<import("../types").DropdownOption>;
|
|
57
|
+
};
|
|
58
|
+
}>> & {
|
|
59
|
+
onSelectOption?: ((value: any) => any) | undefined;
|
|
60
|
+
}, {}, {}>;
|
|
61
|
+
parameters: {};
|
|
62
|
+
tags: string[];
|
|
63
|
+
args: {
|
|
64
|
+
options: {
|
|
65
|
+
id: number;
|
|
66
|
+
name: string;
|
|
67
|
+
}[];
|
|
68
|
+
optionKey: string;
|
|
69
|
+
collapsed: boolean;
|
|
70
|
+
scrollable: boolean;
|
|
71
|
+
};
|
|
72
|
+
argTypes: {
|
|
73
|
+
collapsed: {
|
|
74
|
+
control: string;
|
|
75
|
+
description: string;
|
|
76
|
+
defaultValue: boolean;
|
|
77
|
+
};
|
|
78
|
+
scrollable: {
|
|
79
|
+
control: string;
|
|
80
|
+
description: string;
|
|
81
|
+
defaultValue: boolean;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export default meta;
|
|
86
|
+
export declare const Default: Meta<typeof DropdownList>;
|
|
87
|
+
export declare const WithFilter: Meta<typeof DropdownListWithFilter>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DropdownListProps } from "./types";
|
|
2
|
+
interface Props extends DropdownListProps {
|
|
3
|
+
buttonText: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
selectOption: (value: any) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
|
9
|
+
onSelectOption?: ((value: any) => any) | undefined;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToOption<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
to: string;
|
|
3
|
+
state?: "disabled" | "inactive" | null;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { NavLinkItem } from "./types";
|
|
2
|
+
interface Props {
|
|
3
|
+
links: NavLinkItem[];
|
|
4
|
+
variant?: string;
|
|
5
|
+
activeLink: NavLinkItem;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DropdownOption } from "../Dropdown/types";
|
|
2
|
+
interface Props {
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
options: DropdownOption[];
|
|
5
|
+
width?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
searchClick: (value: any) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
|
10
|
+
onSearchClick?: ((value: any) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-3{right:.75rem}.top-full{top:100%}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-max{height:-moz-max-content;height:max-content}.max-h-44{max-height:11rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-screen-lg{max-width:1024px}.origin-center{transform-origin:center}.-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--rounded)}.rounded-3xl{border-radius:1.5rem}.rounded-lg{border-radius:var(--rounded-lg)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r{border-top-right-radius:var(--rounded);border-bottom-right-radius:var(--rounded)}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-blue-400{border-color:var(--blue-400)}.border-blue-700{border-color:var(--blue-700)}.border-blue-800{border-color:var(--blue-800)}.border-disabled-light{border-color:var(--disabled-light)}.bg-blue-200{background-color:var(--blue-200)}.bg-blue-800{background-color:var(--blue-800)}.p-0{padding:0}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-1{padding-bottom:.25rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pt-0{padding-top:0}.pt-1px{padding-top:1px}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:var(--28px)}.text-3xl{font-size:var(--32px)}.text-4xl{font-size:var(--36px)}.text-base{font-size:var(--16px)}.text-lg{font-size:var(--22px)}.text-md{font-size:var(--18px)}.text-sm{font-size:var(--14px)}.text-xl{font-size:var(--24px)}.text-xs{font-size:var(--12px)}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{color:var(--blue-500)}.text-blue-800{color:var(--blue-800)}.text-blue-900{color:var(--blue-900)}.text-disabled{color:var(--disabled)}.text-error{color:var(--error)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-400{outline-color:var(--blue-400)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-component,.hunter-component~*,.hunter-component>*{font-family:Arial,Helvetica,Verdana,Bitstream Vera Sans,sans-serif;line-height:auto;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--dark);box-sizing:border-box;scroll-behavior:smooth}@supports not selector(::-webkit-scrollbar){.hunter-component,.hunter-component~*,.hunter-component>*{scrollbar-color:var(--disabled) var(--disabled-light);scrollbar-width:thin}}@supports selector(::-webkit-scrollbar){.hunter-component ::-webkit-scrollbar,.hunter-component~* ::-webkit-scrollbar,.hunter-component>* ::-webkit-scrollbar{background:var(--disabled-light)!important;width:8px!important;border-radius:1.5rem}.hunter-component ::-webkit-scrollbar-thumb,.hunter-component~* ::-webkit-scrollbar-thumb,.hunter-component>* ::-webkit-scrollbar-thumb{background:var(--disabled)!important;border-radius:1.5rem}}.hunter-component h1,.hunter-component h2,.hunter-component h3,.hunter-component h4,.hunter-component h5,.hunter-component h6,.hunter-component~h1,.hunter-component~h2,.hunter-component~h3,.hunter-component~h4,.hunter-component~h5,.hunter-component~h6{font-weight:500;color:var(--blue-900)}.hunter-component h1,.hunter-component~h1{font-size:var(--28px)}.hunter-component h2,.hunter-component~h2{font-size:var(--24px)}.hunter-component h3,.hunter-component~h3{font-size:var(--22px)}.hunter-component h4,.hunter-component~h4{font-size:var(--18px)}.hunter-component h5,.hunter-component~h5{font-size:var(--16px)}.hunter-component h6,.hunter-component~h6{font-size:var(--14px)}.hunter-component a,.hunter-component~a,.hunter-component>a{font-weight:500;color:var(--blue-800);text-decoration:inherit}.hunter-component a:hover,.hunter-component~a:hover,.hunter-component>a{color:var(--blue-700)}.hunter-button{position:relative;display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.75rem;border-radius:var(--rounded);padding-left:1.5rem;padding-right:1.5rem;padding-top:.125rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-button svg{color:inherit;pointer-events:none}.hunter-button-disabled{pointer-events:none;cursor:default;color:var(--disabled)}.hunter-button-primary{background-color:var(--blue-800);color:var(--blue-200)}.hunter-button-primary:hover{background-color:var(--blue-700)}.hunter-button-primary.hunter-button-disabled{background-color:var(--disabled-light)}.hunter-button-secondary{border-width:2px;border-color:var(--blue-800);background-color:var(--blue-200);color:var(--blue-800)}.hunter-button-secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}.hunter-button-secondary.hunter-button-disabled{border-color:var(--disabled-light);color:var(--disabled-light)}.hunter-button-link,.hunter-button-text{height:-moz-max-content;height:max-content;padding:0;font-size:var(--16px);color:var(--blue-800)}.hunter-button-link:hover,.hunter-button-text:hover{color:var(--blue-700)}.hunter-button-text{font-weight:500}.hunter-button-icon{height:1.25rem;width:1.25rem;padding:0;color:var(--blue-800)}.hunter-button-icon:hover{color:var(--blue-700)}:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}@keyframes set-height-0{to{height:0px;overflow:hidden}}.hunter-dropdown-list{position:absolute;top:100%;left:0;margin-top:.5rem;width:100%;border-radius:var(--rounded-lg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-list.collapsed{animation:set-height-0 0s forwards .15s;opacity:0}.hunter-dropdown-ol{display:flex;width:100%;flex-direction:column;align-items:flex-start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-ol:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--rounded-lg);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hunter-search-input-option-li{width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-option-button{margin-top:.125rem;margin-bottom:.125rem;width:100%;background-color:transparent;padding:.5rem 1.5rem .25rem;text-align:left;font-weight:500;color:var(--blue-900);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-option-button:hover{background-color:var(--blue-300)}.hunter-dropdown-option-button.dropdown-option-selected{color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-with-button[data-v-0a32b357]{display:flex;width:11rem;flex-direction:column;align-items:flex-end}.hunter-dropdown-selection-button[data-v-0a32b357]{position:relative;width:-moz-max-content;width:max-content}.hunter-dropdown-with-button-list[data-v-0a32b357]{position:relative;width:100%}.hunter-link{font-size:var(--16px);font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-link.link-disabled{pointer-events:none;color:var(--disabled);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link.link-inactive{color:var(--blue-500);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link:hover,.hunter-link.link-inactive:hover{cursor:pointer;color:var(--blue-700)}.hunter-nav-links{display:flex;width:-moz-max-content;width:max-content}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container{position:relative;display:flex;width:100%;justify-content:center;border-bottom-width:1px;border-color:var(--blue-400);padding-left:3rem;padding-right:3rem;padding-bottom:.25rem}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin-bottom:-1px;transform-origin:center;--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-width:2px;border-color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:has(.nav-link-active):before{content:"";--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-v-ce08551e]:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}.hunter-search-input-with-dropdown[data-v-ce08551e]{display:flex;width:100%;align-items:flex-end;gap:.5rem}.hunter-search-input-with-dropdown .hunter-search-input-container[data-v-ce08551e]{position:relative;width:100%;min-width:13rem;max-width:1024px}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-label[data-v-ce08551e]{margin-left:.125rem;margin-bottom:.25rem;display:inline-block;width:100%;font-weight:500;text-transform:uppercase;color:var(--blue-900)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]{outline:2px solid transparent;transition:outline-color .2s ease-in-out,color .1s ease-in-out;position:relative;display:flex;height:2.5rem;width:100%;align-items:center;border-radius:1.5rem;padding-left:.75rem;padding-right:.75rem;padding-top:1px;color:var(--blue-900);outline-width:1px;outline-color:var(--blue-400)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]::-moz-placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]::placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:focus,.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:active{outline:2px solid var(--blue-800)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:focus::-moz-placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:focus::placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-button[data-v-ce08551e]{position:absolute;right:.75rem;bottom:.625rem}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error[data-v-ce08551e]{pointer-events:none;position:absolute;top:100%;margin-top:.125rem;margin-left:.375rem;font-size:var(--14px);color:var(--error);opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error.error-visible[data-v-ce08551e]{pointer-events:auto;opacity:1}.hunter-search-input-with-dropdown .hunter-search-input-container .hide-text[data-v-ce08551e]{color:transparent}.hunter-search-input-with-dropdown .clear-button-wrapper[data-v-ce08551e]{display:flex;height:2.5rem;width:-moz-max-content;width:max-content;align-items:center}.hunter-search-input-with-dropdown .clear-button[data-v-ce08551e]{padding-top:1px}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
import { defineComponent as $, computed as y, openBlock as m, createElementBlock as f, normalizeClass as b, renderSlot as T, createElementVNode as h, Fragment as D, renderList as K, toDisplayString as g, ref as v, watch as N, createBlock as Q, onMounted as V, onBeforeUnmount as H, createVNode as k, withCtx as C, createTextVNode as I, unref as R, normalizeStyle as U, withDirectives as j, vModelText as A, pushScopeId as G, popScopeId as J } from "vue";
|
|
3
|
+
const P = ["id"], O = /* @__PURE__ */ $({
|
|
4
|
+
__name: "Button",
|
|
5
|
+
props: {
|
|
6
|
+
variant: {},
|
|
7
|
+
disabled: { type: Boolean },
|
|
8
|
+
id: {}
|
|
9
|
+
},
|
|
10
|
+
setup(s) {
|
|
11
|
+
const t = s, o = y(() => t.disabled || !1), l = y(
|
|
12
|
+
() => `hunter-button-${t.variant || "primary"} ${o.value && "hunter-button-disabled"}`
|
|
13
|
+
);
|
|
14
|
+
return (e, n) => (m(), f("button", {
|
|
15
|
+
ref: "button",
|
|
16
|
+
class: b(["hunter-component hunter-button", l.value]),
|
|
17
|
+
id: e.id
|
|
18
|
+
}, [
|
|
19
|
+
T(e.$slots, "default")
|
|
20
|
+
], 10, P));
|
|
21
|
+
}
|
|
22
|
+
}), X = ["id"], Y = { class: "overflow-hidden rounded-r rounded-l-none" }, Z = ["value", "onClick"], F = /* @__PURE__ */ $({
|
|
23
|
+
__name: "DropdownList",
|
|
24
|
+
props: {
|
|
25
|
+
options: {},
|
|
26
|
+
optionKey: {},
|
|
27
|
+
collapsed: { type: Boolean },
|
|
28
|
+
scrollable: { type: Boolean },
|
|
29
|
+
maxResults: {},
|
|
30
|
+
id: {},
|
|
31
|
+
selected: {}
|
|
32
|
+
},
|
|
33
|
+
emits: ["selectOption"],
|
|
34
|
+
setup(s, { emit: t }) {
|
|
35
|
+
const o = s, l = t, e = y(() => o.scrollable || !1), n = y(() => o.selected || null), i = (d) => {
|
|
36
|
+
l("selectOption", d);
|
|
37
|
+
};
|
|
38
|
+
return (d, u) => (m(), f("div", {
|
|
39
|
+
id: `dropdown-list-${d.id}`,
|
|
40
|
+
class: b(["hunter-component hunter-dropdown-list pr-0.5 py-1", d.collapsed ? "collapsed" : ""])
|
|
41
|
+
}, [
|
|
42
|
+
h("div", Y, [
|
|
43
|
+
h("ol", {
|
|
44
|
+
ref: "dropdown",
|
|
45
|
+
class: b(["hunter-dropdown-ol", e.value && "max-h-44 overflow-y-auto"]),
|
|
46
|
+
"aria-hidden": "true"
|
|
47
|
+
}, [
|
|
48
|
+
(m(!0), f(D, null, K(d.options, (p) => (m(), f("li", {
|
|
49
|
+
key: p[d.optionKey],
|
|
50
|
+
"aria-hidden": "true",
|
|
51
|
+
class: "hunter-search-input-option-li"
|
|
52
|
+
}, [
|
|
53
|
+
h("button", {
|
|
54
|
+
class: b([
|
|
55
|
+
"hunter-dropdown-option-button",
|
|
56
|
+
n.value && p[d.optionKey] === n.value[d.optionKey] && "dropdown-option-selected"
|
|
57
|
+
]),
|
|
58
|
+
value: p[d.optionKey],
|
|
59
|
+
onClick: (w) => i(p)
|
|
60
|
+
}, g(p[d.optionKey]), 11, Z)
|
|
61
|
+
]))), 128))
|
|
62
|
+
], 2)
|
|
63
|
+
])
|
|
64
|
+
], 10, X));
|
|
65
|
+
}
|
|
66
|
+
}), q = ({
|
|
67
|
+
options: s,
|
|
68
|
+
query: t,
|
|
69
|
+
key: o,
|
|
70
|
+
max: l
|
|
71
|
+
}) => {
|
|
72
|
+
if (!t)
|
|
73
|
+
return;
|
|
74
|
+
t = t == null ? void 0 : t.toLowerCase();
|
|
75
|
+
let e = 0;
|
|
76
|
+
return s.filter((n) => {
|
|
77
|
+
if (n[o].toLowerCase().includes(t))
|
|
78
|
+
if (l) {
|
|
79
|
+
if (l && e <= l - 1)
|
|
80
|
+
return e++, n;
|
|
81
|
+
} else
|
|
82
|
+
return n;
|
|
83
|
+
});
|
|
84
|
+
}, ee = /* @__PURE__ */ $({
|
|
85
|
+
__name: "DropdownListWithFilter",
|
|
86
|
+
props: {
|
|
87
|
+
filterValue: {},
|
|
88
|
+
options: {},
|
|
89
|
+
optionKey: {},
|
|
90
|
+
collapsed: { type: Boolean },
|
|
91
|
+
scrollable: { type: Boolean },
|
|
92
|
+
maxResults: {},
|
|
93
|
+
id: {},
|
|
94
|
+
selected: {}
|
|
95
|
+
},
|
|
96
|
+
emits: ["selectOption"],
|
|
97
|
+
setup(s, { emit: t }) {
|
|
98
|
+
const o = s, l = t, e = v([...o.options]), n = y(() => o.filterValue || ""), i = v(o.collapsed);
|
|
99
|
+
N(
|
|
100
|
+
n,
|
|
101
|
+
(u) => {
|
|
102
|
+
if (u.length > 1) {
|
|
103
|
+
if (e.value = q({
|
|
104
|
+
options: o.options,
|
|
105
|
+
query: u,
|
|
106
|
+
key: o.optionKey,
|
|
107
|
+
max: o.maxResults
|
|
108
|
+
}), e.value.length === 0)
|
|
109
|
+
return i.value = !0, i.value;
|
|
110
|
+
i.value = !1;
|
|
111
|
+
return;
|
|
112
|
+
} else
|
|
113
|
+
i.value = !0;
|
|
114
|
+
},
|
|
115
|
+
{ immediate: !0 }
|
|
116
|
+
);
|
|
117
|
+
const d = (u) => {
|
|
118
|
+
l("selectOption", u);
|
|
119
|
+
};
|
|
120
|
+
return (u, p) => (m(), Q(F, {
|
|
121
|
+
options: e.value,
|
|
122
|
+
optionKey: u.optionKey,
|
|
123
|
+
collapsed: i.value,
|
|
124
|
+
scrollable: u.scrollable,
|
|
125
|
+
onSelectOption: p[0] || (p[0] = (w) => d(w))
|
|
126
|
+
}, null, 8, ["options", "optionKey", "collapsed", "scrollable"]));
|
|
127
|
+
}
|
|
128
|
+
}), te = {
|
|
129
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
130
|
+
fill: "none",
|
|
131
|
+
viewBox: "0 0 18 9"
|
|
132
|
+
}, oe = /* @__PURE__ */ h("path", {
|
|
133
|
+
fill: "currentColor",
|
|
134
|
+
d: "M9 9 .667.667h16.666z"
|
|
135
|
+
}, null, -1), ne = [
|
|
136
|
+
oe
|
|
137
|
+
];
|
|
138
|
+
function se(s, t) {
|
|
139
|
+
return m(), f("svg", te, [...ne]);
|
|
140
|
+
}
|
|
141
|
+
const le = { render: se }, ae = { class: "hunter-dropdown-with-button" }, re = { class: "hunter-dropdown-selection-button" }, ie = /* @__PURE__ */ $({
|
|
142
|
+
__name: "DropdownWithButton",
|
|
143
|
+
props: {
|
|
144
|
+
buttonText: {},
|
|
145
|
+
id: {},
|
|
146
|
+
options: {},
|
|
147
|
+
optionKey: {},
|
|
148
|
+
collapsed: { type: Boolean },
|
|
149
|
+
scrollable: { type: Boolean },
|
|
150
|
+
maxResults: {},
|
|
151
|
+
selected: {}
|
|
152
|
+
},
|
|
153
|
+
emits: ["selectOption"],
|
|
154
|
+
setup(s, { emit: t }) {
|
|
155
|
+
const { id: o } = s, l = t, e = v(), n = v(), i = v(!0), d = v(), u = () => {
|
|
156
|
+
i.value = !i.value;
|
|
157
|
+
}, p = (r) => {
|
|
158
|
+
d.value = r, setTimeout(() => {
|
|
159
|
+
i.value = !0;
|
|
160
|
+
}, 750), l("selectOption", r);
|
|
161
|
+
}, w = (r) => {
|
|
162
|
+
var L;
|
|
163
|
+
const S = r.target;
|
|
164
|
+
if (!(S === e.value || (L = n.value) != null && L.contains(S) || S === n.value))
|
|
165
|
+
return i.value = !0, i;
|
|
166
|
+
};
|
|
167
|
+
return V(() => {
|
|
168
|
+
document.addEventListener("click", (r) => w(r)), e.value = document.querySelector(`#button-dropdown-title-${o}`);
|
|
169
|
+
}), H(() => {
|
|
170
|
+
document.removeEventListener("click", (r) => w(r));
|
|
171
|
+
}), (r, S) => (m(), f("div", ae, [
|
|
172
|
+
h("div", re, [
|
|
173
|
+
k(O, {
|
|
174
|
+
id: `button-dropdown-title-${r.id}`,
|
|
175
|
+
variant: "text",
|
|
176
|
+
onClick: u
|
|
177
|
+
}, {
|
|
178
|
+
default: C(() => [
|
|
179
|
+
I(g(r.buttonText) + " ", 1),
|
|
180
|
+
k(R(le), {
|
|
181
|
+
class: b(["h-4 w-4 transition duration-300 ease-in-out", i.value === !0 ? "scale-y-100" : "-scale-y-100"])
|
|
182
|
+
}, null, 8, ["class"])
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
}, 8, ["id"])
|
|
186
|
+
]),
|
|
187
|
+
h("div", {
|
|
188
|
+
ref_key: "dropdownListEl",
|
|
189
|
+
ref: n,
|
|
190
|
+
class: "hunter-dropdown-with-button-list"
|
|
191
|
+
}, [
|
|
192
|
+
k(F, {
|
|
193
|
+
options: r.options,
|
|
194
|
+
"option-key": r.optionKey,
|
|
195
|
+
collapsed: i.value,
|
|
196
|
+
selected: d.value,
|
|
197
|
+
onSelectOption: p
|
|
198
|
+
}, null, 8, ["options", "option-key", "collapsed", "selected"])
|
|
199
|
+
], 512)
|
|
200
|
+
]));
|
|
201
|
+
}
|
|
202
|
+
}), W = (s, t) => {
|
|
203
|
+
const o = s.__vccOpts || s;
|
|
204
|
+
for (const [l, e] of t)
|
|
205
|
+
o[l] = e;
|
|
206
|
+
return o;
|
|
207
|
+
}, Ce = /* @__PURE__ */ W(ie, [["__scopeId", "data-v-0a32b357"]]), ue = ["href"], ce = /* @__PURE__ */ $({
|
|
208
|
+
__name: "Link",
|
|
209
|
+
props: {
|
|
210
|
+
to: {},
|
|
211
|
+
state: {},
|
|
212
|
+
className: {}
|
|
213
|
+
},
|
|
214
|
+
setup(s) {
|
|
215
|
+
const t = s, o = y(() => t.state);
|
|
216
|
+
return (l, e) => (m(), f("a", {
|
|
217
|
+
class: b(["hunter-component hunter-link", [
|
|
218
|
+
o.value === "disabled" && "link-disabled",
|
|
219
|
+
o.value === "inactive" && "link-inactive",
|
|
220
|
+
l.className
|
|
221
|
+
]]),
|
|
222
|
+
href: l.to
|
|
223
|
+
}, [
|
|
224
|
+
T(l.$slots, "default")
|
|
225
|
+
], 10, ue));
|
|
226
|
+
}
|
|
227
|
+
}), de = { class: "nav-link-container" }, ge = /* @__PURE__ */ $({
|
|
228
|
+
__name: "NavigationLinks",
|
|
229
|
+
props: {
|
|
230
|
+
links: {},
|
|
231
|
+
variant: {},
|
|
232
|
+
activeLink: {}
|
|
233
|
+
},
|
|
234
|
+
setup(s) {
|
|
235
|
+
const t = s, o = y(
|
|
236
|
+
() => t.variant && `hunter-nav-links-${t.variant}`
|
|
237
|
+
);
|
|
238
|
+
return console.log("CLS", o.value, t.variant), (l, e) => (m(), f("nav", {
|
|
239
|
+
class: b(["hunter-component hunter-nav-links", o.value])
|
|
240
|
+
}, [
|
|
241
|
+
(m(!0), f(D, null, K(l.links, (n) => (m(), f("div", de, [
|
|
242
|
+
k(ce, {
|
|
243
|
+
to: n.route,
|
|
244
|
+
className: l.activeLink.route === n.route ? "nav-link-active" : "",
|
|
245
|
+
state: l.activeLink.route !== n.route ? "inactive" : null
|
|
246
|
+
}, {
|
|
247
|
+
default: C(() => [
|
|
248
|
+
I(g(n.text), 1)
|
|
249
|
+
]),
|
|
250
|
+
_: 2
|
|
251
|
+
}, 1032, ["to", "className", "state"])
|
|
252
|
+
]))), 256))
|
|
253
|
+
], 2));
|
|
254
|
+
}
|
|
255
|
+
}), pe = {
|
|
256
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
257
|
+
fill: "none",
|
|
258
|
+
viewBox: "0 0 17 18"
|
|
259
|
+
}, ve = /* @__PURE__ */ h("path", {
|
|
260
|
+
fill: "currentColor",
|
|
261
|
+
d: "m15.678 18-5.95-6.3a5.54 5.54 0 0 1-3.59 1.3q-2.573 0-4.355-1.888T0 6.5t1.783-4.612T6.14 0t4.357 1.888T12.278 6.5q0 1.1-.33 2.075-.331.975-.898 1.725L17 16.6zm-9.54-7Q7.91 11 9.15 9.688T10.389 6.5t-1.24-3.187Q7.913 2.002 6.14 2t-3.01 1.313T1.889 6.5q-.003 1.871 1.24 3.188Q4.372 11.004 6.139 11"
|
|
262
|
+
}, null, -1), he = [
|
|
263
|
+
ve
|
|
264
|
+
];
|
|
265
|
+
function me(s, t) {
|
|
266
|
+
return m(), f("svg", pe, [...he]);
|
|
267
|
+
}
|
|
268
|
+
const fe = { render: me }, _e = (s) => (G("data-v-ce08551e"), s = s(), J(), s), we = { class: "hunter-component hunter-search-input-with-dropdown" }, ke = /* @__PURE__ */ _e(() => /* @__PURE__ */ h("span", { class: "hunter-search-input-label" }, "Search", -1)), be = ["placeholder"], ye = ["ariaHidden"], $e = { class: "clear-button-wrapper" }, Se = /* @__PURE__ */ $({
|
|
269
|
+
__name: "SearchInput",
|
|
270
|
+
props: {
|
|
271
|
+
placeholder: {},
|
|
272
|
+
options: {},
|
|
273
|
+
width: {}
|
|
274
|
+
},
|
|
275
|
+
emits: ["searchClick"],
|
|
276
|
+
setup(s, { emit: t }) {
|
|
277
|
+
const { options: o = [] } = s, l = t, e = v(), n = v(), i = v(), d = v(), u = v(), p = v(), w = v(!0), r = v(""), S = (a) => {
|
|
278
|
+
a.preventDefault(), B(e.value);
|
|
279
|
+
}, L = (a) => {
|
|
280
|
+
const c = a.target;
|
|
281
|
+
r.value = c.value;
|
|
282
|
+
}, B = (a) => {
|
|
283
|
+
if (!a)
|
|
284
|
+
return u.value = "Enter a search term.", u;
|
|
285
|
+
e.value = a;
|
|
286
|
+
const c = o.find((_) => _.name === a);
|
|
287
|
+
w.value = !0, r.value = "", l("searchClick", c || e.value);
|
|
288
|
+
}, z = (a) => {
|
|
289
|
+
e.value = a.name, B(e.value);
|
|
290
|
+
}, x = () => {
|
|
291
|
+
B(e.value);
|
|
292
|
+
};
|
|
293
|
+
N(u, (a) => {
|
|
294
|
+
a && (setTimeout(() => {
|
|
295
|
+
p.value.classList.add("error-visible");
|
|
296
|
+
}, 200), setTimeout(() => {
|
|
297
|
+
p.value.classList.remove("error-visible");
|
|
298
|
+
}, 3e3), setTimeout(() => {
|
|
299
|
+
u.value = "";
|
|
300
|
+
}, 3300));
|
|
301
|
+
});
|
|
302
|
+
const M = () => {
|
|
303
|
+
n.value.classList.add("hide-text"), setTimeout(() => {
|
|
304
|
+
e.value = "", n.value.classList.remove("hide-text");
|
|
305
|
+
}, 150);
|
|
306
|
+
}, E = (a) => {
|
|
307
|
+
const c = a.target;
|
|
308
|
+
c === n.value && (r.value = e.value || ""), c !== (n == null ? void 0 : n.value) && (r.value = "");
|
|
309
|
+
};
|
|
310
|
+
return V(() => {
|
|
311
|
+
d.value = [
|
|
312
|
+
...document.querySelectorAll(".hunter-search-input-option-li")
|
|
313
|
+
], w.value = !0, document.addEventListener("click", (a) => E(a));
|
|
314
|
+
}), H(() => {
|
|
315
|
+
document.removeEventListener("click", (a) => E(a));
|
|
316
|
+
}), (a, c) => (m(), f("div", we, [
|
|
317
|
+
h("div", {
|
|
318
|
+
class: "hunter-search-input-container",
|
|
319
|
+
style: U({
|
|
320
|
+
width: `${a.width && a.width > 208 && a.width}px`
|
|
321
|
+
})
|
|
322
|
+
}, [
|
|
323
|
+
h("form", {
|
|
324
|
+
onSubmit: c[3] || (c[3] = (_) => S(_)),
|
|
325
|
+
class: "w-full"
|
|
326
|
+
}, [
|
|
327
|
+
h("label", null, [
|
|
328
|
+
ke,
|
|
329
|
+
j(h("input", {
|
|
330
|
+
"onUpdate:modelValue": c[0] || (c[0] = (_) => e.value = _),
|
|
331
|
+
ref_key: "inputEl",
|
|
332
|
+
ref: n,
|
|
333
|
+
class: "hunter-search-input",
|
|
334
|
+
onFocus: c[1] || (c[1] = (_) => u.value = ""),
|
|
335
|
+
onInput: c[2] || (c[2] = (_) => L(_)),
|
|
336
|
+
placeholder: a.placeholder || "Search projects"
|
|
337
|
+
}, null, 40, be), [
|
|
338
|
+
[A, e.value]
|
|
339
|
+
])
|
|
340
|
+
])
|
|
341
|
+
], 32),
|
|
342
|
+
h("span", {
|
|
343
|
+
ref_key: "errorEl",
|
|
344
|
+
ref: p,
|
|
345
|
+
class: "hunter-search-input-error transition duration-300 ease-in-out",
|
|
346
|
+
ariaHidden: !u.value
|
|
347
|
+
}, g(u.value), 9, ye),
|
|
348
|
+
k(ee, {
|
|
349
|
+
options: a.options,
|
|
350
|
+
"option-key": "name",
|
|
351
|
+
collapsed: w.value,
|
|
352
|
+
filter: "",
|
|
353
|
+
"filter-value": r.value,
|
|
354
|
+
scrollable: "",
|
|
355
|
+
maxResults: 10,
|
|
356
|
+
onSelectOption: c[4] || (c[4] = (_) => z(_))
|
|
357
|
+
}, null, 8, ["options", "collapsed", "filter-value"]),
|
|
358
|
+
k(O, {
|
|
359
|
+
ref_key: "searchButtonEl",
|
|
360
|
+
ref: i,
|
|
361
|
+
class: "hunter-search-input-button",
|
|
362
|
+
variant: "icon",
|
|
363
|
+
onClick: x
|
|
364
|
+
}, {
|
|
365
|
+
default: C(() => [
|
|
366
|
+
k(R(fe), { class: "hunter-search-input-icon" })
|
|
367
|
+
]),
|
|
368
|
+
_: 1
|
|
369
|
+
}, 512)
|
|
370
|
+
], 4),
|
|
371
|
+
h("div", $e, [
|
|
372
|
+
k(O, {
|
|
373
|
+
class: "underline clear-button",
|
|
374
|
+
variant: "link",
|
|
375
|
+
onClick: M
|
|
376
|
+
}, {
|
|
377
|
+
default: C(() => [
|
|
378
|
+
I(" Clear ")
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})
|
|
382
|
+
])
|
|
383
|
+
]));
|
|
384
|
+
}
|
|
385
|
+
}), Be = /* @__PURE__ */ W(Se, [["__scopeId", "data-v-ce08551e"]]);
|
|
386
|
+
export {
|
|
387
|
+
O as HunterButton,
|
|
388
|
+
F as HunterDropdownList,
|
|
389
|
+
ee as HunterDropdownListWithFilter,
|
|
390
|
+
Ce as HunterDropdownWithButton,
|
|
391
|
+
ce as HunterLink,
|
|
392
|
+
ge as HunterNavigationLinks,
|
|
393
|
+
Be as HunterSearchInput
|
|
394
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-3{right:.75rem}.top-full{top:100%}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-max{height:-moz-max-content;height:max-content}.max-h-44{max-height:11rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-screen-lg{max-width:1024px}.origin-center{transform-origin:center}.-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--rounded)}.rounded-3xl{border-radius:1.5rem}.rounded-lg{border-radius:var(--rounded-lg)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r{border-top-right-radius:var(--rounded);border-bottom-right-radius:var(--rounded)}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-blue-400{border-color:var(--blue-400)}.border-blue-700{border-color:var(--blue-700)}.border-blue-800{border-color:var(--blue-800)}.border-disabled-light{border-color:var(--disabled-light)}.bg-blue-200{background-color:var(--blue-200)}.bg-blue-800{background-color:var(--blue-800)}.p-0{padding:0}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-1{padding-bottom:.25rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pt-0{padding-top:0}.pt-1px{padding-top:1px}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:var(--28px)}.text-3xl{font-size:var(--32px)}.text-4xl{font-size:var(--36px)}.text-base{font-size:var(--16px)}.text-lg{font-size:var(--22px)}.text-md{font-size:var(--18px)}.text-sm{font-size:var(--14px)}.text-xl{font-size:var(--24px)}.text-xs{font-size:var(--12px)}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{color:var(--blue-500)}.text-blue-800{color:var(--blue-800)}.text-blue-900{color:var(--blue-900)}.text-disabled{color:var(--disabled)}.text-error{color:var(--error)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-400{outline-color:var(--blue-400)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-component,.hunter-component~*,.hunter-component>*{font-family:Arial,Helvetica,Verdana,Bitstream Vera Sans,sans-serif;line-height:auto;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--dark);box-sizing:border-box;scroll-behavior:smooth}@supports not selector(::-webkit-scrollbar){.hunter-component,.hunter-component~*,.hunter-component>*{scrollbar-color:var(--disabled) var(--disabled-light);scrollbar-width:thin}}@supports selector(::-webkit-scrollbar){.hunter-component ::-webkit-scrollbar,.hunter-component~* ::-webkit-scrollbar,.hunter-component>* ::-webkit-scrollbar{background:var(--disabled-light)!important;width:8px!important;border-radius:1.5rem}.hunter-component ::-webkit-scrollbar-thumb,.hunter-component~* ::-webkit-scrollbar-thumb,.hunter-component>* ::-webkit-scrollbar-thumb{background:var(--disabled)!important;border-radius:1.5rem}}.hunter-component h1,.hunter-component h2,.hunter-component h3,.hunter-component h4,.hunter-component h5,.hunter-component h6,.hunter-component~h1,.hunter-component~h2,.hunter-component~h3,.hunter-component~h4,.hunter-component~h5,.hunter-component~h6{font-weight:500;color:var(--blue-900)}.hunter-component h1,.hunter-component~h1{font-size:var(--28px)}.hunter-component h2,.hunter-component~h2{font-size:var(--24px)}.hunter-component h3,.hunter-component~h3{font-size:var(--22px)}.hunter-component h4,.hunter-component~h4{font-size:var(--18px)}.hunter-component h5,.hunter-component~h5{font-size:var(--16px)}.hunter-component h6,.hunter-component~h6{font-size:var(--14px)}.hunter-component a,.hunter-component~a,.hunter-component>a{font-weight:500;color:var(--blue-800);text-decoration:inherit}.hunter-component a:hover,.hunter-component~a:hover,.hunter-component>a{color:var(--blue-700)}.hunter-button{position:relative;display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.75rem;border-radius:var(--rounded);padding-left:1.5rem;padding-right:1.5rem;padding-top:.125rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-button svg{color:inherit;pointer-events:none}.hunter-button-disabled{pointer-events:none;cursor:default;color:var(--disabled)}.hunter-button-primary{background-color:var(--blue-800);color:var(--blue-200)}.hunter-button-primary:hover{background-color:var(--blue-700)}.hunter-button-primary.hunter-button-disabled{background-color:var(--disabled-light)}.hunter-button-secondary{border-width:2px;border-color:var(--blue-800);background-color:var(--blue-200);color:var(--blue-800)}.hunter-button-secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}.hunter-button-secondary.hunter-button-disabled{border-color:var(--disabled-light);color:var(--disabled-light)}.hunter-button-link,.hunter-button-text{height:-moz-max-content;height:max-content;padding:0;font-size:var(--16px);color:var(--blue-800)}.hunter-button-link:hover,.hunter-button-text:hover{color:var(--blue-700)}.hunter-button-text{font-weight:500}.hunter-button-icon{height:1.25rem;width:1.25rem;padding:0;color:var(--blue-800)}.hunter-button-icon:hover{color:var(--blue-700)}:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}@keyframes set-height-0{to{height:0px;overflow:hidden}}.hunter-dropdown-list{position:absolute;top:100%;left:0;margin-top:.5rem;width:100%;border-radius:var(--rounded-lg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-list.collapsed{animation:set-height-0 0s forwards .15s;opacity:0}.hunter-dropdown-ol{display:flex;width:100%;flex-direction:column;align-items:flex-start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-ol:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--rounded-lg);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hunter-search-input-option-li{width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-option-button{margin-top:.125rem;margin-bottom:.125rem;width:100%;background-color:transparent;padding:.5rem 1.5rem .25rem;text-align:left;font-weight:500;color:var(--blue-900);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-option-button:hover{background-color:var(--blue-300)}.hunter-dropdown-option-button.dropdown-option-selected{color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-with-button[data-v-0a32b357]{display:flex;width:11rem;flex-direction:column;align-items:flex-end}.hunter-dropdown-selection-button[data-v-0a32b357]{position:relative;width:-moz-max-content;width:max-content}.hunter-dropdown-with-button-list[data-v-0a32b357]{position:relative;width:100%}.hunter-link{font-size:var(--16px);font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-link.link-disabled{pointer-events:none;color:var(--disabled);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link.link-inactive{color:var(--blue-500);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link:hover,.hunter-link.link-inactive:hover{cursor:pointer;color:var(--blue-700)}.hunter-nav-links{display:flex;width:-moz-max-content;width:max-content}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container{position:relative;display:flex;width:100%;justify-content:center;border-bottom-width:1px;border-color:var(--blue-400);padding-left:3rem;padding-right:3rem;padding-bottom:.25rem}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin-bottom:-1px;transform-origin:center;--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-width:2px;border-color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:has(.nav-link-active):before{content:"";--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-v-ce08551e]:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}.hunter-search-input-with-dropdown[data-v-ce08551e]{display:flex;width:100%;align-items:flex-end;gap:.5rem}.hunter-search-input-with-dropdown .hunter-search-input-container[data-v-ce08551e]{position:relative;width:100%;min-width:13rem;max-width:1024px}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-label[data-v-ce08551e]{margin-left:.125rem;margin-bottom:.25rem;display:inline-block;width:100%;font-weight:500;text-transform:uppercase;color:var(--blue-900)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]{outline:2px solid transparent;transition:outline-color .2s ease-in-out,color .1s ease-in-out;position:relative;display:flex;height:2.5rem;width:100%;align-items:center;border-radius:1.5rem;padding-left:.75rem;padding-right:.75rem;padding-top:1px;color:var(--blue-900);outline-width:1px;outline-color:var(--blue-400)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]::-moz-placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]::placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:focus,.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:active{outline:2px solid var(--blue-800)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:focus::-moz-placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-ce08551e]:focus::placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-button[data-v-ce08551e]{position:absolute;right:.75rem;bottom:.625rem}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error[data-v-ce08551e]{pointer-events:none;position:absolute;top:100%;margin-top:.125rem;margin-left:.375rem;font-size:var(--14px);color:var(--error);opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error.error-visible[data-v-ce08551e]{pointer-events:auto;opacity:1}.hunter-search-input-with-dropdown .hunter-search-input-container .hide-text[data-v-ce08551e]{color:transparent}.hunter-search-input-with-dropdown .clear-button-wrapper[data-v-ce08551e]{display:flex;height:2.5rem;width:-moz-max-content;width:max-content;align-items:center}.hunter-search-input-with-dropdown .clear-button[data-v-ce08551e]{padding-top:1px}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h.HunterComponents={},h.Vue))})(this,function(h,e){"use strict";const N=["id"],w=e.defineComponent({__name:"Button",props:{variant:{},disabled:{type:Boolean},id:{}},setup(s){const o=s,n=e.computed(()=>o.disabled||!1),r=e.computed(()=>`hunter-button-${o.variant||"primary"} ${n.value&&"hunter-button-disabled"}`);return(t,l)=>(e.openBlock(),e.createElementBlock("button",{ref:"button",class:e.normalizeClass(["hunter-component hunter-button",r.value]),id:t.id},[e.renderSlot(t.$slots,"default")],10,N))}}),S=["id"],g={class:"overflow-hidden rounded-r rounded-l-none"},L=["value","onClick"],b=e.defineComponent({__name:"DropdownList",props:{options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},id:{},selected:{}},emits:["selectOption"],setup(s,{emit:o}){const n=s,r=o,t=e.computed(()=>n.scrollable||!1),l=e.computed(()=>n.selected||null),c=u=>{r("selectOption",u)};return(u,d)=>(e.openBlock(),e.createElementBlock("div",{id:`dropdown-list-${u.id}`,class:e.normalizeClass(["hunter-component hunter-dropdown-list pr-0.5 py-1",u.collapsed?"collapsed":""])},[e.createElementVNode("div",g,[e.createElementVNode("ol",{ref:"dropdown",class:e.normalizeClass(["hunter-dropdown-ol",t.value&&"max-h-44 overflow-y-auto"]),"aria-hidden":"true"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.options,m=>(e.openBlock(),e.createElementBlock("li",{key:m[u.optionKey],"aria-hidden":"true",class:"hunter-search-input-option-li"},[e.createElementVNode("button",{class:e.normalizeClass(["hunter-dropdown-option-button",l.value&&m[u.optionKey]===l.value[u.optionKey]&&"dropdown-option-selected"]),value:m[u.optionKey],onClick:_=>c(m)},e.toDisplayString(m[u.optionKey]),11,L)]))),128))],2)])],10,S))}}),T=({options:s,query:o,key:n,max:r})=>{if(!o)return;o=o==null?void 0:o.toLowerCase();let t=0;return s.filter(l=>{if(l[n].toLowerCase().includes(o))if(r){if(r&&t<=r-1)return t++,l}else return l})},C=e.defineComponent({__name:"DropdownListWithFilter",props:{filterValue:{},options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},id:{},selected:{}},emits:["selectOption"],setup(s,{emit:o}){const n=s,r=o,t=e.ref([...n.options]),l=e.computed(()=>n.filterValue||""),c=e.ref(n.collapsed);e.watch(l,d=>{if(d.length>1){if(t.value=T({options:n.options,query:d,key:n.optionKey,max:n.maxResults}),t.value.length===0)return c.value=!0,c.value;c.value=!1;return}else c.value=!0},{immediate:!0});const u=d=>{r("selectOption",d)};return(d,m)=>(e.openBlock(),e.createBlock(b,{options:t.value,optionKey:d.optionKey,collapsed:c.value,scrollable:d.scrollable,onSelectOption:m[0]||(m[0]=_=>u(_))},null,8,["options","optionKey","collapsed","scrollable"]))}}),O={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 9"},D=[e.createElementVNode("path",{fill:"currentColor",d:"M9 9 .667.667h16.666z"},null,-1)];function I(s,o){return e.openBlock(),e.createElementBlock("svg",O,[...D])}const v={render:I},K={class:"hunter-dropdown-with-button"},z={class:"hunter-dropdown-selection-button"},H=e.defineComponent({__name:"DropdownWithButton",props:{buttonText:{},id:{},options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},selected:{}},emits:["selectOption"],setup(s,{emit:o}){const{id:n}=s,r=o,t=e.ref(),l=e.ref(),c=e.ref(!0),u=e.ref(),d=()=>{c.value=!c.value},m=i=>{u.value=i,setTimeout(()=>{c.value=!0},750),r("selectOption",i)},_=i=>{var B;const k=i.target;if(!(k===t.value||(B=l.value)!=null&&B.contains(k)||k===l.value))return c.value=!0,c};return e.onMounted(()=>{document.addEventListener("click",i=>_(i)),t.value=document.querySelector(`#button-dropdown-title-${n}`)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",i=>_(i))}),(i,k)=>(e.openBlock(),e.createElementBlock("div",K,[e.createElementVNode("div",z,[e.createVNode(w,{id:`button-dropdown-title-${i.id}`,variant:"text",onClick:d},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.buttonText)+" ",1),e.createVNode(e.unref(v),{class:e.normalizeClass(["h-4 w-4 transition duration-300 ease-in-out",c.value===!0?"scale-y-100":"-scale-y-100"])},null,8,["class"])]),_:1},8,["id"])]),e.createElementVNode("div",{ref_key:"dropdownListEl",ref:l,class:"hunter-dropdown-with-button-list"},[e.createVNode(b,{options:i.options,"option-key":i.optionKey,collapsed:c.value,selected:u.value,onSelectOption:m},null,8,["options","option-key","collapsed","selected"])],512)]))}}),E=(s,o)=>{const n=s.__vccOpts||s;for(const[r,t]of o)n[r]=t;return n},F=E(H,[["__scopeId","data-v-0a32b357"]]),R=["href"],V=e.defineComponent({__name:"Link",props:{to:{},state:{},className:{}},setup(s){const o=s,n=e.computed(()=>o.state);return(r,t)=>(e.openBlock(),e.createElementBlock("a",{class:e.normalizeClass(["hunter-component hunter-link",[n.value==="disabled"&&"link-disabled",n.value==="inactive"&&"link-inactive",r.className]]),href:r.to},[e.renderSlot(r.$slots,"default")],10,R))}}),M={class:"nav-link-container"},W=e.defineComponent({__name:"NavigationLinks",props:{links:{},variant:{},activeLink:{}},setup(s){const o=s,n=e.computed(()=>o.variant&&`hunter-nav-links-${o.variant}`);return console.log("CLS",n.value,o.variant),(r,t)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["hunter-component hunter-nav-links",n.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.links,l=>(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(V,{to:l.route,className:r.activeLink.route===l.route?"nav-link-active":"",state:r.activeLink.route!==l.route?"inactive":null},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:2},1032,["to","className","state"])]))),256))],2))}}),U={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 18"},j=[e.createElementVNode("path",{fill:"currentColor",d:"m15.678 18-5.95-6.3a5.54 5.54 0 0 1-3.59 1.3q-2.573 0-4.355-1.888T0 6.5t1.783-4.612T6.14 0t4.357 1.888T12.278 6.5q0 1.1-.33 2.075-.331.975-.898 1.725L17 16.6zm-9.54-7Q7.91 11 9.15 9.688T10.389 6.5t-1.24-3.187Q7.913 2.002 6.14 2t-3.01 1.313T1.889 6.5q-.003 1.871 1.24 3.188Q4.372 11.004 6.139 11"},null,-1)];function x(s,o){return e.openBlock(),e.createElementBlock("svg",U,[...j])}const Q={render:x},A=s=>(e.pushScopeId("data-v-ce08551e"),s=s(),e.popScopeId(),s),P={class:"hunter-component hunter-search-input-with-dropdown"},q=A(()=>e.createElementVNode("span",{class:"hunter-search-input-label"},"Search",-1)),G=["placeholder"],J=["ariaHidden"],X={class:"clear-button-wrapper"},Y=E(e.defineComponent({__name:"SearchInput",props:{placeholder:{},options:{},width:{}},emits:["searchClick"],setup(s,{emit:o}){const{options:n=[]}=s,r=o,t=e.ref(),l=e.ref(),c=e.ref(),u=e.ref(),d=e.ref(),m=e.ref(),_=e.ref(!0),i=e.ref(""),k=a=>{a.preventDefault(),y(t.value)},B=a=>{const p=a.target;i.value=p.value},y=a=>{if(!a)return d.value="Enter a search term.",d;t.value=a;const p=n.find(f=>f.name===a);_.value=!0,i.value="",r("searchClick",p||t.value)},Z=a=>{t.value=a.name,y(t.value)},ee=()=>{y(t.value)};e.watch(d,a=>{a&&(setTimeout(()=>{m.value.classList.add("error-visible")},200),setTimeout(()=>{m.value.classList.remove("error-visible")},3e3),setTimeout(()=>{d.value=""},3300))});const te=()=>{l.value.classList.add("hide-text"),setTimeout(()=>{t.value="",l.value.classList.remove("hide-text")},150)},$=a=>{const p=a.target;p===l.value&&(i.value=t.value||""),p!==(l==null?void 0:l.value)&&(i.value="")};return e.onMounted(()=>{u.value=[...document.querySelectorAll(".hunter-search-input-option-li")],_.value=!0,document.addEventListener("click",a=>$(a))}),e.onBeforeUnmount(()=>{document.removeEventListener("click",a=>$(a))}),(a,p)=>(e.openBlock(),e.createElementBlock("div",P,[e.createElementVNode("div",{class:"hunter-search-input-container",style:e.normalizeStyle({width:`${a.width&&a.width>208&&a.width}px`})},[e.createElementVNode("form",{onSubmit:p[3]||(p[3]=f=>k(f)),class:"w-full"},[e.createElementVNode("label",null,[q,e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=f=>t.value=f),ref_key:"inputEl",ref:l,class:"hunter-search-input",onFocus:p[1]||(p[1]=f=>d.value=""),onInput:p[2]||(p[2]=f=>B(f)),placeholder:a.placeholder||"Search projects"},null,40,G),[[e.vModelText,t.value]])])],32),e.createElementVNode("span",{ref_key:"errorEl",ref:m,class:"hunter-search-input-error transition duration-300 ease-in-out",ariaHidden:!d.value},e.toDisplayString(d.value),9,J),e.createVNode(C,{options:a.options,"option-key":"name",collapsed:_.value,filter:"","filter-value":i.value,scrollable:"",maxResults:10,onSelectOption:p[4]||(p[4]=f=>Z(f))},null,8,["options","collapsed","filter-value"]),e.createVNode(w,{ref_key:"searchButtonEl",ref:c,class:"hunter-search-input-button",variant:"icon",onClick:ee},{default:e.withCtx(()=>[e.createVNode(e.unref(Q),{class:"hunter-search-input-icon"})]),_:1},512)],4),e.createElementVNode("div",X,[e.createVNode(w,{class:"underline clear-button",variant:"link",onClick:te},{default:e.withCtx(()=>[e.createTextVNode(" Clear ")]),_:1})])]))}}),[["__scopeId","data-v-ce08551e"]]);h.HunterButton=w,h.HunterDropdownList=b,h.HunterDropdownListWithFilter=C,h.HunterDropdownWithButton=F,h.HunterLink=V,h.HunterNavigationLinks=W,h.HunterSearchInput=Y,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./styles/index.scss";
|
|
2
|
+
import { HunterButton } from "./components/Button";
|
|
3
|
+
import { HunterDropdownList, HunterDropdownListWithFilter } from "./components/Dropdown/DropdownList";
|
|
4
|
+
import { HunterDropdownWithButton } from "./components/Dropdown";
|
|
5
|
+
import { HunterLink } from "./components/Link";
|
|
6
|
+
import { HunterNavigationLinks } from "./components/Navigation";
|
|
7
|
+
import { HunterSearchInput } from "./components/SearchInput";
|
|
8
|
+
export { HunterButton, HunterDropdownList, HunterDropdownListWithFilter, HunterDropdownWithButton, HunterLink, HunterNavigationLinks, HunterSearchInput, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface FilterMatch {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
}
|
|
4
|
+
interface FilterBySearch {
|
|
5
|
+
options: any[];
|
|
6
|
+
query: string;
|
|
7
|
+
key: string;
|
|
8
|
+
max?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const filterValuesStartWith: ({ options, query, key, max, }: FilterBySearch) => FilterMatch[] | void;
|
|
11
|
+
declare const filterValuesContain: ({ options, query, key, max, }: FilterBySearch) => FilterMatch[] | void;
|
|
12
|
+
export { filterValuesStartWith, filterValuesContain };
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hunter-industries/hunter-components",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/hunter-components.umd.cjs",
|
|
9
|
+
"module": "./dist/hunter-components.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/hunter-components.js",
|
|
13
|
+
"require": "./dist/hunter-components.umd.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./style.css": "./dist/style.css"
|
|
16
|
+
},
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
|
21
|
+
"preview": "vite preview",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"vite-plugin-css-injected-by-js": "^3.5.1"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@chromatic-com/storybook": "^1.3.4",
|
|
30
|
+
"@storybook/addon-essentials": "^8.0.10",
|
|
31
|
+
"@storybook/addon-interactions": "^8.0.10",
|
|
32
|
+
"@storybook/addon-links": "^8.0.10",
|
|
33
|
+
"@storybook/blocks": "^8.0.10",
|
|
34
|
+
"@storybook/test": "^8.0.10",
|
|
35
|
+
"@storybook/vue3": "^8.0.10",
|
|
36
|
+
"@storybook/vue3-vite": "^8.0.10",
|
|
37
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
38
|
+
"autoprefixer": "^10.4.19",
|
|
39
|
+
"chromatic": "^11.3.5",
|
|
40
|
+
"eslint": "^9.2.0",
|
|
41
|
+
"eslint-config-prettier": "^9.1.0",
|
|
42
|
+
"eslint-plugin-prettier-vue": "^5.0.0",
|
|
43
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
44
|
+
"eslint-plugin-vue": "^9.25.0",
|
|
45
|
+
"postcss": "^8.4.38",
|
|
46
|
+
"prettier": "^3.2.5",
|
|
47
|
+
"sass": "^1.76.0",
|
|
48
|
+
"storybook": "^8.0.10",
|
|
49
|
+
"tailwindcss": "^3.4.3",
|
|
50
|
+
"typescript": "^5.2.2",
|
|
51
|
+
"vue": "^3.4.21",
|
|
52
|
+
"vite": "^5.2.0",
|
|
53
|
+
"vite-svg-loader": "^5.1.0",
|
|
54
|
+
"vue-tsc": "^2.0.6"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"vue": "^3.4.21"
|
|
58
|
+
},
|
|
59
|
+
"description": "Vue component library",
|
|
60
|
+
"author": "Sarah Shook",
|
|
61
|
+
"license": "ISC"
|
|
62
|
+
}
|