@huntflow/ui 0.0.52 → 0.0.54
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/assets/sprite.svg +1 -1
- package/dist/components/base-button/button.vue.d.ts +1 -0
- package/dist/components/base-button/types.d.ts +1 -0
- package/dist/components/base-text/index.d.ts +3 -0
- package/dist/components/base-text/text.vue.d.ts +19 -0
- package/dist/components/base-text/types.d.ts +5 -0
- package/dist/components/base-title/index.d.ts +3 -0
- package/dist/components/base-title/title.vue.d.ts +17 -0
- package/dist/components/base-title/types.d.ts +5 -0
- package/dist/components/button-icon/button-icon.vue.d.ts +15 -0
- package/dist/components/button-icon/index.d.ts +2 -0
- package/dist/components/button-icon/types.d.ts +14 -0
- package/dist/components/button-link/button-link.vue.d.ts +20 -0
- package/dist/components/button-link/index.d.ts +2 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/global.css +1 -1
- package/dist/sprite-BG3yTt8x.cjs +1 -0
- package/dist/sprite-joD_WDv4.js +4 -0
- package/dist/sprite.svg +1 -1
- package/dist/ui.cjs.js +4 -4
- package/dist/ui.es.js +363 -245
- package/package.json +3 -3
- package/dist/sprite-CP6qWMMh.js +0 -4
- package/dist/sprite-ChoU5N3A.cjs +0 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,35 +1,22 @@
|
|
|
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_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}._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
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
circle: Q,
|
|
13
|
-
m: X,
|
|
14
|
-
l: Y,
|
|
15
|
-
primary: Z,
|
|
16
|
-
secondary: x,
|
|
17
|
-
accent: ee,
|
|
18
|
-
danger: se,
|
|
19
|
-
jobsites: te,
|
|
20
|
-
ghost: le,
|
|
21
|
-
"ghost-danger": "_ghost-danger_1syl2_1"
|
|
22
|
-
}, oe = "_loader_t6bg6_10", ne = "_circle_t6bg6_15", re = "_white_t6bg6_22", ae = "_black_t6bg6_26", ie = "_s_t6bg6_30", ce = "_m_t6bg6_35", de = "_l_t6bg6_10", ue = "_spinner_t6bg6_45", $ = {
|
|
23
|
-
loader: oe,
|
|
24
|
-
circle: ne,
|
|
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:
|
|
27
|
-
black:
|
|
28
|
-
s:
|
|
29
|
-
m:
|
|
30
|
-
l:
|
|
31
|
-
spinner:
|
|
32
|
-
},
|
|
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: {},
|
|
@@ -37,12 +24,70 @@ const O = "_button_1syl2_1", W = "_disabled_1syl2_1", A = "_loading_1syl2_1", F
|
|
|
37
24
|
color: { default: "black" }
|
|
38
25
|
},
|
|
39
26
|
setup(o) {
|
|
40
|
-
const
|
|
41
|
-
return (
|
|
42
|
-
class: n([
|
|
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
|
-
}), pe =
|
|
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 O = "_button_1syl2_1", W = "_disabled_1syl2_1", A = "_loading_1syl2_1", F
|
|
|
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 },
|
|
@@ -58,7 +104,7 @@ const O = "_button_1syl2_1", W = "_disabled_1syl2_1", A = "_loading_1syl2_1", F
|
|
|
58
104
|
},
|
|
59
105
|
emits: ["click"],
|
|
60
106
|
setup(o) {
|
|
61
|
-
const s = o, l = {
|
|
107
|
+
const e = V(), s = o, l = {
|
|
62
108
|
primary: "white",
|
|
63
109
|
secondary: "black",
|
|
64
110
|
accent: "white",
|
|
@@ -66,113 +112,113 @@ const O = "_button_1syl2_1", W = "_disabled_1syl2_1", A = "_loading_1syl2_1", F
|
|
|
66
112
|
jobsites: "white",
|
|
67
113
|
ghost: "black",
|
|
68
114
|
"ghost-danger": "black"
|
|
69
|
-
}, t =
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
s.circle ? [
|
|
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
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
121
|
+
[y.disabled]: s.disabled,
|
|
122
|
+
[y.loading]: s.loading,
|
|
123
|
+
[y.active]: s.active,
|
|
124
|
+
[y.bordered]: s.bordered
|
|
79
125
|
},
|
|
80
126
|
s.className
|
|
81
|
-
]),
|
|
82
|
-
return (
|
|
83
|
-
name:
|
|
84
|
-
class: n(
|
|
85
|
-
type:
|
|
86
|
-
disabled:
|
|
87
|
-
onClick:
|
|
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
|
-
|
|
135
|
+
_.loading ? (a(), i("div", {
|
|
90
136
|
key: 0,
|
|
91
|
-
class: n(
|
|
137
|
+
class: n(r(y).loader)
|
|
92
138
|
}, [
|
|
93
|
-
|
|
139
|
+
I(r(te), {
|
|
94
140
|
size: "s",
|
|
95
|
-
color:
|
|
141
|
+
color: h.value
|
|
96
142
|
}, null, 8, ["color"])
|
|
97
|
-
], 2)) :
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
|
|
103
|
-
], 2),
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
}),
|
|
108
|
-
wrapper:
|
|
109
|
-
input:
|
|
110
|
-
error:
|
|
111
|
-
description:
|
|
112
|
-
descriptionText:
|
|
113
|
-
errorText:
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
title: Te,
|
|
125
|
-
subTitleRow: we,
|
|
126
|
-
subTitle: Be,
|
|
127
|
-
link: Ce,
|
|
128
|
-
linkUpper: Le
|
|
129
|
-
}, Me = /* @__PURE__ */ g({
|
|
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({
|
|
130
176
|
__name: "label",
|
|
131
177
|
emits: ["click"],
|
|
132
178
|
setup(o) {
|
|
133
|
-
const
|
|
134
|
-
() => [
|
|
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)
|
|
135
181
|
);
|
|
136
|
-
return (
|
|
137
|
-
class: n(
|
|
182
|
+
return (v, M) => (a(), i("label", {
|
|
183
|
+
class: n(r(f).label)
|
|
138
184
|
}, [
|
|
139
|
-
|
|
185
|
+
h.value ? (a(), i("span", {
|
|
140
186
|
key: 0,
|
|
141
|
-
class: n(
|
|
187
|
+
class: n(r(f).headerWrapper)
|
|
142
188
|
}, [
|
|
143
|
-
|
|
189
|
+
s.value ? (a(), i("span", {
|
|
144
190
|
key: 0,
|
|
145
|
-
class: n(
|
|
191
|
+
class: n(r(f).header)
|
|
146
192
|
}, [
|
|
147
|
-
|
|
148
|
-
], 2)) :
|
|
149
|
-
|
|
193
|
+
m(v.$slots, "header")
|
|
194
|
+
], 2)) : p("", !0),
|
|
195
|
+
l.value ? (a(), i("span", {
|
|
150
196
|
key: 1,
|
|
151
|
-
class: n(
|
|
197
|
+
class: n(r(f).title)
|
|
152
198
|
}, [
|
|
153
|
-
|
|
154
|
-
], 2)) :
|
|
155
|
-
|
|
199
|
+
m(v.$slots, "default")
|
|
200
|
+
], 2)) : p("", !0),
|
|
201
|
+
t.value ? (a(), i("span", {
|
|
156
202
|
key: 2,
|
|
157
|
-
class: n(
|
|
203
|
+
class: n(r(f).subTitleRow)
|
|
158
204
|
}, [
|
|
159
|
-
|
|
160
|
-
class: n(
|
|
205
|
+
N("span", {
|
|
206
|
+
class: n(r(f).subTitle)
|
|
161
207
|
}, [
|
|
162
|
-
|
|
208
|
+
m(v.$slots, "subTitle")
|
|
163
209
|
], 2)
|
|
164
|
-
], 2)) :
|
|
165
|
-
], 2)) :
|
|
166
|
-
|
|
210
|
+
], 2)) : p("", !0)
|
|
211
|
+
], 2)) : p("", !0),
|
|
212
|
+
d.value ? (a(), i("span", {
|
|
167
213
|
key: 1,
|
|
168
|
-
class: n(
|
|
169
|
-
onClick:
|
|
214
|
+
class: n(g.value),
|
|
215
|
+
onClick: M[0] || (M[0] = (u) => v.$emit("click"))
|
|
170
216
|
}, [
|
|
171
|
-
|
|
172
|
-
], 2)) :
|
|
217
|
+
m(v.$slots, "link")
|
|
218
|
+
], 2)) : p("", !0)
|
|
173
219
|
], 2));
|
|
174
220
|
}
|
|
175
|
-
}),
|
|
221
|
+
}), Ae = ["id", "name", "type", "disabled", "placeholder"], Fe = ["innerHTML"], Ge = ["innerHTML"], bt = /* @__PURE__ */ b({
|
|
176
222
|
__name: "input",
|
|
177
223
|
props: /* @__PURE__ */ S({
|
|
178
224
|
value: {},
|
|
@@ -194,82 +240,82 @@ const O = "_button_1syl2_1", W = "_disabled_1syl2_1", A = "_loading_1syl2_1", F
|
|
|
194
240
|
valueModifiers: {}
|
|
195
241
|
}),
|
|
196
242
|
emits: /* @__PURE__ */ S(["update:value", "enter", "click-link"], ["update:value"]),
|
|
197
|
-
setup(o, { emit:
|
|
198
|
-
const
|
|
199
|
-
|
|
243
|
+
setup(o, { emit: e }) {
|
|
244
|
+
const s = D(o, "value"), l = o, t = e, d = c(() => [
|
|
245
|
+
k.input,
|
|
200
246
|
{
|
|
201
|
-
[
|
|
202
|
-
[
|
|
203
|
-
[
|
|
247
|
+
[k.disabled]: l.disabled,
|
|
248
|
+
[k.error]: l.error,
|
|
249
|
+
[k.loading]: l.loading
|
|
204
250
|
},
|
|
205
|
-
|
|
206
|
-
]),
|
|
207
|
-
|
|
208
|
-
},
|
|
209
|
-
|
|
210
|
-
},
|
|
211
|
-
|
|
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");
|
|
212
258
|
};
|
|
213
|
-
return (
|
|
214
|
-
class: n(
|
|
259
|
+
return (u, x) => (a(), i("div", {
|
|
260
|
+
class: n(r(k).wrapper)
|
|
215
261
|
}, [
|
|
216
|
-
|
|
262
|
+
h.value ? (a(), j(r(We), {
|
|
217
263
|
key: 0,
|
|
218
|
-
for:
|
|
219
|
-
onClick:
|
|
264
|
+
for: u.id,
|
|
265
|
+
onClick: M
|
|
220
266
|
}, {
|
|
221
|
-
header:
|
|
222
|
-
|
|
267
|
+
header: T(() => [
|
|
268
|
+
B($(l.header), 1)
|
|
223
269
|
]),
|
|
224
|
-
subTitle:
|
|
225
|
-
|
|
270
|
+
subTitle: T(() => [
|
|
271
|
+
B($(l.subTitle), 1)
|
|
226
272
|
]),
|
|
227
|
-
link:
|
|
228
|
-
|
|
273
|
+
link: T(() => [
|
|
274
|
+
B($(l.link), 1)
|
|
229
275
|
]),
|
|
230
|
-
default:
|
|
231
|
-
|
|
276
|
+
default: T(() => [
|
|
277
|
+
B(" " + $(l.title) + " ", 1)
|
|
232
278
|
]),
|
|
233
279
|
_: 1
|
|
234
|
-
}, 8, ["for"])) :
|
|
235
|
-
|
|
236
|
-
id:
|
|
237
|
-
"onUpdate:modelValue":
|
|
238
|
-
name:
|
|
239
|
-
type:
|
|
240
|
-
disabled:
|
|
241
|
-
placeholder:
|
|
242
|
-
class: n(
|
|
243
|
-
onInput:
|
|
244
|
-
onKeydown:
|
|
245
|
-
}, null, 42,
|
|
246
|
-
[
|
|
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]
|
|
247
293
|
]),
|
|
248
|
-
|
|
294
|
+
_.value ? (a(), i("div", {
|
|
249
295
|
key: 1,
|
|
250
|
-
class: n(
|
|
296
|
+
class: n(r(k).description)
|
|
251
297
|
}, [
|
|
252
|
-
|
|
298
|
+
u.error ? (a(), i("div", {
|
|
253
299
|
key: 0,
|
|
254
|
-
class: n(
|
|
255
|
-
innerHTML:
|
|
256
|
-
}, null, 10,
|
|
257
|
-
|
|
300
|
+
class: n(r(k).errorText),
|
|
301
|
+
innerHTML: u.error
|
|
302
|
+
}, null, 10, Fe)) : p("", !0),
|
|
303
|
+
u.description ? (a(), i("div", {
|
|
258
304
|
key: 1,
|
|
259
|
-
class: n(
|
|
260
|
-
innerHTML:
|
|
261
|
-
}, null, 10,
|
|
262
|
-
], 2)) :
|
|
305
|
+
class: n(r(k).descriptionText),
|
|
306
|
+
innerHTML: u.description
|
|
307
|
+
}, null, 10, Ge)) : p("", !0)
|
|
308
|
+
], 2)) : p("", !0)
|
|
263
309
|
], 2));
|
|
264
310
|
}
|
|
265
|
-
}),
|
|
266
|
-
label:
|
|
267
|
-
disabled:
|
|
268
|
-
input:
|
|
269
|
-
error:
|
|
270
|
-
text:
|
|
271
|
-
errorText:
|
|
272
|
-
},
|
|
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({
|
|
273
319
|
__name: "checkbox",
|
|
274
320
|
props: /* @__PURE__ */ S({
|
|
275
321
|
id: {},
|
|
@@ -284,97 +330,169 @@ const O = "_button_1syl2_1", W = "_disabled_1syl2_1", A = "_loading_1syl2_1", F
|
|
|
284
330
|
}),
|
|
285
331
|
emits: ["update:checked"],
|
|
286
332
|
setup(o) {
|
|
287
|
-
const
|
|
288
|
-
|
|
333
|
+
const e = D(o, "checked"), s = o, l = c(() => [
|
|
334
|
+
w.label,
|
|
289
335
|
{
|
|
290
|
-
[
|
|
336
|
+
[w.disabled]: s.disabled
|
|
291
337
|
},
|
|
292
|
-
|
|
338
|
+
s.className
|
|
293
339
|
]);
|
|
294
|
-
return (
|
|
295
|
-
|
|
296
|
-
for:
|
|
297
|
-
class: n(
|
|
340
|
+
return (t, d) => (a(), i("div", null, [
|
|
341
|
+
N("label", {
|
|
342
|
+
for: t.id,
|
|
343
|
+
class: n(l.value)
|
|
298
344
|
}, [
|
|
299
|
-
|
|
300
|
-
id:
|
|
301
|
-
"onUpdate:modelValue":
|
|
302
|
-
name:
|
|
345
|
+
R(N("input", {
|
|
346
|
+
id: t.id,
|
|
347
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => e.value = h),
|
|
348
|
+
name: t.name,
|
|
303
349
|
type: "checkbox",
|
|
304
|
-
disabled:
|
|
305
|
-
class: n([
|
|
306
|
-
}, null, 10,
|
|
307
|
-
[
|
|
350
|
+
disabled: t.disabled,
|
|
351
|
+
class: n([r(w).input, { [r(w).error]: !!s.error }])
|
|
352
|
+
}, null, 10, et), [
|
|
353
|
+
[A, e.value]
|
|
308
354
|
]),
|
|
309
|
-
|
|
355
|
+
t.$slots.default ? (a(), i("span", {
|
|
310
356
|
key: 0,
|
|
311
|
-
class: n(
|
|
357
|
+
class: n(r(w).text)
|
|
312
358
|
}, [
|
|
313
|
-
|
|
314
|
-
], 2)) :
|
|
315
|
-
], 10,
|
|
316
|
-
|
|
359
|
+
m(t.$slots, "default")
|
|
360
|
+
], 2)) : p("", !0)
|
|
361
|
+
], 10, Ze),
|
|
362
|
+
t.error ? (a(), i("div", {
|
|
317
363
|
key: 0,
|
|
318
|
-
class: n(
|
|
319
|
-
},
|
|
364
|
+
class: n(r(w).errorText)
|
|
365
|
+
}, $(t.error), 3)) : p("", !0)
|
|
320
366
|
]));
|
|
321
367
|
}
|
|
322
|
-
}),
|
|
323
|
-
__name: "icon",
|
|
324
|
-
props: {
|
|
325
|
-
type: {},
|
|
326
|
-
color: {},
|
|
327
|
-
block: { type: Boolean }
|
|
328
|
-
},
|
|
329
|
-
setup(o) {
|
|
330
|
-
const s = o, l = u(() => {
|
|
331
|
-
const e = s.type.match(/(\d+)$/);
|
|
332
|
-
return e ? parseInt(e[1], 10) : 16;
|
|
333
|
-
}), t = u(() => {
|
|
334
|
-
const e = {};
|
|
335
|
-
return s.color && (e.color = s.color), s.block && (e.display = "block"), e;
|
|
336
|
-
});
|
|
337
|
-
return (e, r) => (i(), c("svg", {
|
|
338
|
-
class: n(e.$style.icon),
|
|
339
|
-
"aria-label": e.type,
|
|
340
|
-
style: I(t.value),
|
|
341
|
-
role: "img",
|
|
342
|
-
width: l.value,
|
|
343
|
-
height: l.value
|
|
344
|
-
}, [
|
|
345
|
-
f("use", {
|
|
346
|
-
"xlink:href": `#${e.type}`
|
|
347
|
-
}, null, 8, Oe)
|
|
348
|
-
], 14, Ie));
|
|
349
|
-
}
|
|
350
|
-
}), Ae = "_icon_1p8iz_2", Fe = {
|
|
351
|
-
icon: Ae
|
|
352
|
-
}, Ge = (o, s) => {
|
|
353
|
-
const l = o.__vccOpts || o;
|
|
354
|
-
for (const [t, e] of s)
|
|
355
|
-
l[t] = e;
|
|
356
|
-
return l;
|
|
357
|
-
}, Ke = {
|
|
358
|
-
$style: Fe
|
|
359
|
-
}, Ye = /* @__PURE__ */ Ge(We, [["__cssModules", Ke]]), Ze = async () => {
|
|
368
|
+
}), vt = async () => {
|
|
360
369
|
if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
|
|
361
370
|
try {
|
|
362
|
-
const
|
|
371
|
+
const e = `
|
|
363
372
|
<svg id="__svg-sprite__" xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
364
|
-
${(await import("./sprite-
|
|
373
|
+
${(await import("./sprite-joD_WDv4.js")).default}
|
|
365
374
|
</svg>
|
|
366
375
|
`;
|
|
367
|
-
document.body.insertAdjacentHTML("afterbegin",
|
|
376
|
+
document.body.insertAdjacentHTML("afterbegin", e);
|
|
368
377
|
} catch (o) {
|
|
369
378
|
console.error("Failed to load SVG sprite:", o);
|
|
370
379
|
}
|
|
371
|
-
}
|
|
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
|
+
});
|
|
372
486
|
export {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
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
|
|
380
498
|
};
|