@opens/widget-ui 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -2
- package/dist/app-text-input.vue.d.ts +4 -0
- package/dist/app-text-input.vue.d.ts.map +1 -0
- package/dist/buttons/app-button.vue.d.ts +4 -0
- package/dist/buttons/app-button.vue.d.ts.map +1 -0
- package/dist/components/buttons/app-button.vue.d.ts +51 -0
- package/dist/components/icons/app-icon.vue.d.ts +29 -0
- package/dist/components/inputs/app-text-input.vue.d.ts +30 -0
- package/dist/components/typography/app-text.vue.d.ts +3 -0
- package/dist/components/typography/types.d.ts +25 -0
- package/dist/components/typography/use-typography-classes.d.ts +42 -0
- package/dist/components/ui/app-group.vue.d.ts +32 -0
- package/dist/components/widget/app-activator.vue.d.ts +33 -0
- package/dist/composables/use-button-style.d.ts +11 -0
- package/dist/composables/use-input-style.d.ts +10 -0
- package/dist/composables/use-mask-functions.d.ts +7 -0
- package/dist/favicon.ico +0 -0
- package/dist/histoire-setup.d.ts +1 -0
- package/dist/icons/app-icon.vue.d.ts +4 -0
- package/dist/icons/app-icon.vue.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/main.d.ts +12 -0
- package/dist/typography/app-text.vue.d.ts +5 -0
- package/dist/typography/app-text.vue.d.ts.map +1 -0
- package/dist/ui/app-group.vue.d.ts +4 -0
- package/dist/ui/app-group.vue.d.ts.map +1 -0
- package/dist/widget/app-activator.vue.d.ts +4 -0
- package/dist/widget/app-activator.vue.d.ts.map +1 -0
- package/dist/yunique_widget_ui.cjs.js +1 -0
- package/dist/yunique_widget_ui.css +1 -0
- package/dist/yunique_widget_ui.es.js +2827 -0
- package/dist/yunique_widget_ui.umd.js +2 -0
- package/package.json +81 -3
package/README.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# yunique-widget-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Biblioteca de componentes Vue 3 para widgets Yunique, baseada na estrutura do `yunique-ui` (Vite + Tailwind + Histoire + Vitest).
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Desenvolvimento
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm run dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Histoire (stories)
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npm run story:dev
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Build
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
npm run build
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Testes unitários
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm run test:unit
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Estrutura
|
|
36
|
+
|
|
37
|
+
- `src/components` — componentes Vue
|
|
38
|
+
- `src/composables` — composables
|
|
39
|
+
- `__tests__` — testes unitários (espelha a estrutura de `src`)
|
|
40
|
+
- `src/*.story.vue` — stories do Histoire (junto ao componente)
|
|
41
|
+
- Configs: Vite, Tailwind (`yu-` prefix), Histoire, Vitest, Cypress
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/inputs/app-text-input.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/inputs/app-text-input.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-text-input.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-text-input.vue.d.ts","sourceRoot":"","sources":["../src/components/inputs/app-text-input.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kHAAkH,CAAC;AACzI,cAAc,kHAAkH,CAAC;AACjI,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/buttons/app-button.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/buttons/app-button.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-button.vue.d.ts","sourceRoot":"","sources":["../../src/components/buttons/app-button.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,+GAA+G,CAAC;AACtI,cAAc,+GAA+G,CAAC;AAC9H,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
small: BooleanConstructor;
|
|
3
|
+
soft: BooleanConstructor;
|
|
4
|
+
outline: BooleanConstructor;
|
|
5
|
+
ghost: BooleanConstructor;
|
|
6
|
+
link: BooleanConstructor;
|
|
7
|
+
round: BooleanConstructor;
|
|
8
|
+
icon: BooleanConstructor;
|
|
9
|
+
fluid: BooleanConstructor;
|
|
10
|
+
disabled: BooleanConstructor;
|
|
11
|
+
loading: BooleanConstructor;
|
|
12
|
+
alert: BooleanConstructor;
|
|
13
|
+
warning: BooleanConstructor;
|
|
14
|
+
success: BooleanConstructor;
|
|
15
|
+
block: BooleanConstructor;
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
click: (event: MouseEvent) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
small: BooleanConstructor;
|
|
20
|
+
soft: BooleanConstructor;
|
|
21
|
+
outline: BooleanConstructor;
|
|
22
|
+
ghost: BooleanConstructor;
|
|
23
|
+
link: BooleanConstructor;
|
|
24
|
+
round: BooleanConstructor;
|
|
25
|
+
icon: BooleanConstructor;
|
|
26
|
+
fluid: BooleanConstructor;
|
|
27
|
+
disabled: BooleanConstructor;
|
|
28
|
+
loading: BooleanConstructor;
|
|
29
|
+
alert: BooleanConstructor;
|
|
30
|
+
warning: BooleanConstructor;
|
|
31
|
+
success: BooleanConstructor;
|
|
32
|
+
block: BooleanConstructor;
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
small: boolean;
|
|
37
|
+
link: boolean;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
fluid: boolean;
|
|
41
|
+
round: boolean;
|
|
42
|
+
block: boolean;
|
|
43
|
+
icon: boolean;
|
|
44
|
+
soft: boolean;
|
|
45
|
+
outline: boolean;
|
|
46
|
+
ghost: boolean;
|
|
47
|
+
alert: boolean;
|
|
48
|
+
warning: boolean;
|
|
49
|
+
success: boolean;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
small: BooleanConstructor;
|
|
3
|
+
large: BooleanConstructor;
|
|
4
|
+
extraLarge: BooleanConstructor;
|
|
5
|
+
gray: BooleanConstructor;
|
|
6
|
+
base: BooleanConstructor;
|
|
7
|
+
light: BooleanConstructor;
|
|
8
|
+
dark: BooleanConstructor;
|
|
9
|
+
outlined: BooleanConstructor;
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
small: BooleanConstructor;
|
|
12
|
+
large: BooleanConstructor;
|
|
13
|
+
extraLarge: BooleanConstructor;
|
|
14
|
+
gray: BooleanConstructor;
|
|
15
|
+
base: BooleanConstructor;
|
|
16
|
+
light: BooleanConstructor;
|
|
17
|
+
dark: BooleanConstructor;
|
|
18
|
+
outlined: BooleanConstructor;
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
small: boolean;
|
|
21
|
+
base: boolean;
|
|
22
|
+
large: boolean;
|
|
23
|
+
extraLarge: boolean;
|
|
24
|
+
light: boolean;
|
|
25
|
+
gray: boolean;
|
|
26
|
+
dark: boolean;
|
|
27
|
+
outlined: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MaskFunction } from '../../composables/use-mask-functions';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
maxLength?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
small?: boolean;
|
|
10
|
+
fluid?: boolean;
|
|
11
|
+
round?: boolean;
|
|
12
|
+
valid?: boolean;
|
|
13
|
+
block?: boolean;
|
|
14
|
+
maskFunction?: MaskFunction;
|
|
15
|
+
passwordToggle?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
18
|
+
focus: import('vue').Ref<boolean, boolean>;
|
|
19
|
+
content: import('vue').Ref<string, string>;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: string) => any;
|
|
22
|
+
"keyup-enter": () => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
|
+
"onKeyup-enter"?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
type: string;
|
|
28
|
+
modelValue: string;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ITypographyProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ITypographyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ITypographyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ITypographyProps = {
|
|
2
|
+
extraSmall?: boolean;
|
|
3
|
+
inter?: boolean;
|
|
4
|
+
plus?: boolean;
|
|
5
|
+
titillium?: boolean;
|
|
6
|
+
small?: boolean;
|
|
7
|
+
base?: boolean;
|
|
8
|
+
large?: boolean;
|
|
9
|
+
extraLarge?: boolean;
|
|
10
|
+
thin?: boolean;
|
|
11
|
+
extralight?: boolean;
|
|
12
|
+
light?: boolean;
|
|
13
|
+
normal?: boolean;
|
|
14
|
+
medium?: boolean;
|
|
15
|
+
semibold?: boolean;
|
|
16
|
+
bold?: boolean;
|
|
17
|
+
extrabold?: boolean;
|
|
18
|
+
black?: boolean;
|
|
19
|
+
primary?: boolean;
|
|
20
|
+
secondary?: boolean;
|
|
21
|
+
gray?: boolean;
|
|
22
|
+
neutral?: boolean;
|
|
23
|
+
white?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type IElement = 'title' | 'subtitle' | 'text';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IElement, ITypographyProps } from './types';
|
|
2
|
+
export declare function useTypographyClasses(element: IElement, props: ITypographyProps): {
|
|
3
|
+
fontClass: import('vue').ComputedRef<{
|
|
4
|
+
'!yu-font-plus': boolean | undefined;
|
|
5
|
+
'!yu-font-inter': boolean | undefined;
|
|
6
|
+
'!yu-font-titillium': boolean | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
colorClass: import('vue').ComputedRef<{
|
|
9
|
+
'!yu-text-white': boolean | undefined;
|
|
10
|
+
'!yu-text-primary': boolean | undefined;
|
|
11
|
+
'!yu-text-secondary': boolean | undefined;
|
|
12
|
+
'!yu-text-base': boolean | undefined;
|
|
13
|
+
'!yu-text-neutral': boolean | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
weightClass: import('vue').ComputedRef<{
|
|
16
|
+
'!yu-font-thin': boolean | undefined;
|
|
17
|
+
'!yu-font-extralight': boolean | undefined;
|
|
18
|
+
'!yu-font-light': boolean | undefined;
|
|
19
|
+
'!yu-font-normal': boolean | undefined;
|
|
20
|
+
'!yu-font-medium': boolean | undefined;
|
|
21
|
+
'!yu-font-semibold': boolean | undefined;
|
|
22
|
+
'!yu-font-bold': boolean | undefined;
|
|
23
|
+
'!yu-font-extrabold': boolean | undefined;
|
|
24
|
+
'!yu-font-black': boolean | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
sizeClass: import('vue').ComputedRef<{
|
|
27
|
+
'!yu-text-xl': boolean | undefined;
|
|
28
|
+
'!yu-text-2xl': boolean | undefined;
|
|
29
|
+
'!yu-text-3xl': boolean | undefined;
|
|
30
|
+
'!yu-text-4xl': boolean | undefined;
|
|
31
|
+
} | {
|
|
32
|
+
'!yu-text-sm': boolean | undefined;
|
|
33
|
+
'!yu-text-md': boolean | undefined;
|
|
34
|
+
'!yu-text-xl': boolean | undefined;
|
|
35
|
+
} | {
|
|
36
|
+
'!yu-text-xxs': boolean | undefined;
|
|
37
|
+
'!yu-text-xs': boolean | undefined;
|
|
38
|
+
'!yu-text-sm': boolean | undefined;
|
|
39
|
+
'!yu-text-lg': boolean | undefined;
|
|
40
|
+
'!yu-text-2xl': boolean | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
fit?: boolean;
|
|
3
|
+
full?: boolean;
|
|
4
|
+
row?: boolean;
|
|
5
|
+
col?: boolean;
|
|
6
|
+
gapNone?: boolean;
|
|
7
|
+
gapXs?: boolean;
|
|
8
|
+
gapBase?: boolean;
|
|
9
|
+
gapSm?: boolean;
|
|
10
|
+
gapMd?: boolean;
|
|
11
|
+
gapLg?: boolean;
|
|
12
|
+
wrap?: boolean;
|
|
13
|
+
paddingNone?: boolean;
|
|
14
|
+
paddingBase?: boolean;
|
|
15
|
+
paddingXs?: boolean;
|
|
16
|
+
paddingSm?: boolean;
|
|
17
|
+
paddingMd?: boolean;
|
|
18
|
+
paddingLg?: boolean;
|
|
19
|
+
center?: boolean;
|
|
20
|
+
justifyEnd?: boolean;
|
|
21
|
+
centerBetween?: boolean;
|
|
22
|
+
border?: boolean;
|
|
23
|
+
borderPrimary?: boolean;
|
|
24
|
+
rounded?: boolean;
|
|
25
|
+
roundedTop?: boolean;
|
|
26
|
+
roundedBottom?: boolean;
|
|
27
|
+
bgPrimary?: boolean;
|
|
28
|
+
bgWhite?: boolean;
|
|
29
|
+
divisor?: boolean;
|
|
30
|
+
}
|
|
31
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
small: BooleanConstructor;
|
|
3
|
+
logo: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
outline: BooleanConstructor;
|
|
8
|
+
ghost: BooleanConstructor;
|
|
9
|
+
disabled: BooleanConstructor;
|
|
10
|
+
loading: BooleanConstructor;
|
|
11
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
click: (event: MouseEvent) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
small: BooleanConstructor;
|
|
15
|
+
logo: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
outline: BooleanConstructor;
|
|
20
|
+
ghost: BooleanConstructor;
|
|
21
|
+
disabled: BooleanConstructor;
|
|
22
|
+
loading: BooleanConstructor;
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
small: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
loading: boolean;
|
|
29
|
+
outline: boolean;
|
|
30
|
+
ghost: boolean;
|
|
31
|
+
logo: string;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface StyleProps {
|
|
2
|
+
fluid?: boolean;
|
|
3
|
+
small?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useButtonStyle(props: StyleProps): {
|
|
6
|
+
height: import('vue').ComputedRef<"" | "!yu-h-8 !yu-min-h-[2rem]">;
|
|
7
|
+
textSize: import('vue').ComputedRef<string>;
|
|
8
|
+
padding: import('vue').ComputedRef<"yu-px-[0.625rem]" | "yu-p-[0.9rem]">;
|
|
9
|
+
width: import('vue').ComputedRef<"!yu-w-full" | "yu-w-fit">;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface StyleProps {
|
|
2
|
+
fluid?: boolean;
|
|
3
|
+
small?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useInputStyle(props: StyleProps): {
|
|
6
|
+
height: import('vue').ComputedRef<"!yu-h-8 !yu-min-h-[2rem]" | "!yu-h-12 !yu-min-h-[3rem]">;
|
|
7
|
+
textSize: import('vue').ComputedRef<string>;
|
|
8
|
+
width: import('vue').ComputedRef<"!yu-w-full" | "yu-w-fit">;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
package/dist/favicon.ico
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setupVue3: import('@histoire/plugin-vue').Vue3StorySetupHandler;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/icons/app-icon.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/icons/app-icon.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-icon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-icon.vue.d.ts","sourceRoot":"","sources":["../../src/components/icons/app-icon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,2GAA2G,CAAC;AAClI,cAAc,2GAA2G,CAAC;AAC1H,eAAe,SAAS,CAAC"}
|
package/dist/index.d.ts
ADDED
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { default as AppTextInput } from './components/inputs/app-text-input.vue';
|
|
3
|
+
import { default as AppButton } from './components/buttons/app-button.vue';
|
|
4
|
+
import { default as AppText } from './components/typography/app-text.vue';
|
|
5
|
+
import { default as AppActivator } from './components/widget/app-activator.vue';
|
|
6
|
+
import { default as AppIcon } from './components/icons/app-icon.vue';
|
|
7
|
+
import { default as AppGroup } from './components/ui/app-group.vue';
|
|
8
|
+
declare const _default: {
|
|
9
|
+
install: (app: App) => void;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export { AppTextInput, AppActivator, AppButton, AppGroup, AppIcon, AppText };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/typography/app-text.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
import "/opt/atlassian/pipelines/agent/build/src/components/typography/app-text.vue?vue&type=style&index=0&scoped=65153daa&lang.css";
|
|
3
|
+
declare const _default: any;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=app-text.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-text.vue.d.ts","sourceRoot":"","sources":["../../src/components/typography/app-text.vue"],"names":[],"mappings":"AACA,cAAc,gHAAgH,CAAC;AAC/H,OAAO,6HAA6H,CAAC;;AAErI,wBAA0F"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-group.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-group.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-group.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-group.vue.d.ts","sourceRoot":"","sources":["../../src/components/ui/app-group.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,yGAAyG,CAAC;AAChI,cAAc,yGAAyG,CAAC;AACxH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/widget/app-activator.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/widget/app-activator.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-activator.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-activator.vue.d.ts","sourceRoot":"","sources":["../../src/components/widget/app-activator.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iHAAiH,CAAC;AACxI,cAAc,iHAAiH,CAAC;AAChI,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),Mt=["top","right","bottom","left"],De=["start","end"],Ve=Mt.reduce((e,t)=>e.concat(t,t+"-"+De[0],t+"-"+De[1]),[]),le=Math.min,J=Math.max,Ht={left:"right",right:"left",bottom:"top",top:"bottom"},Rt={start:"end",end:"start"};function Ae(e,t,o){return J(e,le(t,o))}function te(e,t){return typeof e=="function"?e(t):e}function F(e){return e.split("-")[0]}function M(e){return e.split("-")[1]}function at(e){return e==="x"?"y":"x"}function Le(e){return e==="y"?"height":"width"}const Dt=new Set(["top","bottom"]);function j(e){return Dt.has(F(e))?"y":"x"}function Me(e){return at(j(e))}function lt(e,t,o){o===void 0&&(o=!1);const i=M(e),r=Me(e),s=Le(r);let a=r==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=ge(a)),[a,ge(a)]}function Vt(e){const t=ge(e);return[ye(e),t,ye(t)]}function ye(e){return e.replace(/start|end/g,t=>Rt[t])}const Fe=["left","right"],Ie=["right","left"],Ft=["top","bottom"],It=["bottom","top"];function jt(e,t,o){switch(e){case"top":case"bottom":return o?t?Ie:Fe:t?Fe:Ie;case"left":case"right":return t?Ft:It;default:return[]}}function Wt(e,t,o,i){const r=M(e);let s=jt(F(e),o==="start",i);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(ye)))),s}function ge(e){return e.replace(/left|right|bottom|top/g,t=>Ht[t])}function Gt(e){return{top:0,right:0,bottom:0,left:0,...e}}function ut(e){return typeof e!="number"?Gt(e):{top:e,right:e,bottom:e,left:e}}function ie(e){const{x:t,y:o,width:i,height:r}=e;return{width:i,height:r,top:o,left:t,right:t+i,bottom:o+r,x:t,y:o}}function je(e,t,o){let{reference:i,floating:r}=e;const s=j(t),a=Me(t),l=Le(a),u=F(t),d=s==="y",p=i.x+i.width/2-r.width/2,c=i.y+i.height/2-r.height/2,f=i[l]/2-r[l]/2;let h;switch(u){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:c};break;case"left":h={x:i.x-r.width,y:c};break;default:h={x:i.x,y:i.y}}switch(M(t)){case"start":h[a]-=f*(o&&d?-1:1);break;case"end":h[a]+=f*(o&&d?-1:1);break}return h}const qt=async(e,t,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:a}=o,l=s.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:c}=je(d,i,u),f=i,h={},m=0;for(let y=0;y<l.length;y++){const{name:w,fn:g}=l[y],{x:v,y:$,data:S,reset:B}=await g({x:p,y:c,initialPlacement:i,placement:f,strategy:r,middlewareData:h,rects:d,platform:a,elements:{reference:e,floating:t}});p=v??p,c=$??c,h={...h,[w]:{...h[w],...S}},B&&m<=50&&(m++,typeof B=="object"&&(B.placement&&(f=B.placement),B.rects&&(d=B.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):B.rects),{x:p,y:c}=je(d,f,u)),y=-1)}return{x:p,y:c,placement:f,strategy:r,middlewareData:h}};async function $e(e,t){var o;t===void 0&&(t={});const{x:i,y:r,platform:s,rects:a,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:c="floating",altBoundary:f=!1,padding:h=0}=te(t,e),m=ut(h),w=l[f?c==="floating"?"reference":"floating":c],g=ie(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:d,rootBoundary:p,strategy:u})),v=c==="floating"?{x:i,y:r,width:a.floating.width,height:a.floating.height}:a.reference,$=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),S=await(s.isElement==null?void 0:s.isElement($))?await(s.getScale==null?void 0:s.getScale($))||{x:1,y:1}:{x:1,y:1},B=ie(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:$,strategy:u}):v);return{top:(g.top-B.top+m.top)/S.y,bottom:(B.bottom-g.bottom+m.bottom)/S.y,left:(g.left-B.left+m.left)/S.x,right:(B.right-g.right+m.right)/S.x}}const Xt=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:r,rects:s,platform:a,elements:l,middlewareData:u}=t,{element:d,padding:p=0}=te(e,t)||{};if(d==null)return{};const c=ut(p),f={x:o,y:i},h=Me(r),m=Le(h),y=await a.getDimensions(d),w=h==="y",g=w?"top":"left",v=w?"bottom":"right",$=w?"clientHeight":"clientWidth",S=s.reference[m]+s.reference[h]-f[h]-s.floating[m],B=f[h]-s.reference[h],b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let _=b?b[$]:0;(!_||!await(a.isElement==null?void 0:a.isElement(b)))&&(_=l.floating[$]||s.floating[m]);const T=S/2-B/2,A=_/2-y[m]/2-1,C=le(c[g],A),P=le(c[v],A),N=C,R=_-y[m]-P,k=_/2-y[m]/2+T,Z=Ae(N,k,R),I=!u.arrow&&M(r)!=null&&k!==Z&&s.reference[m]/2-(k<N?C:P)-y[m]/2<0,O=I?k<N?k-N:k-R:0;return{[h]:f[h]+O,data:{[h]:Z,centerOffset:k-Z-O,...I&&{alignmentOffset:O}},reset:I}}});function Yt(e,t,o){return(e?[...o.filter(r=>M(r)===e),...o.filter(r=>M(r)!==e)]:o.filter(r=>F(r)===r)).filter(r=>e?M(r)===e||(t?ye(r)!==r:!1):!0)}const Ut=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,r;const{rects:s,middlewareData:a,placement:l,platform:u,elements:d}=t,{crossAxis:p=!1,alignment:c,allowedPlacements:f=Ve,autoAlignment:h=!0,...m}=te(e,t),y=c!==void 0||f===Ve?Yt(c||null,h,f):f,w=await $e(t,m),g=((o=a.autoPlacement)==null?void 0:o.index)||0,v=y[g];if(v==null)return{};const $=lt(v,s,await(u.isRTL==null?void 0:u.isRTL(d.floating)));if(l!==v)return{reset:{placement:y[0]}};const S=[w[F(v)],w[$[0]],w[$[1]]],B=[...((i=a.autoPlacement)==null?void 0:i.overflows)||[],{placement:v,overflows:S}],b=y[g+1];if(b)return{data:{index:g+1,overflows:B},reset:{placement:b}};const _=B.map(C=>{const P=M(C.placement);return[C.placement,P&&p?C.overflows.slice(0,2).reduce((N,R)=>N+R,0):C.overflows[0],C.overflows]}).sort((C,P)=>C[1]-P[1]),A=((r=_.filter(C=>C[2].slice(0,M(C[0])?2:3).every(P=>P<=0))[0])==null?void 0:r[0])||_[0][0];return A!==l?{data:{index:g+1,overflows:B},reset:{placement:A}}:{}}}},Kt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:r,middlewareData:s,rects:a,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:p=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...w}=te(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=F(r),v=j(l),$=F(l)===l,S=await(u.isRTL==null?void 0:u.isRTL(d.floating)),B=f||($||!y?[ge(l)]:Vt(l)),b=m!=="none";!f&&b&&B.push(...Wt(l,y,m,S));const _=[l,...B],T=await $e(t,w),A=[];let C=((i=s.flip)==null?void 0:i.overflows)||[];if(p&&A.push(T[g]),c){const k=lt(r,a,S);A.push(T[k[0]],T[k[1]])}if(C=[...C,{placement:r,overflows:A}],!A.every(k=>k<=0)){var P,N;const k=(((P=s.flip)==null?void 0:P.index)||0)+1,Z=_[k];if(Z&&(!(c==="alignment"?v!==j(Z):!1)||C.every(E=>j(E.placement)===v?E.overflows[0]>0:!0)))return{data:{index:k,overflows:C},reset:{placement:Z}};let I=(N=C.filter(O=>O.overflows[0]<=0).sort((O,E)=>O.overflows[1]-E.overflows[1])[0])==null?void 0:N.placement;if(!I)switch(h){case"bestFit":{var R;const O=(R=C.filter(E=>{if(b){const G=j(E.placement);return G===v||G==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(G=>G>0).reduce((G,Lt)=>G+Lt,0)]).sort((E,G)=>E[1]-G[1])[0])==null?void 0:R[0];O&&(I=O);break}case"initialPlacement":I=l;break}if(r!==I)return{reset:{placement:I}}}return{}}}},Zt=new Set(["left","top"]);async function Qt(e,t){const{placement:o,platform:i,elements:r}=e,s=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=F(o),l=M(o),u=j(o)==="y",d=Zt.has(a)?-1:1,p=s&&u?-1:1,c=te(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:m}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return l&&typeof m=="number"&&(h=l==="end"?m*-1:m),u?{x:h*p,y:f*d}:{x:f*d,y:h*p}}const Jt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:r,y:s,placement:a,middlewareData:l}=t,u=await Qt(t,e);return a===((o=l.offset)==null?void 0:o.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:r+u.x,y:s+u.y,data:{...u,placement:a}}}}},eo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:r}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...u}=te(e,t),d={x:o,y:i},p=await $e(t,u),c=j(F(r)),f=at(c);let h=d[f],m=d[c];if(s){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=h+p[w],$=h-p[g];h=Ae(v,h,$)}if(a){const w=c==="y"?"top":"left",g=c==="y"?"bottom":"right",v=m+p[w],$=m-p[g];m=Ae(v,m,$)}const y=l.fn({...t,[f]:h,[c]:m});return{...y,data:{x:y.x-o,y:y.y-i,enabled:{[f]:s,[c]:a}}}}}},to=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,i;const{placement:r,rects:s,platform:a,elements:l}=t,{apply:u=()=>{},...d}=te(e,t),p=await $e(t,d),c=F(r),f=M(r),h=j(r)==="y",{width:m,height:y}=s.floating;let w,g;c==="top"||c==="bottom"?(w=c,g=f===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(g=c,w=f==="end"?"top":"bottom");const v=y-p.top-p.bottom,$=m-p.left-p.right,S=le(y-p[w],v),B=le(m-p[g],$),b=!t.middlewareData.shift;let _=S,T=B;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(T=$),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(_=v),b&&!f){const C=J(p.left,0),P=J(p.right,0),N=J(p.top,0),R=J(p.bottom,0);h?T=m-2*(C!==0||P!==0?C+P:J(p.left,p.right)):_=y-2*(N!==0||R!==0?N+R:J(p.top,p.bottom))}await u({...t,availableWidth:T,availableHeight:_});const A=await a.getDimensions(l.floating);return m!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function z(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function D(e){return z(e).getComputedStyle(e)}const We=Math.min,re=Math.max,we=Math.round;function dt(e){const t=D(e);let o=parseFloat(t.width),i=parseFloat(t.height);const r=e.offsetWidth,s=e.offsetHeight,a=we(o)!==r||we(i)!==s;return a&&(o=r,i=s),{width:o,height:i,fallback:a}}function K(e){return pt(e)?(e.nodeName||"").toLowerCase():""}let he;function ct(){if(he)return he;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(he=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),he):navigator.userAgent}function V(e){return e instanceof z(e).HTMLElement}function Y(e){return e instanceof z(e).Element}function pt(e){return e instanceof z(e).Node}function Ge(e){return typeof ShadowRoot>"u"?!1:e instanceof z(e).ShadowRoot||e instanceof ShadowRoot}function _e(e){const{overflow:t,overflowX:o,overflowY:i,display:r}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(r)}function oo(e){return["table","td","th"].includes(K(e))}function Ne(e){const t=/firefox/i.test(ct()),o=D(e),i=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!i&&i!=="none"||t&&o.willChange==="filter"||t&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some((r=>o.willChange.includes(r)))||["paint","layout","strict","content"].some((r=>{const s=o.contain;return s!=null&&s.includes(r)}))}function ht(){return!/^((?!chrome|android).)*safari/i.test(ct())}function He(e){return["html","body","#document"].includes(K(e))}function ft(e){return Y(e)?e:e.contextElement}const mt={x:1,y:1};function oe(e){const t=ft(e);if(!V(t))return mt;const o=t.getBoundingClientRect(),{width:i,height:r,fallback:s}=dt(t);let a=(s?we(o.width):o.width)/i,l=(s?we(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function ue(e,t,o,i){var r,s;t===void 0&&(t=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),l=ft(e);let u=mt;t&&(i?Y(i)&&(u=oe(i)):u=oe(e));const d=l?z(l):window,p=!ht()&&o;let c=(a.left+(p&&((r=d.visualViewport)==null?void 0:r.offsetLeft)||0))/u.x,f=(a.top+(p&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/u.y,h=a.width/u.x,m=a.height/u.y;if(l){const y=z(l),w=i&&Y(i)?z(i):i;let g=y.frameElement;for(;g&&i&&w!==y;){const v=oe(g),$=g.getBoundingClientRect(),S=getComputedStyle(g);$.x+=(g.clientLeft+parseFloat(S.paddingLeft))*v.x,$.y+=(g.clientTop+parseFloat(S.paddingTop))*v.y,c*=v.x,f*=v.y,h*=v.x,m*=v.y,c+=$.x,f+=$.y,g=z(g).frameElement}}return{width:h,height:m,top:f,right:c+h,bottom:f+m,left:c,x:c,y:f}}function U(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Be(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yt(e){return ue(U(e)).left+Be(e).scrollLeft}function de(e){if(K(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ge(e)&&e.host||U(e);return Ge(t)?t.host:t}function gt(e){const t=de(e);return He(t)?t.ownerDocument.body:V(t)&&_e(t)?t:gt(t)}function ve(e,t){var o;t===void 0&&(t=[]);const i=gt(e),r=i===((o=e.ownerDocument)==null?void 0:o.body),s=z(i);return r?t.concat(s,s.visualViewport||[],_e(i)?i:[]):t.concat(i,ve(i))}function qe(e,t,o){return t==="viewport"?ie((function(i,r){const s=z(i),a=U(i),l=s.visualViewport;let u=a.clientWidth,d=a.clientHeight,p=0,c=0;if(l){u=l.width,d=l.height;const f=ht();(f||!f&&r==="fixed")&&(p=l.offsetLeft,c=l.offsetTop)}return{width:u,height:d,x:p,y:c}})(e,o)):Y(t)?ie((function(i,r){const s=ue(i,!0,r==="fixed"),a=s.top+i.clientTop,l=s.left+i.clientLeft,u=V(i)?oe(i):{x:1,y:1};return{width:i.clientWidth*u.x,height:i.clientHeight*u.y,x:l*u.x,y:a*u.y}})(t,o)):ie((function(i){const r=U(i),s=Be(i),a=i.ownerDocument.body,l=re(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),u=re(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let d=-s.scrollLeft+yt(i);const p=-s.scrollTop;return D(a).direction==="rtl"&&(d+=re(r.clientWidth,a.clientWidth)-l),{width:l,height:u,x:d,y:p}})(U(e)))}function Xe(e){return V(e)&&D(e).position!=="fixed"?e.offsetParent:null}function Ye(e){const t=z(e);let o=Xe(e);for(;o&&oo(o)&&D(o).position==="static";)o=Xe(o);return o&&(K(o)==="html"||K(o)==="body"&&D(o).position==="static"&&!Ne(o))?t:o||(function(i){let r=de(i);for(;V(r)&&!He(r);){if(Ne(r))return r;r=de(r)}return null})(e)||t}function no(e,t,o){const i=V(t),r=U(t),s=ue(e,!0,o==="fixed",t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(i||!i&&o!=="fixed")if((K(t)!=="body"||_e(r))&&(a=Be(t)),V(t)){const u=ue(t,!0);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else r&&(l.x=yt(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const io={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:i,strategy:r}=e;const s=o==="clippingAncestors"?(function(d,p){const c=p.get(d);if(c)return c;let f=ve(d).filter((w=>Y(w)&&K(w)!=="body")),h=null;const m=D(d).position==="fixed";let y=m?de(d):d;for(;Y(y)&&!He(y);){const w=D(y),g=Ne(y);(m?g||h:g||w.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=w:f=f.filter((v=>v!==y)),y=de(y)}return p.set(d,f),f})(t,this._c):[].concat(o),a=[...s,i],l=a[0],u=a.reduce(((d,p)=>{const c=qe(t,p,r);return d.top=re(c.top,d.top),d.right=We(c.right,d.right),d.bottom=We(c.bottom,d.bottom),d.left=re(c.left,d.left),d}),qe(t,l,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:i}=e;const r=V(o),s=U(o);if(o===s)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const u={x:0,y:0};if((r||!r&&i!=="fixed")&&((K(o)!=="body"||_e(s))&&(a=Be(o)),V(o))){const d=ue(o);l=oe(o),u.x=d.x+o.clientLeft,u.y=d.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+u.x,y:t.y*l.y-a.scrollTop*l.y+u.y}},isElement:Y,getDimensions:function(e){return V(e)?dt(e):e.getBoundingClientRect()},getOffsetParent:Ye,getDocumentElement:U,getScale:oe,async getElementRects(e){let{reference:t,floating:o,strategy:i}=e;const r=this.getOffsetParent||Ye,s=this.getDimensions;return{reference:no(t,await r(o),i),floating:{x:0,y:0,...await s(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>D(e).direction==="rtl"},ro=(e,t,o)=>{const i=new Map,r={platform:io,...o},s={...r.platform,_c:i};return qt(e,t,{...r,platform:s})};function wt(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?wt(e[o],t[o]):e[o]=t[o])}const H={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ce(e,t){let o=H.themes[e]||{},i;do i=o[t],typeof i>"u"?o.$extend?o=H.themes[o.$extend]||{}:(o=null,i=H[t]):o=null;while(o);return i}function so(e){const t=[e];let o=H.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=H.themes[o.$extend]||{}):o=null;while(o);return t.map(i=>`v-popper--theme-${i}`)}function Ue(e){const t=[e];let o=H.themes[e]||{};do o.$extend?(t.push(o.$extend),o=H.themes[o.$extend]||{}):o=null;while(o);return t}let ne=!1;if(typeof window<"u"){ne=!1;try{const e=Object.defineProperty({},"passive",{get(){ne=!0}});window.addEventListener("test",null,e)}catch{}}let vt=!1;typeof window<"u"&&typeof navigator<"u"&&(vt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const xt=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ke={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ze={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Qe(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function Te(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const L=[];let Q=null;const Je={};function et(e){let t=Je[e];return t||(t=Je[e]=[]),t}let ze=function(){};typeof window<"u"&&(ze=window.Element);function x(e){return function(t){return ce(t.theme,e)}}const ke="__floating-vue__popper",bt=()=>n.defineComponent({name:"VPopper",provide(){return{[ke]:{parentPopper:this}}},inject:{[ke]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:x("disabled")},positioningDisabled:{type:Boolean,default:x("positioningDisabled")},placement:{type:String,default:x("placement"),validator:e=>xt.includes(e)},delay:{type:[String,Number,Object],default:x("delay")},distance:{type:[Number,String],default:x("distance")},skidding:{type:[Number,String],default:x("skidding")},triggers:{type:Array,default:x("triggers")},showTriggers:{type:[Array,Function],default:x("showTriggers")},hideTriggers:{type:[Array,Function],default:x("hideTriggers")},popperTriggers:{type:Array,default:x("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:x("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:x("popperHideTriggers")},container:{type:[String,Object,ze,Boolean],default:x("container")},boundary:{type:[String,ze],default:x("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:x("strategy")},autoHide:{type:[Boolean,Function],default:x("autoHide")},handleResize:{type:Boolean,default:x("handleResize")},instantMove:{type:Boolean,default:x("instantMove")},eagerMount:{type:Boolean,default:x("eagerMount")},popperClass:{type:[String,Array,Object],default:x("popperClass")},computeTransformOrigin:{type:Boolean,default:x("computeTransformOrigin")},autoMinSize:{type:Boolean,default:x("autoMinSize")},autoSize:{type:[Boolean,String],default:x("autoSize")},autoMaxSize:{type:Boolean,default:x("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:x("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:x("preventOverflow")},overflowPadding:{type:[Number,String],default:x("overflowPadding")},arrowPadding:{type:[Number,String],default:x("arrowPadding")},arrowOverflow:{type:Boolean,default:x("arrowOverflow")},flip:{type:Boolean,default:x("flip")},shift:{type:Boolean,default:x("shift")},shiftCrossAxis:{type:Boolean,default:x("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:x("noAutoFocus")},disposeTimeout:{type:Number,default:x("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ke])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var i,r;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Jt({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ut({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(eo({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Kt({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Xt({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:r,middlewareData:s})=>{let a;const{centerOffset:l}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?a=Math.abs(l)>r.reference.width/2:a=Math.abs(l)>r.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:s,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let u,d;return s.startsWith("top")||s.startsWith("bottom")?u=r.reference.width:d=r.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(to({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:r})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const o=await ro(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Q&&this.instantMove&&Q.instantMove&&Q!==this.parentPopper){Q.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Q=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Te(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ve(this.$_referenceNode),...ve(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),i=o.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(i.left+o.offsetLeft),s=t.y+t.height/2-(i.top+o.offsetTop);this.result.transformOrigin=`${r}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o<L.length;o++)t=L[o],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}L.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ue(this.theme))et(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Te(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Qe(L,this),L.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of Ue(this.theme)){const i=et(o);Qe(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}Q===this&&(Q=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Te(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,Ke,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ke,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,Ze,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Ze,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(i=>i.addEventListener(t,o,ne?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,i,r){let s=o;i!=null&&(s=typeof i=="function"?i(s):i),s.forEach(a=>{const l=t[a];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:i,eventType:r,handler:s}=o;!e||e===r?i.forEach(a=>a.removeEventListener(r,s)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const i=o.getAttribute(e);i&&(o.removeAttribute(e),o.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const i=e[o];i==null?t.removeAttribute(o):t.setAttribute(o,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(se>=e.left&&se<=e.right&&ae>=e.top&&ae<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=se-q,i=ae-X,r=t.left+t.width/2-q+(t.top+t.height/2)-X+t.width+t.height,s=q+o*r,a=X+i*r;return fe(q,X,s,a,t.left,t.top,t.left,t.bottom)||fe(q,X,s,a,t.left,t.top,t.right,t.top)||fe(q,X,s,a,t.right,t.top,t.right,t.bottom)||fe(q,X,s,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(vt){const e=ne?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>tt(t,!0),e),document.addEventListener("touchend",t=>ot(t,!0),e)}else window.addEventListener("mousedown",e=>tt(e,!1),!0),window.addEventListener("click",e=>ot(e,!1),!0);window.addEventListener("resize",lo)}function tt(e,t){if(H.autoHideOnMousedown)$t(e,t);else for(let o=0;o<L.length;o++){const i=L[o];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function ot(e,t){H.autoHideOnMousedown||$t(e,t)}function $t(e,t){const o={};for(let i=L.length-1;i>=0;i--){const r=L[i];try{const s=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!o[r.randomId]&&nt(r,s,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let l=r.parentPopper;for(;l;)o[l.randomId]=!0,l=l.parentPopper;return}let a=r.parentPopper;for(;a&&nt(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function nt(e,t,o){return o.closeAllPopover||o.closePopover&&t||ao(e,o)&&!t}function ao(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function lo(){for(let e=0;e<L.length;e++)L[e].$_computePosition()}let q=0,X=0,se=0,ae=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{q=se,X=ae,se=e.clientX,ae=e.clientY},ne?{passive:!0}:void 0);function fe(e,t,o,i,r,s,a,l){const u=((a-r)*(t-s)-(l-s)*(e-r))/((l-s)*(o-e)-(a-r)*(i-t)),d=((o-e)*(t-s)-(i-t)*(e-r))/((l-s)*(o-e)-(a-r)*(i-t));return u>=0&&u<=1&&d>=0&&d<=1}const uo={extends:bt()},Ce=(e,t)=>{const o=e.__vccOpts||e;for(const[i,r]of t)o[i]=r;return o};function co(e,t,o,i,r,s){return n.openBlock(),n.createElementBlock("div",{ref:"reference",class:n.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[n.renderSlot(e.$slots,"default",n.normalizeProps(n.guardReactiveProps(e.slotData)))],2)}const po=Ce(uo,[["render",co]]);function ho(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let me;function Oe(){Oe.init||(Oe.init=!0,me=ho()!==-1)}var Se={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Oe(),n.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",me&&this.$el.appendChild(e),e.data="about:blank",me||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!me&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const fo=n.withScopeId("data-v-b329ee4c");n.pushScopeId("data-v-b329ee4c");const mo={class:"resize-observer",tabindex:"-1"};n.popScopeId();const yo=fo((e,t,o,i,r,s)=>(n.openBlock(),n.createBlock("div",mo)));Se.render=yo;Se.__scopeId="data-v-b329ee4c";Se.__file="src/components/ResizeObserver.vue";const _t=(e="theme")=>({computed:{themeClass(){return so(this[e])}}}),go=n.defineComponent({name:"VPopperContent",components:{ResizeObserver:Se},mixins:[_t()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),wo=["id","aria-hidden","tabindex","data-popper-placement"],vo={ref:"inner",class:"v-popper__inner"},xo=n.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),bo=n.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),$o=[xo,bo];function _o(e,t,o,i,r,s){const a=n.resolveComponent("ResizeObserver");return n.openBlock(),n.createElementBlock("div",{id:e.popperId,ref:"popover",class:n.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:n.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=n.withKeys(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[n.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),n.createElementVNode("div",{class:"v-popper__wrapper",style:n.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[n.createElementVNode("div",vo,[e.mounted?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("div",null,[n.renderSlot(e.$slots,"default")]),e.handleResize?(n.openBlock(),n.createBlock(a,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0)],512),n.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:n.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},$o,4)],4)],46,wo)}const Bt=Ce(go,[["render",_o]]),Ct={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Ee=function(){};typeof window<"u"&&(Ee=window.Element);const Bo=n.defineComponent({name:"VPopperWrapper",components:{Popper:po,PopperContent:Bt},mixins:[Ct,_t("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Ee,Boolean],default:void 0},boundary:{type:[String,Ee],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Co(e,t,o,i,r,s){const a=n.resolveComponent("PopperContent"),l=n.resolveComponent("Popper");return n.openBlock(),n.createBlock(l,n.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=u=>e.$emit("update:shown",u)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:n.withCtx(({popperId:u,isShown:d,shouldMountContent:p,skipTransition:c,autoHide:f,show:h,hide:m,handleResize:y,onResize:w,classes:g,result:v})=>[n.renderSlot(e.$slots,"default",{shown:d,show:h,hide:m}),n.createVNode(a,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:d,mounted:p,"skip-transition":c,"auto-hide":f,"handle-resize":y,classes:g,result:v,onHide:m,onResize:w},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"popper",{shown:d,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Re=Ce(Bo,[["render",Co]]),So={...Re,name:"VDropdown",vPopperTheme:"dropdown"},To={...Re,name:"VMenu",vPopperTheme:"menu"},ko={...Re,name:"VTooltip",vPopperTheme:"tooltip"},Po=n.defineComponent({name:"VTooltipDirective",components:{Popper:bt(),PopperContent:Bt},mixins:[Ct],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ce(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ce(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(i=>this.onResult(t,i)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Ao=["innerHTML"],No=["textContent"];function zo(e,t,o,i,r,s){const a=n.resolveComponent("PopperContent"),l=n.resolveComponent("Popper");return n.openBlock(),n.createBlock(l,n.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:n.withCtx(({popperId:u,isShown:d,shouldMountContent:p,skipTransition:c,autoHide:f,hide:h,handleResize:m,onResize:y,classes:w,result:g})=>[n.createVNode(a,{ref:"popperContent",class:n.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":u,theme:e.theme,shown:d,mounted:p,"skip-transition":c,"auto-hide":f,"handle-resize":m,classes:w,result:g,onHide:h,onResize:y},{default:n.withCtx(()=>[e.html?(n.openBlock(),n.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,Ao)):(n.openBlock(),n.createElementBlock("div",{key:1,textContent:n.toDisplayString(e.finalContent)},null,8,No))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Oo=Ce(Po,[["render",zo]]),St="v-popper--has-tooltip";function Eo(e,t){let o=e.placement;if(!o&&t)for(const i of xt)t[i]&&(o=i);return o||(o=ce(e.theme||"tooltip","placement")),o}function Tt(e,t,o){let i;const r=typeof t;return r==="string"?i={content:t}:t&&r==="object"?i=t:i={content:!1},i.placement=Eo(i,o),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let Pe,pe,Lo=0;function Mo(){if(Pe)return;pe=n.ref([]),Pe=n.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:pe}},render(){return this.directives.map(t=>n.h(Oo,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Pe.mount(e)}function Ho(e,t,o){Mo();const i=n.ref(Tt(e,t,o)),r=n.ref(!1),s={id:Lo++,options:i,shown:r};return pe.value.push(s),e.classList&&e.classList.add(St),e.$_popper={options:i,item:s,show(){r.value=!0},hide(){r.value=!1}}}function kt(e){if(e.$_popper){const t=pe.value.indexOf(e.$_popper.item);t!==-1&&pe.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(St)}function it(e,{value:t,modifiers:o}){const i=Tt(e,t,o);if(!i.content||ce(i.theme||"tooltip","disabled"))kt(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=i):r=Ho(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const Ro={beforeMount:it,updated:it,beforeUnmount(e){kt(e)}};function rt(e){e.addEventListener("mousedown",xe),e.addEventListener("click",xe),e.addEventListener("touchstart",Pt,ne?{passive:!0}:!1)}function st(e){e.removeEventListener("mousedown",xe),e.removeEventListener("click",xe),e.removeEventListener("touchstart",Pt),e.removeEventListener("touchend",At),e.removeEventListener("touchcancel",Nt)}function xe(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Pt(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",At),t.addEventListener("touchcancel",Nt)}}function At(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-i.screenY)<20&&Math.abs(o.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Nt(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Do={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t>"u"||t)&&rt(e)},updated(e,{value:t,oldValue:o,modifiers:i}){e.$_closePopoverModifiers=i,t!==o&&(typeof t>"u"||t?rt(e):st(e))},beforeUnmount(e){st(e)}};function Vo(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,wt(H,t),e.directive("tooltip",Ro),e.directive("close-popper",Do),e.component("VTooltip",ko),e.component("VDropdown",So),e.component("VMenu",To))}const Fo={version:"5.2.2",install:Vo,options:H};function Io(e){const t=n.computed(()=>e.small?"!yu-h-8 !yu-min-h-[2rem]":"!yu-h-12 !yu-min-h-[3rem]"),o=n.computed(()=>"!yu-text-xs"),i=n.computed(()=>e.fluid?"!yu-w-full":"yu-w-fit");return{height:t,textSize:o,width:i}}function jo(e,t){const o=n.computed(()=>({"!yu-font-plus":t.plus,"!yu-font-inter":t.inter,"!yu-font-titillium":t.titillium})),i=n.computed(()=>({"!yu-text-white":t.white,"!yu-text-primary":t.primary,"!yu-text-secondary":t.secondary,"!yu-text-base":t.neutral,"!yu-text-neutral":t.gray})),r=n.computed(()=>({"!yu-font-thin":t.thin,"!yu-font-extralight":t.extralight,"!yu-font-light":t.light,"!yu-font-normal":t.normal,"!yu-font-medium":t.medium,"!yu-font-semibold":t.semibold,"!yu-font-bold":t.bold,"!yu-font-extrabold":t.extrabold,"!yu-font-black":t.black})),s=n.computed(()=>({...{title:{"!yu-text-xl":t.small,"!yu-text-2xl":t.base,"!yu-text-3xl":t.large,"!yu-text-4xl":t.extraLarge},subtitle:{"!yu-text-sm":t.small,"!yu-text-md":t.base,"!yu-text-xl":t.large},text:{"!yu-text-xxs":t.extraSmall,"!yu-text-xs":t.small,"!yu-text-sm":t.base,"!yu-text-lg":t.large,"!yu-text-2xl":t.extraLarge}}[e]}));return{fontClass:o,colorClass:i,weightClass:r,sizeClass:s}}const Wo=n.defineComponent({__name:"app-text",props:{extraSmall:{type:Boolean},inter:{type:Boolean},plus:{type:Boolean},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extraLarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean},white:{type:Boolean}},setup(e){const t=e,{fontClass:o,colorClass:i,weightClass:r,sizeClass:s}=jo("text",t);return(a,l)=>(n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["yu-font-primary yu-text-sm yu-font-normal yu-text-gray-900",[n.unref(o),n.unref(i),n.unref(r),n.unref(s)]])},[n.renderSlot(a.$slots,"default",{},void 0,!0)],2))}}),Go=(e,t)=>{const o=e.__vccOpts||e;for(const[i,r]of t)o[i]=r;return o},ee=Go(Wo,[["__scopeId","data-v-65153daa"]]),W=n.defineComponent({__name:"app-icon",props:{small:Boolean,large:Boolean,extraLarge:Boolean,gray:Boolean,base:Boolean,light:Boolean,dark:Boolean,outlined:Boolean},setup(e){const t=e,o=n.computed(()=>t.small?"!yu-text-xs yu-w-4 yu-h-4":t.large?"!yu-text-2xl yu-w-8 yu-h-8":t.extraLarge?"!yu-text-4xl yu-w-10 yu-h-10":"!yu-text-base yu-w-6 yu-h-6"),i=n.computed(()=>t.dark?"yu-text-neutral-800 dark:yu-text-white":t.light?"yu-text-white dark:yu-text-neutral-800":t.gray?"yu-text-gray-500":""),r=n.computed(()=>t.outlined?"material-symbols-outlined":"material-icons");return(s,a)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["notranslate yu-flex yu-items-center yu-justify-center yu-text-center",[o.value,i.value,r.value]]),"data-testid":"app-icon"},[n.renderSlot(s.$slots,"default")],2))}}),be=n.defineComponent({__name:"app-group",props:{fit:{type:Boolean},full:{type:Boolean},row:{type:Boolean},col:{type:Boolean},gapNone:{type:Boolean},gapXs:{type:Boolean},gapBase:{type:Boolean},gapSm:{type:Boolean},gapMd:{type:Boolean},gapLg:{type:Boolean},wrap:{type:Boolean},paddingNone:{type:Boolean},paddingBase:{type:Boolean},paddingXs:{type:Boolean},paddingSm:{type:Boolean},paddingMd:{type:Boolean},paddingLg:{type:Boolean},center:{type:Boolean},justifyEnd:{type:Boolean},centerBetween:{type:Boolean},border:{type:Boolean},borderPrimary:{type:Boolean},rounded:{type:Boolean},roundedTop:{type:Boolean},roundedBottom:{type:Boolean},bgPrimary:{type:Boolean},bgWhite:{type:Boolean},divisor:{type:Boolean}},setup(e){const t=e,o=n.computed(()=>t.fit?"yu-w-fit yu-h-fit":t.full?"yu-w-full yu-h-full":""),i=n.computed(()=>t.justifyEnd?"yu-items-end yu-justify-end":t.center?"yu-items-center yu-justify-center":t.centerBetween?"yu-items-center yu-justify-between":""),r=n.computed(()=>t.row?"yu-flex-row":t.col?"yu-flex-col":"yu-flex-row"),s=n.computed(()=>t.gapBase?"yu-gap-4":t.gapXs?"yu-gap-1":t.gapSm?"yu-gap-2":t.gapMd?"yu-gap-6":t.gapLg?"yu-gap-8":t.gapNone?"yu-gap-0":"yu-gap-4"),a=n.computed(()=>t.wrap?"yu-flex-wrap":""),l=n.computed(()=>t.paddingXs?"yu-p-1":t.paddingSm?"yu-p-2":t.paddingBase?"yu-p-4":t.paddingMd?"yu-p-6":t.paddingLg?"yu-p-8":""),u=n.computed(()=>t.border?"yu-border":t.borderPrimary?"yu-border yu-border-primary":""),d=n.computed(()=>t.rounded?"yu-rounded-md":t.roundedTop?"yu-rounded-t-md":t.roundedBottom?"yu-rounded-b-md":""),p=n.computed(()=>t.bgPrimary?"yu-bg-primary":t.bgWhite?"yu-bg-white":""),c=n.computed(()=>t.divisor&&t.col?"yu-divide-y":t.divisor&&t.row?"yu-divide-x":""),f=n.computed(()=>[r.value,s.value,a.value,l.value,i.value,u.value,d.value,p.value,o.value,c.value]);return(h,m)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["yu-flex",f.value])},[n.renderSlot(h.$slots,"default")],2))}}),qo={class:"yu-flex yu-h-full yu-pl-3 yu-gap-2 yu-z-10 yu-pointer-events-none"},Xo={class:"yu-h-full yu-flex yu-items-center yu-justify-center"},Yo=["value","type","disabled","maxlength"],Uo={class:"yu-absolute yu-right-2 yu-z-10 yu-flex yu-items-center yu-gap-1 yu-text-gray-500"},zt=n.defineComponent({__name:"app-text-input",props:{modelValue:{default:""},type:{default:"text"},maxLength:{},disabled:{type:Boolean},loading:{type:Boolean},invalid:{type:Boolean},small:{type:Boolean},fluid:{type:Boolean},round:{type:Boolean},valid:{type:Boolean},block:{type:Boolean},maskFunction:{},passwordToggle:{type:Boolean}},emits:["update:modelValue","keyup-enter"],setup(e,{expose:t,emit:o}){const i=e,r=o,s=n.computed(()=>n.useSlots());function a(b){return!!s.value[b]}const l=n.ref(""),u=n.ref(!1),d=n.ref(!1);function p(b){if(!i.maskFunction)return b;try{const _=i.maskFunction(b);return typeof _=="string"?_:b}catch{return b}}n.watch(()=>i.modelValue,b=>{if(b==null){l.value="";return}l.value=i.maskFunction?p(b):b},{immediate:!0});function c(){return!(u.value||l.value)}const{height:f,textSize:h,width:m}=Io(i),y=n.computed(()=>i.invalid?"yu-border-red-500 focus-within:yu-border-red-500":i.valid?"yu-border-green-500 focus-within:yu-border-green-500":"yu-border-gray-200 focus-within:!yu-border-primary/40 hover:yu-border-gray-300"),w=n.computed(()=>i.invalid?"yu-text-red-500":i.valid?"yu-text-green-500":"yu-text-gray-500"),g=n.computed(()=>i.small&&c()?"yu-translate-y-[7px]":i.small&&!c()?"yu-translate-y-0":c()?"yu-translate-y-[11px]":"yu-translate-y-0"),v=n.computed(()=>a("icon")||i.loading?"yu-pl-[34px]":"yu-pl-3"),$=n.computed(()=>i.block?"yu-rounded-none":i.round?"yu-rounded-full":"yu-rounded-lg"),S=n.computed(()=>i.disabled||i.loading?"yu-opacity-50 yu-pointer-events-none":"");function B(b){const T=b.target.value;l.value=i.maskFunction?p(T):T,r("update:modelValue",l.value)}return t({focus:u,content:l}),(b,_)=>(n.openBlock(),n.createBlock(be,{class:n.normalizeClass([n.unref(m)]),col:"","gap-none":""},{default:n.withCtx(()=>[n.createVNode(be,{col:"","gap-sm":""},{default:n.withCtx(()=>[a("label")?(n.openBlock(),n.createBlock(ee,{key:0,small:"",medium:""},{default:n.withCtx(()=>[n.renderSlot(b.$slots,"label")]),_:3})):n.createCommentVNode("",!0),n.createElementVNode("label",{class:n.normalizeClass(["yu-relative yu-flex yu-flex-col yu-justify-center yu-items-start yu-border yu-cursor-text yu-transition-colors yu-w-full yu-bg-transparent",[$.value,S.value,n.unref(f),y.value]]),"data-testid":"app-text-input"},[n.createElementVNode("div",qo,[n.createElementVNode("div",Xo,[!e.loading&&a("icon")?(n.openBlock(),n.createBlock(W,{key:0,small:""},{default:n.withCtx(()=>[n.renderSlot(b.$slots,"icon")]),_:3})):n.createCommentVNode("",!0),e.loading?(n.openBlock(),n.createBlock(W,{key:1,class:"yu-animate-spin",small:"",outlined:""},{default:n.withCtx(()=>[..._[4]||(_[4]=[n.createTextVNode("progress_activity",-1)])]),_:1})):n.createCommentVNode("",!0)]),n.createVNode(ee,{class:n.normalizeClass(["yu-py-1 yu-transition",[g.value]]),small:"",medium:"",gray:""},{default:n.withCtx(()=>[n.renderSlot(b.$slots,"default")]),_:3},8,["class"])]),n.createElementVNode("input",{class:n.normalizeClass(["yu-absolute yu-inset-0 yu-w-full yu-h-full yu-outline-none yu-appearance-none yu-bg-transparent yu-pt-3 yu-pr-3 yu-text-gray-700 yu-font-primary yu-z-0",[n.unref(h),v.value,$.value]]),value:l.value,type:e.passwordToggle&&d.value?"text":e.type,disabled:e.disabled||e.loading,maxlength:e.maxLength,onInput:B,onFocus:_[0]||(_[0]=T=>u.value=!0),onBlur:_[1]||(_[1]=T=>u.value=!1),onKeyup:_[2]||(_[2]=n.withKeys(T=>r("keyup-enter"),["enter"]))},null,42,Yo),n.createElementVNode("div",Uo,[e.maxLength?(n.openBlock(),n.createBlock(ee,{key:0,small:""},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(`${l.value.length} / ${e.maxLength}`),1)]),_:1})):n.createCommentVNode("",!0),e.type==="password"&&e.passwordToggle?(n.openBlock(),n.createElementBlock("button",{key:1,class:"yu-bg-transparent yu-border-0 yu-p-0 yu-cursor-pointer yu-flex yu-items-center",type:"button",tabindex:"-1",onClick:_[3]||(_[3]=T=>d.value=!d.value)},[n.createVNode(W,{small:"",gray:""},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(d.value?"visibility_off":"visibility"),1)]),_:1})])):n.createCommentVNode("",!0),n.renderSlot(b.$slots,"suffix")])],2)]),_:3}),a("feedback")?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["yu-mt-1",[w.value]])},[n.renderSlot(b.$slots,"feedback")],2)):n.createCommentVNode("",!0)]),_:3},8,["class"]))}});function Ko(e){const t=n.computed(()=>e.small?"!yu-h-8 !yu-min-h-[2rem]":""),o=n.computed(()=>"!yu-text-xs"),i=n.computed(()=>e.small?"yu-px-[0.625rem]":"yu-p-[0.9rem]"),r=n.computed(()=>e.fluid?"!yu-w-full":"yu-w-fit");return{height:t,textSize:o,padding:i,width:r}}const Zo=["disabled"],Qo={class:"yu-flex yu-items-center yu-justify-center yu-gap-2"},Ot=n.defineComponent({__name:"app-button",props:{small:Boolean,soft:Boolean,outline:Boolean,ghost:Boolean,link:Boolean,round:Boolean,icon:Boolean,fluid:Boolean,disabled:Boolean,loading:Boolean,alert:Boolean,warning:Boolean,success:Boolean,block:Boolean},emits:["click"],setup(e){const t=e,o=n.computed(()=>n.useSlots());function i(h){return!!o.value[h]}const{height:r,textSize:s,padding:a,width:l}=Ko(t),u=n.computed(()=>t.soft?"yu-bg-primary-50 !yu-text-primary-400":t.alert?"yu-bg-red-500 !yu-text-white":t.warning?"yu-bg-amber-500 !yu-text-white":t.success?"yu-bg-green-500 !yu-text-white":t.outline?"yu-bg-transparent !yu-border-gray-200 hover:!yu-bg-gray-100 hover:!yu-border-gray-300":t.ghost?"yu-bg-transparent !yu-text-gray-700 hover:!yu-bg-gray-100":t.link?"yu-bg-transparent !yu-text-blue-600 hover:yu-underline":"yu-bg-primary-500 !yu-text-white"),d=n.computed(()=>t.block?"yu-rounded-none":t.round?"yu-rounded-full":"yu-rounded-lg"),p=n.computed(()=>t.icon&&t.small?"!yu-w-8 !yu-h-8 yu-p-0":t.icon?"!yu-w-11 !yu-h-11 yu-p-0":a.value),c=n.computed(()=>t.icon?"yu-justify-center":"yu-justify-between"),f=n.computed(()=>t.disabled||t.loading?"yu-opacity-50 yu-pointer-events-none":"");return(h,m)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(["yu-inline-flex yu-items-center yu-gap-2 yu-cursor-pointer yu-transition-all yu-border yu-border-transparent disabled:yu-opacity-50 disabled:yu-pointer-events-none hover:yu-opacity-80 focus:yu-outline-hidden focus:yu-opacity-80",[n.unref(s),u.value,d.value,n.unref(l),n.unref(r),f.value,p.value,c.value]]),type:"button",disabled:e.disabled||e.loading,"data-testid":"app-button",onClick:m[0]||(m[0]=y=>h.$emit("click",y))},[n.createElementVNode("div",Qo,[e.loading?(n.openBlock(),n.createBlock(W,{key:0,class:"yu-animate-spin yu-flex yu-items-center yu-justify-center",small:"",outlined:""},{default:n.withCtx(()=>[...m[1]||(m[1]=[n.createTextVNode("progress_activity",-1)])]),_:1})):i("icon")?(n.openBlock(),n.createBlock(W,{key:1,small:""},{default:n.withCtx(()=>[n.renderSlot(h.$slots,"icon")]),_:3})):n.createCommentVNode("",!0),!e.loading&&i("default")?(n.openBlock(),n.createBlock(ee,{key:2,class:"!yu-text-inherit",small:""},{default:n.withCtx(()=>[n.renderSlot(h.$slots,"default")]),_:3})):n.createCommentVNode("",!0)]),!e.loading&&i("trailing")?(n.openBlock(),n.createBlock(W,{key:0,small:""},{default:n.withCtx(()=>[n.renderSlot(h.$slots,"trailing")]),_:3})):n.createCommentVNode("",!0)],10,Zo))}}),Jo=["disabled"],en=["src"],Et=n.defineComponent({__name:"app-activator",props:{small:Boolean,logo:{type:String,default:""},outline:Boolean,ghost:Boolean,disabled:Boolean,loading:Boolean},emits:["click"],setup(e){const t=e,o=n.computed(()=>n.useSlots());function i(d){return!!o.value[d]}const r=n.computed(()=>i("default")),s=n.computed(()=>t.outline?"yu-bg-transparent !yu-border-gray-200 hover:!yu-bg-gray-100 hover:!yu-border-gray-300":t.ghost?"yu-bg-transparent !yu-text-gray-700 hover:!yu-bg-gray-100":"yu-bg-gradient-to-br yu-from-primary-500 yu-to-secondary-500 yu-text-white"),a=n.computed(()=>r.value?t.small?"yu-h-12 yu-w-fit yu-px-3 yu-gap-2":"yu-h-14 yu-w-fit yu-px-4 yu-gap-2":t.small?"yu-w-12 yu-h-12 yu-p-0":"yu-w-14 yu-h-14 yu-p-0"),l=n.computed(()=>t.small?"yu-w-6 yu-h-6":"yu-w-7 yu-h-7"),u=n.computed(()=>t.disabled||t.loading?"yu-opacity-50 yu-pointer-events-none":"");return(d,p)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(["yu-rounded-full yu-inline-flex yu-items-center yu-justify-center yu-cursor-pointer yu-overflow-hidden yu-transition-all yu-border yu-border-transparent hover:yu-opacity-80 focus:yu-outline-hidden focus:yu-opacity-80 disabled:yu-opacity-50 disabled:yu-pointer-events-none",[a.value,s.value,u.value]]),type:"button","data-testid":"app-activator",disabled:e.disabled||e.loading,onClick:p[0]||(p[0]=c=>d.$emit("click",c))},[e.loading?(n.openBlock(),n.createBlock(W,{key:0,class:"yu-animate-spin",outlined:"",large:""},{default:n.withCtx(()=>[...p[1]||(p[1]=[n.createTextVNode("progress_activity",-1)])]),_:1})):e.logo?(n.openBlock(),n.createElementBlock("img",{key:1,class:n.normalizeClass(["yu-object-contain yu-pointer-events-none yu-select-none yu-shrink-0",l.value]),src:e.logo,alt:"","data-testid":"app-activator-logo"},null,10,en)):n.createCommentVNode("",!0),r.value?(n.openBlock(),n.createBlock(ee,{key:2,class:"!yu-text-inherit yu-whitespace-nowrap",small:"","data-testid":"app-activator-label"},{default:n.withCtx(()=>[n.renderSlot(d.$slots,"default")]),_:3})):n.createCommentVNode("",!0)],10,Jo))}}),tn={install:e=>{e.use(Fo),e.component("AppTextInput",zt),e.component("AppActivator",Et),e.component("AppButton",Ot),e.component("AppGroup",be),e.component("AppIcon",W),e.component("AppText",ee)}};exports.AppActivator=Et;exports.AppButton=Ot;exports.AppGroup=be;exports.AppIcon=W;exports.AppText=ee;exports.AppTextInput=zt;exports.default=tn;
|