@huntflow/ui 0.2.6 → 0.2.7

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.
@@ -23,6 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<UiButtonProps, {},
23
23
  dropdown: boolean;
24
24
  active: boolean;
25
25
  bordered: boolean;
26
+ htmlType: import('./types').UiButtonHTMLType;
26
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
27
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
29
  export default _default;
@@ -1,27 +1,19 @@
1
1
  import { UiInputProps } from './types';
2
- type __VLS_Props = UiInputProps;
3
- type __VLS_PublicProps = {
4
- 'value'?: string;
5
- } & __VLS_Props;
6
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- "update:value": (value: string) => any;
8
- } & {
2
+ declare const _default: import('vue').DefineComponent<UiInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
3
  click: () => any;
10
- "update:value": (value: string) => any;
4
+ "update:modelValue": (value: string) => any;
11
5
  enter: () => any;
12
6
  clickLink: () => any;
13
7
  clickIcon: () => any;
14
8
  focus: () => any;
15
9
  blur: () => any;
16
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ }, string, import('vue').PublicProps, Readonly<UiInputProps> & Readonly<{
17
11
  onClick?: (() => any) | undefined;
18
- "onUpdate:value"?: ((value: string) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
13
  onEnter?: (() => any) | undefined;
20
14
  onClickLink?: (() => any) | undefined;
21
15
  onClickIcon?: (() => any) | undefined;
22
16
  onFocus?: (() => any) | undefined;
23
17
  onBlur?: (() => any) | undefined;
24
- }>, {
25
- type: import('./types').UiInputType;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { IconType } from '../index';
2
2
  export type UiInputProps = {
3
- value: string;
3
+ modelValue?: string;
4
4
  type?: UiInputType;
5
5
  id?: string;
6
6
  name?: string;
@@ -1,13 +1,13 @@
1
1
  import { UiRadioButtonProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<UiRadioButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
3
  input: (event: Event) => any;
4
+ "update:modelValue": (value: string) => any;
4
5
  focus: (event: FocusEvent) => any;
5
6
  blur: (event: FocusEvent) => any;
6
- "update:modelValue": (value: string) => any;
7
7
  }, string, import('vue').PublicProps, Readonly<UiRadioButtonProps> & Readonly<{
8
8
  onInput?: ((event: Event) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
9
10
  onFocus?: ((event: FocusEvent) => any) | undefined;
10
11
  onBlur?: ((event: FocusEvent) => any) | undefined;
11
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -7,18 +7,18 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
7
7
  "update:value": (value: string) => any;
8
8
  } & {
9
9
  click: () => any;
10
- "update:value": (value: string) => any;
11
10
  enter: () => any;
12
11
  clickLink: () => any;
13
12
  focus: () => any;
14
13
  blur: () => any;
14
+ "update:value": (value: string) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
16
  onClick?: (() => any) | undefined;
17
- "onUpdate:value"?: ((value: string) => any) | undefined;
18
17
  onEnter?: (() => any) | undefined;
19
18
  onClickLink?: (() => any) | undefined;
20
19
  onFocus?: (() => any) | undefined;
21
20
  onBlur?: (() => any) | undefined;
21
+ "onUpdate:value"?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  rows: number;
24
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
package/dist/ui.es.js CHANGED
@@ -1,19 +1,19 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.nonce=document.head.querySelector("meta[property=csp-nonce]")?.content,o.appendChild(document.createTextNode(`@keyframes _loader-animation_tpkd0_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._loader_tpkd0_11{color:var(--hf-loader-color);display:block;flex:0 0 auto}._circle_tpkd0_17{animation-name:_loader-animation_tpkd0_1;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite}._white_tpkd0_24{--hf-loader-color: var(--hf-color-text-invert)}._black_tpkd0_28{--hf-loader-color: var(--hf-color-text-main)}._s_tpkd0_32{width:18px;height:18px}._m_tpkd0_37{width:28px;height:28px}._l_tpkd0_11{width:56px;height:56px}._spinner_tpkd0_47{display:inline-block;border:1px solid var(--hf-loader-color);border-radius:50%;border-left-color:transparent;border-top-color:transparent}._icon_1p8iz_2{font-style:normal;display:inline-block;vertical-align:middle}._button_mb1r2_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:inherit;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--hf-spacing-button-icon);min-width:-moz-max-content;min-width:max-content;border:solid 1px;position:relative;cursor:pointer;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._button_mb1r2_1:active{background-color:#999}._button_mb1r2_1:focus{outline:none}._button_mb1r2_1:focus-visible{outline:solid 3px var(--hf-color-button-primary-border-focus)}._button_mb1r2_1:is(._disabled_mb1r2_1),._button_mb1r2_1:is(._disabled_mb1r2_1):hover{color:var(--hf-color-text-light);background-color:var(--hf-color-button-disable-default);border-color:transparent;box-shadow:none;transform:none;cursor:default}._button_mb1r2_1._loading_mb1r2_1{cursor:default}._button_mb1r2_1._loading_mb1r2_1>*:not(._loader_mb1r2_1){visibility:hidden}._button_mb1r2_1+._button_mb1r2_1{margin-left:var(--hf-spacing-button-gap)}._content_mb1r2_1{line-height:inherit;display:flex}._content_mb1r2_1:first-child:last-child{text-align:center;width:100%}._loader_mb1r2_1{display:flex;justify-content:center;align-items:center;position:absolute;inset:0}._s_mb1r2_2{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);border-radius:var(--hf-radius-button-s)}._xs_mb1r2_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_mb1r2_1._square_mb1r2_1{border-radius:var(--hf-radius-button-xs)}._xs_mb1r2_1._circle_mb1r2_1{border-radius:var(--hf-radius-button-circle)}._m_mb1r2_1{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);border-radius:var(--hf-radius-button-m)}._l_mb1r2_1{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);border-radius:var(--hf-radius-button-l)}._primary_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-primary-default);border-color:var(--hf-color-button-primary-default)}._primary_mb1r2_1:hover{background-color:var(--hf-color-button-primary-hover);border-color:var(--hf-color-button-primary-hover)}._primary_mb1r2_1:active{background-color:var(--hf-color-button-primary-active);border-color:var(--hf-color-button-primary-active)}._primary_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-primary-default)}._secondary_mb1r2_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_mb1r2_1:hover{background-color:var(--hf-color-button-secondary-fill-hover);border-color:var(--hf-color-button-secondary-fill-hover)}._secondary_mb1r2_1:active{background-color:var(--hf-color-button-secondary-fill-active);border-color:var(--hf-color-button-secondary-fill-active)}._secondary_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-secondary-fill-default)}._accent_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-accent-default);border-color:var(--hf-color-button-accent-default)}._accent_mb1r2_1:hover{background-color:var(--hf-color-button-accent-hover);border-color:var(--hf-color-button-accent-hover)}._accent_mb1r2_1:active{background-color:var(--hf-color-button-accent-active);border-color:var(--hf-color-button-accent-active)}._accent_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-accent-default)}._danger_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-default);border-color:var(--hf-color-button-danger-default)}._danger_mb1r2_1:hover{background-color:var(--hf-color-button-danger-hover);border-color:var(--hf-color-button-danger-hover)}._danger_mb1r2_1:active{background-color:var(--hf-color-button-danger-active);border-color:var(--hf-color-button-danger-active)}._danger_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-danger-default)}._jobsites_mb1r2_1{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-jobsite-default);border-color:var(--hf-color-button-jobsite-default)}._jobsites_mb1r2_1:hover{background-color:var(--hf-color-button-jobsite-hover);border-color:var(--hf-color-button-jobsite-hover)}._jobsites_mb1r2_1:active{background-color:var(--hf-color-button-jobsite-active);border-color:var(--hf-color-button-jobsite-active)}._jobsites_mb1r2_1._loading_mb1r2_1{background-color:var(--hf-color-button-jobsite-default)}._ghost_mb1r2_1{color:var(--hf-color-text-secondary);background-color:transparent;border-color:transparent}._ghost_mb1r2_1:hover{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-hover)}._ghost_mb1r2_1:active{color:var(--hf-color-text-main);background-color:var(--hf-color-button-secondary-fill-active)}._ghost_mb1r2_1._loading_mb1r2_1{background-color:transparent}._ghost-danger_mb1r2_1{color:var(--hf-color-text-secondary);background-color:transparent;border-color:transparent}._ghost-danger_mb1r2_1:hover{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-hover)}._ghost-danger_mb1r2_1:active{color:var(--hf-color-text-invert);background-color:var(--hf-color-button-danger-active)}._ghost-danger_mb1r2_1._loading_mb1r2_1{background-color:transparent}:root{--hf-btn-size-xs: 28px;--hf-btn-size-s: 32px;--hf-btn-size-m: 36px;--hf-btn-size-l: 40px}._s_o7jd7_9{width:var(--hf-btn-size-s);height:var(--hf-btn-size-s)}._xs_o7jd7_14{width:var(--hf-btn-size-xs);height:var(--hf-btn-size-xs);border-radius:var(--hf-radius-button-circle)}._m_o7jd7_20{width:var(--hf-btn-size-m);height:var(--hf-btn-size-m)}._l_o7jd7_25{width:var(--hf-btn-size-l);height:var(--hf-btn-size-l)}._button_o7jd7_31{padding:0}._button_1xnk4_1{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);color:var(--hf-color-link-default);display:flex;flex-direction:row;align-items:center;gap:var(--hf-spacing-button-link-s);margin:0;padding:0 2px 0 0;background-color:transparent;border:none;cursor:pointer;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._button_1xnk4_1:hover{color:var(--hf-color-link-hover)}._label_1ic51_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-label-title);font-style:normal;font-weight:var(--hf-font-weight-regular);line-height:var(--hf-font-line-height-label-title);color:var(--hf-color-text-main);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._content_1g21n_1{font-family:var(--hf-font-family-body),sans-serif;display:flex;flex:1;flex-direction:row;gap:var(--hf-spacing-xs);margin-bottom:var(--hf-spacing-xs);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._label_1g21n_12{font-style:normal;display:flex;flex:1;flex-direction:row;gap:var(--hf-spacing-xs);margin-bottom:var(--hf-spacing-xs)}._header_1g21n_21{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-medium);line-height:var(--hf-font-line-height-text-h4);color:var(--hf-color-text-main);display:block}._headerWrapper_1g21n_29{display:flex;flex-direction:column;flex-grow:1;gap:var(--hf-spacing-xs)}._title_1g21n_36{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);color:var(--hf-color-text-main);display:block}._subTitleRow_1g21n_44{font-size:var(--hf-font-size-label-subtitle);font-weight:var(--hf-font-weight-label-subtitle);color:var(--hf-color-text-semilight);display:flex;justify-content:space-between}._subTitle_1g21n_44{line-height:var(--hf-font-line-height-label-subtitle)}._link_1g21n_56{font-size:var(--hf-font-size-label-title);font-weight:var(--hf-font-weight-label-subtitle);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-semilight);align-self:flex-end;height:20px;margin-left:auto;overflow:hidden;text-overflow:ellipsis}._link_1g21n_56 a{color:var(--hf-color-text-semilight);text-decoration:none}._linkUpper_1g21n_73{margin-bottom:1px}._wrapper_1i81c_1{font-family:var(--hf-font-family-body),sans-serif;margin-bottom:var(--hf-spacing-xs);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._input_1i81c_8{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);color:var(--hf-color-input-text-default);box-sizing:border-box;width:100%;padding:var(--hf-padding-input-top-bottom-default) var(--hf-padding-input-right-default) var(--hf-padding-input-top-bottom-default) var(--hf-padding-input-left-default);background:var(--hf-color-input-background-default);border:var(--hf-border-xs) solid var(--hf-color-input-border-default);border-radius:var(--hf-radius-input-default)}._input_1i81c_8:active{border-color:var(--hf-color-input-border-focus)}._input_1i81c_8:focus{border-color:var(--hf-color-input-border-focus);outline:solid 3px var(--hf-color-input-border-focus-visible)}._input_1i81c_8:disabled{color:var(--hf-color-input-text-disable);background:var(--hf-color-input-background-disable);border-color:var(--hf-color-input-text-disable);outline:none}._error_1i81c_38,._error_1i81c_38:active{border-color:var(--hf-color-input-border-error)}._error_1i81c_38:focus{border-color:var(--hf-color-input-border-error);outline:solid 3px var(--hf-color-input-border-error-focus-visible)}._description_1i81c_51{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);margin-top:var(--hf-spacing-xs)}._description_1i81c_51 a{text-decoration:underline}._descriptionText_1i81c_62{color:var(--hf-color-input-text-description)}._errorText_1i81c_66{color:var(--hf-color-text-danger)}._inputWrapper_1i81c_70{position:relative}._leftSpace_1i81c_74{padding-left:42px}._rightSpace_1i81c_78{padding-right:42px}._leftIcon_1i81c_82,._rightIcon_1i81c_83{height:100%;position:absolute}._leftIcon_1i81c_82{left:15px}._rightIcon_1i81c_83{padding:0 9px;right:0}._rightIcon_1i81c_83[aria-label^=close]{color:var(--hf-color-text-light);cursor:pointer}._plank_1yp3k_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-text-primary);font-style:normal;font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary);display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--hf-spacing-m);padding:var(--hf-spacing-m) var(--hf-spacing-l);border-width:1px;border-style:solid;border-radius:var(--hf-radius-m);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._default_1yp3k_20{color:var(--hf-color-text-main);background-color:var(--hf-color-plank-default-background);border-color:var(--hf-color-plank-default-border)}._accent_1yp3k_26{color:var(--hf-color-plank-success-text);background-color:var(--hf-color-plank-success-background);border-color:var(--hf-color-plank-success-border)}._danger_1yp3k_32{color:var(--hf-color-plank-danger-text);background-color:var(--hf-color-plank-danger-background);border-color:var(--hf-color-plank-danger-border)}._text_1yp3k_38{flex-grow:1}._icon_1yp3k_42{width:var(--hf-font-line-height-text-primary);height:var(--hf-font-line-height-text-primary)}._text_dbd8t_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:var(--hf-color-text-main);margin:0;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._primary_dbd8t_10{font-size:var(--hf-font-size-text-primary);font-weight:var(--hf-font-weight-text-primary-regular);line-height:var(--hf-font-line-height-text-primary)}._primary_dbd8t_10._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-primary-medium)}._secondary_dbd8t_20{font-size:var(--hf-font-size-text-secondary);font-weight:var(--hf-font-weight-text-secondary-regular);line-height:var(--hf-font-line-height-text-secondary)}._secondary_dbd8t_20._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-secondary-medium)}._accent_dbd8t_30{font-size:var(--hf-font-size-text-accent);font-weight:var(--hf-font-weight-text-accent-regular);line-height:var(--hf-font-line-height-text-accent)}._accent_dbd8t_30._medium_dbd8t_15{font-weight:var(--hf-font-weight-text-accent-medium)}._subtitle_dbd8t_40{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)}._color-main_dbd8t_46{color:var(--hf-color-text-main)}._color-secondary_dbd8t_50{color:var(--hf-color-text-secondary)}._color-semilight_dbd8t_54{color:var(--hf-color-text-semilight)}._color-light_dbd8t_58{color:var(--hf-color-text-light)}._color-invert_dbd8t_62{color:var(--hf-color-text-invert)}._color-danger_dbd8t_66{color:var(--hf-color-text-danger)}._color-success_dbd8t_70{color:var(--hf-color-text-success)}._title_1m0wo_1{font-family:var(--hf-font-family-body),sans-serif;font-style:normal;color:var(--hf-color-text-main);margin:0;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._level-1_1m0wo_10{font-size:var(--hf-font-size-text-h1);font-weight:var(--hf-font-weight-text-h1-regular);line-height:var(--hf-font-line-height-text-h1)}._level-1_1m0wo_10._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h1-medium)}._level-2_1m0wo_20{font-size:var(--hf-font-size-text-h2);font-weight:var(--hf-font-weight-text-h2-regular);line-height:var(--hf-font-line-height-text-h2)}._level-2_1m0wo_20._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h2-medium)}._level-3_1m0wo_30{font-size:var(--hf-font-size-text-h3);font-weight:var(--hf-font-weight-text-h3-regular);line-height:var(--hf-font-line-height-text-h3)}._level-3_1m0wo_30._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h3-medium)}._level-4_1m0wo_40{font-size:var(--hf-font-size-text-h4);font-weight:var(--hf-font-weight-text-h4-regular);line-height:var(--hf-font-line-height-text-h4)}._level-4_1m0wo_40._medium_1m0wo_15{font-weight:var(--hf-font-weight-text-h4-medium)}._color-main_1m0wo_50{color:var(--hf-color-text-main)}._color-secondary_1m0wo_54{color:var(--hf-color-text-secondary)}._color-semilight_1m0wo_58{color:var(--hf-color-text-semilight)}._color-light_1m0wo_62{color:var(--hf-color-text-light)}._color-invert_1m0wo_66{color:var(--hf-color-text-invert)}._color-danger_1m0wo_70{color:var(--hf-color-text-danger)}._color-success_1m0wo_74{color:var(--hf-color-text-success)}._error_lk2jx_1{font-family:var(--hf-font-family-body),sans-serif;font-size:var(--hf-font-size-label-subtitle);font-weight:var(--hf-font-weight-regular);line-height:var(--hf-font-line-height-label-subtitle);color:var(--hf-color-text-danger);-moz-osx-font-smoothing:auto;-webkit-font-smoothing:antialiased}._root_1tj1b_1{overflow:hidden;border-radius:50%;position:relative;aspect-ratio:1/1}._root_1tj1b_1 img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._default_1tj1b_14{background-color:var(--hf-color-avatar-background);background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.3731%2012.2451C8.04067%2011.4614%207.47001%207.04127%2010.5054%205.5244C11.4539%205.05047%2012.6607%205.02109%2013.5811%205.44961C15.802%206.48374%2016.3914%209.29209%2014.7734%2011.1304C13.9547%2012.0605%2012.5483%2012.5215%2011.3731%2012.2451Z'%20fill='%23D7D7D7'/%3e%3cpath%20d='M7.06146%2014.4533C7.36479%2013.8666%208.78017%2013.2895%2010.4265%2013.081C12.0578%2012.8746%2013.8883%2012.9839%2015.2382%2013.3686C17.2103%2013.9304%2017.7187%2014.6903%2017.0375%2016.0575C16.2941%2017.5493%2013.9853%2018.8659%2012.1058%2018.8699C10.2126%2018.874%207.85172%2017.5174%207.15739%2016.0265C6.84163%2015.3485%206.81597%2014.9279%207.06146%2014.4533Z'%20fill='%23D7D7D7'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center center;background-size:cover}._default_1tj1b_14 img{display:none}._xxs_1tj1b_26{width:var(--hf-size-avatar-xxs)}._xs_1tj1b_30{width:var(--hf-size-avatar-xs)}._s_1tj1b_16{width:var(--hf-size-avatar-s)}._m_1tj1b_38{width:var(--hf-size-avatar-m)}._l_1tj1b_42{width:var(--hf-size-avatar-l)}._l_1tj1b_42._square_1tj1b_45{border-radius:var(--hf-radius-s)}._xl_1tj1b_50{width:var(--hf-size-avatar-xl)}._xl_1tj1b_50._square_1tj1b_45{border-radius:var(--hf-radius-l)}._xxl_1tj1b_58{width:var(--hf-size-avatar-xxl)}._xxl_1tj1b_58._square_1tj1b_45{border-radius:var(--hf-radius-l)}._3xl_1tj1b_66{width:var(--hf-size-avatar-3xl)}._3xl_1tj1b_66._square_1tj1b_45{border-radius:var(--hf-radius-l)}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { defineComponent as f, computed as c, createElementBlock as p, openBlock as a, normalizeClass as u, unref as r, normalizeStyle as Q, createElementVNode as E, useSlots as P, createCommentVNode as m, renderSlot as h, createBlock as k, createVNode as L, mergeProps as M, withCtx as g, Fragment as X, toValue as Y, getCurrentInstance as Z, ref as O, Comment as ee, cloneVNode as te, h as q, mergeModels as A, useAttrs as ne, useModel as se, createTextVNode as x, toDisplayString as B, resolveDynamicComponent as R, watch as oe } from "vue";
3
- const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
4
- const o = n.children;
5
- return o && o.toString().trim() !== "";
6
- }) ?? !1, le = "_loader_tpkd0_11", re = "_circle_tpkd0_17", ae = "_white_tpkd0_24", ce = "_black_tpkd0_28", ie = "_s_tpkd0_32", ue = "_m_tpkd0_37", _e = "_l_tpkd0_11", de = "_spinner_tpkd0_47", I = {
7
- loader: le,
8
- circle: re,
2
+ import { defineComponent as f, computed as a, createElementBlock as d, openBlock as r, normalizeClass as i, unref as n, normalizeStyle as de, createElementVNode as q, useSlots as D, createCommentVNode as p, renderSlot as b, createBlock as h, createVNode as I, mergeProps as O, withCtx as k, Fragment as pe, toValue as me, getCurrentInstance as fe, ref as W, Comment as be, cloneVNode as ye, h as A, toRefs as ve, useAttrs as ke, createTextVNode as S, toDisplayString as j, resolveDynamicComponent as K, watch as ge } from "vue";
3
+ const x = (s, e) => (e ? s[e] : s.default)?.().some((t) => {
4
+ const l = t.children;
5
+ return l && l.toString().trim() !== "";
6
+ }) ?? !1, he = "_loader_tpkd0_11", $e = "_circle_tpkd0_17", we = "_white_tpkd0_24", xe = "_black_tpkd0_28", Ce = "_s_tpkd0_32", Te = "_m_tpkd0_37", Be = "_l_tpkd0_11", Le = "_spinner_tpkd0_47", L = {
7
+ loader: he,
8
+ circle: $e,
9
9
  "loader-animation": "_loader-animation_tpkd0_1",
10
- white: ae,
11
- black: ce,
12
- s: ie,
13
- m: ue,
14
- l: _e,
15
- spinner: de
16
- }, pe = /* @__PURE__ */ f({
10
+ white: we,
11
+ black: xe,
12
+ s: Ce,
13
+ m: Te,
14
+ l: Be,
15
+ spinner: Le
16
+ }, Se = /* @__PURE__ */ f({
17
17
  name: "UiLoader",
18
18
  __name: "loader",
19
19
  props: {
@@ -22,12 +22,12 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
22
22
  color: { default: "black" }
23
23
  },
24
24
  setup(s) {
25
- const e = s, t = c(() => [I.loader, I[e.size], I[e.color], I.circle]);
26
- return (n, o) => (a(), p("span", {
27
- class: u([r(I).spinner, t.value])
25
+ const e = s, o = a(() => [L.loader, L[e.size], L[e.color], L.circle]);
26
+ return (t, l) => (r(), d("span", {
27
+ class: i([n(L).spinner, o.value])
28
28
  }, null, 2));
29
29
  }
30
- }), me = ["aria-label", "width", "height"], fe = ["xlink:href"], be = /* @__PURE__ */ f({
30
+ }), je = ["aria-label"], Ie = ["xlink:href"], Ue = /* @__PURE__ */ f({
31
31
  name: "UiIcon",
32
32
  __name: "icon",
33
33
  props: {
@@ -38,36 +38,31 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
38
38
  height: {}
39
39
  },
40
40
  setup(s) {
41
- const e = s, t = c(() => {
42
- const l = e?.name?.match(/(\d+)$/);
43
- return l ? Number.parseInt(l[1], 10) : 16;
44
- }), n = c(() => e.width ? e.width : t.value), o = c(() => e.height ? e.height : t.value), i = c(() => {
45
- const l = {};
46
- return e.color && (l.color = e.color), e.block && (l.display = "block"), l;
41
+ const e = s, o = a(() => {
42
+ const t = {};
43
+ return e.color && (t.color = e.color), e.block && (t.display = "block"), t;
47
44
  });
48
- return (l, _) => (a(), p("svg", {
49
- class: u(l.$style.icon),
50
- "aria-label": l.name,
51
- style: Q(i.value),
52
- role: "img",
53
- width: n.value,
54
- height: o.value
45
+ return (t, l) => (r(), d("svg", {
46
+ class: i(t.$style.icon),
47
+ "aria-label": t.name,
48
+ style: de(o.value),
49
+ role: "img"
55
50
  }, [
56
- E("use", {
57
- "xlink:href": `#${l.name}`
58
- }, null, 8, fe)
59
- ], 14, me));
51
+ q("use", {
52
+ "xlink:href": `#${t.name}`
53
+ }, null, 8, Ie)
54
+ ], 14, je));
60
55
  }
