@huntflow/ui 0.0.57 → 0.0.58

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,93 +1,93 @@
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_1syl2_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-gap-button-icon)}._button_1syl2_1:active{background-color:#999}._button_1syl2_1:focus{outline:none}._button_1syl2_1:focus-visible{outline:solid 3px var(--hf-color-button-disable-default)}._button_1syl2_1:is(._disabled_1syl2_1),._button_1syl2_1:is(._disabled_1syl2_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_1syl2_1._loading_1syl2_1{cursor:default}._button_1syl2_1._loading_1syl2_1>*:not(._loader_1syl2_1){visibility:hidden}._button_1syl2_1+._button_1syl2_1{margin-left:var(--hf-gap-button-between)}._content_1syl2_1{display:flex;line-height:inherit}._content_1syl2_1:first-child:last-child{width:100%;text-align:center}._loader_1syl2_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}._dropdownIcon_1syl2_1{margin-left:calc(var(--hf-gap-button-icon) * -1)}._s_1syl2_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_1syl2_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_1syl2_1._square_1syl2_1{border-radius:var(--hf-radius-button-xs)}._xs_1syl2_1._circle_1syl2_1{border-radius:var(--hf-radius-button-circle)}._m_1syl2_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_1syl2_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_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_1syl2_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_1syl2_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._secondary_1syl2_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_1syl2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_1syl2_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._accent_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_1syl2_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_1syl2_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._danger_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_1syl2_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_1syl2_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._jobsites_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_1syl2_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_1syl2_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._ghost_1syl2_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost_1syl2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_1syl2_1:active{background-color:var(--hf-color-button-secondary-fill-active)}._ghost-danger_1syl2_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost-danger_1syl2_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_1syl2_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}._label_12r0e_1{display:flex;flex-direction:row;gap:var(--hf-gap-xs);font-style:normal;flex:1;margin-bottom:var(--hf-gap-xs)}._header_12r0e_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_12r0e_18{flex-grow:1;gap:var(--hf-gap-xs);display:flex;flex-direction:column}._title_12r0e_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_12r0e_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_12r0e_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_12r0e_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_12r0e_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_12r0e_62{margin-bottom:1px}._wrapper_1rgcl_1{margin-bottom:var(--hf-gap-xs)}._input_1rgcl_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-left-right-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_1rgcl_5:active{border-color:var(--hf-color-input-border-focus)}._input_1rgcl_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_1rgcl_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_1rgcl_35,._error_1rgcl_35:active{border-color:var(--hf-color-input-border-error)}._error_1rgcl_35:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_1rgcl_47{margin-top:var(--hf-gap-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_1rgcl_47 a{text-decoration:underline}._descriptionText_1rgcl_58{color:var(--hf-color-input-text-description)}._errorText_1rgcl_62{color:var(--hf-color-text-danger)}._label_jcdiv_1{display:flex;align-items:center;gap:8px;height:20px}._label_jcdiv_1._disabled_jcdiv_7{color:gray;cursor:not-allowed}._label_jcdiv_1 span{margin-top:-5px}._input_jcdiv_17[type=checkbox]{vertical-align:-2px;margin:0;border-radius:4px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;width:16px;height:16px;border:1px solid #25CFE8;transform:translateY(-.075em);display:grid;place-content:center}._input_jcdiv_17._error_jcdiv_30[type=checkbox]{border:1px solid #FF0000}._input_jcdiv_17[type=checkbox]:before{content:"";width:16px;height:16px;clip-path:polygon(0 0,50% 0,100% 0,100% 100%,50% 100%,0 100%);transform:scale(0);transform-origin:bottom left;transition:.12s transform ease-in-out;background-color:#25cfe8;border-radius:4px}._input_jcdiv_17[type=checkbox]:checked:before{transform:scale(1)}._input_jcdiv_17[type=checkbox]:focus{outline:2px solid #C4EDFA}._input_jcdiv_17._error_jcdiv_30[type=checkbox]:focus{outline:2px solid #FFD6D6}._input_jcdiv_17[type=checkbox]:disabled{border-color:#00000029;opacity:30%;color:#000;cursor:not-allowed}._text_jcdiv_70{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:15px;line-height:20px}._errorText_jcdiv_76{color:red;font-size:12px}._title_j3vxq_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._level-1_j3vxq_8{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1);line-height:var(--hf-font-line-height-text-h1)}._level-2_j3vxq_14{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2);line-height:var(--hf-font-line-height-text-h2)}._level-3_j3vxq_20{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3);line-height:var(--hf-font-line-height-text-h3)}._level-4_j3vxq_26{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)}._text_pweht_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._primary_pweht_8{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary);line-height:var(--hf-font-line-height-text-primary)}._primary_pweht_8._medium_pweht_13{font-weight:var(--hf-font-weight-text-primary-bold)}._secondary_pweht_18{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary);line-height:var(--hf-font-line-height-text-secondary)}._secondary_pweht_18._medium_pweht_13{font-weight:var(--hf-font-weight-text-secondary-bold)}._accent_pweht_27{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent);line-height:var(--hf-font-line-height-text-accent)}._accent_pweht_27._medium_pweht_13{font-weight:var(--hf-font-weight-text-accent-bold)}._subtitle_pweht_36{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)}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_n8n8w_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_n8n8w_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs)}._m_n8n8w_19{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_n8n8w_24{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_n8n8w_30{padding:0}._button_fj122_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-gap-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_fj122_1:hover{color:var(--hf-color-link-hover)}._plank_dwxr0_1{border-radius:var(--hf-radius-m);padding:var(--hf-gap-m) var(--hf-gap-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-gap-m);align-items:center;justify-content:space-between}._default_dwxr0_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_dwxr0_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_dwxr0_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_dwxr0_37{flex-grow:1}._icon_dwxr0_41{width:var(--hf-font-line-height-text-primary);height:var(--hf-font-line-height-text-primary)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { defineComponent as v, computed as c, createElementBlock as d, openBlock as a, normalizeClass as r, unref as o, normalizeStyle as P, createElementVNode as x, useSlots as H, createCommentVNode as _, renderSlot as m, createBlock as C, createVNode as M, mergeModels as q, useAttrs as G, useModel as D, withCtx as $, createTextVNode as j, toDisplayString as T, mergeProps as E, withDirectives as K, vModelCheckbox as J, resolveDynamicComponent as O } from "vue";
3
- const B = (l, e) => {
4
- const t = e ? l[e] : l.default;
5
- return (t == null ? void 0 : t().some((n) => {
6
- const s = n.children;
7
- return s && s.toString().trim() !== "";
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%}._button_1syl2_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-gap-button-icon)}._button_1syl2_1:active{background-color:#999}._button_1syl2_1:focus{outline:none}._button_1syl2_1:focus-visible{outline:solid 3px var(--hf-color-button-disable-default)}._button_1syl2_1:is(._disabled_1syl2_1),._button_1syl2_1:is(._disabled_1syl2_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_1syl2_1._loading_1syl2_1{cursor:default}._button_1syl2_1._loading_1syl2_1>*:not(._loader_1syl2_1){visibility:hidden}._button_1syl2_1+._button_1syl2_1{margin-left:var(--hf-gap-button-between)}._content_1syl2_1{display:flex;line-height:inherit}._content_1syl2_1:first-child:last-child{width:100%;text-align:center}._loader_1syl2_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}._dropdownIcon_1syl2_1{margin-left:calc(var(--hf-gap-button-icon) * -1)}._s_1syl2_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_1syl2_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_1syl2_1._square_1syl2_1{border-radius:var(--hf-radius-button-xs)}._xs_1syl2_1._circle_1syl2_1{border-radius:var(--hf-radius-button-circle)}._m_1syl2_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_1syl2_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_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_1syl2_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_1syl2_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._secondary_1syl2_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_1syl2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_1syl2_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._accent_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_1syl2_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_1syl2_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._danger_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_1syl2_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_1syl2_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._jobsites_1syl2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_1syl2_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_1syl2_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._ghost_1syl2_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost_1syl2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_1syl2_1:active{background-color:var(--hf-color-button-secondary-fill-active)}._ghost-danger_1syl2_1{color:var(--hf-color-text-main);background-color:transparent;border-color:transparent}._ghost-danger_1syl2_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_1syl2_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}._icon_1p8iz_2{font-style:normal;display:inline-block;vertical-align:middle}._wrapper_1rgcl_1{margin-bottom:var(--hf-gap-xs)}._input_1rgcl_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-left-right-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_1rgcl_5:active{border-color:var(--hf-color-input-border-focus)}._input_1rgcl_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_1rgcl_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_1rgcl_35,._error_1rgcl_35:active{border-color:var(--hf-color-input-border-error)}._error_1rgcl_35:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_1rgcl_47{margin-top:var(--hf-gap-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_1rgcl_47 a{text-decoration:underline}._descriptionText_1rgcl_58{color:var(--hf-color-input-text-description)}._errorText_1rgcl_62{color:var(--hf-color-text-danger)}._label_12r0e_1{display:flex;flex-direction:row;gap:var(--hf-gap-xs);font-style:normal;flex:1;margin-bottom:var(--hf-gap-xs)}._header_12r0e_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_12r0e_18{flex-grow:1;gap:var(--hf-gap-xs);display:flex;flex-direction:column}._title_12r0e_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_12r0e_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_12r0e_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_12r0e_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_12r0e_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_12r0e_62{margin-bottom:1px}._label_jcdiv_1{display:flex;align-items:center;gap:8px;height:20px}._label_jcdiv_1._disabled_jcdiv_7{color:gray;cursor:not-allowed}._label_jcdiv_1 span{margin-top:-5px}._input_jcdiv_17[type=checkbox]{vertical-align:-2px;margin:0;border-radius:4px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;width:16px;height:16px;border:1px solid #25CFE8;transform:translateY(-.075em);display:grid;place-content:center}._input_jcdiv_17._error_jcdiv_30[type=checkbox]{border:1px solid #FF0000}._input_jcdiv_17[type=checkbox]:before{content:"";width:16px;height:16px;clip-path:polygon(0 0,50% 0,100% 0,100% 100%,50% 100%,0 100%);transform:scale(0);transform-origin:bottom left;transition:.12s transform ease-in-out;background-color:#25cfe8;border-radius:4px}._input_jcdiv_17[type=checkbox]:checked:before{transform:scale(1)}._input_jcdiv_17[type=checkbox]:focus{outline:2px solid #C4EDFA}._input_jcdiv_17._error_jcdiv_30[type=checkbox]:focus{outline:2px solid #FFD6D6}._input_jcdiv_17[type=checkbox]:disabled{border-color:#00000029;opacity:30%;color:#000;cursor:not-allowed}._text_jcdiv_70{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:15px;line-height:20px}._errorText_jcdiv_76{color:red;font-size:12px}._title_j3vxq_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._level-1_j3vxq_8{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1);line-height:var(--hf-font-line-height-text-h1)}._level-2_j3vxq_14{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2);line-height:var(--hf-font-line-height-text-h2)}._level-3_j3vxq_20{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3);line-height:var(--hf-font-line-height-text-h3)}._level-4_j3vxq_26{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)}._text_pweht_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._primary_pweht_8{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary);line-height:var(--hf-font-line-height-text-primary)}._primary_pweht_8._medium_pweht_13{font-weight:var(--hf-font-weight-text-primary-bold)}._secondary_pweht_18{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary);line-height:var(--hf-font-line-height-text-secondary)}._secondary_pweht_18._medium_pweht_13{font-weight:var(--hf-font-weight-text-secondary-bold)}._accent_pweht_27{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent);line-height:var(--hf-font-line-height-text-accent)}._accent_pweht_27._medium_pweht_13{font-weight:var(--hf-font-weight-text-accent-bold)}._subtitle_pweht_36{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)}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_n8n8w_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_n8n8w_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs)}._m_n8n8w_19{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_n8n8w_24{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_n8n8w_30{padding:0}._button_fj122_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-gap-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_fj122_1:hover{color:var(--hf-color-link-hover)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { defineComponent as b, computed as c, openBlock as a, createElementBlock as i, normalizeClass as o, unref as r, normalizeStyle as W, createElementVNode as N, useSlots as V, createVNode as S, createCommentVNode as p, renderSlot as m, createBlock as L, mergeModels as z, useModel as D, withCtx as $, createTextVNode as B, toDisplayString as g, withDirectives as R, vModelDynamic as A, vModelCheckbox as F, resolveDynamicComponent as E, mergeProps as G } from "vue";
3
+ const j = (n, e) => {
4
+ const s = e ? n[e] : n.default;
5
+ return (s == null ? void 0 : s().some((l) => {
6
+ const t = l.children;
7
+ return t && t.toString().trim() !== "";
8
8
  })) ?? !1;
9
- }, Q = "_loader_t6bg6_10", X = "_circle_t6bg6_15", Y = "_white_t6bg6_22", Z = "_black_t6bg6_26", ee = "_s_t6bg6_30", te = "_m_t6bg6_35", se = "_l_t6bg6_10", le = "_spinner_t6bg6_45", N = {
10
- loader: Q,
11
- circle: X,
9
+ }, K = "_loader_t6bg6_10", P = "_circle_t6bg6_15", J = "_white_t6bg6_22", Q = "_black_t6bg6_26", X = "_s_t6bg6_30", Y = "_m_t6bg6_35", Z = "_l_t6bg6_10", ee = "_spinner_t6bg6_45", C = {
10
+ loader: K,
11
+ circle: P,
12
12
  "loader-animation": "_loader-animation_t6bg6_1",
13
- white: Y,
14
- black: Z,
15
- s: ee,
16
- m: te,
17
- l: se,
18
- spinner: le
19
- }, ne = /* @__PURE__ */ v({
13
+ white: J,
14
+ black: Q,
15
+ s: X,
16
+ m: Y,
17
+ l: Z,
18
+ spinner: ee
19
+ }, te = /* @__PURE__ */ b({
20
20
  __name: "loader",
21
21
  props: {
22
22
  className: {},
23
23
  size: { default: "l" },
24
24
  color: { default: "black" }
25
25
  },
26
- setup(l) {
27
- const e = l, t = c(() => [N.loader, N[e.size], N[e.color], N.circle]);
28
- return (n, s) => (a(), d("span", {
29
- class: r([o(N).spinner, t.value])
26
+ setup(n) {
27
+ const e = n, s = c(() => [C.loader, C[e.size], C[e.color], C.circle]);
28
+ return (l, t) => (a(), i("span", {
29
+ class: o([r(C).spinner, s.value])
30
30
  }, null, 2));
31
31
  }
32
- }), oe = ["aria-label", "width", "height"], ae = ["xlink:href"], re = /* @__PURE__ */ v({
32
+ }), se = "_button_1syl2_1", le = "_disabled_1syl2_1", ne = "_loading_1syl2_1", oe = "_loader_1syl2_1", ae = "_content_1syl2_1", re = "_dropdownIcon_1syl2_1", ce = "_s_1syl2_2", ie = "_xs_1syl2_1", de = "_square_1syl2_1", _e = "_circle_1syl2_1", ue = "_m_1syl2_1", pe = "_l_1syl2_1", ye = "_primary_1syl2_1", me = "_secondary_1syl2_1", be = "_accent_1syl2_1", ve = "_danger_1syl2_1", he = "_jobsites_1syl2_1", fe = "_ghost_1syl2_1", y = {
33
+ button: se,
34
+ disabled: le,
35
+ loading: ne,
36
+ loader: oe,
37
+ content: ae,
38
+ dropdownIcon: re,
39
+ s: ce,
40
+ xs: ie,
41
+ square: de,
42
+ circle: _e,
43
+ m: ue,
44
+ l: pe,
45
+ primary: ye,
46
+ secondary: me,
47
+ accent: be,
48
+ danger: ve,
49
+ jobsites: he,
50
+ ghost: fe,
51
+ "ghost-danger": "_ghost-danger_1syl2_1"
52
+ }, ke = ["aria-label", "width", "height"], $e = ["xlink:href"], ge = /* @__PURE__ */ b({
33
53
  __name: "icon",
34
54
  props: {
35
55
  type: {},
36
56
  color: {},
37
57
  block: { type: Boolean }
38
58
  },
39
- setup(l) {
40
- const e = l, t = c(() => {
41
- var i;
42
- const s = (i = e == null ? void 0 : e.type) == null ? void 0 : i.match(/(\d+)$/);
43
- return s ? Number.parseInt(s[1], 10) : 16;
44
- }), n = c(() => {
45
- const s = {};
46
- return e.color && (s.color = e.color), e.block && (s.display = "block"), s;
59
+ setup(n) {
60
+ const e = n, s = c(() => {
61
+ var d;
62
+ const t = (d = e == null ? void 0 : e.type) == null ? void 0 : d.match(/(\d+)$/);
63
+ return t ? parseInt(t[1], 10) : 16;
64
+ }), l = c(() => {
65
+ const t = {};
66
+ return e.color && (t.color = e.color), e.block && (t.display = "block"), t;
47
67
  });
48
- return (s, i) => (a(), d("svg", {
49
- class: r(s.$style.icon),
50
- "aria-label": s.type,
51
- style: P(n.value),
68
+ return (t, d) => (a(), i("svg", {
69
+ class: o(t.$style.icon),
70
+ "aria-label": t.type,
71
+ style: W(l.value),
52
72
  role: "img",
53
- width: t.value,
54
- height: t.value
73
+ width: s.value,
74
+ height: s.value
55
75
  }, [
56
- x("use", {
57
- "xlink:href": `#${s.type}`
58
- }, null, 8, ae)
59
- ], 14, oe));
76
+ N("use", {
77
+ "xlink:href": `#${t.type}`
78
+ }, null, 8, $e)
79
+ ], 14, ke));
60
80
  }
61
- }), ce = "_icon_1p8iz_2", ie = {
62
- icon: ce
63
- }, de = (l, e) => {
64
- const t = l.__vccOpts || l;
65
- for (const [n, s] of e)
66
- t[n] = s;
67
- return t;
68
- }, _e = {
69
- $style: ie
70
- }, S = /* @__PURE__ */ de(re, [["__cssModules", _e]]), ue = "_button_1syl2_1", pe = "_disabled_1syl2_1", ye = "_loading_1syl2_1", me = "_loader_1syl2_1", be = "_content_1syl2_1", ve = "_dropdownIcon_1syl2_1", ke = "_s_1syl2_2", he = "_xs_1syl2_1", fe = "_square_1syl2_1", $e = "_circle_1syl2_1", ge = "_m_1syl2_1", we = "_l_1syl2_1", Te = "_primary_1syl2_1", Be = "_secondary_1syl2_1", Ce = "_accent_1syl2_1", Ne = "_danger_1syl2_1", je = "_jobsites_1syl2_1", xe = "_ghost_1syl2_1", y = {
71
- button: ue,
72
- disabled: pe,
73
- loading: ye,
74
- loader: me,
75
- content: be,
76
- dropdownIcon: ve,
77
- s: ke,
78
- xs: he,
79
- square: fe,
80
- circle: $e,
81
- m: ge,
82
- l: we,
83
- primary: Te,
84
- secondary: Be,
85
- accent: Ce,
86
- danger: Ne,
87
- jobsites: je,
88
- ghost: xe,
89
- "ghost-danger": "_ghost-danger_1syl2_1"
90
- }, Le = ["name", "type", "disabled"], W = /* @__PURE__ */ v({
81
+ }), we = "_icon_1p8iz_2", Te = {
82
+ icon: we
83
+ }, Be = (n, e) => {
84
+ const s = n.__vccOpts || n;
85
+ for (const [l, t] of e)
86
+ s[l] = t;
87
+ return s;
88
+ }, Ce = {
89
+ $style: Te
90
+ }, I = /* @__PURE__ */ Be(ge, [["__cssModules", Ce]]), je = ["name", "type", "disabled"], Ne = /* @__PURE__ */ b({
91
91
  __name: "button",
92
92
  props: {
93
93
  size: { default: "m" },
@@ -103,8 +103,8 @@ const B = (l, e) => {
103
103
  htmlType: {}
104
104
  },
105
105
  emits: ["click"],
106
- setup(l) {
107
- const e = l, t = H(), n = {
106
+ setup(n) {
107
+ const e = V(), s = n, l = {
108
108
  primary: "white",
109
109
  secondary: "black",
110
110
  accent: "white",
@@ -112,115 +112,115 @@ const B = (l, e) => {
112
112
  jobsites: "white",
113
113
  ghost: "black",
114
114
  "ghost-danger": "black"
115
- }, s = c(() => B(t)), i = c(() => [
115
+ }, t = c(() => j(e)), d = c(() => [
116
116
  y.button,
117
- y[e.size],
118
- y[e.type],
119
- e.circle ? [y.circle] : [y.square],
117
+ y[s.size],
118
+ y[s.type],
119
+ s.circle ? [y.circle] : [y.square],
120
120
  {
121
- [y.disabled]: e.disabled,
122
- [y.loading]: e.loading,
123
- [y.active]: e.active,
124
- [y.bordered]: e.bordered
121
+ [y.disabled]: s.disabled,
122
+ [y.loading]: s.loading,
123
+ [y.active]: s.active,
124
+ [y.bordered]: s.bordered
125
125
  },
126
- e.className
127
- ]), b = c(() => n[e.type] || "white");
128
- return (u, g) => (a(), d("button", {
129
- name: u.name,
130
- class: r(i.value),
131
- type: u.htmlType,
132
- disabled: u.disabled || u.loading,
133
- onClick: g[0] || (g[0] = (k) => u.$emit("click"))
126
+ s.className
127
+ ]), v = c(() => l[s.type] || "white");
128
+ return (_, w) => (a(), i("button", {
129
+ name: _.name,
130
+ class: o(d.value),
131
+ type: _.htmlType,
132
+ disabled: _.disabled || _.loading,
133
+ onClick: w[0] || (w[0] = (h) => _.$emit("click"))
134
134
  }, [
135
- u.loading ? (a(), d("div", {
135
+ _.loading ? (a(), i("div", {
136
136
  key: 0,
137
- class: r(o(y).loader)
137
+ class: o(r(y).loader)
138
138
  }, [
139
- M(o(ne), {
139
+ S(r(te), {
140
140
  size: "s",
141
- color: b.value
141
+ color: v.value
142
142
  }, null, 8, ["color"])
143
- ], 2)) : _("", !0),
144
- u.$slots.before ? m(u.$slots, "before", { key: 1 }) : _("", !0),
145
- s.value ? (a(), d("span", {
143
+ ], 2)) : p("", !0),
144
+ _.$slots.before ? m(_.$slots, "before", { key: 1 }) : p("", !0),
145
+ t.value ? (a(), i("span", {
146
146
  key: 2,
147
- class: r(o(y).content)
147
+ class: o(r(y).content)
148
148
  }, [
149
- m(u.$slots, "default")
150
- ], 2)) : _("", !0),
151
- u.$slots.after ? m(u.$slots, "after", { key: 3 }) : _("", !0),
152
- u.dropdown ? (a(), C(S, {
149
+ m(_.$slots, "default")
150
+ ], 2)) : p("", !0),
151
+ _.$slots.after ? m(_.$slots, "after", { key: 3 }) : p("", !0),
152
+ _.dropdown ? (a(), L(I, {
153
153
  key: 4,
154
- class: r(o(y).dropdownIcon),
154
+ class: o(r(y).dropdownIcon),
155
155
  type: "chevron-down-18"
156
- }, null, 8, ["class"])) : _("", !0)
157
- ], 10, Le));
156
+ }, null, 8, ["class"])) : p("", !0)
157
+ ], 10, je));
158
158
  }
159
- }), ze = "_label_12r0e_1", Me = "_header_12r0e_10", Se = "_headerWrapper_12r0e_18", Ie = "_title_12r0e_25", qe = "_subTitleRow_12r0e_33", He = "_subTitle_12r0e_33", Re = "_link_12r0e_45", Ue = "_linkUpper_12r0e_62", h = {
160
- label: ze,
161
- header: Me,
162
- headerWrapper: Se,
163
- title: Ie,
164
- subTitleRow: qe,
165
- subTitle: He,
166
- link: Re,
167
- linkUpper: Ue
168
- }, Ve = /* @__PURE__ */ v({
159
+ }), Le = "_wrapper_1rgcl_1", Me = "_input_1rgcl_5", xe = "_error_1rgcl_35", ze = "_description_1rgcl_47", Se = "_descriptionText_1rgcl_58", Ie = "_errorText_1rgcl_62", f = {
160
+ wrapper: Le,
161
+ input: Me,
162
+ error: xe,
163
+ description: ze,
164
+ descriptionText: Se,
165
+ errorText: Ie
166
+ }, qe = "_label_12r0e_1", He = "_header_12r0e_10", Ue = "_headerWrapper_12r0e_18", Ve = "_title_12r0e_25", De = "_subTitleRow_12r0e_33", Re = "_subTitle_12r0e_33", Ee = "_link_12r0e_45", Oe = "_linkUpper_12r0e_62", k = {
167
+ label: qe,
168
+ header: He,
169
+ headerWrapper: Ue,
170
+ title: Ve,
171
+ subTitleRow: De,
172
+ subTitle: Re,
173
+ link: Ee,
174
+ linkUpper: Oe
175
+ }, We = /* @__PURE__ */ b({
169
176
  __name: "label",
170
177
  emits: ["click"],
171
- setup(l) {
172
- const e = H(), t = c(() => B(e, "header")), n = c(() => B(e)), s = c(() => B(e, "subTitle")), i = c(() => B(e, "link")), b = c(() => t.value || n.value || s.value), u = c(() => !n.value && !s.value), g = c(
173
- () => [h.link, u.value && h.linkUpper].filter(Boolean)
178
+ setup(n) {
179
+ const e = V(), s = c(() => j(e, "header")), l = c(() => j(e)), t = c(() => j(e, "subTitle")), d = c(() => j(e, "link")), v = c(() => s.value || l.value || t.value), _ = c(() => !l.value && !t.value), w = c(
180
+ () => [k.link, _.value && k.linkUpper].filter(Boolean)
174
181
  );
175
- return (k, L) => (a(), d("label", {
176
- class: r(o(h).label)
182
+ return (h, M) => (a(), i("label", {
183
+ class: o(r(k).label)
177
184
  }, [
178
- b.value ? (a(), d("span", {
185
+ v.value ? (a(), i("span", {
179
186
  key: 0,
180
- class: r(o(h).headerWrapper)
187
+ class: o(r(k).headerWrapper)
181
188
  }, [
182
- t.value ? (a(), d("span", {
189
+ s.value ? (a(), i("span", {
183
190
  key: 0,
184
- class: r(o(h).header)
191
+ class: o(r(k).header)
185
192
  }, [
186
- m(k.$slots, "header")
187
- ], 2)) : _("", !0),
188
- n.value ? (a(), d("span", {
193
+ m(h.$slots, "header")
194
+ ], 2)) : p("", !0),
195
+ l.value ? (a(), i("span", {
189
196
  key: 1,
190
- class: r(o(h).title)
197
+ class: o(r(k).title)
191
198
  }, [
192
- m(k.$slots, "default")
193
- ], 2)) : _("", !0),
194
- s.value ? (a(), d("span", {
199
+ m(h.$slots, "default")
200
+ ], 2)) : p("", !0),
201
+ t.value ? (a(), i("span", {
195
202
  key: 2,
196
- class: r(o(h).subTitleRow)
203
+ class: o(r(k).subTitleRow)
197
204
  }, [
198
- x("span", {
199
- class: r(o(h).subTitle)
205
+ N("span", {
206
+ class: o(r(k).subTitle)
200
207
  }, [
201
- m(k.$slots, "subTitle")
208
+ m(h.$slots, "subTitle")
202
209
  ], 2)
203
- ], 2)) : _("", !0)
204
- ], 2)) : _("", !0),
205
- i.value ? (a(), d("span", {
210
+ ], 2)) : p("", !0)
211
+ ], 2)) : p("", !0),
212
+ d.value ? (a(), i("span", {
206
213
  key: 1,
207
- class: r(g.value),
208
- onClick: L[0] || (L[0] = (R) => k.$emit("click"))
214
+ class: o(w.value),
215
+ onClick: M[0] || (M[0] = (u) => h.$emit("click"))
209
216
  }, [
210
- m(k.$slots, "link")
211
- ], 2)) : _("", !0)
217
+ m(h.$slots, "link")
218
+ ], 2)) : p("", !0)
212
219
  ], 2));
213
220
  }
214
- }), De = "_wrapper_1rgcl_1", Ee = "_input_1rgcl_5", Oe = "_error_1rgcl_35", We = "_description_1rgcl_47", Ae = "_descriptionText_1rgcl_58", Fe = "_errorText_1rgcl_62", f = {
215
- wrapper: De,
216
- input: Ee,
217
- error: Oe,
218
- description: We,
219
- descriptionText: Ae,
220
- errorText: Fe
221
- }, Pe = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Ge = ["innerHTML"], Ke = ["innerHTML"], Tt = /* @__PURE__ */ v({
221
+ }), Ae = ["id", "name", "type", "disabled", "placeholder"], Fe = ["innerHTML"], Ge = ["innerHTML"], bt = /* @__PURE__ */ b({
222
222
  __name: "input",
223
- props: /* @__PURE__ */ q({
223
+ props: /* @__PURE__ */ z({
224
224
  value: {},
225
225
  type: { default: "text" },
226
226
  id: {},
@@ -239,91 +239,85 @@ const B = (l, e) => {
239
239
  value: {},
240
240
  valueModifiers: {}
241
241
  }),
242
- emits: /* @__PURE__ */ q(["update:value", "enter", "click-link", "focus", "blur"], ["update:value"]),
243
- setup(l, { emit: e }) {
244
- const t = l, n = e, s = G(), i = D(l, "value"), b = c(() => [
242
+ emits: /* @__PURE__ */ z(["update:value", "enter", "click-link"], ["update:value"]),
243
+ setup(n, { emit: e }) {
244
+ const s = D(n, "value"), l = n, t = e, d = c(() => [
245
245
  f.input,
246
246
  {
247
- [f.disabled]: t.disabled,
248
- [f.error]: t.error,
249
- [f.loading]: t.loading
247
+ [f.disabled]: l.disabled,
248
+ [f.error]: l.error,
249
+ [f.loading]: l.loading
250
250
  },
251
- t.className
252
- ]), u = c(() => t.header || t.title || t.subTitle || t.link), g = c(() => t.description || t.error), k = (p) => {
253
- p.key === "Enter" && n("enter");
254
- }, L = (p) => {
255
- n("update:value", p.target.value);
256
- }, R = () => {
257
- n("focus");
258
- }, A = () => {
259
- n("blur");
260
- }, F = () => {
261
- n("click-link");
251
+ l.className
252
+ ]), v = c(() => l.header || l.title || l.subTitle || l.link), _ = c(() => l.description || l.error), w = (u) => {
253
+ t("update:value", u.target.value);
254
+ }, h = (u) => {
255
+ u.key === "Enter" && t("enter");
256
+ }, M = () => {
257
+ t("click-link");
262
258
  };
263
- return (p, gt) => (a(), d("div", {
264
- class: r(o(f).wrapper)
259
+ return (u, q) => (a(), i("div", {
260
+ class: o(r(f).wrapper)
265
261
  }, [
266
- u.value ? (a(), C(o(Ve), {
262
+ v.value ? (a(), L(r(We), {
267
263
  key: 0,
268
- for: p.id,
269
- onClick: F
264
+ for: u.id,
265
+ onClick: M
270
266
  }, {
271
267
  header: $(() => [
272
- j(T(t.header), 1)
268
+ B(g(l.header), 1)
273
269
  ]),
274
270
  subTitle: $(() => [
275
- j(T(t.subTitle), 1)
271
+ B(g(l.subTitle), 1)
276
272
  ]),
277
273
  link: $(() => [
278
- j(T(t.link), 1)
274
+ B(g(l.link), 1)
279
275
  ]),
280
276
  default: $(() => [
281
- j(" " + T(t.title) + " ", 1)
277
+ B(" " + g(l.title) + " ", 1)
282
278
  ]),
283
279
  _: 1
284
- }, 8, ["for"])) : _("", !0),
285
- x("input", E({
286
- id: p.id,
287
- value: i.value,
288
- name: p.name,
289
- type: p.type,
290
- disabled: p.disabled || p.loading,
291
- placeholder: p.placeholder,
292
- class: b.value,
293
- "aria-invalid": !!p.error
294
- }, o(s), {
295
- onInput: L,
296
- onKeydown: k,
297
- onFocus: R,
298
- onBlur: A
299
- }), null, 16, Pe),
300
- g.value ? (a(), d("div", {
280
+ }, 8, ["for"])) : p("", !0),
281
+ R(N("input", {
282
+ id: u.id,
283
+ "onUpdate:modelValue": q[0] || (q[0] = (O) => s.value = O),
284
+ name: u.name,
285
+ type: u.type,
286
+ disabled: u.disabled || u.loading,
287
+ placeholder: u.placeholder,
288
+ class: o(d.value),
289
+ onInput: w,
290
+ onKeydown: h
291
+ }, null, 42, Ae), [
292
+ [A, s.value]
293
+ ]),
294
+ _.value ? (a(), i("div", {
301
295
  key: 1,
302
- class: r(o(f).description)
296
+ class: o(r(f).description)
303
297
  }, [
304
- p.error ? (a(), d("div", {
298
+ u.error ? (a(), i("div", {
305
299
  key: 0,
306
- class: r(o(f).errorText),
307
- innerHTML: p.error
308
- }, null, 10, Ge)) : _("", !0),
309
- p.description ? (a(), d("div", {
300
+ class: o(r(f).errorText),
301
+ innerHTML: u.error
302
+ }, null, 10, Fe)) : p("", !0),
303
+ u.description ? (a(), i("div", {
310
304
  key: 1,
311
- class: r(o(f).descriptionText),
312
- innerHTML: p.description
313
- }, null, 10, Ke)) : _("", !0)
314
- ], 2)) : _("", !0)
305
+ class: o(r(f).descriptionText),
306
+ innerHTML: u.description
307
+ }, null, 10, Ge)) : p("", !0)
308
+ ], 2)) : p("", !0)
315
309
  ], 2));
316
310
  }
317
- }), Je = "_label_jcdiv_1", Qe = "_disabled_jcdiv_7", Xe = "_input_jcdiv_17", Ye = "_error_jcdiv_30", Ze = "_text_jcdiv_70", et = "_errorText_jcdiv_76", w = {
318
- label: Je,
319
- disabled: Qe,
320
- input: Xe,
321
- error: Ye,
322
- text: Ze,
323
- errorText: et
324
- }, tt = ["for"], st = ["id", "name", "disabled"], Bt = /* @__PURE__ */ v({
311
+ }), Ke = "_label_jcdiv_1", Pe = "_disabled_jcdiv_7", Je = "_input_jcdiv_17", Qe = "_error_jcdiv_30", Xe = "_text_jcdiv_70", Ye = "_errorText_jcdiv_76", T = {
312
+ label: Ke,
313
+ disabled: Pe,
314
+ input: Je,
315
+ error: Qe,
316
+ text: Xe,
317
+ errorText: Ye
318
+ }, Ze = ["for"], et = ["id", "name", "disabled"], vt = /* @__PURE__ */ b({
325
319
  __name: "checkbox",
326
- props: /* @__PURE__ */ q({
320
+ props: /* @__PURE__ */ z({
327
321
  id: {},
328
322
  name: {},
329
323
  disabled: { type: Boolean },
@@ -335,117 +329,123 @@ const B = (l, e) => {
335
329
  checkedModifiers: {}
336
330
  }),
337
331
  emits: ["update:checked"],
338
- setup(l) {
339
- const e = l, t = D(l, "checked"), n = c(() => [
340
- w.label,
332
+ setup(n) {
333
+ const e = D(n, "checked"), s = n, l = c(() => [
334
+ T.label,
341
335
  {
342
- [w.disabled]: e.disabled
336
+ [T.disabled]: s.disabled
343
337
  },
344
- e.className
338
+ s.className
345
339
  ]);
346
- return (s, i) => (a(), d("div", null, [
347
- x("label", {
348
- for: s.id,
349
- class: r(n.value)
340
+ return (t, d) => (a(), i("div", null, [
341
+ N("label", {
342
+ for: t.id,
343
+ class: o(l.value)
350
344
  }, [
351
- K(x("input", {
352
- id: s.id,
353
- "onUpdate:modelValue": i[0] || (i[0] = (b) => t.value = b),
354
- name: s.name,
345
+ R(N("input", {
346
+ id: t.id,
347
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => e.value = v),
348
+ name: t.name,
355
349
  type: "checkbox",
356
- disabled: s.disabled,
357
- class: r([o(w).input, { [o(w).error]: !!e.error }])
358
- }, null, 10, st), [
359
- [J, t.value]
350
+ disabled: t.disabled,
351
+ class: o([r(T).input, { [r(T).error]: !!s.error }])
352
+ }, null, 10, et), [
353
+ [F, e.value]
360
354
  ]),
361
- s.$slots.default ? (a(), d("span", {
355
+ t.$slots.default ? (a(), i("span", {
362
356
  key: 0,
363
- class: r(o(w).text)
357
+ class: o(r(T).text)
364
358
  }, [
365
- m(s.$slots, "default")
366
- ], 2)) : _("", !0)
367
- ], 10, tt),
368
- s.error ? (a(), d("div", {
359
+ m(t.$slots, "default")
360
+ ], 2)) : p("", !0)
361
+ ], 10, Ze),
362
+ t.error ? (a(), i("div", {
369
363
  key: 0,
370
- class: r(o(w).errorText)
371
- }, T(s.error), 3)) : _("", !0)
364
+ class: o(r(T).errorText)
365
+ }, g(t.error), 3)) : p("", !0)
372
366
  ]));
373
367
  }
374
- }), Ct = async () => {
368
+ }), ht = async () => {
375
369
  if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
376
370
  try {
377
371
  const e = `
378
372
  <svg id="__svg-sprite__" xmlns="http://www.w3.org/2000/svg" style="display: none;">
379
- ${(await import("./sprite-CRtOoHbV.js")).default}
373
+ ${(await import("./sprite-joD_WDv4.js")).default}
380
374
  </svg>
381
375
  `;
382
376
  document.body.insertAdjacentHTML("afterbegin", e);
383
- } catch (l) {
384
- console.error("Failed to load SVG sprite:", l);
377
+ } catch (n) {
378
+ console.error("Failed to load SVG sprite:", n);
385
379
  }
386
- }, lt = "_title_j3vxq_1", U = {
387
- title: lt,
380
+ }, tt = "_title_j3vxq_1", H = {
381
+ title: tt,
388
382
  "level-1": "_level-1_j3vxq_8",
389
383
  "level-2": "_level-2_j3vxq_14",
390
384
  "level-3": "_level-3_j3vxq_20",
391
385
  "level-4": "_level-4_j3vxq_26"
392
- }, Nt = /* @__PURE__ */ v({
386
+ }, ft = /* @__PURE__ */ b({
393
387
  __name: "title",
394
388
  props: {
395
389
  level: {},
390
+ text: {},
396
391
  className: {}
397
392
  },
398
- setup(l) {
399
- const e = l, t = c(() => [
400
- U.title,
401
- U[`level-${e.level ?? 1}`],
393
+ setup(n) {
394
+ const e = n, s = c(() => [
395
+ H.title,
396
+ H[`level-${e.level ?? 1}`],
402
397
  e.className
403
- ]), n = c(() => `h${e.level ?? 1}`);
404
- return (s, i) => (a(), C(O(n.value), {
405
- class: r(t.value)
398
+ ]), l = c(() => `h${e.level ?? 1}`);
399
+ return (t, d) => (a(), L(E(l.value), {
400
+ class: o(s.value)
406
401
  }, {
407
402
  default: $(() => [
408
- m(s.$slots, "default")
403
+ m(t.$slots, "default", {}, () => [
404
+ B(g(t.text), 1)
405
+ ])
409
406
  ]),
410
407
  _: 3
411
408
  }, 8, ["class"]));
412
409
  }
413
- }), nt = "_text_pweht_1", ot = "_primary_pweht_8", at = "_medium_pweht_13", rt = "_secondary_pweht_18", ct = "_accent_pweht_27", it = "_subtitle_pweht_36", I = {
414
- text: nt,
415
- primary: ot,
416
- medium: at,
417
- secondary: rt,
418
- accent: ct,
419
- subtitle: it
420
- }, jt = /* @__PURE__ */ v({
410
+ }), st = "_text_pweht_1", lt = "_primary_pweht_8", nt = "_medium_pweht_13", ot = "_secondary_pweht_18", at = "_accent_pweht_27", rt = "_subtitle_pweht_36", x = {
411
+ text: st,
412
+ primary: lt,
413
+ medium: nt,
414
+ secondary: ot,
415
+ accent: at,
416
+ subtitle: rt
417
+ }, kt = /* @__PURE__ */ b({
421
418
  __name: "text",
422
419
  props: {
423
420
  tagName: { default: "p" },
421
+ text: {},
424
422
  kind: { default: "primary" },
425
423
  weight: {}
426
424
  },
427
- setup(l) {
428
- const e = l, t = c(() => [
429
- I.text,
430
- I[e.kind],
431
- e.weight && I[e.weight]
425
+ setup(n) {
426
+ const e = n, s = c(() => [
427
+ x.text,
428
+ x[e.kind],
429
+ e.weight && x[e.weight]
432
430
  ]);
433
- return (n, s) => (a(), C(O(n.tagName), {
434
- class: r(t.value)
431
+ return (l, t) => (a(), L(E(l.tagName), {
432
+ class: o(s.value)
435
433
  }, {
436
434
  default: $(() => [
437
- m(n.$slots, "default")
435
+ m(l.$slots, "default", {}, () => [
436
+ B(g(l.text), 1)
437
+ ])
438
438
  ]),
439
439
  _: 3
440
440
  }, 8, ["class"]));
441
441
  }
442
- }), dt = "_s_n8n8w_9", _t = "_xs_n8n8w_14", ut = "_m_n8n8w_19", pt = "_l_n8n8w_24", yt = "_button_n8n8w_30", V = {
443
- s: dt,
444
- xs: _t,
445
- m: ut,
446
- l: pt,
447
- button: yt
448
- }, xt = /* @__PURE__ */ v({
442
+ }), ct = "_s_n8n8w_9", it = "_xs_n8n8w_14", dt = "_m_n8n8w_19", _t = "_l_n8n8w_24", ut = "_button_n8n8w_30", U = {
443
+ s: ct,
444
+ xs: it,
445
+ m: dt,
446
+ l: _t,
447
+ button: ut
448
+ }, $t = /* @__PURE__ */ b({
449
449
  __name: "button-icon",
450
450
  props: {
451
451
  icon: {},
@@ -460,93 +460,47 @@ const B = (l, e) => {
460
460
  bordered: { type: Boolean, default: !1 }
461
461
  },
462
462
  emits: ["click"],
463
- setup(l) {
464
- const e = l, t = c(() => [V.button, V[e.size], e.className]), n = c(() => {
465
- const s = e.size === "xs" ? "18" : "20";
466
- return e.icon.replace(/-?\d*$/, `-${s}`);
463
+ setup(n) {
464
+ const e = n, s = c(() => [U.button, U[e.size], e.className]), l = c(() => {
465
+ const t = e.size === "xs" ? "18" : "20";
466
+ return e.icon.replace(/-?\d*$/, `-${t}`);
467
467
  });
468
- return (s, i) => (a(), C(o(W), E({ class: t.value }, e, {
468
+ return (t, d) => (a(), L(r(Ne), G({ class: s.value }, e, {
469
469
  "html-type": "button",
470
- onClick: i[0] || (i[0] = (b) => s.$emit("click"))
470
+ onClick: d[0] || (d[0] = (v) => t.$emit("click"))
471
471
  }), {
472
472
  before: $(() => [
473
- M(o(S), { type: n.value }, null, 8, ["type"])
473
+ S(r(I), { type: l.value }, null, 8, ["type"])
474
474
  ]),
475
475
  _: 1
476
476
  }, 16, ["class"]));
477
477
  }
478
- }), mt = "_button_fj122_1", bt = {
479
- button: mt
480
- }, Lt = /* @__PURE__ */ v({
478
+ }), pt = "_button_fj122_1", yt = {
479
+ button: pt
480
+ }, gt = /* @__PURE__ */ b({
481
481
  __name: "button-link",
482
482
  emits: ["click"],
483
- setup(l) {
484
- return (e, t) => (a(), d("button", {
485
- class: r(o(bt).button),
483
+ setup(n) {
484
+ return (e, s) => (a(), i("button", {
485
+ class: o(r(yt).button),
486
486
  type: "button",
487
- onClick: t[0] || (t[0] = (n) => e.$emit("click"))
487
+ onClick: s[0] || (s[0] = (l) => e.$emit("click"))
488
488
  }, [
489
- M(o(S), { type: "plus-18" }),
489
+ S(r(I), { type: "plus-18" }),
490
490
  m(e.$slots, "default")
491
491
  ], 2));
492
492
  }
493
- }), vt = "_plank_dwxr0_1", kt = "_accent_dwxr0_25", ht = "_danger_dwxr0_31", ft = "_text_dwxr0_37", $t = "_icon_dwxr0_41", z = {
494
- plank: vt,
495
- default: "_default_dwxr0_19",
496
- accent: kt,
497
- danger: ht,
498
- text: ft,
499
- icon: $t
500
- }, zt = /* @__PURE__ */ v({
501
- __name: "base-plank",
502
- props: {
503
- type: { default: "default" },
504
- icon: {},
505
- label: {}
506
- },
507
- emits: ["click"],
508
- setup(l) {
509
- const e = l, t = H(), n = c(() => B(t)), s = c(() => [z.plank, z[e.type]]);
510
- return (i, b) => (a(), d("div", {
511
- class: r(s.value)
512
- }, [
513
- i.icon ? (a(), d("div", {
514
- key: 0,
515
- class: r(o(z).icon)
516
- }, [
517
- M(o(S), { type: i.icon }, null, 8, ["type"])
518
- ], 2)) : _("", !0),
519
- n.value ? (a(), d("div", {
520
- key: 1,
521
- class: r(o(z).text)
522
- }, [
523
- m(i.$slots, "default")
524
- ], 2)) : _("", !0),
525
- i.label ? (a(), C(o(W), {
526
- key: 2,
527
- size: "xs",
528
- type: "secondary",
529
- onClick: b[0] || (b[0] = (u) => i.$emit("click"))
530
- }, {
531
- default: $(() => [
532
- j(T(i.label), 1)
533
- ]),
534
- _: 1
535
- })) : _("", !0)
536
- ], 2));
537
- }
538
493
  });
539
494
  export {
540
- W as BaseButton,
541
- Bt as BaseCheckbox,
542
- S as BaseIcon,
543
- Tt as BaseInput,
544
- Ve as BaseLabel,
545
- ne as BaseLoader,
546
- zt as BasePlank,
547
- jt as BaseText,
548
- Nt as BaseTitle,
549
- xt as ButtonIcon,
550
- Lt as ButtonLink,
551
- Ct as injectSvgSprite
495
+ Ne as BaseButton,
496
+ vt as BaseCheckbox,
497
+ I as BaseIcon,
498
+ bt as BaseInput,
499
+ We as BaseLabel,
500
+ te as BaseLoader,
501
+ kt as BaseText,
502
+ ft as BaseTitle,
503
+ $t as ButtonIcon,
504
+ gt as ButtonLink,
505
+ ht as injectSvgSprite
552
506
  };