@huntflow/ui 0.1.2 → 0.1.4

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,5 +1,5 @@
1
- (function(){"use strict";var o;try{if(typeof document<"u"){var t=document.createElement("style");t.nonce=(o=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:o.content,t.appendChild(document.createTextNode("@keyframes _loader-animation_t6bg6_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._loader_t6bg6_10{display:block;color:var(--hf-loader-color);flex:0 0 auto}._circle_t6bg6_15{animation-name:_loader-animation_t6bg6_1;animation-iteration-count:infinite;animation-duration:1s;animation-timing-function:linear}._white_t6bg6_22{--hf-loader-color: var(--hf-color-text-invert)}._black_t6bg6_26{--hf-loader-color: var(--hf-color-text-main)}._s_t6bg6_30{width:18px;height:18px}._m_t6bg6_35{width:28px;height:28px}._l_t6bg6_10{width:56px;height:56px}._spinner_t6bg6_45{display:inline-block;border:1px solid var(--hf-loader-color);border-top-color:transparent;border-left-color:transparent;border-radius:50%}._icon_1p8iz_2{font-style:normal;display:inline-block;vertical-align:middle}._button_8zhhb_1{position:relative;display:inline-flex;align-items:center;justify-content:center;border:solid 1px;cursor:pointer;font-family:var(--hf-font-family-body),sans-serif;font-style:normal;min-width:-moz-max-content;min-width:max-content;text-decoration:none;color:inherit;gap:var(--hf-spacing-button-icon)}._button_8zhhb_1:active{background-color:#999}._button_8zhhb_1:focus{outline:none}._button_8zhhb_1:focus-visible{outline:solid 3px var(--hf-color-button-disable-default)}._button_8zhhb_1:is(._disabled_8zhhb_1),._button_8zhhb_1:is(._disabled_8zhhb_1):hover{background:var(--hf-color-button-disable-default);border-color:transparent;color:var(--hf-color-text-light);box-shadow:none;transform:none;cursor:default}._button_8zhhb_1._loading_8zhhb_1{cursor:default}._button_8zhhb_1._loading_8zhhb_1>*:not(._loader_8zhhb_1){visibility:hidden}._button_8zhhb_1+._button_8zhhb_1{margin-left:var(--hf-spacing-button-between)}._content_8zhhb_1{display:flex;line-height:inherit}._content_8zhhb_1:first-child:last-child{width:100%;text-align:center}._loader_8zhhb_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}._dropdownIcon_8zhhb_1{margin-left:calc(var(--hf-spacing-button-icon) * -1)}._s_8zhhb_2{border-radius:var(--hf-radius-button-s);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)}._xs_8zhhb_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_8zhhb_1._square_8zhhb_1{border-radius:var(--hf-radius-button-xs)}._xs_8zhhb_1._circle_8zhhb_1{border-radius:var(--hf-radius-button-circle)}._m_8zhhb_1{border-radius:var(--hf-radius-button-m);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)}._l_8zhhb_1{border-radius:var(--hf-radius-button-l);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)}._primary_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_8zhhb_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_8zhhb_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._secondary_8zhhb_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_8zhhb_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_8zhhb_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._accent_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_8zhhb_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_8zhhb_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._danger_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_8zhhb_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_8zhhb_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._jobsites_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_8zhhb_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_8zhhb_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._ghost_8zhhb_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost_8zhhb_1:hover{background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_8zhhb_1:active{background-color:var(--hf-color-button-secondary-fill-active)}._ghost-danger_8zhhb_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost-danger_8zhhb_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_8zhhb_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_1oi85_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_1oi85_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs);border-radius:var(--hf-radius-button-circle)}._m_1oi85_20{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_1oi85_25{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_1oi85_31{padding:0}._button_1vqio_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-spacing-button-link-s);align-items:center;background-color:transparent;color:var(--hf-color-link-default);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)}._button_1vqio_1:hover{color:var(--hf-color-link-hover)}._label_4sgbr_1{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);font-style:normal;flex:1;margin-bottom:var(--hf-spacing-xs)}._header_4sgbr_10{display:block;color:var(--hf-color-text-main);font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4);line-height:var(--hf-font-line-height-text-h4)}._headerWrapper_4sgbr_18{flex-grow:1;gap:var(--hf-spacing-xs);display:flex;flex-direction:column}._title_4sgbr_25{display:block;color:var(--hf-color-text-main);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)}._subTitleRow_4sgbr_33{display:flex;justify-content:space-between;font-size:var(--hf-font-size-label-subtitle);color:var(--hf-color-text-semilight);font-weight:var(--hf-font-weight-label-subtitle)}._subTitle_4sgbr_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_4sgbr_45{overflow:hidden;text-overflow:ellipsis;font-size:var(--hf-font-size-label-title);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-semilight);font-weight:var(--hf-font-weight-label-subtitle);margin-left:auto;align-self:flex-end;height:20px}._link_4sgbr_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_4sgbr_62{margin-bottom:1px}._wrapper_ep5oa_1{margin-bottom:var(--hf-spacing-xs)}._input_ep5oa_5{border-radius:var(--hf-radius-input-default);border:var(--hf-border-xs) solid var(--hf-color-input-border-default);background:var(--hf-color-input-background-default);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);width:100%;box-sizing:border-box;color:var(--hf-color-input-text-default);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)}._input_ep5oa_5:active{border-color:var(--hf-color-input-border-focus)}._input_ep5oa_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_ep5oa_5:disabled{outline:none;border-color:var(--hf-color-input-text-disable);background:var(--hf-color-input-background-disable);color:var(--hf-color-input-text-disable)}._error_ep5oa_36,._error_ep5oa_36:active{border-color:var(--hf-color-input-border-error)}._error_ep5oa_36:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_ep5oa_48{margin-top:var(--hf-spacing-xs);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)}._description_ep5oa_48 a{text-decoration:underline}._descriptionText_ep5oa_59{color:var(--hf-color-input-text-description)}._errorText_ep5oa_63{color:var(--hf-color-text-danger)}._inputWrapper_ep5oa_67{position:relative}._leftSpace_ep5oa_71{padding-left:42px}._rightSpace_ep5oa_75{padding-right:42px}._leftIcon_ep5oa_79,._rightIcon_ep5oa_80{position:absolute;height:100%}._leftIcon_ep5oa_79{left:15px}._rightIcon_ep5oa_80{padding:0 9px;right:0}._rightIcon_ep5oa_80[aria-label^=close]{color:var(--hf-color-text-light);cursor:pointer}._plank_8tn62_1{border-radius:var(--hf-radius-m);padding:var(--hf-spacing-m) var(--hf-spacing-l);border-width:1px;border-style:solid;font-family:var(--hf-font-family-body),sans-serif;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);font-style:normal;display:flex;flex-direction:row;gap:var(--hf-spacing-m);align-items:center;justify-content:space-between}._default_8tn62_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_8tn62_25{color:var(--hf-color-plank-success-text);border-color:var(--hf-color-plank-success-border);background-color:var(--hf-color-plank-success-background)}._danger_8tn62_31{color:var(--hf-color-plank-danger-text);border-color:var(--hf-color-plank-danger-border);background-color:var(--hf-color-plank-danger-background)}._text_8tn62_37{flex-grow:1}._icon_8tn62_41{width:var(--hf-font-line-height-text-primary);height:var(--hf-font-line-height-text-primary)}._text_1mrtv_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._primary_1mrtv_8{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_1mrtv_8._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_1mrtv_17{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_1mrtv_17._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_1mrtv_26{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_1mrtv_26._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_1mrtv_35{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)}._title_471uj_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._level-1_471uj_8{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_471uj_8._medium_471uj_12{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_471uj_17{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_471uj_17._medium_471uj_12{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_471uj_26{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_471uj_26._medium_471uj_12{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_471uj_35{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_471uj_35._medium_471uj_12{font-weight:var(--hf-font-weight-text-h4-medium)}")),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { defineComponent as b, computed as u, createElementBlock as m, openBlock as c, normalizeClass as i, unref as l, normalizeStyle as K, createElementVNode as L, useSlots as P, createCommentVNode as p, renderSlot as y, createBlock as k, createVNode as j, mergeProps as U, withCtx as v, Fragment as J, Comment as Q, cloneVNode as X, h as M, toValue as Y, getCurrentInstance as Z, ref as ee, mergeModels as W, useAttrs as te, useModel as ne, createTextVNode as I, toDisplayString as S, resolveDynamicComponent as H } from "vue";
1
+ (function(){"use strict";var o;try{if(typeof document<"u"){var t=document.createElement("style");t.nonce=(o=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:o.content,t.appendChild(document.createTextNode("@keyframes _loader-animation_t6bg6_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._loader_t6bg6_10{display:block;color:var(--hf-loader-color);flex:0 0 auto}._circle_t6bg6_15{animation-name:_loader-animation_t6bg6_1;animation-iteration-count:infinite;animation-duration:1s;animation-timing-function:linear}._white_t6bg6_22{--hf-loader-color: var(--hf-color-text-invert)}._black_t6bg6_26{--hf-loader-color: var(--hf-color-text-main)}._s_t6bg6_30{width:18px;height:18px}._m_t6bg6_35{width:28px;height:28px}._l_t6bg6_10{width:56px;height:56px}._spinner_t6bg6_45{display:inline-block;border:1px solid var(--hf-loader-color);border-top-color:transparent;border-left-color:transparent;border-radius:50%}._icon_1p8iz_2{font-style:normal;display:inline-block;vertical-align:middle}._button_8zhhb_1{position:relative;display:inline-flex;align-items:center;justify-content:center;border:solid 1px;cursor:pointer;font-family:var(--hf-font-family-body),sans-serif;font-style:normal;min-width:-moz-max-content;min-width:max-content;text-decoration:none;color:inherit;gap:var(--hf-spacing-button-icon)}._button_8zhhb_1:active{background-color:#999}._button_8zhhb_1:focus{outline:none}._button_8zhhb_1:focus-visible{outline:solid 3px var(--hf-color-button-disable-default)}._button_8zhhb_1:is(._disabled_8zhhb_1),._button_8zhhb_1:is(._disabled_8zhhb_1):hover{background:var(--hf-color-button-disable-default);border-color:transparent;color:var(--hf-color-text-light);box-shadow:none;transform:none;cursor:default}._button_8zhhb_1._loading_8zhhb_1{cursor:default}._button_8zhhb_1._loading_8zhhb_1>*:not(._loader_8zhhb_1){visibility:hidden}._button_8zhhb_1+._button_8zhhb_1{margin-left:var(--hf-spacing-button-between)}._content_8zhhb_1{display:flex;line-height:inherit}._content_8zhhb_1:first-child:last-child{width:100%;text-align:center}._loader_8zhhb_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}._dropdownIcon_8zhhb_1{margin-left:calc(var(--hf-spacing-button-icon) * -1)}._s_8zhhb_2{border-radius:var(--hf-radius-button-s);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)}._xs_8zhhb_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_8zhhb_1._square_8zhhb_1{border-radius:var(--hf-radius-button-xs)}._xs_8zhhb_1._circle_8zhhb_1{border-radius:var(--hf-radius-button-circle)}._m_8zhhb_1{border-radius:var(--hf-radius-button-m);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)}._l_8zhhb_1{border-radius:var(--hf-radius-button-l);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)}._primary_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_8zhhb_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_8zhhb_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._secondary_8zhhb_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_8zhhb_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_8zhhb_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._accent_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_8zhhb_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_8zhhb_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._danger_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_8zhhb_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_8zhhb_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._jobsites_8zhhb_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_8zhhb_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_8zhhb_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._ghost_8zhhb_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost_8zhhb_1:hover{background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_8zhhb_1:active{background-color:var(--hf-color-button-secondary-fill-active)}._ghost-danger_8zhhb_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost-danger_8zhhb_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_8zhhb_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_1oi85_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_1oi85_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs);border-radius:var(--hf-radius-button-circle)}._m_1oi85_20{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_1oi85_25{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_1oi85_31{padding:0}._button_1vqio_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-spacing-button-link-s);align-items:center;background-color:transparent;color:var(--hf-color-link-default);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)}._button_1vqio_1:hover{color:var(--hf-color-link-hover)}._label_1a45q_1{color:var(--hf-color-text-main);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)}._content_14uwa_1{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);flex:1;margin-bottom:var(--hf-spacing-xs)}._label_14uwa_9{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);font-style:normal;flex:1;margin-bottom:var(--hf-spacing-xs)}._header_14uwa_18{display:block;color:var(--hf-color-text-main);font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4);line-height:var(--hf-font-line-height-text-h4)}._headerWrapper_14uwa_26{flex-grow:1;gap:var(--hf-spacing-xs);display:flex;flex-direction:column}._title_14uwa_33{display:block;color:var(--hf-color-text-main);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)}._subTitleRow_14uwa_41{display:flex;justify-content:space-between;font-size:var(--hf-font-size-label-subtitle);color:var(--hf-color-text-semilight);font-weight:var(--hf-font-weight-label-subtitle)}._subTitle_14uwa_41{line-height:var(--hf-font-line-height-label-subtitle)}._link_14uwa_53{overflow:hidden;text-overflow:ellipsis;font-size:var(--hf-font-size-label-title);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-semilight);font-weight:var(--hf-font-weight-label-subtitle);margin-left:auto;align-self:flex-end;height:20px}._link_14uwa_53 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_14uwa_70{margin-bottom:1px}._wrapper_ep5oa_1{margin-bottom:var(--hf-spacing-xs)}._input_ep5oa_5{border-radius:var(--hf-radius-input-default);border:var(--hf-border-xs) solid var(--hf-color-input-border-default);background:var(--hf-color-input-background-default);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);width:100%;box-sizing:border-box;color:var(--hf-color-input-text-default);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)}._input_ep5oa_5:active{border-color:var(--hf-color-input-border-focus)}._input_ep5oa_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_ep5oa_5:disabled{outline:none;border-color:var(--hf-color-input-text-disable);background:var(--hf-color-input-background-disable);color:var(--hf-color-input-text-disable)}._error_ep5oa_36,._error_ep5oa_36:active{border-color:var(--hf-color-input-border-error)}._error_ep5oa_36:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_ep5oa_48{margin-top:var(--hf-spacing-xs);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)}._description_ep5oa_48 a{text-decoration:underline}._descriptionText_ep5oa_59{color:var(--hf-color-input-text-description)}._errorText_ep5oa_63{color:var(--hf-color-text-danger)}._inputWrapper_ep5oa_67{position:relative}._leftSpace_ep5oa_71{padding-left:42px}._rightSpace_ep5oa_75{padding-right:42px}._leftIcon_ep5oa_79,._rightIcon_ep5oa_80{position:absolute;height:100%}._leftIcon_ep5oa_79{left:15px}._rightIcon_ep5oa_80{padding:0 9px;right:0}._rightIcon_ep5oa_80[aria-label^=close]{color:var(--hf-color-text-light);cursor:pointer}._plank_8tn62_1{border-radius:var(--hf-radius-m);padding:var(--hf-spacing-m) var(--hf-spacing-l);border-width:1px;border-style:solid;font-family:var(--hf-font-family-body),sans-serif;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);font-style:normal;display:flex;flex-direction:row;gap:var(--hf-spacing-m);align-items:center;justify-content:space-between}._default_8tn62_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_8tn62_25{color:var(--hf-color-plank-success-text);border-color:var(--hf-color-plank-success-border);background-color:var(--hf-color-plank-success-background)}._danger_8tn62_31{color:var(--hf-color-plank-danger-text);border-color:var(--hf-color-plank-danger-border);background-color:var(--hf-color-plank-danger-background)}._text_8tn62_37{flex-grow:1}._icon_8tn62_41{width:var(--hf-font-line-height-text-primary);height:var(--hf-font-line-height-text-primary)}._text_1mrtv_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._primary_1mrtv_8{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_1mrtv_8._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_1mrtv_17{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_1mrtv_17._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_1mrtv_26{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_1mrtv_26._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_1mrtv_35{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)}._title_471uj_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._level-1_471uj_8{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_471uj_8._medium_471uj_12{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_471uj_17{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_471uj_17._medium_471uj_12{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_471uj_26{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_471uj_26._medium_471uj_12{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_471uj_35{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_471uj_35._medium_471uj_12{font-weight:var(--hf-font-weight-text-h4-medium)}._error_2tdd3_1{display:inline-block;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)}")),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { defineComponent as f, computed as u, createElementBlock as p, openBlock as a, normalizeClass as i, unref as l, normalizeStyle as K, createElementVNode as j, useSlots as P, createCommentVNode as m, renderSlot as b, createBlock as k, createVNode as B, mergeProps as U, withCtx as v, Fragment as J, Comment as Q, cloneVNode as X, h as M, toValue as Y, getCurrentInstance as Z, ref as ee, mergeModels as W, useAttrs as te, useModel as ne, createTextVNode as I, toDisplayString as S, resolveDynamicComponent as H } from "vue";
3
3
  const C = (s, e) => {
4
4
  const t = e ? s[e] : s.default;
5
5
  return (t == null ? void 0 : t().some((n) => {
@@ -16,7 +16,7 @@ const C = (s, e) => {
16
16
  m: ce,
17
17
  l: ie,
18
18
  spinner: ue
19
- }, de = /* @__PURE__ */ b({
19
+ }, de = /* @__PURE__ */ f({
20
20
  __name: "loader",
21
21
  props: {
22
22
  className: {},
@@ -25,11 +25,11 @@ const C = (s, e) => {
25
25
  },
26
26
  setup(s) {
27
27
  const e = s, t = u(() => [z.loader, z[e.size], z[e.color], z.circle]);
28
- return (n, o) => (c(), m("span", {
28
+ return (n, o) => (a(), p("span", {
29
29
  class: i([l(z).spinner, t.value])
30
30
  }, null, 2));
31
31
  }
32
- }), _e = ["aria-label", "width", "height"], pe = ["xlink:href"], me = /* @__PURE__ */ b({
32
+ }), _e = ["aria-label", "width", "height"], pe = ["xlink:href"], me = /* @__PURE__ */ f({
33
33
  __name: "icon",
34
34
  props: {
35
35
  name: {},
@@ -38,14 +38,14 @@ const C = (s, e) => {
38
38
  },
39
39
  setup(s) {
40
40
  const e = s, t = u(() => {
41
- var a;
42
- const o = (a = e == null ? void 0 : e.name) == null ? void 0 : a.match(/(\d+)$/);
41
+ var r;
42
+ const o = (r = e == null ? void 0 : e.name) == null ? void 0 : r.match(/(\d+)$/);
43
43
  return o ? Number.parseInt(o[1], 10) : 16;
44
44
  }), n = u(() => {
45
45
  const o = {};
46
46
  return e.color && (o.color = e.color), e.block && (o.display = "block"), o;
47
47
  });
48
- return (o, a) => (c(), m("svg", {
48
+ return (o, r) => (a(), p("svg", {
49
49
  class: i(o.$style.icon),
50
50
  "aria-label": o.name,
51
51
  style: K(n.value),
@@ -53,7 +53,7 @@ const C = (s, e) => {
53
53
  width: t.value,
54
54
  height: t.value
55
55
  }, [
56
- L("use", {
56
+ j("use", {
57
57
  "xlink:href": `#${o.name}`
58
58
  }, null, 8, pe)
59
59
  ], 14, _e));
@@ -67,7 +67,7 @@ const C = (s, e) => {
67
67
  return t;
68
68
  }, ye = {
69
69
  $style: be
70
- }, T = /* @__PURE__ */ he(me, [["__cssModules", ye]]), Et = async () => {
70
+ }, T = /* @__PURE__ */ he(me, [["__cssModules", ye]]), Ht = async () => {
71
71
  if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
72
72
  try {
73
73
  const e = `
@@ -79,9 +79,9 @@ const C = (s, e) => {
79
79
  } catch (s) {
80
80
  console.error("Failed to load SVG sprite:", s);
81
81
  }
82
- }, ge = "_button_8zhhb_1", ve = "_disabled_8zhhb_1", ke = "_loading_8zhhb_1", $e = "_loader_8zhhb_1", we = "_content_8zhhb_1", Ce = "_dropdownIcon_8zhhb_1", Te = "_s_8zhhb_2", ze = "_xs_8zhhb_1", Ie = "_square_8zhhb_1", Se = "_circle_8zhhb_1", Be = "_m_8zhhb_1", Ne = "_l_8zhhb_1", Le = "_primary_8zhhb_1", je = "_secondary_8zhhb_1", Ue = "_accent_8zhhb_1", Me = "_danger_8zhhb_1", Ee = "_jobsites_8zhhb_1", Oe = "_ghost_8zhhb_1", h = {
83
- button: ge,
84
- disabled: ve,
82
+ }, ve = "_button_8zhhb_1", ge = "_disabled_8zhhb_1", ke = "_loading_8zhhb_1", $e = "_loader_8zhhb_1", we = "_content_8zhhb_1", Ce = "_dropdownIcon_8zhhb_1", Te = "_s_8zhhb_2", ze = "_xs_8zhhb_1", Ie = "_square_8zhhb_1", Se = "_circle_8zhhb_1", Be = "_m_8zhhb_1", Ne = "_l_8zhhb_1", Le = "_primary_8zhhb_1", je = "_secondary_8zhhb_1", Ue = "_accent_8zhhb_1", Me = "_danger_8zhhb_1", Ee = "_jobsites_8zhhb_1", Oe = "_ghost_8zhhb_1", y = {
83
+ button: ve,
84
+ disabled: ge,
85
85
  loading: ke,
86
86
  loader: $e,
87
87
  content: we,
@@ -99,7 +99,7 @@ const C = (s, e) => {
99
99
  jobsites: Ee,
100
100
  ghost: Oe,
101
101
  "ghost-danger": "_ghost-danger_8zhhb_1"
102
- }, Pe = ["name", "type", "disabled"], V = /* @__PURE__ */ b({
102
+ }, Pe = ["name", "type", "disabled"], V = /* @__PURE__ */ f({
103
103
  __name: "button",
104
104
  props: {
105
105
  size: { default: "m" },
@@ -124,48 +124,48 @@ const C = (s, e) => {
124
124
  jobsites: "white",
125
125
  ghost: "black",
126
126
  "ghost-danger": "black"
127
- }, o = u(() => C(t)), a = u(() => [
128
- h.button,
129
- h[e.size],
130
- h[e.type],
131
- e.circle ? [h.circle] : [h.square],
127
+ }, o = u(() => C(t)), r = u(() => [
128
+ y.button,
129
+ y[e.size],
130
+ y[e.type],
131
+ e.circle ? [y.circle] : [y.square],
132
132
  {
133
- [h.disabled]: e.disabled,
134
- [h.loading]: e.loading,
135
- [h.active]: e.active,
136
- [h.bordered]: e.bordered
133
+ [y.disabled]: e.disabled,
134
+ [y.loading]: e.loading,
135
+ [y.active]: e.active,
136
+ [y.bordered]: e.bordered
137
137
  },
138
138
  e.className
139
- ]), r = u(() => n[e.type] || "white");
140
- return (d, $) => (c(), m("button", {
139
+ ]), c = u(() => n[e.type] || "white");
140
+ return (d, $) => (a(), p("button", {
141
141
  name: d.name,
142
- class: i(a.value),
142
+ class: i(r.value),
143
143
  type: d.htmlType,
144
144
  disabled: d.disabled || d.loading,
145
145
  onClick: $[0] || ($[0] = (g) => d.$emit("click"))
146
146
  }, [
147
- d.loading ? (c(), m("div", {
147
+ d.loading ? (a(), p("div", {
148
148
  key: 0,
149
- class: i(l(h).loader)
149
+ class: i(l(y).loader)
150
150
  }, [
151
- j(l(de), {
151
+ B(l(de), {
152
152
  size: "s",
153
- color: r.value
153
+ color: c.value
154
154
  }, null, 8, ["color"])
155
- ], 2)) : p("", !0),
156
- d.$slots.before ? y(d.$slots, "before", { key: 1 }) : p("", !0),
157
- o.value ? (c(), m("span", {
155
+ ], 2)) : m("", !0),
156
+ d.$slots.before ? b(d.$slots, "before", { key: 1 }) : m("", !0),
157
+ o.value ? (a(), p("span", {
158
158
  key: 2,
159
- class: i(l(h).content)
159
+ class: i(l(y).content)
160
160
  }, [
161
- y(d.$slots, "default")
162
- ], 2)) : p("", !0),
163
- d.$slots.after ? y(d.$slots, "after", { key: 3 }) : p("", !0),
164
- d.dropdown ? (c(), k(l(T), {
161
+ b(d.$slots, "default")
162
+ ], 2)) : m("", !0),
163
+ d.$slots.after ? b(d.$slots, "after", { key: 3 }) : m("", !0),
164
+ d.dropdown ? (a(), k(l(T), {
165
165
  key: 4,
166
- class: i(l(h).dropdownIcon),
166
+ class: i(l(y).dropdownIcon),
167
167
  name: "chevron-down-18"
168
- }, null, 8, ["class"])) : p("", !0)
168
+ }, null, 8, ["class"])) : m("", !0)
169
169
  ], 10, Pe));
170
170
  }
171
171
  }), Re = "_s_1oi85_9", We = "_xs_1oi85_14", xe = "_m_1oi85_20", He = "_l_1oi85_25", Ve = "_button_1oi85_31", x = {
@@ -174,7 +174,7 @@ const C = (s, e) => {
174
174
  m: xe,
175
175
  l: He,
176
176
  button: Ve
177
- }, Ot = /* @__PURE__ */ b({
177
+ }, Vt = /* @__PURE__ */ f({
178
178
  __name: "button-icon",
179
179
  props: {
180
180
  icon: {},
@@ -191,40 +191,40 @@ const C = (s, e) => {
191
191
  emits: ["click"],
192
192
  setup(s) {
193
193
  const e = s, t = u(() => [x.button, x[e.size], e.className]), n = u(() => {
194
- const a = e.size === "xs" ? "18" : "20";
195
- return e.icon.replace(/-?\d*$/, `-${a}`);
194
+ const r = e.size === "xs" ? "18" : "20";
195
+ return e.icon.replace(/-?\d*$/, `-${r}`);
196
196
  }), o = u(() => e.size === "xs");
197
- return (a, r) => (c(), k(l(V), U({ class: t.value }, e, {
197
+ return (r, c) => (a(), k(l(V), U({ class: t.value }, e, {
198
198
  "html-type": "button",
199
199
  circle: o.value,
200
- onClick: r[0] || (r[0] = (d) => a.$emit("click"))
200
+ onClick: c[0] || (c[0] = (d) => r.$emit("click"))
201
201
  }), {
202
202
  before: v(() => [
203
- j(l(T), { name: n.value }, null, 8, ["name"])
203
+ B(l(T), { name: n.value }, null, 8, ["name"])
204
204
  ]),
205
205
  _: 1
206
206
  }, 16, ["class", "circle"]));
207
207
  }
208
- }), Ae = "_button_1vqio_1", De = {
209
- button: Ae
210
- }, Pt = /* @__PURE__ */ b({
208
+ }), qe = "_button_1vqio_1", Ae = {
209
+ button: qe
210
+ }, qt = /* @__PURE__ */ f({
211
211
  __name: "button-link",
212
212
  emits: ["click"],
213
213
  setup(s) {
214
- return (e, t) => (c(), m("button", {
215
- class: i(l(De).button),
214
+ return (e, t) => (a(), p("button", {
215
+ class: i(l(Ae).button),
216
216
  type: "button",
217
217
  onClick: t[0] || (t[0] = (n) => e.$emit("click"))
218
218
  }, [
219
- j(l(T), { name: "plus-18" }),
220
- y(e.$slots, "default")
219
+ B(l(T), { name: "plus-18" }),
220
+ b(e.$slots, "default")
221
221
  ], 2));
222
222
  }
223
223
  });
224
- function A(s) {
225
- return s ? s.flatMap((e) => e.type === J ? A(e.children) : [e]) : [];
224
+ function q(s) {
225
+ return s ? s.flatMap((e) => e.type === J ? q(e.children) : [e]) : [];
226
226
  }
227
- const Fe = b({
227
+ const De = f({
228
228
  name: "PrimitiveSlot",
229
229
  inheritAttrs: !1,
230
230
  setup(s, { attrs: e, slots: t }) {
@@ -232,16 +232,16 @@ const Fe = b({
232
232
  var $;
233
233
  if (!t.default)
234
234
  return null;
235
- const n = A(t.default()), o = n.findIndex((g) => g.type !== Q);
235
+ const n = q(t.default()), o = n.findIndex((g) => g.type !== Q);
236
236
  if (o === -1)
237
237
  return n;
238
- const a = n[o];
239
- ($ = a.props) == null || delete $.ref;
240
- const r = a.props ? U(e, a.props) : e, d = X({ ...a, props: {} }, r);
238
+ const r = n[o];
239
+ ($ = r.props) == null || delete $.ref;
240
+ const c = r.props ? U(e, r.props) : e, d = X({ ...r, props: {} }, c);
241
241
  return n.length === 1 ? d : (n[o] = d, n);
242
242
  };
243
243
  }
244
- }), qe = ["area", "img", "input"], Ge = b({
244
+ }), Fe = ["area", "img", "input"], Ge = f({
245
245
  name: "Primitive",
246
246
  inheritAttrs: !1,
247
247
  props: {
@@ -256,7 +256,7 @@ const Fe = b({
256
256
  },
257
257
  setup(s, { attrs: e, slots: t }) {
258
258
  const n = s.asChild ? "template" : s.as;
259
- return typeof n == "string" && qe.includes(n) ? () => M(n, e) : n !== "template" ? () => M(s.as, e, { default: t.default }) : () => M(Fe, e, { default: t.default });
259
+ return typeof n == "string" && Fe.includes(n) ? () => M(n, e) : n !== "template" ? () => M(s.as, e, { default: t.default }) : () => M(De, e, { default: t.default });
260
260
  }
261
261
  });
262
262
  function Ke(s) {
@@ -266,37 +266,37 @@ function Ke(s) {
266
266
  }
267
267
  function Je() {
268
268
  const s = Z(), e = ee(), t = u(() => {
269
- var r, d;
270
- return ["#text", "#comment"].includes((r = e.value) == null ? void 0 : r.$el.nodeName) ? (d = e.value) == null ? void 0 : d.$el.nextElementSibling : Ke(e);
269
+ var c, d;
270
+ return ["#text", "#comment"].includes((c = e.value) == null ? void 0 : c.$el.nodeName) ? (d = e.value) == null ? void 0 : d.$el.nextElementSibling : Ke(e);
271
271
  }), n = Object.assign({}, s.exposed), o = {};
272
- for (const r in s.props)
273
- Object.defineProperty(o, r, {
272
+ for (const c in s.props)
273
+ Object.defineProperty(o, c, {
274
274
  enumerable: !0,
275
275
  configurable: !0,
276
- get: () => s.props[r]
276
+ get: () => s.props[c]
277
277
  });
278
278
  if (Object.keys(n).length > 0)
279
- for (const r in n)
280
- Object.defineProperty(o, r, {
279
+ for (const c in n)
280
+ Object.defineProperty(o, c, {
281
281
  enumerable: !0,
282
282
  configurable: !0,
283
- get: () => n[r]
283
+ get: () => n[c]
284
284
  });
285
285
  Object.defineProperty(o, "$el", {
286
286
  enumerable: !0,
287
287
  configurable: !0,
288
288
  get: () => s.vnode.el
289
289
  }), s.exposed = o;
290
- function a(r) {
291
- e.value = r, r && (Object.defineProperty(o, "$el", {
290
+ function r(c) {
291
+ e.value = c, c && (Object.defineProperty(o, "$el", {
292
292
  enumerable: !0,
293
293
  configurable: !0,
294
- get: () => r instanceof Element ? r : r.$el
294
+ get: () => c instanceof Element ? c : c.$el
295
295
  }), s.exposed = o);
296
296
  }
297
- return { forwardRef: a, currentRef: e, currentElement: t };
297
+ return { forwardRef: r, currentRef: e, currentElement: t };
298
298
  }
299
- const Qe = /* @__PURE__ */ b({
299
+ const Qe = /* @__PURE__ */ f({
300
300
  __name: "Label",
301
301
  props: {
302
302
  for: {},
@@ -305,88 +305,107 @@ const Qe = /* @__PURE__ */ b({
305
305
  },
306
306
  setup(s) {
307
307
  const e = s;
308
- return Je(), (t, n) => (c(), k(l(Ge), U(e, {
308
+ return Je(), (t, n) => (a(), k(l(Ge), U(e, {
309
309
  onMousedown: n[0] || (n[0] = (o) => {
310
310
  !o.defaultPrevented && o.detail > 1 && o.preventDefault();
311
311
  })
312
312
  }), {
313
313
  default: v(() => [
314
- y(t.$slots, "default")
314
+ b(t.$slots, "default")
315
315
  ]),
316
316
  _: 3
317
317
  }, 16));
318
318
  }
319
- }), Xe = "_label_4sgbr_1", Ye = "_header_4sgbr_10", Ze = "_headerWrapper_4sgbr_18", et = "_title_4sgbr_25", tt = "_subTitleRow_4sgbr_33", nt = "_subTitle_4sgbr_33", st = "_link_4sgbr_45", ot = "_linkUpper_4sgbr_62", w = {
320
- label: Xe,
321
- header: Ye,
322
- headerWrapper: Ze,
323
- title: et,
324
- subTitleRow: tt,
325
- subTitle: nt,
326
- link: st,
327
- linkUpper: ot
328
- }, lt = /* @__PURE__ */ b({
319
+ }), Xe = "_label_1a45q_1", Ye = {
320
+ label: Xe
321
+ }, Ze = /* @__PURE__ */ f({
329
322
  __name: "label",
323
+ props: {
324
+ className: {}
325
+ },
326
+ setup(s) {
327
+ const e = s, t = u(() => [
328
+ Ye.label,
329
+ e.className
330
+ ]);
331
+ return (n, o) => (a(), k(l(Qe), {
332
+ class: i(t.value)
333
+ }, {
334
+ default: v(() => [
335
+ b(n.$slots, "default")
336
+ ]),
337
+ _: 3
338
+ }, 8, ["class"]));
339
+ }
340
+ }), et = "_content_14uwa_1", tt = "_label_14uwa_9", nt = "_header_14uwa_18", st = "_headerWrapper_14uwa_26", ot = "_title_14uwa_33", lt = "_subTitleRow_14uwa_41", at = "_subTitle_14uwa_41", rt = "_link_14uwa_53", ct = "_linkUpper_14uwa_70", w = {
341
+ content: et,
342
+ label: tt,
343
+ header: nt,
344
+ headerWrapper: st,
345
+ title: ot,
346
+ subTitleRow: lt,
347
+ subTitle: at,
348
+ link: rt,
349
+ linkUpper: ct
350
+ }, it = /* @__PURE__ */ f({
351
+ __name: "label-content",
330
352
  emits: ["click"],
331
353
  setup(s) {
332
- const e = P(), t = u(() => C(e, "header")), n = u(() => C(e)), o = u(() => C(e, "subTitle")), a = u(() => C(e, "link")), r = u(() => t.value || n.value || o.value), d = u(() => !n.value && !o.value), $ = u(
354
+ const e = P(), t = u(() => C(e, "header")), n = u(() => C(e)), o = u(() => C(e, "subTitle")), r = u(() => C(e, "link")), c = u(() => t.value || n.value || o.value), d = u(() => !n.value && !o.value), $ = u(
333
355
  () => [w.link, d.value && w.linkUpper].filter(Boolean)
334
356
  );
335
- return (g, B) => (c(), k(l(Qe), {
336
- class: i(l(w).label)
337
- }, {
338
- default: v(() => [
339
- r.value ? (c(), m("span", {
357
+ return (g, N) => (a(), p("div", {
358
+ class: i(l(w).content)
359
+ }, [
360
+ c.value ? (a(), p("span", {
361
+ key: 0,
362
+ class: i(l(w).headerWrapper)
363
+ }, [
364
+ t.value ? (a(), p("span", {
340
365
  key: 0,
341
- class: i(l(w).headerWrapper)
366
+ class: i(l(w).header)
342
367
  }, [
343
- t.value ? (c(), m("span", {
344
- key: 0,
345
- class: i(l(w).header)
346
- }, [
347
- y(g.$slots, "header")
348
- ], 2)) : p("", !0),
349
- n.value ? (c(), m("span", {
350
- key: 1,
351
- class: i(l(w).title)
352
- }, [
353
- y(g.$slots, "default")
354
- ], 2)) : p("", !0),
355
- o.value ? (c(), m("span", {
356
- key: 2,
357
- class: i(l(w).subTitleRow)
358
- }, [
359
- L("span", {
360
- class: i(l(w).subTitle)
361
- }, [
362
- y(g.$slots, "subTitle")
363
- ], 2)
364
- ], 2)) : p("", !0)
365
- ], 2)) : p("", !0),
366
- a.value ? (c(), m("span", {
368
+ b(g.$slots, "header")
369
+ ], 2)) : m("", !0),
370
+ n.value ? (a(), p("span", {
367
371
  key: 1,
368
- class: i($.value),
369
- onClick: B[0] || (B[0] = (R) => g.$emit("click"))
372
+ class: i(l(w).title)
370
373
  }, [
371
- y(g.$slots, "link")
372
- ], 2)) : p("", !0)
373
- ]),
374
- _: 3
375
- }, 8, ["class"]));
374
+ b(g.$slots, "default")
375
+ ], 2)) : m("", !0),
376
+ o.value ? (a(), p("span", {
377
+ key: 2,
378
+ class: i(l(w).subTitleRow)
379
+ }, [
380
+ j("span", {
381
+ class: i(l(w).subTitle)
382
+ }, [
383
+ b(g.$slots, "subTitle")
384
+ ], 2)
385
+ ], 2)) : m("", !0)
386
+ ], 2)) : m("", !0),
387
+ r.value ? (a(), p("span", {
388
+ key: 1,
389
+ class: i($.value),
390
+ onClick: N[0] || (N[0] = (R) => g.$emit("click"))
391
+ }, [
392
+ b(g.$slots, "link")
393
+ ], 2)) : m("", !0)
394
+ ], 2));
376
395
  }
377
- }), at = "_wrapper_ep5oa_1", rt = "_input_ep5oa_5", ct = "_error_ep5oa_36", it = "_description_ep5oa_48", ut = "_descriptionText_ep5oa_59", dt = "_errorText_ep5oa_63", _t = "_inputWrapper_ep5oa_67", pt = "_leftSpace_ep5oa_71", mt = "_rightSpace_ep5oa_75", ft = "_leftIcon_ep5oa_79", bt = "_rightIcon_ep5oa_80", f = {
378
- wrapper: at,
379
- input: rt,
380
- error: ct,
381
- description: it,
382
- descriptionText: ut,
383
- errorText: dt,
384
- inputWrapper: _t,
385
- leftSpace: pt,
386
- rightSpace: mt,
387
- leftIcon: ft,
388
- rightIcon: bt
389
- }, ht = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], yt = ["innerHTML"], gt = ["innerHTML"], Rt = /* @__PURE__ */ b({
396
+ }), ut = "_wrapper_ep5oa_1", dt = "_input_ep5oa_5", _t = "_error_ep5oa_36", pt = "_description_ep5oa_48", mt = "_descriptionText_ep5oa_59", ft = "_errorText_ep5oa_63", bt = "_inputWrapper_ep5oa_67", ht = "_leftSpace_ep5oa_71", yt = "_rightSpace_ep5oa_75", vt = "_leftIcon_ep5oa_79", gt = "_rightIcon_ep5oa_80", h = {
397
+ wrapper: ut,
398
+ input: dt,
399
+ error: _t,
400
+ description: pt,
401
+ descriptionText: mt,
402
+ errorText: ft,
403
+ inputWrapper: bt,
404
+ leftSpace: ht,
405
+ rightSpace: yt,
406
+ leftIcon: vt,
407
+ rightIcon: gt
408
+ }, kt = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], $t = ["innerHTML"], wt = ["innerHTML"], At = /* @__PURE__ */ f({
390
409
  __name: "input",
391
410
  props: /* @__PURE__ */ W({
392
411
  value: {},
@@ -411,109 +430,114 @@ const Qe = /* @__PURE__ */ b({
411
430
  }),
412
431
  emits: /* @__PURE__ */ W(["update:value", "enter", "click-link", "click-icon", "click", "focus", "blur"], ["update:value"]),
413
432
  setup(s, { emit: e }) {
414
- const t = s, n = e, o = te(), a = ne(s, "value"), r = u(() => [
415
- f.input,
433
+ const t = s, n = e, o = te(), r = ne(s, "value"), c = u(() => [
434
+ h.input,
416
435
  {
417
- [f.disabled]: t.disabled,
418
- [f.error]: t.error,
419
- [f.loading]: t.loading,
420
- [f.leftSpace]: !!t.leftIcon,
421
- [f.rightSpace]: !!t.rightIcon
436
+ [h.disabled]: t.disabled,
437
+ [h.error]: t.error,
438
+ [h.loading]: t.loading,
439
+ [h.leftSpace]: !!t.leftIcon,
440
+ [h.rightSpace]: !!t.rightIcon
422
441
  },
423
442
  t.className
424
443
  ]), d = u(() => t.header || t.title || t.subTitle || t.link), $ = u(() => t.description || t.error), g = (_) => {
425
444
  _.key === "Enter" && n("enter");
426
- }, B = (_) => {
445
+ }, N = (_) => {
427
446
  n("update:value", _.target.value);
428
447
  }, R = () => {
429
448
  n("focus");
430
- }, D = () => {
449
+ }, A = () => {
431
450
  n("blur");
432
- }, F = () => {
451
+ }, D = () => {
433
452
  n("click-link");
434
- }, q = () => {
453
+ }, F = () => {
435
454
  n("click");
436
455
  }, G = (_) => {
437
456
  _.preventDefault(), n("click-icon");
438
457
  };
439
- return (_, Ut) => (c(), m("div", {
440
- class: i(l(f).wrapper)
458
+ return (_, Wt) => (a(), p("div", {
459
+ class: i(l(h).wrapper)
441
460
  }, [
442
- d.value ? (c(), k(l(lt), {
461
+ d.value ? (a(), k(l(Ze), {
443
462
  key: 0,
444
463
  for: _.id,
445
- onClick: F
464
+ onClick: D
446
465
  }, {
447
- header: v(() => [
448
- I(S(t.header), 1)
449
- ]),
450
- subTitle: v(() => [
451
- I(S(t.subTitle), 1)
452
- ]),
453
- link: v(() => [
454
- I(S(t.link), 1)
455
- ]),
456
466
  default: v(() => [
457
- I(" " + S(t.title) + " ", 1)
467
+ B(l(it), null, {
468
+ header: v(() => [
469
+ I(S(t.header), 1)
470
+ ]),
471
+ subTitle: v(() => [
472
+ I(S(t.subTitle), 1)
473
+ ]),
474
+ link: v(() => [
475
+ I(S(t.link), 1)
476
+ ]),
477
+ default: v(() => [
478
+ I(" " + S(t.title) + " ", 1)
479
+ ]),
480
+ _: 1
481
+ })
458
482
  ]),
459
483
  _: 1
460
- }, 8, ["for"])) : p("", !0),
461
- L("div", {
462
- class: i(l(f).inputWrapper)
484
+ }, 8, ["for"])) : m("", !0),
485
+ j("div", {
486
+ class: i(l(h).inputWrapper)
463
487
  }, [
464
- _.leftIcon ? (c(), k(l(T), {
488
+ _.leftIcon ? (a(), k(l(T), {
465
489
  key: 0,
466
490
  name: _.leftIcon,
467
- class: i(l(f).leftIcon)
468
- }, null, 8, ["name", "class"])) : p("", !0),
469
- L("input", U({
491
+ class: i(l(h).leftIcon)
492
+ }, null, 8, ["name", "class"])) : m("", !0),
493
+ j("input", U({
470
494
  id: _.id,
471
- value: a.value,
495
+ value: r.value,
472
496
  name: _.name,
473
497
  type: _.type,
474
498
  disabled: _.disabled || _.loading,
475
499
  placeholder: _.placeholder,
476
- class: r.value,
500
+ class: c.value,
477
501
  "aria-invalid": !!_.error
478
502
  }, l(o), {
479
- onInput: B,
503
+ onInput: N,
480
504
  onKeydown: g,
481
505
  onFocus: R,
482
- onBlur: D,
483
- onClick: q
484
- }), null, 16, ht),
485
- _.rightIcon ? (c(), k(l(T), {
506
+ onBlur: A,
507
+ onClick: F
508
+ }), null, 16, kt),
509
+ _.rightIcon ? (a(), k(l(T), {
486
510
  key: 1,
487
511
  name: _.rightIcon,
488
- class: i(l(f).rightIcon),
512
+ class: i(l(h).rightIcon),
489
513
  onClick: G
490
- }, null, 8, ["name", "class"])) : p("", !0)
514
+ }, null, 8, ["name", "class"])) : m("", !0)
491
515
  ], 2),
492
- $.value ? (c(), m("div", {
516
+ $.value ? (a(), p("div", {
493
517
  key: 1,
494
- class: i(l(f).description)
518
+ class: i(l(h).description)
495
519
  }, [
496
- _.error ? (c(), m("div", {
520
+ _.error ? (a(), p("div", {
497
521
  key: 0,
498
- class: i(l(f).errorText),
522
+ class: i(l(h).errorText),
499
523
  innerHTML: _.error
500
- }, null, 10, yt)) : p("", !0),
501
- _.description ? (c(), m("div", {
524
+ }, null, 10, $t)) : m("", !0),
525
+ _.description ? (a(), p("div", {
502
526
  key: 1,
503
- class: i(l(f).descriptionText),
527
+ class: i(l(h).descriptionText),
504
528
  innerHTML: _.description
505
- }, null, 10, gt)) : p("", !0)
506
- ], 2)) : p("", !0)
529
+ }, null, 10, wt)) : m("", !0)
530
+ ], 2)) : m("", !0)
507
531
  ], 2));
508
532
  }
509
- }), vt = "_plank_8tn62_1", kt = "_accent_8tn62_25", $t = "_danger_8tn62_31", wt = "_text_8tn62_37", Ct = "_icon_8tn62_41", N = {
510
- plank: vt,
533
+ }), Ct = "_plank_8tn62_1", Tt = "_accent_8tn62_25", zt = "_danger_8tn62_31", It = "_text_8tn62_37", St = "_icon_8tn62_41", L = {
534
+ plank: Ct,
511
535
  default: "_default_8tn62_19",
512
- accent: kt,
513
- danger: $t,
514
- text: wt,
515
- icon: Ct
516
- }, Wt = /* @__PURE__ */ b({
536
+ accent: Tt,
537
+ danger: zt,
538
+ text: It,
539
+ icon: St
540
+ }, Dt = /* @__PURE__ */ f({
517
541
  __name: "plank",
518
542
  props: {
519
543
  type: { default: "default" },
@@ -522,43 +546,43 @@ const Qe = /* @__PURE__ */ b({
522
546
  },
523
547
  emits: ["click"],
524
548
  setup(s) {
525
- const e = s, t = P(), n = u(() => C(t)), o = u(() => [N.plank, N[e.type]]);
526
- return (a, r) => (c(), m("div", {
549
+ const e = s, t = P(), n = u(() => C(t)), o = u(() => [L.plank, L[e.type]]);
550
+ return (r, c) => (a(), p("div", {
527
551
  class: i(o.value)
528
552
  }, [
529
- a.icon ? (c(), m("div", {
553
+ r.icon ? (a(), p("div", {
530
554
  key: 0,
531
- class: i(l(N).icon)
555
+ class: i(l(L).icon)
532
556
  }, [
533
- j(l(T), { name: a.icon }, null, 8, ["name"])
534
- ], 2)) : p("", !0),
535
- n.value ? (c(), m("div", {
557
+ B(l(T), { name: r.icon }, null, 8, ["name"])
558
+ ], 2)) : m("", !0),
559
+ n.value ? (a(), p("div", {
536
560
  key: 1,
537
- class: i(l(N).text)
561
+ class: i(l(L).text)
538
562
  }, [
539
- y(a.$slots, "default")
540
- ], 2)) : p("", !0),
541
- a.label ? (c(), k(l(V), {
563
+ b(r.$slots, "default")
564
+ ], 2)) : m("", !0),
565
+ r.label ? (a(), k(l(V), {
542
566
  key: 2,
543
567
  size: "xs",
544
568
  type: "secondary",
545
- onClick: r[0] || (r[0] = (d) => a.$emit("click"))
569
+ onClick: c[0] || (c[0] = (d) => r.$emit("click"))
546
570
  }, {
547
571
  default: v(() => [
548
- I(S(a.label), 1)
572
+ I(S(r.label), 1)
549
573
  ]),
550
574
  _: 1
551
- })) : p("", !0)
575
+ })) : m("", !0)
552
576
  ], 2));
553
577
  }
554
- }), Tt = "_text_1mrtv_1", zt = "_primary_1mrtv_8", It = "_medium_1mrtv_12", St = "_secondary_1mrtv_17", Bt = "_accent_1mrtv_26", Nt = "_subtitle_1mrtv_35", E = {
555
- text: Tt,
556
- primary: zt,
557
- medium: It,
558
- secondary: St,
559
- accent: Bt,
560
- subtitle: Nt
561
- }, xt = /* @__PURE__ */ b({
578
+ }), Bt = "_text_1mrtv_1", Nt = "_primary_1mrtv_8", Lt = "_medium_1mrtv_12", jt = "_secondary_1mrtv_17", Ut = "_accent_1mrtv_26", Mt = "_subtitle_1mrtv_35", E = {
579
+ text: Bt,
580
+ primary: Nt,
581
+ medium: Lt,
582
+ secondary: jt,
583
+ accent: Ut,
584
+ subtitle: Mt
585
+ }, Ft = /* @__PURE__ */ f({
562
586
  __name: "text",
563
587
  props: {
564
588
  tagName: { default: "p" },
@@ -571,23 +595,23 @@ const Qe = /* @__PURE__ */ b({
571
595
  E[e.kind],
572
596
  e.weight && E[e.weight]
573
597
  ]);
574
- return (n, o) => (c(), k(H(n.tagName), {
598
+ return (n, o) => (a(), k(H(n.tagName), {
575
599
  class: i(t.value)
576
600
  }, {
577
601
  default: v(() => [
578
- y(n.$slots, "default")
602
+ b(n.$slots, "default")
579
603
  ]),
580
604
  _: 3
581
605
  }, 8, ["class"]));
582
606
  }
583
- }), Lt = "_title_471uj_1", jt = "_medium_471uj_12", O = {
584
- title: Lt,
607
+ }), Et = "_title_471uj_1", Ot = "_medium_471uj_12", O = {
608
+ title: Et,
585
609
  "level-1": "_level-1_471uj_8",
586
- medium: jt,
610
+ medium: Ot,
587
611
  "level-2": "_level-2_471uj_17",
588
612
  "level-3": "_level-3_471uj_26",
589
613
  "level-4": "_level-4_471uj_35"
590
- }, Ht = /* @__PURE__ */ b({
614
+ }, Gt = /* @__PURE__ */ f({
591
615
  __name: "title",
592
616
  props: {
593
617
  level: {},
@@ -601,26 +625,45 @@ const Qe = /* @__PURE__ */ b({
601
625
  e.className,
602
626
  e.weight && O[e.weight]
603
627
  ]), n = u(() => `h${e.level ?? 1}`);
604
- return (o, a) => (c(), k(H(n.value), {
628
+ return (o, r) => (a(), k(H(n.value), {
605
629
  class: i(t.value)
606
630
  }, {
607
631
  default: v(() => [
608
- y(o.$slots, "default")
632
+ b(o.$slots, "default")
609
633
  ]),
610
634
  _: 3
611
635
  }, 8, ["class"]));
612
636
  }
637
+ }), Pt = "_error_2tdd3_1", Rt = {
638
+ error: Pt
639
+ }, Kt = /* @__PURE__ */ f({
640
+ __name: "error",
641
+ props: {
642
+ className: {}
643
+ },
644
+ setup(s) {
645
+ const e = s, t = u(() => [
646
+ Rt.error,
647
+ e.className
648
+ ]);
649
+ return (n, o) => (a(), p("span", {
650
+ class: i(t.value)
651
+ }, [
652
+ b(n.$slots, "default")
653
+ ], 2));
654
+ }
613
655
  });
614
656
  export {
615
657
  V as UiButton,
616
- Ot as UiButtonIcon,
617
- Pt as UiButtonLink,
658
+ Vt as UiButtonIcon,
659
+ qt as UiButtonLink,
660
+ Kt as UiError,
618
661
  T as UiIcon,
619
- Rt as UiInput,
620
- lt as UiLabel,
662
+ At as UiInput,
663
+ Ze as UiLabel,
621
664
  de as UiLoader,
622
- Wt as UiPlank,
623
- xt as UiText,
624
- Ht as UiTitle,
625
- Et as injectSvgSprite
665
+ Dt as UiPlank,
666
+ Ft as UiText,
667
+ Gt as UiTitle,
668
+ Ht as injectSvgSprite
626
669
  };