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