@huntflow/ui 0.2.14 → 0.2.16
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-stack/types.d.ts +2 -1
- package/dist/ui.es.js +387 -368
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export type UiStackProps = {
|
|
2
2
|
tagName?: 'span' | 'div' | 'ul' | 'ol';
|
|
3
3
|
direction?: 'row' | 'column';
|
|
4
|
-
|
|
4
|
+
mainAlignment?: 'start' | 'center' | 'between' | 'around' | 'end';
|
|
5
|
+
crossAlignment?: 'start' | 'center' | 'end';
|
|
5
6
|
gap?: '' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | '3xl' | '4xl' | '5xl';
|
|
6
7
|
reverse?: boolean;
|
|
7
8
|
size?: 'full' | 'auto';
|
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}._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_cmm43_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_cmm43_1:hover{color:var(--hf-color-link-hover)}._button_cmm43_1:disabled,._button_cmm43_1:disabled:hover{color:var(--hf-color-link-default)}._lock_cmm43_30{margin:-12px -16px 0 0}._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_ujlw3_1{display:flex;flex-wrap:wrap}._full_ujlw3_6{width:100%}._auto_ujlw3_10{width:auto}._row_ujlw3_14{flex-direction:row}._row_ujlw3_14._reverse_ujlw3_17{flex-direction:row-reverse}._column_ujlw3_22{flex-direction:column;width:-moz-fit-content;width:fit-content}._column_ujlw3_22._reverse_ujlw3_17{flex-direction:column-reverse}._xxs_ujlw3_31{gap:var(--hf-spacing-xxs)}._xs_ujlw3_35{gap:var(--hf-spacing-xs)}._s_ujlw3_1{gap:var(--hf-spacing-s)}._m_ujlw3_43{gap:var(--hf-spacing-m)}._l_ujlw3_47{gap:var(--hf-spacing-l)}._xl_ujlw3_51{gap:var(--hf-spacing-xl)}._xxl_ujlw3_55{gap:var(--hf-spacing-xxl)}._xxxl_ujlw3_59{gap:var(--hf-spacing-3xl)}._xxxxl_ujlw3_63{gap:var(--hf-spacing-4xl)}._xxxxxl_ujlw3_67{gap:var(--hf-spacing-5xl)}._start_ujlw3_71{justify-content:flex-start}._center_ujlw3_75{justify-content:center}._between_ujlw3_79{justify-content:space-between}._end_ujlw3_83{justify-content:flex-end}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { defineComponent 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_cmm43_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_cmm43_1:hover{color:var(--hf-color-link-hover)}._button_cmm43_1:disabled,._button_cmm43_1:disabled:hover{color:var(--hf-color-link-default)}._lock_cmm43_30{margin:-12px -16px 0 0}._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_1sbhq_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_1sbhq_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)}._secondary_1sbhq_16{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)}._accent_1sbhq_22{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)}._subtitle_1sbhq_28{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)}._medium_1sbhq_34{font-weight:var(--hf-font-weight-text-primary-medium)}._color-main_1sbhq_38{color:var(--hf-color-text-main)}._color-secondary_1sbhq_42{color:var(--hf-color-text-secondary)}._color-semilight_1sbhq_46{color:var(--hf-color-text-semilight)}._color-light_1sbhq_50{color:var(--hf-color-text-light)}._color-invert_1sbhq_54{color:var(--hf-color-text-invert)}._color-danger_1sbhq_58{color:var(--hf-color-text-danger)}._color-success_1sbhq_62{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_1b4a2_1{list-style:none;display:flex;flex-wrap:wrap;margin:0;padding:0}._auto_1b4a2_9{width:auto}._row_1b4a2_13{flex-direction:row}._row_1b4a2_13._reverse_1b4a2_16{flex-direction:row-reverse}._column_1b4a2_21{flex-direction:column;width:-moz-fit-content;width:fit-content}._column_1b4a2_21._reverse_1b4a2_16{flex-direction:column-reverse}._full_1b4a2_30{width:100%}._xxs_1b4a2_34{gap:var(--hf-spacing-xxs)}._xs_1b4a2_38{gap:var(--hf-spacing-xs)}._s_1b4a2_1{gap:var(--hf-spacing-s)}._m_1b4a2_46{gap:var(--hf-spacing-m)}._l_1b4a2_50{gap:var(--hf-spacing-l)}._xl_1b4a2_54{gap:var(--hf-spacing-xl)}._xxl_1b4a2_58{gap:var(--hf-spacing-xxl)}._xxxl_1b4a2_62{gap:var(--hf-spacing-3xl)}._xxxxl_1b4a2_66{gap:var(--hf-spacing-4xl)}._xxxxxl_1b4a2_70{gap:var(--hf-spacing-5xl)}._main-start_1b4a2_74{justify-content:flex-start}._main-center_1b4a2_78{justify-content:center}._main-between_1b4a2_82{justify-content:space-between}._main-around_1b4a2_86{justify-content:space-around}._main-end_1b4a2_90{justify-content:flex-end}._cross-start_1b4a2_94{align-items:flex-start}._cross-center_1b4a2_98{align-items:center}._cross-end_1b4a2_102{align-items:flex-end}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent as b, toRefs as J, computed as d, createElementBlock as m, openBlock as a, normalizeClass as r, unref as o, normalizeStyle as Q, createElementVNode as j, createCommentVNode as p, renderSlot as f, createBlock as k, createVNode as L, mergeProps as N, withCtx as h, Fragment as X, toValue as Y, getCurrentInstance as Z, ref as E, Comment as ee, cloneVNode as te, h as z, useSlots as ne, mergeModels as M, useModel as se, useAttrs as le, createSlots as oe, createTextVNode as T, toDisplayString as q, resolveDynamicComponent as A, watch as ae } from "vue";
|
|
3
|
+
const re = "_loader_tpkd0_11", ce = "_circle_tpkd0_17", ie = "_white_tpkd0_24", ue = "_black_tpkd0_28", de = "_s_tpkd0_32", _e = "_m_tpkd0_37", me = "_l_tpkd0_11", pe = "_spinner_tpkd0_47", C = {
|
|
4
|
+
loader: re,
|
|
5
|
+
circle: ce,
|
|
6
6
|
"loader-animation": "_loader-animation_tpkd0_1",
|
|
7
|
-
white:
|
|
8
|
-
black:
|
|
9
|
-
s:
|
|
10
|
-
m:
|
|
11
|
-
l:
|
|
12
|
-
spinner:
|
|
13
|
-
},
|
|
7
|
+
white: ie,
|
|
8
|
+
black: ue,
|
|
9
|
+
s: de,
|
|
10
|
+
m: _e,
|
|
11
|
+
l: me,
|
|
12
|
+
spinner: pe
|
|
13
|
+
}, be = /* @__PURE__ */ b({
|
|
14
14
|
name: "UiLoader",
|
|
15
15
|
__name: "loader",
|
|
16
16
|
props: {
|
|
@@ -19,17 +19,17 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
19
19
|
color: {}
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
|
-
const t = e, { size:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
const t = e, { size: n, color: s } = J(t), l = d(() => n?.value ?? "l"), c = d(() => s?.value ?? "black"), _ = d(() => [
|
|
23
|
+
C.loader,
|
|
24
|
+
C[l.value],
|
|
25
|
+
C[c.value],
|
|
26
|
+
C.circle
|
|
27
27
|
]);
|
|
28
|
-
return (
|
|
29
|
-
class: r([o(
|
|
28
|
+
return (u, w) => (a(), m("span", {
|
|
29
|
+
class: r([o(C).spinner, _.value])
|
|
30
30
|
}, null, 2));
|
|
31
31
|
}
|
|
32
|
-
}), fe = ["aria-label", "width", "height"],
|
|
32
|
+
}), fe = ["aria-label", "width", "height"], ye = ["xlink:href"], ke = /* @__PURE__ */ b({
|
|
33
33
|
name: "UiIcon",
|
|
34
34
|
__name: "icon",
|
|
35
35
|
props: {
|
|
@@ -38,36 +38,36 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
38
38
|
block: { type: Boolean }
|
|
39
39
|
},
|
|
40
40
|
setup(e) {
|
|
41
|
-
const t = e,
|
|
42
|
-
const
|
|
43
|
-
return
|
|
44
|
-
}),
|
|
45
|
-
const
|
|
46
|
-
return t.color && (
|
|
41
|
+
const t = e, n = d(() => {
|
|
42
|
+
const l = t?.name?.match(/(\d+)$/);
|
|
43
|
+
return l ? Number.parseInt(l[1], 10) : 16;
|
|
44
|
+
}), s = d(() => {
|
|
45
|
+
const l = {};
|
|
46
|
+
return t.color && (l.color = t.color), t.block && (l.display = "block"), l;
|
|
47
47
|
});
|
|
48
|
-
return (
|
|
49
|
-
class: r(
|
|
50
|
-
"aria-label":
|
|
51
|
-
style: Q(
|
|
48
|
+
return (l, c) => (a(), m("svg", {
|
|
49
|
+
class: r(l.$style.icon),
|
|
50
|
+
"aria-label": l.name,
|
|
51
|
+
style: Q(s.value),
|
|
52
52
|
role: "img",
|
|
53
|
-
width:
|
|
54
|
-
height:
|
|
53
|
+
width: n.value,
|
|
54
|
+
height: n.value
|
|
55
55
|
}, [
|
|
56
|
-
|
|
57
|
-
"xlink:href": `#${
|
|
58
|
-
}, null, 8,
|
|
56
|
+
j("use", {
|
|
57
|
+
"xlink:href": `#${l.name}`
|
|
58
|
+
}, null, 8, ye)
|
|
59
59
|
], 14, fe));
|
|
60
60
|
}
|
|
61
|
-
}),
|
|
62
|
-
icon:
|
|
61
|
+
}), ge = "_icon_1p8iz_2", he = {
|
|
62
|
+
icon: ge
|
|
63
63
|
}, ve = (e, t) => {
|
|
64
|
-
const
|
|
65
|
-
for (const [
|
|
66
|
-
|
|
67
|
-
return
|
|
68
|
-
},
|
|
69
|
-
$style:
|
|
70
|
-
},
|
|
64
|
+
const n = e.__vccOpts || e;
|
|
65
|
+
for (const [s, l] of t)
|
|
66
|
+
n[s] = l;
|
|
67
|
+
return n;
|
|
68
|
+
}, $e = {
|
|
69
|
+
$style: he
|
|
70
|
+
}, x = /* @__PURE__ */ ve(ke, [["__cssModules", $e]]), hn = async () => {
|
|
71
71
|
if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
|
|
72
72
|
try {
|
|
73
73
|
const t = `
|
|
@@ -79,27 +79,27 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
79
79
|
} catch (e) {
|
|
80
80
|
console.error("Failed to load SVG sprite:", e);
|
|
81
81
|
}
|
|
82
|
-
},
|
|
83
|
-
button:
|
|
84
|
-
disabled:
|
|
85
|
-
loading:
|
|
86
|
-
loader:
|
|
87
|
-
content:
|
|
88
|
-
dropDown:
|
|
89
|
-
s:
|
|
82
|
+
}, xe = "_button_mb1r2_1", we = "_disabled_mb1r2_1", Ce = "_loading_mb1r2_1", Te = "_loader_mb1r2_1", qe = "_content_mb1r2_1", Ie = "_dropDown_mb1r2_1", Se = "_s_mb1r2_2", Be = "_xs_mb1r2_1", Ue = "_square_mb1r2_1", je = "_circle_mb1r2_1", Le = "_m_mb1r2_1", Ne = "_l_mb1r2_1", ze = "_primary_mb1r2_1", Ee = "_secondary_mb1r2_1", Ae = "_accent_mb1r2_1", Me = "_danger_mb1r2_1", Ve = "_jobsites_mb1r2_1", Oe = "_ghost_mb1r2_1", g = {
|
|
83
|
+
button: xe,
|
|
84
|
+
disabled: we,
|
|
85
|
+
loading: Ce,
|
|
86
|
+
loader: Te,
|
|
87
|
+
content: qe,
|
|
88
|
+
dropDown: Ie,
|
|
89
|
+
s: Se,
|
|
90
90
|
xs: Be,
|
|
91
|
-
square:
|
|
92
|
-
circle:
|
|
91
|
+
square: Ue,
|
|
92
|
+
circle: je,
|
|
93
93
|
m: Le,
|
|
94
94
|
l: Ne,
|
|
95
95
|
primary: ze,
|
|
96
|
-
secondary:
|
|
97
|
-
accent:
|
|
96
|
+
secondary: Ee,
|
|
97
|
+
accent: Ae,
|
|
98
98
|
danger: Me,
|
|
99
99
|
jobsites: Ve,
|
|
100
100
|
ghost: Oe,
|
|
101
101
|
"ghost-danger": "_ghost-danger_mb1r2_1"
|
|
102
|
-
}, Pe = ["name", "type", "disabled"],
|
|
102
|
+
}, Pe = ["name", "type", "disabled"], P = /* @__PURE__ */ b({
|
|
103
103
|
name: "UiButton",
|
|
104
104
|
__name: "button",
|
|
105
105
|
props: {
|
|
@@ -117,7 +117,7 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
117
117
|
},
|
|
118
118
|
emits: ["click"],
|
|
119
119
|
setup(e, { emit: t }) {
|
|
120
|
-
const
|
|
120
|
+
const n = t, s = {
|
|
121
121
|
primary: "white",
|
|
122
122
|
secondary: "black",
|
|
123
123
|
accent: "white",
|
|
@@ -125,7 +125,7 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
125
125
|
jobsites: "white",
|
|
126
126
|
ghost: "black",
|
|
127
127
|
"ghost-danger": "black"
|
|
128
|
-
},
|
|
128
|
+
}, l = d(() => [
|
|
129
129
|
g.button,
|
|
130
130
|
g[e.size],
|
|
131
131
|
g[e.type],
|
|
@@ -137,47 +137,47 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
137
137
|
[g.bordered]: e.bordered
|
|
138
138
|
},
|
|
139
139
|
e.className
|
|
140
|
-
]), c =
|
|
141
|
-
|
|
140
|
+
]), c = d(() => s[e.type] || "white"), _ = (u) => {
|
|
141
|
+
n("click", u);
|
|
142
142
|
};
|
|
143
|
-
return (
|
|
144
|
-
name:
|
|
145
|
-
class: r(
|
|
146
|
-
type:
|
|
147
|
-
disabled:
|
|
148
|
-
onClick:
|
|
143
|
+
return (u, w) => (a(), m("button", {
|
|
144
|
+
name: u.name,
|
|
145
|
+
class: r(l.value),
|
|
146
|
+
type: u.htmlType,
|
|
147
|
+
disabled: u.disabled || u.loading,
|
|
148
|
+
onClick: _
|
|
149
149
|
}, [
|
|
150
|
-
|
|
150
|
+
u.loading ? (a(), m("div", {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: r(o(g).loader)
|
|
153
153
|
}, [
|
|
154
|
-
|
|
154
|
+
L(o(be), {
|
|
155
155
|
size: "s",
|
|
156
156
|
color: c.value
|
|
157
157
|
}, null, 8, ["color"])
|
|
158
158
|
], 2)) : p("", !0),
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
u.$slots.before ? f(u.$slots, "before", { key: 1 }) : p("", !0),
|
|
160
|
+
u.$slots.default ? (a(), m("span", {
|
|
161
161
|
key: 2,
|
|
162
162
|
class: r(o(g).content)
|
|
163
163
|
}, [
|
|
164
|
-
|
|
164
|
+
f(u.$slots, "default")
|
|
165
165
|
], 2)) : p("", !0),
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
u.$slots.after ? f(u.$slots, "after", { key: 3 }) : p("", !0),
|
|
167
|
+
u.dropdown ? (a(), k(o(x), {
|
|
168
168
|
key: 4,
|
|
169
169
|
class: r(o(g).dropDown),
|
|
170
170
|
name: "chevron-down-16"
|
|
171
171
|
}, null, 8, ["class"])) : p("", !0)
|
|
172
172
|
], 10, Pe));
|
|
173
173
|
}
|
|
174
|
-
}), De = "_s_o7jd7_9",
|
|
174
|
+
}), De = "_s_o7jd7_9", Re = "_xs_o7jd7_14", We = "_m_o7jd7_20", Fe = "_l_o7jd7_25", He = "_button_o7jd7_31", V = {
|
|
175
175
|
s: De,
|
|
176
|
-
xs:
|
|
177
|
-
m:
|
|
178
|
-
l:
|
|
179
|
-
button:
|
|
180
|
-
},
|
|
176
|
+
xs: Re,
|
|
177
|
+
m: We,
|
|
178
|
+
l: Fe,
|
|
179
|
+
button: He
|
|
180
|
+
}, vn = /* @__PURE__ */ b({
|
|
181
181
|
name: "UiButtonIcon",
|
|
182
182
|
__name: "button-icon",
|
|
183
183
|
props: {
|
|
@@ -194,38 +194,38 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
194
194
|
},
|
|
195
195
|
emits: ["click"],
|
|
196
196
|
setup(e) {
|
|
197
|
-
const t =
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
const t = d(() => [
|
|
198
|
+
V.button,
|
|
199
|
+
V[e.size],
|
|
200
200
|
e.className
|
|
201
|
-
]),
|
|
201
|
+
]), n = d(() => {
|
|
202
202
|
if (!e.icon)
|
|
203
203
|
return "";
|
|
204
204
|
const c = e.size === "xs" ? "18" : "20";
|
|
205
205
|
return e.icon.replace(/-?\d*$/, `-${c}`);
|
|
206
|
-
}),
|
|
206
|
+
}), s = d(() => e.size === "xs" || e.circle), l = d(() => ({
|
|
207
207
|
size: e.size,
|
|
208
208
|
type: e.type,
|
|
209
209
|
disabled: e.disabled,
|
|
210
210
|
loading: e.loading,
|
|
211
211
|
active: e.active,
|
|
212
|
-
circle:
|
|
212
|
+
circle: s.value,
|
|
213
213
|
bordered: e.bordered
|
|
214
214
|
}));
|
|
215
|
-
return (c,
|
|
215
|
+
return (c, _) => (a(), k(o(P), N({ class: t.value }, l.value, {
|
|
216
216
|
"html-type": "button",
|
|
217
|
-
onClick:
|
|
217
|
+
onClick: _[0] || (_[0] = (u) => c.$emit("click"))
|
|
218
218
|
}), {
|
|
219
|
-
before:
|
|
220
|
-
|
|
219
|
+
before: h(() => [
|
|
220
|
+
L(o(x), { name: n.value }, null, 8, ["name"])
|
|
221
221
|
]),
|
|
222
222
|
_: 1
|
|
223
223
|
}, 16, ["class"]));
|
|
224
224
|
}
|
|
225
|
-
}),
|
|
226
|
-
button:
|
|
227
|
-
lock:
|
|
228
|
-
},
|
|
225
|
+
}), Ge = "_button_cmm43_1", Ke = "_lock_cmm43_30", O = {
|
|
226
|
+
button: Ge,
|
|
227
|
+
lock: Ke
|
|
228
|
+
}, Je = ["disabled"], $n = /* @__PURE__ */ b({
|
|
229
229
|
name: "UiButtonLink",
|
|
230
230
|
__name: "button-link",
|
|
231
231
|
props: {
|
|
@@ -234,85 +234,85 @@ const ae = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ce = "_white_tpkd0_24",
|
|
|
234
234
|
},
|
|
235
235
|
emits: ["click"],
|
|
236
236
|
setup(e) {
|
|
237
|
-
return (t,
|
|
238
|
-
class: r(o(
|
|
237
|
+
return (t, n) => (a(), m("button", {
|
|
238
|
+
class: r(o(O).button),
|
|
239
239
|
type: "button",
|
|
240
240
|
disabled: t.lock,
|
|
241
|
-
onClick:
|
|
241
|
+
onClick: n[0] || (n[0] = (s) => t.$emit("click"))
|
|
242
242
|
}, [
|
|
243
|
-
t.lock ? (a(), k(o(
|
|
243
|
+
t.lock ? (a(), k(o(x), {
|
|
244
244
|
key: 0,
|
|
245
245
|
name: "lock-color-16",
|
|
246
|
-
class: r(o(
|
|
246
|
+
class: r(o(O).lock)
|
|
247
247
|
}, null, 8, ["class"])) : p("", !0),
|
|
248
|
-
t.icon ? (a(), k(o(
|
|
248
|
+
t.icon ? (a(), k(o(x), {
|
|
249
249
|
key: 1,
|
|
250
250
|
name: "plus-18"
|
|
251
251
|
})) : p("", !0),
|
|
252
|
-
|
|
253
|
-
], 10,
|
|
252
|
+
f(t.$slots, "default")
|
|
253
|
+
], 10, Je));
|
|
254
254
|
}
|
|
255
255
|
});
|
|
256
|
-
function
|
|
257
|
-
return e ? e.flatMap((t) => t.type === X ?
|
|
256
|
+
function D(e) {
|
|
257
|
+
return e ? e.flatMap((t) => t.type === X ? D(t.children) : [t]) : [];
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Qe(e) {
|
|
260
260
|
var t;
|
|
261
|
-
const
|
|
262
|
-
return (t =
|
|
261
|
+
const n = Y(e);
|
|
262
|
+
return (t = n?.$el) != null ? t : n;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const e = Z(), t = E(),
|
|
266
|
-
for (const
|
|
264
|
+
function Xe() {
|
|
265
|
+
const e = Z(), t = E(), n = d(() => ["#text", "#comment"].includes(t.value?.$el.nodeName) ? t.value?.$el.nextElementSibling : Qe(t)), s = Object.assign({}, e.exposed), l = {};
|
|
266
|
+
for (const _ in e.props) Object.defineProperty(l, _, {
|
|
267
267
|
enumerable: !0,
|
|
268
268
|
configurable: !0,
|
|
269
|
-
get: () => e.props[
|
|
269
|
+
get: () => e.props[_]
|
|
270
270
|
});
|
|
271
|
-
if (Object.keys(
|
|
271
|
+
if (Object.keys(s).length > 0) for (const _ in s) Object.defineProperty(l, _, {
|
|
272
272
|
enumerable: !0,
|
|
273
273
|
configurable: !0,
|
|
274
|
-
get: () =>
|
|
274
|
+
get: () => s[_]
|
|
275
275
|
});
|
|
276
|
-
Object.defineProperty(
|
|
276
|
+
Object.defineProperty(l, "$el", {
|
|
277
277
|
enumerable: !0,
|
|
278
278
|
configurable: !0,
|
|
279
279
|
get: () => e.vnode.el
|
|
280
|
-
}), e.exposed =
|
|
281
|
-
function c(
|
|
282
|
-
t.value =
|
|
280
|
+
}), e.exposed = l;
|
|
281
|
+
function c(_) {
|
|
282
|
+
t.value = _, _ && (Object.defineProperty(l, "$el", {
|
|
283
283
|
enumerable: !0,
|
|
284
284
|
configurable: !0,
|
|
285
|
-
get: () =>
|
|
286
|
-
}), e.exposed =
|
|
285
|
+
get: () => _ instanceof Element ? _ : _.$el
|
|
286
|
+
}), e.exposed = l);
|
|
287
287
|
}
|
|
288
288
|
return {
|
|
289
289
|
forwardRef: c,
|
|
290
290
|
currentRef: t,
|
|
291
|
-
currentElement:
|
|
291
|
+
currentElement: n
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const Ye = b({
|
|
295
295
|
name: "PrimitiveSlot",
|
|
296
296
|
inheritAttrs: !1,
|
|
297
|
-
setup(e, { attrs: t, slots:
|
|
297
|
+
setup(e, { attrs: t, slots: n }) {
|
|
298
298
|
return () => {
|
|
299
|
-
if (!
|
|
300
|
-
const
|
|
301
|
-
if (
|
|
302
|
-
const c =
|
|
299
|
+
if (!n.default) return null;
|
|
300
|
+
const s = D(n.default()), l = s.findIndex((w) => w.type !== ee);
|
|
301
|
+
if (l === -1) return s;
|
|
302
|
+
const c = s[l];
|
|
303
303
|
delete c.props?.ref;
|
|
304
|
-
const
|
|
304
|
+
const _ = c.props ? N(t, c.props) : t, u = te({
|
|
305
305
|
...c,
|
|
306
306
|
props: {}
|
|
307
|
-
},
|
|
308
|
-
return
|
|
307
|
+
}, _);
|
|
308
|
+
return s.length === 1 ? u : (s[l] = u, s);
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
|
-
}),
|
|
311
|
+
}), Ze = [
|
|
312
312
|
"area",
|
|
313
313
|
"img",
|
|
314
314
|
"input"
|
|
315
|
-
],
|
|
315
|
+
], et = b({
|
|
316
316
|
name: "Primitive",
|
|
317
317
|
inheritAttrs: !1,
|
|
318
318
|
props: {
|
|
@@ -325,12 +325,12 @@ const Xe = f({
|
|
|
325
325
|
default: "div"
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
|
-
setup(e, { attrs: t, slots:
|
|
329
|
-
const
|
|
330
|
-
return typeof
|
|
328
|
+
setup(e, { attrs: t, slots: n }) {
|
|
329
|
+
const s = e.asChild ? "template" : e.as;
|
|
330
|
+
return typeof s == "string" && Ze.includes(s) ? () => z(s, t) : s !== "template" ? () => z(e.as, t, { default: n.default }) : () => z(Ye, t, { default: n.default });
|
|
331
331
|
}
|
|
332
332
|
});
|
|
333
|
-
var
|
|
333
|
+
var tt = /* @__PURE__ */ b({
|
|
334
334
|
__name: "Label",
|
|
335
335
|
props: {
|
|
336
336
|
for: {
|
|
@@ -349,109 +349,109 @@ var et = /* @__PURE__ */ f({
|
|
|
349
349
|
},
|
|
350
350
|
setup(e) {
|
|
351
351
|
const t = e;
|
|
352
|
-
return
|
|
353
|
-
!
|
|
352
|
+
return Xe(), (n, s) => (a(), k(o(et), N(t, { onMousedown: s[0] || (s[0] = (l) => {
|
|
353
|
+
!l.defaultPrevented && l.detail > 1 && l.preventDefault();
|
|
354
354
|
}) }), {
|
|
355
|
-
default:
|
|
355
|
+
default: h(() => [f(n.$slots, "default")]),
|
|
356
356
|
_: 3
|
|
357
357
|
}, 16));
|
|
358
358
|
}
|
|
359
|
-
}),
|
|
360
|
-
const
|
|
361
|
-
label:
|
|
362
|
-
},
|
|
359
|
+
}), nt = tt;
|
|
360
|
+
const st = "_label_1ic51_1", lt = {
|
|
361
|
+
label: st
|
|
362
|
+
}, ot = /* @__PURE__ */ b({
|
|
363
363
|
name: "UiLabel",
|
|
364
364
|
__name: "label",
|
|
365
365
|
props: {
|
|
366
366
|
className: {}
|
|
367
367
|
},
|
|
368
368
|
setup(e) {
|
|
369
|
-
const t = e,
|
|
370
|
-
|
|
369
|
+
const t = e, n = d(() => [
|
|
370
|
+
lt.label,
|
|
371
371
|
t.className
|
|
372
372
|
]);
|
|
373
|
-
return (
|
|
374
|
-
class: r(
|
|
373
|
+
return (s, l) => (a(), k(o(nt), {
|
|
374
|
+
class: r(n.value)
|
|
375
375
|
}, {
|
|
376
|
-
default:
|
|
377
|
-
|
|
376
|
+
default: h(() => [
|
|
377
|
+
f(s.$slots, "default")
|
|
378
378
|
]),
|
|
379
379
|
_: 3
|
|
380
380
|
}, 8, ["class"]));
|
|
381
381
|
}
|
|
382
|
-
}),
|
|
383
|
-
content:
|
|
384
|
-
label:
|
|
385
|
-
header:
|
|
386
|
-
headerWrapper:
|
|
387
|
-
title:
|
|
388
|
-
subTitleRow:
|
|
389
|
-
subTitle:
|
|
390
|
-
link:
|
|
391
|
-
linkUpper:
|
|
392
|
-
},
|
|
382
|
+
}), at = "_content_1g21n_1", rt = "_label_1g21n_12", ct = "_header_1g21n_21", it = "_headerWrapper_1g21n_29", ut = "_title_1g21n_36", dt = "_subTitleRow_1g21n_44", _t = "_subTitle_1g21n_44", mt = "_link_1g21n_56", pt = "_linkUpper_1g21n_73", v = {
|
|
383
|
+
content: at,
|
|
384
|
+
label: rt,
|
|
385
|
+
header: ct,
|
|
386
|
+
headerWrapper: it,
|
|
387
|
+
title: ut,
|
|
388
|
+
subTitleRow: dt,
|
|
389
|
+
subTitle: _t,
|
|
390
|
+
link: mt,
|
|
391
|
+
linkUpper: pt
|
|
392
|
+
}, bt = /* @__PURE__ */ b({
|
|
393
393
|
name: "UiLabelContent",
|
|
394
394
|
__name: "label-content",
|
|
395
395
|
emits: ["click"],
|
|
396
396
|
setup(e) {
|
|
397
|
-
const t =
|
|
398
|
-
() => [
|
|
397
|
+
const t = ne(), n = d(() => t.header || t.title || t.subTitle), s = d(() => !t.title && !t.subTitle), l = d(
|
|
398
|
+
() => [v.link, s.value && v.linkUpper].filter(Boolean)
|
|
399
399
|
);
|
|
400
|
-
return (c,
|
|
401
|
-
class: r(o(
|
|
400
|
+
return (c, _) => (a(), m("div", {
|
|
401
|
+
class: r(o(v).content)
|
|
402
402
|
}, [
|
|
403
|
-
|
|
403
|
+
n.value ? (a(), m("span", {
|
|
404
404
|
key: 0,
|
|
405
|
-
class: r(o(
|
|
405
|
+
class: r(o(v).headerWrapper)
|
|
406
406
|
}, [
|
|
407
407
|
c.$slots.header ? (a(), m("span", {
|
|
408
408
|
key: 0,
|
|
409
|
-
class: r(o(
|
|
409
|
+
class: r(o(v).header)
|
|
410
410
|
}, [
|
|
411
|
-
|
|
411
|
+
f(c.$slots, "header")
|
|
412
412
|
], 2)) : p("", !0),
|
|
413
413
|
c.$slots.title ? (a(), m("span", {
|
|
414
414
|
key: 1,
|
|
415
|
-
class: r(o(
|
|
415
|
+
class: r(o(v).title)
|
|
416
416
|
}, [
|
|
417
|
-
|
|
417
|
+
f(c.$slots, "default")
|
|
418
418
|
], 2)) : p("", !0),
|
|
419
419
|
c.$slots.subTitle ? (a(), m("span", {
|
|
420
420
|
key: 2,
|
|
421
|
-
class: r(o(
|
|
421
|
+
class: r(o(v).subTitleRow)
|
|
422
422
|
}, [
|
|
423
|
-
|
|
424
|
-
class: r(o(
|
|
423
|
+
j("span", {
|
|
424
|
+
class: r(o(v).subTitle)
|
|
425
425
|
}, [
|
|
426
|
-
|
|
426
|
+
f(c.$slots, "subTitle")
|
|
427
427
|
], 2)
|
|
428
428
|
], 2)) : p("", !0)
|
|
429
429
|
], 2)) : p("", !0),
|
|
430
430
|
c.$slots.link ? (a(), m("span", {
|
|
431
431
|
key: 1,
|
|
432
|
-
class: r(
|
|
433
|
-
onClick:
|
|
432
|
+
class: r(l.value),
|
|
433
|
+
onClick: _[0] || (_[0] = (u) => c.$emit("click"))
|
|
434
434
|
}, [
|
|
435
|
-
|
|
435
|
+
f(c.$slots, "link")
|
|
436
436
|
], 2)) : p("", !0)
|
|
437
437
|
], 2));
|
|
438
438
|
}
|
|
439
|
-
}), ft = "_wrapper_1qwte_1",
|
|
439
|
+
}), ft = "_wrapper_1qwte_1", yt = "_input_1qwte_8", kt = "_error_1qwte_38", gt = "_description_1qwte_51", ht = "_descriptionText_1qwte_62", vt = "_errorText_1qwte_66", $t = "_inputWrapper_1qwte_70", xt = "_leftSpace_1qwte_74", wt = "_rightSpace_1qwte_78", Ct = "_leftIcon_1qwte_82", Tt = "_rightIcon_1qwte_83", y = {
|
|
440
440
|
wrapper: ft,
|
|
441
|
-
input:
|
|
442
|
-
error:
|
|
443
|
-
description:
|
|
444
|
-
descriptionText:
|
|
441
|
+
input: yt,
|
|
442
|
+
error: kt,
|
|
443
|
+
description: gt,
|
|
444
|
+
descriptionText: ht,
|
|
445
445
|
errorText: vt,
|
|
446
|
-
inputWrapper:
|
|
447
|
-
leftSpace:
|
|
448
|
-
rightSpace:
|
|
449
|
-
leftIcon:
|
|
450
|
-
rightIcon:
|
|
451
|
-
},
|
|
446
|
+
inputWrapper: $t,
|
|
447
|
+
leftSpace: xt,
|
|
448
|
+
rightSpace: wt,
|
|
449
|
+
leftIcon: Ct,
|
|
450
|
+
rightIcon: Tt
|
|
451
|
+
}, qt = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], It = ["innerHTML"], St = ["innerHTML"], xn = /* @__PURE__ */ b({
|
|
452
452
|
name: "UiInput",
|
|
453
453
|
__name: "input",
|
|
454
|
-
props: /* @__PURE__ */
|
|
454
|
+
props: /* @__PURE__ */ M({
|
|
455
455
|
type: { default: "text" },
|
|
456
456
|
id: {},
|
|
457
457
|
name: {},
|
|
@@ -471,9 +471,9 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
471
471
|
modelValue: { type: String },
|
|
472
472
|
modelModifiers: {}
|
|
473
473
|
}),
|
|
474
|
-
emits: /* @__PURE__ */
|
|
474
|
+
emits: /* @__PURE__ */ M(["update:modelValue", "inputValue", "enter", "clickLink", "clickIcon", "click", "focus", "blur"], ["update:modelValue"]),
|
|
475
475
|
setup(e, { emit: t }) {
|
|
476
|
-
const
|
|
476
|
+
const n = t, s = se(e, "modelValue"), l = le(), c = d(() => [
|
|
477
477
|
y.input,
|
|
478
478
|
{
|
|
479
479
|
[y.disabled]: e.disabled,
|
|
@@ -483,96 +483,109 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
483
483
|
[y.rightSpace]: !!e.rightIcon
|
|
484
484
|
},
|
|
485
485
|
e.className
|
|
486
|
-
]),
|
|
487
|
-
|
|
488
|
-
}, R = (
|
|
489
|
-
|
|
490
|
-
}, W = () =>
|
|
491
|
-
|
|
486
|
+
]), _ = d(() => e.header || e.title || e.subTitle || e.link), u = d(() => e.description || e.error), w = (i) => {
|
|
487
|
+
i.key === "Enter" && n("enter");
|
|
488
|
+
}, R = (i) => {
|
|
489
|
+
n("update:modelValue", i.target.value), n("inputValue", i.target.value);
|
|
490
|
+
}, W = () => n("focus"), F = () => n("blur"), H = () => n("clickLink"), G = () => n("click"), K = (i) => {
|
|
491
|
+
i.preventDefault(), n("clickIcon");
|
|
492
492
|
};
|
|
493
|
-
return (
|
|
493
|
+
return (i, kn) => (a(), m("div", {
|
|
494
494
|
class: r(o(y).wrapper)
|
|
495
495
|
}, [
|
|
496
|
-
|
|
496
|
+
_.value ? (a(), k(o(ot), {
|
|
497
497
|
key: 0,
|
|
498
|
-
for:
|
|
498
|
+
for: i.id,
|
|
499
499
|
onClick: H
|
|
500
500
|
}, {
|
|
501
|
-
default:
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
]),
|
|
506
|
-
subTitle: v(() => [
|
|
507
|
-
C(T(_.subTitle), 1)
|
|
508
|
-
]),
|
|
509
|
-
link: v(() => [
|
|
510
|
-
C(T(_.link), 1)
|
|
501
|
+
default: h(() => [
|
|
502
|
+
L(o(bt), null, oe({
|
|
503
|
+
default: h(() => [
|
|
504
|
+
T(" " + q(i.title) + " ", 1)
|
|
511
505
|
]),
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
506
|
+
_: 2
|
|
507
|
+
}, [
|
|
508
|
+
i.header ? {
|
|
509
|
+
name: "header",
|
|
510
|
+
fn: h(() => [
|
|
511
|
+
T(q(i.header), 1)
|
|
512
|
+
]),
|
|
513
|
+
key: "0"
|
|
514
|
+
} : void 0,
|
|
515
|
+
i.subTitle ? {
|
|
516
|
+
name: "subTitle",
|
|
517
|
+
fn: h(() => [
|
|
518
|
+
T(q(i.subTitle), 1)
|
|
519
|
+
]),
|
|
520
|
+
key: "1"
|
|
521
|
+
} : void 0,
|
|
522
|
+
i.link ? {
|
|
523
|
+
name: "link",
|
|
524
|
+
fn: h(() => [
|
|
525
|
+
T(q(i.link), 1)
|
|
526
|
+
]),
|
|
527
|
+
key: "2"
|
|
528
|
+
} : void 0
|
|
529
|
+
]), 1024)
|
|
517
530
|
]),
|
|
518
531
|
_: 1
|
|
519
532
|
}, 8, ["for"])) : p("", !0),
|
|
520
|
-
|
|
533
|
+
j("div", {
|
|
521
534
|
class: r(o(y).inputWrapper)
|
|
522
535
|
}, [
|
|
523
|
-
|
|
536
|
+
i.leftIcon ? (a(), k(o(x), {
|
|
524
537
|
key: 0,
|
|
525
|
-
name:
|
|
538
|
+
name: i.leftIcon,
|
|
526
539
|
class: r(o(y).leftIcon)
|
|
527
540
|
}, null, 8, ["name", "class"])) : p("", !0),
|
|
528
|
-
|
|
529
|
-
id:
|
|
530
|
-
value:
|
|
531
|
-
name:
|
|
532
|
-
type:
|
|
533
|
-
disabled:
|
|
534
|
-
placeholder:
|
|
541
|
+
j("input", N({
|
|
542
|
+
id: i.id,
|
|
543
|
+
value: s.value,
|
|
544
|
+
name: i.name,
|
|
545
|
+
type: i.type,
|
|
546
|
+
disabled: i.disabled || i.loading,
|
|
547
|
+
placeholder: i.placeholder,
|
|
535
548
|
class: c.value,
|
|
536
|
-
"aria-invalid": !!
|
|
537
|
-
}, o(
|
|
549
|
+
"aria-invalid": !!i.error
|
|
550
|
+
}, o(l), {
|
|
538
551
|
onInput: R,
|
|
539
|
-
onKeydown:
|
|
552
|
+
onKeydown: w,
|
|
540
553
|
onFocus: W,
|
|
541
554
|
onBlur: F,
|
|
542
555
|
onClick: G
|
|
543
|
-
}), null, 16,
|
|
544
|
-
|
|
556
|
+
}), null, 16, qt),
|
|
557
|
+
i.rightIcon ? (a(), k(o(x), {
|
|
545
558
|
key: 1,
|
|
546
|
-
name:
|
|
559
|
+
name: i.rightIcon,
|
|
547
560
|
class: r(o(y).rightIcon),
|
|
548
561
|
onClick: K
|
|
549
562
|
}, null, 8, ["name", "class"])) : p("", !0)
|
|
550
563
|
], 2),
|
|
551
|
-
|
|
564
|
+
u.value ? (a(), m("div", {
|
|
552
565
|
key: 1,
|
|
553
566
|
class: r(o(y).description)
|
|
554
567
|
}, [
|
|
555
|
-
|
|
568
|
+
i.error ? (a(), m("div", {
|
|
556
569
|
key: 0,
|
|
557
570
|
class: r(o(y).errorText),
|
|
558
|
-
innerHTML:
|
|
559
|
-
}, null, 10,
|
|
560
|
-
|
|
571
|
+
innerHTML: i.error
|
|
572
|
+
}, null, 10, It)) : p("", !0),
|
|
573
|
+
i.description ? (a(), m("div", {
|
|
561
574
|
key: 1,
|
|
562
575
|
class: r(o(y).descriptionText),
|
|
563
|
-
innerHTML:
|
|
564
|
-
}, null, 10,
|
|
576
|
+
innerHTML: i.description
|
|
577
|
+
}, null, 10, St)) : p("", !0)
|
|
565
578
|
], 2)) : p("", !0)
|
|
566
579
|
], 2));
|
|
567
580
|
}
|
|
568
|
-
}), Bt = "_plank_1yp3k_1",
|
|
581
|
+
}), Bt = "_plank_1yp3k_1", Ut = "_accent_1yp3k_26", jt = "_danger_1yp3k_32", Lt = "_text_1yp3k_38", Nt = "_icon_1yp3k_42", I = {
|
|
569
582
|
plank: Bt,
|
|
570
583
|
default: "_default_1yp3k_20",
|
|
571
|
-
accent:
|
|
572
|
-
danger:
|
|
584
|
+
accent: Ut,
|
|
585
|
+
danger: jt,
|
|
573
586
|
text: Lt,
|
|
574
587
|
icon: Nt
|
|
575
|
-
},
|
|
588
|
+
}, wn = /* @__PURE__ */ b({
|
|
576
589
|
name: "UiPlank",
|
|
577
590
|
__name: "plank",
|
|
578
591
|
props: {
|
|
@@ -582,53 +595,53 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
582
595
|
},
|
|
583
596
|
emits: ["click"],
|
|
584
597
|
setup(e) {
|
|
585
|
-
const t =
|
|
598
|
+
const t = d(() => [
|
|
586
599
|
I.plank,
|
|
587
600
|
I[e.type]
|
|
588
601
|
]);
|
|
589
|
-
return (
|
|
602
|
+
return (n, s) => (a(), m("div", {
|
|
590
603
|
class: r(t.value)
|
|
591
604
|
}, [
|
|
592
|
-
|
|
605
|
+
n.icon ? (a(), m("div", {
|
|
593
606
|
key: 0,
|
|
594
607
|
class: r(o(I).icon)
|
|
595
608
|
}, [
|
|
596
|
-
|
|
609
|
+
L(o(x), { name: n.icon }, null, 8, ["name"])
|
|
597
610
|
], 2)) : p("", !0),
|
|
598
|
-
|
|
611
|
+
n.$slots.default ? (a(), m("div", {
|
|
599
612
|
key: 1,
|
|
600
613
|
class: r(o(I).text)
|
|
601
614
|
}, [
|
|
602
|
-
|
|
615
|
+
f(n.$slots, "default")
|
|
603
616
|
], 2)) : p("", !0),
|
|
604
|
-
|
|
617
|
+
n.label ? (a(), k(o(P), {
|
|
605
618
|
key: 2,
|
|
606
619
|
size: "xs",
|
|
607
620
|
type: "secondary",
|
|
608
|
-
onClick:
|
|
621
|
+
onClick: s[0] || (s[0] = (l) => n.$emit("click"))
|
|
609
622
|
}, {
|
|
610
|
-
default:
|
|
611
|
-
|
|
623
|
+
default: h(() => [
|
|
624
|
+
T(q(n.label), 1)
|
|
612
625
|
]),
|
|
613
626
|
_: 1
|
|
614
627
|
})) : p("", !0)
|
|
615
628
|
], 2));
|
|
616
629
|
}
|
|
617
|
-
}), zt = "
|
|
630
|
+
}), zt = "_text_1sbhq_1", Et = "_primary_1sbhq_10", At = "_secondary_1sbhq_16", Mt = "_accent_1sbhq_22", Vt = "_subtitle_1sbhq_28", Ot = "_medium_1sbhq_34", S = {
|
|
618
631
|
text: zt,
|
|
619
|
-
primary:
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
"color-main": "_color-
|
|
625
|
-
"color-secondary": "_color-
|
|
626
|
-
"color-semilight": "_color-
|
|
627
|
-
"color-light": "_color-
|
|
628
|
-
"color-invert": "_color-
|
|
629
|
-
"color-danger": "_color-
|
|
630
|
-
"color-success": "_color-
|
|
631
|
-
},
|
|
632
|
+
primary: Et,
|
|
633
|
+
secondary: At,
|
|
634
|
+
accent: Mt,
|
|
635
|
+
subtitle: Vt,
|
|
636
|
+
medium: Ot,
|
|
637
|
+
"color-main": "_color-main_1sbhq_38",
|
|
638
|
+
"color-secondary": "_color-secondary_1sbhq_42",
|
|
639
|
+
"color-semilight": "_color-semilight_1sbhq_46",
|
|
640
|
+
"color-light": "_color-light_1sbhq_50",
|
|
641
|
+
"color-invert": "_color-invert_1sbhq_54",
|
|
642
|
+
"color-danger": "_color-danger_1sbhq_58",
|
|
643
|
+
"color-success": "_color-success_1sbhq_62"
|
|
644
|
+
}, Cn = /* @__PURE__ */ b({
|
|
632
645
|
name: "UiText",
|
|
633
646
|
__name: "text",
|
|
634
647
|
props: {
|
|
@@ -638,22 +651,22 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
638
651
|
color: {}
|
|
639
652
|
},
|
|
640
653
|
setup(e) {
|
|
641
|
-
const t =
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
e.weight &&
|
|
645
|
-
e.color &&
|
|
654
|
+
const t = d(() => [
|
|
655
|
+
S.text,
|
|
656
|
+
S[e.kind],
|
|
657
|
+
e.weight && S[e.weight],
|
|
658
|
+
e.color && S[`color-${e.color}`]
|
|
646
659
|
]);
|
|
647
|
-
return (
|
|
660
|
+
return (n, s) => (a(), k(A(n.tagName), {
|
|
648
661
|
class: r(t.value)
|
|
649
662
|
}, {
|
|
650
|
-
default:
|
|
651
|
-
|
|
663
|
+
default: h(() => [
|
|
664
|
+
f(n.$slots, "default")
|
|
652
665
|
]),
|
|
653
666
|
_: 3
|
|
654
667
|
}, 8, ["class"]));
|
|
655
668
|
}
|
|
656
|
-
}), Pt = "_title_1m0wo_1", Dt = "_medium_1m0wo_15",
|
|
669
|
+
}), Pt = "_title_1m0wo_1", Dt = "_medium_1m0wo_15", B = {
|
|
657
670
|
title: Pt,
|
|
658
671
|
"level-1": "_level-1_1m0wo_10",
|
|
659
672
|
medium: Dt,
|
|
@@ -667,7 +680,7 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
667
680
|
"color-invert": "_color-invert_1m0wo_66",
|
|
668
681
|
"color-danger": "_color-danger_1m0wo_70",
|
|
669
682
|
"color-success": "_color-success_1m0wo_74"
|
|
670
|
-
},
|
|
683
|
+
}, Tn = /* @__PURE__ */ b({
|
|
671
684
|
name: "UiTitle",
|
|
672
685
|
__name: "title",
|
|
673
686
|
props: {
|
|
@@ -677,54 +690,54 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
677
690
|
color: {}
|
|
678
691
|
},
|
|
679
692
|
setup(e) {
|
|
680
|
-
const t = e,
|
|
681
|
-
|
|
682
|
-
|
|
693
|
+
const t = e, n = d(() => [
|
|
694
|
+
B.title,
|
|
695
|
+
B[`level-${t.level ?? 1}`],
|
|
683
696
|
t.className,
|
|
684
|
-
t.weight &&
|
|
685
|
-
t.color &&
|
|
686
|
-
]),
|
|
687
|
-
return (
|
|
688
|
-
class: r(
|
|
697
|
+
t.weight && B[t.weight],
|
|
698
|
+
t.color && B[`color-${t.color}`]
|
|
699
|
+
]), s = d(() => `h${t.level ?? 1}`);
|
|
700
|
+
return (l, c) => (a(), k(A(s.value), {
|
|
701
|
+
class: r(n.value)
|
|
689
702
|
}, {
|
|
690
|
-
default:
|
|
691
|
-
|
|
703
|
+
default: h(() => [
|
|
704
|
+
f(l.$slots, "default")
|
|
692
705
|
]),
|
|
693
706
|
_: 3
|
|
694
707
|
}, 8, ["class"]));
|
|
695
708
|
}
|
|
696
|
-
}),
|
|
697
|
-
error:
|
|
698
|
-
},
|
|
709
|
+
}), Rt = "_error_lk2jx_1", Wt = {
|
|
710
|
+
error: Rt
|
|
711
|
+
}, qn = /* @__PURE__ */ b({
|
|
699
712
|
name: "UiError",
|
|
700
713
|
__name: "error",
|
|
701
714
|
props: {
|
|
702
715
|
className: {}
|
|
703
716
|
},
|
|
704
717
|
setup(e) {
|
|
705
|
-
const t = e,
|
|
706
|
-
|
|
718
|
+
const t = e, n = d(() => [
|
|
719
|
+
Wt.error,
|
|
707
720
|
t.className
|
|
708
721
|
]);
|
|
709
|
-
return (
|
|
710
|
-
class: r(
|
|
722
|
+
return (s, l) => (a(), m("span", {
|
|
723
|
+
class: r(n.value)
|
|
711
724
|
}, [
|
|
712
|
-
|
|
725
|
+
f(s.$slots, "default")
|
|
713
726
|
], 2));
|
|
714
727
|
}
|
|
715
|
-
}),
|
|
716
|
-
root:
|
|
728
|
+
}), Ft = "_root_1tj1b_1", Ht = "_xxs_1tj1b_26", Gt = "_xs_1tj1b_30", Kt = "_s_1tj1b_16", Jt = "_m_1tj1b_38", Qt = "_l_1tj1b_42", Xt = "_square_1tj1b_45", Yt = "_xl_1tj1b_50", Zt = "_xxl_1tj1b_58", U = {
|
|
729
|
+
root: Ft,
|
|
717
730
|
default: "_default_1tj1b_14",
|
|
718
|
-
xxs:
|
|
719
|
-
xs:
|
|
720
|
-
s:
|
|
721
|
-
m:
|
|
722
|
-
l:
|
|
723
|
-
square:
|
|
724
|
-
xl:
|
|
725
|
-
xxl:
|
|
731
|
+
xxs: Ht,
|
|
732
|
+
xs: Gt,
|
|
733
|
+
s: Kt,
|
|
734
|
+
m: Jt,
|
|
735
|
+
l: Qt,
|
|
736
|
+
square: Xt,
|
|
737
|
+
xl: Yt,
|
|
738
|
+
xxl: Zt,
|
|
726
739
|
"3xl": "_3xl_1tj1b_66"
|
|
727
|
-
},
|
|
740
|
+
}, en = ["src"], In = /* @__PURE__ */ b({
|
|
728
741
|
name: "UiAvatar",
|
|
729
742
|
__name: "avatar",
|
|
730
743
|
props: {
|
|
@@ -733,74 +746,79 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
733
746
|
square: { type: Boolean, default: !1 }
|
|
734
747
|
},
|
|
735
748
|
setup(e) {
|
|
736
|
-
const t = E(!e.src),
|
|
737
|
-
const
|
|
749
|
+
const t = E(!e.src), n = E(!1), s = d(() => e.src && !n.value), l = d(() => {
|
|
750
|
+
const u = !t.value || n.value || !e.src;
|
|
738
751
|
return [
|
|
739
752
|
U.root,
|
|
740
753
|
U[e.size],
|
|
741
754
|
e.square && U.square,
|
|
742
|
-
|
|
755
|
+
u && U.default
|
|
743
756
|
];
|
|
744
757
|
});
|
|
745
|
-
|
|
758
|
+
ae(
|
|
746
759
|
() => e.src,
|
|
747
|
-
(
|
|
748
|
-
t.value = !
|
|
760
|
+
(u) => {
|
|
761
|
+
t.value = !u, n.value = !1;
|
|
749
762
|
},
|
|
750
763
|
{ immediate: !0 }
|
|
751
764
|
);
|
|
752
765
|
function c() {
|
|
753
766
|
t.value = !0;
|
|
754
767
|
}
|
|
755
|
-
function
|
|
756
|
-
|
|
768
|
+
function _() {
|
|
769
|
+
n.value = !0;
|
|
757
770
|
}
|
|
758
|
-
return (
|
|
759
|
-
class: r(
|
|
771
|
+
return (u, w) => (a(), m("div", {
|
|
772
|
+
class: r(l.value)
|
|
760
773
|
}, [
|
|
761
|
-
|
|
774
|
+
s.value ? (a(), m("img", {
|
|
762
775
|
key: 0,
|
|
763
|
-
src:
|
|
776
|
+
src: u.src,
|
|
764
777
|
onLoad: c,
|
|
765
|
-
onError:
|
|
766
|
-
}, null, 40,
|
|
767
|
-
|
|
778
|
+
onError: _
|
|
779
|
+
}, null, 40, en)) : p("", !0),
|
|
780
|
+
f(u.$slots, "default")
|
|
768
781
|
], 2));
|
|
769
782
|
}
|
|
770
|
-
}),
|
|
771
|
-
stack:
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
xxs:
|
|
778
|
-
xs:
|
|
779
|
-
s:
|
|
780
|
-
m:
|
|
781
|
-
l:
|
|
782
|
-
xl:
|
|
783
|
-
xxl:
|
|
784
|
-
xxxl:
|
|
785
|
-
xxxxl:
|
|
786
|
-
xxxxxl:
|
|
787
|
-
start:
|
|
788
|
-
center:
|
|
789
|
-
between:
|
|
790
|
-
|
|
791
|
-
|
|
783
|
+
}), tn = "_stack_1b4a2_1", nn = "_auto_1b4a2_9", sn = "_row_1b4a2_13", ln = "_reverse_1b4a2_16", on = "_column_1b4a2_21", an = "_full_1b4a2_30", rn = "_xxs_1b4a2_34", cn = "_xs_1b4a2_38", un = "_s_1b4a2_1", dn = "_m_1b4a2_46", _n = "_l_1b4a2_50", mn = "_xl_1b4a2_54", pn = "_xxl_1b4a2_58", bn = "_xxxl_1b4a2_62", fn = "_xxxxl_1b4a2_66", yn = "_xxxxxl_1b4a2_70", $ = {
|
|
784
|
+
stack: tn,
|
|
785
|
+
auto: nn,
|
|
786
|
+
row: sn,
|
|
787
|
+
reverse: ln,
|
|
788
|
+
column: on,
|
|
789
|
+
full: an,
|
|
790
|
+
xxs: rn,
|
|
791
|
+
xs: cn,
|
|
792
|
+
s: un,
|
|
793
|
+
m: dn,
|
|
794
|
+
l: _n,
|
|
795
|
+
xl: mn,
|
|
796
|
+
xxl: pn,
|
|
797
|
+
xxxl: bn,
|
|
798
|
+
xxxxl: fn,
|
|
799
|
+
xxxxxl: yn,
|
|
800
|
+
"main-start": "_main-start_1b4a2_74",
|
|
801
|
+
"main-center": "_main-center_1b4a2_78",
|
|
802
|
+
"main-between": "_main-between_1b4a2_82",
|
|
803
|
+
"main-around": "_main-around_1b4a2_86",
|
|
804
|
+
"main-end": "_main-end_1b4a2_90",
|
|
805
|
+
"cross-start": "_cross-start_1b4a2_94",
|
|
806
|
+
"cross-center": "_cross-center_1b4a2_98",
|
|
807
|
+
"cross-end": "_cross-end_1b4a2_102"
|
|
808
|
+
}, Sn = /* @__PURE__ */ b({
|
|
792
809
|
name: "UiStack",
|
|
793
810
|
__name: "stack",
|
|
794
811
|
props: {
|
|
795
812
|
tagName: { default: "div" },
|
|
796
813
|
direction: { default: "row" },
|
|
797
|
-
|
|
814
|
+
mainAlignment: { default: "" },
|
|
815
|
+
crossAlignment: { default: "" },
|
|
798
816
|
gap: { default: "" },
|
|
799
817
|
reverse: { type: Boolean, default: !1 },
|
|
800
818
|
size: { default: "full" }
|
|
801
819
|
},
|
|
802
820
|
setup(e) {
|
|
803
|
-
const t =
|
|
821
|
+
const t = d(() => e.gap ? {
|
|
804
822
|
xxs: "xxs",
|
|
805
823
|
xs: "xs",
|
|
806
824
|
s: "s",
|
|
@@ -811,37 +829,38 @@ const lt = "_label_1ic51_1", nt = {
|
|
|
811
829
|
"3xl": "xxxl",
|
|
812
830
|
"4xl": "xxxxl",
|
|
813
831
|
"5xl": "xxxxxl"
|
|
814
|
-
}[e.gap] : ""),
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
e.
|
|
819
|
-
e.
|
|
820
|
-
|
|
832
|
+
}[e.gap] : ""), n = d(() => [
|
|
833
|
+
$.stack,
|
|
834
|
+
$[e.direction],
|
|
835
|
+
$[t.value],
|
|
836
|
+
e.mainAlignment ? $[`main-${e.mainAlignment}`] : "",
|
|
837
|
+
e.crossAlignment ? $[`cross-${e.crossAlignment}`] : "",
|
|
838
|
+
e.reverse ? $.reverse : "",
|
|
839
|
+
$[e.size]
|
|
821
840
|
]);
|
|
822
|
-
return (
|
|
823
|
-
class: r(
|
|
841
|
+
return (s, l) => (a(), k(A(s.tagName), {
|
|
842
|
+
class: r(n.value)
|
|
824
843
|
}, {
|
|
825
|
-
default:
|
|
826
|
-
|
|
844
|
+
default: h(() => [
|
|
845
|
+
f(s.$slots, "default")
|
|
827
846
|
]),
|
|
828
847
|
_: 3
|
|
829
848
|
}, 8, ["class"]));
|
|
830
849
|
}
|
|
831
850
|
});
|
|
832
851
|
export {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
852
|
+
In as UiAvatar,
|
|
853
|
+
P as UiButton,
|
|
854
|
+
vn as UiButtonIcon,
|
|
855
|
+
$n as UiButtonLink,
|
|
856
|
+
qn as UiError,
|
|
857
|
+
x as UiIcon,
|
|
858
|
+
xn as UiInput,
|
|
859
|
+
ot as UiLabel,
|
|
860
|
+
be as UiLoader,
|
|
861
|
+
wn as UiPlank,
|
|
862
|
+
Sn as UiStack,
|
|
863
|
+
Cn as UiText,
|
|
864
|
+
Tn as UiTitle,
|
|
865
|
+
hn as injectSvgSprite
|
|
847
866
|
};
|