@huntflow/ui 0.0.59 → 0.0.60
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-title/types.d.ts +1 -0
- package/dist/ui.cjs.js +3 -3
- package/dist/ui.es.js +149 -146
- package/package.json +1 -1
package/dist/ui.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-spacing-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-spacing-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-spacing-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_4sgbr_1{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);font-style:normal;flex:1;margin-bottom:var(--hf-spacing-xs)}._header_4sgbr_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_4sgbr_18{flex-grow:1;gap:var(--hf-spacing-xs);display:flex;flex-direction:column}._title_4sgbr_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_4sgbr_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_4sgbr_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_4sgbr_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_4sgbr_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_4sgbr_62{margin-bottom:1px}._wrapper_13pzw_1{margin-bottom:var(--hf-spacing-xs)}._input_13pzw_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_13pzw_5:active{border-color:var(--hf-color-input-border-focus)}._input_13pzw_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_13pzw_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_13pzw_35,._error_13pzw_35:active{border-color:var(--hf-color-input-border-error)}._error_13pzw_35:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_13pzw_47{margin-top:var(--hf-spacing-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_13pzw_47 a{text-decoration:underline}._descriptionText_13pzw_58{color:var(--hf-color-input-text-description)}._errorText_13pzw_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_1vqio_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-spacing-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_1vqio_1:hover{color:var(--hf-color-link-hover)}._plank_8tn62_1{border-radius:var(--hf-radius-m);padding:var(--hf-spacing-m) var(--hf-spacing-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-spacing-m);align-items:center;justify-content:space-between}._default_8tn62_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_8tn62_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_8tn62_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_8tn62_37{flex-grow:1}._icon_8tn62_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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=(l,t)=>{const o=t?l[t]:l.default;return(o==null?void 0:o().some(s=>{const n=s.children;return n&&n.toString().trim()!==""}))??!1},V="_loader_t6bg6_10",E="_circle_t6bg6_15",
|
|
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-spacing-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-spacing-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-spacing-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_4sgbr_1{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);font-style:normal;flex:1;margin-bottom:var(--hf-spacing-xs)}._header_4sgbr_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_4sgbr_18{flex-grow:1;gap:var(--hf-spacing-xs);display:flex;flex-direction:column}._title_4sgbr_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_4sgbr_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_4sgbr_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_4sgbr_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_4sgbr_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_4sgbr_62{margin-bottom:1px}._wrapper_13pzw_1{margin-bottom:var(--hf-spacing-xs)}._input_13pzw_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_13pzw_5:active{border-color:var(--hf-color-input-border-focus)}._input_13pzw_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_13pzw_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_13pzw_35,._error_13pzw_35:active{border-color:var(--hf-color-input-border-error)}._error_13pzw_35:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_13pzw_47{margin-top:var(--hf-spacing-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_13pzw_47 a{text-decoration:underline}._descriptionText_13pzw_58{color:var(--hf-color-input-text-description)}._errorText_13pzw_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_471uj_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._level-1_471uj_8{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1-regular);line-height:var(--hf-font-line-height-text-h1)}._level-1_471uj_8._medium_471uj_12{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_471uj_17{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2-regular);line-height:var(--hf-font-line-height-text-h2)}._level-2_471uj_17._medium_471uj_12{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_471uj_26{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3-regular);line-height:var(--hf-font-line-height-text-h3)}._level-3_471uj_26._medium_471uj_12{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_471uj_35{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-regular);line-height:var(--hf-font-line-height-text-h4)}._level-4_471uj_35._medium_471uj_12{font-weight:var(--hf-font-weight-text-h4-medium)}._text_1mrtv_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._primary_1mrtv_8{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary)}._primary_1mrtv_8._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_1mrtv_17{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary-regular);line-height:var(--hf-font-line-height-text-secondary)}._secondary_1mrtv_17._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_1mrtv_26{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent-regular);line-height:var(--hf-font-line-height-text-accent)}._accent_1mrtv_26._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_1mrtv_35{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_1vqio_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-spacing-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_1vqio_1:hover{color:var(--hf-color-link-hover)}._plank_8tn62_1{border-radius:var(--hf-radius-m);padding:var(--hf-spacing-m) var(--hf-spacing-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-spacing-m);align-items:center;justify-content:space-between}._default_8tn62_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_8tn62_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_8tn62_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_8tn62_37{flex-grow:1}._icon_8tn62_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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=(l,t)=>{const o=t?l[t]:l.default;return(o==null?void 0:o().some(s=>{const n=s.children;return n&&n.toString().trim()!==""}))??!1},V="_loader_t6bg6_10",E="_circle_t6bg6_15",j="_white_t6bg6_22",M="_black_t6bg6_26",L="_s_t6bg6_30",x="_m_t6bg6_35",I="_l_t6bg6_10",D="_spinner_t6bg6_45",b={loader:V,circle:E,"loader-animation":"_loader-animation_t6bg6_1",white:j,black:M,s:L,m:x,l:I,spinner:D},N=e.defineComponent({__name:"loader",props:{className:{},size:{default:"l"},color:{default:"black"}},setup(l){const t=l,o=e.computed(()=>[b.loader,b[t.size],b[t.color],b.circle]);return(s,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([e.unref(b).spinner,o.value])},null,2))}}),q=["aria-label","width","height"],H=["xlink:href"],R=e.defineComponent({__name:"icon",props:{type:{},color:{},block:{type:Boolean}},setup(l){const t=l,o=e.computed(()=>{var r;const n=(r=t==null?void 0:t.type)==null?void 0:r.match(/(\d+)$/);return n?Number.parseInt(n[1],10):16}),s=e.computed(()=>{const n={};return t.color&&(n.color=t.color),t.block&&(n.display="block"),n});return(n,r)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(n.$style.icon),"aria-label":n.type,style:e.normalizeStyle(s.value),role:"img",width:o.value,height:o.value},[e.createElementVNode("use",{"xlink:href":`#${n.type}`},null,8,H)],14,q))}}),U="_icon_1p8iz_2",O={icon:U},P=(l,t)=>{const o=l.__vccOpts||l;for(const[s,n]of t)o[s]=n;return o},W={$style:O},f=P(R,[["__cssModules",W]]),A="_button_1syl2_1",F="_disabled_1syl2_1",G="_loading_1syl2_1",K="_loader_1syl2_1",J="_content_1syl2_1",Q="_dropdownIcon_1syl2_1",X="_s_1syl2_2",Y="_xs_1syl2_1",Z="_square_1syl2_1",ee="_circle_1syl2_1",te="_m_1syl2_1",oe="_l_1syl2_1",ne="_primary_1syl2_1",le="_secondary_1syl2_1",se="_accent_1syl2_1",re="_danger_1syl2_1",ae="_jobsites_1syl2_1",ce="_ghost_1syl2_1",i={button:A,disabled:F,loading:G,loader:K,content:J,dropdownIcon:Q,s:X,xs:Y,square:Z,circle:ee,m:te,l:oe,primary:ne,secondary:le,accent:se,danger:re,jobsites:ae,ghost:ce,"ghost-danger":"_ghost-danger_1syl2_1"},ie=["name","type","disabled"],C=e.defineComponent({__name:"button",props:{size:{default:"m"},className:{},type:{default:"primary"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},dropdown:{type:Boolean,default:!1},active:{type:Boolean,default:!1},name:{},circle:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},htmlType:{}},emits:["click"],setup(l){const t=l,o=e.useSlots(),s={primary:"white",secondary:"black",accent:"white",danger:"white",jobsites:"white",ghost:"black","ghost-danger":"black"},n=e.computed(()=>y(o)),r=e.computed(()=>[i.button,i[t.size],i[t.type],t.circle?[i.circle]:[i.square],{[i.disabled]:t.disabled,[i.loading]:t.loading,[i.active]:t.active,[i.bordered]:t.bordered},t.className]),d=e.computed(()=>s[t.type]||"white");return(a,_)=>(e.openBlock(),e.createElementBlock("button",{name:a.name,class:e.normalizeClass(r.value),type:a.htmlType,disabled:a.disabled||a.loading,onClick:_[0]||(_[0]=u=>a.$emit("click"))},[a.loading?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(i).loader)},[e.createVNode(e.unref(N),{size:"s",color:d.value},null,8,["color"])],2)):e.createCommentVNode("",!0),a.$slots.before?e.renderSlot(a.$slots,"before",{key:1}):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(e.unref(i).content)},[e.renderSlot(a.$slots,"default")],2)):e.createCommentVNode("",!0),a.$slots.after?e.renderSlot(a.$slots,"after",{key:3}):e.createCommentVNode("",!0),a.dropdown?(e.openBlock(),e.createBlock(f,{key:4,class:e.normalizeClass(e.unref(i).dropdownIcon),type:"chevron-down-18"},null,8,["class"])):e.createCommentVNode("",!0)],10,ie))}}),de="_label_4sgbr_1",ue="_header_4sgbr_10",pe="_headerWrapper_4sgbr_18",me="_title_4sgbr_25",_e="_subTitleRow_4sgbr_33",ke="_subTitle_4sgbr_33",ye="_link_4sgbr_45",be="_linkUpper_4sgbr_62",p={label:de,header:ue,headerWrapper:pe,title:me,subTitleRow:_e,subTitle:ke,link:ye,linkUpper:be},z=e.defineComponent({__name:"label",emits:["click"],setup(l){const t=e.useSlots(),o=e.computed(()=>y(t,"header")),s=e.computed(()=>y(t)),n=e.computed(()=>y(t,"subTitle")),r=e.computed(()=>y(t,"link")),d=e.computed(()=>o.value||s.value||n.value),a=e.computed(()=>!s.value&&!n.value),_=e.computed(()=>[p.link,a.value&&p.linkUpper].filter(Boolean));return(u,v)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(e.unref(p).label)},[d.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(p).headerWrapper)},[o.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(p).header)},[e.renderSlot(u.$slots,"header")],2)):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(p).title)},[e.renderSlot(u.$slots,"default")],2)):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(e.unref(p).subTitleRow)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(p).subTitle)},[e.renderSlot(u.$slots,"subTitle")],2)],2)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(_.value),onClick:v[0]||(v[0]=$=>u.$emit("click"))},[e.renderSlot(u.$slots,"link")],2)):e.createCommentVNode("",!0)],2))}}),fe="_wrapper_13pzw_1",ve="_input_13pzw_5",he="_error_13pzw_35",Be="_description_13pzw_47",ge="_descriptionText_13pzw_58",Ce="_errorText_13pzw_62",m={wrapper:fe,input:ve,error:he,description:Be,descriptionText:ge,errorText:Ce},$e=["id","value","name","type","disabled","placeholder","aria-invalid"],we=["innerHTML"],Ne=["innerHTML"],ze=e.defineComponent({__name:"input",props:e.mergeModels({value:{},type:{default:"text"},id:{},name:{},disabled:{type:Boolean},title:{},header:{},subTitle:{},link:{},placeholder:{},loading:{type:Boolean},error:{},description:{},className:{}},{value:{},valueModifiers:{}}),emits:e.mergeModels(["update:value","enter","click-link","focus","blur"],["update:value"]),setup(l,{emit:t}){const o=l,s=t,n=e.useAttrs(),r=e.useModel(l,"value"),d=e.computed(()=>[m.input,{[m.disabled]:o.disabled,[m.error]:o.error,[m.loading]:o.loading},o.className]),a=e.computed(()=>o.header||o.title||o.subTitle||o.link),_=e.computed(()=>o.description||o.error),u=c=>{c.key==="Enter"&&s("enter")},v=c=>{s("update:value",c.target.value)},$=()=>{s("focus")},T=()=>{s("blur")},S=()=>{s("click-link")};return(c,it)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(m).wrapper)},[a.value?(e.openBlock(),e.createBlock(e.unref(z),{key:0,for:c.id,onClick:S},{header:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.header),1)]),subTitle:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.subTitle),1)]),link:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.link),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(o.title)+" ",1)]),_:1},8,["for"])):e.createCommentVNode("",!0),e.createElementVNode("input",e.mergeProps({id:c.id,value:r.value,name:c.name,type:c.type,disabled:c.disabled||c.loading,placeholder:c.placeholder,class:d.value,"aria-invalid":!!c.error},e.unref(n),{onInput:v,onKeydown:u,onFocus:$,onBlur:T}),null,16,$e),_.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(m).description)},[c.error?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(m).errorText),innerHTML:c.error},null,10,we)):e.createCommentVNode("",!0),c.description?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(m).descriptionText),innerHTML:c.description},null,10,Ne)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2))}}),Te="_label_jcdiv_1",Se="_disabled_jcdiv_7",Ve="_input_jcdiv_17",Ee="_error_jcdiv_30",je="_text_jcdiv_70",Me="_errorText_jcdiv_76",k={label:Te,disabled:Se,input:Ve,error:Ee,text:je,errorText:Me},Le=["for"],xe=["id","name","disabled"],Ie=e.defineComponent({__name:"checkbox",props:e.mergeModels({id:{},name:{},disabled:{type:Boolean},label:{},error:{},className:{}},{checked:{type:Boolean},checkedModifiers:{}}),emits:["update:checked"],setup(l){const t=l,o=e.useModel(l,"checked"),s=e.computed(()=>[k.label,{[k.disabled]:t.disabled},t.className]);return(n,r)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("label",{for:n.id,class:e.normalizeClass(s.value)},[e.withDirectives(e.createElementVNode("input",{id:n.id,"onUpdate:modelValue":r[0]||(r[0]=d=>o.value=d),name:n.name,type:"checkbox",disabled:n.disabled,class:e.normalizeClass([e.unref(k).input,{[e.unref(k).error]:!!t.error}])},null,10,xe),[[e.vModelCheckbox,o.value]]),n.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(k).text)},[e.renderSlot(n.$slots,"default")],2)):e.createCommentVNode("",!0)],10,Le),n.error?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(k).errorText)},e.toDisplayString(n.error),3)):e.createCommentVNode("",!0)]))}}),De=async()=>{if(!(typeof document>"u")&&!document.getElementById("__svg-sprite__"))try{const t=`
|
|
3
3
|
<svg id="__svg-sprite__" xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
4
4
|
${(await Promise.resolve().then(()=>require("./sprite-CTNw4BII.cjs"))).default}
|
|
5
5
|
</svg>
|
|
6
|
-
`;document.body.insertAdjacentHTML("afterbegin",t)}catch(l){console.error("Failed to load SVG sprite:",l)}},
|
|
6
|
+
`;document.body.insertAdjacentHTML("afterbegin",t)}catch(l){console.error("Failed to load SVG sprite:",l)}},qe="_title_471uj_1",He="_medium_471uj_12",B={title:qe,"level-1":"_level-1_471uj_8",medium:He,"level-2":"_level-2_471uj_17","level-3":"_level-3_471uj_26","level-4":"_level-4_471uj_35"},Re=e.defineComponent({__name:"title",props:{level:{},className:{},weight:{}},setup(l){const t=l,o=e.computed(()=>[B.title,B[`level-${t.level??1}`],t.className,t.weight&&B[t.weight]]),s=e.computed(()=>`h${t.level??1}`);return(n,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value),{class:e.normalizeClass(o.value)},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),Ue="_text_1mrtv_1",Oe="_primary_1mrtv_8",Pe="_medium_1mrtv_12",We="_secondary_1mrtv_17",Ae="_accent_1mrtv_26",Fe="_subtitle_1mrtv_35",g={text:Ue,primary:Oe,medium:Pe,secondary:We,accent:Ae,subtitle:Fe},Ge=e.defineComponent({__name:"text",props:{tagName:{default:"p"},kind:{default:"primary"},weight:{}},setup(l){const t=l,o=e.computed(()=>[g.text,g[t.kind],t.weight&&g[t.weight]]);return(s,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.tagName),{class:e.normalizeClass(o.value)},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["class"]))}}),Ke="_s_n8n8w_9",Je="_xs_n8n8w_14",Qe="_m_n8n8w_19",Xe="_l_n8n8w_24",Ye="_button_n8n8w_30",w={s:Ke,xs:Je,m:Qe,l:Xe,button:Ye},Ze=e.defineComponent({__name:"button-icon",props:{icon:{},size:{default:"m"},className:{},type:{default:"primary"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},active:{type:Boolean,default:!1},name:{},circle:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1}},emits:["click"],setup(l){const t=l,o=e.computed(()=>[w.button,w[t.size],t.className]),s=e.computed(()=>{const n=t.size==="xs"?"18":"20";return t.icon.replace(/-?\d*$/,`-${n}`)});return(n,r)=>(e.openBlock(),e.createBlock(e.unref(C),e.mergeProps({class:o.value},t,{"html-type":"button",onClick:r[0]||(r[0]=d=>n.$emit("click"))}),{before:e.withCtx(()=>[e.createVNode(e.unref(f),{type:s.value},null,8,["type"])]),_:1},16,["class"]))}}),et="_button_1vqio_1",tt={button:et},ot=e.defineComponent({__name:"button-link",emits:["click"],setup(l){return(t,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(tt).button),type:"button",onClick:o[0]||(o[0]=s=>t.$emit("click"))},[e.createVNode(e.unref(f),{type:"plus-18"}),e.renderSlot(t.$slots,"default")],2))}}),nt="_plank_8tn62_1",lt="_accent_8tn62_25",st="_danger_8tn62_31",rt="_text_8tn62_37",at="_icon_8tn62_41",h={plank:nt,default:"_default_8tn62_19",accent:lt,danger:st,text:rt,icon:at},ct=e.defineComponent({__name:"base-plank",props:{type:{default:"default"},icon:{},label:{}},emits:["click"],setup(l){const t=l,o=e.useSlots(),s=e.computed(()=>y(o)),n=e.computed(()=>[h.plank,h[t.type]]);return(r,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.value)},[r.icon?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(h).icon)},[e.createVNode(e.unref(f),{type:r.icon},null,8,["type"])],2)):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h).text)},[e.renderSlot(r.$slots,"default")],2)):e.createCommentVNode("",!0),r.label?(e.openBlock(),e.createBlock(e.unref(C),{key:2,size:"xs",type:"secondary",onClick:d[0]||(d[0]=a=>r.$emit("click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label),1)]),_:1})):e.createCommentVNode("",!0)],2))}});exports.BaseButton=C;exports.BaseCheckbox=Ie;exports.BaseIcon=f;exports.BaseInput=ze;exports.BaseLabel=z;exports.BaseLoader=N;exports.BasePlank=ct;exports.BaseText=Ge;exports.BaseTitle=Re;exports.ButtonIcon=Ze;exports.ButtonLink=ot;exports.injectSvgSprite=De;
|
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-spacing-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-spacing-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-spacing-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_4sgbr_1{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);font-style:normal;flex:1;margin-bottom:var(--hf-spacing-xs)}._header_4sgbr_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_4sgbr_18{flex-grow:1;gap:var(--hf-spacing-xs);display:flex;flex-direction:column}._title_4sgbr_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_4sgbr_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_4sgbr_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_4sgbr_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_4sgbr_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_4sgbr_62{margin-bottom:1px}._wrapper_13pzw_1{margin-bottom:var(--hf-spacing-xs)}._input_13pzw_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_13pzw_5:active{border-color:var(--hf-color-input-border-focus)}._input_13pzw_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_13pzw_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_13pzw_35,._error_13pzw_35:active{border-color:var(--hf-color-input-border-error)}._error_13pzw_35:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_13pzw_47{margin-top:var(--hf-spacing-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_13pzw_47 a{text-decoration:underline}._descriptionText_13pzw_58{color:var(--hf-color-input-text-description)}._errorText_13pzw_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_1vqio_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-spacing-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_1vqio_1:hover{color:var(--hf-color-link-hover)}._plank_8tn62_1{border-radius:var(--hf-radius-m);padding:var(--hf-spacing-m) var(--hf-spacing-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-spacing-m);align-items:center;justify-content:space-between}._default_8tn62_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_8tn62_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_8tn62_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_8tn62_37{flex-grow:1}._icon_8tn62_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 v, computed as c, createElementBlock as d, openBlock as a, normalizeClass as r, unref as o, normalizeStyle as P, createElementVNode as j, useSlots as
|
|
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-spacing-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-spacing-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-spacing-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_4sgbr_1{display:flex;flex-direction:row;gap:var(--hf-spacing-xs);font-style:normal;flex:1;margin-bottom:var(--hf-spacing-xs)}._header_4sgbr_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_4sgbr_18{flex-grow:1;gap:var(--hf-spacing-xs);display:flex;flex-direction:column}._title_4sgbr_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_4sgbr_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_4sgbr_33{line-height:var(--hf-font-line-height-label-subtitle)}._link_4sgbr_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_4sgbr_45 a{text-decoration:none;color:var(--hf-color-text-semilight)}._linkUpper_4sgbr_62{margin-bottom:1px}._wrapper_13pzw_1{margin-bottom:var(--hf-spacing-xs)}._input_13pzw_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_13pzw_5:active{border-color:var(--hf-color-input-border-focus)}._input_13pzw_5:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_13pzw_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_13pzw_35,._error_13pzw_35:active{border-color:var(--hf-color-input-border-error)}._error_13pzw_35:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_13pzw_47{margin-top:var(--hf-spacing-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_13pzw_47 a{text-decoration:underline}._descriptionText_13pzw_58{color:var(--hf-color-input-text-description)}._errorText_13pzw_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_471uj_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._level-1_471uj_8{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1-regular);line-height:var(--hf-font-line-height-text-h1)}._level-1_471uj_8._medium_471uj_12{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_471uj_17{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2-regular);line-height:var(--hf-font-line-height-text-h2)}._level-2_471uj_17._medium_471uj_12{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_471uj_26{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3-regular);line-height:var(--hf-font-line-height-text-h3)}._level-3_471uj_26._medium_471uj_12{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_471uj_35{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-regular);line-height:var(--hf-font-line-height-text-h4)}._level-4_471uj_35._medium_471uj_12{font-weight:var(--hf-font-weight-text-h4-medium)}._text_1mrtv_1{font-family:var(--hf-font-family-body);font-style:normal;color:var(--hf-color-text-main);margin:0}._primary_1mrtv_8{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary)}._primary_1mrtv_8._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_1mrtv_17{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary-regular);line-height:var(--hf-font-line-height-text-secondary)}._secondary_1mrtv_17._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_1mrtv_26{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent-regular);line-height:var(--hf-font-line-height-text-accent)}._accent_1mrtv_26._medium_1mrtv_12{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_1mrtv_35{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_1vqio_1{padding:0 2px 0 0;border:none;margin:0;cursor:pointer;display:flex;flex-direction:row;gap:var(--hf-spacing-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_1vqio_1:hover{color:var(--hf-color-link-hover)}._plank_8tn62_1{border-radius:var(--hf-radius-m);padding:var(--hf-spacing-m) var(--hf-spacing-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-spacing-m);align-items:center;justify-content:space-between}._default_8tn62_19{color:var(--hf-color-text-main);border-color:var(--hf-color-plank-default-border);background-color:var(--hf-color-plank-default-background)}._accent_8tn62_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_8tn62_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_8tn62_37{flex-grow:1}._icon_8tn62_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 v, computed as c, createElementBlock as d, openBlock as a, normalizeClass as r, unref as o, normalizeStyle as P, createElementVNode as j, useSlots as U, createCommentVNode as u, renderSlot as b, createBlock as C, createVNode as S, mergeModels as R, useAttrs as G, useModel as D, withCtx as $, createTextVNode as N, toDisplayString as T, mergeProps as E, withDirectives as K, vModelCheckbox as J, resolveDynamicComponent as O } from "vue";
|
|
3
3
|
const B = (n, e) => {
|
|
4
4
|
const t = e ? n[e] : n.default;
|
|
5
5
|
return (t == null ? void 0 : t().some((l) => {
|
|
@@ -65,18 +65,18 @@ const B = (n, e) => {
|
|
|
65
65
|
for (const [l, s] of e)
|
|
66
66
|
t[l] = s;
|
|
67
67
|
return t;
|
|
68
|
-
},
|
|
68
|
+
}, ue = {
|
|
69
69
|
$style: ie
|
|
70
|
-
}, I = /* @__PURE__ */ de(re, [["__cssModules",
|
|
71
|
-
button:
|
|
70
|
+
}, I = /* @__PURE__ */ de(re, [["__cssModules", ue]]), _e = "_button_1syl2_1", pe = "_disabled_1syl2_1", me = "_loading_1syl2_1", be = "_loader_1syl2_1", ye = "_content_1syl2_1", ve = "_dropdownIcon_1syl2_1", ke = "_s_1syl2_2", fe = "_xs_1syl2_1", he = "_square_1syl2_1", $e = "_circle_1syl2_1", ge = "_m_1syl2_1", we = "_l_1syl2_1", Te = "_primary_1syl2_1", Be = "_secondary_1syl2_1", Ce = "_accent_1syl2_1", ze = "_danger_1syl2_1", Ne = "_jobsites_1syl2_1", je = "_ghost_1syl2_1", m = {
|
|
71
|
+
button: _e,
|
|
72
72
|
disabled: pe,
|
|
73
|
-
loading:
|
|
74
|
-
loader:
|
|
75
|
-
content:
|
|
73
|
+
loading: me,
|
|
74
|
+
loader: be,
|
|
75
|
+
content: ye,
|
|
76
76
|
dropdownIcon: ve,
|
|
77
77
|
s: ke,
|
|
78
|
-
xs:
|
|
79
|
-
square:
|
|
78
|
+
xs: fe,
|
|
79
|
+
square: he,
|
|
80
80
|
circle: $e,
|
|
81
81
|
m: ge,
|
|
82
82
|
l: we,
|
|
@@ -104,7 +104,7 @@ const B = (n, e) => {
|
|
|
104
104
|
},
|
|
105
105
|
emits: ["click"],
|
|
106
106
|
setup(n) {
|
|
107
|
-
const e = n, t =
|
|
107
|
+
const e = n, t = U(), l = {
|
|
108
108
|
primary: "white",
|
|
109
109
|
secondary: "black",
|
|
110
110
|
accent: "white",
|
|
@@ -113,114 +113,114 @@ const B = (n, e) => {
|
|
|
113
113
|
ghost: "black",
|
|
114
114
|
"ghost-danger": "black"
|
|
115
115
|
}, s = c(() => B(t)), i = c(() => [
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
e.circle ? [
|
|
116
|
+
m.button,
|
|
117
|
+
m[e.size],
|
|
118
|
+
m[e.type],
|
|
119
|
+
e.circle ? [m.circle] : [m.square],
|
|
120
120
|
{
|
|
121
|
-
[
|
|
122
|
-
[
|
|
123
|
-
[
|
|
124
|
-
[
|
|
121
|
+
[m.disabled]: e.disabled,
|
|
122
|
+
[m.loading]: e.loading,
|
|
123
|
+
[m.active]: e.active,
|
|
124
|
+
[m.bordered]: e.bordered
|
|
125
125
|
},
|
|
126
126
|
e.className
|
|
127
|
-
]),
|
|
128
|
-
return (
|
|
129
|
-
name:
|
|
127
|
+
]), y = c(() => l[e.type] || "white");
|
|
128
|
+
return (_, g) => (a(), d("button", {
|
|
129
|
+
name: _.name,
|
|
130
130
|
class: r(i.value),
|
|
131
|
-
type:
|
|
132
|
-
disabled:
|
|
133
|
-
onClick: g[0] || (g[0] = (k) =>
|
|
131
|
+
type: _.htmlType,
|
|
132
|
+
disabled: _.disabled || _.loading,
|
|
133
|
+
onClick: g[0] || (g[0] = (k) => _.$emit("click"))
|
|
134
134
|
}, [
|
|
135
|
-
|
|
135
|
+
_.loading ? (a(), d("div", {
|
|
136
136
|
key: 0,
|
|
137
|
-
class: r(o(
|
|
137
|
+
class: r(o(m).loader)
|
|
138
138
|
}, [
|
|
139
139
|
S(o(le), {
|
|
140
140
|
size: "s",
|
|
141
|
-
color:
|
|
141
|
+
color: y.value
|
|
142
142
|
}, null, 8, ["color"])
|
|
143
|
-
], 2)) :
|
|
144
|
-
|
|
143
|
+
], 2)) : u("", !0),
|
|
144
|
+
_.$slots.before ? b(_.$slots, "before", { key: 1 }) : u("", !0),
|
|
145
145
|
s.value ? (a(), d("span", {
|
|
146
146
|
key: 2,
|
|
147
|
-
class: r(o(
|
|
147
|
+
class: r(o(m).content)
|
|
148
148
|
}, [
|
|
149
|
-
|
|
150
|
-
], 2)) :
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
b(_.$slots, "default")
|
|
150
|
+
], 2)) : u("", !0),
|
|
151
|
+
_.$slots.after ? b(_.$slots, "after", { key: 3 }) : u("", !0),
|
|
152
|
+
_.dropdown ? (a(), C(I, {
|
|
153
153
|
key: 4,
|
|
154
|
-
class: r(o(
|
|
154
|
+
class: r(o(m).dropdownIcon),
|
|
155
155
|
type: "chevron-down-18"
|
|
156
|
-
}, null, 8, ["class"])) :
|
|
156
|
+
}, null, 8, ["class"])) : u("", !0)
|
|
157
157
|
], 10, Le));
|
|
158
158
|
}
|
|
159
|
-
}), Me = "_label_4sgbr_1", Se = "_header_4sgbr_10", Ie = "_headerWrapper_4sgbr_18",
|
|
159
|
+
}), Me = "_label_4sgbr_1", Se = "_header_4sgbr_10", Ie = "_headerWrapper_4sgbr_18", He = "_title_4sgbr_25", xe = "_subTitleRow_4sgbr_33", Re = "_subTitle_4sgbr_33", Ue = "_link_4sgbr_45", Ve = "_linkUpper_4sgbr_62", f = {
|
|
160
160
|
label: Me,
|
|
161
161
|
header: Se,
|
|
162
162
|
headerWrapper: Ie,
|
|
163
|
-
title:
|
|
164
|
-
subTitleRow:
|
|
165
|
-
subTitle:
|
|
166
|
-
link:
|
|
167
|
-
linkUpper:
|
|
168
|
-
},
|
|
163
|
+
title: He,
|
|
164
|
+
subTitleRow: xe,
|
|
165
|
+
subTitle: Re,
|
|
166
|
+
link: Ue,
|
|
167
|
+
linkUpper: Ve
|
|
168
|
+
}, qe = /* @__PURE__ */ v({
|
|
169
169
|
__name: "label",
|
|
170
170
|
emits: ["click"],
|
|
171
171
|
setup(n) {
|
|
172
|
-
const e =
|
|
173
|
-
() => [
|
|
172
|
+
const e = U(), t = c(() => B(e, "header")), l = c(() => B(e)), s = c(() => B(e, "subTitle")), i = c(() => B(e, "link")), y = c(() => t.value || l.value || s.value), _ = c(() => !l.value && !s.value), g = c(
|
|
173
|
+
() => [f.link, _.value && f.linkUpper].filter(Boolean)
|
|
174
174
|
);
|
|
175
175
|
return (k, L) => (a(), d("label", {
|
|
176
|
-
class: r(o(
|
|
176
|
+
class: r(o(f).label)
|
|
177
177
|
}, [
|
|
178
|
-
|
|
178
|
+
y.value ? (a(), d("span", {
|
|
179
179
|
key: 0,
|
|
180
|
-
class: r(o(
|
|
180
|
+
class: r(o(f).headerWrapper)
|
|
181
181
|
}, [
|
|
182
182
|
t.value ? (a(), d("span", {
|
|
183
183
|
key: 0,
|
|
184
|
-
class: r(o(
|
|
184
|
+
class: r(o(f).header)
|
|
185
185
|
}, [
|
|
186
|
-
|
|
187
|
-
], 2)) :
|
|
186
|
+
b(k.$slots, "header")
|
|
187
|
+
], 2)) : u("", !0),
|
|
188
188
|
l.value ? (a(), d("span", {
|
|
189
189
|
key: 1,
|
|
190
|
-
class: r(o(
|
|
190
|
+
class: r(o(f).title)
|
|
191
191
|
}, [
|
|
192
|
-
|
|
193
|
-
], 2)) :
|
|
192
|
+
b(k.$slots, "default")
|
|
193
|
+
], 2)) : u("", !0),
|
|
194
194
|
s.value ? (a(), d("span", {
|
|
195
195
|
key: 2,
|
|
196
|
-
class: r(o(
|
|
196
|
+
class: r(o(f).subTitleRow)
|
|
197
197
|
}, [
|
|
198
198
|
j("span", {
|
|
199
|
-
class: r(o(
|
|
199
|
+
class: r(o(f).subTitle)
|
|
200
200
|
}, [
|
|
201
|
-
|
|
201
|
+
b(k.$slots, "subTitle")
|
|
202
202
|
], 2)
|
|
203
|
-
], 2)) :
|
|
204
|
-
], 2)) :
|
|
203
|
+
], 2)) : u("", !0)
|
|
204
|
+
], 2)) : u("", !0),
|
|
205
205
|
i.value ? (a(), d("span", {
|
|
206
206
|
key: 1,
|
|
207
207
|
class: r(g.value),
|
|
208
|
-
onClick: L[0] || (L[0] = (
|
|
208
|
+
onClick: L[0] || (L[0] = (V) => k.$emit("click"))
|
|
209
209
|
}, [
|
|
210
|
-
|
|
211
|
-
], 2)) :
|
|
210
|
+
b(k.$slots, "link")
|
|
211
|
+
], 2)) : u("", !0)
|
|
212
212
|
], 2));
|
|
213
213
|
}
|
|
214
|
-
}), De = "_wrapper_13pzw_1", Ee = "_input_13pzw_5", Oe = "_error_13pzw_35", We = "_description_13pzw_47", Ae = "_descriptionText_13pzw_58", Fe = "_errorText_13pzw_62",
|
|
214
|
+
}), De = "_wrapper_13pzw_1", Ee = "_input_13pzw_5", Oe = "_error_13pzw_35", We = "_description_13pzw_47", Ae = "_descriptionText_13pzw_58", Fe = "_errorText_13pzw_62", h = {
|
|
215
215
|
wrapper: De,
|
|
216
216
|
input: Ee,
|
|
217
217
|
error: Oe,
|
|
218
218
|
description: We,
|
|
219
219
|
descriptionText: Ae,
|
|
220
220
|
errorText: Fe
|
|
221
|
-
}, Pe = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Ge = ["innerHTML"], Ke = ["innerHTML"],
|
|
221
|
+
}, Pe = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Ge = ["innerHTML"], Ke = ["innerHTML"], Bt = /* @__PURE__ */ v({
|
|
222
222
|
__name: "input",
|
|
223
|
-
props: /* @__PURE__ */
|
|
223
|
+
props: /* @__PURE__ */ R({
|
|
224
224
|
value: {},
|
|
225
225
|
type: { default: "text" },
|
|
226
226
|
id: {},
|
|
@@ -239,31 +239,31 @@ const B = (n, e) => {
|
|
|
239
239
|
value: {},
|
|
240
240
|
valueModifiers: {}
|
|
241
241
|
}),
|
|
242
|
-
emits: /* @__PURE__ */
|
|
242
|
+
emits: /* @__PURE__ */ R(["update:value", "enter", "click-link", "focus", "blur"], ["update:value"]),
|
|
243
243
|
setup(n, { emit: e }) {
|
|
244
|
-
const t = n, l = e, s = G(), i = D(n, "value"),
|
|
245
|
-
|
|
244
|
+
const t = n, l = e, s = G(), i = D(n, "value"), y = c(() => [
|
|
245
|
+
h.input,
|
|
246
246
|
{
|
|
247
|
-
[
|
|
248
|
-
[
|
|
249
|
-
[
|
|
247
|
+
[h.disabled]: t.disabled,
|
|
248
|
+
[h.error]: t.error,
|
|
249
|
+
[h.loading]: t.loading
|
|
250
250
|
},
|
|
251
251
|
t.className
|
|
252
|
-
]),
|
|
252
|
+
]), _ = c(() => t.header || t.title || t.subTitle || t.link), g = c(() => t.description || t.error), k = (p) => {
|
|
253
253
|
p.key === "Enter" && l("enter");
|
|
254
254
|
}, L = (p) => {
|
|
255
255
|
l("update:value", p.target.value);
|
|
256
|
-
},
|
|
256
|
+
}, V = () => {
|
|
257
257
|
l("focus");
|
|
258
258
|
}, A = () => {
|
|
259
259
|
l("blur");
|
|
260
260
|
}, F = () => {
|
|
261
261
|
l("click-link");
|
|
262
262
|
};
|
|
263
|
-
return (p,
|
|
264
|
-
class: r(o(
|
|
263
|
+
return (p, wt) => (a(), d("div", {
|
|
264
|
+
class: r(o(h).wrapper)
|
|
265
265
|
}, [
|
|
266
|
-
|
|
266
|
+
_.value ? (a(), C(o(qe), {
|
|
267
267
|
key: 0,
|
|
268
268
|
for: p.id,
|
|
269
269
|
onClick: F
|
|
@@ -281,7 +281,7 @@ const B = (n, e) => {
|
|
|
281
281
|
N(" " + T(t.title) + " ", 1)
|
|
282
282
|
]),
|
|
283
283
|
_: 1
|
|
284
|
-
}, 8, ["for"])) :
|
|
284
|
+
}, 8, ["for"])) : u("", !0),
|
|
285
285
|
j("input", E({
|
|
286
286
|
id: p.id,
|
|
287
287
|
value: i.value,
|
|
@@ -289,29 +289,29 @@ const B = (n, e) => {
|
|
|
289
289
|
type: p.type,
|
|
290
290
|
disabled: p.disabled || p.loading,
|
|
291
291
|
placeholder: p.placeholder,
|
|
292
|
-
class:
|
|
292
|
+
class: y.value,
|
|
293
293
|
"aria-invalid": !!p.error
|
|
294
294
|
}, o(s), {
|
|
295
295
|
onInput: L,
|
|
296
296
|
onKeydown: k,
|
|
297
|
-
onFocus:
|
|
297
|
+
onFocus: V,
|
|
298
298
|
onBlur: A
|
|
299
299
|
}), null, 16, Pe),
|
|
300
300
|
g.value ? (a(), d("div", {
|
|
301
301
|
key: 1,
|
|
302
|
-
class: r(o(
|
|
302
|
+
class: r(o(h).description)
|
|
303
303
|
}, [
|
|
304
304
|
p.error ? (a(), d("div", {
|
|
305
305
|
key: 0,
|
|
306
|
-
class: r(o(
|
|
306
|
+
class: r(o(h).errorText),
|
|
307
307
|
innerHTML: p.error
|
|
308
|
-
}, null, 10, Ge)) :
|
|
308
|
+
}, null, 10, Ge)) : u("", !0),
|
|
309
309
|
p.description ? (a(), d("div", {
|
|
310
310
|
key: 1,
|
|
311
|
-
class: r(o(
|
|
311
|
+
class: r(o(h).descriptionText),
|
|
312
312
|
innerHTML: p.description
|
|
313
|
-
}, null, 10, Ke)) :
|
|
314
|
-
], 2)) :
|
|
313
|
+
}, null, 10, Ke)) : u("", !0)
|
|
314
|
+
], 2)) : u("", !0)
|
|
315
315
|
], 2));
|
|
316
316
|
}
|
|
317
317
|
}), Je = "_label_jcdiv_1", Qe = "_disabled_jcdiv_7", Xe = "_input_jcdiv_17", Ye = "_error_jcdiv_30", Ze = "_text_jcdiv_70", et = "_errorText_jcdiv_76", w = {
|
|
@@ -321,9 +321,9 @@ const B = (n, e) => {
|
|
|
321
321
|
error: Ye,
|
|
322
322
|
text: Ze,
|
|
323
323
|
errorText: et
|
|
324
|
-
}, tt = ["for"], st = ["id", "name", "disabled"],
|
|
324
|
+
}, tt = ["for"], st = ["id", "name", "disabled"], Ct = /* @__PURE__ */ v({
|
|
325
325
|
__name: "checkbox",
|
|
326
|
-
props: /* @__PURE__ */
|
|
326
|
+
props: /* @__PURE__ */ R({
|
|
327
327
|
id: {},
|
|
328
328
|
name: {},
|
|
329
329
|
disabled: { type: Boolean },
|
|
@@ -350,7 +350,7 @@ const B = (n, e) => {
|
|
|
350
350
|
}, [
|
|
351
351
|
K(j("input", {
|
|
352
352
|
id: s.id,
|
|
353
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
353
|
+
"onUpdate:modelValue": i[0] || (i[0] = (y) => t.value = y),
|
|
354
354
|
name: s.name,
|
|
355
355
|
type: "checkbox",
|
|
356
356
|
disabled: s.disabled,
|
|
@@ -362,16 +362,16 @@ const B = (n, e) => {
|
|
|
362
362
|
key: 0,
|
|
363
363
|
class: r(o(w).text)
|
|
364
364
|
}, [
|
|
365
|
-
|
|
366
|
-
], 2)) :
|
|
365
|
+
b(s.$slots, "default")
|
|
366
|
+
], 2)) : u("", !0)
|
|
367
367
|
], 10, tt),
|
|
368
368
|
s.error ? (a(), d("div", {
|
|
369
369
|
key: 0,
|
|
370
370
|
class: r(o(w).errorText)
|
|
371
|
-
}, T(s.error), 3)) :
|
|
371
|
+
}, T(s.error), 3)) : u("", !0)
|
|
372
372
|
]));
|
|
373
373
|
}
|
|
374
|
-
}),
|
|
374
|
+
}), zt = async () => {
|
|
375
375
|
if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
|
|
376
376
|
try {
|
|
377
377
|
const e = `
|
|
@@ -383,41 +383,44 @@ const B = (n, e) => {
|
|
|
383
383
|
} catch (n) {
|
|
384
384
|
console.error("Failed to load SVG sprite:", n);
|
|
385
385
|
}
|
|
386
|
-
}, nt = "
|
|
386
|
+
}, nt = "_title_471uj_1", lt = "_medium_471uj_12", H = {
|
|
387
387
|
title: nt,
|
|
388
|
-
"level-1": "_level-
|
|
389
|
-
|
|
390
|
-
"level-
|
|
391
|
-
"level-
|
|
392
|
-
|
|
388
|
+
"level-1": "_level-1_471uj_8",
|
|
389
|
+
medium: lt,
|
|
390
|
+
"level-2": "_level-2_471uj_17",
|
|
391
|
+
"level-3": "_level-3_471uj_26",
|
|
392
|
+
"level-4": "_level-4_471uj_35"
|
|
393
|
+
}, Nt = /* @__PURE__ */ v({
|
|
393
394
|
__name: "title",
|
|
394
395
|
props: {
|
|
395
396
|
level: {},
|
|
396
|
-
className: {}
|
|
397
|
+
className: {},
|
|
398
|
+
weight: {}
|
|
397
399
|
},
|
|
398
400
|
setup(n) {
|
|
399
401
|
const e = n, t = c(() => [
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
e.className
|
|
402
|
+
H.title,
|
|
403
|
+
H[`level-${e.level ?? 1}`],
|
|
404
|
+
e.className,
|
|
405
|
+
e.weight && H[e.weight]
|
|
403
406
|
]), l = c(() => `h${e.level ?? 1}`);
|
|
404
407
|
return (s, i) => (a(), C(O(l.value), {
|
|
405
408
|
class: r(t.value)
|
|
406
409
|
}, {
|
|
407
410
|
default: $(() => [
|
|
408
|
-
|
|
411
|
+
b(s.$slots, "default")
|
|
409
412
|
]),
|
|
410
413
|
_: 3
|
|
411
414
|
}, 8, ["class"]));
|
|
412
415
|
}
|
|
413
|
-
}),
|
|
414
|
-
text:
|
|
415
|
-
primary:
|
|
416
|
-
medium:
|
|
417
|
-
secondary:
|
|
418
|
-
accent:
|
|
419
|
-
subtitle:
|
|
420
|
-
},
|
|
416
|
+
}), ot = "_text_1mrtv_1", at = "_primary_1mrtv_8", rt = "_medium_1mrtv_12", ct = "_secondary_1mrtv_17", it = "_accent_1mrtv_26", dt = "_subtitle_1mrtv_35", x = {
|
|
417
|
+
text: ot,
|
|
418
|
+
primary: at,
|
|
419
|
+
medium: rt,
|
|
420
|
+
secondary: ct,
|
|
421
|
+
accent: it,
|
|
422
|
+
subtitle: dt
|
|
423
|
+
}, jt = /* @__PURE__ */ v({
|
|
421
424
|
__name: "text",
|
|
422
425
|
props: {
|
|
423
426
|
tagName: { default: "p" },
|
|
@@ -434,18 +437,18 @@ const B = (n, e) => {
|
|
|
434
437
|
class: r(t.value)
|
|
435
438
|
}, {
|
|
436
439
|
default: $(() => [
|
|
437
|
-
|
|
440
|
+
b(l.$slots, "default")
|
|
438
441
|
]),
|
|
439
442
|
_: 3
|
|
440
443
|
}, 8, ["class"]));
|
|
441
444
|
}
|
|
442
|
-
}),
|
|
443
|
-
s:
|
|
445
|
+
}), ut = "_s_n8n8w_9", _t = "_xs_n8n8w_14", pt = "_m_n8n8w_19", mt = "_l_n8n8w_24", bt = "_button_n8n8w_30", q = {
|
|
446
|
+
s: ut,
|
|
444
447
|
xs: _t,
|
|
445
|
-
m:
|
|
446
|
-
l:
|
|
448
|
+
m: pt,
|
|
449
|
+
l: mt,
|
|
447
450
|
button: bt
|
|
448
|
-
},
|
|
451
|
+
}, Lt = /* @__PURE__ */ v({
|
|
449
452
|
__name: "button-icon",
|
|
450
453
|
props: {
|
|
451
454
|
icon: {},
|
|
@@ -461,13 +464,13 @@ const B = (n, e) => {
|
|
|
461
464
|
},
|
|
462
465
|
emits: ["click"],
|
|
463
466
|
setup(n) {
|
|
464
|
-
const e = n, t = c(() => [
|
|
467
|
+
const e = n, t = c(() => [q.button, q[e.size], e.className]), l = c(() => {
|
|
465
468
|
const s = e.size === "xs" ? "18" : "20";
|
|
466
469
|
return e.icon.replace(/-?\d*$/, `-${s}`);
|
|
467
470
|
});
|
|
468
471
|
return (s, i) => (a(), C(o(W), E({ class: t.value }, e, {
|
|
469
472
|
"html-type": "button",
|
|
470
|
-
onClick: i[0] || (i[0] = (
|
|
473
|
+
onClick: i[0] || (i[0] = (y) => s.$emit("click"))
|
|
471
474
|
}), {
|
|
472
475
|
before: $(() => [
|
|
473
476
|
S(o(I), { type: l.value }, null, 8, ["type"])
|
|
@@ -475,29 +478,29 @@ const B = (n, e) => {
|
|
|
475
478
|
_: 1
|
|
476
479
|
}, 16, ["class"]));
|
|
477
480
|
}
|
|
478
|
-
}), yt = "_button_1vqio_1",
|
|
481
|
+
}), yt = "_button_1vqio_1", vt = {
|
|
479
482
|
button: yt
|
|
480
|
-
},
|
|
483
|
+
}, Mt = /* @__PURE__ */ v({
|
|
481
484
|
__name: "button-link",
|
|
482
485
|
emits: ["click"],
|
|
483
486
|
setup(n) {
|
|
484
487
|
return (e, t) => (a(), d("button", {
|
|
485
|
-
class: r(o(
|
|
488
|
+
class: r(o(vt).button),
|
|
486
489
|
type: "button",
|
|
487
490
|
onClick: t[0] || (t[0] = (l) => e.$emit("click"))
|
|
488
491
|
}, [
|
|
489
492
|
S(o(I), { type: "plus-18" }),
|
|
490
|
-
|
|
493
|
+
b(e.$slots, "default")
|
|
491
494
|
], 2));
|
|
492
495
|
}
|
|
493
|
-
}),
|
|
494
|
-
plank:
|
|
496
|
+
}), kt = "_plank_8tn62_1", ft = "_accent_8tn62_25", ht = "_danger_8tn62_31", $t = "_text_8tn62_37", gt = "_icon_8tn62_41", M = {
|
|
497
|
+
plank: kt,
|
|
495
498
|
default: "_default_8tn62_19",
|
|
496
|
-
accent:
|
|
499
|
+
accent: ft,
|
|
497
500
|
danger: ht,
|
|
498
|
-
text:
|
|
499
|
-
icon:
|
|
500
|
-
},
|
|
501
|
+
text: $t,
|
|
502
|
+
icon: gt
|
|
503
|
+
}, St = /* @__PURE__ */ v({
|
|
501
504
|
__name: "base-plank",
|
|
502
505
|
props: {
|
|
503
506
|
type: { default: "default" },
|
|
@@ -506,8 +509,8 @@ const B = (n, e) => {
|
|
|
506
509
|
},
|
|
507
510
|
emits: ["click"],
|
|
508
511
|
setup(n) {
|
|
509
|
-
const e = n, t =
|
|
510
|
-
return (i,
|
|
512
|
+
const e = n, t = U(), l = c(() => B(t)), s = c(() => [M.plank, M[e.type]]);
|
|
513
|
+
return (i, y) => (a(), d("div", {
|
|
511
514
|
class: r(s.value)
|
|
512
515
|
}, [
|
|
513
516
|
i.icon ? (a(), d("div", {
|
|
@@ -515,38 +518,38 @@ const B = (n, e) => {
|
|
|
515
518
|
class: r(o(M).icon)
|
|
516
519
|
}, [
|
|
517
520
|
S(o(I), { type: i.icon }, null, 8, ["type"])
|
|
518
|
-
], 2)) :
|
|
521
|
+
], 2)) : u("", !0),
|
|
519
522
|
l.value ? (a(), d("div", {
|
|
520
523
|
key: 1,
|
|
521
524
|
class: r(o(M).text)
|
|
522
525
|
}, [
|
|
523
|
-
|
|
524
|
-
], 2)) :
|
|
526
|
+
b(i.$slots, "default")
|
|
527
|
+
], 2)) : u("", !0),
|
|
525
528
|
i.label ? (a(), C(o(W), {
|
|
526
529
|
key: 2,
|
|
527
530
|
size: "xs",
|
|
528
531
|
type: "secondary",
|
|
529
|
-
onClick:
|
|
532
|
+
onClick: y[0] || (y[0] = (_) => i.$emit("click"))
|
|
530
533
|
}, {
|
|
531
534
|
default: $(() => [
|
|
532
535
|
N(T(i.label), 1)
|
|
533
536
|
]),
|
|
534
537
|
_: 1
|
|
535
|
-
})) :
|
|
538
|
+
})) : u("", !0)
|
|
536
539
|
], 2));
|
|
537
540
|
}
|
|
538
541
|
});
|
|
539
542
|
export {
|
|
540
543
|
W as BaseButton,
|
|
541
|
-
|
|
544
|
+
Ct as BaseCheckbox,
|
|
542
545
|
I as BaseIcon,
|
|
543
|
-
|
|
544
|
-
|
|
546
|
+
Bt as BaseInput,
|
|
547
|
+
qe as BaseLabel,
|
|
545
548
|
le as BaseLoader,
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
St as BasePlank,
|
|
550
|
+
jt as BaseText,
|
|
551
|
+
Nt as BaseTitle,
|
|
552
|
+
Lt as ButtonIcon,
|
|
553
|
+
Mt as ButtonLink,
|
|
554
|
+
zt as injectSvgSprite
|
|
552
555
|
};
|