@huntflow/ui 0.0.51 → 0.0.53

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