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