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