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