@huntflow/ui 0.0.55 → 0.0.57

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%}._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, createElementBlock as i, openBlock as a, normalizeClass as o, unref as r, normalizeStyle as O, createElementVNode as L, useSlots as V, createCommentVNode as p, renderSlot as m, createBlock as x, createVNode as S, mergeModels as z, useModel as D, withDirectives as R, withCtx as T, createTextVNode as B, toDisplayString as $, vModelDynamic as W, vModelCheckbox as A, resolveDynamicComponent as F, 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() !== "";
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() !== "";
8
8
  })) ?? !1;
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,
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,
12
12
  "loader-animation": "_loader-animation_t6bg6_1",
13
- white: J,
14
- black: Q,
15
- s: X,
16
- m: Y,
17
- l: Z,
18
- spinner: ee
19
- }, te = /* @__PURE__ */ b({
13
+ white: Y,
14
+ black: Z,
15
+ s: ee,
16
+ m: te,
17
+ l: se,
18
+ spinner: le
19
+ }, ne = /* @__PURE__ */ v({
20
20
  __name: "loader",
21
21
  props: {
22
22
  className: {},
23
23
  size: { default: "l" },
24
24
  color: { default: "black" }
25
25
  },
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])
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])
30
30
  }, null, 2));
31
31
  }
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", ke = "_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: ke,
51
- "ghost-danger": "_ghost-danger_1syl2_1"
52
- }, fe = ["aria-label", "width", "height"], $e = ["xlink:href"], ge = /* @__PURE__ */ b({
32
+ }), oe = ["aria-label", "width", "height"], ae = ["xlink:href"], re = /* @__PURE__ */ v({
53
33
  __name: "icon",
54
34
  props: {
55
35
  type: {},
56
36
  color: {},
57
37
  block: { type: Boolean }
58
38
  },
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;
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;
67
47
  });
