@huntflow/ui 0.0.58 → 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-button/button.vue.d.ts +3 -2
- package/dist/components/base-checkbox/checkbox.vue.d.ts +7 -6
- 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 +7 -3
- package/dist/components/base-label/label.vue.d.ts +3 -2
- package/dist/components/base-loader/loader.vue.d.ts +1 -1
- package/dist/components/base-plank/base-plank.vue.d.ts +24 -0
- package/dist/components/base-plank/index.d.ts +3 -0
- package/dist/components/base-plank/types.d.ts +7 -0
- package/dist/components/base-select/select.vue.d.ts +5 -4
- package/dist/components/base-text/text.vue.d.ts +2 -1
- package/dist/components/base-text/types.d.ts +0 -1
- package/dist/components/base-title/title.vue.d.ts +2 -1
- package/dist/components/base-title/types.d.ts +1 -1
- package/dist/components/button-icon/button-icon.vue.d.ts +1 -1
- package/dist/components/button-link/button-link.vue.d.ts +3 -2
- package/dist/components/index.d.ts +3 -1
- package/dist/global.css +1 -1
- package/dist/sprite-CRtOoHbV.js +4 -0
- package/dist/sprite-CTNw4BII.cjs +1 -0
- package/dist/sprite.svg +1 -1
- package/dist/ui.cjs.js +4 -4
- package/dist/ui.es.js +334 -285
- package/package.json +1 -1
- package/dist/sprite-BG3yTt8x.cjs +0 -1
- package/dist/sprite-joD_WDv4.js +0 -4
package/dist/ui.es.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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
|
|
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%}._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
|
+
const B = (n, e) => {
|
|
4
|
+
const t = e ? n[e] : n.default;
|
|
5
|
+
return (t == null ? void 0 : t().some((l) => {
|
|
6
|
+
const s = l.children;
|
|
7
|
+
return s && s.toString().trim() !== "";
|
|
8
8
|
})) ?? !1;
|
|
9
|
-
},
|
|
10
|
-
loader:
|
|
11
|
-
circle:
|
|
9
|
+
}, Q = "_loader_t6bg6_10", X = "_circle_t6bg6_15", Y = "_white_t6bg6_22", Z = "_black_t6bg6_26", ee = "_s_t6bg6_30", te = "_m_t6bg6_35", se = "_l_t6bg6_10", ne = "_spinner_t6bg6_45", z = {
|
|
10
|
+
loader: Q,
|
|
11
|
+
circle: X,
|
|
12
12
|
"loader-animation": "_loader-animation_t6bg6_1",
|
|
13
|
-
white:
|
|
14
|
-
black:
|
|
15
|
-
s:
|
|
16
|
-
m:
|
|
17
|
-
l:
|
|
18
|
-
spinner:
|
|
19
|
-
},
|
|
13
|
+
white: Y,
|
|
14
|
+
black: Z,
|
|
15
|
+
s: ee,
|
|
16
|
+
m: te,
|
|
17
|
+
l: se,
|
|
18
|
+
spinner: ne
|
|
19
|
+
}, le = /* @__PURE__ */ v({
|
|
20
20
|
__name: "loader",
|
|
21
21
|
props: {
|
|
22
22
|
className: {},
|
|
@@ -24,32 +24,12 @@ const j = (n, e) => {
|
|
|
24
24
|
color: { default: "black" }
|
|
25
25
|
},
|
|
26
26
|
setup(n) {
|
|
27
|
-
const e = n,
|
|
28
|
-
return (l,
|
|
29
|
-
class:
|
|
27
|
+
const e = n, t = c(() => [z.loader, z[e.size], z[e.color], z.circle]);
|
|
28
|
+
return (l, s) => (a(), d("span", {
|
|
29
|
+
class: r([o(z).spinner, t.value])
|
|
30
30
|
}, null, 2));
|
|
31
31
|
}
|
|
32
|
-
}),
|
|
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({
|
|
32
|
+
}), oe = ["aria-label", "width", "height"], ae = ["xlink:href"], re = /* @__PURE__ */ v({
|
|
53
33
|
__name: "icon",
|
|
54
34
|
props: {
|
|
55
35
|
type: {},
|
|
@@ -57,37 +37,57 @@ const j = (n, e) => {
|
|
|
57
37
|
block: { type: Boolean }
|
|
58
38
|
},
|
|
59
39
|
setup(n) {
|
|
60
|
-
const e = n,
|
|
61
|
-
var
|
|
62
|
-
const
|
|
63
|
-
return
|
|
40
|
+
const e = n, t = c(() => {
|
|
41
|
+
var i;
|
|
42
|
+
const s = (i = e == null ? void 0 : e.type) == null ? void 0 : i.match(/(\d+)$/);
|
|
43
|
+
return s ? Number.parseInt(s[1], 10) : 16;
|
|
64
44
|
}), l = c(() => {
|
|
65
|
-
const
|
|
66
|
-
return e.color && (
|
|
45
|
+
const s = {};
|
|
46
|
+
return e.color && (s.color = e.color), e.block && (s.display = "block"), s;
|
|
67
47
|
});
|
|
68
|
-
return (
|
|
69
|
-
class:
|
|
70
|
-
"aria-label":
|
|
71
|
-
style:
|
|
48
|
+
return (s, i) => (a(), d("svg", {
|
|
49
|
+
class: r(s.$style.icon),
|
|
50
|
+
"aria-label": s.type,
|
|
51
|
+
style: P(l.value),
|
|
72
52
|
role: "img",
|
|
73
|
-
width:
|
|
74
|
-
height:
|
|
53
|
+
width: t.value,
|
|
54
|
+
height: t.value
|
|
75
55
|
}, [
|
|
76
|
-
|
|
77
|
-
"xlink:href": `#${
|
|
78
|
-
}, null, 8,
|
|
79
|
-
], 14,
|
|
56
|
+
j("use", {
|
|
57
|
+
"xlink:href": `#${s.type}`
|
|
58
|
+
}, null, 8, ae)
|
|
59
|
+
], 14, oe));
|
|
80
60
|
}
|
|
81
|
-
}),
|
|
82
|
-
icon:
|
|
83
|
-
},
|
|
84
|
-
const
|
|
85
|
-
for (const [l,
|
|
86
|
-
|
|
87
|
-
return
|
|
88
|
-
},
|
|
89
|
-
$style:
|
|
90
|
-
}, I = /* @__PURE__ */
|
|
61
|
+
}), ce = "_icon_1p8iz_2", ie = {
|
|
62
|
+
icon: ce
|
|
63
|
+
}, de = (n, e) => {
|
|
64
|
+
const t = n.__vccOpts || n;
|
|
65
|
+
for (const [l, s] of e)
|
|
66
|
+
t[l] = s;
|
|
67
|
+
return t;
|
|
68
|
+
}, ue = {
|
|
69
|
+
$style: ie
|
|
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
|
+
disabled: pe,
|
|
73
|
+
loading: me,
|
|
74
|
+
loader: be,
|
|
75
|
+
content: ye,
|
|
76
|
+
dropdownIcon: ve,
|
|
77
|
+
s: ke,
|
|
78
|
+
xs: fe,
|
|
79
|
+
square: he,
|
|
80
|
+
circle: $e,
|
|
81
|
+
m: ge,
|
|
82
|
+
l: we,
|
|
83
|
+
primary: Te,
|
|
84
|
+
secondary: Be,
|
|
85
|
+
accent: Ce,
|
|
86
|
+
danger: ze,
|
|
87
|
+
jobsites: Ne,
|
|
88
|
+
ghost: je,
|
|
89
|
+
"ghost-danger": "_ghost-danger_1syl2_1"
|
|
90
|
+
}, Le = ["name", "type", "disabled"], W = /* @__PURE__ */ v({
|
|
91
91
|
__name: "button",
|
|
92
92
|
props: {
|
|
93
93
|
size: { default: "m" },
|
|
@@ -104,7 +104,7 @@ const j = (n, e) => {
|
|
|
104
104
|
},
|
|
105
105
|
emits: ["click"],
|
|
106
106
|
setup(n) {
|
|
107
|
-
const e =
|
|
107
|
+
const e = n, t = U(), l = {
|
|
108
108
|
primary: "white",
|
|
109
109
|
secondary: "black",
|
|
110
110
|
accent: "white",
|
|
@@ -112,115 +112,115 @@ const j = (n, e) => {
|
|
|
112
112
|
jobsites: "white",
|
|
113
113
|
ghost: "black",
|
|
114
114
|
"ghost-danger": "black"
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
}, s = c(() => B(t)), i = c(() => [
|
|
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
|
-
|
|
127
|
-
]),
|
|
128
|
-
return (_,
|
|
126
|
+
e.className
|
|
127
|
+
]), y = c(() => l[e.type] || "white");
|
|
128
|
+
return (_, g) => (a(), d("button", {
|
|
129
129
|
name: _.name,
|
|
130
|
-
class:
|
|
130
|
+
class: r(i.value),
|
|
131
131
|
type: _.htmlType,
|
|
132
132
|
disabled: _.disabled || _.loading,
|
|
133
|
-
onClick:
|
|
133
|
+
onClick: g[0] || (g[0] = (k) => _.$emit("click"))
|
|
134
134
|
}, [
|
|
135
|
-
_.loading ? (a(),
|
|
135
|
+
_.loading ? (a(), d("div", {
|
|
136
136
|
key: 0,
|
|
137
|
-
class: o(
|
|
137
|
+
class: r(o(m).loader)
|
|
138
138
|
}, [
|
|
139
|
-
S(
|
|
139
|
+
S(o(le), {
|
|
140
140
|
size: "s",
|
|
141
|
-
color:
|
|
141
|
+
color: y.value
|
|
142
142
|
}, null, 8, ["color"])
|
|
143
|
-
], 2)) :
|
|
144
|
-
_.$slots.before ?
|
|
145
|
-
|
|
143
|
+
], 2)) : u("", !0),
|
|
144
|
+
_.$slots.before ? b(_.$slots, "before", { key: 1 }) : u("", !0),
|
|
145
|
+
s.value ? (a(), d("span", {
|
|
146
146
|
key: 2,
|
|
147
|
-
class: o(
|
|
147
|
+
class: r(o(m).content)
|
|
148
148
|
}, [
|
|
149
|
-
|
|
150
|
-
], 2)) :
|
|
151
|
-
_.$slots.after ?
|
|
152
|
-
_.dropdown ? (a(),
|
|
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: o(
|
|
154
|
+
class: r(o(m).dropdownIcon),
|
|
155
155
|
type: "chevron-down-18"
|
|
156
|
-
}, null, 8, ["class"])) :
|
|
157
|
-
], 10,
|
|
156
|
+
}, null, 8, ["class"])) : u("", !0)
|
|
157
|
+
], 10, Le));
|
|
158
158
|
}
|
|
159
|
-
}),
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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,
|
|
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
|
+
label: Me,
|
|
161
|
+
header: Se,
|
|
162
|
+
headerWrapper: Ie,
|
|
163
|
+
title: He,
|
|
164
|
+
subTitleRow: xe,
|
|
172
165
|
subTitle: Re,
|
|
173
|
-
link:
|
|
174
|
-
linkUpper:
|
|
175
|
-
},
|
|
166
|
+
link: Ue,
|
|
167
|
+
linkUpper: Ve
|
|
168
|
+
}, qe = /* @__PURE__ */ v({
|
|
176
169
|
__name: "label",
|
|
177
170
|
emits: ["click"],
|
|
178
171
|
setup(n) {
|
|
179
|
-
const e =
|
|
180
|
-
() => [
|
|
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)
|
|
181
174
|
);
|
|
182
|
-
return (
|
|
183
|
-
class: o(
|
|
175
|
+
return (k, L) => (a(), d("label", {
|
|
176
|
+
class: r(o(f).label)
|
|
184
177
|
}, [
|
|
185
|
-
|
|
178
|
+
y.value ? (a(), d("span", {
|
|
186
179
|
key: 0,
|
|
187
|
-
class: o(
|
|
180
|
+
class: r(o(f).headerWrapper)
|
|
188
181
|
}, [
|
|
189
|
-
|
|
182
|
+
t.value ? (a(), d("span", {
|
|
190
183
|
key: 0,
|
|
191
|
-
class: o(
|
|
184
|
+
class: r(o(f).header)
|
|
192
185
|
}, [
|
|
193
|
-
|
|
194
|
-
], 2)) :
|
|
195
|
-
l.value ? (a(),
|
|
186
|
+
b(k.$slots, "header")
|
|
187
|
+
], 2)) : u("", !0),
|
|
188
|
+
l.value ? (a(), d("span", {
|
|
196
189
|
key: 1,
|
|
197
|
-
class: o(
|
|
190
|
+
class: r(o(f).title)
|
|
198
191
|
}, [
|
|
199
|
-
|
|
200
|
-
], 2)) :
|
|
201
|
-
|
|
192
|
+
b(k.$slots, "default")
|
|
193
|
+
], 2)) : u("", !0),
|
|
194
|
+
s.value ? (a(), d("span", {
|
|
202
195
|
key: 2,
|
|
203
|
-
class: o(
|
|
196
|
+
class: r(o(f).subTitleRow)
|
|
204
197
|
}, [
|
|
205
|
-
|
|
206
|
-
class: o(
|
|
198
|
+
j("span", {
|
|
199
|
+
class: r(o(f).subTitle)
|
|
207
200
|
}, [
|
|
208
|
-
|
|
201
|
+
b(k.$slots, "subTitle")
|
|
209
202
|
], 2)
|
|
210
|
-
], 2)) :
|
|
211
|
-
], 2)) :
|
|
212
|
-
|
|
203
|
+
], 2)) : u("", !0)
|
|
204
|
+
], 2)) : u("", !0),
|
|
205
|
+
i.value ? (a(), d("span", {
|
|
213
206
|
key: 1,
|
|
214
|
-
class:
|
|
215
|
-
onClick:
|
|
207
|
+
class: r(g.value),
|
|
208
|
+
onClick: L[0] || (L[0] = (V) => k.$emit("click"))
|
|
216
209
|
}, [
|
|
217
|
-
|
|
218
|
-
], 2)) :
|
|
210
|
+
b(k.$slots, "link")
|
|
211
|
+
], 2)) : u("", !0)
|
|
219
212
|
], 2));
|
|
220
213
|
}
|
|
221
|
-
}),
|
|
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
|
+
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"], 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,85 +239,91 @@ const j = (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
|
|
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
|
-
|
|
252
|
-
]),
|
|
253
|
-
|
|
254
|
-
},
|
|
255
|
-
|
|
256
|
-
},
|
|
257
|
-
|
|
251
|
+
t.className
|
|
252
|
+
]), _ = c(() => t.header || t.title || t.subTitle || t.link), g = c(() => t.description || t.error), k = (p) => {
|
|
253
|
+
p.key === "Enter" && l("enter");
|
|
254
|
+
}, L = (p) => {
|
|
255
|
+
l("update:value", p.target.value);
|
|
256
|
+
}, V = () => {
|
|
257
|
+
l("focus");
|
|
258
|
+
}, A = () => {
|
|
259
|
+
l("blur");
|
|
260
|
+
}, F = () => {
|
|
261
|
+
l("click-link");
|
|
258
262
|
};
|
|
259
|
-
return (
|
|
260
|
-
class: o(
|
|
263
|
+
return (p, wt) => (a(), d("div", {
|
|
264
|
+
class: r(o(h).wrapper)
|
|
261
265
|
}, [
|
|
262
|
-
|
|
266
|
+
_.value ? (a(), C(o(qe), {
|
|
263
267
|
key: 0,
|
|
264
|
-
for:
|
|
265
|
-
onClick:
|
|
268
|
+
for: p.id,
|
|
269
|
+
onClick: F
|
|
266
270
|
}, {
|
|
267
271
|
header: $(() => [
|
|
268
|
-
|
|
272
|
+
N(T(t.header), 1)
|
|
269
273
|
]),
|
|
270
274
|
subTitle: $(() => [
|
|
271
|
-
|
|
275
|
+
N(T(t.subTitle), 1)
|
|
272
276
|
]),
|
|
273
277
|
link: $(() => [
|
|
274
|
-
|
|
278
|
+
N(T(t.link), 1)
|
|
275
279
|
]),
|
|
276
280
|
default: $(() => [
|
|
277
|
-
|
|
281
|
+
N(" " + T(t.title) + " ", 1)
|
|
278
282
|
]),
|
|
279
283
|
_: 1
|
|
280
|
-
}, 8, ["for"])) :
|
|
281
|
-
|
|
282
|
-
id:
|
|
283
|
-
|
|
284
|
-
name:
|
|
285
|
-
type:
|
|
286
|
-
disabled:
|
|
287
|
-
placeholder:
|
|
288
|
-
class:
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
284
|
+
}, 8, ["for"])) : u("", !0),
|
|
285
|
+
j("input", E({
|
|
286
|
+
id: p.id,
|
|
287
|
+
value: i.value,
|
|
288
|
+
name: p.name,
|
|
289
|
+
type: p.type,
|
|
290
|
+
disabled: p.disabled || p.loading,
|
|
291
|
+
placeholder: p.placeholder,
|
|
292
|
+
class: y.value,
|
|
293
|
+
"aria-invalid": !!p.error
|
|
294
|
+
}, o(s), {
|
|
295
|
+
onInput: L,
|
|
296
|
+
onKeydown: k,
|
|
297
|
+
onFocus: V,
|
|
298
|
+
onBlur: A
|
|
299
|
+
}), null, 16, Pe),
|
|
300
|
+
g.value ? (a(), d("div", {
|
|
295
301
|
key: 1,
|
|
296
|
-
class: o(
|
|
302
|
+
class: r(o(h).description)
|
|
297
303
|
}, [
|
|
298
|
-
|
|
304
|
+
p.error ? (a(), d("div", {
|
|
299
305
|
key: 0,
|
|
300
|
-
class: o(
|
|
301
|
-
innerHTML:
|
|
302
|
-
}, null, 10,
|
|
303
|
-
|
|
306
|
+
class: r(o(h).errorText),
|
|
307
|
+
innerHTML: p.error
|
|
308
|
+
}, null, 10, Ge)) : u("", !0),
|
|
309
|
+
p.description ? (a(), d("div", {
|
|
304
310
|
key: 1,
|
|
305
|
-
class: o(
|
|
306
|
-
innerHTML:
|
|
307
|
-
}, null, 10,
|
|
308
|
-
], 2)) :
|
|
311
|
+
class: r(o(h).descriptionText),
|
|
312
|
+
innerHTML: p.description
|
|
313
|
+
}, null, 10, Ke)) : u("", !0)
|
|
314
|
+
], 2)) : u("", !0)
|
|
309
315
|
], 2));
|
|
310
316
|
}
|
|
311
|
-
}),
|
|
312
|
-
label:
|
|
313
|
-
disabled:
|
|
314
|
-
input:
|
|
315
|
-
error:
|
|
316
|
-
text:
|
|
317
|
-
errorText:
|
|
318
|
-
},
|
|
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 = {
|
|
318
|
+
label: Je,
|
|
319
|
+
disabled: Qe,
|
|
320
|
+
input: Xe,
|
|
321
|
+
error: Ye,
|
|
322
|
+
text: Ze,
|
|
323
|
+
errorText: et
|
|
324
|
+
}, tt = ["for"], st = ["id", "name", "disabled"], Ct = /* @__PURE__ */ v({
|
|
319
325
|
__name: "checkbox",
|
|
320
|
-
props: /* @__PURE__ */
|
|
326
|
+
props: /* @__PURE__ */ R({
|
|
321
327
|
id: {},
|
|
322
328
|
name: {},
|
|
323
329
|
disabled: { type: Boolean },
|
|
@@ -330,122 +336,119 @@ const j = (n, e) => {
|
|
|
330
336
|
}),
|
|
331
337
|
emits: ["update:checked"],
|
|
332
338
|
setup(n) {
|
|
333
|
-
const e = D(n, "checked"),
|
|
334
|
-
|
|
339
|
+
const e = n, t = D(n, "checked"), l = c(() => [
|
|
340
|
+
w.label,
|
|
335
341
|
{
|
|
336
|
-
[
|
|
342
|
+
[w.disabled]: e.disabled
|
|
337
343
|
},
|
|
338
|
-
|
|
344
|
+
e.className
|
|
339
345
|
]);
|
|
340
|
-
return (
|
|
341
|
-
|
|
342
|
-
for:
|
|
343
|
-
class:
|
|
346
|
+
return (s, i) => (a(), d("div", null, [
|
|
347
|
+
j("label", {
|
|
348
|
+
for: s.id,
|
|
349
|
+
class: r(l.value)
|
|
344
350
|
}, [
|
|
345
|
-
|
|
346
|
-
id:
|
|
347
|
-
"onUpdate:modelValue":
|
|
348
|
-
name:
|
|
351
|
+
K(j("input", {
|
|
352
|
+
id: s.id,
|
|
353
|
+
"onUpdate:modelValue": i[0] || (i[0] = (y) => t.value = y),
|
|
354
|
+
name: s.name,
|
|
349
355
|
type: "checkbox",
|
|
350
|
-
disabled:
|
|
351
|
-
class:
|
|
352
|
-
}, null, 10,
|
|
353
|
-
[
|
|
356
|
+
disabled: s.disabled,
|
|
357
|
+
class: r([o(w).input, { [o(w).error]: !!e.error }])
|
|
358
|
+
}, null, 10, st), [
|
|
359
|
+
[J, t.value]
|
|
354
360
|
]),
|
|
355
|
-
|
|
361
|
+
s.$slots.default ? (a(), d("span", {
|
|
356
362
|
key: 0,
|
|
357
|
-
class: o(
|
|
363
|
+
class: r(o(w).text)
|
|
358
364
|
}, [
|
|
359
|
-
|
|
360
|
-
], 2)) :
|
|
361
|
-
], 10,
|
|
362
|
-
|
|
365
|
+
b(s.$slots, "default")
|
|
366
|
+
], 2)) : u("", !0)
|
|
367
|
+
], 10, tt),
|
|
368
|
+
s.error ? (a(), d("div", {
|
|
363
369
|
key: 0,
|
|
364
|
-
class: o(
|
|
365
|
-
},
|
|
370
|
+
class: r(o(w).errorText)
|
|
371
|
+
}, T(s.error), 3)) : u("", !0)
|
|
366
372
|
]));
|
|
367
373
|
}
|
|
368
|
-
}),
|
|
374
|
+
}), zt = async () => {
|
|
369
375
|
if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
|
|
370
376
|
try {
|
|
371
377
|
const e = `
|
|
372
378
|
<svg id="__svg-sprite__" xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
373
|
-
${(await import("./sprite-
|
|
379
|
+
${(await import("./sprite-CRtOoHbV.js")).default}
|
|
374
380
|
</svg>
|
|
375
381
|
`;
|
|
376
382
|
document.body.insertAdjacentHTML("afterbegin", e);
|
|
377
383
|
} catch (n) {
|
|
378
384
|
console.error("Failed to load SVG sprite:", n);
|
|
379
385
|
}
|
|
380
|
-
},
|
|
381
|
-
title:
|
|
382
|
-
"level-1": "_level-
|
|
383
|
-
|
|
384
|
-
"level-
|
|
385
|
-
"level-
|
|
386
|
-
|
|
386
|
+
}, nt = "_title_471uj_1", lt = "_medium_471uj_12", H = {
|
|
387
|
+
title: nt,
|
|
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({
|
|
387
394
|
__name: "title",
|
|
388
395
|
props: {
|
|
389
396
|
level: {},
|
|
390
|
-
|
|
391
|
-
|
|
397
|
+
className: {},
|
|
398
|
+
weight: {}
|
|
392
399
|
},
|
|
393
400
|
setup(n) {
|
|
394
|
-
const e = n,
|
|
401
|
+
const e = n, t = c(() => [
|
|
395
402
|
H.title,
|
|
396
403
|
H[`level-${e.level ?? 1}`],
|
|
397
|
-
e.className
|
|
404
|
+
e.className,
|
|
405
|
+
e.weight && H[e.weight]
|
|
398
406
|
]), l = c(() => `h${e.level ?? 1}`);
|
|
399
|
-
return (
|
|
400
|
-
class:
|
|
407
|
+
return (s, i) => (a(), C(O(l.value), {
|
|
408
|
+
class: r(t.value)
|
|
401
409
|
}, {
|
|
402
410
|
default: $(() => [
|
|
403
|
-
|
|
404
|
-
B(g(t.text), 1)
|
|
405
|
-
])
|
|
411
|
+
b(s.$slots, "default")
|
|
406
412
|
]),
|
|
407
413
|
_: 3
|
|
408
414
|
}, 8, ["class"]));
|
|
409
415
|
}
|
|
410
|
-
}),
|
|
411
|
-
text:
|
|
412
|
-
primary:
|
|
413
|
-
medium:
|
|
414
|
-
secondary:
|
|
415
|
-
accent:
|
|
416
|
-
subtitle:
|
|
417
|
-
},
|
|
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({
|
|
418
424
|
__name: "text",
|
|
419
425
|
props: {
|
|
420
426
|
tagName: { default: "p" },
|
|
421
|
-
text: {},
|
|
422
427
|
kind: { default: "primary" },
|
|
423
428
|
weight: {}
|
|
424
429
|
},
|
|
425
430
|
setup(n) {
|
|
426
|
-
const e = n,
|
|
431
|
+
const e = n, t = c(() => [
|
|
427
432
|
x.text,
|
|
428
433
|
x[e.kind],
|
|
429
434
|
e.weight && x[e.weight]
|
|
430
435
|
]);
|
|
431
|
-
return (l,
|
|
432
|
-
class:
|
|
436
|
+
return (l, s) => (a(), C(O(l.tagName), {
|
|
437
|
+
class: r(t.value)
|
|
433
438
|
}, {
|
|
434
439
|
default: $(() => [
|
|
435
|
-
|
|
436
|
-
B(g(l.text), 1)
|
|
437
|
-
])
|
|
440
|
+
b(l.$slots, "default")
|
|
438
441
|
]),
|
|
439
442
|
_: 3
|
|
440
443
|
}, 8, ["class"]));
|
|
441
444
|
}
|
|
442
|
-
}),
|
|
443
|
-
s:
|
|
444
|
-
xs:
|
|
445
|
-
m:
|
|
446
|
-
l:
|
|
447
|
-
button:
|
|
448
|
-
},
|
|
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,
|
|
447
|
+
xs: _t,
|
|
448
|
+
m: pt,
|
|
449
|
+
l: mt,
|
|
450
|
+
button: bt
|
|
451
|
+
}, Lt = /* @__PURE__ */ v({
|
|
449
452
|
__name: "button-icon",
|
|
450
453
|
props: {
|
|
451
454
|
icon: {},
|
|
@@ -461,46 +464,92 @@ const j = (n, e) => {
|
|
|
461
464
|
},
|
|
462
465
|
emits: ["click"],
|
|
463
466
|
setup(n) {
|
|
464
|
-
const e = n,
|
|
465
|
-
const
|
|
466
|
-
return e.icon.replace(/-?\d*$/, `-${
|
|
467
|
+
const e = n, t = c(() => [q.button, q[e.size], e.className]), l = c(() => {
|
|
468
|
+
const s = e.size === "xs" ? "18" : "20";
|
|
469
|
+
return e.icon.replace(/-?\d*$/, `-${s}`);
|
|
467
470
|
});
|
|
468
|
-
return (
|
|
471
|
+
return (s, i) => (a(), C(o(W), E({ class: t.value }, e, {
|
|
469
472
|
"html-type": "button",
|
|
470
|
-
onClick:
|
|
473
|
+
onClick: i[0] || (i[0] = (y) => s.$emit("click"))
|
|
471
474
|
}), {
|
|
472
475
|
before: $(() => [
|
|
473
|
-
S(
|
|
476
|
+
S(o(I), { type: l.value }, null, 8, ["type"])
|
|
474
477
|
]),
|
|
475
478
|
_: 1
|
|
476
479
|
}, 16, ["class"]));
|
|
477
480
|
}
|
|
478
|
-
}),
|
|
479
|
-
button:
|
|
480
|
-
},
|
|
481
|
+
}), yt = "_button_1vqio_1", vt = {
|
|
482
|
+
button: yt
|
|
483
|
+
}, Mt = /* @__PURE__ */ v({
|
|
481
484
|
__name: "button-link",
|
|
482
485
|
emits: ["click"],
|
|
483
486
|
setup(n) {
|
|
484
|
-
return (e,
|
|
485
|
-
class: o(
|
|
487
|
+
return (e, t) => (a(), d("button", {
|
|
488
|
+
class: r(o(vt).button),
|
|
486
489
|
type: "button",
|
|
487
|
-
onClick:
|
|
490
|
+
onClick: t[0] || (t[0] = (l) => e.$emit("click"))
|
|
491
|
+
}, [
|
|
492
|
+
S(o(I), { type: "plus-18" }),
|
|
493
|
+
b(e.$slots, "default")
|
|
494
|
+
], 2));
|
|
495
|
+
}
|
|
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,
|
|
498
|
+
default: "_default_8tn62_19",
|
|
499
|
+
accent: ft,
|
|
500
|
+
danger: ht,
|
|
501
|
+
text: $t,
|
|
502
|
+
icon: gt
|
|
503
|
+
}, St = /* @__PURE__ */ v({
|
|
504
|
+
__name: "base-plank",
|
|
505
|
+
props: {
|
|
506
|
+
type: { default: "default" },
|
|
507
|
+
icon: {},
|
|
508
|
+
label: {}
|
|
509
|
+
},
|
|
510
|
+
emits: ["click"],
|
|
511
|
+
setup(n) {
|
|
512
|
+
const e = n, t = U(), l = c(() => B(t)), s = c(() => [M.plank, M[e.type]]);
|
|
513
|
+
return (i, y) => (a(), d("div", {
|
|
514
|
+
class: r(s.value)
|
|
488
515
|
}, [
|
|
489
|
-
|
|
490
|
-
|
|
516
|
+
i.icon ? (a(), d("div", {
|
|
517
|
+
key: 0,
|
|
518
|
+
class: r(o(M).icon)
|
|
519
|
+
}, [
|
|
520
|
+
S(o(I), { type: i.icon }, null, 8, ["type"])
|
|
521
|
+
], 2)) : u("", !0),
|
|
522
|
+
l.value ? (a(), d("div", {
|
|
523
|
+
key: 1,
|
|
524
|
+
class: r(o(M).text)
|
|
525
|
+
}, [
|
|
526
|
+
b(i.$slots, "default")
|
|
527
|
+
], 2)) : u("", !0),
|
|
528
|
+
i.label ? (a(), C(o(W), {
|
|
529
|
+
key: 2,
|
|
530
|
+
size: "xs",
|
|
531
|
+
type: "secondary",
|
|
532
|
+
onClick: y[0] || (y[0] = (_) => i.$emit("click"))
|
|
533
|
+
}, {
|
|
534
|
+
default: $(() => [
|
|
535
|
+
N(T(i.label), 1)
|
|
536
|
+
]),
|
|
537
|
+
_: 1
|
|
538
|
+
})) : u("", !0)
|
|
491
539
|
], 2));
|
|
492
540
|
}
|
|
493
541
|
});
|
|
494
542
|
export {
|
|
495
|
-
|
|
496
|
-
|
|
543
|
+
W as BaseButton,
|
|
544
|
+
Ct as BaseCheckbox,
|
|
497
545
|
I as BaseIcon,
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
546
|
+
Bt as BaseInput,
|
|
547
|
+
qe as BaseLabel,
|
|
548
|
+
le as BaseLoader,
|
|
549
|
+
St as BasePlank,
|
|
550
|
+
jt as BaseText,
|
|
551
|
+
Nt as BaseTitle,
|
|
552
|
+
Lt as ButtonIcon,
|
|
553
|
+
Mt as ButtonLink,
|
|
554
|
+
zt as injectSvgSprite
|
|
506
555
|
};
|