bonkers-ui 1.0.62 → 1.0.63
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 +152 -0
- package/bonkers-ui.umd.js +7 -7
- package/bonkers-ui.umd.js.map +1 -1
- package/components/ui-ber-rank/index.js +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue3.js +1 -0
- package/components/ui-card-result/ui-card-result.vue.js +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.js +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +1 -0
- package/components/ui-input-range/ui-input-range.vue.js +1 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +1 -0
- package/components/ui-modal/ui-modal.vue.js +1 -0
- package/components/ui-notification-badge/index.js +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue3.js +1 -0
- package/components/ui-radio/ui-radio.vue.js +1 -0
- package/components/ui-ripple/index.js +1 -0
- package/components/ui-ripple/ui-ripple.vue3.js +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +1 -0
- package/components/ui-table/ui-table.vue.js +1 -0
- package/components/ui-tabs/ui-tabs.vue.js +1 -0
- package/components/ui-toggle/ui-toggle.vue.js +1 -0
- package/components/ui-verification-input/ui-verification-input.vue.js +1 -0
- package/index.js +5 -2
- package/package.json +14 -14
- package/types.js +11 -5
package/README.md
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<h1 align="center">Bonkers-UI Design System</h1>
|
|
2
|
+
|
|
3
|
+
<br/>
|
|
4
|
+
|
|
5
|
+
<div align="center" style="display:flex; flex-direction: column;">
|
|
6
|
+
<a href="https://bonkers-ie.github.io/bonkers-ui" target="_blank">
|
|
7
|
+
<img width="300" src="https://web-assets.bonkers.ie/packs/static/logo/bonkers_logo-279f0cff5a9b71e3059a.svg">
|
|
8
|
+
</a>
|
|
9
|
+
|
|
10
|
+
<h4>The Bonkers-UI design system used internally for consistent styling across platforms</h3>
|
|
11
|
+
|
|
12
|
+
<br/>
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<div align="center">
|
|
16
|
+
<a href="https://bonkers-ie.github.io/bonkers-ui/" target="_blank">
|
|
17
|
+
<img alt="Bonkers storybook" src="https://img.shields.io/badge/Bonkers-UI-green.svg?logo=storybook" />
|
|
18
|
+
</a>
|
|
19
|
+
<img src="https://img.shields.io/npm/v/bonkers-ui?color=green">
|
|
20
|
+
<img src="https://img.shields.io/npm/l/bonkers-ui">
|
|
21
|
+
<img src="https://img.shields.io/npm/dw/bonkers-ui">
|
|
22
|
+
<img src="https://img.badgesize.io/https:/unpkg.com/bonkers-ui/?label=Brotli%20size%3A%20JS&compression=brotli">
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Recommended IDE Setup
|
|
29
|
+
- [Webstorm](https://www.jetbrains.com/webstorm/)
|
|
30
|
+
- [VS Code](https://code.visualstudio.com/)
|
|
31
|
+
- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
|
|
32
|
+
- [Volar-ts](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)
|
|
33
|
+
- [es6-string-html](https://marketplace.visualstudio.com/items?itemName=Tobermory.es6-string-html)
|
|
34
|
+
- [Editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
|
|
35
|
+
- [Tailwind](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)
|
|
36
|
+
## Setup project
|
|
37
|
+
- Use bun to install all dependencies with the frozen lockfile
|
|
38
|
+
|
|
39
|
+
```js
|
|
40
|
+
bun i
|
|
41
|
+
```
|
|
42
|
+
- To run the storybook
|
|
43
|
+
|
|
44
|
+
```js
|
|
45
|
+
bun storybook
|
|
46
|
+
```
|
|
47
|
+
- open [http://localhost:6006/](http://localhost:6006/)
|
|
48
|
+
|
|
49
|
+
## For use in a consuming project
|
|
50
|
+
- Install the component library with your desired package manager.
|
|
51
|
+
- Insure `autoprefixer`, `postcss` and `tailwindcss` are installed
|
|
52
|
+
|
|
53
|
+
- In your `tailwind.config.js`, add the Bonkers-UI tailwind plugin to your `plugins` array. *Note:* the content array should include the path to the Bonkers-UI source files once installed.
|
|
54
|
+
|
|
55
|
+
```js
|
|
56
|
+
import bonkersUiConfig from "bonkers-ui/plugin";
|
|
57
|
+
|
|
58
|
+
export default {
|
|
59
|
+
content: [
|
|
60
|
+
"./node_modules/bonkers-ui/**/*.{vue,js,ts,jsx,tsx}",
|
|
61
|
+
],
|
|
62
|
+
plugins: [ bonkersUiConfig ],
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
- Ensure that the tailwind directives are included in your `main.css` file
|
|
67
|
+
|
|
68
|
+
```css
|
|
69
|
+
@tailwind base;
|
|
70
|
+
@tailwind components;
|
|
71
|
+
@tailwind utilities;
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
- Please ensure that your `tsconfig` file is configured with `moduleResolution` set to `Bundler` or `NodeNext` (depending on your project setup) to allow for the Bonkers-UI types to be resolved. Example:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"compilerOptions": {
|
|
79
|
+
"target": "ES2020",
|
|
80
|
+
"useDefineForClassFields": true,
|
|
81
|
+
"module": "NodeNext",
|
|
82
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
83
|
+
"skipLibCheck": true,
|
|
84
|
+
"baseUrl": ".",
|
|
85
|
+
|
|
86
|
+
/* Bundler mode */
|
|
87
|
+
"moduleResolution": "NodeNext",
|
|
88
|
+
"allowImportingTsExtensions": true,
|
|
89
|
+
"resolveJsonModule": true,
|
|
90
|
+
"isolatedModules": true,
|
|
91
|
+
"noEmit": true,
|
|
92
|
+
"jsx": "preserve",
|
|
93
|
+
|
|
94
|
+
/* Linting */
|
|
95
|
+
"strict": true,
|
|
96
|
+
"noUnusedLocals": true,
|
|
97
|
+
"noUnusedParameters": true,
|
|
98
|
+
"noFallthroughCasesInSwitch": true,
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
},
|
|
102
|
+
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
103
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
- Bonkers-UI has been successfully installed to your project, now import any components you need!
|
|
109
|
+
```vue
|
|
110
|
+
<template>
|
|
111
|
+
<div>
|
|
112
|
+
<ui-button
|
|
113
|
+
:size="EButtonSizes.LARGE"
|
|
114
|
+
:kind="EButtonTypes.PRIMARY"
|
|
115
|
+
>
|
|
116
|
+
I'm a Bonkers Button
|
|
117
|
+
</ui-button>
|
|
118
|
+
|
|
119
|
+
<ui-input
|
|
120
|
+
:kinds="EInputKinds.PRIMARY"
|
|
121
|
+
placeholder="Placeholder"
|
|
122
|
+
full-width
|
|
123
|
+
class="mb-md"
|
|
124
|
+
heading="Heading"
|
|
125
|
+
sub-label="Sub Label"
|
|
126
|
+
/>
|
|
127
|
+
</div>
|
|
128
|
+
</template>
|
|
129
|
+
|
|
130
|
+
<script setup lang="ts">
|
|
131
|
+
import { UiButton, EButtonTypes, EButtonSizes } from "bonkers-ui";
|
|
132
|
+
import UiInput from "bonkers-ui/ui-input"; // Deprecated Import Method
|
|
133
|
+
import { EInputKinds } from "bonkers-ui/types";
|
|
134
|
+
</script>
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Flow to develop
|
|
138
|
+
- We use only <b>develop</b> to create new branch
|
|
139
|
+
- First pull all changes and before creating a new branch
|
|
140
|
+
- Preferred naming of branches
|
|
141
|
+
- `feature/[feature-name]`
|
|
142
|
+
- `hotfix/[fix-name]`
|
|
143
|
+
- Preferred commit message
|
|
144
|
+
- `update([file[s]-name]): [message]` for example - `update(main.css, header.vue): change header to .header`
|
|
145
|
+
- `fix([file[s]-name]): [message]`
|
|
146
|
+
- `add([file[s]-name]): [message]`
|
|
147
|
+
- When you are ready to push just `merge`(not `rebase`) develop into the current branch
|
|
148
|
+
- Fix any merge conflicts that this creates
|
|
149
|
+
- Next create pull request to develop (you can squash multiple commits when merging)
|
|
150
|
+
- After the pull request is merged to develop you can see it in staging [https://bonkers-ie.github.io/bonkers-ui](https://bonkers-ie.github.io/bonkers-ui/?path=/docs/example-introduction--docs)
|
|
151
|
+
- Only after test staging you can create a merge request from `develop` to `master`
|
|
152
|
+
- After you merge to master, the patch version will upgrade x.x.^x and you can use this version in package
|
package/bonkers-ui.umd.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(s,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(s=typeof globalThis<"u"?globalThis:s||self,e(s.bonkersUi={},s.Vue))})(this,function(s,e){"use strict";var
|
|
2
|
-
`,document.head.appendChild(Me);var c=(t=>(t.XXS="xxs",t.XS="xs",t.SM="sm",t.MD="m",t.LG="lg",t.XL="xl",t.XXL="2xl",t.XXXL="3xl",t.XXXXL="4xl",t.XXXXXL="5xl",t))(c||{}),m=(t=>(t.LIGHT="light",t.REGULAR="regular",t.SEMI_BOLD="semi_bold",t.BOLD="bold",t))(m||{}),g=(t=>(t.LEFT="left",t.CENTER="center",t.RIGHT="right",t))(g||{}),B=(t=>(t.LOWERCASE="lowercase",t.UPPERCASE="uppercase",t))(B||{}),a=(t=>(t.WHITE="--color-white",t.BLACK="--color-black",t.TRANSPARENT="--color-transparent",t.CURRENT="--color-current",t.PRIMARY="--color-primary",t.PRIMARY_300="--color-primary-300",t.PRIMARY_400="--color-primary-400",t.PRIMARY_500="--color-primary-500",t.PRIMARY_600="--color-primary-600",t.PRIMARY_700="--color-primary-700",t.PRIMARY_ALT="--color-primary-alt",t.PRIMARY_ALT_300="--color-primary-alt-300",t.PRIMARY_ALT_400="--color-primary-alt-400",t.PRIMARY_ALT_500="--color-primary-alt-500",t.PRIMARY_ALT_600="--color-primary-alt-600",t.PRIMARY_ALT_700="--color-primary-alt-700",t.SECONDARY="--color-secondary",t.SECONDARY_300="--color-secondary-300",t.SECONDARY_400="--color-secondary-400",t.SECONDARY_500="--color-secondary-500",t.SECONDARY_600="--color-secondary-600",t.SECONDARY_700="--color-secondary-700",t.WARNING="--color-warning",t.WARNING_300="--color-warning-300",t.WARNING_400="--color-warning-400",t.WARNING_500="--color-warning-500",t.WARNING_600="--color-warning-600",t.WARNING_700="--color-warning-700",t.ERROR="--color-error",t.ERROR_300="--color-error-300",t.ERROR_400="--color-error-400",t.ERROR_500="--color-error-500",t.ERROR_600="--color-error-600",t.ERROR_700="--color-error-700",t.ACCENT="--color-accent",t.ACCENT_300="--color-accent-300",t.ACCENT_500="--color-accent-500",t.ACCENT_600="--color-accent-600",t.ACCENT_700="--color-accent-700",t.ACCENT_ALT="--color-accent-alt",t.ACCENT_ALT_500="--color-accent-alt-500",t.SECONDARY_ALT="--color-secondary-alt",t.SECONDARY_ALT_200="--color-secondary-alt-200",t.SECONDARY_ALT_300="--color-secondary-alt-300",t.SECONDARY_ALT_400="--color-secondary-alt-400",t.SECONDARY_ALT_500="--color-secondary-alt-500",t.SECONDARY_ALT_600="--color-secondary-alt-600",t.SECONDARY_ALT_700="--color-secondary-alt-700",t))(a||{});const J=e.defineComponent({__name:"ui-typography",props:{align:{},size:{},kind:{},weight:{},lineHeight:{type:Boolean},textTransform:{},underline:{type:Boolean},is:{type:[String,Object,Function]}},setup(t){return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.is||"p"),{class:e.normalizeClass(["ui-typography",[r.size===e.unref(c).MD&&"text-md",r.size===e.unref(c).XXS&&"text-xxs",r.size===e.unref(c).XS&&"text-xs",r.size===e.unref(c).SM&&"text-sm",r.size===e.unref(c).LG&&"text-lg",r.size===e.unref(c).XL&&"text-xl",r.size===e.unref(c).XXL&&"text-2xl",r.size===e.unref(c).XXS&&"text-xxs",r.size===e.unref(c).XXXL&&"text-3xl",r.size===e.unref(c).XXXXL&&"text-4xl",r.size===e.unref(c).XXXXXL&&"text-5xl",r.kind===e.unref(a).WHITE&&"text-white",r.kind===e.unref(a).BLACK&&"text-black",r.kind===e.unref(a).TRANSPARENT&&"text-transparent",r.kind===e.unref(a).CURRENT&&"text-current",r.kind===e.unref(a).PRIMARY&&"text-primary",r.kind===e.unref(a).PRIMARY_300&&"text-primary-300",r.kind===e.unref(a).PRIMARY_400&&"text-primary-400",r.kind===e.unref(a).PRIMARY_500&&"text-primary-500",r.kind===e.unref(a).PRIMARY_600&&"text-primary-600",r.kind===e.unref(a).PRIMARY_700&&"text-primary-700",r.kind===e.unref(a).PRIMARY_ALT&&"text-primary",r.kind===e.unref(a).PRIMARY_ALT_300&&"text-primary-300",r.kind===e.unref(a).PRIMARY_ALT_400&&"text-primary-400",r.kind===e.unref(a).PRIMARY_ALT_500&&"text-primary-500",r.kind===e.unref(a).PRIMARY_ALT_600&&"text-primary-600",r.kind===e.unref(a).PRIMARY_ALT_700&&"text-primary-700",r.kind===e.unref(a).SECONDARY&&"text-secondary",r.kind===e.unref(a).SECONDARY_300&&"text-secondary-300",r.kind===e.unref(a).SECONDARY_400&&"text-secondary-400",r.kind===e.unref(a).SECONDARY_500&&"text-secondary-500",r.kind===e.unref(a).SECONDARY_600&&"text-secondary-600",r.kind===e.unref(a).SECONDARY_700&&"text-secondary-700",r.kind===e.unref(a).WARNING&&"text-warning",r.kind===e.unref(a).WARNING_300&&"text-warning-300",r.kind===e.unref(a).WARNING_400&&"text-warning-400",r.kind===e.unref(a).WARNING_500&&"text-warning-500",r.kind===e.unref(a).WARNING_600&&"text-warning-600",r.kind===e.unref(a).WARNING_700&&"text-warning-700",r.kind===e.unref(a).ERROR&&"text-error",r.kind===e.unref(a).ERROR_300&&"text-error-300",r.kind===e.unref(a).ERROR_400&&"text-error-400",r.kind===e.unref(a).ERROR_500&&"text-error-500",r.kind===e.unref(a).ERROR_600&&"text-error-600",r.kind===e.unref(a).ERROR_700&&"text-error-700",r.kind===e.unref(a).ACCENT&&"text-accent",r.kind===e.unref(a).ACCENT_300&&"text-accent-300",r.kind===e.unref(a).ACCENT_500&&"text-accent-500",r.kind===e.unref(a).ACCENT_600&&"text-accent-600",r.kind===e.unref(a).ACCENT_700&&"text-accent-700",r.kind===e.unref(a).ACCENT_ALT&&"text-accent-alt",r.kind===e.unref(a).ACCENT_ALT_500&&"text-accent-alt-500",r.kind===e.unref(a).SECONDARY_ALT&&"text-secondary-alt",r.kind===e.unref(a).SECONDARY_ALT_200&&"text-secondary-alt-200",r.kind===e.unref(a).SECONDARY_ALT_300&&"text-secondary-alt-300",r.kind===e.unref(a).SECONDARY_ALT_400&&"text-secondary-alt-400",r.kind===e.unref(a).SECONDARY_ALT_500&&"text-secondary-alt-500",r.kind===e.unref(a).SECONDARY_ALT_600&&"text-secondary-alt-600",r.kind===e.unref(a).SECONDARY_ALT_700&&"text-secondary-alt-700",r.weight===e.unref(m).LIGHT&&"font-light",r.weight===e.unref(m).REGULAR&&"font-medium",r.weight===e.unref(m).SEMI_BOLD&&"font-bold",r.weight===e.unref(m).BOLD&&"font-black",r.align===e.unref(g).LEFT&&"text-left",r.align===e.unref(g).CENTER&&"text-center",r.align===e.unref(g).RIGHT&&"text-right",r.textTransform===e.unref(B).LOWERCASE&&"lowercase",r.textTransform===e.unref(B).UPPERCASE&&"uppercase",r.lineHeight?"leading-normal":"leading-none",r.underline&&"underline"]])},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),p=J,Ue=Object.freeze(Object.defineProperty({__proto__:null,EColors:a,ETextAlign:g,ETextTransform:B,ETextWeight:m,ETypographySizes:c,UiTypography:J,default:p},Symbol.toStringTag,{value:"Module"}));var b=(t=>(t.XXS="xxs",t.XS="xs",t.SM="sm",t.MD="md",t.LG="lg",t.XL="xl",t.XXL="xxl",t))(b||{});const v=e.defineComponent({__name:"ui-icon",props:{size:{default:b.SM},iconName:{}},setup(t){return(r,n)=>{const l=e.resolveComponent("font-awesome-icon");return e.openBlock(),e.createBlock(l,{class:e.normalizeClass(["ui-icon",[r.size===e.unref(b).XXS&&"h-xxs w-xxs",r.size===e.unref(b).XS&&"h-xs w-xs",r.size===e.unref(b).SM&&"h-sm w-sm",r.size===e.unref(b).MD&&"h-md w-md",r.size===e.unref(b).LG&&"h-lg w-lg",r.size===e.unref(b).XL&&"h-xl w-xl",r.size===e.unref(b).XXL&&"h-xxl w-xxl"]]),icon:r.iconName},null,8,["icon","class"])}}});var ee=(t=>(t.FAR="far",t.FAS="fas",t.FAB="fab",t.FAL="fal",t.FAD="fad",t.FAT="fat",t.BRANDS="fa-brands",t))(ee||{});const C=v,ze=Object.freeze(Object.defineProperty({__proto__:null,EIconType:ee,ESize:b,UiIcon:v,default:C},Symbol.toStringTag,{value:"Module"}));var D=(t=>(t.DEFAULT="default",t.SECONDARY="secondary",t))(D||{});const Ye=["active"],te=e.defineComponent({__name:"ui-dropdown",props:{header:{},iconName:{},subText:{},kind:{default:D.DEFAULT},active:{type:Boolean,default:!0}},setup(t){const r=e.ref(null),n=e.ref(0),l=t,i=e.ref(l.active);return e.onMounted(()=>{if(r.value){const{height:o}=r.value.getBoundingClientRect();n.value=o}}),(o,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["bg-white",{"rounded-lg border border-secondary-alt-300":o.kind===e.unref(D).DEFAULT}])},[e.createElementVNode("div",{class:e.normalizeClass(["flex justify-between px-md py-sm",{"rounded-lg border border-secondary":o.kind===e.unref(D).SECONDARY}]),onClick:d[0]||(d[0]=f=>i.value=!i.value)},[e.createVNode(e.unref(p),{"line-height":"",size:e.unref(c).MD,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),_:1},8,["size","weight"]),e.createVNode(e.unref(C),{class:e.normalizeClass(["item-icon duration-200",{"rotate-180":i.value,"rotate-0":!i.value}]),"icon-name":o.iconName,size:e.unref(b).MD},null,8,["class","icon-name","size"])],2),e.createElementVNode("div",{class:e.normalizeClass(["overflow-hidden duration-300",{"border border-transparent border-t-secondary-alt-300":o.kind===e.unref(D).DEFAULT,"!h-0 opacity-0":!i.value,"h-auto opacity-100":i.value}]),style:e.normalizeStyle({height:n.value+"px"}),active:o.active},[e.createElementVNode("div",{ref_key:"contentRef",ref:r,class:e.normalizeClass(["box-border pt-sm",{"p-sm":o.kind===e.unref(D).DEFAULT}])},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.subText),1)])],2)],14,Ye)],2))}}),Pe=Object.freeze(Object.defineProperty({__proto__:null,EDropdownKinds:D,UiDropdown:te,default:te},Symbol.toStringTag,{value:"Module"}));var N=(t=>(t.PRIMARY="PRIMARY",t.SECONDARY="SECONDARY",t.ERROR="ERROR",t.WARNING="WARNING",t))(N||{});const re=e.defineComponent({__name:"ui-alert",props:{icon:{},kind:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-alert flex gap-sm rounded-lg border bg-white p-sm",[(!r.kind||r.kind===e.unref(N).PRIMARY)&&"border-primary",r.kind===e.unref(N).WARNING&&"border-warning",r.kind===e.unref(N).ERROR&&"border-error",r.kind===e.unref(N).SECONDARY&&"border-secondary"]])},[e.createVNode(e.unref(C),{"icon-name":r.icon,size:e.unref(b).SM,class:e.normalizeClass([(!r.kind||r.kind===e.unref(N).PRIMARY)&&"text-primary",r.kind===e.unref(N).WARNING&&"text-warning",r.kind===e.unref(N).ERROR&&"text-error",r.kind===e.unref(N).SECONDARY&&"text-secondary"])},null,8,["icon-name","size","class"]),e.createVNode(e.unref(p),{size:e.unref(c).XS,"line-height":""},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["size"])],2))}}),je=Object.freeze(Object.defineProperty({__proto__:null,EAlertTypes:N,UiAlert:re,default:re},Symbol.toStringTag,{value:"Module"}));var x=(t=>(t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t))(x||{}),I=(t=>(t.PRIMARY="primary",t.ERROR="error",t.ACCENT="accent",t))(I||{});const Xe={class:"ui-badge relative overflow-hidden text-white"},Fe={class:"relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs"},oe=e.defineComponent({__name:"ui-badge",props:{size:{},kind:{},icon:{},elipsis:{type:Boolean}},setup(t){const r=t,n=e.useSlots(),l=e.computed(()=>{switch(r.size){case x.MEDIUM:return c.XS;case x.LARGE:return c.SM;case x.SMALL:default:return c.XXS}});return(i,o)=>(e.openBlock(),e.createElementBlock("div",Xe,[e.createElementVNode("div",Fe,[i.icon?(e.openBlock(),e.createBlock(e.unref(C),{key:0,size:e.unref(b).SM,"icon-name":i.icon},null,8,["size","icon-name"])):e.createCommentVNode("",!0),e.unref(n).default?(e.openBlock(),e.createBlock(e.unref(p),{key:1,size:l.value,class:e.normalizeClass(["whitespace-nowrap",[i.elipsis&&"overflow-hidden text-ellipsis"]]),"line-height":""},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["size","class"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["absolute left-0 top-0 h-full w-full rounded-full",[(!i.kind||i.kind===e.unref(I).PRIMARY)&&"bg-primary-600",i.kind===e.unref(I).ERROR&&"bg-error-600",i.kind===e.unref(I).ACCENT&&"bg-accent-600",i.elipsis&&"max-w-full"]])},null,2)]))}}),Ge=Object.freeze(Object.defineProperty({__proto__:null,EBadgeKind:I,EBadgeSize:x,UiBadge:oe,default:oe},Symbol.toStringTag,{value:"Module"})),Z=[{text:"N/A",color:a.SECONDARY_ALT},{text:"G",color:a.ERROR},{text:"F",color:a.WARNING},{text:"E2",color:a.WARNING_600},{text:"E1",color:a.WARNING_600},{text:"D2",color:a.WARNING_400},{text:"D1",color:a.WARNING_400},{text:"C3",color:a.PRIMARY_ALT},{text:"C2",color:a.PRIMARY_ALT},{text:"C1",color:a.PRIMARY_ALT},{text:"B3",color:a.PRIMARY_ALT_600},{text:"B2",color:a.PRIMARY_ALT_600},{text:"B1",color:a.PRIMARY_ALT_600},{text:"A3",color:a.PRIMARY_ALT_700},{text:"A2",color:a.PRIMARY_ALT_700},{text:"A1",color:a.PRIMARY_ALT_700}];Z.map(({text:t})=>t);var S=(t=>(t.SMALL="small",t.MEDIUM="medium",t))(S||{});const We={class:"ui-ber-rank flex"},He={class:"ui-ber-rank__icon-wrapper relative"},Ze=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M0.279251 15.36C0.279251 9.9835 0.279251 7.29524 1.32559 5.24169C2.24597 3.43534 3.71459 1.96672 5.52094 1.04634C7.5745 0 10.2627 0 15.6393 0H139.208C143.189 0 145.18 0 146.874 0.666121C148.369 1.25435 149.693 2.20864 150.724 3.44151C151.892 4.83764 152.521 6.72601 153.78 10.5027L158.93 25.9523C159.431 27.4541 159.681 28.205 159.78 28.9732C159.869 29.6549 159.869 30.3451 159.78 31.0268C159.681 31.795 159.431 32.5459 158.93 34.0477L153.78 49.4973C152.521 53.274 151.892 55.1624 150.724 56.5585C149.693 57.7914 148.369 58.7457 146.874 59.3339C145.18 60 143.189 60 139.208 60H15.6393C10.2627 60 7.5745 60 5.52094 58.9537C3.71459 58.0333 2.24597 56.5647 1.32559 54.7583C0.279251 52.7048 0.279251 50.0165 0.279251 44.64V15.36Z",fill:"currentColor"},null,-1)],qe={class:"ui-ber-rank__icon-wrapper relative"},Ke=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M3.01833 20.2172C0.74308 13.3915 -0.394547 9.9786 0.287586 7.26202C0.884697 4.88404 2.36903 2.82464 4.43616 1.50619C6.79762 0 10.3951 0 17.5901 0H90.3607C95.7373 0 98.4255 0 100.479 1.04634C102.285 1.96672 103.754 3.43534 104.674 5.24169C105.721 7.29524 105.721 9.9835 105.721 15.36V44.64C105.721 50.0165 105.721 52.7048 104.674 54.7583C103.754 56.5647 102.285 58.0333 100.479 58.9537C98.4255 60 95.7373 60 90.3607 60H17.5901C10.3951 60 6.79762 60 4.43616 58.4938C2.36903 57.1754 0.884697 55.116 0.287586 52.738C-0.394547 50.0214 0.743081 46.6085 3.01834 39.7827L4.93001 34.0477C5.43062 32.5459 5.68093 31.795 5.78035 31.0268C5.86857 30.3451 5.86857 29.6549 5.78035 28.9732C5.68093 28.205 5.43062 27.4541 4.93001 25.9523L3.01833 20.2172Z",fill:"currentColor"},null,-1)],ae=e.defineComponent({__name:"ui-ber-rank",props:{rank:{},size:{default:S.MEDIUM}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case S.SMALL:return c.SM;case S.MEDIUM:return c.XXXL;default:return c.XXXL}});return(l,i)=>{var o;return e.openBlock(),e.createElementBlock("div",We,[e.createElementVNode("div",He,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["text-secondary",[l.size===e.unref(S).SMALL&&"ui-ber-rank__icon_small",l.size===e.unref(S).MEDIUM&&"ui-ber-rank__icon_medium"]]),viewBox:"0 0 160 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze,2)),e.createVNode(e.unref(p),{kind:e.unref(a).WHITE,weight:e.unref(m).BOLD,size:n.value,"text-transform":e.unref(B).UPPERCASE,class:"absolute left-0 top-0 flex h-full w-full items-center justify-center"},{default:e.withCtx(()=>[e.createTextVNode(" ber ")]),_:1},8,["kind","weight","size","text-transform"])]),e.createElementVNode("div",qe,[e.createVNode(e.unref(p),{kind:((o=e.unref(Z)[+l.rank])==null?void 0:o.color)||e.unref(Z)[0].color},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass([l.size===e.unref(S).SMALL&&"ui-ber-rank__icon_small",l.size===e.unref(S).MEDIUM&&"ui-ber-rank__icon_medium"]),viewBox:"0 0 106 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ke,2))]),_:1},8,["kind"]),e.createVNode(e.unref(p),{kind:e.unref(a).WHITE,weight:e.unref(m).BOLD,size:n.value,"text-transform":e.unref(B).UPPERCASE,class:"absolute left-0 top-0 flex h-full w-full items-center justify-center"},{default:e.withCtx(()=>{var d;return[e.createTextVNode(e.toDisplayString(((d=e.unref(Z)[+l.rank])==null?void 0:d.text)||e.unref(Z)[0].text),1)]}),_:1},8,["kind","weight","size","text-transform"])])])}}}),no="",Qe=Object.freeze(Object.defineProperty({__proto__:null,EBerSize:S,UiBerRank:ae,default:ae},Symbol.toStringTag,{value:"Module"}));var h=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.ERROR="error",t.WARNING="warning",t.PRIMARY_OVERLAY="primary-overlay",t.SECONDARY_OVERLAY="secondary-overlay",t.ERROR_OVERLAY="error-overlay",t.WARNING_OVERLAY="warning-overlay",t.LINK="link",t))(h||{}),T=(t=>(t.DEFAULT="default",t.SMALL="sm",t.MEDIUM="md",t.LARGE="lg",t))(T||{});const Je=["disabled"],ve="text-white bg-primary disabled:bg-primary-300",et="hover:bg-primary-600 ",tt="active:bg-primary-700 ",ne=e.defineComponent({__name:"ui-button",props:{kind:{default:h.PRIMARY},size:{default:T.DEFAULT},fullWidth:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["ui-button text-base grid touch-manipulation grid-flow-col items-center justify-center whitespace-nowrap rounded-lg font-bold leading-none",[(!r.kind||r.kind===e.unref(h).PRIMARY)&&[ve,et,tt].join(" "),r.kind===e.unref(h).SECONDARY&&"bg-secondary text-white hover:bg-secondary-600 active:bg-secondary-700 disabled:bg-secondary-300",r.kind===e.unref(h).WARNING&&"bg-warning text-white hover:bg-warning-600 active:bg-warning-700 disabled:bg-warning-300",r.kind===e.unref(h).ERROR&&"bg-error text-white hover:bg-error-600 active:bg-error-700 disabled:bg-error-300",r.kind===e.unref(h).PRIMARY_OVERLAY&&`border border-primary text-primary hover:border-transparent hover:bg-primary-600
|
|
1
|
+
(function(s,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(s=typeof globalThis<"u"?globalThis:s||self,e(s.bonkersUi={},s.Vue))})(this,function(s,e){"use strict";var Be=document.createElement("style");Be.textContent=`.ui-ber-rank__icon_medium{height:60px}.ui-ber-rank__icon_small{height:30px}.icon-wrapper_offset-md[data-v-91a2ab37] .notification-badge{top:4px;right:4px}.icon-wrapper_offset-lg[data-v-91a2ab37] .notification-badge{top:8px;right:8px}.max-height[data-v-f3e5c3af]{max-height:calc(100vh - var(--md))}.max-width[data-v-f3e5c3af]{max-width:calc(100vw - var(--md))}.notification-badge{padding:2px}.ui-table__secondary[data-v-fa615ea7] tr:nth-child(odd){background-color:var(--color-secondary-alt-200)}.ui-table__secondary-inverted[data-v-fa615ea7] tr:nth-child(2n){background-color:var(--color-secondary-alt-200)}.ui-table-row[data-v-97952db0] td:first-child{border-top-left-radius:var(--xs);border-bottom-left-radius:var(--xs);text-align:left}.ui-table-row[data-v-97952db0] td:last-child{border-top-right-radius:var(--xs);border-bottom-right-radius:var(--xs);text-align:right}.backdrop-color[data-v-e497a16b]{background-color:#0000007f}.ui-card-result__header[data-v-99edfa3c]{grid-template-columns:1fr auto}.line-clamp[data-v-99edfa3c]{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ui-checkbox[data-v-1bc5e146]{grid-template-columns:auto auto}.ui-checkbox_custom[data-v-1bc5e146]{transition:background-color ease-in-out .3s .3s,border-width ease-in-out .2s}.ui-checkbox__icon[data-v-1bc5e146]{stroke-dasharray:70;stroke-dashoffset:70;transition:stroke-dashoffset .3s ease-in-out}input+.ui-checkbox_custom[data-v-1bc5e146]:active{transition:background-color ease-in-out .1s;background-color:var(--color-secondary-alt-200)}input+.ui-checkbox_custom[data-v-1bc5e146]:active,input:focus+.ui-checkbox_custom[data-v-1bc5e146]{box-shadow:var(--shadow-border-primary)}input:disabled+.ui-checkbox_custom[data-v-1bc5e146]{background-color:var(--color-secondary-alt-200);border-color:var(--color-secondary-alt-400)}input:checked+.ui-checkbox_custom .ui-checkbox__icon[data-v-1bc5e146]{stroke-dashoffset:0}input:checked+.ui-checkbox_custom>svg[data-v-1bc5e146]{opacity:1}input:checked+.ui-checkbox_custom[data-v-1bc5e146]{border-width:0;background-color:var(--color-primary);transition:background-color ease-in-out .1s,border-width ease-in-out .1s,box-shadow ease-in-out .2s;animation:cb-pop-1bc5e146 .5s ease-in-out}input:checked+.ui-checkbox_custom[data-v-1bc5e146]:hover{background-color:var(--color-primary-600)}input:checked+.ui-checkbox_custom[data-v-1bc5e146]:active{background-color:var(--color-primary-700)}input:checked:disabled+.ui-checkbox_custom[data-v-1bc5e146]{background-color:var(--color-primary-300);border:1px solid var(--color-primary-400)}.ui-checkbox_disabled[data-v-1bc5e146]{pointer-events:none;cursor:default}@keyframes cb-pop-1bc5e146{0%{transform:scale(1)}33%{transform:scale(.95)}66%{transform:scale(1.05)}to{transform:scale(1)}}input[type=range][data-v-5ac339bd]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:10px;width:10px;transform:scale(4);background-color:transparent;border:0;box-shadow:none}input[type=range][data-v-5ac339bd]::-moz-range-thumb{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-shadow:none}.ui-input-range__thumb[data-v-5ac339bd]{top:50%;border-width:12px;box-shadow:0 0 0 4px var(--color-primary)}.ui-radio__dot[data-v-3212099e]{transform:translate3d(-50%,-50%,0) scale(0);transition:transform .2s ease-in-out}input:checked+.ui-radio_custom .ui-radio__dot[data-v-3212099e]{transform:translate3d(-50%,-50%,0) scale(1)}input:checked+.ui-radio_custom:hover .ui-radio__dot[data-v-3212099e]{background-color:var(--color-primary-600)}input:checked:disabled+.ui-radio_custom[data-v-3212099e]{border:2px solid var(--color-primary-300)}input:checked:disabled+.ui-radio_custom .ui-radio__dot[data-v-3212099e]{background-color:var(--color-primary-300)}.ui-ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.ripple{position:absolute;will-change:transform,opacity;transform:translate3d(-50%,-50%,0) scale(0);mix-blend-mode:screen;animation:ripple 1s ease-out forwards,fade 1s ease-out forwards;z-index:1}@keyframes ripple{0%{transform:translate3d(-50%,-50%,0) scale(0)}80%{transform:translate3d(-50%,-50%,0) scale(10)}to{transform:translate3d(-50%,-50%,0) scale(10)}}@keyframes fade{0%{opacity:1}to{opacity:0}}.ui-tabs[data-v-bab25249]{padding:2px}.ui-toggle__dot[data-v-80cfec4a]{top:50%;width:22px;height:22px;transform:translate3d(1px,-50%,0);transition:transform .2s ease-in-out}.ui-toggle__check-icon[data-v-80cfec4a]{top:50%;left:50%;transform:translate3d(-50%,-50%,0);stroke-dasharray:70;stroke-dashoffset:70;transition:stroke-dashoffset .2s ease-in-out}.ui-toggle:hover .ui-toggle__dot[data-v-80cfec4a],.ui-toggle:active .ui-toggle__dot[data-v-80cfec4a],.ui-toggle:focus .ui-toggle__dot[data-v-80cfec4a]{box-shadow:var(--shadow-border-secondary)}.ui-toggle input:checked~.ui-toggle__dot[data-v-80cfec4a]{transform:translate3d(calc(var(--lg) - 100% - 1px),-50%,0)}.ui-toggle:hover input:checked~.ui-toggle__dot[data-v-80cfec4a],.ui-toggle:active input:checked~.ui-toggle__dot[data-v-80cfec4a],.ui-toggle:focus input:checked~.ui-toggle__dot[data-v-80cfec4a]{box-shadow:var(--shadow-border-primary)}.ui-toggle__bg-block[data-v-80cfec4a]{transition:background-color .2s ease-in-out}.ui-toggle_disabled .ui-toggle__bg-block[data-v-80cfec4a]{background-color:var(--color-secondary-alt-300)}.ui-toggle input:checked~.ui-toggle__bg-block[data-v-80cfec4a]{background-color:var(--color-primary)}.ui-toggle input:checked~.ui-toggle__dot .ui-toggle__check-icon[data-v-80cfec4a]{stroke-dashoffset:0}.ui-toggle_disabled input:checked~.ui-toggle__bg-block[data-v-80cfec4a]{background-color:var(--color-primary-300)}.inputs[data-v-c13dfde7]{grid-template-columns:repeat(auto-fill,38px);grid-gap:24px}.inputs .input-wrapper[data-v-c13dfde7]{position:relative;height:58px}.inputs input[data-v-c13dfde7]{width:100%;border:none;text-align:center;font-size:36px;font-weight:700;outline:none}.inputs .input-wrapper .bottom-wrapper[data-v-c13dfde7]{position:absolute;bottom:0;width:100%;height:5px;background-color:var(--color-secondary-300);border-radius:3px;transition:background-color .3s ease-in-out}.inputs input:focus~.bottom-wrapper[data-v-c13dfde7]{background-color:var(--color-primary)}.inputs input[data-v-c13dfde7]::-moz-placeholder{font-size:55px;color:var(--color-secondary-300);opacity:1;transform:scale(1);-moz-transition:opacity .3s ease-in-out,transform .3s ease-in-out;transition:opacity .3s ease-in-out,transform .3s ease-in-out}.inputs input[data-v-c13dfde7]::placeholder{font-size:55px;color:var(--color-secondary-300);opacity:1;transform:scale(1);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.inputs input[data-v-c13dfde7]:focus::-moz-placeholder{opacity:0;transform:scale(0)}.inputs input[data-v-c13dfde7]:focus::placeholder{opacity:0;transform:scale(0)}
|
|
2
|
+
`,document.head.appendChild(Be);var c=(t=>(t.XXS="xxs",t.XS="xs",t.SM="sm",t.MD="m",t.LG="lg",t.XL="xl",t.XXL="2xl",t.XXXL="3xl",t.XXXXL="4xl",t.XXXXXL="5xl",t))(c||{}),m=(t=>(t.LIGHT="light",t.REGULAR="regular",t.SEMI_BOLD="semi_bold",t.BOLD="bold",t))(m||{}),h=(t=>(t.LEFT="left",t.CENTER="center",t.RIGHT="right",t))(h||{}),L=(t=>(t.LOWERCASE="lowercase",t.UPPERCASE="uppercase",t))(L||{}),a=(t=>(t.WHITE="--color-white",t.BLACK="--color-black",t.TRANSPARENT="--color-transparent",t.CURRENT="--color-current",t.PRIMARY="--color-primary",t.PRIMARY_300="--color-primary-300",t.PRIMARY_400="--color-primary-400",t.PRIMARY_500="--color-primary-500",t.PRIMARY_600="--color-primary-600",t.PRIMARY_700="--color-primary-700",t.PRIMARY_ALT="--color-primary-alt",t.PRIMARY_ALT_300="--color-primary-alt-300",t.PRIMARY_ALT_400="--color-primary-alt-400",t.PRIMARY_ALT_500="--color-primary-alt-500",t.PRIMARY_ALT_600="--color-primary-alt-600",t.PRIMARY_ALT_700="--color-primary-alt-700",t.SECONDARY="--color-secondary",t.SECONDARY_300="--color-secondary-300",t.SECONDARY_400="--color-secondary-400",t.SECONDARY_500="--color-secondary-500",t.SECONDARY_600="--color-secondary-600",t.SECONDARY_700="--color-secondary-700",t.WARNING="--color-warning",t.WARNING_300="--color-warning-300",t.WARNING_400="--color-warning-400",t.WARNING_500="--color-warning-500",t.WARNING_600="--color-warning-600",t.WARNING_700="--color-warning-700",t.ERROR="--color-error",t.ERROR_300="--color-error-300",t.ERROR_400="--color-error-400",t.ERROR_500="--color-error-500",t.ERROR_600="--color-error-600",t.ERROR_700="--color-error-700",t.ACCENT="--color-accent",t.ACCENT_300="--color-accent-300",t.ACCENT_500="--color-accent-500",t.ACCENT_600="--color-accent-600",t.ACCENT_700="--color-accent-700",t.ACCENT_ALT="--color-accent-alt",t.ACCENT_ALT_500="--color-accent-alt-500",t.SECONDARY_ALT="--color-secondary-alt",t.SECONDARY_ALT_200="--color-secondary-alt-200",t.SECONDARY_ALT_300="--color-secondary-alt-300",t.SECONDARY_ALT_400="--color-secondary-alt-400",t.SECONDARY_ALT_500="--color-secondary-alt-500",t.SECONDARY_ALT_600="--color-secondary-alt-600",t.SECONDARY_ALT_700="--color-secondary-alt-700",t))(a||{});const J=e.defineComponent({__name:"ui-typography",props:{align:{},size:{},kind:{},weight:{},lineHeight:{type:Boolean},textTransform:{},underline:{type:Boolean},is:{type:[String,Object,Function]}},setup(t){return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.is||"p"),{class:e.normalizeClass(["ui-typography",[r.size===e.unref(c).MD&&"text-md",r.size===e.unref(c).XXS&&"text-xxs",r.size===e.unref(c).XS&&"text-xs",r.size===e.unref(c).SM&&"text-sm",r.size===e.unref(c).LG&&"text-lg",r.size===e.unref(c).XL&&"text-xl",r.size===e.unref(c).XXL&&"text-2xl",r.size===e.unref(c).XXS&&"text-xxs",r.size===e.unref(c).XXXL&&"text-3xl",r.size===e.unref(c).XXXXL&&"text-4xl",r.size===e.unref(c).XXXXXL&&"text-5xl",r.kind===e.unref(a).WHITE&&"text-white",r.kind===e.unref(a).BLACK&&"text-black",r.kind===e.unref(a).TRANSPARENT&&"text-transparent",r.kind===e.unref(a).CURRENT&&"text-current",r.kind===e.unref(a).PRIMARY&&"text-primary",r.kind===e.unref(a).PRIMARY_300&&"text-primary-300",r.kind===e.unref(a).PRIMARY_400&&"text-primary-400",r.kind===e.unref(a).PRIMARY_500&&"text-primary-500",r.kind===e.unref(a).PRIMARY_600&&"text-primary-600",r.kind===e.unref(a).PRIMARY_700&&"text-primary-700",r.kind===e.unref(a).PRIMARY_ALT&&"text-primary",r.kind===e.unref(a).PRIMARY_ALT_300&&"text-primary-300",r.kind===e.unref(a).PRIMARY_ALT_400&&"text-primary-400",r.kind===e.unref(a).PRIMARY_ALT_500&&"text-primary-500",r.kind===e.unref(a).PRIMARY_ALT_600&&"text-primary-600",r.kind===e.unref(a).PRIMARY_ALT_700&&"text-primary-700",r.kind===e.unref(a).SECONDARY&&"text-secondary",r.kind===e.unref(a).SECONDARY_300&&"text-secondary-300",r.kind===e.unref(a).SECONDARY_400&&"text-secondary-400",r.kind===e.unref(a).SECONDARY_500&&"text-secondary-500",r.kind===e.unref(a).SECONDARY_600&&"text-secondary-600",r.kind===e.unref(a).SECONDARY_700&&"text-secondary-700",r.kind===e.unref(a).WARNING&&"text-warning",r.kind===e.unref(a).WARNING_300&&"text-warning-300",r.kind===e.unref(a).WARNING_400&&"text-warning-400",r.kind===e.unref(a).WARNING_500&&"text-warning-500",r.kind===e.unref(a).WARNING_600&&"text-warning-600",r.kind===e.unref(a).WARNING_700&&"text-warning-700",r.kind===e.unref(a).ERROR&&"text-error",r.kind===e.unref(a).ERROR_300&&"text-error-300",r.kind===e.unref(a).ERROR_400&&"text-error-400",r.kind===e.unref(a).ERROR_500&&"text-error-500",r.kind===e.unref(a).ERROR_600&&"text-error-600",r.kind===e.unref(a).ERROR_700&&"text-error-700",r.kind===e.unref(a).ACCENT&&"text-accent",r.kind===e.unref(a).ACCENT_300&&"text-accent-300",r.kind===e.unref(a).ACCENT_500&&"text-accent-500",r.kind===e.unref(a).ACCENT_600&&"text-accent-600",r.kind===e.unref(a).ACCENT_700&&"text-accent-700",r.kind===e.unref(a).ACCENT_ALT&&"text-accent-alt",r.kind===e.unref(a).ACCENT_ALT_500&&"text-accent-alt-500",r.kind===e.unref(a).SECONDARY_ALT&&"text-secondary-alt",r.kind===e.unref(a).SECONDARY_ALT_200&&"text-secondary-alt-200",r.kind===e.unref(a).SECONDARY_ALT_300&&"text-secondary-alt-300",r.kind===e.unref(a).SECONDARY_ALT_400&&"text-secondary-alt-400",r.kind===e.unref(a).SECONDARY_ALT_500&&"text-secondary-alt-500",r.kind===e.unref(a).SECONDARY_ALT_600&&"text-secondary-alt-600",r.kind===e.unref(a).SECONDARY_ALT_700&&"text-secondary-alt-700",r.weight===e.unref(m).LIGHT&&"font-light",r.weight===e.unref(m).REGULAR&&"font-medium",r.weight===e.unref(m).SEMI_BOLD&&"font-bold",r.weight===e.unref(m).BOLD&&"font-black",r.align===e.unref(h).LEFT&&"text-left",r.align===e.unref(h).CENTER&&"text-center",r.align===e.unref(h).RIGHT&&"text-right",r.textTransform===e.unref(L).LOWERCASE&&"lowercase",r.textTransform===e.unref(L).UPPERCASE&&"uppercase",r.lineHeight?"leading-normal":"leading-none",r.underline&&"underline"]])},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),f=J,ze=Object.freeze(Object.defineProperty({__proto__:null,EColors:a,ETextAlign:h,ETextTransform:L,ETextWeight:m,ETypographySizes:c,UiTypography:J,default:f},Symbol.toStringTag,{value:"Module"}));var b=(t=>(t.XXS="xxs",t.XS="xs",t.SM="sm",t.MD="md",t.LG="lg",t.XL="xl",t.XXL="xxl",t))(b||{});const v=e.defineComponent({__name:"ui-icon",props:{size:{default:b.SM},iconName:{}},setup(t){return(r,n)=>{const l=e.resolveComponent("font-awesome-icon");return e.openBlock(),e.createBlock(l,{class:e.normalizeClass(["ui-icon",[r.size===e.unref(b).XXS&&"h-xxs w-xxs",r.size===e.unref(b).XS&&"h-xs w-xs",r.size===e.unref(b).SM&&"h-sm w-sm",r.size===e.unref(b).MD&&"h-md w-md",r.size===e.unref(b).LG&&"h-lg w-lg",r.size===e.unref(b).XL&&"h-xl w-xl",r.size===e.unref(b).XXL&&"h-xxl w-xxl"]]),icon:r.iconName},null,8,["icon","class"])}}});var ee=(t=>(t.FAR="far",t.FAS="fas",t.FAB="fab",t.FAL="fal",t.FAD="fad",t.FAT="fat",t.BRANDS="fa-brands",t))(ee||{});const C=v,xe=Object.freeze(Object.defineProperty({__proto__:null,EIconType:ee,ESize:b,UiIcon:v,default:C},Symbol.toStringTag,{value:"Module"}));var D=(t=>(t.DEFAULT="default",t.SECONDARY="secondary",t))(D||{});const Ye=["active"],te=e.defineComponent({__name:"ui-dropdown",props:{header:{},iconName:{},subText:{},kind:{default:D.DEFAULT},active:{type:Boolean,default:!0}},setup(t){const r=e.ref(null),n=e.ref(0),l=t,i=e.ref(l.active);return e.onMounted(()=>{if(r.value){const{height:o}=r.value.getBoundingClientRect();n.value=o}}),(o,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["bg-white",{"rounded-lg border border-secondary-alt-300":o.kind===e.unref(D).DEFAULT}])},[e.createElementVNode("div",{class:e.normalizeClass(["flex justify-between px-md py-sm",{"rounded-lg border border-secondary":o.kind===e.unref(D).SECONDARY}]),onClick:d[0]||(d[0]=p=>i.value=!i.value)},[e.createVNode(e.unref(f),{"line-height":"",size:e.unref(c).MD,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),_:1},8,["size","weight"]),e.createVNode(e.unref(C),{class:e.normalizeClass(["item-icon duration-200",{"rotate-180":i.value,"rotate-0":!i.value}]),"icon-name":o.iconName,size:e.unref(b).MD},null,8,["class","icon-name","size"])],2),e.createElementVNode("div",{class:e.normalizeClass(["overflow-hidden duration-300",{"border border-transparent border-t-secondary-alt-300":o.kind===e.unref(D).DEFAULT,"!h-0 opacity-0":!i.value,"h-auto opacity-100":i.value}]),style:e.normalizeStyle({height:n.value+"px"}),active:o.active},[e.createElementVNode("div",{ref_key:"contentRef",ref:r,class:e.normalizeClass(["box-border pt-sm",{"p-sm":o.kind===e.unref(D).DEFAULT}])},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.subText),1)])],2)],14,Ye)],2))}}),Pe=Object.freeze(Object.defineProperty({__proto__:null,EDropdownKinds:D,UiDropdown:te,default:te},Symbol.toStringTag,{value:"Module"}));var N=(t=>(t.PRIMARY="PRIMARY",t.SECONDARY="SECONDARY",t.ERROR="ERROR",t.WARNING="WARNING",t))(N||{});const re=e.defineComponent({__name:"ui-alert",props:{icon:{},kind:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-alert flex gap-sm rounded-lg border bg-white p-sm",[(!r.kind||r.kind===e.unref(N).PRIMARY)&&"border-primary",r.kind===e.unref(N).WARNING&&"border-warning",r.kind===e.unref(N).ERROR&&"border-error",r.kind===e.unref(N).SECONDARY&&"border-secondary"]])},[e.createVNode(e.unref(C),{"icon-name":r.icon,size:e.unref(b).SM,class:e.normalizeClass([(!r.kind||r.kind===e.unref(N).PRIMARY)&&"text-primary",r.kind===e.unref(N).WARNING&&"text-warning",r.kind===e.unref(N).ERROR&&"text-error",r.kind===e.unref(N).SECONDARY&&"text-secondary"])},null,8,["icon-name","size","class"]),e.createVNode(e.unref(f),{size:e.unref(c).XS,"line-height":""},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["size"])],2))}}),je=Object.freeze(Object.defineProperty({__proto__:null,EAlertTypes:N,UiAlert:re,default:re},Symbol.toStringTag,{value:"Module"}));var I=(t=>(t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t))(I||{}),U=(t=>(t.PRIMARY="primary",t.ERROR="error",t.ACCENT="accent",t))(U||{});const Xe={class:"ui-badge relative overflow-hidden text-white"},Fe={class:"relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs"},oe=e.defineComponent({__name:"ui-badge",props:{size:{},kind:{},icon:{},elipsis:{type:Boolean}},setup(t){const r=t,n=e.useSlots(),l=e.computed(()=>{switch(r.size){case I.MEDIUM:return c.XS;case I.LARGE:return c.SM;case I.SMALL:default:return c.XXS}});return(i,o)=>(e.openBlock(),e.createElementBlock("div",Xe,[e.createElementVNode("div",Fe,[i.icon?(e.openBlock(),e.createBlock(e.unref(C),{key:0,size:e.unref(b).SM,"icon-name":i.icon},null,8,["size","icon-name"])):e.createCommentVNode("",!0),e.unref(n).default?(e.openBlock(),e.createBlock(e.unref(f),{key:1,size:l.value,class:e.normalizeClass(["whitespace-nowrap",[i.elipsis&&"overflow-hidden text-ellipsis"]]),"line-height":""},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["size","class"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["absolute left-0 top-0 h-full w-full rounded-full",[(!i.kind||i.kind===e.unref(U).PRIMARY)&&"bg-primary-600",i.kind===e.unref(U).ERROR&&"bg-error-600",i.kind===e.unref(U).ACCENT&&"bg-accent-600",i.elipsis&&"max-w-full"]])},null,2)]))}}),Ge=Object.freeze(Object.defineProperty({__proto__:null,EBadgeKind:U,EBadgeSize:I,UiBadge:oe,default:oe},Symbol.toStringTag,{value:"Module"})),Z=[{text:"N/A",color:a.SECONDARY_ALT},{text:"G",color:a.ERROR},{text:"F",color:a.WARNING},{text:"E2",color:a.WARNING_600},{text:"E1",color:a.WARNING_600},{text:"D2",color:a.WARNING_400},{text:"D1",color:a.WARNING_400},{text:"C3",color:a.PRIMARY_ALT},{text:"C2",color:a.PRIMARY_ALT},{text:"C1",color:a.PRIMARY_ALT},{text:"B3",color:a.PRIMARY_ALT_600},{text:"B2",color:a.PRIMARY_ALT_600},{text:"B1",color:a.PRIMARY_ALT_600},{text:"A3",color:a.PRIMARY_ALT_700},{text:"A2",color:a.PRIMARY_ALT_700},{text:"A1",color:a.PRIMARY_ALT_700}];Z.map(({text:t})=>t);var S=(t=>(t.SMALL="small",t.MEDIUM="medium",t))(S||{});const We={class:"ui-ber-rank flex"},He={class:"ui-ber-rank__icon-wrapper relative"},Ze=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M0.279251 15.36C0.279251 9.9835 0.279251 7.29524 1.32559 5.24169C2.24597 3.43534 3.71459 1.96672 5.52094 1.04634C7.5745 0 10.2627 0 15.6393 0H139.208C143.189 0 145.18 0 146.874 0.666121C148.369 1.25435 149.693 2.20864 150.724 3.44151C151.892 4.83764 152.521 6.72601 153.78 10.5027L158.93 25.9523C159.431 27.4541 159.681 28.205 159.78 28.9732C159.869 29.6549 159.869 30.3451 159.78 31.0268C159.681 31.795 159.431 32.5459 158.93 34.0477L153.78 49.4973C152.521 53.274 151.892 55.1624 150.724 56.5585C149.693 57.7914 148.369 58.7457 146.874 59.3339C145.18 60 143.189 60 139.208 60H15.6393C10.2627 60 7.5745 60 5.52094 58.9537C3.71459 58.0333 2.24597 56.5647 1.32559 54.7583C0.279251 52.7048 0.279251 50.0165 0.279251 44.64V15.36Z",fill:"currentColor"},null,-1)],qe={class:"ui-ber-rank__icon-wrapper relative"},Ke=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M3.01833 20.2172C0.74308 13.3915 -0.394547 9.9786 0.287586 7.26202C0.884697 4.88404 2.36903 2.82464 4.43616 1.50619C6.79762 0 10.3951 0 17.5901 0H90.3607C95.7373 0 98.4255 0 100.479 1.04634C102.285 1.96672 103.754 3.43534 104.674 5.24169C105.721 7.29524 105.721 9.9835 105.721 15.36V44.64C105.721 50.0165 105.721 52.7048 104.674 54.7583C103.754 56.5647 102.285 58.0333 100.479 58.9537C98.4255 60 95.7373 60 90.3607 60H17.5901C10.3951 60 6.79762 60 4.43616 58.4938C2.36903 57.1754 0.884697 55.116 0.287586 52.738C-0.394547 50.0214 0.743081 46.6085 3.01834 39.7827L4.93001 34.0477C5.43062 32.5459 5.68093 31.795 5.78035 31.0268C5.86857 30.3451 5.86857 29.6549 5.78035 28.9732C5.68093 28.205 5.43062 27.4541 4.93001 25.9523L3.01833 20.2172Z",fill:"currentColor"},null,-1)],ae=e.defineComponent({__name:"ui-ber-rank",props:{rank:{},size:{default:S.MEDIUM}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case S.SMALL:return c.SM;case S.MEDIUM:return c.XXXL;default:return c.XXXL}});return(l,i)=>{var o;return e.openBlock(),e.createElementBlock("div",We,[e.createElementVNode("div",He,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["text-secondary",[l.size===e.unref(S).SMALL&&"ui-ber-rank__icon_small",l.size===e.unref(S).MEDIUM&&"ui-ber-rank__icon_medium"]]),viewBox:"0 0 160 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze,2)),e.createVNode(e.unref(f),{kind:e.unref(a).WHITE,weight:e.unref(m).BOLD,size:n.value,"text-transform":e.unref(L).UPPERCASE,class:"absolute left-0 top-0 flex h-full w-full items-center justify-center"},{default:e.withCtx(()=>[e.createTextVNode(" ber ")]),_:1},8,["kind","weight","size","text-transform"])]),e.createElementVNode("div",qe,[e.createVNode(e.unref(f),{kind:((o=e.unref(Z)[+l.rank])==null?void 0:o.color)||e.unref(Z)[0].color},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass([l.size===e.unref(S).SMALL&&"ui-ber-rank__icon_small",l.size===e.unref(S).MEDIUM&&"ui-ber-rank__icon_medium"]),viewBox:"0 0 106 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ke,2))]),_:1},8,["kind"]),e.createVNode(e.unref(f),{kind:e.unref(a).WHITE,weight:e.unref(m).BOLD,size:n.value,"text-transform":e.unref(L).UPPERCASE,class:"absolute left-0 top-0 flex h-full w-full items-center justify-center"},{default:e.withCtx(()=>{var d;return[e.createTextVNode(e.toDisplayString(((d=e.unref(Z)[+l.rank])==null?void 0:d.text)||e.unref(Z)[0].text),1)]}),_:1},8,["kind","weight","size","text-transform"])])])}}}),Qe=Object.freeze(Object.defineProperty({__proto__:null,EBerSize:S,UiBerRank:ae,default:ae},Symbol.toStringTag,{value:"Module"}));var _=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.ERROR="error",t.WARNING="warning",t.PRIMARY_OVERLAY="primary-overlay",t.SECONDARY_OVERLAY="secondary-overlay",t.ERROR_OVERLAY="error-overlay",t.WARNING_OVERLAY="warning-overlay",t.LINK="link",t))(_||{}),T=(t=>(t.DEFAULT="default",t.SMALL="sm",t.MEDIUM="md",t.LARGE="lg",t))(T||{});const Je=["disabled"],ve="text-white bg-primary disabled:bg-primary-300",et="hover:bg-primary-600 ",tt="active:bg-primary-700 ",ne=e.defineComponent({__name:"ui-button",props:{kind:{default:_.PRIMARY},size:{default:T.DEFAULT},fullWidth:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["ui-button text-base grid touch-manipulation grid-flow-col items-center justify-center whitespace-nowrap rounded-lg font-bold leading-none",[(!r.kind||r.kind===e.unref(_).PRIMARY)&&[ve,et,tt].join(" "),r.kind===e.unref(_).SECONDARY&&"bg-secondary text-white hover:bg-secondary-600 active:bg-secondary-700 disabled:bg-secondary-300",r.kind===e.unref(_).WARNING&&"bg-warning text-white hover:bg-warning-600 active:bg-warning-700 disabled:bg-warning-300",r.kind===e.unref(_).ERROR&&"bg-error text-white hover:bg-error-600 active:bg-error-700 disabled:bg-error-300",r.kind===e.unref(_).PRIMARY_OVERLAY&&`border border-primary text-primary hover:border-transparent hover:bg-primary-600
|
|
3
3
|
hover:text-white active:border-transparent active:bg-primary-700
|
|
4
|
-
active:text-white disabled:border-primary-300 disabled:text-primary-300`,r.kind===e.unref(
|
|
4
|
+
active:text-white disabled:border-primary-300 disabled:text-primary-300`,r.kind===e.unref(_).SECONDARY_OVERLAY&&`border border-secondary text-secondary hover:border-transparent hover:bg-secondary-600
|
|
5
5
|
hover:text-white active:border-transparent active:bg-secondary-700
|
|
6
|
-
active:text-white disabled:border-secondary-300 disabled:text-secondary-300`,r.kind===e.unref(
|
|
6
|
+
active:text-white disabled:border-secondary-300 disabled:text-secondary-300`,r.kind===e.unref(_).WARNING_OVERLAY&&`border border-warning text-warning hover:border-transparent hover:bg-warning-600
|
|
7
7
|
hover:text-white active:border-transparent active:bg-warning-700
|
|
8
|
-
active:text-white disabled:border-warning-300 disabled:text-warning-300`,r.kind===e.unref(
|
|
8
|
+
active:text-white disabled:border-warning-300 disabled:text-warning-300`,r.kind===e.unref(_).ERROR_OVERLAY&&`border border-error text-error hover:border-transparent hover:bg-error-600
|
|
9
9
|
hover:text-white active:border-transparent active:bg-error-700
|
|
10
|
-
active:text-white disabled:border-error-300 disabled:text-error-300`,r.kind===e.unref(
|
|
11
|
-
disabled:text-accent-alt-300 text-accent-alt`,(!r.size||r.size===e.unref(T).DEFAULT)&&"px-md py-sm",r.size===e.unref(T).SMALL&&"px-md py-xs",r.size===e.unref(T).MEDIUM&&"p-sm",r.size===e.unref(T).LARGE&&"p-md",(r.$slots.default||r.$slots.postfix)&&"gap-sm",r.fullWidth&&"w-full",r.disabled&&"pointer-events-none"]]),disabled:r.disabled},[e.renderSlot(r.$slots,"prefix"),e.renderSlot(r.$slots,"default"),e.renderSlot(r.$slots,"postfix")],10,Je))}}),rt=Object.freeze(Object.defineProperty({__proto__:null,EButtonSizes:T,EButtonTypes:h,UiButton:ne,default:ne},Symbol.toStringTag,{value:"Module"}));var L=(t=>(t.DEFAULT="default",t.MINIMAL="minimal",t.COMPACT="compact",t))(L||{}),q=(t=>(t.RESULT_CARD="RESULT_CARD",t.FILTER_MENU="FILTER_MENU",t))(q||{}),M=(t=>(t.DEFAULT="DEFAULT",t.PRIMARY="PRIMARY",t.SECONDARY="SECONDARY",t))(M||{}),O=(t=>(t.DEFAULT="default",t.SMALL="sm",t.MEDIUM="md",t.LARGE="lg",t))(O||{});const ot=e.defineComponent({__name:"ui-icon-wrapper",props:{kind:{default:M.DEFAULT},size:{default:O.DEFAULT}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["icon-wrapper relative grid h-fit w-fit place-items-center rounded-2xl",[r.kind===e.unref(M).PRIMARY&&"bg-primary text-white",r.kind===e.unref(M).SECONDARY&&"bg-secondary-alt-200 text-black",r.kind===e.unref(M).DEFAULT&&"border-2 border-primary bg-white text-primary ",r.size===e.unref(O).DEFAULT&&"p-sm",r.size===e.unref(O).SMALL&&"p-xs",r.size===e.unref(O).MEDIUM&&"icon-wrapper_offset-md p-md",r.size===e.unref(O).LARGE&&"icon-wrapper_offset-lg p-lg"]])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2))}}),so="",w=(t,r)=>{const n=t.__vccOpts||t;for(const[l,i]of r)n[l]=i;return n},le=w(ot,[["__scopeId","data-v-91a2ab37"]]),Ve=le,at=Object.freeze(Object.defineProperty({__proto__:null,EIconWrapperSizes:O,EIconWrapperTypes:M,UiIconWrapper:le,default:Ve},Symbol.toStringTag,{value:"Module"}));var V=(t=>(t.PRIMARY="PRIMARY",t.SECONDARY="SECONDARY",t.ERROR="ERROR",t))(V||{}),U=(t=>(t.TEXT="text",t.NUMBER="number",t.TEL="tel",t.PASSWORD="password",t.EMAIL="email",t.DATE="date",t))(U||{}),F=(t=>(t.OFF="off",t.ON="on",t.NAME="name",t.GIVEN_NAME="given-name",t.ADDITIONAL_NAME="additional-name",t.FAMILY_NAME="family-name",t.HONORIFIC_PREFIX="honorific-prefix",t.NICKNAME="nickname",t.EMAIL="email",t.USERNAME="username",t.NEW_PASSWORD="new-password",t.CURRENT_PASSWORD="current-password",t.ORGANIZATION_TITLE="organization-title",t.ORGANIZATION="organization",t.STREET_ADDRESS="street-address",t.SHIPPING="shipping",t.BUILDING="building",t.ADDRESS_LINE1="address-line1",t.ADDRESS_LINE2="address-line2",t.ADDRESS_LINE3="address-line3",t.ADDRESS_LEVEL4="address-level4",t.ADDRESS_LEVEL3="address-level3",t.ADDRESS_LEVEL2="address-level2",t.ADDRESS_LEVEL1="address-level1",t.COUNTRY="country",t.COUNTRY_NAME="country-name",t.POSTAL_CODE="postal-code",t.CC_NAME="cc-name",t.CC_GIVEN_NAME="cc-given-name",t.CC_ADDITIONAL_NAME="cc-additional-name",t.CC_FAMILY_NAME="cc-family-name",t.CC_NUMBER="cc-number",t.CC_EXP="cc-exp",t.CC_EXP_MONTH="cc-exp-month",t.CC_EXP_YEAR="cc-exp-year",t.CC_CSC="cc-csc",t.CC_TYPE="cc-type",t.TRANSACTION_CURRENCY="transaction-currency",t.TRANSACTION_AMOUNT="transaction-amount",t.LANGUAGE="language",t.BIRTHDAY="bday",t.BIRTHDAY_DAY="bday-day",t.BIRTHDAY_MONTH="bday-month",t.BIRTHDAY_YEAR="bday-year",t.SEX="sex",t.TEL="tel",t.TEL_COUNTRY_CODE="tel-country-code",t.TEL_NATIONAL="tel-national",t.TEL_AREA_CODE="tel-area-code",t.TEL_LOCAL="tel-local",t.TEL_EXTENSION="tel-extension",t.IMPP="impp",t.URL="url",t.PHOTO="photo",t.WEBAUTHN="webauthn",t))(F||{});const nt={class:"ui-input"},lt=["autocomplete","name","value","pattern","type","placeholder","maxlength","minlength"],ie=e.defineComponent({__name:"ui-input",props:{placeholder:{default:""},modelValue:{default:""},disabled:{type:Boolean},kind:{default:V.SECONDARY},heading:{default:void 0},subLabel:{default:void 0},type:{default:U.TEXT},pattern:{default:void 0},maxlength:{default:void 0},minlength:{default:void 0},focusHandler:{type:Function,default:()=>{}},autocomplete:{default:void 0},name:{default:void 0}},emits:["update:modelValue"],setup(t){const r=t,n=e.computed(()=>{switch(r.type){case U.PASSWORD:return F.CURRENT_PASSWORD;case U.EMAIL:return F.EMAIL;default:return}});return(l,i)=>(e.openBlock(),e.createElementBlock("div",nt,[e.renderSlot(l.$slots,"header",{},()=>[l.heading?(e.openBlock(),e.createBlock(e.unref(p),{key:0,class:"mb-xs",size:e.unref(c).MD,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.heading),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)]),e.createElementVNode("label",{class:e.normalizeClass(["ui-input__wrapper flex w-full items-center gap-xs rounded-lg border bg-white p-sm",[l.kind===e.unref(V).SECONDARY&&"border-secondary-alt-500 hover:border-secondary-alt-700",l.kind===e.unref(V).PRIMARY&&"border-primary",l.kind===e.unref(V).ERROR&&"border-error",l.disabled&&"border-secondary-alt-300 bg-secondary-alt-200"]])},[e.renderSlot(l.$slots,"prefix-icon"),e.createElementVNode("input",{autocomplete:l.autocomplete||n.value,name:l.name||l.autocomplete||n.value,value:l.modelValue,pattern:l.pattern,class:"w-full border-0 bg-transparent outline-none placeholder:italic placeholder:text-secondary-alt",type:l.type,placeholder:l.placeholder,maxlength:l.maxlength,minlength:l.minlength,onInput:i[0]||(i[0]=o=>{var d;return l.$emit("update:modelValue",(d=o.target)==null?void 0:d.value)}),onFocus:i[1]||(i[1]=o=>l.focusHandler||void 0)},null,40,lt),e.renderSlot(l.$slots,"postfix-icon")],2),e.renderSlot(l.$slots,"subLabel",{},()=>[l.subLabel?(e.openBlock(),e.createBlock(e.unref(p),{key:0,"line-height":"",size:e.unref(c).SM,kind:e.unref(a).SECONDARY_ALT,class:"mt-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.subLabel),1)]),_:1},8,["size","kind"])):e.createCommentVNode("",!0)])]))}}),it=Object.freeze(Object.defineProperty({__proto__:null,EAutocomplete:F,EInputKinds:V,EInputType:U,UiInput:ie,default:ie},Symbol.toStringTag,{value:"Module"}));var G=(t=>(t.DEFAULT="DEFAULT",t.PROGRESS="PROGRESS",t))(G||{}),z=(t=>(t.DEFAULT="DEFAULT",t.COMPACT="COMPACT",t))(z||{}),Y=(t=>(t.SM="SM",t.MD="MD",t))(Y||{});const dt={key:0,class:"ui-list-item__line absolute left-xs top-sm h-full w-xxs -translate-x-2/4 bg-primary-300 group-last:hidden"},de=e.defineComponent({__name:"ui-list-item",props:{icon:{default:void 0},title:{default:""},kind:{default:G.DEFAULT},size:{default:Y.SM},spacing:{default:z.COMPACT},iconClass:{default:""}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["ui-list-item group relative grid grid-flow-col justify-start gap-xs text-secondary",[r.size===e.unref(Y).SM&&"text-sm",r.size===e.unref(Y).MD&&"text-md",r.spacing===e.unref(z).DEFAULT&&"pb-sm",r.spacing===e.unref(z).COMPACT&&"pb-xs"]])},[r.kind===e.unref(G).PROGRESS?(e.openBlock(),e.createElementBlock("div",dt)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"icon",{},()=>[r.icon?(e.openBlock(),e.createBlock(e.unref(C),{key:0,class:e.normalizeClass(["bg-white",r.iconClass]),"icon-name":r.icon,size:e.unref(b).SM},null,8,["class","icon-name","size"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[r.title?(e.openBlock(),e.createBlock(e.unref(p),{key:0,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["weight"])):e.createCommentVNode("",!0),r.$slots.default?(e.openBlock(),e.createBlock(e.unref(p),{key:1,class:e.normalizeClass([r.title&&"mt-xxs"]),weight:e.unref(m).LIGHT},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class","weight"])):e.createCommentVNode("",!0)])],2))}}),st=Object.freeze(Object.defineProperty({__proto__:null,EListItemSize:Y,EListItemSpacing:z,EListItemTypes:G,UiListItem:de,default:de},Symbol.toStringTag,{value:"Module"}));var $=(t=>(t.SM="sm",t.MD="md",t.LG="lg",t.RESPONSIVE="responsive",t))($||{});const ct={key:0,class:"mb-sm mt-md"},pt={key:2,class:"mt-auto w-full"},ft=e.defineComponent({__name:"ui-modal",props:{title:{default:void 0},modalSize:{default:$.SM}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-modal max-height max-width inset-0 z-10 flex w-full flex-col items-center overflow-y-scroll rounded-2xl bg-white p-md shadow-md",[r.modalSize===e.unref($).SM&&"h-fit max-w-[24rem]",r.modalSize===e.unref($).MD&&"h-fit max-w-[32rem]",r.modalSize===e.unref($).LG&&"h-fit max-w-[40rem]",r.modalSize===e.unref($).RESPONSIVE&&"h-full"]])},[r.$slots.icon?(e.openBlock(),e.createElementBlock("div",ct,[e.renderSlot(r.$slots,"icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"title",{},()=>[r.title?(e.openBlock(),e.createBlock(e.unref(p),{key:0,class:"my-md",weight:e.unref(m).BOLD,align:e.unref(g).CENTER,size:e.unref(c).LG},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["weight","align","size"])):e.createCommentVNode("",!0)],!0),r.$slots.default?(e.openBlock(),e.createBlock(e.unref(p),{key:1,is:"div",weight:e.unref(m).REGULAR,align:e.unref(g).CENTER,"line-height":"",class:"mb-md w-full overflow-y-auto text-secondary"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{},void 0,!0)]),_:3},8,["weight","align"])):e.createCommentVNode("",!0),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",pt,[e.renderSlot(r.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}}),fo="",se=w(ft,[["__scopeId","data-v-f3e5c3af"]]),mt=Object.freeze(Object.defineProperty({__proto__:null,EModalSizes:$,UiModal:se,default:se},Symbol.toStringTag,{value:"Module"}));var P=(t=>(t.DEFAULT="default",t.OFFSET_TOP_RIGHT="offset-top-right",t))(P||{});const ce=e.defineComponent({__name:"ui-notification-badge",props:{origin:{default:P.DEFAULT}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["notification-badge absolute h-sm min-w-sm rounded-full border border-white bg-error text-center text-xxs font-bold leading-none text-white",[r.origin===e.unref(P).DEFAULT&&"right-0 top-0",r.origin===e.unref(P).OFFSET_TOP_RIGHT&&"-right-xxs -top-xxs"]])},[e.renderSlot(r.$slots,"default")],2))}}),uo="",ut=Object.freeze(Object.defineProperty({__proto__:null,EBadgeOrigin:P,UiNotificationBadge:ce,default:ce},Symbol.toStringTag,{value:"Module"}));var A=(t=>(t.DEFAULT="default",t.PRIMARY="primary",t.WARNING="warning",t.ERROR="error",t.SECONDARY="secondary",t))(A||{});const pe=e.defineComponent({__name:"ui-snackbar",props:{title:{},kind:{default:A.DEFAULT}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-snackbar flex w-full justify-between rounded-lg p-sm shadow-md",[r.kind===e.unref(A).DEFAULT&&"bg-white",r.kind===e.unref(A).PRIMARY&&"bg-primary text-white",r.kind===e.unref(A).WARNING&&"bg-warning text-white",r.kind===e.unref(A).ERROR&&"bg-error text-white",r.kind===e.unref(A).SECONDARY&&"bg-secondary text-white"]])},[e.renderSlot(r.$slots,"default",{},()=>[e.createVNode(e.unref(p),{size:e.unref(c).SM,"line-height":""},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"titleSlot",{},()=>[e.createTextVNode(e.toDisplayString(r.title),1)])]),_:3},8,["size"]),e.createVNode(e.unref(p),{size:e.unref(c).XS,"line-height":""},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"articleSlot")]),_:3},8,["size"])])],2))}}),bt=Object.freeze(Object.defineProperty({__proto__:null,ESnackbarTypes:A,UiSnackbar:pe,default:pe},Symbol.toStringTag,{value:"Module"}));var j=(t=>(t.DEFAULT="default",t.SECONDARY="secondary",t.SECONDARY_INVERTED="secondary-inverted",t))(j||{});const _t=e.defineComponent({__name:"ui-table",props:{kind:{default:j.SECONDARY_INVERTED}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("table",{class:e.normalizeClass(["ui-table rounded-lg",r.kind===e.unref(j).SECONDARY&&"ui-table__secondary",r.kind===e.unref(j).SECONDARY_INVERTED&&"ui-table__secondary-inverted"])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2))}}),go="",fe=w(_t,[["__scopeId","data-v-fa615ea7"]]),K=e.defineComponent({__name:"ui-table-cell",props:{align:{},weight:{}},setup(t){return(r,n)=>(e.openBlock(),e.createBlock(e.unref(p),{is:"td",size:e.unref(c).SM,align:r.align,weight:r.weight,class:"p-sm"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),r.$slots.subtext?(e.openBlock(),e.createBlock(e.unref(p),{key:0,size:e.unref(c).XXS,weight:e.unref(m).SEMI_BOLD,class:e.normalizeClass(["flex flex-col gap-xxs",r.$slots.default&&"pt-sm"]),kind:e.unref(a).PRIMARY_ALT_700},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"subtext")]),_:3},8,["size","weight","kind","class"])):e.createCommentVNode("",!0)]),_:3},8,["size","align","weight"]))}}),gt=Object.freeze(Object.defineProperty({__proto__:null,UiTableCell:K,default:K},Symbol.toStringTag,{value:"Module"}));var W=(t=>(t.SECONDARY="secondary",t))(W||{});const ht=e.defineComponent({__name:"ui-table-row",props:{kind:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(["ui-table-row text-center",[r.kind===e.unref(W).SECONDARY&&"bg-secondary-alt-200"]])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2))}}),ko="",Q=w(ht,[["__scopeId","data-v-97952db0"]]),kt=Object.freeze(Object.defineProperty({__proto__:null,ERowKind:W,UiTableRow:Q,default:Q},Symbol.toStringTag,{value:"Module"})),yt=Object.freeze(Object.defineProperty({__proto__:null,ERowKind:W,ETableKind:j,ETextAlign:g,ETextWeight:m,UiTable:fe,UiTableCell:K,UiTableRow:Q,default:fe},Symbol.toStringTag,{value:"Module"}));var k=(t=>(t.START="start",t.END="end",t.CENTER="center",t.BETWEEN="between",t.AROUND="around",t.EVENLY="evenly",t))(k||{});const Rt=Object.freeze(Object.defineProperty({__proto__:null,EAlertTypes:N,EAutocomplete:F,EBadgeKind:I,EBadgeOrigin:P,EBadgeSize:x,EBerSize:S,EButtonSizes:T,EButtonTypes:h,EColors:a,EDropdownKinds:D,EIconType:ee,EIconWrapperSizes:O,EIconWrapperTypes:M,EInputKinds:V,EInputType:U,EJustify:k,EListItemSize:Y,EListItemSpacing:z,EListItemTypes:G,EModalSizes:$,ERadioSizes:L,ERowKind:W,ESize:b,ESkeletonKind:q,ESnackbarTypes:A,ETableKind:j,ETextAlign:g,ETextTransform:B,ETextWeight:m,ETypographySizes:c},Symbol.toStringTag,{value:"Module"})),No="",Nt={},wt=(t=>(e.pushScopeId("data-v-e497a16b"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"backdrop-color fixed inset-0 z-0 backdrop-blur-sm transition-all"},null,-1));function St(t,r){return e.openBlock(),e.createElementBlock("div",null,[wt,e.renderSlot(t.$slots,"default",{},void 0,!0)])}const me=w(Nt,[["render",St],["__scopeId","data-v-e497a16b"]]),Ct=Object.freeze(Object.defineProperty({__proto__:null,UiBackdrop:me,default:me},Symbol.toStringTag,{value:"Module"})),At=["disabled"],ue=e.defineComponent({__name:"ui-card-cta",props:{invertOrder:{type:Boolean},disabled:{type:Boolean},iconName:{},title:{},description:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("button",{class:"ui-card-cta group w-full rounded-2xl border border-secondary-alt-500 bg-white p-sm text-left shadow-md outline-0 hover:border-secondary-700 focus:shadow-border-primary active:bg-secondary-alt-200 disabled:pointer-events-none disabled:bg-secondary-alt-200",disabled:r.disabled},[e.createElementVNode("span",{class:e.normalizeClass(["group-disabled:opcity-50 grid w-full items-center gap-sm",{"grid-cols-[auto,1fr]":!r.invertOrder,"grid-cols-[1fr,auto]":r.invertOrder}])},[e.renderSlot(r.$slots,"iconSlot",{},()=>[e.createVNode(e.unref(Ve),null,{default:e.withCtx(()=>[r.iconName?(e.openBlock(),e.createBlock(e.unref(C),{key:0,"icon-name":r.iconName,size:e.unref(b).SM,class:"text-secondary-400"},null,8,["icon-name","size"])):e.createCommentVNode("",!0)]),_:1})]),e.createElementVNode("span",{class:e.normalizeClass(["w-full",r.invertOrder&&"order-first"])},[e.renderSlot(r.$slots,"titleSlot",{},()=>[e.createVNode(e.unref(p),{kind:e.unref(a).SECONDARY_400,class:"mb-xxs","line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["kind"])]),e.renderSlot(r.$slots,"descriptionSlot",{},()=>[e.createVNode(e.unref(p),{kind:e.unref(a).SECONDARY_300,size:e.unref(c).SM,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.description),1)]),_:1},8,["kind","size"])])],2)],2)],8,At))}}),Et=Object.freeze(Object.defineProperty({__proto__:null,UiCardCta:ue,default:ue},Symbol.toStringTag,{value:"Module"})),Dt={class:"ui-card-result"},Tt={class:"relative grid overflow-hidden rounded-2xl border border-secondary-alt-400 bg-white"},Ot={class:"ui-card-result__header m-xs mb-sm grid items-center justify-between gap-xs rounded-lg bg-secondary-alt-200 p-xs"},$t={class:"w-full overflow-hidden bg-white p-sm pt-0"},Bt=e.defineComponent({__name:"ui-card-result",props:{header:{},exclusiveText:{},exclusiveTextBottom:{},exclusiveClickAction:{type:Function},exclusiveBottomClickAction:{type:Function}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",Dt,[r.exclusiveText?(e.openBlock(),e.createElementBlock("div",{key:0,class:"-mb-lg rounded-2xl bg-primary px-sm pb-lg",onClick:n[0]||(n[0]=(...l)=>r.exclusiveClickAction&&r.exclusiveClickAction(...l))},[e.createVNode(e.unref(p),{class:"py-xs","line-height":"",size:e.unref(c).XXS,kind:e.unref(a).WHITE,align:e.unref(g).CENTER,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.exclusiveText),1)]),_:1},8,["size","kind","align","weight"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Tt,[e.createElementVNode("div",Ot,[r.header?(e.openBlock(),e.createBlock(e.unref(p),{key:0,"line-height":"",class:"line-clamp flex-1",size:e.unref(c).SM,weight:e.unref(m).BOLD,kind:e.unref(a).SECONDARY},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.header),1)]),_:1},8,["size","weight","kind"])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"sidebar",{},void 0,!0)]),e.createElementVNode("main",$t,[e.renderSlot(r.$slots,"default",{},void 0,!0)])]),r.exclusiveTextBottom?(e.openBlock(),e.createElementBlock("div",{key:1,class:"-mt-lg rounded-2xl border border-secondary-alt-400 bg-secondary-alt-200 px-sm pt-lg",onClick:n[1]||(n[1]=(...l)=>r.exclusiveBottomClickAction&&r.exclusiveBottomClickAction(...l))},[e.createVNode(e.unref(p),{class:"py-xs",size:e.unref(c).XXS,kind:e.unref(a).SECONDARY,align:e.unref(g).CENTER,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.exclusiveTextBottom),1)]),_:1},8,["size","kind","align"])])):e.createCommentVNode("",!0)]))}}),Ao="",be=w(Bt,[["__scopeId","data-v-99edfa3c"]]),Lt=Object.freeze(Object.defineProperty({__proto__:null,UiCardResult:be,default:be},Symbol.toStringTag,{value:"Module"})),Mt={class:"ui-card-simple rounded-3xl bg-white px-sm py-md shadow-md"},_e=e.defineComponent({__name:"ui-card-simple",setup(t){const r=e.useSlots();return(n,l)=>(e.openBlock(),e.createElementBlock("div",Mt,[e.unref(r).title?(e.openBlock(),e.createBlock(e.unref(p),{key:0,weight:e.unref(m).BOLD,align:e.unref(g).CENTER,class:"pb-md"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"title")]),_:3},8,["weight","align"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),e.unref(r).footerSubtitle?(e.openBlock(),e.createBlock(e.unref(p),{key:1,align:e.unref(g).CENTER},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"footerSubtitle")]),_:3},8,["align"])):e.createCommentVNode("",!0)]))}}),Vt=Object.freeze(Object.defineProperty({__proto__:null,UiCardSimple:_e,default:_e},Symbol.toStringTag,{value:"Module"})),xt=t=>(e.pushScopeId("data-v-1bc5e146"),t=t(),e.popScopeId(),t),It=["value","disabled"],Ut=[xt(()=>e.createElementVNode("svg",{class:"ui-checkbox__icon text-white",width:"16",height:"12",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M1 4.40106L6.60071 10.1135L15.1694 1.71245",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round"})],-1))],zt={key:0,class:"ui-checkbox__slot-wrapper"},Yt=e.defineComponent({__name:"ui-checkbox",props:{modelValue:{type:[Boolean,Array]},justify:{},invertOrder:{type:Boolean},disabled:{type:Boolean},value:{}},emits:["update:modelValue"],setup(t,{emit:r}){const n=e.useSlots(),l=t,i=r,o=e.computed({get(){return l.modelValue},set(d){i("update:modelValue",d)}});return(d,f)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ui-checkbox grid cursor-pointer",[e.unref(n).default&&"items-center gap-sm",(!d.justify||d.justify===e.unref(k).START)&&"justify-start",d.justify===e.unref(k).END&&"justify-end",d.justify===e.unref(k).AROUND&&"justify-around",d.justify===e.unref(k).BETWEEN&&"justify-between",d.justify===e.unref(k).EVENLY&&"justify-evenly",d.justify===e.unref(k).CENTER&&"justify-center",d.disabled&&"ui-checkbox_disabled"]])},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":f[0]||(f[0]=y=>o.value=y),class:"absolute appearance-none",type:"checkbox",value:d.value,disabled:d.disabled},null,8,It),[[e.vModelCheckbox,o.value]]),e.createElementVNode("span",{class:e.normalizeClass(["ui-checkbox_custom relative flex h-md w-md items-center justify-center rounded border border-secondary-alt-500 hover:border-secondary-alt-700",d.invertOrder&&"order-last"])},Ut,2),e.unref(n).default?(e.openBlock(),e.createElementBlock("span",zt,[e.renderSlot(d.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}}),Oo="",ge=w(Yt,[["__scopeId","data-v-1bc5e146"]]),Pt=Object.freeze(Object.defineProperty({__proto__:null,UiCheckbox:ge,default:ge},Symbol.toStringTag,{value:"Module"})),jt=t=>(e.pushScopeId("data-v-5ac339bd"),t=t(),e.popScopeId(),t),Xt={class:"ui-input-range relative box-content h-lg py-xs"},Ft=["min","max","step"],Gt=jt(()=>e.createElementVNode("div",{class:"pointer-events-none absolute left-0 top-1/2 h-xs w-full -translate-y-1/2 rounded bg-secondary-alt"},null,-1)),Wt=e.defineComponent({__name:"ui-input-range",props:{modelValue:{},min:{},max:{},step:{}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(u){l("update:modelValue",u)}});e.watch(()=>[n.min,n.max],()=>{i.value<+n.min?i.value=+n.min:i.value>+n.max&&(i.value=+n.max)});const o=e.ref(),d=e.computed(()=>Math.round((+n.modelValue-+n.min)/(+n.max-+n.min)*100)),f=u=>{if(o.value){const _="clientX",{left:E,width:X}=o.value.getBoundingClientRect(),H="touches"in u?u.touches[0][_]:u[_],Le=Math.min(Math.max((H-E)/X,0),1)||0,Jr=parseFloat(String(n.min))+Le*(+n.max-+n.min),vr=Math.round(Jr/+n.step)*+n.step;return parseFloat(Math.min(vr,+n.max).toFixed(2))}},y=u=>{const _=f(u);_&&(i.value=_)};return(u,_)=>(e.openBlock(),e.createElementBlock("div",Xt,[e.withDirectives(e.createElementVNode("input",{ref_key:"track",ref:o,"onUpdate:modelValue":_[0]||(_[0]=E=>i.value=E),class:"absolute left-0 top-0 h-full w-full cursor-pointer appearance-none bg-transparent",type:"range",min:u.min,max:u.max,step:u.step,onTouchmove:y},null,40,Ft),[[e.vModelText,i.value,void 0,{number:!0}]]),Gt,e.createElementVNode("div",{class:"pointer-events-none absolute left-0 top-1/2 h-xs -translate-y-1/2 rounded bg-primary",style:e.normalizeStyle({width:d.value+"%"})},null,4),e.createElementVNode("div",{class:"ui-input-range__thumb pointer-events-none absolute box-content h-xs w-xs -translate-x-1/2 -translate-y-1/2 rounded-full border-white bg-primary",style:e.normalizeStyle({left:d.value+"%"})},null,4)]))}}),Bo="",he=w(Wt,[["__scopeId","data-v-5ac339bd"]]),Ht=Object.freeze(Object.defineProperty({__proto__:null,UiInputRange:he,default:he},Symbol.toStringTag,{value:"Module"}));var R=(t=>(t.DEFAULT="DEFAULT",t.WARNING="WARNING",t))(R||{});const ke=e.defineComponent({__name:"ui-order-card",props:{iconName:{},kind:{default:R.DEFAULT}},setup(t){const r=t,n=e.computed(()=>{switch(r.kind){case R.WARNING:return a.WARNING_700;default:return a.PRIMARY_700}});return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-order-card relative mt-sm rounded-md pt-md text-center",[l.kind===e.unref(R).DEFAULT&&"bg-primary-300 text-white",l.kind===e.unref(R).WARNING&&"bg-warning-300 text-warning-700"]])},[e.createVNode(e.unref(C),{"icon-name":l.iconName,size:e.unref(b).LG,class:e.normalizeClass(["absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-300",[l.kind===e.unref(R).DEFAULT&&"text-white",l.kind===e.unref(R).WARNING&&"bg-warning-300 text-white"]])},null,8,["icon-name","size","class"]),l.$slots.title?(e.openBlock(),e.createBlock(e.unref(p),{key:0,class:e.normalizeClass(["pt-sm",[l.kind===e.unref(R).DEFAULT&&"text-primary-700",l.kind===e.unref(R).WARNING&&"text-warning-700"]]),kind:n.value,size:e.unref(c).XL,weight:e.unref(m).BOLD},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"title")]),_:3},8,["class","kind","size","weight"])):e.createCommentVNode("",!0),l.$slots.textBody?(e.openBlock(),e.createBlock(e.unref(p),{key:1,class:e.normalizeClass(["mb-sm p-sm",[l.kind===e.unref(R).DEFAULT&&"text-primary-700",l.kind===e.unref(R).WARNING&&"text-warning-700"]]),size:e.unref(c).MD,weight:e.unref(m).REGULAR},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"textBody")]),_:3},8,["class","size","weight"])):e.createCommentVNode("",!0),l.$slots.footer?(e.openBlock(),e.createBlock(e.unref(p),{key:2,class:e.normalizeClass(["rounded-b-lg py-sm text-white",[l.kind===e.unref(R).DEFAULT&&"bg-primary-700",l.kind===e.unref(R).WARNING&&"bg-warning-700"]]),size:e.unref(c).XXS,weight:e.unref(m).REGULAR},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"footer")]),_:3},8,["class","size","weight"])):e.createCommentVNode("",!0)],2))}}),Zt=Object.freeze(Object.defineProperty({__proto__:null,UiOrderCard:ke,default:ke},Symbol.toStringTag,{value:"Module"})),qt=t=>(e.pushScopeId("data-v-3212099e"),t=t(),e.popScopeId(),t),Kt=["id","name","value","disabled"],Qt=[qt(()=>e.createElementVNode("span",{class:"ui-radio__dot absolute left-2/4 top-2/4 block h-xs w-xs rounded-full bg-primary"},null,-1))],Jt=e.defineComponent({__name:"ui-radio",props:{modelValue:{type:[String,Number,Boolean]},name:{type:[String,Number,Boolean]},value:{},justify:{},invertOrder:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=e.useSlots(),l=t,i=r,o=e.computed({get(){return l.modelValue},set(d){i("update:modelValue",d)}});return(d,f)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ui-radio group grid cursor-pointer grid-flow-col",[e.unref(n).default&&"items-center gap-xs",(!d.justify||d.justify===e.unref(k).START)&&"justify-start",d.justify===e.unref(k).END&&"justify-end",d.justify===e.unref(k).AROUND&&"justify-around",d.justify===e.unref(k).BETWEEN&&"justify-between",d.justify===e.unref(k).EVENLY&&"justify-evenly",d.justify===e.unref(k).CENTER&&"justify-center",d.disabled&&"pointer-events-none"]])},[e.withDirectives(e.createElementVNode("input",{id:d.value,"onUpdate:modelValue":f[0]||(f[0]=y=>o.value=y),type:"radio",name:d.name.toString(),value:d.value,disabled:d.disabled,class:"peer absolute appearance-none"},null,8,Kt),[[e.vModelRadio,o.value]]),e.createElementVNode("span",{class:e.normalizeClass(["ui-radio_custom relative block h-md w-md rounded-full border border-secondary-alt bg-white group-hover:border-secondary-alt-700 group-focus:border-secondary-alt-700 peer-checked:border-2 peer-checked:border-primary peer-checked:hover:border-primary-600 peer-focus:shadow-border-primary peer-disabled:border-secondary-alt-400 peer-disabled:bg-secondary-alt-200",d.invertOrder&&"order-last"])},Qt,2),e.renderSlot(d.$slots,"default",{},void 0,!0)],2))}}),xo="",ye=w(Jt,[["__scopeId","data-v-3212099e"]]),xe=ye,vt=Object.freeze(Object.defineProperty({__proto__:null,UiRadio:ye,default:xe},Symbol.toStringTag,{value:"Module"})),er=["for"],tr=["id","value","disabled"],Re=e.defineComponent({__name:"ui-plain-radio",props:{modelValue:{type:[String,Number,Boolean]},header:{},subHeader:{},name:{},value:{type:[String,Number,Boolean]},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("label",{class:"ui-plain-radio relative mb-sm",for:o.name+o.value},[e.withDirectives(e.createElementVNode("input",{id:o.name+o.value,"onUpdate:modelValue":d[0]||(d[0]=f=>i.value=f),value:o.value,name:"ui-plain-radio",type:"radio",disabled:o.disabled,class:"peer absolute appearance-none"},null,8,tr),[[e.vModelRadio,i.value]]),e.createElementVNode("div",{class:e.normalizeClass(["ui-plain-radio__content box-border grid h-full w-full cursor-pointer grid-flow-col items-center justify-start gap-sm rounded-xl border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs",o.disabled&&"pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled"])},[e.createVNode(e.unref(xe),{modelValue:i.value,"onUpdate:modelValue":d[1]||(d[1]=f=>i.value=f),value:o.value.toString(),name:o.name,disabled:o.disabled,class:"pointer-events-none"},null,8,["modelValue","value","name","disabled"]),e.createElementVNode("span",null,[e.renderSlot(o.$slots,"header",{},()=>[e.createVNode(e.unref(p),{size:e.unref(c).SM,kind:e.unref(a).SECONDARY,weight:e.unref(m).SEMI_BOLD,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),_:1},8,["size","kind","weight"])]),e.renderSlot(o.$slots,"subHeader",{},()=>[e.createVNode(e.unref(p),{size:e.unref(c).XS,kind:e.unref(a).SECONDARY_ALT},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.subHeader),1)]),_:1},8,["size","kind"])])])],2)],8,er))}}),rr=Object.freeze(Object.defineProperty({__proto__:null,UiPlainRadio:Re,default:Re},Symbol.toStringTag,{value:"Module"})),or={class:"ui-progress"},ar={class:"relative h-xs w-full overflow-hidden rounded-lg bg-primary-200"},Ne=e.defineComponent({__name:"ui-progress",props:{min:{default:0},max:{default:100},current:{default:0}},setup(t){const r=t,n=e.computed(()=>(r.current-r.min)/(r.max-r.min)*100);return(l,i)=>(e.openBlock(),e.createElementBlock("div",or,[e.createElementVNode("div",ar,[e.createElementVNode("div",{class:"ui-progress__bar-fill absolute left-0 top-0 z-10 h-full rounded-lg bg-primary-alt-700 transition-all duration-300",style:e.normalizeStyle({width:n.value+"%"})},null,4)])]))}}),nr=Object.freeze(Object.defineProperty({__proto__:null,UiProgress:Ne,default:Ne},Symbol.toStringTag,{value:"Module"})),lr={class:"ui-radio-compact relative"},ir=["name","value","disabled"],dr={class:"ui-radio-compact_content box-border grid cursor-pointer items-center justify-items-center rounded-xl border border-secondary-alt-500 bg-white before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs"},we=e.defineComponent({__name:"ui-radio-compact",props:{modelValue:{type:[String,Number,Boolean]},name:{},value:{type:[String,Number,Boolean]},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("label",lr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=f=>i.value=f),type:"radio",name:o.name,value:o.value,class:"group peer absolute appearance-none",disabled:o.disabled},null,8,ir),[[e.vModelRadio,i.value]]),e.createElementVNode("div",dr,[e.createVNode(e.unref(p),{class:"px-md py-sm",size:e.unref(c).MD,"line-height":"",align:e.unref(g).CENTER},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["size","align"])])]))}}),sr=Object.freeze(Object.defineProperty({__proto__:null,UiRadioCompact:we,default:we},Symbol.toStringTag,{value:"Module"})),cr=["name","value","disabled"],pr={key:0},fr={key:1},mr={key:2},Se=e.defineComponent({__name:"ui-radio-fancy",props:{modelValue:{type:[String,Number,Boolean]},name:{},value:{type:[String,Number,Boolean]},iconName:{default:void 0},disabled:{type:Boolean},radioSize:{default:L.DEFAULT}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ui-radio-fancy relative",o.disabled&&"pointer-events-none"])},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=f=>i.value=f),type:"radio",name:o.name,value:o.value,class:"group peer absolute appearance-none",disabled:o.disabled},null,8,cr),[[e.vModelRadio,i.value]]),e.createElementVNode("div",{class:e.normalizeClass(["ui-radio-fancy__content box-border h-full w-full cursor-pointer rounded-xl border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs",[o.disabled&&"pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled",o.radioSize===e.unref(L).MINIMAL&&"flex gap-sm align-middle",o.radioSize===e.unref(L).COMPACT&&"grid cursor-pointer grid-flow-col px-md"]])},[o.radioSize===e.unref(L).DEFAULT&&o.iconName?(e.openBlock(),e.createElementBlock("div",pr,[e.createVNode(e.unref(C),{"icon-name":o.iconName,size:e.unref(b).MD,class:e.normalizeClass(["mb-md peer-checked:text-primary-500",[o.value===o.modelValue&&"text-primary",o.disabled&&"text-secondary-alt-400",o.disabled&&o.value===o.modelValue&&"text-primary-300"]])},null,8,["icon-name","size","class"])])):o.radioSize===e.unref(L).MINIMAL&&o.iconName?(e.openBlock(),e.createElementBlock("div",fr,[e.createVNode(e.unref(C),{"icon-name":o.iconName,size:e.unref(b).MD,class:e.normalizeClass([o.value===o.modelValue&&"text-primary",o.disabled&&"text-secondary-alt-400",o.disabled&&o.value===o.modelValue&&"text-primary-300"])},null,8,["icon-name","size","class"])])):o.radioSize===e.unref(L).COMPACT?(e.openBlock(),e.createElementBlock("div",mr)):e.createCommentVNode("",!0),e.createVNode(e.unref(p),{size:e.unref(c).SM,kind:e.unref(a).SECONDARY,class:"pt-xxs"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["size","kind"])],2)],2))}}),ur=Object.freeze(Object.defineProperty({__proto__:null,UiRadioFancy:Se,default:Se},Symbol.toStringTag,{value:"Module"})),br={class:"ui-result-card-range flex w-full flex-col items-center rounded-3xl border-4 border-secondary-alt-300 bg-secondary-alt-200 p-md text-secondary-500"},Ce=e.defineComponent({__name:"ui-result-card-range",props:{iconName:{},title:{},size:{},description:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",br,[r.iconName?(e.openBlock(),e.createBlock(e.unref(C),{key:0,class:"mb-md",size:e.unref(b).MD,"icon-name":r.iconName},null,8,["size","icon-name"])):e.createCommentVNode("",!0),r.title?(e.openBlock(),e.createBlock(e.unref(p),{key:1,class:"mb-xs",size:e.unref(c).MD,weight:e.unref(m).SEMI_BOLD,align:e.unref(g).CENTER},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["size","weight","align"])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")]))}}),_r=Object.freeze(Object.defineProperty({__proto__:null,UiResultCardRange:Ce,default:Ce},Symbol.toStringTag,{value:"Module"})),gr=["onAnimationend"],hr=[e.createElementVNode("circle",{cx:"50",cy:"50",r:"50"},null,-1)],Ae=e.defineComponent({__name:"ui-ripple",setup(t){const r=e.ref([]),n=e.ref(),l=e.ref(),i=d=>{if(n.value){const f=n.value.getBoundingClientRect();r.value.push({x:d.clientX-f.left,y:d.clientY-f.top,id:Math.random().toString(36).substr(2,9)})}},o=d=>{r.value=r.value.filter(f=>f.id!==d)};return(d,f)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiBtn",ref:n,class:"ui-ripple",onClick:i},[e.renderSlot(d.$slots,"default"),e.createVNode(e.TransitionGroup,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,y=>(e.openBlock(),e.createElementBlock("svg",{ref_for:!0,ref:l.value,key:y.id,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",class:"ripple",style:e.normalizeStyle({top:y.y+"px",left:y.x+"px"}),fill:"currentColor",onAnimationend:u=>o(y.id)},hr,44,gr))),128))]),_:1})],512))}}),Xo="",kr=Object.freeze(Object.defineProperty({__proto__:null,UiRipple:Ae,default:Ae},Symbol.toStringTag,{value:"Module"})),yr={class:"ui-select"},Rr={class:"absolute right-sm top-1/2 -translate-y-1/2"},Nr=e.createElementVNode("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M13.25 6.8125L8.5 11.2812C8.34375 11.4375 8.15625 11.5 8 11.5C7.8125 11.5 7.625 11.4375 7.46875 11.3125L2.71875 6.8125C2.40625 6.53125 2.40625 6.0625 2.6875 5.75C2.96875 5.4375 3.4375 5.4375 3.75 5.71875L8 9.71875L12.2188 5.71875C12.5312 5.4375 13 5.4375 13.2812 5.75C13.5625 6.0625 13.5625 6.53125 13.25 6.8125Z",fill:"currentColor"})],-1),Ee=e.defineComponent({__name:"ui-select",props:{modelValue:{},heading:{},subLabel:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("div",yr,[e.renderSlot(o.$slots,"heading",{},()=>[o.heading?(e.openBlock(),e.createBlock(e.unref(p),{key:0,class:"mb-xs",size:e.unref(c).MD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.heading),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["relative rounded-lg border border-secondary-alt-500 bg-white hover:border-secondary-alt-700",[o.disabled&&"pointer-events-none border-secondary-alt-300 bg-secondary-alt-200"]])},[e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":d[0]||(d[0]=f=>i.value=f),class:"m-0 w-full cursor-pointer appearance-none border-0 bg-transparent p-sm italic text-secondary-alt outline-0"},[e.renderSlot(o.$slots,"default")],512),[[e.vModelSelect,i.value]]),e.createElementVNode("div",Rr,[e.renderSlot(o.$slots,"postfix-icon",{},()=>[Nr])])],2),e.renderSlot(o.$slots,"subLabel",{},()=>[o.subLabel?(e.openBlock(),e.createBlock(e.unref(p),{key:0,size:e.unref(c).SM,kind:e.unref(a).SECONDARY_ALT,class:"mt-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.subLabel),1)]),_:1},8,["size","kind"])):e.createCommentVNode("",!0)])]))}}),wr=Object.freeze(Object.defineProperty({__proto__:null,UiSelect:Ee,default:Ee},Symbol.toStringTag,{value:"Module"})),Sr={key:0,class:"ui-skeleton-card animate-pulse rounded-2xl border-2 border-secondary-alt-300 p-xs"},Cr=e.createStaticVNode('<div class="ui-skeleton-card__header flex items-center justify-between rounded-lg bg-secondary-alt-200 p-xs"><div class="flex w-full flex-col items-start"><div class="ui-skeleton-card__content__text my-xs h-md w-full rounded-md bg-secondary-alt-300"></div><div class="ui-skeleton-card__content__text h-md w-5/6 rounded-md bg-secondary-alt-300"></div></div><div class="ui-skeleton-card__header__image my-xxs ml-sm h-xl w-xxl rounded-xl bg-secondary-alt-300"></div></div>',1),Ar={class:"ui-skeleton-card__content flex flex-col items-start justify-start rounded-lg pt-sm"},Er=e.createElementVNode("div",{class:"ui-skeleton-card__footer flex flex-row justify-between"},[e.createElementVNode("div",{class:"ui-skeleton-card__footer__text h-md w-1/4 self-end rounded-lg bg-secondary-alt-300"}),e.createElementVNode("div",{class:"ui-skeleton-card__footer__text h-lg w-1/4 rounded-lg bg-secondary-alt-300"})],-1),Dr=e.createElementVNode("div",{class:"ui-skeleton-card__button mt-xs flex h-md w-full items-center justify-center rounded-lg bg-secondary-alt-300 py-md"},null,-1),Tr={key:1,class:"ui-skeleton-menu mb-sm flex animate-pulse flex-row items-center justify-between"},Or=e.createElementVNode("div",{class:"ui-skeleton-menu__result-count h-sm w-full max-w-xxl rounded-md bg-secondary-alt-300"},null,-1),$r={class:"ui-skeleton-menu__filters relative flex h-lg w-xxl flex-row gap-x-sm"},De=e.defineComponent({__name:"ui-skeleton",props:{kind:{default:q.RESULT_CARD}},setup(t){const r=t;return(n,l)=>r.kind===e.unref(q).RESULT_CARD?(e.openBlock(),e.createElementBlock("div",Sr,[Cr,e.createElementVNode("div",Ar,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["w-1/2","w-1/3","w-2/3","w-3/4"],i=>e.createElementVNode("div",{key:i,class:e.normalizeClass([`${i}`,"ui-skeleton-card__content__text mb-xs h-md rounded-md bg-secondary-alt-300"])},null,2)),64))]),Er,Dr])):(e.openBlock(),e.createElementBlock("div",Tr,[Or,e.createElementVNode("div",$r,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,i=>e.createElementVNode("div",{key:i,class:"ui-skeleton-menu__filters__item relative w-xl rounded-md bg-secondary-alt-300"})),64))])]))}}),Br=Object.freeze(Object.defineProperty({__proto__:null,UiSkeleton:De,default:De},Symbol.toStringTag,{value:"Module"})),Lr={class:"ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200"},Mr={class:"block cursor-pointer px-md py-xs"},Vr=["value","name"],xr=e.defineComponent({__name:"ui-tabs",props:{tabs:{},modelValue:{},name:{default:"default"}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("ul",Lr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,f=>(e.openBlock(),e.createElementBlock("li",{key:f,class:e.normalizeClass(["rounded-full text-center",[i.value===f&&"bg-white"]])},[e.createElementVNode("label",Mr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=y=>i.value=y),type:"radio",class:"absolute appearance-none",value:f,name:o.name},null,8,Vr),[[e.vModelRadio,i.value]]),e.createVNode(e.unref(p),{is:"span",size:e.unref(c).XS,kind:i.value===f?e.unref(a).SECONDARY_500:e.unref(a).SECONDARY_400,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f),1)]),_:2},1032,["size","kind","weight"])])],2))),128))]))}}),Ho="",Te=w(xr,[["__scopeId","data-v-bab25249"]]),Ir=Object.freeze(Object.defineProperty({__proto__:null,UiTabs:Te,default:Te},Symbol.toStringTag,{value:"Module"})),Ie=t=>(e.pushScopeId("data-v-80cfec4a"),t=t(),e.popScopeId(),t),Ur={class:"ui-toggle"},zr={class:"ui-input__input-wrapper relative block h-md"},Yr=["value"],Pr=Ie(()=>e.createElementVNode("span",{class:"ui-toggle__bg-block block h-md w-lg rounded-full bg-secondary-alt"},null,-1)),jr={class:"ui-toggle__dot absolute top-0 block rounded-full bg-white"},Xr=[Ie(()=>e.createElementVNode("path",{d:"M1 4.40106L6.60071 10.1135L15.1694 1.71245",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round"},null,-1))],Fr=e.defineComponent({__name:"ui-toggle",props:{header:{},title:{},modelValue:{type:[Boolean,Array]},disabled:{type:Boolean},invertOrder:{type:Boolean},alignCenter:{type:Boolean},value:{}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("div",Ur,[e.renderSlot(o.$slots,"header",{},()=>[o.header||o.$slots.header?(e.openBlock(),e.createBlock(e.unref(p),{key:0,"line-height":"",class:"mb-sm",weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),_:1},8,["weight"])):e.createCommentVNode("",!0)],!0),e.createElementVNode("label",{class:e.normalizeClass(["flex cursor-pointer gap-sm rounded-full",[o.disabled&&"ui-toggle_disabled pointer-events-none",o.invertOrder&&"flex-row-reverse",o.alignCenter&&"items-center"]])},[e.createElementVNode("span",zr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=f=>i.value=f),type:"checkbox",class:"absolute h-0 w-0 appearance-none border-0",value:o.value},null,8,Yr),[[e.vModelCheckbox,i.value]]),Pr,e.createElementVNode("span",jr,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["ui-toggle__check-icon absolute",o.disabled?"text-primary-300":"text-primary"]),width:"16",height:"12",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Xr,2))])]),e.renderSlot(o.$slots,"title",{},()=>[o.title||o.$slots.title?(e.openBlock(),e.createBlock(e.unref(p),{key:0,size:e.unref(c).MD,class:"w-full","line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)],!0)],2)]))}}),Ko="",Oe=w(Fr,[["__scopeId","data-v-80cfec4a"]]),Gr=Object.freeze(Object.defineProperty({__proto__:null,UiToggle:Oe,default:Oe},Symbol.toStringTag,{value:"Module"})),Wr=t=>(e.pushScopeId("data-v-c13dfde7"),t=t(),e.popScopeId(),t),Hr={class:"inputs grid"},Zr=["type","onInput"],qr=Wr(()=>e.createElementVNode("div",{class:"bottom-wrapper"},null,-1)),Kr=e.defineComponent({__name:"ui-verification-input",props:{inputsCount:{},type:{}},emits:["onFiled"],setup(t,{emit:r}){const n=t,l=r,i=e.ref([]),o=()=>{const u=i.value.map(_=>_==null?void 0:_.value).join("");l("onFiled",u)},d=(u,_)=>{var E;_<n.inputsCount&&((E=i.value[_+1])==null||E.focus()),_===n.inputsCount-1&&o()},f=u=>{u.target&&u.target.select()},y=u=>{var E,X;u.preventDefault();const _=(E=u.clipboardData)==null?void 0:E.getData("text");_&&_.length===n.inputsCount&&((X=i.value[n.inputsCount-1])==null||X.focus(),i.value.forEach((H,Le)=>{H&&(H.value=_[Le])}),o())};return(u,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Hr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.inputsCount,(E,X)=>(e.openBlock(),e.createElementBlock("div",{key:X,class:"input-wrapper"},[e.createElementVNode("input",{ref_for:!0,ref_key:"inputsRefs",ref:i,type:u.type||"text",maxlength:"1",placeholder:"•",onInput:H=>d(H,X),onFocus:f,onPaste:y},null,40,Zr),qr]))),128))]),e.renderSlot(u.$slots,"button",{},void 0,!0)],64))}}),Jo="",$e=w(Kr,[["__scopeId","data-v-c13dfde7"]]),Be={UiAlert:je,UiBackdrop:Ct,UiBadge:Ge,UiBerRank:Qe,UiButton:rt,UiCardCta:Et,UiCardResult:Lt,UiCardSimple:Vt,UiCheckbox:Pt,UiDropdown:Pe,UiIcon:ze,UiIconWrapper:at,UiInput:it,UiInputRange:Ht,UiListItem:st,UiModal:mt,UiNotificationBadge:ut,UiOrderCard:Zt,UiPlainRadio:rr,UiProgress:nr,UiRadio:vt,UiRadioCompact:sr,UiRadioFancy:ur,UiResultCardRange:_r,UiRipple:kr,UiSelect:wr,UiSkeleton:Br,UiSnackbar:bt,UiTable:yt,UiTableCell:gt,UiTableRow:kt,UiTabs:Ir,UiToggle:Gr,UiTypography:Ue,UiVerificationInput:Object.freeze(Object.defineProperty({__proto__:null,UiVerificationInput:$e,default:$e},Symbol.toStringTag,{value:"Module"})),types:Rt},Qr={install(t){Object.keys(Be).forEach(r=>{t.component(Be[r].name,Be[r])})}};s.EAlertTypes=N,s.EAutocomplete=F,s.EBadgeKind=I,s.EBadgeOrigin=P,s.EBadgeSize=x,s.EBerSize=S,s.EButtonSizes=T,s.EButtonTypes=h,s.EColors=a,s.EDropdownKinds=D,s.EIconWrapperSizes=O,s.EIconWrapperTypes=M,s.EInputKinds=V,s.EInputType=U,s.EListItemSize=Y,s.EListItemSpacing=z,s.EListItemTypes=G,s.EModalSizes=$,s.ERowKind=W,s.ESize=b,s.ESnackbarTypes=A,s.ETableKind=j,s.ETextAlign=g,s.ETextTransform=B,s.ETextWeight=m,s.ETypographySizes=c,s.UiAlert=re,s.UiBackdrop=me,s.UiBadge=oe,s.UiBerRank=ae,s.UiButton=ne,s.UiCardCta=ue,s.UiCardResult=be,s.UiCardSimple=_e,s.UiCheckbox=ge,s.UiDropdown=te,s.UiIcon=v,s.UiIconWrapper=le,s.UiInput=ie,s.UiInputRange=he,s.UiListItem=de,s.UiModal=se,s.UiNotificationBadge=ce,s.UiOrderCard=ke,s.UiPlainRadio=Re,s.UiProgress=Ne,s.UiRadio=ye,s.UiRadioCompact=we,s.UiRadioFancy=Se,s.UiResultCardRange=Ce,s.UiRipple=Ae,s.UiSelect=Ee,s.UiSkeleton=De,s.UiSnackbar=pe,s.UiTable=fe,s.UiTableCell=K,s.UiTableRow=Q,s.UiTabs=Te,s.UiToggle=Oe,s.UiTypography=J,s.UiVerificationInput=$e,s.default=Qr,Object.defineProperties(s,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
10
|
+
active:text-white disabled:border-error-300 disabled:text-error-300`,r.kind===e.unref(_).LINK&&`hover:text-accent-alt-600 active:text-accent-alt-700
|
|
11
|
+
disabled:text-accent-alt-300 text-accent-alt`,(!r.size||r.size===e.unref(T).DEFAULT)&&"px-md py-sm",r.size===e.unref(T).SMALL&&"px-md py-xs",r.size===e.unref(T).MEDIUM&&"p-sm",r.size===e.unref(T).LARGE&&"p-md",(r.$slots.default||r.$slots.postfix)&&"gap-sm",r.fullWidth&&"w-full",r.disabled&&"pointer-events-none"]]),disabled:r.disabled},[e.renderSlot(r.$slots,"prefix"),e.renderSlot(r.$slots,"default"),e.renderSlot(r.$slots,"postfix")],10,Je))}}),rt=Object.freeze(Object.defineProperty({__proto__:null,EButtonSizes:T,EButtonTypes:_,UiButton:ne,default:ne},Symbol.toStringTag,{value:"Module"}));var M=(t=>(t.DEFAULT="default",t.MINIMAL="minimal",t.COMPACT="compact",t))(M||{}),q=(t=>(t.RESULT_CARD="RESULT_CARD",t.FILTER_MENU="FILTER_MENU",t))(q||{}),B=(t=>(t.DEFAULT="DEFAULT",t.PRIMARY="PRIMARY",t.SECONDARY="SECONDARY",t))(B||{}),$=(t=>(t.DEFAULT="default",t.SMALL="sm",t.MEDIUM="md",t.LARGE="lg",t))($||{});const ot=e.defineComponent({__name:"ui-icon-wrapper",props:{kind:{default:B.DEFAULT},size:{default:$.DEFAULT}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["icon-wrapper relative grid h-fit w-fit place-items-center rounded-2xl",[r.kind===e.unref(B).PRIMARY&&"bg-primary text-white",r.kind===e.unref(B).SECONDARY&&"bg-secondary-alt-200 text-black",r.kind===e.unref(B).DEFAULT&&"border-2 border-primary bg-white text-primary ",r.size===e.unref($).DEFAULT&&"p-sm",r.size===e.unref($).SMALL&&"p-xs",r.size===e.unref($).MEDIUM&&"icon-wrapper_offset-md p-md",r.size===e.unref($).LARGE&&"icon-wrapper_offset-lg p-lg"]])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2))}}),w=(t,r)=>{const n=t.__vccOpts||t;for(const[l,i]of r)n[l]=i;return n},le=w(ot,[["__scopeId","data-v-91a2ab37"]]),Ve=le,at=Object.freeze(Object.defineProperty({__proto__:null,EIconWrapperSizes:$,EIconWrapperTypes:B,UiIconWrapper:le,default:Ve},Symbol.toStringTag,{value:"Module"}));var V=(t=>(t.PRIMARY="PRIMARY",t.SECONDARY="SECONDARY",t.ERROR="ERROR",t))(V||{}),z=(t=>(t.TEXT="text",t.NUMBER="number",t.TEL="tel",t.PASSWORD="password",t.EMAIL="email",t.DATE="date",t))(z||{}),F=(t=>(t.OFF="off",t.ON="on",t.NAME="name",t.GIVEN_NAME="given-name",t.ADDITIONAL_NAME="additional-name",t.FAMILY_NAME="family-name",t.HONORIFIC_PREFIX="honorific-prefix",t.NICKNAME="nickname",t.EMAIL="email",t.USERNAME="username",t.NEW_PASSWORD="new-password",t.CURRENT_PASSWORD="current-password",t.ORGANIZATION_TITLE="organization-title",t.ORGANIZATION="organization",t.STREET_ADDRESS="street-address",t.SHIPPING="shipping",t.BUILDING="building",t.ADDRESS_LINE1="address-line1",t.ADDRESS_LINE2="address-line2",t.ADDRESS_LINE3="address-line3",t.ADDRESS_LEVEL4="address-level4",t.ADDRESS_LEVEL3="address-level3",t.ADDRESS_LEVEL2="address-level2",t.ADDRESS_LEVEL1="address-level1",t.COUNTRY="country",t.COUNTRY_NAME="country-name",t.POSTAL_CODE="postal-code",t.CC_NAME="cc-name",t.CC_GIVEN_NAME="cc-given-name",t.CC_ADDITIONAL_NAME="cc-additional-name",t.CC_FAMILY_NAME="cc-family-name",t.CC_NUMBER="cc-number",t.CC_EXP="cc-exp",t.CC_EXP_MONTH="cc-exp-month",t.CC_EXP_YEAR="cc-exp-year",t.CC_CSC="cc-csc",t.CC_TYPE="cc-type",t.TRANSACTION_CURRENCY="transaction-currency",t.TRANSACTION_AMOUNT="transaction-amount",t.LANGUAGE="language",t.BIRTHDAY="bday",t.BIRTHDAY_DAY="bday-day",t.BIRTHDAY_MONTH="bday-month",t.BIRTHDAY_YEAR="bday-year",t.SEX="sex",t.TEL="tel",t.TEL_COUNTRY_CODE="tel-country-code",t.TEL_NATIONAL="tel-national",t.TEL_AREA_CODE="tel-area-code",t.TEL_LOCAL="tel-local",t.TEL_EXTENSION="tel-extension",t.IMPP="impp",t.URL="url",t.PHOTO="photo",t.WEBAUTHN="webauthn",t))(F||{});const nt={class:"ui-input"},lt=["autocomplete","name","value","pattern","type","placeholder","maxlength","minlength"],ie=e.defineComponent({__name:"ui-input",props:{placeholder:{default:""},modelValue:{default:""},disabled:{type:Boolean},kind:{default:V.SECONDARY},heading:{default:void 0},subLabel:{default:void 0},type:{default:z.TEXT},pattern:{default:void 0},maxlength:{default:void 0},minlength:{default:void 0},focusHandler:{type:Function,default:()=>{}},autocomplete:{default:void 0},name:{default:void 0}},emits:["update:modelValue"],setup(t){const r=t,n=e.computed(()=>{switch(r.type){case z.PASSWORD:return F.CURRENT_PASSWORD;case z.EMAIL:return F.EMAIL;default:return}});return(l,i)=>(e.openBlock(),e.createElementBlock("div",nt,[e.renderSlot(l.$slots,"header",{},()=>[l.heading?(e.openBlock(),e.createBlock(e.unref(f),{key:0,class:"mb-xs",size:e.unref(c).MD,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.heading),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)]),e.createElementVNode("label",{class:e.normalizeClass(["ui-input__wrapper flex w-full items-center gap-xs rounded-lg border bg-white p-sm",[l.kind===e.unref(V).SECONDARY&&"border-secondary-alt-500 hover:border-secondary-alt-700",l.kind===e.unref(V).PRIMARY&&"border-primary",l.kind===e.unref(V).ERROR&&"border-error",l.disabled&&"border-secondary-alt-300 bg-secondary-alt-200"]])},[e.renderSlot(l.$slots,"prefix-icon"),e.createElementVNode("input",{autocomplete:l.autocomplete||n.value,name:l.name||l.autocomplete||n.value,value:l.modelValue,pattern:l.pattern,class:"w-full border-0 bg-transparent outline-none placeholder:italic placeholder:text-secondary-alt",type:l.type,placeholder:l.placeholder,maxlength:l.maxlength,minlength:l.minlength,onInput:i[0]||(i[0]=o=>{var d;return l.$emit("update:modelValue",(d=o.target)==null?void 0:d.value)}),onFocus:i[1]||(i[1]=o=>l.focusHandler||void 0)},null,40,lt),e.renderSlot(l.$slots,"postfix-icon")],2),e.renderSlot(l.$slots,"subLabel",{},()=>[l.subLabel?(e.openBlock(),e.createBlock(e.unref(f),{key:0,"line-height":"",size:e.unref(c).SM,kind:e.unref(a).SECONDARY_ALT,class:"mt-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.subLabel),1)]),_:1},8,["size","kind"])):e.createCommentVNode("",!0)])]))}}),it=Object.freeze(Object.defineProperty({__proto__:null,EAutocomplete:F,EInputKinds:V,EInputType:z,UiInput:ie,default:ie},Symbol.toStringTag,{value:"Module"}));var G=(t=>(t.DEFAULT="DEFAULT",t.PROGRESS="PROGRESS",t))(G||{}),x=(t=>(t.DEFAULT="DEFAULT",t.COMPACT="COMPACT",t))(x||{}),Y=(t=>(t.SM="SM",t.MD="MD",t))(Y||{});const dt={key:0,class:"ui-list-item__line absolute left-xs top-sm h-full w-xxs -translate-x-2/4 bg-primary-300 group-last:hidden"},de=e.defineComponent({__name:"ui-list-item",props:{icon:{default:void 0},title:{default:""},kind:{default:G.DEFAULT},size:{default:Y.SM},spacing:{default:x.COMPACT},iconClass:{default:""}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["ui-list-item group relative grid grid-flow-col justify-start gap-xs text-secondary",[r.size===e.unref(Y).SM&&"text-sm",r.size===e.unref(Y).MD&&"text-md",r.spacing===e.unref(x).DEFAULT&&"pb-sm",r.spacing===e.unref(x).COMPACT&&"pb-xs"]])},[r.kind===e.unref(G).PROGRESS?(e.openBlock(),e.createElementBlock("div",dt)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"icon",{},()=>[r.icon?(e.openBlock(),e.createBlock(e.unref(C),{key:0,class:e.normalizeClass(["bg-white",r.iconClass]),"icon-name":r.icon,size:e.unref(b).SM},null,8,["class","icon-name","size"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[r.title?(e.openBlock(),e.createBlock(e.unref(f),{key:0,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["weight"])):e.createCommentVNode("",!0),r.$slots.default?(e.openBlock(),e.createBlock(e.unref(f),{key:1,class:e.normalizeClass([r.title&&"mt-xxs"]),weight:e.unref(m).LIGHT},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class","weight"])):e.createCommentVNode("",!0)])],2))}}),st=Object.freeze(Object.defineProperty({__proto__:null,EListItemSize:Y,EListItemSpacing:x,EListItemTypes:G,UiListItem:de,default:de},Symbol.toStringTag,{value:"Module"}));var O=(t=>(t.SM="sm",t.MD="md",t.LG="lg",t.RESPONSIVE="responsive",t))(O||{});const ct={key:0,class:"mb-sm mt-md"},ft={key:2,class:"mt-auto w-full"},pt=e.defineComponent({__name:"ui-modal",props:{title:{default:void 0},modalSize:{default:O.SM}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-modal max-height max-width inset-0 z-10 flex w-full flex-col items-center overflow-y-scroll rounded-2xl bg-white p-md shadow-md",[r.modalSize===e.unref(O).SM&&"h-fit max-w-[24rem]",r.modalSize===e.unref(O).MD&&"h-fit max-w-[32rem]",r.modalSize===e.unref(O).LG&&"h-fit max-w-[40rem]",r.modalSize===e.unref(O).RESPONSIVE&&"h-full"]])},[r.$slots.icon?(e.openBlock(),e.createElementBlock("div",ct,[e.renderSlot(r.$slots,"icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"title",{},()=>[r.title?(e.openBlock(),e.createBlock(e.unref(f),{key:0,class:"my-md",weight:e.unref(m).BOLD,align:e.unref(h).CENTER,size:e.unref(c).LG},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["weight","align","size"])):e.createCommentVNode("",!0)],!0),r.$slots.default?(e.openBlock(),e.createBlock(e.unref(f),{key:1,is:"div",weight:e.unref(m).REGULAR,align:e.unref(h).CENTER,"line-height":"",class:"mb-md w-full overflow-y-auto text-secondary"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{},void 0,!0)]),_:3},8,["weight","align"])):e.createCommentVNode("",!0),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",ft,[e.renderSlot(r.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}}),se=w(pt,[["__scopeId","data-v-f3e5c3af"]]),mt=Object.freeze(Object.defineProperty({__proto__:null,EModalSizes:O,UiModal:se,default:se},Symbol.toStringTag,{value:"Module"}));var P=(t=>(t.DEFAULT="default",t.OFFSET_TOP_RIGHT="offset-top-right",t))(P||{});const ce=e.defineComponent({__name:"ui-notification-badge",props:{origin:{default:P.DEFAULT}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["notification-badge absolute h-sm min-w-sm rounded-full border border-white bg-error text-center text-xxs font-bold leading-none text-white",[r.origin===e.unref(P).DEFAULT&&"right-0 top-0",r.origin===e.unref(P).OFFSET_TOP_RIGHT&&"-right-xxs -top-xxs"]])},[e.renderSlot(r.$slots,"default")],2))}}),ut=Object.freeze(Object.defineProperty({__proto__:null,EBadgeOrigin:P,UiNotificationBadge:ce,default:ce},Symbol.toStringTag,{value:"Module"}));var A=(t=>(t.DEFAULT="default",t.PRIMARY="primary",t.WARNING="warning",t.ERROR="error",t.SECONDARY="secondary",t))(A||{});const fe=e.defineComponent({__name:"ui-snackbar",props:{title:{},kind:{default:A.DEFAULT}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-snackbar flex w-full justify-between rounded-lg p-sm shadow-md",[r.kind===e.unref(A).DEFAULT&&"bg-white",r.kind===e.unref(A).PRIMARY&&"bg-primary text-white",r.kind===e.unref(A).WARNING&&"bg-warning text-white",r.kind===e.unref(A).ERROR&&"bg-error text-white",r.kind===e.unref(A).SECONDARY&&"bg-secondary text-white"]])},[e.renderSlot(r.$slots,"default",{},()=>[e.createVNode(e.unref(f),{size:e.unref(c).SM,"line-height":""},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"titleSlot",{},()=>[e.createTextVNode(e.toDisplayString(r.title),1)])]),_:3},8,["size"]),e.createVNode(e.unref(f),{size:e.unref(c).XS,"line-height":""},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"articleSlot")]),_:3},8,["size"])])],2))}}),bt=Object.freeze(Object.defineProperty({__proto__:null,ESnackbarTypes:A,UiSnackbar:fe,default:fe},Symbol.toStringTag,{value:"Module"}));var j=(t=>(t.DEFAULT="default",t.SECONDARY="secondary",t.SECONDARY_INVERTED="secondary-inverted",t))(j||{});const gt=e.defineComponent({__name:"ui-table",props:{kind:{default:j.SECONDARY_INVERTED}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("table",{class:e.normalizeClass(["ui-table rounded-lg",r.kind===e.unref(j).SECONDARY&&"ui-table__secondary",r.kind===e.unref(j).SECONDARY_INVERTED&&"ui-table__secondary-inverted"])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2))}}),pe=w(gt,[["__scopeId","data-v-fa615ea7"]]),K=e.defineComponent({__name:"ui-table-cell",props:{align:{},weight:{}},setup(t){return(r,n)=>(e.openBlock(),e.createBlock(e.unref(f),{is:"td",size:e.unref(c).SM,align:r.align,weight:r.weight,class:"p-sm"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),r.$slots.subtext?(e.openBlock(),e.createBlock(e.unref(f),{key:0,size:e.unref(c).XXS,weight:e.unref(m).SEMI_BOLD,class:e.normalizeClass(["flex flex-col gap-xxs",r.$slots.default&&"pt-sm"]),kind:e.unref(a).PRIMARY_ALT_700},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"subtext")]),_:3},8,["size","weight","kind","class"])):e.createCommentVNode("",!0)]),_:3},8,["size","align","weight"]))}}),ht=Object.freeze(Object.defineProperty({__proto__:null,UiTableCell:K,default:K},Symbol.toStringTag,{value:"Module"}));var W=(t=>(t.SECONDARY="secondary",t))(W||{});const Q=w(e.defineComponent({__name:"ui-table-row",props:{kind:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(["ui-table-row text-center",[r.kind===e.unref(W).SECONDARY&&"bg-secondary-alt-200"]])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-97952db0"]]),_t=Object.freeze(Object.defineProperty({__proto__:null,ERowKind:W,UiTableRow:Q,default:Q},Symbol.toStringTag,{value:"Module"})),kt=Object.freeze(Object.defineProperty({__proto__:null,ERowKind:W,ETableKind:j,ETextAlign:h,ETextWeight:m,UiTable:pe,UiTableCell:K,UiTableRow:Q,default:pe},Symbol.toStringTag,{value:"Module"}));var k=(t=>(t.START="start",t.END="end",t.CENTER="center",t.BETWEEN="between",t.AROUND="around",t.EVENLY="evenly",t))(k||{});const yt=Object.freeze(Object.defineProperty({__proto__:null,EAlertTypes:N,EAutocomplete:F,EBadgeKind:U,EBadgeOrigin:P,EBadgeSize:I,EBerSize:S,EButtonSizes:T,EButtonTypes:_,EColors:a,EDropdownKinds:D,EIconType:ee,EIconWrapperSizes:$,EIconWrapperTypes:B,EInputKinds:V,EInputType:z,EJustify:k,EListItemSize:Y,EListItemSpacing:x,EListItemTypes:G,EModalSizes:O,ERadioSizes:M,ERowKind:W,ESize:b,ESkeletonKind:q,ESnackbarTypes:A,ETableKind:j,ETextAlign:h,ETextTransform:L,ETextWeight:m,ETypographySizes:c},Symbol.toStringTag,{value:"Module"})),Rt={},Nt=(t=>(e.pushScopeId("data-v-e497a16b"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"backdrop-color fixed inset-0 z-0 backdrop-blur-sm transition-all"},null,-1));function wt(t,r){return e.openBlock(),e.createElementBlock("div",null,[Nt,e.renderSlot(t.$slots,"default",{},void 0,!0)])}const me=w(Rt,[["render",wt],["__scopeId","data-v-e497a16b"]]),St=Object.freeze(Object.defineProperty({__proto__:null,UiBackdrop:me,default:me},Symbol.toStringTag,{value:"Module"})),Ct=["disabled"],ue=e.defineComponent({__name:"ui-card-cta",props:{invertOrder:{type:Boolean},disabled:{type:Boolean},iconName:{},title:{},description:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("button",{class:"ui-card-cta group w-full rounded-2xl border border-secondary-alt-500 bg-white p-sm text-left shadow-md outline-0 hover:border-secondary-700 focus:shadow-border-primary active:bg-secondary-alt-200 disabled:pointer-events-none disabled:bg-secondary-alt-200",disabled:r.disabled},[e.createElementVNode("span",{class:e.normalizeClass(["group-disabled:opcity-50 grid w-full items-center gap-sm",{"grid-cols-[auto,1fr]":!r.invertOrder,"grid-cols-[1fr,auto]":r.invertOrder}])},[e.renderSlot(r.$slots,"iconSlot",{},()=>[e.createVNode(e.unref(Ve),null,{default:e.withCtx(()=>[r.iconName?(e.openBlock(),e.createBlock(e.unref(C),{key:0,"icon-name":r.iconName,size:e.unref(b).SM,class:"text-secondary-400"},null,8,["icon-name","size"])):e.createCommentVNode("",!0)]),_:1})]),e.createElementVNode("span",{class:e.normalizeClass(["w-full",r.invertOrder&&"order-first"])},[e.renderSlot(r.$slots,"titleSlot",{},()=>[e.createVNode(e.unref(f),{kind:e.unref(a).SECONDARY_400,class:"mb-xxs","line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["kind"])]),e.renderSlot(r.$slots,"descriptionSlot",{},()=>[e.createVNode(e.unref(f),{kind:e.unref(a).SECONDARY_300,size:e.unref(c).SM,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.description),1)]),_:1},8,["kind","size"])])],2)],2)],8,Ct))}}),At=Object.freeze(Object.defineProperty({__proto__:null,UiCardCta:ue,default:ue},Symbol.toStringTag,{value:"Module"})),Et={class:"ui-card-result"},Dt={class:"relative grid overflow-hidden rounded-2xl border border-secondary-alt-400 bg-white"},Tt={class:"ui-card-result__header m-xs mb-sm grid items-center justify-between gap-xs rounded-lg bg-secondary-alt-200 p-xs"},$t={class:"w-full overflow-hidden bg-white p-sm pt-0"},be=w(e.defineComponent({__name:"ui-card-result",props:{header:{},exclusiveText:{},exclusiveTextBottom:{},exclusiveClickAction:{type:Function},exclusiveBottomClickAction:{type:Function}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",Et,[r.exclusiveText?(e.openBlock(),e.createElementBlock("div",{key:0,class:"-mb-lg rounded-2xl bg-primary px-sm pb-lg",onClick:n[0]||(n[0]=(...l)=>r.exclusiveClickAction&&r.exclusiveClickAction(...l))},[e.createVNode(e.unref(f),{class:"py-xs","line-height":"",size:e.unref(c).XXS,kind:e.unref(a).WHITE,align:e.unref(h).CENTER,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.exclusiveText),1)]),_:1},8,["size","kind","align","weight"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Dt,[e.createElementVNode("div",Tt,[r.header?(e.openBlock(),e.createBlock(e.unref(f),{key:0,"line-height":"",class:"line-clamp flex-1",size:e.unref(c).SM,weight:e.unref(m).BOLD,kind:e.unref(a).SECONDARY},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.header),1)]),_:1},8,["size","weight","kind"])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"sidebar",{},void 0,!0)]),e.createElementVNode("main",$t,[e.renderSlot(r.$slots,"default",{},void 0,!0)])]),r.exclusiveTextBottom?(e.openBlock(),e.createElementBlock("div",{key:1,class:"-mt-lg rounded-2xl border border-secondary-alt-400 bg-secondary-alt-200 px-sm pt-lg",onClick:n[1]||(n[1]=(...l)=>r.exclusiveBottomClickAction&&r.exclusiveBottomClickAction(...l))},[e.createVNode(e.unref(f),{class:"py-xs",size:e.unref(c).XXS,kind:e.unref(a).SECONDARY,align:e.unref(h).CENTER,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.exclusiveTextBottom),1)]),_:1},8,["size","kind","align"])])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-99edfa3c"]]),Ot=Object.freeze(Object.defineProperty({__proto__:null,UiCardResult:be,default:be},Symbol.toStringTag,{value:"Module"})),Lt={class:"ui-card-simple rounded-3xl bg-white px-sm py-md shadow-md"},ge=e.defineComponent({__name:"ui-card-simple",setup(t){const r=e.useSlots();return(n,l)=>(e.openBlock(),e.createElementBlock("div",Lt,[e.unref(r).title?(e.openBlock(),e.createBlock(e.unref(f),{key:0,weight:e.unref(m).BOLD,align:e.unref(h).CENTER,class:"pb-md"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"title")]),_:3},8,["weight","align"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),e.unref(r).footerSubtitle?(e.openBlock(),e.createBlock(e.unref(f),{key:1,align:e.unref(h).CENTER},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"footerSubtitle")]),_:3},8,["align"])):e.createCommentVNode("",!0)]))}}),Mt=Object.freeze(Object.defineProperty({__proto__:null,UiCardSimple:ge,default:ge},Symbol.toStringTag,{value:"Module"})),Bt=t=>(e.pushScopeId("data-v-1bc5e146"),t=t(),e.popScopeId(),t),Vt=["value","disabled"],It=[Bt(()=>e.createElementVNode("svg",{class:"ui-checkbox__icon text-white",width:"16",height:"12",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M1 4.40106L6.60071 10.1135L15.1694 1.71245",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round"})],-1))],Ut={key:0,class:"ui-checkbox__slot-wrapper"},he=w(e.defineComponent({__name:"ui-checkbox",props:{modelValue:{type:[Boolean,Array]},justify:{},invertOrder:{type:Boolean},disabled:{type:Boolean},value:{}},emits:["update:modelValue"],setup(t,{emit:r}){const n=e.useSlots(),l=t,i=r,o=e.computed({get(){return l.modelValue},set(d){i("update:modelValue",d)}});return(d,p)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ui-checkbox grid cursor-pointer",[e.unref(n).default&&"items-center gap-sm",(!d.justify||d.justify===e.unref(k).START)&&"justify-start",d.justify===e.unref(k).END&&"justify-end",d.justify===e.unref(k).AROUND&&"justify-around",d.justify===e.unref(k).BETWEEN&&"justify-between",d.justify===e.unref(k).EVENLY&&"justify-evenly",d.justify===e.unref(k).CENTER&&"justify-center",d.disabled&&"ui-checkbox_disabled"]])},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=y=>o.value=y),class:"absolute appearance-none",type:"checkbox",value:d.value,disabled:d.disabled},null,8,Vt),[[e.vModelCheckbox,o.value]]),e.createElementVNode("span",{class:e.normalizeClass(["ui-checkbox_custom relative flex h-md w-md items-center justify-center rounded border border-secondary-alt-500 hover:border-secondary-alt-700",d.invertOrder&&"order-last"])},It,2),e.unref(n).default?(e.openBlock(),e.createElementBlock("span",Ut,[e.renderSlot(d.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-1bc5e146"]]),zt=Object.freeze(Object.defineProperty({__proto__:null,UiCheckbox:he,default:he},Symbol.toStringTag,{value:"Module"})),xt=t=>(e.pushScopeId("data-v-5ac339bd"),t=t(),e.popScopeId(),t),Yt={class:"ui-input-range relative box-content h-lg py-xs"},Pt=["min","max","step"],jt=xt(()=>e.createElementVNode("div",{class:"pointer-events-none absolute left-0 top-1/2 h-xs w-full -translate-y-1/2 rounded bg-secondary-alt"},null,-1)),_e=w(e.defineComponent({__name:"ui-input-range",props:{modelValue:{},min:{},max:{},step:{}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(u){l("update:modelValue",u)}});e.watch(()=>[n.min,n.max],()=>{i.value<+n.min?i.value=+n.min:i.value>+n.max&&(i.value=+n.max)});const o=e.ref(),d=e.computed(()=>Math.round((+n.modelValue-+n.min)/(+n.max-+n.min)*100)),p=u=>{if(o.value){const g="clientX",{left:E,width:X}=o.value.getBoundingClientRect(),H="touches"in u?u.touches[0][g]:u[g],Me=Math.min(Math.max((H-E)/X,0),1)||0,Fr=parseFloat(String(n.min))+Me*(+n.max-+n.min),Gr=Math.round(Fr/+n.step)*+n.step;return parseFloat(Math.min(Gr,+n.max).toFixed(2))}},y=u=>{const g=p(u);g&&(i.value=g)};return(u,g)=>(e.openBlock(),e.createElementBlock("div",Yt,[e.withDirectives(e.createElementVNode("input",{ref_key:"track",ref:o,"onUpdate:modelValue":g[0]||(g[0]=E=>i.value=E),class:"absolute left-0 top-0 h-full w-full cursor-pointer appearance-none bg-transparent",type:"range",min:u.min,max:u.max,step:u.step,onTouchmove:y},null,40,Pt),[[e.vModelText,i.value,void 0,{number:!0}]]),jt,e.createElementVNode("div",{class:"pointer-events-none absolute left-0 top-1/2 h-xs -translate-y-1/2 rounded bg-primary",style:e.normalizeStyle({width:d.value+"%"})},null,4),e.createElementVNode("div",{class:"ui-input-range__thumb pointer-events-none absolute box-content h-xs w-xs -translate-x-1/2 -translate-y-1/2 rounded-full border-white bg-primary",style:e.normalizeStyle({left:d.value+"%"})},null,4)]))}}),[["__scopeId","data-v-5ac339bd"]]),Xt=Object.freeze(Object.defineProperty({__proto__:null,UiInputRange:_e,default:_e},Symbol.toStringTag,{value:"Module"}));var R=(t=>(t.DEFAULT="DEFAULT",t.WARNING="WARNING",t))(R||{});const ke=e.defineComponent({__name:"ui-order-card",props:{iconName:{},kind:{default:R.DEFAULT}},setup(t){const r=t,n=e.computed(()=>{switch(r.kind){case R.WARNING:return a.WARNING_700;default:return a.PRIMARY_700}});return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ui-order-card relative mt-sm rounded-md pt-md text-center",[l.kind===e.unref(R).DEFAULT&&"bg-primary-300 text-white",l.kind===e.unref(R).WARNING&&"bg-warning-300 text-warning-700"]])},[e.createVNode(e.unref(C),{"icon-name":l.iconName,size:e.unref(b).LG,class:e.normalizeClass(["absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-300",[l.kind===e.unref(R).DEFAULT&&"text-white",l.kind===e.unref(R).WARNING&&"bg-warning-300 text-white"]])},null,8,["icon-name","size","class"]),l.$slots.title?(e.openBlock(),e.createBlock(e.unref(f),{key:0,class:e.normalizeClass(["pt-sm",[l.kind===e.unref(R).DEFAULT&&"text-primary-700",l.kind===e.unref(R).WARNING&&"text-warning-700"]]),kind:n.value,size:e.unref(c).XL,weight:e.unref(m).BOLD},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"title")]),_:3},8,["class","kind","size","weight"])):e.createCommentVNode("",!0),l.$slots.textBody?(e.openBlock(),e.createBlock(e.unref(f),{key:1,class:e.normalizeClass(["mb-sm p-sm",[l.kind===e.unref(R).DEFAULT&&"text-primary-700",l.kind===e.unref(R).WARNING&&"text-warning-700"]]),size:e.unref(c).MD,weight:e.unref(m).REGULAR},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"textBody")]),_:3},8,["class","size","weight"])):e.createCommentVNode("",!0),l.$slots.footer?(e.openBlock(),e.createBlock(e.unref(f),{key:2,class:e.normalizeClass(["rounded-b-lg py-sm text-white",[l.kind===e.unref(R).DEFAULT&&"bg-primary-700",l.kind===e.unref(R).WARNING&&"bg-warning-700"]]),size:e.unref(c).XXS,weight:e.unref(m).REGULAR},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"footer")]),_:3},8,["class","size","weight"])):e.createCommentVNode("",!0)],2))}}),Ft=Object.freeze(Object.defineProperty({__proto__:null,UiOrderCard:ke,default:ke},Symbol.toStringTag,{value:"Module"})),Gt=t=>(e.pushScopeId("data-v-3212099e"),t=t(),e.popScopeId(),t),Wt=["id","name","value","disabled"],Ht=[Gt(()=>e.createElementVNode("span",{class:"ui-radio__dot absolute left-2/4 top-2/4 block h-xs w-xs rounded-full bg-primary"},null,-1))],ye=w(e.defineComponent({__name:"ui-radio",props:{modelValue:{type:[String,Number,Boolean]},name:{type:[String,Number,Boolean]},value:{},justify:{},invertOrder:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=e.useSlots(),l=t,i=r,o=e.computed({get(){return l.modelValue},set(d){i("update:modelValue",d)}});return(d,p)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ui-radio group grid cursor-pointer grid-flow-col",[e.unref(n).default&&"items-center gap-xs",(!d.justify||d.justify===e.unref(k).START)&&"justify-start",d.justify===e.unref(k).END&&"justify-end",d.justify===e.unref(k).AROUND&&"justify-around",d.justify===e.unref(k).BETWEEN&&"justify-between",d.justify===e.unref(k).EVENLY&&"justify-evenly",d.justify===e.unref(k).CENTER&&"justify-center",d.disabled&&"pointer-events-none"]])},[e.withDirectives(e.createElementVNode("input",{id:d.value,"onUpdate:modelValue":p[0]||(p[0]=y=>o.value=y),type:"radio",name:d.name.toString(),value:d.value,disabled:d.disabled,class:"peer absolute appearance-none"},null,8,Wt),[[e.vModelRadio,o.value]]),e.createElementVNode("span",{class:e.normalizeClass(["ui-radio_custom relative block h-md w-md rounded-full border border-secondary-alt bg-white group-hover:border-secondary-alt-700 group-focus:border-secondary-alt-700 peer-checked:border-2 peer-checked:border-primary peer-checked:hover:border-primary-600 peer-focus:shadow-border-primary peer-disabled:border-secondary-alt-400 peer-disabled:bg-secondary-alt-200",d.invertOrder&&"order-last"])},Ht,2),e.renderSlot(d.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-3212099e"]]),Ie=ye,Zt=Object.freeze(Object.defineProperty({__proto__:null,UiRadio:ye,default:Ie},Symbol.toStringTag,{value:"Module"})),qt=["for"],Kt=["id","value","disabled"],Re=e.defineComponent({__name:"ui-plain-radio",props:{modelValue:{type:[String,Number,Boolean]},header:{},subHeader:{},name:{},value:{type:[String,Number,Boolean]},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("label",{class:"ui-plain-radio relative mb-sm",for:o.name+o.value},[e.withDirectives(e.createElementVNode("input",{id:o.name+o.value,"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),value:o.value,name:"ui-plain-radio",type:"radio",disabled:o.disabled,class:"peer absolute appearance-none"},null,8,Kt),[[e.vModelRadio,i.value]]),e.createElementVNode("div",{class:e.normalizeClass(["ui-plain-radio__content box-border grid h-full w-full cursor-pointer grid-flow-col items-center justify-start gap-sm rounded-xl border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs",o.disabled&&"pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled"])},[e.createVNode(e.unref(Ie),{modelValue:i.value,"onUpdate:modelValue":d[1]||(d[1]=p=>i.value=p),value:o.value.toString(),name:o.name,disabled:o.disabled,class:"pointer-events-none"},null,8,["modelValue","value","name","disabled"]),e.createElementVNode("span",null,[e.renderSlot(o.$slots,"header",{},()=>[e.createVNode(e.unref(f),{size:e.unref(c).SM,kind:e.unref(a).SECONDARY,weight:e.unref(m).SEMI_BOLD,"line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),_:1},8,["size","kind","weight"])]),e.renderSlot(o.$slots,"subHeader",{},()=>[e.createVNode(e.unref(f),{size:e.unref(c).XS,kind:e.unref(a).SECONDARY_ALT},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.subHeader),1)]),_:1},8,["size","kind"])])])],2)],8,qt))}}),Qt=Object.freeze(Object.defineProperty({__proto__:null,UiPlainRadio:Re,default:Re},Symbol.toStringTag,{value:"Module"})),Jt={class:"ui-progress"},vt={class:"relative h-xs w-full overflow-hidden rounded-lg bg-primary-200"},Ne=e.defineComponent({__name:"ui-progress",props:{min:{default:0},max:{default:100},current:{default:0}},setup(t){const r=t,n=e.computed(()=>(r.current-r.min)/(r.max-r.min)*100);return(l,i)=>(e.openBlock(),e.createElementBlock("div",Jt,[e.createElementVNode("div",vt,[e.createElementVNode("div",{class:"ui-progress__bar-fill absolute left-0 top-0 z-10 h-full rounded-lg bg-primary-alt-700 transition-all duration-300",style:e.normalizeStyle({width:n.value+"%"})},null,4)])]))}}),er=Object.freeze(Object.defineProperty({__proto__:null,UiProgress:Ne,default:Ne},Symbol.toStringTag,{value:"Module"})),tr={class:"ui-radio-compact relative"},rr=["name","value","disabled"],or={class:"ui-radio-compact_content box-border grid cursor-pointer items-center justify-items-center rounded-xl border border-secondary-alt-500 bg-white before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs"},we=e.defineComponent({__name:"ui-radio-compact",props:{modelValue:{type:[String,Number,Boolean]},name:{},value:{type:[String,Number,Boolean]},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("label",tr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),type:"radio",name:o.name,value:o.value,class:"group peer absolute appearance-none",disabled:o.disabled},null,8,rr),[[e.vModelRadio,i.value]]),e.createElementVNode("div",or,[e.createVNode(e.unref(f),{class:"px-md py-sm",size:e.unref(c).MD,"line-height":"",align:e.unref(h).CENTER},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["size","align"])])]))}}),ar=Object.freeze(Object.defineProperty({__proto__:null,UiRadioCompact:we,default:we},Symbol.toStringTag,{value:"Module"})),nr=["name","value","disabled"],lr={key:0},ir={key:1},dr={key:2},Se=e.defineComponent({__name:"ui-radio-fancy",props:{modelValue:{type:[String,Number,Boolean]},name:{},value:{type:[String,Number,Boolean]},iconName:{default:void 0},disabled:{type:Boolean},radioSize:{default:M.DEFAULT}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ui-radio-fancy relative",o.disabled&&"pointer-events-none"])},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),type:"radio",name:o.name,value:o.value,class:"group peer absolute appearance-none",disabled:o.disabled},null,8,nr),[[e.vModelRadio,i.value]]),e.createElementVNode("div",{class:e.normalizeClass(["ui-radio-fancy__content box-border h-full w-full cursor-pointer rounded-xl border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs",[o.disabled&&"pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled",o.radioSize===e.unref(M).MINIMAL&&"flex gap-sm align-middle",o.radioSize===e.unref(M).COMPACT&&"grid cursor-pointer grid-flow-col px-md"]])},[o.radioSize===e.unref(M).DEFAULT&&o.iconName?(e.openBlock(),e.createElementBlock("div",lr,[e.createVNode(e.unref(C),{"icon-name":o.iconName,size:e.unref(b).MD,class:e.normalizeClass(["mb-md peer-checked:text-primary-500",[o.value===o.modelValue&&"text-primary",o.disabled&&"text-secondary-alt-400",o.disabled&&o.value===o.modelValue&&"text-primary-300"]])},null,8,["icon-name","size","class"])])):o.radioSize===e.unref(M).MINIMAL&&o.iconName?(e.openBlock(),e.createElementBlock("div",ir,[e.createVNode(e.unref(C),{"icon-name":o.iconName,size:e.unref(b).MD,class:e.normalizeClass([o.value===o.modelValue&&"text-primary",o.disabled&&"text-secondary-alt-400",o.disabled&&o.value===o.modelValue&&"text-primary-300"])},null,8,["icon-name","size","class"])])):o.radioSize===e.unref(M).COMPACT?(e.openBlock(),e.createElementBlock("div",dr)):e.createCommentVNode("",!0),e.createVNode(e.unref(f),{size:e.unref(c).SM,kind:e.unref(a).SECONDARY,class:"pt-xxs"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["size","kind"])],2)],2))}}),sr=Object.freeze(Object.defineProperty({__proto__:null,UiRadioFancy:Se,default:Se},Symbol.toStringTag,{value:"Module"})),cr={class:"ui-result-card-range flex w-full flex-col items-center rounded-3xl border-4 border-secondary-alt-300 bg-secondary-alt-200 p-md text-secondary-500"},Ce=e.defineComponent({__name:"ui-result-card-range",props:{iconName:{},title:{},size:{},description:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",cr,[r.iconName?(e.openBlock(),e.createBlock(e.unref(C),{key:0,class:"mb-md",size:e.unref(b).MD,"icon-name":r.iconName},null,8,["size","icon-name"])):e.createCommentVNode("",!0),r.title?(e.openBlock(),e.createBlock(e.unref(f),{key:1,class:"mb-xs",size:e.unref(c).MD,weight:e.unref(m).SEMI_BOLD,align:e.unref(h).CENTER},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["size","weight","align"])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")]))}}),fr=Object.freeze(Object.defineProperty({__proto__:null,UiResultCardRange:Ce,default:Ce},Symbol.toStringTag,{value:"Module"})),pr=["onAnimationend"],mr=[e.createElementVNode("circle",{cx:"50",cy:"50",r:"50"},null,-1)],Ae=e.defineComponent({__name:"ui-ripple",setup(t){const r=e.ref([]),n=e.ref(),l=e.ref(),i=d=>{if(n.value){const p=n.value.getBoundingClientRect();r.value.push({x:d.clientX-p.left,y:d.clientY-p.top,id:Math.random().toString(36).substr(2,9)})}},o=d=>{r.value=r.value.filter(p=>p.id!==d)};return(d,p)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiBtn",ref:n,class:"ui-ripple",onClick:i},[e.renderSlot(d.$slots,"default"),e.createVNode(e.TransitionGroup,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,y=>(e.openBlock(),e.createElementBlock("svg",{ref_for:!0,ref:l.value,key:y.id,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",class:"ripple",style:e.normalizeStyle({top:y.y+"px",left:y.x+"px"}),fill:"currentColor",onAnimationend:u=>o(y.id)},mr,44,pr))),128))]),_:1})],512))}}),ur=Object.freeze(Object.defineProperty({__proto__:null,UiRipple:Ae,default:Ae},Symbol.toStringTag,{value:"Module"})),br={class:"ui-select"},gr={class:"absolute right-sm top-1/2 -translate-y-1/2"},hr=e.createElementVNode("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M13.25 6.8125L8.5 11.2812C8.34375 11.4375 8.15625 11.5 8 11.5C7.8125 11.5 7.625 11.4375 7.46875 11.3125L2.71875 6.8125C2.40625 6.53125 2.40625 6.0625 2.6875 5.75C2.96875 5.4375 3.4375 5.4375 3.75 5.71875L8 9.71875L12.2188 5.71875C12.5312 5.4375 13 5.4375 13.2812 5.75C13.5625 6.0625 13.5625 6.53125 13.25 6.8125Z",fill:"currentColor"})],-1),Ee=e.defineComponent({__name:"ui-select",props:{modelValue:{},heading:{},subLabel:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("div",br,[e.renderSlot(o.$slots,"heading",{},()=>[o.heading?(e.openBlock(),e.createBlock(e.unref(f),{key:0,class:"mb-xs",size:e.unref(c).MD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.heading),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["relative rounded-lg border border-secondary-alt-500 bg-white hover:border-secondary-alt-700",[o.disabled&&"pointer-events-none border-secondary-alt-300 bg-secondary-alt-200"]])},[e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),class:"m-0 w-full cursor-pointer appearance-none border-0 bg-transparent p-sm italic text-secondary-alt outline-0"},[e.renderSlot(o.$slots,"default")],512),[[e.vModelSelect,i.value]]),e.createElementVNode("div",gr,[e.renderSlot(o.$slots,"postfix-icon",{},()=>[hr])])],2),e.renderSlot(o.$slots,"subLabel",{},()=>[o.subLabel?(e.openBlock(),e.createBlock(e.unref(f),{key:0,size:e.unref(c).SM,kind:e.unref(a).SECONDARY_ALT,class:"mt-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.subLabel),1)]),_:1},8,["size","kind"])):e.createCommentVNode("",!0)])]))}}),_r=Object.freeze(Object.defineProperty({__proto__:null,UiSelect:Ee,default:Ee},Symbol.toStringTag,{value:"Module"})),kr={key:0,class:"ui-skeleton-card animate-pulse rounded-2xl border-2 border-secondary-alt-300 p-xs"},yr=e.createStaticVNode('<div class="ui-skeleton-card__header flex items-center justify-between rounded-lg bg-secondary-alt-200 p-xs"><div class="flex w-full flex-col items-start"><div class="ui-skeleton-card__content__text my-xs h-md w-full rounded-md bg-secondary-alt-300"></div><div class="ui-skeleton-card__content__text h-md w-5/6 rounded-md bg-secondary-alt-300"></div></div><div class="ui-skeleton-card__header__image my-xxs ml-sm h-xl w-xxl rounded-xl bg-secondary-alt-300"></div></div>',1),Rr={class:"ui-skeleton-card__content flex flex-col items-start justify-start rounded-lg pt-sm"},Nr=e.createElementVNode("div",{class:"ui-skeleton-card__footer flex flex-row justify-between"},[e.createElementVNode("div",{class:"ui-skeleton-card__footer__text h-md w-1/4 self-end rounded-lg bg-secondary-alt-300"}),e.createElementVNode("div",{class:"ui-skeleton-card__footer__text h-lg w-1/4 rounded-lg bg-secondary-alt-300"})],-1),wr=e.createElementVNode("div",{class:"ui-skeleton-card__button mt-xs flex h-md w-full items-center justify-center rounded-lg bg-secondary-alt-300 py-md"},null,-1),Sr={key:1,class:"ui-skeleton-menu mb-sm flex animate-pulse flex-row items-center justify-between"},Cr=e.createElementVNode("div",{class:"ui-skeleton-menu__result-count h-sm w-full max-w-xxl rounded-md bg-secondary-alt-300"},null,-1),Ar={class:"ui-skeleton-menu__filters relative flex h-lg w-xxl flex-row gap-x-sm"},De=e.defineComponent({__name:"ui-skeleton",props:{kind:{default:q.RESULT_CARD}},setup(t){const r=t;return(n,l)=>r.kind===e.unref(q).RESULT_CARD?(e.openBlock(),e.createElementBlock("div",kr,[yr,e.createElementVNode("div",Rr,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["w-1/2","w-1/3","w-2/3","w-3/4"],i=>e.createElementVNode("div",{key:i,class:e.normalizeClass([`${i}`,"ui-skeleton-card__content__text mb-xs h-md rounded-md bg-secondary-alt-300"])},null,2)),64))]),Nr,wr])):(e.openBlock(),e.createElementBlock("div",Sr,[Cr,e.createElementVNode("div",Ar,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,i=>e.createElementVNode("div",{key:i,class:"ui-skeleton-menu__filters__item relative w-xl rounded-md bg-secondary-alt-300"})),64))])]))}}),Er=Object.freeze(Object.defineProperty({__proto__:null,UiSkeleton:De,default:De},Symbol.toStringTag,{value:"Module"})),Dr={class:"ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200"},Tr={class:"block cursor-pointer px-md py-xs"},$r=["value","name"],Te=w(e.defineComponent({__name:"ui-tabs",props:{tabs:{},modelValue:{},name:{default:"default"}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("ul",Dr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,p=>(e.openBlock(),e.createElementBlock("li",{key:p,class:e.normalizeClass(["rounded-full text-center",[i.value===p&&"bg-white"]])},[e.createElementVNode("label",Tr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=y=>i.value=y),type:"radio",class:"absolute appearance-none",value:p,name:o.name},null,8,$r),[[e.vModelRadio,i.value]]),e.createVNode(e.unref(f),{is:"span",size:e.unref(c).XS,kind:i.value===p?e.unref(a).SECONDARY_500:e.unref(a).SECONDARY_400,weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p),1)]),_:2},1032,["size","kind","weight"])])],2))),128))]))}}),[["__scopeId","data-v-bab25249"]]),Or=Object.freeze(Object.defineProperty({__proto__:null,UiTabs:Te,default:Te},Symbol.toStringTag,{value:"Module"})),Ue=t=>(e.pushScopeId("data-v-80cfec4a"),t=t(),e.popScopeId(),t),Lr={class:"ui-toggle"},Mr={class:"ui-input__input-wrapper relative block h-md"},Br=["value"],Vr=Ue(()=>e.createElementVNode("span",{class:"ui-toggle__bg-block block h-md w-lg rounded-full bg-secondary-alt"},null,-1)),Ir={class:"ui-toggle__dot absolute top-0 block rounded-full bg-white"},Ur=[Ue(()=>e.createElementVNode("path",{d:"M1 4.40106L6.60071 10.1135L15.1694 1.71245",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round"},null,-1))],$e=w(e.defineComponent({__name:"ui-toggle",props:{header:{},title:{},modelValue:{type:[Boolean,Array]},disabled:{type:Boolean},invertOrder:{type:Boolean},alignCenter:{type:Boolean},value:{}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,l=r,i=e.computed({get(){return n.modelValue},set(o){l("update:modelValue",o)}});return(o,d)=>(e.openBlock(),e.createElementBlock("div",Lr,[e.renderSlot(o.$slots,"header",{},()=>[o.header||o.$slots.header?(e.openBlock(),e.createBlock(e.unref(f),{key:0,"line-height":"",class:"mb-sm",weight:e.unref(m).SEMI_BOLD},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),_:1},8,["weight"])):e.createCommentVNode("",!0)],!0),e.createElementVNode("label",{class:e.normalizeClass(["flex cursor-pointer gap-sm rounded-full",[o.disabled&&"ui-toggle_disabled pointer-events-none",o.invertOrder&&"flex-row-reverse",o.alignCenter&&"items-center"]])},[e.createElementVNode("span",Mr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),type:"checkbox",class:"absolute h-0 w-0 appearance-none border-0",value:o.value},null,8,Br),[[e.vModelCheckbox,i.value]]),Vr,e.createElementVNode("span",Ir,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["ui-toggle__check-icon absolute",o.disabled?"text-primary-300":"text-primary"]),width:"16",height:"12",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ur,2))])]),e.renderSlot(o.$slots,"title",{},()=>[o.title||o.$slots.title?(e.openBlock(),e.createBlock(e.unref(f),{key:0,size:e.unref(c).MD,class:"w-full","line-height":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)],!0)],2)]))}}),[["__scopeId","data-v-80cfec4a"]]),zr=Object.freeze(Object.defineProperty({__proto__:null,UiToggle:$e,default:$e},Symbol.toStringTag,{value:"Module"})),xr=t=>(e.pushScopeId("data-v-c13dfde7"),t=t(),e.popScopeId(),t),Yr={class:"inputs grid"},Pr=["type","onInput"],jr=xr(()=>e.createElementVNode("div",{class:"bottom-wrapper"},null,-1)),Oe=w(e.defineComponent({__name:"ui-verification-input",props:{inputsCount:{},type:{}},emits:["onFiled"],setup(t,{emit:r}){const n=t,l=r,i=e.ref([]),o=()=>{const u=i.value.map(g=>g==null?void 0:g.value).join("");l("onFiled",u)},d=(u,g)=>{var E;g<n.inputsCount&&((E=i.value[g+1])==null||E.focus()),g===n.inputsCount-1&&o()},p=u=>{u.target&&u.target.select()},y=u=>{var E,X;u.preventDefault();const g=(E=u.clipboardData)==null?void 0:E.getData("text");g&&g.length===n.inputsCount&&((X=i.value[n.inputsCount-1])==null||X.focus(),i.value.forEach((H,Me)=>{H&&(H.value=g[Me])}),o())};return(u,g)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Yr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.inputsCount,(E,X)=>(e.openBlock(),e.createElementBlock("div",{key:X,class:"input-wrapper"},[e.createElementVNode("input",{ref_for:!0,ref_key:"inputsRefs",ref:i,type:u.type||"text",maxlength:"1",placeholder:"•",onInput:H=>d(H,X),onFocus:p,onPaste:y},null,40,Pr),jr]))),128))]),e.renderSlot(u.$slots,"button",{},void 0,!0)],64))}}),[["__scopeId","data-v-c13dfde7"]]),Le={UiAlert:je,UiBackdrop:St,UiBadge:Ge,UiBerRank:Qe,UiButton:rt,UiCardCta:At,UiCardResult:Ot,UiCardSimple:Mt,UiCheckbox:zt,UiDropdown:Pe,UiIcon:xe,UiIconWrapper:at,UiInput:it,UiInputRange:Xt,UiListItem:st,UiModal:mt,UiNotificationBadge:ut,UiOrderCard:Ft,UiPlainRadio:Qt,UiProgress:er,UiRadio:Zt,UiRadioCompact:ar,UiRadioFancy:sr,UiResultCardRange:fr,UiRipple:ur,UiSelect:_r,UiSkeleton:Er,UiSnackbar:bt,UiTable:kt,UiTableCell:ht,UiTableRow:_t,UiTabs:Or,UiToggle:zr,UiTypography:ze,UiVerificationInput:Object.freeze(Object.defineProperty({__proto__:null,UiVerificationInput:Oe,default:Oe},Symbol.toStringTag,{value:"Module"})),types:yt},Xr={install(t){Object.keys(Le).forEach(r=>{t.component(Le[r].name,Le[r])})}};s.EAlertTypes=N,s.EAutocomplete=F,s.EBadgeKind=U,s.EBadgeOrigin=P,s.EBadgeSize=I,s.EBerSize=S,s.EButtonSizes=T,s.EButtonTypes=_,s.EColors=a,s.EDropdownKinds=D,s.EIconWrapperSizes=$,s.EIconWrapperTypes=B,s.EInputKinds=V,s.EInputType=z,s.EListItemSize=Y,s.EListItemSpacing=x,s.EListItemTypes=G,s.EModalSizes=O,s.ERowKind=W,s.ESize=b,s.ESnackbarTypes=A,s.ETableKind=j,s.ETextAlign=h,s.ETextTransform=L,s.ETextWeight=m,s.ETypographySizes=c,s.UiAlert=re,s.UiBackdrop=me,s.UiBadge=oe,s.UiBerRank=ae,s.UiButton=ne,s.UiCardCta=ue,s.UiCardResult=be,s.UiCardSimple=ge,s.UiCheckbox=he,s.UiDropdown=te,s.UiIcon=v,s.UiIconWrapper=le,s.UiInput=ie,s.UiInputRange=_e,s.UiListItem=de,s.UiModal=se,s.UiNotificationBadge=ce,s.UiOrderCard=ke,s.UiPlainRadio=Re,s.UiProgress=Ne,s.UiRadio=ye,s.UiRadioCompact=we,s.UiRadioFancy=Se,s.UiResultCardRange=Ce,s.UiRipple=Ae,s.UiSelect=Ee,s.UiSkeleton=De,s.UiSnackbar=fe,s.UiTable=pe,s.UiTableCell=K,s.UiTableRow=Q,s.UiTabs=Te,s.UiToggle=$e,s.UiTypography=J,s.UiVerificationInput=Oe,s.default=Xr,Object.defineProperties(s,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
12
12
|
//# sourceMappingURL=bonkers-ui.umd.js.map
|