@huntflow/ui 0.2.7 → 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -1,105 +1,111 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.nonce=document.head.querySelector("meta[property=csp-nonce]")?.content,o.appendChild(document.createTextNode(`@keyframes _loader-animation_tpkd0_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._loader_tpkd0_11{color:var(--hf-loader-color);display:block;flex:0 0 auto}._circle_tpkd0_17{animation-name:_loader-animation_tpkd0_1;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite}._white_tpkd0_24{--hf-loader-color: var(--hf-color-text-invert)}._black_tpkd0_28{--hf-loader-color: var(--hf-color-text-main)}._s_tpkd0_32{width:18px;height:18px}._m_tpkd0_37{width:28px;height:28px}._l_tpkd0_11{width:56px;height:56px}._spinner_tpkd0_47{display:inline-block;border:1px solid var(--hf-loader-color);border-radius:50%;border-left-color:transparent;border-top-color:transparent}._icon_1p8iz_2{font-style:normal;display:inline-block;vertical-align:middle}._button_mb1r2_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:inherit;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--hf-spacing-button-icon);min-width:-moz-max-content;min-width:max-content;border:solid 1px;position:relative;cursor:pointer;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._button_mb1r2_1:active{background-color:#999}._button_mb1r2_1:focus{outline:none}._button_mb1r2_1:focus-visible{outline:solid 3px var(--hf-color-button-primary-border-focus)}._button_mb1r2_1:is(._disabled_mb1r2_1),._button_mb1r2_1:is(._disabled_mb1r2_1):hover{color:var(--hf-color-text-light);background-color:var(--hf-color-button-disable-default);border-color:transparent;box-shadow:none;transform:none;cursor:default}._button_mb1r2_1._loading_mb1r2_1{cursor:default}._button_mb1r2_1._loading_mb1r2_1>*:not(._loader_mb1r2_1){visibility:hidden}._button_mb1r2_1+._button_mb1r2_1{margin-left:var(--hf-spacing-button-gap)}._content_mb1r2_1{line-height:inherit;display:flex}._content_mb1r2_1:first-child:last-child{text-align:center;width:100%}._loader_mb1r2_1{display:flex;justify-content:center;align-items:center;position:absolute;inset:0}._s_mb1r2_2{font-size:var(--hf-font-size-button-s);font-weight:var(--hf-font-weight-button-s);line-height:var(--hf-font-line-height-button-s);padding:var(--hf-padding-button-top-bottom-s) var(--hf-padding-button-left-right-s);border-radius:var(--hf-radius-button-s)}._xs_mb1r2_1{font-size:var(--hf-font-size-button-xs);font-weight:var(--hf-font-weight-button-xs);line-height:var(--hf-font-line-height-button-xs);padding:var(--hf-padding-button-top-bottom-xs) var(--hf-padding-button-left-right-xs)}._xs_mb1r2_1._square_mb1r2_1{border-radius:var(--hf-radius-button-xs)}._xs_mb1r2_1._circle_mb1r2_1{border-radius:var(--hf-radius-button-circle)}._m_mb1r2_1{font-size:var(--hf-font-size-button-m);font-weight:var(--hf-font-weight-button-m);line-height:var(--hf-font-line-height-button-m);padding:var(--hf-padding-button-top-bottom-m) var(--hf-padding-button-left-right-m);border-radius:var(--hf-radius-button-m)}._l_mb1r2_1{font-size:var(--hf-font-size-button-l);font-weight:var(--hf-font-weight-button-l);line-height:var(--hf-font-line-height-button-l);padding:var(--hf-padding-button-top-bottom-l) var(--hf-padding-button-left-right-l);border-radius:var(--hf-radius-button-l)}._primary_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_mb1r2_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_mb1r2_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._primary_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-primary-default)}._secondary_mb1r2_1{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-default);border-color:var(--hf-color-button-secondary-border-default);box-shadow:0 1px 4px #0505050a}._secondary_mb1r2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_mb1r2_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._secondary_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-secondary-fill-default)}._accent_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_mb1r2_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_mb1r2_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._accent_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-accent-default)}._danger_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_mb1r2_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_mb1r2_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._danger_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-danger-default)}._jobsites_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_mb1r2_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_mb1r2_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._jobsites_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-jobsite-default)}._ghost_mb1r2_1{color:var(--hf-color-text-secondary);background-color:transparent;border-color:transparent}._ghost_mb1r2_1:hover{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_mb1r2_1:active{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-active)}._ghost_mb1r2_1._loading_mb1r2_1{background-color:transparent}._ghost-danger_mb1r2_1{color:var(--hf-color-text-secondary);background-color:transparent;border-color:transparent}._ghost-danger_mb1r2_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_mb1r2_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}._ghost-danger_mb1r2_1._loading_mb1r2_1{background-color:transparent}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_o7jd7_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_o7jd7_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs);border-radius:var(--hf-radius-button-circle)}._m_o7jd7_20{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_o7jd7_25{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_o7jd7_31{padding:0}._button_1xnk4_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-button-link-s);font-style:normal;font-weight:var(--hf-font-weight-button-link-s);line-height:var(--hf-font-line-height-button-link-s);color:var(--hf-color-link-default);display:flex;flex-direction:row;align-items:center;gap:var(--hf-spacing-button-link-s);margin:0;padding:0 2px 0 0;background-color:transparent;border:none;cursor:pointer;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._button_1xnk4_1:hover{color:var(--hf-color-link-hover)}._label_1ic51_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-label-title);font-style:normal;font-weight:var(--hf-font-weight-regular);line-height:var(--hf-font-line-height-label-title);color:var(--hf-color-text-main);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._content_1g21n_1{font-family:var(--hf-font-family-body),sans-serif;display:flex;flex:1;flex-direction:row;gap:var(--hf-spacing-xs);margin-bottom:var(--hf-spacing-xs);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._label_1g21n_12{font-style:normal;display:flex;flex:1;flex-direction:row;gap:var(--hf-spacing-xs);margin-bottom:var(--hf-spacing-xs)}._header_1g21n_21{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-medium);line-height:var(--hf-font-line-height-text-h4);color:var(--hf-color-text-main);display:block}._headerWrapper_1g21n_29{display:flex;flex-direction:column;flex-grow:1;gap:var(--hf-spacing-xs)}._title_1g21n_36{font-size:var(--hf-font-size-label-title);font-weight:var(--hf-font-weight-label-title);line-height:var(--hf-font-line-height-label-title);color:var(--hf-color-text-main);display:block}._subTitleRow_1g21n_44{font-size:var(--hf-font-size-label-subtitle);font-weight:var(--hf-font-weight-label-subtitle);color:var(--hf-color-text-semilight);display:flex;justify-content:space-between}._subTitle_1g21n_44{line-height:var(--hf-font-line-height-label-subtitle)}._link_1g21n_56{font-size:var(--hf-font-size-label-title);font-weight:var(--hf-font-weight-label-subtitle);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-semilight);align-self:flex-end;height:20px;margin-left:auto;overflow:hidden;text-overflow:ellipsis}._link_1g21n_56 a{color:var(--hf-color-text-semilight);text-decoration:none}._linkUpper_1g21n_73{margin-bottom:1px}._wrapper_1i81c_1{font-family:var(--hf-font-family-body),sans-serif;margin-bottom:var(--hf-spacing-xs);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._input_1i81c_8{font-size:var(--hf-font-size-field-text);font-weight:var(--hf-font-weight-field-text);line-height:var(--hf-font-line-height-field-text);color:var(--hf-color-input-text-default);box-sizing:border-box;width:100%;padding:var(--hf-padding-input-top-bottom-default) var(--hf-padding-input-right-default) var(--hf-padding-input-top-bottom-default) var(--hf-padding-input-left-default);background:var(--hf-color-input-background-default);border:var(--hf-border-xs) solid var(--hf-color-input-border-default);border-radius:var(--hf-radius-input-default)}._input_1i81c_8:active{border-color:var(--hf-color-input-border-focus)}._input_1i81c_8:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_1i81c_8:disabled{color:var(--hf-color-input-text-disable);background:var(--hf-color-input-background-disable);border-color:var(--hf-color-input-text-disable);outline:none}._error_1i81c_38,._error_1i81c_38:active{border-color:var(--hf-color-input-border-error)}._error_1i81c_38:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_1i81c_51{font-size:var(--hf-font-size-field-error);font-weight:var(--hf-font-weight-field-description);line-height:var(--hf-font-line-height-field-description);margin-top:var(--hf-spacing-xs)}._description_1i81c_51 a{text-decoration:underline}._descriptionText_1i81c_62{color:var(--hf-color-input-text-description)}._errorText_1i81c_66{color:var(--hf-color-text-danger)}._inputWrapper_1i81c_70{position:relative}._leftSpace_1i81c_74{padding-left:42px}._rightSpace_1i81c_78{padding-right:42px}._leftIcon_1i81c_82,._rightIcon_1i81c_83{height:100%;position:absolute}._leftIcon_1i81c_82{left:15px}._rightIcon_1i81c_83{padding:0 9px;right:0}._rightIcon_1i81c_83[aria-label^=close]{color:var(--hf-color-text-light);cursor:pointer}._plank_1yp3k_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-text-primary);font-style:normal;font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary);display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--hf-spacing-m);padding:var(--hf-spacing-m) var(--hf-spacing-l);border-width:1px;border-style:solid;border-radius:var(--hf-radius-m);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._default_1yp3k_20{color:var(--hf-color-text-main);background-color:var(--hf-color-plank-default-background);border-color:var(--hf-color-plank-default-border)}._accent_1yp3k_26{color:var(--hf-color-plank-success-text);background-color:var(--hf-color-plank-success-background);border-color:var(--hf-color-plank-success-border)}._danger_1yp3k_32{color:var(--hf-color-plank-danger-text);background-color:var(--hf-color-plank-danger-background);border-color:var(--hf-color-plank-danger-border)}._text_1yp3k_38{flex-grow:1}._icon_1yp3k_42{width:var(--hf-font-line-height-text-primary);height:var(--hf-font-line-height-text-primary)}._text_dbd8t_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:var(--hf-color-text-main);margin:0;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._primary_dbd8t_10{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary)}._primary_dbd8t_10._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_dbd8t_20{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary-regular);line-height:var(--hf-font-line-height-text-secondary)}._secondary_dbd8t_20._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_dbd8t_30{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent-regular);line-height:var(--hf-font-line-height-text-accent)}._accent_dbd8t_30._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_dbd8t_40{font-size:var(--hf-font-size-text-subtitle);font-weight:var(--hf-font-weight-text-subtitle);line-height:var(--hf-font-line-height-text-subtitle)}._color-main_dbd8t_46{color:var(--hf-color-text-main)}._color-secondary_dbd8t_50{color:var(--hf-color-text-secondary)}._color-semilight_dbd8t_54{color:var(--hf-color-text-semilight)}._color-light_dbd8t_58{color:var(--hf-color-text-light)}._color-invert_dbd8t_62{color:var(--hf-color-text-invert)}._color-danger_dbd8t_66{color:var(--hf-color-text-danger)}._color-success_dbd8t_70{color:var(--hf-color-text-success)}._title_1m0wo_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:var(--hf-color-text-main);margin:0;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._level-1_1m0wo_10{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1-regular);line-height:var(--hf-font-line-height-text-h1)}._level-1_1m0wo_10._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_1m0wo_20{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2-regular);line-height:var(--hf-font-line-height-text-h2)}._level-2_1m0wo_20._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_1m0wo_30{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3-regular);line-height:var(--hf-font-line-height-text-h3)}._level-3_1m0wo_30._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_1m0wo_40{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-regular);line-height:var(--hf-font-line-height-text-h4)}._level-4_1m0wo_40._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h4-medium)}._color-main_1m0wo_50{color:var(--hf-color-text-main)}._color-secondary_1m0wo_54{color:var(--hf-color-text-secondary)}._color-semilight_1m0wo_58{color:var(--hf-color-text-semilight)}._color-light_1m0wo_62{color:var(--hf-color-text-light)}._color-invert_1m0wo_66{color:var(--hf-color-text-invert)}._color-danger_1m0wo_70{color:var(--hf-color-text-danger)}._color-success_1m0wo_74{color:var(--hf-color-text-success)}._error_lk2jx_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-label-subtitle);font-weight:var(--hf-font-weight-regular);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-danger);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._root_1tj1b_1{overflow:hidden;border-radius:50%;position:relative;aspect-ratio:1/1}._root_1tj1b_1 img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._default_1tj1b_14{background-color:var(--hf-color-avatar-background);background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.3731%2012.2451C8.04067%2011.4614%207.47001%207.04127%2010.5054%205.5244C11.4539%205.05047%2012.6607%205.02109%2013.5811%205.44961C15.802%206.48374%2016.3914%209.29209%2014.7734%2011.1304C13.9547%2012.0605%2012.5483%2012.5215%2011.3731%2012.2451Z'%20fill='%23D7D7D7'/%3e%3cpath%20d='M7.06146%2014.4533C7.36479%2013.8666%208.78017%2013.2895%2010.4265%2013.081C12.0578%2012.8746%2013.8883%2012.9839%2015.2382%2013.3686C17.2103%2013.9304%2017.7187%2014.6903%2017.0375%2016.0575C16.2941%2017.5493%2013.9853%2018.8659%2012.1058%2018.8699C10.2126%2018.874%207.85172%2017.5174%207.15739%2016.0265C6.84163%2015.3485%206.81597%2014.9279%207.06146%2014.4533Z'%20fill='%23D7D7D7'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center center;background-size:cover}._default_1tj1b_14 img{display:none}._xxs_1tj1b_26{width:var(--hf-size-avatar-xxs)}._xs_1tj1b_30{width:var(--hf-size-avatar-xs)}._s_1tj1b_16{width:var(--hf-size-avatar-s)}._m_1tj1b_38{width:var(--hf-size-avatar-m)}._l_1tj1b_42{width:var(--hf-size-avatar-l)}._l_1tj1b_42._square_1tj1b_45{border-radius:var(--hf-radius-s)}._xl_1tj1b_50{width:var(--hf-size-avatar-xl)}._xl_1tj1b_50._square_1tj1b_45{border-radius:var(--hf-radius-l)}._xxl_1tj1b_58{width:var(--hf-size-avatar-xxl)}._xxl_1tj1b_58._square_1tj1b_45{border-radius:var(--hf-radius-l)}._3xl_1tj1b_66{width:var(--hf-size-avatar-3xl)}._3xl_1tj1b_66._square_1tj1b_45{border-radius:var(--hf-radius-l)}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { defineComponent as f, computed as a, createElementBlock as d, openBlock as r, normalizeClass as i, unref as n, normalizeStyle as de, createElementVNode as q, useSlots as D, createCommentVNode as p, renderSlot as b, createBlock as h, createVNode as I, mergeProps as O, withCtx as k, Fragment as pe, toValue as me, getCurrentInstance as fe, ref as W, Comment as be, cloneVNode as ye, h as A, toRefs as ve, useAttrs as ke, createTextVNode as S, toDisplayString as j, resolveDynamicComponent as K, watch as ge } from "vue";
3
- const x = (s, e) => (e ? s[e] : s.default)?.().some((t) => {
4
- const l = t.children;
5
- return l && l.toString().trim() !== "";
6
- }) ?? !1, he = "_loader_tpkd0_11", $e = "_circle_tpkd0_17", we = "_white_tpkd0_24", xe = "_black_tpkd0_28", Ce = "_s_tpkd0_32", Te = "_m_tpkd0_37", Be = "_l_tpkd0_11", Le = "_spinner_tpkd0_47", L = {
7
- loader: he,
8
- circle: $e,
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.nonce=document.head.querySelector("meta[property=csp-nonce]")?.content,o.appendChild(document.createTextNode(`@keyframes _loader-animation_tpkd0_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._loader_tpkd0_11{color:var(--hf-loader-color);display:block;flex:0 0 auto}._circle_tpkd0_17{animation-name:_loader-animation_tpkd0_1;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite}._white_tpkd0_24{--hf-loader-color: var(--hf-color-text-invert)}._black_tpkd0_28{--hf-loader-color: var(--hf-color-text-main)}._s_tpkd0_32{width:18px;height:18px}._m_tpkd0_37{width:28px;height:28px}._l_tpkd0_11{width:56px;height:56px}._spinner_tpkd0_47{display:inline-block;border:1px solid var(--hf-loader-color);border-radius:50%;border-left-color:transparent;border-top-color:transparent}._icon_1p8iz_2{font-style:normal;display:inline-block;vertical-align:middle}._button_mb1r2_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:inherit;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--hf-spacing-button-icon);min-width:-moz-max-content;min-width:max-content;border:solid 1px;position:relative;cursor:pointer;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._button_mb1r2_1:active{background-color:#999}._button_mb1r2_1:focus{outline:none}._button_mb1r2_1:focus-visible{outline:solid 3px var(--hf-color-button-primary-border-focus)}._button_mb1r2_1:is(._disabled_mb1r2_1),._button_mb1r2_1:is(._disabled_mb1r2_1):hover{color:var(--hf-color-text-light);background-color:var(--hf-color-button-disable-default);border-color:transparent;box-shadow:none;transform:none;cursor:default}._button_mb1r2_1._loading_mb1r2_1{cursor:default}._button_mb1r2_1._loading_mb1r2_1>*:not(._loader_mb1r2_1){visibility:hidden}._button_mb1r2_1+._button_mb1r2_1{margin-left:var(--hf-spacing-button-gap)}._content_mb1r2_1{line-height:inherit;display:flex}._content_mb1r2_1:first-child:last-child{text-align:center;width:100%}._loader_mb1r2_1{display:flex;justify-content:center;align-items:center;position:absolute;inset:0}._dropDown_mb1r2_1{margin-right:-4px}._s_mb1r2_2{font-size:var(--hf-font-size-button-s);font-weight:var(--hf-font-weight-button-s);line-height:var(--hf-font-line-height-button-s);padding:var(--hf-padding-button-top-bottom-s) var(--hf-padding-button-left-right-s);border-radius:var(--hf-radius-button-s)}._xs_mb1r2_1{font-size:var(--hf-font-size-button-xs);font-weight:var(--hf-font-weight-button-xs);line-height:var(--hf-font-line-height-button-xs);padding:var(--hf-padding-button-top-bottom-xs) var(--hf-padding-button-left-right-xs)}._xs_mb1r2_1._square_mb1r2_1{border-radius:var(--hf-radius-button-xs)}._xs_mb1r2_1._circle_mb1r2_1{border-radius:var(--hf-radius-button-circle)}._m_mb1r2_1{font-size:var(--hf-font-size-button-m);font-weight:var(--hf-font-weight-button-m);line-height:var(--hf-font-line-height-button-m);padding:var(--hf-padding-button-top-bottom-m) var(--hf-padding-button-left-right-m);border-radius:var(--hf-radius-button-m)}._l_mb1r2_1{font-size:var(--hf-font-size-button-l);font-weight:var(--hf-font-weight-button-l);line-height:var(--hf-font-line-height-button-l);padding:var(--hf-padding-button-top-bottom-l) var(--hf-padding-button-left-right-l);border-radius:var(--hf-radius-button-l)}._primary_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_mb1r2_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_mb1r2_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._primary_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-primary-default)}._secondary_mb1r2_1{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-default);border-color:var(--hf-color-button-secondary-border-default);box-shadow:0 1px 4px #0505050a}._secondary_mb1r2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_mb1r2_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._secondary_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-secondary-fill-default)}._accent_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_mb1r2_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_mb1r2_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._accent_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-accent-default)}._danger_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_mb1r2_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_mb1r2_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._danger_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-danger-default)}._jobsites_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_mb1r2_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_mb1r2_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._jobsites_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-jobsite-default)}._ghost_mb1r2_1{color:var(--hf-color-text-secondary);background-color:transparent;border-color:transparent}._ghost_mb1r2_1:hover{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_mb1r2_1:active{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-active)}._ghost_mb1r2_1._loading_mb1r2_1{background-color:transparent}._ghost-danger_mb1r2_1{color:var(--hf-color-text-secondary);background-color:transparent;border-color:transparent}._ghost-danger_mb1r2_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_mb1r2_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}._ghost-danger_mb1r2_1._loading_mb1r2_1{background-color:transparent}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_o7jd7_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_o7jd7_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs);border-radius:var(--hf-radius-button-circle)}._m_o7jd7_20{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_o7jd7_25{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_o7jd7_31{padding:0}._button_1xnk4_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-button-link-s);font-style:normal;font-weight:var(--hf-font-weight-button-link-s);line-height:var(--hf-font-line-height-button-link-s);color:var(--hf-color-link-default);display:flex;flex-direction:row;align-items:center;gap:var(--hf-spacing-button-link-s);margin:0;padding:0 2px 0 0;background-color:transparent;border:none;cursor:pointer;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._button_1xnk4_1:hover{color:var(--hf-color-link-hover)}._label_1ic51_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-label-title);font-style:normal;font-weight:var(--hf-font-weight-regular);line-height:var(--hf-font-line-height-label-title);color:var(--hf-color-text-main);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._content_1g21n_1{font-family:var(--hf-font-family-body),sans-serif;display:flex;flex:1;flex-direction:row;gap:var(--hf-spacing-xs);margin-bottom:var(--hf-spacing-xs);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._label_1g21n_12{font-style:normal;display:flex;flex:1;flex-direction:row;gap:var(--hf-spacing-xs);margin-bottom:var(--hf-spacing-xs)}._header_1g21n_21{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-medium);line-height:var(--hf-font-line-height-text-h4);color:var(--hf-color-text-main);display:block}._headerWrapper_1g21n_29{display:flex;flex-direction:column;flex-grow:1;gap:var(--hf-spacing-xs)}._title_1g21n_36{font-size:var(--hf-font-size-label-title);font-weight:var(--hf-font-weight-label-title);line-height:var(--hf-font-line-height-label-title);color:var(--hf-color-text-main);display:block}._subTitleRow_1g21n_44{font-size:var(--hf-font-size-label-subtitle);font-weight:var(--hf-font-weight-label-subtitle);color:var(--hf-color-text-semilight);display:flex;justify-content:space-between}._subTitle_1g21n_44{line-height:var(--hf-font-line-height-label-subtitle)}._link_1g21n_56{font-size:var(--hf-font-size-label-title);font-weight:var(--hf-font-weight-label-subtitle);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-semilight);align-self:flex-end;height:20px;margin-left:auto;overflow:hidden;text-overflow:ellipsis}._link_1g21n_56 a{color:var(--hf-color-text-semilight);text-decoration:none}._linkUpper_1g21n_73{margin-bottom:1px}._wrapper_1i81c_1{font-family:var(--hf-font-family-body),sans-serif;margin-bottom:var(--hf-spacing-xs);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._input_1i81c_8{font-size:var(--hf-font-size-field-text);font-weight:var(--hf-font-weight-field-text);line-height:var(--hf-font-line-height-field-text);color:var(--hf-color-input-text-default);box-sizing:border-box;width:100%;padding:var(--hf-padding-input-top-bottom-default) var(--hf-padding-input-right-default) var(--hf-padding-input-top-bottom-default) var(--hf-padding-input-left-default);background:var(--hf-color-input-background-default);border:var(--hf-border-xs) solid var(--hf-color-input-border-default);border-radius:var(--hf-radius-input-default)}._input_1i81c_8:active{border-color:var(--hf-color-input-border-focus)}._input_1i81c_8:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_1i81c_8:disabled{color:var(--hf-color-input-text-disable);background:var(--hf-color-input-background-disable);border-color:var(--hf-color-input-text-disable);outline:none}._error_1i81c_38,._error_1i81c_38:active{border-color:var(--hf-color-input-border-error)}._error_1i81c_38:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_1i81c_51{font-size:var(--hf-font-size-field-error);font-weight:var(--hf-font-weight-field-description);line-height:var(--hf-font-line-height-field-description);margin-top:var(--hf-spacing-xs)}._description_1i81c_51 a{text-decoration:underline}._descriptionText_1i81c_62{color:var(--hf-color-input-text-description)}._errorText_1i81c_66{color:var(--hf-color-text-danger)}._inputWrapper_1i81c_70{position:relative}._leftSpace_1i81c_74{padding-left:42px}._rightSpace_1i81c_78{padding-right:42px}._leftIcon_1i81c_82,._rightIcon_1i81c_83{height:100%;position:absolute}._leftIcon_1i81c_82{left:15px}._rightIcon_1i81c_83{padding:0 9px;right:0}._rightIcon_1i81c_83[aria-label^=close]{color:var(--hf-color-text-light);cursor:pointer}._plank_1yp3k_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-text-primary);font-style:normal;font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary);display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--hf-spacing-m);padding:var(--hf-spacing-m) var(--hf-spacing-l);border-width:1px;border-style:solid;border-radius:var(--hf-radius-m);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._default_1yp3k_20{color:var(--hf-color-text-main);background-color:var(--hf-color-plank-default-background);border-color:var(--hf-color-plank-default-border)}._accent_1yp3k_26{color:var(--hf-color-plank-success-text);background-color:var(--hf-color-plank-success-background);border-color:var(--hf-color-plank-success-border)}._danger_1yp3k_32{color:var(--hf-color-plank-danger-text);background-color:var(--hf-color-plank-danger-background);border-color:var(--hf-color-plank-danger-border)}._text_1yp3k_38{flex-grow:1}._icon_1yp3k_42{width:var(--hf-font-line-height-text-primary);height:var(--hf-font-line-height-text-primary)}._text_dbd8t_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:var(--hf-color-text-main);margin:0;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._primary_dbd8t_10{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary)}._primary_dbd8t_10._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_dbd8t_20{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary-regular);line-height:var(--hf-font-line-height-text-secondary)}._secondary_dbd8t_20._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_dbd8t_30{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent-regular);line-height:var(--hf-font-line-height-text-accent)}._accent_dbd8t_30._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_dbd8t_40{font-size:var(--hf-font-size-text-subtitle);font-weight:var(--hf-font-weight-text-subtitle);line-height:var(--hf-font-line-height-text-subtitle)}._color-main_dbd8t_46{color:var(--hf-color-text-main)}._color-secondary_dbd8t_50{color:var(--hf-color-text-secondary)}._color-semilight_dbd8t_54{color:var(--hf-color-text-semilight)}._color-light_dbd8t_58{color:var(--hf-color-text-light)}._color-invert_dbd8t_62{color:var(--hf-color-text-invert)}._color-danger_dbd8t_66{color:var(--hf-color-text-danger)}._color-success_dbd8t_70{color:var(--hf-color-text-success)}._title_1m0wo_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:var(--hf-color-text-main);margin:0;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._level-1_1m0wo_10{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1-regular);line-height:var(--hf-font-line-height-text-h1)}._level-1_1m0wo_10._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_1m0wo_20{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2-regular);line-height:var(--hf-font-line-height-text-h2)}._level-2_1m0wo_20._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_1m0wo_30{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3-regular);line-height:var(--hf-font-line-height-text-h3)}._level-3_1m0wo_30._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_1m0wo_40{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-regular);line-height:var(--hf-font-line-height-text-h4)}._level-4_1m0wo_40._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h4-medium)}._color-main_1m0wo_50{color:var(--hf-color-text-main)}._color-secondary_1m0wo_54{color:var(--hf-color-text-secondary)}._color-semilight_1m0wo_58{color:var(--hf-color-text-semilight)}._color-light_1m0wo_62{color:var(--hf-color-text-light)}._color-invert_1m0wo_66{color:var(--hf-color-text-invert)}._color-danger_1m0wo_70{color:var(--hf-color-text-danger)}._color-success_1m0wo_74{color:var(--hf-color-text-success)}._error_lk2jx_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-label-subtitle);font-weight:var(--hf-font-weight-regular);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-danger);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._root_1tj1b_1{overflow:hidden;border-radius:50%;position:relative;aspect-ratio:1/1}._root_1tj1b_1 img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._default_1tj1b_14{background-color:var(--hf-color-avatar-background);background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.3731%2012.2451C8.04067%2011.4614%207.47001%207.04127%2010.5054%205.5244C11.4539%205.05047%2012.6607%205.02109%2013.5811%205.44961C15.802%206.48374%2016.3914%209.29209%2014.7734%2011.1304C13.9547%2012.0605%2012.5483%2012.5215%2011.3731%2012.2451Z'%20fill='%23D7D7D7'/%3e%3cpath%20d='M7.06146%2014.4533C7.36479%2013.8666%208.78017%2013.2895%2010.4265%2013.081C12.0578%2012.8746%2013.8883%2012.9839%2015.2382%2013.3686C17.2103%2013.9304%2017.7187%2014.6903%2017.0375%2016.0575C16.2941%2017.5493%2013.9853%2018.8659%2012.1058%2018.8699C10.2126%2018.874%207.85172%2017.5174%207.15739%2016.0265C6.84163%2015.3485%206.81597%2014.9279%207.06146%2014.4533Z'%20fill='%23D7D7D7'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center center;background-size:cover}._default_1tj1b_14 img{display:none}._xxs_1tj1b_26{width:var(--hf-size-avatar-xxs)}._xs_1tj1b_30{width:var(--hf-size-avatar-xs)}._s_1tj1b_16{width:var(--hf-size-avatar-s)}._m_1tj1b_38{width:var(--hf-size-avatar-m)}._l_1tj1b_42{width:var(--hf-size-avatar-l)}._l_1tj1b_42._square_1tj1b_45{border-radius:var(--hf-radius-s)}._xl_1tj1b_50{width:var(--hf-size-avatar-xl)}._xl_1tj1b_50._square_1tj1b_45{border-radius:var(--hf-radius-l)}._xxl_1tj1b_58{width:var(--hf-size-avatar-xxl)}._xxl_1tj1b_58._square_1tj1b_45{border-radius:var(--hf-radius-l)}._3xl_1tj1b_66{width:var(--hf-size-avatar-3xl)}._3xl_1tj1b_66._square_1tj1b_45{border-radius:var(--hf-radius-l)}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { defineComponent as p, toRefs as G, computed as d, createElementBlock as _, openBlock as a, normalizeClass as c, unref as o, normalizeStyle as K, createElementVNode as N, createCommentVNode as m, renderSlot as f, createBlock as h, createVNode as j, mergeProps as x, withCtx as k, Fragment as J, toValue as Q, getCurrentInstance as X, ref as E, Comment as Y, cloneVNode as Z, h as z, useSlots as ee, mergeModels as M, useModel as te, useAttrs as ne, createTextVNode as T, toDisplayString as I, resolveDynamicComponent as q, watch as le } from "vue";
3
+ const se = "_loader_tpkd0_11", oe = "_circle_tpkd0_17", ae = "_white_tpkd0_24", re = "_black_tpkd0_28", ce = "_s_tpkd0_32", ie = "_m_tpkd0_37", ue = "_l_tpkd0_11", de = "_spinner_tpkd0_47", C = {
4
+ loader: se,
5
+ circle: oe,
9
6
  "loader-animation": "_loader-animation_tpkd0_1",
10
- white: we,
11
- black: xe,
12
- s: Ce,
13
- m: Te,
14
- l: Be,
15
- spinner: Le
16
- }, Se = /* @__PURE__ */ f({
7
+ white: ae,
8
+ black: re,
9
+ s: ce,
10
+ m: ie,
11
+ l: ue,
12
+ spinner: de
13
+ }, _e = /* @__PURE__ */ p({
17
14
  name: "UiLoader",
18
15
  __name: "loader",
19
16
  props: {
20
17
  className: {},
21
- size: { default: "l" },
22
- color: { default: "black" }
18
+ size: {},
19
+ color: {}
23
20
  },
24
- setup(s) {
25
- const e = s, o = a(() => [L.loader, L[e.size], L[e.color], L.circle]);
26
- return (t, l) => (r(), d("span", {
27
- class: i([n(L).spinner, o.value])
21
+ setup(e) {
22
+ const t = e, { size: n, color: s } = G(t), l = d(() => n?.value ?? "l"), r = d(() => s?.value ?? "black"), u = d(() => [
23
+ C.loader,
24
+ C[l.value],
25
+ C[r.value],
26
+ C.circle
27
+ ]);
28
+ return (b, w) => (a(), _("span", {
29
+ class: c([o(C).spinner, u.value])
28
30
  }, null, 2));
29
31
  }
30
- }), je = ["aria-label"], Ie = ["xlink:href"], Ue = /* @__PURE__ */ f({
32
+ }), me = ["aria-label", "width", "height"], pe = ["xlink:href"], fe = /* @__PURE__ */ p({
31
33
  name: "UiIcon",
32
34
  __name: "icon",
33
35
  props: {
34
36
  name: {},
35
37
  color: {},
36
- block: { type: Boolean },
37
- width: {},
38
- height: {}
38
+ block: { type: Boolean }
39
39
  },
40
- setup(s) {
41
- const e = s, o = a(() => {
42
- const t = {};
43
- return e.color && (t.color = e.color), e.block && (t.display = "block"), t;
40
+ setup(e) {
41
+ const t = e, n = d(() => {
42
+ const l = t?.name?.match(/(\d+)$/);
43
+ return l ? Number.parseInt(l[1], 10) : 16;
44
+ }), s = d(() => {
45
+ const l = {};
46
+ return t.color && (l.color = t.color), t.block && (l.display = "block"), l;
44
47
  });
45
- return (t, l) => (r(), d("svg", {
46
- class: i(t.$style.icon),
47
- "aria-label": t.name,
48
- style: de(o.value),
49
- role: "img"
48
+ return (l, r) => (a(), _("svg", {
49
+ class: c(l.$style.icon),
50
+ "aria-label": l.name,
51
+ style: K(s.value),
52
+ role: "img",
53
+ width: n.value,
54
+ height: n.value
50
55
  }, [
51
- q("use", {
52
- "xlink:href": `#${t.name}`
53
- }, null, 8, Ie)
54
- ], 14, je));
56
+ N("use", {
57
+ "xlink:href": `#${l.name}`
58
+ }, null, 8, pe)
59
+ ], 14, me));
55
60
  }
56
- }), Ne = "_icon_1p8iz_2", ze = {
57
- icon: Ne
58
- }, Ee = (s, e) => {
59
- const o = s.__vccOpts || s;
60
- for (const [t, l] of e)
61
- o[t] = l;
62
- return o;
63
- }, qe = {
64
- $style: ze
65
- }, C = /* @__PURE__ */ Ee(Ue, [["__cssModules", qe]]), bn = async () => {
61
+ }), be = "_icon_1p8iz_2", ye = {
62
+ icon: be
63
+ }, ge = (e, t) => {
64
+ const n = e.__vccOpts || e;
65
+ for (const [s, l] of t)
66
+ n[s] = l;
67
+ return n;
68
+ }, ke = {
69
+ $style: ye
70
+ }, $ = /* @__PURE__ */ ge(fe, [["__cssModules", ke]]), Zt = async () => {
66
71
  if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
67
72
  try {
68
- const e = `
73
+ const t = `
69
74
  <svg id="__svg-sprite__" xmlns="http://www.w3.org/2000/svg" style="display: none;">
70
- ${(await import("./sprite-korLkbry.js")).default}
75
+ ${(await import("./sprite-BwE1iG1D.js")).default}
71
76
  </svg>
72
77
  `;
73
- document.body.insertAdjacentHTML("afterbegin", e);
74
- } catch (s) {
75
- console.error("Failed to load SVG sprite:", s);
78
+ document.body.insertAdjacentHTML("afterbegin", t);
79
+ } catch (e) {
80
+ console.error("Failed to load SVG sprite:", e);
76
81
  }
77
- }, Oe = "_button_mb1r2_1", Pe = "_disabled_mb1r2_1", Me = "_loading_mb1r2_1", Ve = "_loader_mb1r2_1", Re = "_content_mb1r2_1", Ae = "_s_mb1r2_2", We = "_xs_mb1r2_1", De = "_square_mb1r2_1", He = "_circle_mb1r2_1", Fe = "_m_mb1r2_1", Ge = "_l_mb1r2_1", Ke = "_primary_mb1r2_1", Je = "_secondary_mb1r2_1", Qe = "_accent_mb1r2_1", Xe = "_danger_mb1r2_1", Ye = "_jobsites_mb1r2_1", Ze = "_ghost_mb1r2_1", v = {
78
- button: Oe,
79
- disabled: Pe,
80
- loading: Me,
81
- loader: Ve,
82
- content: Re,
83
- s: Ae,
84
- xs: We,
85
- square: De,
86
- circle: He,
87
- m: Fe,
88
- l: Ge,
89
- primary: Ke,
90
- secondary: Je,
91
- accent: Qe,
92
- danger: Xe,
93
- jobsites: Ye,
94
- ghost: Ze,
82
+ }, he = "_button_mb1r2_1", ve = "_disabled_mb1r2_1", $e = "_loading_mb1r2_1", we = "_loader_mb1r2_1", Ce = "_content_mb1r2_1", Te = "_dropDown_mb1r2_1", Ie = "_s_mb1r2_2", je = "_xs_mb1r2_1", Be = "_square_mb1r2_1", Le = "_circle_mb1r2_1", Ue = "_m_mb1r2_1", Se = "_l_mb1r2_1", Ne = "_primary_mb1r2_1", xe = "_secondary_mb1r2_1", ze = "_accent_mb1r2_1", Ee = "_danger_mb1r2_1", Me = "_jobsites_mb1r2_1", Ve = "_ghost_mb1r2_1", g = {
83
+ button: he,
84
+ disabled: ve,
85
+ loading: $e,
86
+ loader: we,
87
+ content: Ce,
88
+ dropDown: Te,
89
+ s: Ie,
90
+ xs: je,
91
+ square: Be,
92
+ circle: Le,
93
+ m: Ue,
94
+ l: Se,
95
+ primary: Ne,
96
+ secondary: xe,
97
+ accent: ze,
98
+ danger: Ee,
99
+ jobsites: Me,
100
+ ghost: Ve,
95
101
  "ghost-danger": "_ghost-danger_mb1r2_1"
96
- }, et = ["name", "type", "disabled"], J = /* @__PURE__ */ f({
102
+ }, qe = ["name", "type", "disabled"], O = /* @__PURE__ */ p({
97
103
  name: "UiButton",
98
104
  __name: "button",
99
105
  props: {
100
106
  size: { default: "m" },
101
- className: {},
102
- type: { default: "primary" },
107
+ className: { default: "" },
108
+ type: { default: "jobsites" },
103
109
  disabled: { type: Boolean, default: !1 },
104
110
  loading: { type: Boolean, default: !1 },
105
111
  dropdown: { type: Boolean, default: !1 },
@@ -110,8 +116,8 @@ const x = (s, e) => (e ? s[e] : s.default)?.().some((t) => {
110
116
  htmlType: { default: "button" }
111
117
  },
112
118
  emits: ["click"],
113
- setup(s) {
114
- const e = s, o = D(), t = {
119
+ setup(e) {
120
+ const t = {
115
121
  primary: "white",
116
122
  secondary: "black",
117
123
  accent: "white",
@@ -119,64 +125,63 @@ const x = (s, e) => (e ? s[e] : s.default)?.().some((t) => {
119
125
  jobsites: "white",
120
126
  ghost: "black",
121
127
  "ghost-danger": "black"
122
- }, l = a(() => x(o)), u = a(() => [
123
- v.button,
124
- v[e.size],
125
- v[e.type],
126
- e.circle ? [v.circle] : [v.square],
128
+ }, n = d(() => [
129
+ g.button,
130
+ g[e.size],
131
+ g[e.type],
132
+ e.circle ? g.circle : g.square,
127
133
  {
128
- [v.disabled]: e.disabled,
129
- [v.loading]: e.loading,
130
- [v.active]: e.active,
131
- [v.bordered]: e.bordered
134
+ [g.disabled]: e.disabled,
135
+ [g.loading]: e.loading,
136
+ [g.active]: e.active,
137
+ [g.bordered]: e.bordered
132
138
  },
133
139
  e.className
134
- ]), c = a(() => t[e.type] || "white");
135
- return (_, m) => (r(), d("button", {
136
- name: _.name,
137
- class: i(u.value),
138
- type: _.htmlType,
139
- disabled: _.disabled || _.loading,
140
- onClick: m[0] || (m[0] = (g) => _.$emit("click"))
140
+ ]), s = d(() => t[e.type] || "white");
141
+ return (l, r) => (a(), _("button", {
142
+ name: l.name,
143
+ class: c(n.value),
144
+ type: l.htmlType,
145
+ disabled: l.disabled || l.loading,
146
+ onClick: r[0] || (r[0] = (u) => l.$emit("click"))
141
147
  }, [
142
- _.loading ? (r(), d("div", {
148
+ l.loading ? (a(), _("div", {
143
149
  key: 0,
144
- class: i(n(v).loader)
150
+ class: c(o(g).loader)
145
151
  }, [
146
- I(n(Se), {
152
+ j(o(_e), {
147
153
  size: "s",
148
- color: c.value
154
+ color: s.value
149
155
  }, null, 8, ["color"])
150
- ], 2)) : p("", !0),
151
- _.$slots.before ? b(_.$slots, "before", { key: 1 }) : p("", !0),
152
- l.value ? (r(), d("span", {
156
+ ], 2)) : m("", !0),
157
+ l.$slots.before ? f(l.$slots, "before", { key: 1 }) : m("", !0),
158
+ l.$slots.default ? (a(), _("span", {
153
159
  key: 2,
154
- class: i(n(v).content)
160
+ class: c(o(g).content)
155
161
  }, [
156
- b(_.$slots, "default")
157
- ], 2)) : p("", !0),
158
- _.$slots.after ? b(_.$slots, "after", { key: 3 }) : p("", !0),
159
- _.dropdown ? (r(), h(n(C), {
162
+ f(l.$slots, "default")
163
+ ], 2)) : m("", !0),
164
+ l.$slots.after ? f(l.$slots, "after", { key: 3 }) : m("", !0),
165
+ l.dropdown ? (a(), h(o($), {
160
166
  key: 4,
161
- width: 12,
162
- height: 16,
163
- name: "drop-down"
164
- })) : p("", !0)
165
- ], 10, et));
167
+ class: c(o(g).dropDown),
168
+ name: "chevron-down-16"
169
+ }, null, 8, ["class"])) : m("", !0)
170
+ ], 10, qe));
166
171
  }
167
- }), tt = "_s_o7jd7_9", nt = "_xs_o7jd7_14", st = "_m_o7jd7_20", ot = "_l_o7jd7_25", lt = "_button_o7jd7_31", G = {
168
- s: tt,
169
- xs: nt,
170
- m: st,
171
- l: ot,
172
- button: lt
173
- }, yn = /* @__PURE__ */ f({
172
+ }), Oe = "_s_o7jd7_9", Pe = "_xs_o7jd7_14", De = "_m_o7jd7_20", Ae = "_l_o7jd7_25", Re = "_button_o7jd7_31", V = {
173
+ s: Oe,
174
+ xs: Pe,
175
+ m: De,
176
+ l: Ae,
177
+ button: Re
178
+ }, en = /* @__PURE__ */ p({
174
179
  name: "UiButtonIcon",
175
180
  __name: "button-icon",
176
181
  props: {
177
- icon: {},
182
+ icon: { default: "" },
178
183
  size: { default: "m" },
179
- className: {},
184
+ className: { default: "" },
180
185
  type: { default: "primary" },
181
186
  disabled: { type: Boolean, default: !1 },
182
187
  loading: { type: Boolean, default: !1 },
@@ -186,99 +191,112 @@ const x = (s, e) => (e ? s[e] : s.default)?.().some((t) => {
186
191
  bordered: { type: Boolean, default: !1 }
187
192
  },
188
193
  emits: ["click"],
189
- setup(s) {
190
- const e = s, o = a(() => [G.button, G[e.size], e.className]), t = a(() => {
191
- const u = e.size === "xs" ? "18" : "20";
192
- return e.icon.replace(/-?\d*$/, `-${u}`);
193
- }), l = a(() => e.size === "xs");
194
- return (u, c) => (r(), h(n(J), O({ class: o.value }, e, {
194
+ setup(e) {
195
+ const t = d(() => [
196
+ V.button,
197
+ V[e.size],
198
+ e.className
199
+ ]), n = d(() => {
200
+ if (!e.icon)
201
+ return "";
202
+ const r = e.size === "xs" ? "18" : "20";
203
+ return e.icon.replace(/-?\d*$/, `-${r}`);
204
+ }), s = d(() => e.size === "xs" || e.circle), l = d(() => ({
205
+ size: e.size,
206
+ type: e.type,
207
+ disabled: e.disabled,
208
+ loading: e.loading,
209
+ active: e.active,
210
+ circle: s.value,
211
+ bordered: e.bordered
212
+ }));
213
+ return (r, u) => (a(), h(o(O), x({ class: t.value }, l.value, {
195
214
  "html-type": "button",
196
- circle: l.value,
197
- onClick: c[0] || (c[0] = (_) => u.$emit("click"))
215
+ onClick: u[0] || (u[0] = (b) => r.$emit("click"))
198
216
  }), {
199
217
  before: k(() => [
200
- I(n(C), { name: t.value }, null, 8, ["name"])
218
+ j(o($), { name: n.value }, null, 8, ["name"])
201
219
  ]),
202
220
  _: 1
203
- }, 16, ["class", "circle"]));
221
+ }, 16, ["class"]));
204
222
  }
205
- }), rt = "_button_1xnk4_1", at = {
206
- button: rt
207
- }, vn = /* @__PURE__ */ f({
223
+ }), We = "_button_1xnk4_1", Fe = {
224
+ button: We
225
+ }, tn = /* @__PURE__ */ p({
208
226
  name: "UiButtonLink",
209
227
  __name: "button-link",
210
228
  emits: ["click"],
211
- setup(s) {
212
- return (e, o) => (r(), d("button", {
213
- class: i(n(at).button),
229
+ setup(e) {
230
+ return (t, n) => (a(), _("button", {
231
+ class: c(o(Fe).button),
214
232
  type: "button",
215
- onClick: o[0] || (o[0] = (t) => e.$emit("click"))
233
+ onClick: n[0] || (n[0] = (s) => t.$emit("click"))
216
234
  }, [
217
- I(n(C), { name: "plus-18" }),
218
- b(e.$slots, "default")
235
+ j(o($), { name: "plus-18" }),
236
+ f(t.$slots, "default")
219
237
  ], 2));
220
238
  }
221
239
  });
222
- function Q(s) {
223
- return s ? s.flatMap((e) => e.type === pe ? Q(e.children) : [e]) : [];
240
+ function P(e) {
241
+ return e ? e.flatMap((t) => t.type === J ? P(t.children) : [t]) : [];
224
242
  }
225
- function ct(s) {
226
- var e;
227
- const o = me(s);
228
- return (e = o?.$el) != null ? e : o;
243
+ function He(e) {
244
+ var t;
245
+ const n = Q(e);
246
+ return (t = n?.$el) != null ? t : n;
229
247
  }
230
- function it() {
231
- const s = fe(), e = W(), o = a(() => ["#text", "#comment"].includes(e.value?.$el.nodeName) ? e.value?.$el.nextElementSibling : ct(e)), t = Object.assign({}, s.exposed), l = {};
232
- for (const c in s.props) Object.defineProperty(l, c, {
248
+ function Ge() {
249
+ const e = X(), t = E(), n = d(() => ["#text", "#comment"].includes(t.value?.$el.nodeName) ? t.value?.$el.nextElementSibling : He(t)), s = Object.assign({}, e.exposed), l = {};
250
+ for (const u in e.props) Object.defineProperty(l, u, {
233
251
  enumerable: !0,
234
252
  configurable: !0,
235
- get: () => s.props[c]
253
+ get: () => e.props[u]
236
254
  });
237
- if (Object.keys(t).length > 0) for (const c in t) Object.defineProperty(l, c, {
255
+ if (Object.keys(s).length > 0) for (const u in s) Object.defineProperty(l, u, {
238
256
  enumerable: !0,
239
257
  configurable: !0,
240
- get: () => t[c]
258
+ get: () => s[u]
241
259
  });
242
260
  Object.defineProperty(l, "$el", {
243
261
  enumerable: !0,
244
262
  configurable: !0,
245
- get: () => s.vnode.el
246
- }), s.exposed = l;
247
- function u(c) {
248
- e.value = c, c && (Object.defineProperty(l, "$el", {
263
+ get: () => e.vnode.el
264
+ }), e.exposed = l;
265
+ function r(u) {
266
+ t.value = u, u && (Object.defineProperty(l, "$el", {
249
267
  enumerable: !0,
250
268
  configurable: !0,
251
- get: () => c instanceof Element ? c : c.$el
252
- }), s.exposed = l);
269
+ get: () => u instanceof Element ? u : u.$el
270
+ }), e.exposed = l);
253
271
  }
254
272
  return {
255
- forwardRef: u,
256
- currentRef: e,
257
- currentElement: o
273
+ forwardRef: r,
274
+ currentRef: t,
275
+ currentElement: n
258
276
  };
259
277
  }
260
- const ut = f({
278
+ const Ke = p({
261
279
  name: "PrimitiveSlot",
262
280
  inheritAttrs: !1,
263
- setup(s, { attrs: e, slots: o }) {
281
+ setup(e, { attrs: t, slots: n }) {
264
282
  return () => {
265
- if (!o.default) return null;
266
- const t = Q(o.default()), l = t.findIndex((m) => m.type !== be);
267
- if (l === -1) return t;
268
- const u = t[l];
269
- delete u.props?.ref;
270
- const c = u.props ? O(e, u.props) : e, _ = ye({
271
- ...u,
283
+ if (!n.default) return null;
284
+ const s = P(n.default()), l = s.findIndex((w) => w.type !== Y);
285
+ if (l === -1) return s;
286
+ const r = s[l];
287
+ delete r.props?.ref;
288
+ const u = r.props ? x(t, r.props) : t, b = Z({
289
+ ...r,
272
290
  props: {}
273
- }, c);
274
- return t.length === 1 ? _ : (t[l] = _, t);
291
+ }, u);
292
+ return s.length === 1 ? b : (s[l] = b, s);
275
293
  };
276
294
  }
277
- }), _t = [
295
+ }), Je = [
278
296
  "area",
279
297
  "img",
280
298
  "input"
281
- ], dt = f({
299
+ ], Qe = p({
282
300
  name: "Primitive",
283
301
  inheritAttrs: !1,
284
302
  props: {
@@ -291,12 +309,12 @@ const ut = f({
291
309
  default: "div"
292
310
  }
293
311
  },
294
- setup(s, { attrs: e, slots: o }) {
295
- const t = s.asChild ? "template" : s.as;
296
- return typeof t == "string" && _t.includes(t) ? () => A(t, e) : t !== "template" ? () => A(s.as, e, { default: o.default }) : () => A(ut, e, { default: o.default });
312
+ setup(e, { attrs: t, slots: n }) {
313
+ const s = e.asChild ? "template" : e.as;
314
+ return typeof s == "string" && Je.includes(s) ? () => z(s, t) : s !== "template" ? () => z(e.as, t, { default: n.default }) : () => z(Ke, t, { default: n.default });
297
315
  }
298
316
  });
299
- var pt = /* @__PURE__ */ f({
317
+ var Xe = /* @__PURE__ */ p({
300
318
  __name: "Label",
301
319
  props: {
302
320
  for: {
@@ -313,113 +331,112 @@ var pt = /* @__PURE__ */ f({
313
331
  default: "label"
314
332
  }
315
333
  },
316
- setup(s) {
317
- const e = s;
318
- return it(), (o, t) => (r(), h(n(dt), O(e, { onMousedown: t[0] || (t[0] = (l) => {
334
+ setup(e) {
335
+ const t = e;
336
+ return Ge(), (n, s) => (a(), h(o(Qe), x(t, { onMousedown: s[0] || (s[0] = (l) => {
319
337
  !l.defaultPrevented && l.detail > 1 && l.preventDefault();
320
338
  }) }), {
321
- default: k(() => [b(o.$slots, "default")]),
339
+ default: k(() => [f(n.$slots, "default")]),
322
340
  _: 3
323
341
  }, 16));
324
342
  }
325
- }), mt = pt;
326
- const ft = "_label_1ic51_1", bt = {
327
- label: ft
328
- }, yt = /* @__PURE__ */ f({
343
+ }), Ye = Xe;
344
+ const Ze = "_label_1ic51_1", et = {
345
+ label: Ze
346
+ }, tt = /* @__PURE__ */ p({
329
347
  name: "UiLabel",
330
348
  __name: "label",
331
349
  props: {
332
350
  className: {}
333
351
  },
334
- setup(s) {
335
- const e = s, o = a(() => [
336
- bt.label,
337
- e.className
352
+ setup(e) {
353
+ const t = e, n = d(() => [
354
+ et.label,
355
+ t.className
338
356
  ]);
339
- return (t, l) => (r(), h(n(mt), {
340
- class: i(o.value)
357
+ return (s, l) => (a(), h(o(Ye), {
358
+ class: c(n.value)
341
359
  }, {
342
360
  default: k(() => [
343
- b(t.$slots, "default")
361
+ f(s.$slots, "default")
344
362
  ]),
345
363
  _: 3
346
364
  }, 8, ["class"]));
347
365
  }
348
- }), vt = "_content_1g21n_1", kt = "_label_1g21n_12", gt = "_header_1g21n_21", ht = "_headerWrapper_1g21n_29", $t = "_title_1g21n_36", wt = "_subTitleRow_1g21n_44", xt = "_subTitle_1g21n_44", Ct = "_link_1g21n_56", Tt = "_linkUpper_1g21n_73", $ = {
349
- content: vt,
350
- label: kt,
351
- header: gt,
352
- headerWrapper: ht,
353
- title: $t,
354
- subTitleRow: wt,
355
- subTitle: xt,
356
- link: Ct,
357
- linkUpper: Tt
358
- }, Bt = /* @__PURE__ */ f({
366
+ }), nt = "_content_1g21n_1", lt = "_label_1g21n_12", st = "_header_1g21n_21", ot = "_headerWrapper_1g21n_29", at = "_title_1g21n_36", rt = "_subTitleRow_1g21n_44", ct = "_subTitle_1g21n_44", it = "_link_1g21n_56", ut = "_linkUpper_1g21n_73", v = {
367
+ content: nt,
368
+ label: lt,
369
+ header: st,
370
+ headerWrapper: ot,
371
+ title: at,
372
+ subTitleRow: rt,
373
+ subTitle: ct,
374
+ link: it,
375
+ linkUpper: ut
376
+ }, dt = /* @__PURE__ */ p({
359
377
  name: "UiLabelContent",
360
378
  __name: "label-content",
361
379
  emits: ["click"],
362
- setup(s) {
363
- const e = D(), o = a(() => x(e, "header")), t = a(() => x(e)), l = a(() => x(e, "subTitle")), u = a(() => x(e, "link")), c = a(() => o.value || t.value || l.value), _ = a(() => !t.value && !l.value), m = a(
364
- () => [$.link, _.value && $.linkUpper].filter(Boolean)
380
+ setup(e) {
381
+ const t = ee(), n = d(() => t.header || t.title || t.subTitle), s = d(() => !t.title && !t.subTitle), l = d(
382
+ () => [v.link, s.value && v.linkUpper].filter(Boolean)
365
383
  );
366
- return (g, T) => (r(), d("div", {
367
- class: i(n($).content)
384
+ return (r, u) => (a(), _("div", {
385
+ class: c(o(v).content)
368
386
  }, [
369
- c.value ? (r(), d("span", {
387
+ n.value ? (a(), _("span", {
370
388
  key: 0,
371
- class: i(n($).headerWrapper)
389
+ class: c(o(v).headerWrapper)
372
390
  }, [
373
- o.value ? (r(), d("span", {
391
+ r.$slots.header ? (a(), _("span", {
374
392
  key: 0,
375
- class: i(n($).header)
393
+ class: c(o(v).header)
376
394
  }, [
377
- b(g.$slots, "header")
378
- ], 2)) : p("", !0),
379
- t.value ? (r(), d("span", {
395
+ f(r.$slots, "header")
396
+ ], 2)) : m("", !0),
397
+ r.$slots.title ? (a(), _("span", {
380
398
  key: 1,
381
- class: i(n($).title)
399
+ class: c(o(v).title)
382
400
  }, [
383
- b(g.$slots, "default")
384
- ], 2)) : p("", !0),
385
- l.value ? (r(), d("span", {
401
+ f(r.$slots, "default")
402
+ ], 2)) : m("", !0),
403
+ r.$slots.subTitle ? (a(), _("span", {
386
404
  key: 2,
387
- class: i(n($).subTitleRow)
405
+ class: c(o(v).subTitleRow)
388
406
  }, [
389
- q("span", {
390
- class: i(n($).subTitle)
407
+ N("span", {
408
+ class: c(o(v).subTitle)
391
409
  }, [
392
- b(g.$slots, "subTitle")
410
+ f(r.$slots, "subTitle")
393
411
  ], 2)
394
- ], 2)) : p("", !0)
395
- ], 2)) : p("", !0),
396
- u.value ? (r(), d("span", {
412
+ ], 2)) : m("", !0)
413
+ ], 2)) : m("", !0),
414
+ r.$slots.link ? (a(), _("span", {
397
415
  key: 1,
398
- class: i(m.value),
399
- onClick: T[0] || (T[0] = (P) => g.$emit("click"))
416
+ class: c(l.value),
417
+ onClick: u[0] || (u[0] = (b) => r.$emit("click"))
400
418
  }, [
401
- b(g.$slots, "link")
402
- ], 2)) : p("", !0)
419
+ f(r.$slots, "link")
420
+ ], 2)) : m("", !0)
403
421
  ], 2));
404
422
  }
405
- }), Lt = "_wrapper_1i81c_1", St = "_input_1i81c_8", jt = "_error_1i81c_38", It = "_description_1i81c_51", Ut = "_descriptionText_1i81c_62", Nt = "_errorText_1i81c_66", zt = "_inputWrapper_1i81c_70", Et = "_leftSpace_1i81c_74", qt = "_rightSpace_1i81c_78", Ot = "_leftIcon_1i81c_82", Pt = "_rightIcon_1i81c_83", y = {
406
- wrapper: Lt,
407
- input: St,
408
- error: jt,
409
- description: It,
410
- descriptionText: Ut,
411
- errorText: Nt,
412
- inputWrapper: zt,
413
- leftSpace: Et,
414
- rightSpace: qt,
415
- leftIcon: Ot,
416
- rightIcon: Pt
417
- }, Mt = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Vt = ["innerHTML"], Rt = ["innerHTML"], kn = /* @__PURE__ */ f({
423
+ }), _t = "_wrapper_1i81c_1", mt = "_input_1i81c_8", pt = "_error_1i81c_38", ft = "_description_1i81c_51", bt = "_descriptionText_1i81c_62", yt = "_errorText_1i81c_66", gt = "_inputWrapper_1i81c_70", kt = "_leftSpace_1i81c_74", ht = "_rightSpace_1i81c_78", vt = "_leftIcon_1i81c_82", $t = "_rightIcon_1i81c_83", y = {
424
+ wrapper: _t,
425
+ input: mt,
426
+ error: pt,
427
+ description: ft,
428
+ descriptionText: bt,
429
+ errorText: yt,
430
+ inputWrapper: gt,
431
+ leftSpace: kt,
432
+ rightSpace: ht,
433
+ leftIcon: vt,
434
+ rightIcon: $t
435
+ }, wt = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Ct = ["innerHTML"], Tt = ["innerHTML"], nn = /* @__PURE__ */ p({
418
436
  name: "UiInput",
419
437
  __name: "input",
420
- props: {
421
- modelValue: {},
422
- type: {},
438
+ props: /* @__PURE__ */ M({
439
+ type: { default: "text" },
423
440
  id: {},
424
441
  name: {},
425
442
  disabled: { type: Boolean },
@@ -434,126 +451,112 @@ const ft = "_label_1ic51_1", bt = {
434
451
  className: {},
435
452
  leftIcon: {},
436
453
  rightIcon: {}
437
- },
438
- emits: ["update:modelValue", "enter", "clickLink", "clickIcon", "click", "focus", "blur"],
439
- setup(s, { emit: e }) {
440
- const o = s, t = e, {
441
- modelValue: l,
442
- type: u,
443
- id: c,
444
- name: _,
445
- disabled: m,
446
- title: g,
447
- header: T,
448
- subTitle: P,
449
- link: H,
450
- placeholder: X,
451
- loading: F,
452
- error: B,
453
- description: M,
454
- className: Y,
455
- leftIcon: V,
456
- rightIcon: R
457
- } = ve(o), Z = a(() => l.value ?? ""), ee = a(() => u.value ?? "text"), te = ke(), ne = a(() => [
454
+ }, {
455
+ modelValue: { type: String },
456
+ modelModifiers: {}
457
+ }),
458
+ emits: /* @__PURE__ */ M(["update:modelValue", "inputValue", "enter", "clickLink", "clickIcon", "click", "focus", "blur"], ["update:modelValue"]),
459
+ setup(e, { emit: t }) {
460
+ const n = t, s = te(e, "modelValue"), l = ne(), r = d(() => [
458
461
  y.input,
459
462
  {
460
- [y.disabled]: m.value,
461
- [y.error]: B.value,
462
- [y.loading]: F.value,
463
- [y.leftSpace]: !!V.value,
464
- [y.rightSpace]: !!R.value
463
+ [y.disabled]: e.disabled,
464
+ [y.error]: e.error,
465
+ [y.loading]: e.loading,
466
+ [y.leftSpace]: !!e.leftIcon,
467
+ [y.rightSpace]: !!e.rightIcon
465
468
  },
466
- Y.value
467
- ]), se = a(() => T.value || g.value || P.value || H.value), oe = a(() => M.value || B.value), le = (w) => {
468
- w.key === "Enter" && t("enter");
469
- }, re = (w) => {
470
- t("update:modelValue", w.target.value);
471
- }, ae = () => t("focus"), ce = () => t("blur"), ie = () => t("clickLink"), ue = () => t("click"), _e = (w) => {
472
- w.preventDefault(), t("clickIcon");
469
+ e.className
470
+ ]), u = d(() => e.header || e.title || e.subTitle || e.link), b = d(() => e.description || e.error), w = (i) => {
471
+ i.key === "Enter" && n("enter");
472
+ }, D = (i) => {
473
+ n("update:modelValue", i.target.value), n("inputValue", i.target.value);
474
+ }, A = () => n("focus"), R = () => n("blur"), W = () => n("clickLink"), F = () => n("click"), H = (i) => {
475
+ i.preventDefault(), n("clickIcon");
473
476
  };
474
- return (w, mn) => (r(), d("div", {
475
- class: i(n(y).wrapper)
477
+ return (i, Xt) => (a(), _("div", {
478
+ class: c(o(y).wrapper)
476
479
  }, [
477
- se.value ? (r(), h(n(yt), {
480
+ u.value ? (a(), h(o(tt), {
478
481
  key: 0,
479
- for: n(c),
480
- onClick: ie
482
+ for: i.id,
483
+ onClick: W
481
484
  }, {
482
485
  default: k(() => [
483
- I(n(Bt), null, {
486
+ j(o(dt), null, {
484
487
  header: k(() => [
485
- S(j(n(T)), 1)
488
+ T(I(i.header), 1)
486
489
  ]),
487
490
  subTitle: k(() => [
488
- S(j(n(P)), 1)
491
+ T(I(i.subTitle), 1)
489
492
  ]),
490
493
  link: k(() => [
491
- S(j(n(H)), 1)
494
+ T(I(i.link), 1)
492
495
  ]),
493
496
  default: k(() => [
494
- S(" " + j(n(g)) + " ", 1)
497
+ T(" " + I(i.title) + " ", 1)
495
498
  ]),
496
499
  _: 1
497
500
  })
498
501
  ]),
499
502
  _: 1
500
- }, 8, ["for"])) : p("", !0),
501
- q("div", {
502
- class: i(n(y).inputWrapper)
503
+ }, 8, ["for"])) : m("", !0),
504
+ N("div", {
505
+ class: c(o(y).inputWrapper)
503
506
  }, [
504
- n(V) ? (r(), h(n(C), {
507
+ i.leftIcon ? (a(), h(o($), {
505
508
  key: 0,
506
- name: n(V),
507
- class: i(n(y).leftIcon)
508
- }, null, 8, ["name", "class"])) : p("", !0),
509
- q("input", O({
510
- id: n(c),
511
- value: Z.value,
512
- name: n(_),
513
- type: ee.value,
514
- disabled: n(m) || n(F),
515
- placeholder: n(X),
516
- class: ne.value,
517
- "aria-invalid": !!n(B)
518
- }, n(te), {
519
- onInput: re,
520
- onKeydown: le,
521
- onFocus: ae,
522
- onBlur: ce,
523
- onClick: ue
524
- }), null, 16, Mt),
525
- n(R) ? (r(), h(n(C), {
509
+ name: i.leftIcon,
510
+ class: c(o(y).leftIcon)
511
+ }, null, 8, ["name", "class"])) : m("", !0),
512
+ N("input", x({
513
+ id: i.id,
514
+ value: s.value,
515
+ name: i.name,
516
+ type: i.type,
517
+ disabled: i.disabled || i.loading,
518
+ placeholder: i.placeholder,
519
+ class: r.value,
520
+ "aria-invalid": !!i.error
521
+ }, o(l), {
522
+ onInput: D,
523
+ onKeydown: w,
524
+ onFocus: A,
525
+ onBlur: R,
526
+ onClick: F
527
+ }), null, 16, wt),
528
+ i.rightIcon ? (a(), h(o($), {
526
529
  key: 1,
527
- name: n(R),
528
- class: i(n(y).rightIcon),
529
- onClick: _e
530
- }, null, 8, ["name", "class"])) : p("", !0)
530
+ name: i.rightIcon,
531
+ class: c(o(y).rightIcon),
532
+ onClick: H
533
+ }, null, 8, ["name", "class"])) : m("", !0)
531
534
  ], 2),
532
- oe.value ? (r(), d("div", {
535
+ b.value ? (a(), _("div", {
533
536
  key: 1,
534
- class: i(n(y).description)
537
+ class: c(o(y).description)
535
538
  }, [
536
- n(B) ? (r(), d("div", {
539
+ i.error ? (a(), _("div", {
537
540
  key: 0,
538
- class: i(n(y).errorText),
539
- innerHTML: n(B)
540
- }, null, 10, Vt)) : p("", !0),
541
- n(M) ? (r(), d("div", {
541
+ class: c(o(y).errorText),
542
+ innerHTML: i.error
543
+ }, null, 10, Ct)) : m("", !0),
544
+ i.description ? (a(), _("div", {
542
545
  key: 1,
543
- class: i(n(y).descriptionText),
544
- innerHTML: n(M)
545
- }, null, 10, Rt)) : p("", !0)
546
- ], 2)) : p("", !0)
546
+ class: c(o(y).descriptionText),
547
+ innerHTML: i.description
548
+ }, null, 10, Tt)) : m("", !0)
549
+ ], 2)) : m("", !0)
547
550
  ], 2));
548
551
  }
549
- }), At = "_plank_1yp3k_1", Wt = "_accent_1yp3k_26", Dt = "_danger_1yp3k_32", Ht = "_text_1yp3k_38", Ft = "_icon_1yp3k_42", U = {
550
- plank: At,
552
+ }), It = "_plank_1yp3k_1", jt = "_accent_1yp3k_26", Bt = "_danger_1yp3k_32", Lt = "_text_1yp3k_38", Ut = "_icon_1yp3k_42", B = {
553
+ plank: It,
551
554
  default: "_default_1yp3k_20",
552
- accent: Wt,
553
- danger: Dt,
554
- text: Ht,
555
- icon: Ft
556
- }, gn = /* @__PURE__ */ f({
555
+ accent: jt,
556
+ danger: Bt,
557
+ text: Lt,
558
+ icon: Ut
559
+ }, ln = /* @__PURE__ */ p({
557
560
  name: "UiPlank",
558
561
  __name: "plank",
559
562
  props: {
@@ -562,43 +565,46 @@ const ft = "_label_1ic51_1", bt = {
562
565
  label: {}
563
566
  },
564
567
  emits: ["click"],
565
- setup(s) {
566
- const e = s, o = D(), t = a(() => x(o)), l = a(() => [U.plank, U[e.type]]);
567
- return (u, c) => (r(), d("div", {
568
- class: i(l.value)
568
+ setup(e) {
569
+ const t = d(() => [
570
+ B.plank,
571
+ B[e.type]
572
+ ]);
573
+ return (n, s) => (a(), _("div", {
574
+ class: c(t.value)
569
575
  }, [
570
- u.icon ? (r(), d("div", {
576
+ n.icon ? (a(), _("div", {
571
577
  key: 0,
572
- class: i(n(U).icon)
578
+ class: c(o(B).icon)
573
579
  }, [
574
- I(n(C), { name: u.icon }, null, 8, ["name"])
575
- ], 2)) : p("", !0),
576
- t.value ? (r(), d("div", {
580
+ j(o($), { name: n.icon }, null, 8, ["name"])
581
+ ], 2)) : m("", !0),
582
+ n.$slots.default ? (a(), _("div", {
577
583
  key: 1,
578
- class: i(n(U).text)
584
+ class: c(o(B).text)
579
585
  }, [
580
- b(u.$slots, "default")
581
- ], 2)) : p("", !0),
582
- u.label ? (r(), h(n(J), {
586
+ f(n.$slots, "default")
587
+ ], 2)) : m("", !0),
588
+ n.label ? (a(), h(o(O), {
583
589
  key: 2,
584
590
  size: "xs",
585
591
  type: "secondary",
586
- onClick: c[0] || (c[0] = (_) => u.$emit("click"))
592
+ onClick: s[0] || (s[0] = (l) => n.$emit("click"))
587
593
  }, {
588
594
  default: k(() => [
589
- S(j(u.label), 1)
595
+ T(I(n.label), 1)
590
596
  ]),
591
597
  _: 1
592
- })) : p("", !0)
598
+ })) : m("", !0)
593
599
  ], 2));
594
600
  }
595
- }), Gt = "_text_dbd8t_1", Kt = "_primary_dbd8t_10", Jt = "_medium_dbd8t_15", Qt = "_secondary_dbd8t_20", Xt = "_accent_dbd8t_30", Yt = "_subtitle_dbd8t_40", N = {
596
- text: Gt,
597
- primary: Kt,
598
- medium: Jt,
599
- secondary: Qt,
600
- accent: Xt,
601
- subtitle: Yt,
601
+ }), St = "_text_dbd8t_1", Nt = "_primary_dbd8t_10", xt = "_medium_dbd8t_15", zt = "_secondary_dbd8t_20", Et = "_accent_dbd8t_30", Mt = "_subtitle_dbd8t_40", L = {
602
+ text: St,
603
+ primary: Nt,
604
+ medium: xt,
605
+ secondary: zt,
606
+ accent: Et,
607
+ subtitle: Mt,
602
608
  "color-main": "_color-main_dbd8t_46",
603
609
  "color-secondary": "_color-secondary_dbd8t_50",
604
610
  "color-semilight": "_color-semilight_dbd8t_54",
@@ -606,7 +612,7 @@ const ft = "_label_1ic51_1", bt = {
606
612
  "color-invert": "_color-invert_dbd8t_62",
607
613
  "color-danger": "_color-danger_dbd8t_66",
608
614
  "color-success": "_color-success_dbd8t_70"
609
- }, hn = /* @__PURE__ */ f({
615
+ }, sn = /* @__PURE__ */ p({
610
616
  name: "UiText",
611
617
  __name: "text",
612
618
  props: {
@@ -615,26 +621,26 @@ const ft = "_label_1ic51_1", bt = {
615
621
  weight: {},
616
622
  color: {}
617
623
  },
618
- setup(s) {
619
- const e = s, o = a(() => [
620
- N.text,
621
- N[e.kind],
622
- e.weight && N[e.weight],
623
- e.color && N[`color-${e.color}`]
624
+ setup(e) {
625
+ const t = d(() => [
626
+ L.text,
627
+ L[e.kind],
628
+ e.weight && L[e.weight],
629
+ e.color && L[`color-${e.color}`]
624
630
  ]);
625
- return (t, l) => (r(), h(K(t.tagName), {
626
- class: i(o.value)
631
+ return (n, s) => (a(), h(q(n.tagName), {
632
+ class: c(t.value)
627
633
  }, {
628
634
  default: k(() => [
629
- b(t.$slots, "default")
635
+ f(n.$slots, "default")
630
636
  ]),
631
637
  _: 3
632
638
  }, 8, ["class"]));
633
639
  }
634
- }), Zt = "_title_1m0wo_1", en = "_medium_1m0wo_15", z = {
635
- title: Zt,
640
+ }), Vt = "_title_1m0wo_1", qt = "_medium_1m0wo_15", U = {
641
+ title: Vt,
636
642
  "level-1": "_level-1_1m0wo_10",
637
- medium: en,
643
+ medium: qt,
638
644
  "level-2": "_level-2_1m0wo_20",
639
645
  "level-3": "_level-3_1m0wo_30",
640
646
  "level-4": "_level-4_1m0wo_40",
@@ -645,7 +651,7 @@ const ft = "_label_1ic51_1", bt = {
645
651
  "color-invert": "_color-invert_1m0wo_66",
646
652
  "color-danger": "_color-danger_1m0wo_70",
647
653
  "color-success": "_color-success_1m0wo_74"
648
- }, $n = /* @__PURE__ */ f({
654
+ }, on = /* @__PURE__ */ p({
649
655
  name: "UiTitle",
650
656
  __name: "title",
651
657
  props: {
@@ -654,110 +660,110 @@ const ft = "_label_1ic51_1", bt = {
654
660
  weight: {},
655
661
  color: {}
656
662
  },
657
- setup(s) {
658
- const e = s, o = a(() => [
659
- z.title,
660
- z[`level-${e.level ?? 1}`],
661
- e.className,
662
- e.weight && z[e.weight],
663
- e.color && z[`color-${e.color}`]
664
- ]), t = a(() => `h${e.level ?? 1}`);
665
- return (l, u) => (r(), h(K(t.value), {
666
- class: i(o.value)
663
+ setup(e) {
664
+ const t = e, n = d(() => [
665
+ U.title,
666
+ U[`level-${t.level ?? 1}`],
667
+ t.className,
668
+ t.weight && U[t.weight],
669
+ t.color && U[`color-${t.color}`]
670
+ ]), s = d(() => `h${t.level ?? 1}`);
671
+ return (l, r) => (a(), h(q(s.value), {
672
+ class: c(n.value)
667
673
  }, {
668
674
  default: k(() => [
669
- b(l.$slots, "default")
675
+ f(l.$slots, "default")
670
676
  ]),
671
677
  _: 3
672
678
  }, 8, ["class"]));
673
679
  }
674
- }), tn = "_error_lk2jx_1", nn = {
675
- error: tn
676
- }, wn = /* @__PURE__ */ f({
680
+ }), Ot = "_error_lk2jx_1", Pt = {
681
+ error: Ot
682
+ }, an = /* @__PURE__ */ p({
677
683
  name: "UiError",
678
684
  __name: "error",
679
685
  props: {
680
686
  className: {}
681
687
  },
682
- setup(s) {
683
- const e = s, o = a(() => [
684
- nn.error,
685
- e.className
688
+ setup(e) {
689
+ const t = e, n = d(() => [
690
+ Pt.error,
691
+ t.className
686
692
  ]);
687
- return (t, l) => (r(), d("span", {
688
- class: i(o.value)
693
+ return (s, l) => (a(), _("span", {
694
+ class: c(n.value)
689
695
  }, [
690
- b(t.$slots, "default")
696
+ f(s.$slots, "default")
691
697
  ], 2));
692
698
  }
693
- }), sn = "_root_1tj1b_1", on = "_xxs_1tj1b_26", ln = "_xs_1tj1b_30", rn = "_s_1tj1b_16", an = "_m_1tj1b_38", cn = "_l_1tj1b_42", un = "_square_1tj1b_45", _n = "_xl_1tj1b_50", dn = "_xxl_1tj1b_58", E = {
694
- root: sn,
699
+ }), Dt = "_root_1tj1b_1", At = "_xxs_1tj1b_26", Rt = "_xs_1tj1b_30", Wt = "_s_1tj1b_16", Ft = "_m_1tj1b_38", Ht = "_l_1tj1b_42", Gt = "_square_1tj1b_45", Kt = "_xl_1tj1b_50", Jt = "_xxl_1tj1b_58", S = {
700
+ root: Dt,
695
701
  default: "_default_1tj1b_14",
696
- xxs: on,
697
- xs: ln,
698
- s: rn,
699
- m: an,
700
- l: cn,
701
- square: un,
702
- xl: _n,
703
- xxl: dn,
702
+ xxs: At,
703
+ xs: Rt,
704
+ s: Wt,
705
+ m: Ft,
706
+ l: Ht,
707
+ square: Gt,
708
+ xl: Kt,
709
+ xxl: Jt,
704
710
  "3xl": "_3xl_1tj1b_66"
705
- }, pn = ["src"], xn = /* @__PURE__ */ f({
711
+ }, Qt = ["src"], rn = /* @__PURE__ */ p({
706
712
  name: "UiAvatar",
707
713
  __name: "avatar",
708
714
  props: {
709
- src: { default: void 0 },
715
+ src: {},
710
716
  size: { default: "xxs" },
711
717
  square: { type: Boolean, default: !1 }
712
718
  },
713
- setup(s) {
714
- const e = s, o = W(!e.src), t = W(!1), l = a(() => e.src && !t.value), u = a(() => {
715
- const m = !o.value || t.value || !e.src;
719
+ setup(e) {
720
+ const t = E(!e.src), n = E(!1), s = d(() => e.src && !n.value), l = d(() => {
721
+ const b = !t.value || n.value || !e.src;
716
722
  return [
717
- E.root,
718
- E[e.size],
719
- e.square && E.square,
720
- m && E.default
723
+ S.root,
724
+ S[e.size],
725
+ e.square && S.square,
726
+ b && S.default
721
727
  ];
722
728
  });
723
- ge(
729
+ le(
724
730
  () => e.src,
725
- (m) => {
726
- o.value = !m, t.value = !1;
731
+ (b) => {
732
+ t.value = !b, n.value = !1;
727
733
  },
728
734
  { immediate: !0 }
729
735
  );
730
- function c() {
731
- o.value = !0;
732
- }
733
- function _() {
736
+ function r() {
734
737
  t.value = !0;
735
738
  }
736
- return (m, g) => (r(), d("div", {
737
- class: i(u.value)
739
+ function u() {
740
+ n.value = !0;
741
+ }
742
+ return (b, w) => (a(), _("div", {
743
+ class: c(l.value)
738
744
  }, [
739
- l.value ? (r(), d("img", {
745
+ s.value ? (a(), _("img", {
740
746
  key: 0,
741
- src: m.src,
742
- onLoad: c,
743
- onError: _
744
- }, null, 40, pn)) : p("", !0),
745
- b(m.$slots, "default")
747
+ src: b.src,
748
+ onLoad: r,
749
+ onError: u
750
+ }, null, 40, Qt)) : m("", !0),
751
+ f(b.$slots, "default")
746
752
  ], 2));
747
753
  }
748
754
  });
749
755
  export {
750
- xn as UiAvatar,
751
- J as UiButton,
752
- yn as UiButtonIcon,
753
- vn as UiButtonLink,
754
- wn as UiError,
755
- C as UiIcon,
756
- kn as UiInput,
757
- yt as UiLabel,
758
- Se as UiLoader,
759
- gn as UiPlank,
760
- hn as UiText,
761
- $n as UiTitle,
762
- bn as injectSvgSprite
756
+ rn as UiAvatar,
757
+ O as UiButton,
758
+ en as UiButtonIcon,
759
+ tn as UiButtonLink,
760
+ an as UiError,
761
+ $ as UiIcon,
762
+ nn as UiInput,
763
+ tt as UiLabel,
764
+ _e as UiLoader,
765
+ ln as UiPlank,
766
+ sn as UiText,
767
+ on as UiTitle,
768
+ Zt as injectSvgSprite
763
769
  };