61
- }), he = "_icon_1p8iz_2", ye = {
62
- icon: he
63
- }, ve = (s, e) => {
64
- const t = s.__vccOpts || s;
65
- for (const [n, o] of e)
66
- t[n] = o;
67
- return t;
68
- }, ge = {
69
- $style: ye
70
- }, T = /* @__PURE__ */ ve(be, [["__cssModules", ge]]), Zt = async () => {
56
+ }), Ne = "_icon_1p8iz_2", ze = {
57
+ icon: Ne
58
+ }, Ee = (s, e) => {
59
+ const o = s.__vccOpts || s;
60
+ for (const [t, l] of e)
61
+ o[t] = l;
62
+ return o;
63
+ }, qe = {
64
+ $style: ze
65
+ }, C = /* @__PURE__ */ Ee(Ue, [["__cssModules", qe]]), bn = async () => {
71
66
  if (!(typeof document > "u") && !document.getElementById("__svg-sprite__"))
72
67
  try {
73
68
  const e = `
@@ -79,26 +74,26 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
79
74
  } catch (s) {
80
75
  console.error("Failed to load SVG sprite:", s);
81
76
  }
82
- }, ke = "_button_mb1r2_1", $e = "_disabled_mb1r2_1", we = "_loading_mb1r2_1", Ce = "_loader_mb1r2_1", Te = "_content_mb1r2_1", Ie = "_s_mb1r2_2", xe = "_xs_mb1r2_1", Be = "_square_mb1r2_1", Le = "_circle_mb1r2_1", Se = "_m_mb1r2_1", je = "_l_mb1r2_1", Ue = "_primary_mb1r2_1", Ne = "_secondary_mb1r2_1", ze = "_accent_mb1r2_1", Ee = "_danger_mb1r2_1", Me = "_jobsites_mb1r2_1", qe = "_ghost_mb1r2_1", v = {
83
- button: ke,
84
- disabled: $e,
85
- loading: we,
86
- loader: Ce,
87
- content: Te,
88
- s: Ie,
89
- xs: xe,
90
- square: Be,
91
- circle: Le,
92
- m: Se,
93
- l: je,
94
- primary: Ue,
95
- secondary: Ne,
96
- accent: ze,
97
- danger: Ee,
98
- jobsites: Me,
99
- ghost: qe,
77
+ }, Oe = "_button_mb1r2_1", Pe = "_disabled_mb1r2_1", Me = "_loading_mb1r2_1", Ve = "_loader_mb1r2_1", Re = "_content_mb1r2_1", Ae = "_s_mb1r2_2", We = "_xs_mb1r2_1", De = "_square_mb1r2_1", He = "_circle_mb1r2_1", Fe = "_m_mb1r2_1", Ge = "_l_mb1r2_1", Ke = "_primary_mb1r2_1", Je = "_secondary_mb1r2_1", Qe = "_accent_mb1r2_1", Xe = "_danger_mb1r2_1", Ye = "_jobsites_mb1r2_1", Ze = "_ghost_mb1r2_1", v = {
78
+ button: Oe,
79
+ disabled: Pe,
80
+ loading: Me,
81
+ loader: Ve,
82
+ content: Re,
83
+ s: Ae,
84
+ xs: We,
85
+ square: De,
86
+ circle: He,
87
+ m: Fe,
88
+ l: Ge,
89
+ primary: Ke,
90
+ secondary: Je,
91
+ accent: Qe,
92
+ danger: Xe,
93
+ jobsites: Ye,
94
+ ghost: Ze,
100
95
  "ghost-danger": "_ghost-danger_mb1r2_1"
101
- }, Oe = ["name", "type", "disabled"], D = /* @__PURE__ */ f({
96
+ }, et = ["name", "type", "disabled"], J = /* @__PURE__ */ f({
102
97
  name: "UiButton",
103
98
  __name: "button",
104
99
  props: {
@@ -112,11 +107,11 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
112
107
  name: {},
113
108
  circle: { type: Boolean, default: !1 },
114
109
  bordered: { type: Boolean, default: !1 },
115
- htmlType: {}
110
+ htmlType: { default: "button" }
116
111
  },
117
112
  emits: ["click"],
118
113
  setup(s) {
119
- const e = s, t = P(), n = {
114
+ const e = s, o = D(), t = {
120
115
  primary: "white",
121
116
  secondary: "black",
122
117
  accent: "white",
@@ -124,7 +119,7 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
124
119
  jobsites: "white",
125
120
  ghost: "black",
126
121
  "ghost-danger": "black"
127
- }, o = c(() => C(t)), i = c(() => [
122
+ }, l = a(() => x(o)), u = a(() => [
128
123
  v.button,
129
124
  v[e.size],
130
125
  v[e.type],
@@ -136,46 +131,46 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
136
131
  [v.bordered]: e.bordered
137
132
  },
138
133
  e.className
139
- ]), l = c(() => n[e.type] || "white");
140
- return (_, b) => (a(), p("button", {
134
+ ]), c = a(() => t[e.type] || "white");
135
+ return (_, m) => (r(), d("button", {
141
136
  name: _.name,
142
- class: u(i.value),
137
+ class: i(u.value),
143
138
  type: _.htmlType,
144
139
  disabled: _.disabled || _.loading,
145
- onClick: b[0] || (b[0] = ($) => _.$emit("click"))
140
+ onClick: m[0] || (m[0] = (g) => _.$emit("click"))
146
141
  }, [
147
- _.loading ? (a(), p("div", {
142
+ _.loading ? (r(), d("div", {
148
143
  key: 0,
149
- class: u(r(v).loader)
144
+ class: i(n(v).loader)
150
145
  }, [
151
- L(r(pe), {
146
+ I(n(Se), {
152
147
  size: "s",
153
- color: l.value
148
+ color: c.value
154
149
  }, null, 8, ["color"])
155
- ], 2)) : m("", !0),
156
- _.$slots.before ? h(_.$slots, "before", { key: 1 }) : m("", !0),
157
- o.value ? (a(), p("span", {
150
+ ], 2)) : p("", !0),
151
+ _.$slots.before ? b(_.$slots, "before", { key: 1 }) : p("", !0),
152
+ l.value ? (r(), d("span", {
158
153
  key: 2,
159
- class: u(r(v).content)
154
+ class: i(n(v).content)
160
155
  }, [
161
- h(_.$slots, "default")
162
- ], 2)) : m("", !0),
163
- _.$slots.after ? h(_.$slots, "after", { key: 3 }) : m("", !0),
164
- _.dropdown ? (a(), k(r(T), {
156
+ b(_.$slots, "default")
157
+ ], 2)) : p("", !0),
158
+ _.$slots.after ? b(_.$slots, "after", { key: 3 }) : p("", !0),
159
+ _.dropdown ? (r(), h(n(C), {
165
160
  key: 4,
166
161
  width: 12,
167
162
  height: 16,
168
163
  name: "drop-down"
169
- })) : m("", !0)
170
- ], 10, Oe));
164
+ })) : p("", !0)
165
+ ], 10, et));
171
166
  }
172
- }), Pe = "_s_o7jd7_9", We = "_xs_o7jd7_14", Ae = "_m_o7jd7_20", He = "_l_o7jd7_25", Re = "_button_o7jd7_31", H = {
173
- s: Pe,
174
- xs: We,
175
- m: Ae,
176
- l: He,
177
- button: Re
178
- }, en = /* @__PURE__ */ f({
167
+ }), tt = "_s_o7jd7_9", nt = "_xs_o7jd7_14", st = "_m_o7jd7_20", ot = "_l_o7jd7_25", lt = "_button_o7jd7_31", G = {
168
+ s: tt,
169
+ xs: nt,
170
+ m: st,
171
+ l: ot,
172
+ button: lt
173
+ }, yn = /* @__PURE__ */ f({
179
174
  name: "UiButtonIcon",
180
175
  __name: "button-icon",
181
176
  props: {
@@ -192,98 +187,98 @@ const C = (s, e) => (e ? s[e] : s.default)?.().some((n) => {
192
187
  },
193
188
  emits: ["click"],
194
189
  setup(s) {
195
- const e = s, t = c(() => [H.button, H[e.size], e.className]), n = c(() => {
196
- const i = e.size === "xs" ? "18" : "20";
197
- return e.icon.replace(/-?\d*$/, `-${i}`);
198
- }), o = c(() => e.size === "xs");
199
- return (i, l) => (a(), k(r(D), M({ class: t.value }, e, {
190
+ const e = s, o = a(() => [G.button, G[e.size], e.className]), t = a(() => {
191
+ const u = e.size === "xs" ? "18" : "20";
192
+ return e.icon.replace(/-?\d*$/, `-${u}`);
193
+ }), l = a(() => e.size === "xs");
194
+ return (u, c) => (r(), h(n(J), O({ class: o.value }, e, {
200
195
  "html-type": "button",
201
- circle: o.value,
202
- onClick: l[0] || (l[0] = (_) => i.$emit("click"))
196
+ circle: l.value,
197
+ onClick: c[0] || (c[0] = (_) => u.$emit("click"))
203
198
  }), {
204
- before: g(() => [
205
- L(r(T), { name: n.value }, null, 8, ["name"])
199
+ before: k(() => [
200
+ I(n(C), { name: t.value }, null, 8, ["name"])
206
201
  ]),
207
202
  _: 1
208
203
  }, 16, ["class", "circle"]));
209
204
  }
210
- }), De = "_button_1xnk4_1", Ve = {
211
- button: De
212
- }, tn = /* @__PURE__ */ f({
205
+ }), rt = "_button_1xnk4_1", at = {
206
+ button: rt
207
+ }, vn = /* @__PURE__ */ f({
213
208
  name: "UiButtonLink",
214
209
  __name: "button-link",
215
210
  emits: ["click"],
216
211
  setup(s) {
217
- return (e, t) => (a(), p("button", {
218
- class: u(r(Ve).button),
212
+ return (e, o) => (r(), d("button", {
213
+ class: i(n(at).button),
219
214
  type: "button",
220
- onClick: t[0] || (t[0] = (n) => e.$emit("click"))
215
+ onClick: o[0] || (o[0] = (t) => e.$emit("click"))
221
216
  }, [
222
- L(r(T), { name: "plus-18" }),
223
- h(e.$slots, "default")
217
+ I(n(C), { name: "plus-18" }),
218
+ b(e.$slots, "default")
224
219
  ], 2));
225
220
  }
226
221
  });
227
- function V(s) {
228
- return s ? s.flatMap((e) => e.type === X ? V(e.children) : [e]) : [];
222
+ function Q(s) {
223
+ return s ? s.flatMap((e) => e.type === pe ? Q(e.children) : [e]) : [];
229
224
  }
230
- function Fe(s) {
225
+ function ct(s) {
231
226
  var e;
232
- const t = Y(s);
233
- return (e = t?.$el) != null ? e : t;
227
+ const o = me(s);
228
+ return (e = o?.$el) != null ? e : o;
234
229
  }
235
- function Ge() {
236
- const s = Z(), e = O(), t = c(() => ["#text", "#comment"].includes(e.value?.$el.nodeName) ? e.value?.$el.nextElementSibling : Fe(e)), n = Object.assign({}, s.exposed), o = {};
237
- for (const l in s.props) Object.defineProperty(o, l, {
230
+ function it() {
231
+ const s = fe(), e = W(), o = a(() => ["#text", "#comment"].includes(e.value?.$el.nodeName) ? e.value?.$el.nextElementSibling : ct(e)), t = Object.assign({}, s.exposed), l = {};
232
+ for (const c in s.props) Object.defineProperty(l, c, {
238
233
  enumerable: !0,
239
234
  configurable: !0,
240
- get: () => s.props[l]
235
+ get: () => s.props[c]
241
236
  });
242
- if (Object.keys(n).length > 0) for (const l in n) Object.defineProperty(o, l, {
237
+ if (Object.keys(t).length > 0) for (const c in t) Object.defineProperty(l, c, {
243
238
  enumerable: !0,
244
239
  configurable: !0,
245
- get: () => n[l]
240
+ get: () => t[c]
246
241
  });
247
- Object.defineProperty(o, "$el", {
242
+ Object.defineProperty(l, "$el", {
248
243
  enumerable: !0,
249
244
  configurable: !0,
250
245
  get: () => s.vnode.el
251
- }), s.exposed = o;
252
- function i(l) {
253
- e.value = l, l && (Object.defineProperty(o, "$el", {
246
+ }), s.exposed = l;
247
+ function u(c) {
248
+ e.value = c, c && (Object.defineProperty(l, "$el", {
254
249
  enumerable: !0,
255
250
  configurable: !0,
256
- get: () => l instanceof Element ? l : l.$el
257
- }), s.exposed = o);
251
+ get: () => c instanceof Element ? c : c.$el
252
+ }), s.exposed = l);
258
253
  }
259
254
  return {
260
- forwardRef: i,
255
+ forwardRef: u,
261
256
  currentRef: e,
262
- currentElement: t
257
+ currentElement: o
263
258
  };
264
259
  }
265
- const Ke = f({
260
+ const ut = f({
266
261
  name: "PrimitiveSlot",
267
262
  inheritAttrs: !1,
268
- setup(s, { attrs: e, slots: t }) {
263
+ setup(s, { attrs: e, slots: o }) {
269
264
  return () => {
270
- if (!t.default) return null;
271
- const n = V(t.default()), o = n.findIndex((b) => b.type !== ee);
272
- if (o === -1) return n;
273
- const i = n[o];
274
- delete i.props?.ref;
275
- const l = i.props ? M(e, i.props) : e, _ = te({
276
- ...i,
265
+ if (!o.default) return null;
266
+ const t = Q(o.default()), l = t.findIndex((m) => m.type !== be);
267
+ if (l === -1) return t;
268
+ const u = t[l];
269
+ delete u.props?.ref;
270
+ const c = u.props ? O(e, u.props) : e, _ = ye({
271
+ ...u,
277
272
  props: {}
278
- }, l);
279
- return n.length === 1 ? _ : (n[o] = _, n);
273
+ }, c);
274
+ return t.length === 1 ? _ : (t[l] = _, t);
280
275
  };
281
276
  }
282
- }), Je = [
277
+ }), _t = [
283
278
  "area",
284
279
  "img",
285
280
  "input"
286
- ], Qe = f({
281
+ ], dt = f({
287
282
  name: "Primitive",
288
283
  inheritAttrs: !1,
289
284
  props: {
@@ -296,12 +291,12 @@ const Ke = f({
296
291
  default: "div"
297
292
  }
298
293
  },
299
- setup(s, { attrs: e, slots: t }) {
300
- const n = s.asChild ? "template" : s.as;
301
- return typeof n == "string" && Je.includes(n) ? () => q(n, e) : n !== "template" ? () => q(s.as, e, { default: t.default }) : () => q(Ke, e, { default: t.default });
294
+ setup(s, { attrs: e, slots: o }) {
295
+ const t = s.asChild ? "template" : s.as;
296
+ return typeof t == "string" && _t.includes(t) ? () => A(t, e) : t !== "template" ? () => A(s.as, e, { default: o.default }) : () => A(ut, e, { default: o.default });
302
297
  }
303
298
  });
304
- var Xe = /* @__PURE__ */ f({
299
+ var pt = /* @__PURE__ */ f({
305
300
  __name: "Label",
306
301
  props: {
307
302
  for: {
@@ -320,111 +315,111 @@ var Xe = /* @__PURE__ */ f({
320
315
  },
321
316
  setup(s) {
322
317
  const e = s;
323
- return Ge(), (t, n) => (a(), k(r(Qe), M(e, { onMousedown: n[0] || (n[0] = (o) => {
324
- !o.defaultPrevented && o.detail > 1 && o.preventDefault();
318
+ return it(), (o, t) => (r(), h(n(dt), O(e, { onMousedown: t[0] || (t[0] = (l) => {
319
+ !l.defaultPrevented && l.detail > 1 && l.preventDefault();
325
320
  }) }), {
326
- default: g(() => [h(t.$slots, "default")]),
321
+ default: k(() => [b(o.$slots, "default")]),
327
322
  _: 3
328
323
  }, 16));
329
324
  }
330
- }), Ye = Xe;
331
- const Ze = "_label_1ic51_1", et = {
332
- label: Ze
333
- }, tt = /* @__PURE__ */ f({
325
+ }), mt = pt;
326
+ const ft = "_label_1ic51_1", bt = {
327
+ label: ft
328
+ }, yt = /* @__PURE__ */ f({
334
329
  name: "UiLabel",
335
330
  __name: "label",
336
331
  props: {
337
332
  className: {}
338
333
  },
339
334
  setup(s) {
340
- const e = s, t = c(() => [
341
- et.label,
335
+ const e = s, o = a(() => [
336
+ bt.label,
342
337
  e.className
343
338
  ]);
344
- return (n, o) => (a(), k(r(Ye), {
345
- class: u(t.value)
339
+ return (t, l) => (r(), h(n(mt), {
340
+ class: i(o.value)
346
341
  }, {
347
- default: g(() => [
348
- h(n.$slots, "default")
342
+ default: k(() => [
343
+ b(t.$slots, "default")
349
344
  ]),
350
345
  _: 3
351
346
  }, 8, ["class"]));
352
347
  }
353
- }), nt = "_content_1g21n_1", st = "_label_1g21n_12", ot = "_header_1g21n_21", lt = "_headerWrapper_1g21n_29", rt = "_title_1g21n_36", at = "_subTitleRow_1g21n_44", ct = "_subTitle_1g21n_44", it = "_link_1g21n_56", ut = "_linkUpper_1g21n_73", w = {
354
- content: nt,
355
- label: st,
356
- header: ot,
357
- headerWrapper: lt,
358
- title: rt,
359
- subTitleRow: at,
360
- subTitle: ct,
361
- link: it,
362
- linkUpper: ut
363
- }, _t = /* @__PURE__ */ f({
348
+ }), vt = "_content_1g21n_1", kt = "_label_1g21n_12", gt = "_header_1g21n_21", ht = "_headerWrapper_1g21n_29", $t = "_title_1g21n_36", wt = "_subTitleRow_1g21n_44", xt = "_subTitle_1g21n_44", Ct = "_link_1g21n_56", Tt = "_linkUpper_1g21n_73", $ = {
349
+ content: vt,
350
+ label: kt,
351
+ header: gt,
352
+ headerWrapper: ht,
353
+ title: $t,
354
+ subTitleRow: wt,
355
+ subTitle: xt,
356
+ link: Ct,
357
+ linkUpper: Tt
358
+ }, Bt = /* @__PURE__ */ f({
364
359
  name: "UiLabelContent",
365
360
  __name: "label-content",
366
361
  emits: ["click"],
367
362
  setup(s) {
368
- const e = P(), t = c(() => C(e, "header")), n = c(() => C(e)), o = c(() => C(e, "subTitle")), i = c(() => C(e, "link")), l = c(() => t.value || n.value || o.value), _ = c(() => !n.value && !o.value), b = c(
369
- () => [w.link, _.value && w.linkUpper].filter(Boolean)
363
+ const e = D(), o = a(() => x(e, "header")), t = a(() => x(e)), l = a(() => x(e, "subTitle")), u = a(() => x(e, "link")), c = a(() => o.value || t.value || l.value), _ = a(() => !t.value && !l.value), m = a(
364
+ () => [$.link, _.value && $.linkUpper].filter(Boolean)
370
365
  );
371
- return ($, S) => (a(), p("div", {
372
- class: u(r(w).content)
366
+ return (g, T) => (r(), d("div", {
367
+ class: i(n($).content)
373
368
  }, [
374
- l.value ? (a(), p("span", {
369
+ c.value ? (r(), d("span", {
375
370
  key: 0,
376
- class: u(r(w).headerWrapper)
371
+ class: i(n($).headerWrapper)
377
372
  }, [
378
- t.value ? (a(), p("span", {
373
+ o.value ? (r(), d("span", {
379
374
  key: 0,
380
- class: u(r(w).header)
375
+ class: i(n($).header)
381
376
  }, [
382
- h($.$slots, "header")
383
- ], 2)) : m("", !0),
384
- n.value ? (a(), p("span", {
377
+ b(g.$slots, "header")
378
+ ], 2)) : p("", !0),
379
+ t.value ? (r(), d("span", {
385
380
  key: 1,
386
- class: u(r(w).title)
381
+ class: i(n($).title)
387
382
  }, [
388
- h($.$slots, "default")
389
- ], 2)) : m("", !0),
390
- o.value ? (a(), p("span", {
383
+ b(g.$slots, "default")
384
+ ], 2)) : p("", !0),
385
+ l.value ? (r(), d("span", {
391
386
  key: 2,
392
- class: u(r(w).subTitleRow)
387
+ class: i(n($).subTitleRow)
393
388
  }, [
394
- E("span", {
395
- class: u(r(w).subTitle)
389
+ q("span", {
390
+ class: i(n($).subTitle)
396
391
  }, [
397
- h($.$slots, "subTitle")
392
+ b(g.$slots, "subTitle")
398
393
  ], 2)
399
- ], 2)) : m("", !0)
400
- ], 2)) : m("", !0),
401
- i.value ? (a(), p("span", {
394
+ ], 2)) : p("", !0)
395
+ ], 2)) : p("", !0),
396
+ u.value ? (r(), d("span", {
402
397
  key: 1,
403
- class: u(b.value),
404
- onClick: S[0] || (S[0] = (W) => $.$emit("click"))
398
+ class: i(m.value),
399
+ onClick: T[0] || (T[0] = (P) => g.$emit("click"))
405
400
  }, [
406
- h($.$slots, "link")
407
- ], 2)) : m("", !0)
401
+ b(g.$slots, "link")
402
+ ], 2)) : p("", !0)
408
403
  ], 2));
409
404
  }
410
- }), dt = "_wrapper_1i81c_1", pt = "_input_1i81c_8", mt = "_error_1i81c_38", ft = "_description_1i81c_51", bt = "_descriptionText_1i81c_62", ht = "_errorText_1i81c_66", yt = "_inputWrapper_1i81c_70", vt = "_leftSpace_1i81c_74", gt = "_rightSpace_1i81c_78", kt = "_leftIcon_1i81c_82", $t = "_rightIcon_1i81c_83", y = {
411
- wrapper: dt,
412
- input: pt,
413
- error: mt,
414
- description: ft,
415
- descriptionText: bt,
416
- errorText: ht,
417
- inputWrapper: yt,
418
- leftSpace: vt,
419
- rightSpace: gt,
420
- leftIcon: kt,
421
- rightIcon: $t
422
- }, wt = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Ct = ["innerHTML"], Tt = ["innerHTML"], nn = /* @__PURE__ */ f({
405
+ }), Lt = "_wrapper_1i81c_1", St = "_input_1i81c_8", jt = "_error_1i81c_38", It = "_description_1i81c_51", Ut = "_descriptionText_1i81c_62", Nt = "_errorText_1i81c_66", zt = "_inputWrapper_1i81c_70", Et = "_leftSpace_1i81c_74", qt = "_rightSpace_1i81c_78", Ot = "_leftIcon_1i81c_82", Pt = "_rightIcon_1i81c_83", y = {
406
+ wrapper: Lt,
407
+ input: St,
408
+ error: jt,
409
+ description: It,
410
+ descriptionText: Ut,
411
+ errorText: Nt,
412
+ inputWrapper: zt,
413
+ leftSpace: Et,
414
+ rightSpace: qt,
415
+ leftIcon: Ot,
416
+ rightIcon: Pt
417
+ }, Mt = ["id", "value", "name", "type", "disabled", "placeholder", "aria-invalid"], Vt = ["innerHTML"], Rt = ["innerHTML"], kn = /* @__PURE__ */ f({
423
418
  name: "UiInput",
424
419
  __name: "input",
425
- props: /* @__PURE__ */ A({
426
- value: {},
427
- type: { default: "text" },
420
+ props: {
421
+ modelValue: {},
422
+ type: {},
428
423
  id: {},
429
424
  name: {},
430
425
  disabled: { type: Boolean },
@@ -439,120 +434,126 @@ const Ze = "_label_1ic51_1", et = {
439
434
  className: {},
440
435
  leftIcon: {},
441
436
  rightIcon: {}
442
- }, {
443
- value: {},
444
- valueModifiers: {}
445
- }),
446
- emits: /* @__PURE__ */ A(["update:value", "enter", "clickLink", "clickIcon", "click", "focus", "blur"], ["update:value"]),
437
+ },
438
+ emits: ["update:modelValue", "enter", "clickLink", "clickIcon", "click", "focus", "blur"],
447
439
  setup(s, { emit: e }) {
448
- const t = s, n = e, o = ne(), i = se(s, "value"), l = c(() => [
440
+ const o = s, t = e, {
441
+ modelValue: l,
442
+ type: u,
443
+ id: c,
444
+ name: _,
445
+ disabled: m,
446
+ title: g,
447
+ header: T,
448
+ subTitle: P,
449
+ link: H,
450
+ placeholder: X,
451
+ loading: F,
452
+ error: B,
453
+ description: M,
454
+ className: Y,
455
+ leftIcon: V,
456
+ rightIcon: R
457
+ } = ve(o), Z = a(() => l.value ?? ""), ee = a(() => u.value ?? "text"), te = ke(), ne = a(() => [
449
458
  y.input,
450
459
  {
451
- [y.disabled]: t.disabled,
452
- [y.error]: t.error,
453
- [y.loading]: t.loading,
454
- [y.leftSpace]: !!t.leftIcon,
455
- [y.rightSpace]: !!t.rightIcon
460
+ [y.disabled]: m.value,
461
+ [y.error]: B.value,
462
+ [y.loading]: F.value,
463
+ [y.leftSpace]: !!V.value,
464
+ [y.rightSpace]: !!R.value
456
465
  },
457
- t.className
458
- ]), _ = c(() => t.header || t.title || t.subTitle || t.link), b = c(() => t.description || t.error), $ = (d) => {
459
- d.key === "Enter" && n("enter");
460
- }, S = (d) => {
461
- n("update:value", d.target.value);
462
- }, W = () => {
463
- n("focus");
464
- }, F = () => {
465
- n("blur");
466
- }, G = () => {
467
- n("clickLink");
468
- }, K = () => {
469
- n("click");
470
- }, J = (d) => {
471
- d.preventDefault(), n("clickIcon");
466
+ Y.value
467
+ ]), se = a(() => T.value || g.value || P.value || H.value), oe = a(() => M.value || B.value), le = (w) => {
468
+ w.key === "Enter" && t("enter");
469
+ }, re = (w) => {
470
+ t("update:modelValue", w.target.value);
471
+ }, ae = () => t("focus"), ce = () => t("blur"), ie = () => t("clickLink"), ue = () => t("click"), _e = (w) => {
472
+ w.preventDefault(), t("clickIcon");
472
473
  };
473
- return (d, Xt) => (a(), p("div", {
474
- class: u(r(y).wrapper)
474
+ return (w, mn) => (r(), d("div", {
475
+ class: i(n(y).wrapper)
475
476
  }, [
476
- _.value ? (a(), k(r(tt), {
477
+ se.value ? (r(), h(n(yt), {
477
478
  key: 0,
478
- for: d.id,
479
- onClick: G
479
+ for: n(c),
480
+ onClick: ie
480
481
  }, {
481
- default: g(() => [
482
- L(r(_t), null, {
483
- header: g(() => [
484
- x(B(t.header), 1)
482
+ default: k(() => [
483
+ I(n(Bt), null, {
484
+ header: k(() => [
485
+ S(j(n(T)), 1)
485
486
  ]),
486
- subTitle: g(() => [
487
- x(B(t.subTitle), 1)
487
+ subTitle: k(() => [
488
+ S(j(n(P)), 1)
488
489
  ]),
489
- link: g(() => [
490
- x(B(t.link), 1)
490
+ link: k(() => [
491
+ S(j(n(H)), 1)
491
492
  ]),
492
- default: g(() => [
493
- x(" " + B(t.title) + " ", 1)
493
+ default: k(() => [
494
+ S(" " + j(n(g)) + " ", 1)
494
495
  ]),
495
496
  _: 1
496
497
  })
497
498
  ]),
498
499
  _: 1
499
- }, 8, ["for"])) : m("", !0),
500
- E("div", {
501
- class: u(r(y).inputWrapper)
500
+ }, 8, ["for"])) : p("", !0),
501
+ q("div", {
502
+ class: i(n(y).inputWrapper)
502
503
  }, [
503
- d.leftIcon ? (a(), k(r(T), {
504
+ n(V) ? (r(), h(n(C), {
504
505
  key: 0,
505
- name: d.leftIcon,
506
- class: u(r(y).leftIcon)
507
- }, null, 8, ["name", "class"])) : m("", !0),
508
- E("input", M({
509
- id: d.id,
510
- value: i.value,
511
- name: d.name,
512
- type: d.type,
513
- disabled: d.disabled || d.loading,
514
- placeholder: d.placeholder,
515
- class: l.value,
516
- "aria-invalid": !!d.error
517
- }, r(o), {
518
- onInput: S,
519
- onKeydown: $,
520
- onFocus: W,
521
- onBlur: F,
522
- onClick: K
523
- }), null, 16, wt),
524
- d.rightIcon ? (a(), k(r(T), {
506
+ name: n(V),
507
+ class: i(n(y).leftIcon)
508
+ }, null, 8, ["name", "class"])) : p("", !0),
509
+ q("input", O({
510
+ id: n(c),
511
+ value: Z.value,
512
+ name: n(_),
513
+ type: ee.value,
514
+ disabled: n(m) || n(F),
515
+ placeholder: n(X),
516
+ class: ne.value,
517
+ "aria-invalid": !!n(B)
518
+ }, n(te), {
519
+ onInput: re,
520
+ onKeydown: le,
521
+ onFocus: ae,
522
+ onBlur: ce,
523
+ onClick: ue
524
+ }), null, 16, Mt),
525
+ n(R) ? (r(), h(n(C), {
525
526
  key: 1,
526
- name: d.rightIcon,
527
- class: u(r(y).rightIcon),
528
- onClick: J
529
- }, null, 8, ["name", "class"])) : m("", !0)
527
+ name: n(R),
528
+ class: i(n(y).rightIcon),
529
+ onClick: _e
530
+ }, null, 8, ["name", "class"])) : p("", !0)
530
531
  ], 2),
531
- b.value ? (a(), p("div", {
532
+ oe.value ? (r(), d("div", {
532
533
  key: 1,
533
- class: u(r(y).description)
534
+ class: i(n(y).description)
534
535
  }, [
535
- d.error ? (a(), p("div", {
536
+ n(B) ? (r(), d("div", {
536
537
  key: 0,
537
- class: u(r(y).errorText),
538
- innerHTML: d.error
539
- }, null, 10, Ct)) : m("", !0),
540
- d.description ? (a(), p("div", {
538
+ class: i(n(y).errorText),
539
+ innerHTML: n(B)
540
+ }, null, 10, Vt)) : p("", !0),
541
+ n(M) ? (r(), d("div", {
541
542
  key: 1,
542
- class: u(r(y).descriptionText),
543
- innerHTML: d.description
544
- }, null, 10, Tt)) : m("", !0)
545
- ], 2)) : m("", !0)
543
+ class: i(n(y).descriptionText),
544
+ innerHTML: n(M)
545
+ }, null, 10, Rt)) : p("", !0)
546
+ ], 2)) : p("", !0)
546
547
  ], 2));
547
548
  }
548
- }), It = "_plank_1yp3k_1", xt = "_accent_1yp3k_26", Bt = "_danger_1yp3k_32", Lt = "_text_1yp3k_38", St = "_icon_1yp3k_42", j = {
549
- plank: It,
549
+ }), At = "_plank_1yp3k_1", Wt = "_accent_1yp3k_26", Dt = "_danger_1yp3k_32", Ht = "_text_1yp3k_38", Ft = "_icon_1yp3k_42", U = {
550
+ plank: At,
550
551
  default: "_default_1yp3k_20",
551
- accent: xt,
552
- danger: Bt,
553
- text: Lt,
554
- icon: St
555
- }, sn = /* @__PURE__ */ f({
552
+ accent: Wt,
553
+ danger: Dt,
554
+ text: Ht,
555
+ icon: Ft
556
+ }, gn = /* @__PURE__ */ f({
556
557
  name: "UiPlank",
557
558
  __name: "plank",
558
559
  props: {
@@ -562,42 +563,42 @@ const Ze = "_label_1ic51_1", et = {
562
563
  },
563
564
  emits: ["click"],
564
565
  setup(s) {
565
- const e = s, t = P(), n = c(() => C(t)), o = c(() => [j.plank, j[e.type]]);
566
- return (i, l) => (a(), p("div", {
567
- class: u(o.value)
566
+ const e = s, o = D(), t = a(() => x(o)), l = a(() => [U.plank, U[e.type]]);
567
+ return (u, c) => (r(), d("div", {
568
+ class: i(l.value)
568
569
  }, [
569
- i.icon ? (a(), p("div", {
570
+ u.icon ? (r(), d("div", {
570
571
  key: 0,
571
- class: u(r(j).icon)
572
+ class: i(n(U).icon)
572
573
  }, [
573
- L(r(T), { name: i.icon }, null, 8, ["name"])
574
- ], 2)) : m("", !0),
575
- n.value ? (a(), p("div", {
574
+ I(n(C), { name: u.icon }, null, 8, ["name"])
575
+ ], 2)) : p("", !0),
576
+ t.value ? (r(), d("div", {
576
577
  key: 1,
577
- class: u(r(j).text)
578
+ class: i(n(U).text)
578
579
  }, [
579
- h(i.$slots, "default")
580
- ], 2)) : m("", !0),
581
- i.label ? (a(), k(r(D), {
580
+ b(u.$slots, "default")
581
+ ], 2)) : p("", !0),
582
+ u.label ? (r(), h(n(J), {
582
583
  key: 2,
583
584
  size: "xs",
584
585
  type: "secondary",
585
- onClick: l[0] || (l[0] = (_) => i.$emit("click"))
586
+ onClick: c[0] || (c[0] = (_) => u.$emit("click"))
586
587
  }, {
587
- default: g(() => [
588
- x(B(i.label), 1)
588
+ default: k(() => [
589
+ S(j(u.label), 1)
589
590
  ]),
590
591
  _: 1
591
- })) : m("", !0)
592
+ })) : p("", !0)
592
593
  ], 2));
593
594
  }
594
- }), jt = "_text_dbd8t_1", Ut = "_primary_dbd8t_10", Nt = "_medium_dbd8t_15", zt = "_secondary_dbd8t_20", Et = "_accent_dbd8t_30", Mt = "_subtitle_dbd8t_40", U = {
595
- text: jt,
596
- primary: Ut,
597
- medium: Nt,
598
- secondary: zt,
599
- accent: Et,
600
- subtitle: Mt,
595
+ }), Gt = "_text_dbd8t_1", Kt = "_primary_dbd8t_10", Jt = "_medium_dbd8t_15", Qt = "_secondary_dbd8t_20", Xt = "_accent_dbd8t_30", Yt = "_subtitle_dbd8t_40", N = {
596
+ text: Gt,
597
+ primary: Kt,
598
+ medium: Jt,
599
+ secondary: Qt,
600
+ accent: Xt,
601
+ subtitle: Yt,
601
602
  "color-main": "_color-main_dbd8t_46",
602
603
  "color-secondary": "_color-secondary_dbd8t_50",
603
604
  "color-semilight": "_color-semilight_dbd8t_54",
@@ -605,7 +606,7 @@ const Ze = "_label_1ic51_1", et = {
605
606
  "color-invert": "_color-invert_dbd8t_62",
606
607
  "color-danger": "_color-danger_dbd8t_66",
607
608
  "color-success": "_color-success_dbd8t_70"
608
- }, on = /* @__PURE__ */ f({
609
+ }, hn = /* @__PURE__ */ f({
609
610
  name: "UiText",
610
611
  __name: "text",
611
612
  props: {
@@ -615,25 +616,25 @@ const Ze = "_label_1ic51_1", et = {
615
616
  color: {}
616
617
  },
617
618
  setup(s) {
618
- const e = s, t = c(() => [
619
- U.text,
620
- U[e.kind],
621
- e.weight && U[e.weight],
622
- e.color && U[`color-${e.color}`]
619
+ const e = s, o = a(() => [
620
+ N.text,
621
+ N[e.kind],
622
+ e.weight && N[e.weight],
623
+ e.color && N[`color-${e.color}`]
623
624
  ]);
624
- return (n, o) => (a(), k(R(n.tagName), {
625
- class: u(t.value)
625
+ return (t, l) => (r(), h(K(t.tagName), {
626
+ class: i(o.value)
626
627
  }, {
627
- default: g(() => [
628
- h(n.$slots, "default")
628
+ default: k(() => [
629
+ b(t.$slots, "default")
629
630
  ]),
630
631
  _: 3
631
632
  }, 8, ["class"]));
632
633
  }
633
- }), qt = "_title_1m0wo_1", Ot = "_medium_1m0wo_15", N = {
634
- title: qt,
634
+ }), Zt = "_title_1m0wo_1", en = "_medium_1m0wo_15", z = {
635
+ title: Zt,
635
636
  "level-1": "_level-1_1m0wo_10",
636
- medium: Ot,
637
+ medium: en,
637
638
  "level-2": "_level-2_1m0wo_20",
638
639
  "level-3": "_level-3_1m0wo_30",
639
640
  "level-4": "_level-4_1m0wo_40",
@@ -644,7 +645,7 @@ const Ze = "_label_1ic51_1", et = {
644
645
  "color-invert": "_color-invert_1m0wo_66",
645
646
  "color-danger": "_color-danger_1m0wo_70",
646
647
  "color-success": "_color-success_1m0wo_74"
647
- }, ln = /* @__PURE__ */ f({
648
+ }, $n = /* @__PURE__ */ f({
648
649
  name: "UiTitle",
649
650
  __name: "title",
650
651
  props: {
@@ -654,54 +655,54 @@ const Ze = "_label_1ic51_1", et = {
654
655
  color: {}
655
656
  },
656
657
  setup(s) {
657
- const e = s, t = c(() => [
658
- N.title,
659
- N[`level-${e.level ?? 1}`],
658
+ const e = s, o = a(() => [
659
+ z.title,
660
+ z[`level-${e.level ?? 1}`],
660
661
  e.className,
661
- e.weight && N[e.weight],
662
- e.color && N[`color-${e.color}`]
663
- ]), n = c(() => `h${e.level ?? 1}`);
664
- return (o, i) => (a(), k(R(n.value), {
665
- class: u(t.value)
662
+ e.weight && z[e.weight],
663
+ e.color && z[`color-${e.color}`]
664
+ ]), t = a(() => `h${e.level ?? 1}`);
665
+ return (l, u) => (r(), h(K(t.value), {
666
+ class: i(o.value)
666
667
  }, {
667
- default: g(() => [
668
- h(o.$slots, "default")
668
+ default: k(() => [
669
+ b(l.$slots, "default")
669
670
  ]),
670
671
  _: 3
671
672
  }, 8, ["class"]));
672
673
  }
673
- }), Pt = "_error_lk2jx_1", Wt = {
674
- error: Pt
675
- }, rn = /* @__PURE__ */ f({
674
+ }), tn = "_error_lk2jx_1", nn = {
675
+ error: tn
676
+ }, wn = /* @__PURE__ */ f({
676
677
  name: "UiError",
677
678
  __name: "error",
678
679
  props: {
679
680
  className: {}
680
681
  },
681
682
  setup(s) {
682
- const e = s, t = c(() => [
683
- Wt.error,
683
+ const e = s, o = a(() => [
684
+ nn.error,
684
685
  e.className
685
686
  ]);
686
- return (n, o) => (a(), p("span", {
687
- class: u(t.value)
687
+ return (t, l) => (r(), d("span", {
688
+ class: i(o.value)
688
689
  }, [
689
- h(n.$slots, "default")
690
+ b(t.$slots, "default")
690
691
  ], 2));
691
692
  }
692
- }), At = "_root_1tj1b_1", Ht = "_xxs_1tj1b_26", Rt = "_xs_1tj1b_30", Dt = "_s_1tj1b_16", Vt = "_m_1tj1b_38", Ft = "_l_1tj1b_42", Gt = "_square_1tj1b_45", Kt = "_xl_1tj1b_50", Jt = "_xxl_1tj1b_58", z = {
693
- root: At,
693
+ }), sn = "_root_1tj1b_1", on = "_xxs_1tj1b_26", ln = "_xs_1tj1b_30", rn = "_s_1tj1b_16", an = "_m_1tj1b_38", cn = "_l_1tj1b_42", un = "_square_1tj1b_45", _n = "_xl_1tj1b_50", dn = "_xxl_1tj1b_58", E = {
694
+ root: sn,
694
695
  default: "_default_1tj1b_14",
695
- xxs: Ht,
696
- xs: Rt,
697
- s: Dt,
698
- m: Vt,
699
- l: Ft,
700
- square: Gt,
701
- xl: Kt,
702
- xxl: Jt,
696
+ xxs: on,
697
+ xs: ln,
698
+ s: rn,
699
+ m: an,
700
+ l: cn,
701
+ square: un,
702
+ xl: _n,
703
+ xxl: dn,
703
704
  "3xl": "_3xl_1tj1b_66"
704
- }, Qt = ["src"], an = /* @__PURE__ */ f({
705
+ }, pn = ["src"], xn = /* @__PURE__ */ f({
705
706
  name: "UiAvatar",
706
707
  __name: "avatar",
707
708
  props: {
@@ -710,53 +711,53 @@ const Ze = "_label_1ic51_1", et = {
710
711
  square: { type: Boolean, default: !1 }
711
712
  },
712
713
  setup(s) {
713
- const e = s, t = O(!e.src), n = O(!1), o = c(() => e.src && !n.value), i = c(() => {
714
- const b = !t.value || n.value || !e.src;
714
+ const e = s, o = W(!e.src), t = W(!1), l = a(() => e.src && !t.value), u = a(() => {
715
+ const m = !o.value || t.value || !e.src;
715
716
  return [
716
- z.root,
717
- z[e.size],
718
- e.square && z.square,
719
- b && z.default
717
+ E.root,
718
+ E[e.size],
719
+ e.square && E.square,
720
+ m && E.default
720
721
  ];
721
722
  });
722
- oe(
723
+ ge(
723
724
  () => e.src,
724
- (b) => {
725
- t.value = !b, n.value = !1;
725
+ (m) => {
726
+ o.value = !m, t.value = !1;
726
727
  },
727
728
  { immediate: !0 }
728
729
  );
729
- function l() {
730
- t.value = !0;
730
+ function c() {
731
+ o.value = !0;
731
732
  }
732
733
  function _() {
733
- n.value = !0;
734
+ t.value = !0;
734
735
  }
735
- return (b, $) => (a(), p("div", {
736
- class: u(i.value)
736
+ return (m, g) => (r(), d("div", {
737
+ class: i(u.value)
737
738
  }, [
738
- o.value ? (a(), p("img", {
739
+ l.value ? (r(), d("img", {
739
740
  key: 0,
740
- src: b.src,
741
- onLoad: l,
741
+ src: m.src,
742
+ onLoad: c,
742
743
  onError: _
743
- }, null, 40, Qt)) : m("", !0),
744
- h(b.$slots, "default")
744
+ }, null, 40, pn)) : p("", !0),
745
+ b(m.$slots, "default")
745
746
  ], 2));
746
747
  }
747
748
  });
748
749
  export {
749
- an as UiAvatar,
750
- D as UiButton,
751
- en as UiButtonIcon,
752
- tn as UiButtonLink,
753
- rn as UiError,
754
- T as UiIcon,
755
- nn as UiInput,
756
- tt as UiLabel,
757
- pe as UiLoader,
758
- sn as UiPlank,
759
- on as UiText,
760
- ln as UiTitle,
761
- Zt as injectSvgSprite
750
+ xn as UiAvatar,
751
+ J as UiButton,
752
+ yn as UiButtonIcon,
753
+ vn as UiButtonLink,
754
+ wn as UiError,
755
+ C as UiIcon,
756
+ kn as UiInput,
757
+ yt as UiLabel,
758
+ Se as UiLoader,
759
+ gn as UiPlank,
760
+ hn as UiText,
761
+ $n as UiTitle,
762
+ bn as injectSvgSprite
762
763
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@huntflow/ui",
3
3
  "description": "HuntFlow UiKit, icons, utils library",
4
4
  "private": false,
5
- "version": "0.2.6",
5
+ "version": "0.2.7",
6
6
  "author": {
7
7
  "name": "HuntFlow Developer",
8
8
  "nickname": "developer",
@@ -24,7 +24,7 @@
24
24
  "build": "npm run sprite && vue-tsc -b && vite build",
25
25
  "prepublishOnly": "npm run build",
26
26
  "preview": "vite preview",
27
- "storybook": "storybook dev -p 6006",
27
+ "storybook": "npm run tokens:generate && storybook dev -p 6006",
28
28
  "build-storybook": "storybook build",
29
29
  "lint": "eslint './src/**/*.{js,vue,ts}' --quiet",
30
30
  "format": "prettier --write './src/**/*.{css,html,md}'",
@@ -33,6 +33,7 @@
33
33
  "icons:update-list": "npx tsx utils/icon-list.ts",
34
34
  "visual:create": "npx tsx tests/screenshot-create.ts",
35
35
  "visual:compare": "npx tsx tests/compare-screenshots.ts",
36
+ "tokens:generate": "npx tsx utils/generate-tokens.ts",
36
37
  "sprite": "npx tsx utils/svg-sprite.ts",
37
38
  "prepare": "husky install",
38
39
  "prepush-checks": "npm run lint && npm run format && npm run stylelint"