68
- return (t, d) => (a(), i("svg", {
69
- class: o(t.$style.icon),
70
- "aria-label": t.type,
71
- style: O(l.value),
48
+ return (s, i) => (a(), d("svg", {
49
+ class: r(s.$style.icon),
50
+ "aria-label": s.type,
51
+ style: P(n.value),
72
52
  role: "img",
73
- width: s.value,
74
- height: s.value
53
+ width: t.value,
54
+ height: t.value
75
55
  }, [
76
- L("use", {
77
- "xlink:href": `#${t.type}`
78
- }, null, 8, $e)
79
- ], 14, fe));
56
+ x("use", {
57
+ "xlink:href": `#${s.type}`
58
+ }, null, 8, ae)
59
+ ], 14, oe));
80
60
  }
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"], Le = /* @__PURE__ */ b({
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({
91
91
  __name: "button",
92
92
  props: {
93
93
  size: { default: "m" },
@@ -103,8 +103,8 @@ const j = (n, e) => {
103
103
  htmlType: {}
104
104
  },
105
105
  emits: ["click"],
106
- setup(n) {
107
- const e = V(), s = n, l = {
106
+ setup(l) {
107
+ const e = l, t = H(), n = {
108
108
  primary: "white",
109
109
  secondary: "black",
110
110
  accent: "white",
@@ -112,115 +112,115 @@ const j = (n, e) => {
112
112
  jobsites: "white",
113
113
  ghost: "black",
114
114
  "ghost-danger": "black"
115
- }, t = c(() => j(e)), d = c(() => [
115
+ }, s = c(() => B(t)), i = c(() => [
116
116
  y.button,
117
- y[s.size],
118
- y[s.type],
119
- s.circle ? [y.circle] : [y.square],
117
+ y[e.size],
118
+ y[e.type],
119
+ e.circle ? [y.circle] : [y.square],
120
120
  {
121
- [y.disabled]: s.disabled,
122
- [y.loading]: s.loading,
123
- [y.active]: s.active,
124
- [y.bordered]: s.bordered
121
+ [y.disabled]: e.disabled,
122
+ [y.loading]: e.loading,
123
+ [y.active]: e.active,
124
+ [y.bordered]: e.bordered
125
125
  },
126
- s.className
127
- ]), v = c(() => l[s.type] || "white");
128
- return (_, g) => (a(), i("button", {
129
- name: _.name,
130
- class: o(d.value),
131
- type: _.htmlType,
132
- disabled: _.disabled || _.loading,
133
- onClick: g[0] || (g[0] = (h) => _.$emit("click"))
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"))
134
134
  }, [
135
- _.loading ? (a(), i("div", {
135
+ u.loading ? (a(), d("div", {
136
136
  key: 0,
137
- class: o(r(y).loader)
137
+ class: r(o(y).loader)
138
138
  }, [
139
- S(r(te), {
139
+ M(o(ne), {
140
140
  size: "s",
141
- color: v.value
141
+ color: b.value
142
142
  }, null, 8, ["color"])
143
- ], 2)) : p("", !0),
144
- _.$slots.before ? m(_.$slots, "before", { key: 1 }) : p("", !0),
145
- t.value ? (a(), i("span", {
143
+ ], 2)) : _("", !0),
144
+ u.$slots.before ? m(u.$slots, "before", { key: 1 }) : _("", !0),
145
+ s.value ? (a(), d("span", {
146
146
  key: 2,
147
- class: o(r(y).content)
147
+ class: r(o(y).content)
148
148
  }, [
149
- m(_.$slots, "default")
150
- ], 2)) : p("", !0),
151
- _.$slots.after ? m(_.$slots, "after", { key: 3 }) : p("", !0),
152
- _.dropdown ? (a(), x(I, {
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, {
153
153
  key: 4,
154
- class: o(r(y).dropdownIcon),
154
+ class: r(o(y).dropdownIcon),
155
155
  type: "chevron-down-18"
156
- }, null, 8, ["class"])) : p("", !0)
157
- ], 10, je));
156
+ }, null, 8, ["class"])) : _("", !0)
157
+ ], 10, Le));
158
158
  }
159
- }), Ne = "_wrapper_1rgcl_1", xe = "_input_1rgcl_5", Me = "_error_1rgcl_35", ze = "_description_1rgcl_47", Se = "_descriptionText_1rgcl_58", Ie = "_errorText_1rgcl_62", k = {
160
- wrapper: Ne,
161
- input: xe,
162
- error: Me,
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", f = {
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({
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({
176
169
  __name: "label",
177
170
  emits: ["click"],
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), g = c(
180
- () => [f.link, _.value && f.linkUpper].filter(Boolean)
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)
181
174
  );
182
- return (h, N) => (a(), i("label", {
183
- class: o(r(f).label)
175
+ return (k, L) => (a(), d("label", {
176
+ class: r(o(h).label)
184
177
  }, [
185
- v.value ? (a(), i("span", {
178
+ b.value ? (a(), d("span", {
186
179
  key: 0,
187
- class: o(r(f).headerWrapper)
180
+ class: r(o(h).headerWrapper)
188
181
  }, [
189
- s.value ? (a(), i("span", {
182
+ t.value ? (a(), d("span", {
190
183
  key: 0,
191
- class: o(r(f).header)
184
+ class: r(o(h).header)
192
185
  }, [
193
- m(h.$slots, "header")
194
- ], 2)) : p("", !0),
195
- l.value ? (a(), i("span", {
186
+ m(k.$slots, "header")
187
+ ], 2)) : _("", !0),
188
+ n.value ? (a(), d("span", {
196
189
  key: 1,
197
- class: o(r(f).title)
190
+ class: r(o(h).title)
198
191
  }, [
199
- m(h.$slots, "default")
200
- ], 2)) : p("", !0),
201
- t.value ? (a(), i("span", {
192
+ m(k.$slots, "default")
193
+ ], 2)) : _("", !0),
194
+ s.value ? (a(), d("span", {
202
195
  key: 2,
203
- class: o(r(f).subTitleRow)
196
+ class: r(o(h).subTitleRow)
204
197
  }, [
205
- L("span", {
206
- class: o(r(f).subTitle)
198
+ x("span", {
199
+ class: r(o(h).subTitle)
207
200
  }, [
208
- m(h.$slots, "subTitle")
201
+ m(k.$slots, "subTitle")
209
202
  ], 2)
210
- ], 2)) : p("", !0)
211
- ], 2)) : p("", !0),
212
- d.value ? (a(), i("span", {
203
+ ], 2)) : _("", !0)
204
+ ], 2)) : _("", !0),
205
+ i.value ? (a(), d("span", {
213
206
  key: 1,
214
- class: o(g.value),
215
- onClick: N[0] || (N[0] = (u) => h.$emit("click"))
207
+ class: r(g.value),
208
+ onClick: L[0] || (L[0] = (R) => k.$emit("click"))
216
209
  }, [
217
- m(h.$slots, "link")
218
- ], 2)) : p("", !0)
210
+ m(k.$slots, "link")
211
+ ], 2)) : _("", !0)
219
212
  ], 2));
220
213
  }
221
- }), Ae = ["id", "name", "type", "disabled", "placeholder"], Fe = ["innerHTML"], Ge = ["innerHTML"], bt = /* @__PURE__ */ b({
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({
222
222
  __name: "input",
223
- props: /* @__PURE__ */ z({
223
+ props: /* @__PURE__ */ q({
224
224
  value: {},
225
225
  type: { default: "text" },
226
226
  id: {},
@@ -239,85 +239,91 @@ const j = (n, e) => {
239
239
  value: {},
240
240
  valueModifiers: {}
241
241
  }),
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
- k.input,
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(() => [
245
+ f.input,
246
246
  {
247
- [k.disabled]: l.disabled,
248
- [k.error]: l.error,
249
- [k.loading]: l.loading
247
+ [f.disabled]: t.disabled,
248
+ [f.error]: t.error,
249
+ [f.loading]: t.loading
250
250
  },
251
- l.className
252
- ]), v = c(() => l.header || l.title || l.subTitle || l.link), _ = c(() => l.description || l.error), g = (u) => {
253
- t("update:value", u.target.value);
254
- }, h = (u) => {
255
- u.key === "Enter" && t("enter");
256
- }, N = () => {
257
- t("click-link");
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");
258
262
  };
259
- return (u, q) => (a(), i("div", {
260
- class: o(r(k).wrapper)
263
+ return (p, gt) => (a(), d("div", {
264
+ class: r(o(f).wrapper)
261
265
  }, [
262
- v.value ? (a(), x(r(We), {
266
+ u.value ? (a(), C(o(Ve), {
263
267
  key: 0,
264
- for: u.id,
265
- onClick: N
268
+ for: p.id,
269
+ onClick: F
266
270
  }, {
267
- header: T(() => [
268
- B($(l.header), 1)
271
+ header: $(() => [
272
+ j(T(t.header), 1)
269
273
  ]),
270
- subTitle: T(() => [
271
- B($(l.subTitle), 1)
274
+ subTitle: $(() => [
275
+ j(T(t.subTitle), 1)
272
276
  ]),
273
- link: T(() => [
274
- B($(l.link), 1)
277
+ link: $(() => [
278
+ j(T(t.link), 1)
275
279
  ]),
276
- default: T(() => [
277
- B(" " + $(l.title) + " ", 1)
280
+ default: $(() => [
281
+ j(" " + T(t.title) + " ", 1)
278
282
  ]),
279
283
  _: 1
280
- }, 8, ["for"])) : p("", !0),
281
- R(L("input", {
282
- id: u.id,
283
- "onUpdate:modelValue": q[0] || (q[0] = (E) => s.value = E),
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: g,
290
- onKeydown: h
291
- }, null, 42, Ae), [
292
- [W, s.value]
293
- ]),
294
- _.value ? (a(), i("div", {
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", {
295
301
  key: 1,
296
- class: o(r(k).description)
302
+ class: r(o(f).description)
297
303
  }, [
298
- u.error ? (a(), i("div", {
304
+ p.error ? (a(), d("div", {
299
305
  key: 0,
300
- class: o(r(k).errorText),
301
- innerHTML: u.error
302
- }, null, 10, Fe)) : p("", !0),
303
- u.description ? (a(), i("div", {
306
+ class: r(o(f).errorText),
307
+ innerHTML: p.error
308
+ }, null, 10, Ge)) : _("", !0),
309
+ p.description ? (a(), d("div", {
304
310
  key: 1,
305
- class: o(r(k).descriptionText),
306
- innerHTML: u.description
307
- }, null, 10, Ge)) : p("", !0)
308
- ], 2)) : p("", !0)
311
+ class: r(o(f).descriptionText),
312
+ innerHTML: p.description
313
+ }, null, 10, Ke)) : _("", !0)
314
+ ], 2)) : _("", !0)
309
315
  ], 2));
310
316
  }
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", w = {
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({
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({
319
325
  __name: "checkbox",
320
- props: /* @__PURE__ */ z({
326
+ props: /* @__PURE__ */ q({
321
327
  id: {},
322
328
  name: {},
323
329
  disabled: { type: Boolean },
@@ -329,115 +335,117 @@ const j = (n, e) => {
329
335
  checkedModifiers: {}
330
336
  }),
331
337
  emits: ["update:checked"],
332
- setup(n) {
333
- const e = D(n, "checked"), s = n, l = c(() => [
338
+ setup(l) {
339
+ const e = l, t = D(l, "checked"), n = c(() => [
334
340
  w.label,
335
341
  {
336
- [w.disabled]: s.disabled
342
+ [w.disabled]: e.disabled
337
343
  },
338
- s.className
344
+ e.className
339
345
  ]);
340
- return (t, d) => (a(), i("div", null, [
341
- L("label", {
342
- for: t.id,
343
- class: o(l.value)
346
+ return (s, i) => (a(), d("div", null, [
347
+ x("label", {
348
+ for: s.id,
349
+ class: r(n.value)
344
350
  }, [
345
- R(L("input", {
346
- id: t.id,
347
- "onUpdate:modelValue": d[0] || (d[0] = (v) => e.value = v),
348
- name: t.name,
351
+ K(x("input", {
352
+ id: s.id,
353
+ "onUpdate:modelValue": i[0] || (i[0] = (b) => t.value = b),
354
+ name: s.name,
349
355
  type: "checkbox",
350
- disabled: t.disabled,
351
- class: o([r(w).input, { [r(w).error]: !!s.error }])
352
- }, null, 10, et), [
353
- [A, e.value]
356
+ disabled: s.disabled,
357
+ class: r([o(w).input, { [o(w).error]: !!e.error }])
358
+ }, null, 10, st), [
359
+ [J, t.value]
354
360
  ]),
355
- t.$slots.default ? (a(), i("span", {
361
+ s.$slots.default ? (a(), d("span", {
356
362
  key: 0,
357
- class: o(r(w).text)
363
+ class: r(o(w).text)
358
364
  }, [
359
- m(t.$slots, "default")
360
- ], 2)) : p("", !0)
361
- ], 10, Ze),
362
- t.error ? (a(), i("div", {
365
+ m(s.$slots, "default")
366
+ ], 2)) : _("", !0)
367
+ ], 10, tt),
368
+ s.error ? (a(), d("div", {
363
369
  key: 0,
364
- class: o(r(w).errorText)
365
- }, $(t.error), 3)) : p("", !0)
370
+ class: r(o(w).errorText)
371
+ }, T(s.error), 3)) : _("", !0)
366
372
  ]));
367
373
  }
368
- }), ht = async () => {
374
+ }), Ct = async () => {
369
375
  if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
370
376
  try {
371
377
  const e = `
372
378
  <svg id="__svg-sprite__" xmlns="http://www.w3.org/2000/svg" style="display: none;">
373
- ${(await import("./sprite-joD_WDv4.js")).default}
379
+ ${(await import("./sprite-CRtOoHbV.js")).default}
374
380
  </svg>
375
381
  `;
376
382
  document.body.insertAdjacentHTML("afterbegin", e);
377
- } catch (n) {
378
- console.error("Failed to load SVG sprite:", n);
383
+ } catch (l) {
384
+ console.error("Failed to load SVG sprite:", l);
379
385
  }
380
- }, tt = "_title_j3vxq_1", H = {
381
- title: tt,
386
+ }, lt = "_title_j3vxq_1", U = {
387
+ title: lt,
382
388
  "level-1": "_level-1_j3vxq_8",
383
389
  "level-2": "_level-2_j3vxq_14",
384
390
  "level-3": "_level-3_j3vxq_20",
385
391
  "level-4": "_level-4_j3vxq_26"
386
- }, kt = /* @__PURE__ */ b({
392
+ }, Nt = /* @__PURE__ */ v({
387
393
  __name: "title",
388
394
  props: {
389
395
  level: {},
390
- text: {},
391
396
  className: {}
392
397
  },
393
- setup(n) {
394
- const e = n, s = c(() => [H.title, H[`level-${e.level}`], e.className]), l = c(() => `h${e.level}`);
395
- return (t, d) => (a(), x(F(l.value), {
396
- class: o(s.value)
398
+ setup(l) {
399
+ const e = l, t = c(() => [
400
+ U.title,
401
+ U[`level-${e.level ?? 1}`],
402
+ e.className
403
+ ]), n = c(() => `h${e.level ?? 1}`);
404
+ return (s, i) => (a(), C(O(n.value), {
405
+ class: r(t.value)
397
406
  }, {
398
- default: T(() => [
399
- m(t.$slots, "default", {}, () => [
400
- B($(t.text), 1)
401
- ])
407
+ default: $(() => [
408
+ m(s.$slots, "default")
402
409
  ]),
403
410
  _: 3
404
411
  }, 8, ["class"]));
405
412
  }
406
- }), st = "_text_pweht_1", lt = "_primary_pweht_8", nt = "_medium_pweht_13", ot = "_secondary_pweht_18", at = "_accent_pweht_27", rt = "_subtitle_pweht_36", M = {
407
- text: st,
408
- primary: lt,
409
- medium: nt,
410
- secondary: ot,
411
- accent: at,
412
- subtitle: rt
413
- }, ft = /* @__PURE__ */ b({
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({
414
421
  __name: "text",
415
422
  props: {
416
- text: {},
423
+ tagName: { default: "p" },
417
424
  kind: { default: "primary" },
418
425
  weight: {}
419
426
  },
420
- setup(n) {
421
- const e = n, s = c(() => [
422
- M.text,
423
- M[e.kind],
424
- e.weight && M[e.weight]
427
+ setup(l) {
428
+ const e = l, t = c(() => [
429
+ I.text,
430
+ I[e.kind],
431
+ e.weight && I[e.weight]
425
432
  ]);
426
- return (l, t) => (a(), i("p", {
427
- class: o(s.value)
428
- }, [
429
- m(l.$slots, "default", {}, () => [
430
- B($(l.text), 1)
431
- ])
432
- ], 2));
433
+ return (n, s) => (a(), C(O(n.tagName), {
434
+ class: r(t.value)
435
+ }, {
436
+ default: $(() => [
437
+ m(n.$slots, "default")
438
+ ]),
439
+ _: 3
440
+ }, 8, ["class"]));
433
441
  }
434
- }), ct = "_s_n8n8w_9", it = "_xs_n8n8w_14", dt = "_m_n8n8w_19", _t = "_l_n8n8w_24", ut = "_button_n8n8w_30", U = {
435
- s: ct,
436
- xs: it,
437
- m: dt,
438
- l: _t,
439
- button: ut
440
- }, $t = /* @__PURE__ */ b({
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({
441
449
  __name: "button-icon",
442
450
  props: {
443
451
  icon: {},
@@ -452,47 +460,93 @@ const j = (n, e) => {
452
460
  bordered: { type: Boolean, default: !1 }
453
461
  },
454
462
  emits: ["click"],
455
- setup(n) {
456
- const e = n, s = c(() => [U.button, U[e.size], e.className]), l = c(() => {
457
- const t = e.size === "xs" ? "18" : "20";
458
- return e.icon.replace(/-?\d*$/, `-${t}`);
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}`);
459
467
  });
460
- return (t, d) => (a(), x(r(Le), G({ class: s.value }, e, {
468
+ return (s, i) => (a(), C(o(W), E({ class: t.value }, e, {
461
469
  "html-type": "button",
462
- onClick: d[0] || (d[0] = (v) => t.$emit("click"))
470
+ onClick: i[0] || (i[0] = (b) => s.$emit("click"))
463
471
  }), {
464
- before: T(() => [
465
- S(r(I), { type: l.value }, null, 8, ["type"])
472
+ before: $(() => [
473
+ M(o(S), { type: n.value }, null, 8, ["type"])
466
474
  ]),
467
475
  _: 1
468
476
  }, 16, ["class"]));
469
477
  }
470
- }), pt = "_button_fj122_1", yt = {
471
- button: pt
472
- }, gt = /* @__PURE__ */ b({
478
+ }), mt = "_button_fj122_1", bt = {
479
+ button: mt
480
+ }, Lt = /* @__PURE__ */ v({
473
481
  __name: "button-link",
474
482
  emits: ["click"],
475
- setup(n) {
476
- return (e, s) => (a(), i("button", {
477
- class: o(r(yt).button),
483
+ setup(l) {
484
+ return (e, t) => (a(), d("button", {
485
+ class: r(o(bt).button),
478
486
  type: "button",
479
- onClick: s[0] || (s[0] = (l) => e.$emit("click"))
487
+ onClick: t[0] || (t[0] = (n) => e.$emit("click"))
480
488
  }, [
481
- S(r(I), { type: "plus-18" }),
489
+ M(o(S), { type: "plus-18" }),
482
490
  m(e.$slots, "default")
483
491
  ], 2));
484
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
+ }
485
538
  });
486
539
  export {
487
- Le as BaseButton,
488
- vt as BaseCheckbox,
489
- I as BaseIcon,
490
- bt as BaseInput,
491
- We as BaseLabel,
492
- te as BaseLoader,
493
- ft as BaseText,
494
- kt as BaseTitle,
495
- $t as ButtonIcon,
496
- gt as ButtonLink,
497
- ht as injectSvgSprite
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
498
552
  };