@stenajs-webui/forms 19.0.0-next.49 → 19.0.0-next.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/labelled-select/LabelledSelect.d.ts +14 -0
- package/dist/components/ui/labelled-text-input/LabelledTextInput.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +444 -375
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.es.js
CHANGED
|
@@ -1,345 +1,345 @@
|
|
|
1
|
-
(function(){"use strict";try{var r=document.createElement("style");r.appendChild(document.createTextNode('._switch_1d6s8_1{--swui-switch-width: 50px;--swui-switch-height: var(--swui-field-box-size-medium);--swui-switch-animation-time: var(--swui-animation-time-medium);--swui-switch-selected-highlight-color: var(--lhds-color-blue-500);--swui-switch-knob-width: calc(var(--swui-switch-height) - 2px);--swui-switch-knob-bg-color-enabled: var(--swui-handle-bg-enabled-color);--swui-switch-knob-bg-color-disabled: var(--swui-handle-bg-disabled-color);--swui-switch-container-bg-color-enabled: var(--swui-field-bg-enabled);--swui-switch-container-bg-color-disabled: var(--swui-field-bg-disabled);--swui-switch-knob-border-color-enabled: var(--swui-separator-color);--swui-switch-container-border-color: var(--swui-field-border-color);--swui-switch-container-border-color-hover: var( --swui-field-border-color-hover );--swui-switch-container-border-color-disabled: var( --swui-field-border-color-disabled );--swui-switch-knob-shadow-color: var(--swui-field-shadow-color);display:flex;flex-direction:row;border:1px solid var(--swui-switch-container-border-color);box-sizing:border-box;background-color:var(--swui-switch-container-bg-color-enabled);height:var(--swui-switch-height);width:var(--swui-switch-width);border-radius:calc(var(--swui-switch-height) / 2);padding:0;margin:0;cursor:pointer;transition:background-color var(--swui-switch-animation-time)}._switch_1d6s8_1:focus{outline:0}._switch_1d6s8_1:focus-visible{outline:var(--swui-focus-outline);outline-offset:2px;border:1px solid var(--swui-switch-selected-highlight-color)}._switch_1d6s8_1:hover{border:1px solid var(--swui-switch-selected-highlight-color)}._switch_1d6s8_1:disabled{cursor:default;background-color:var(--swui-switch-container-bg-color-disabled);border:1px solid var(--swui-switch-container-border-color-disabled)}._switch_1d6s8_1:disabled ._knob_1d6s8_56{background-color:var(--swui-switch-knob-bg-color-disabled)}._switch_1d6s8_1 ._filler_1d6s8_61{flex:none;transition:flex var(--swui-switch-animation-time)}._switch_1d6s8_1 ._knob_1d6s8_56{width:var(--swui-switch-knob-width);height:var(--swui-switch-knob-width);border-radius:50%;background-color:var(--swui-switch-knob-bg-color-enabled);box-shadow:var(--swui-switch-knob-shadow-color) 0 0 4px 1px}._checked_1d6s8_75{border:1px solid var(--swui-switch-selected-highlight-color);background-color:var(--swui-switch-selected-highlight-color)}._checked_1d6s8_75 ._filler_1d6s8_61{flex:1}._checkbox_1ndou_1{--swui-checkbox-height: var(--swui-field-box-size-medium);--swui-checkbox-height-small: var(--swui-field-box-size-small);--swui-checkbox-border-radius: var(--swui-field-border-radius);--swui-checkbox-animation-time: var(--swui-animation-time-medium);--swui-checkbox-icon-color: var(--swui-field-indicator-active-color);--swui-checkbox-disabled-icon-color: var(--swui-text-disabled-color);--swui-checkbox-unchecked-icon-color: var( --swui-field-indicator-inactive-color );--swui-checkbox-unchecked-bg-color: var(--swui-white);--swui-checkbox-checked-bg-color: var(--lhds-color-blue-500);--swui-checkbox-disabled-bg-color: var(--swui-field-bg-disabled);--swui-checkbox-disabled-checked-bg-color: var(--swui-field-bg-disabled);--swui-checkbox-border-color: var(--swui-field-border-color);--swui-checkbox-border-hover-color: var(--swui-field-border-color-hover);--swui-checkbox-disabled-border-color: var(--swui-checkbox-disabled-bg-color);-webkit-appearance:none;-moz-appearance:none;border-radius:var(--swui-checkbox-border-radius);outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;cursor:pointer;border:1px solid var(--current-border-color, var(--swui-checkbox-border-color));background:var(--current-bg-color, var(--swui-checkbox-unchecked-bg-color));transition:background var(--swui-checkbox-animation-time),border-color var(--swui-checkbox-animation-time);flex-shrink:0}._checkbox_1ndou_1._standard_1ndou_39{width:var(--swui-checkbox-height);height:var(--swui-checkbox-height)}._checkbox_1ndou_1._standard_1ndou_39:after{width:3px;height:6px;left:9px;top:6px}._checkbox_1ndou_1._small_1ndou_51{width:var(--swui-checkbox-height-small);height:var(--swui-checkbox-height-small)}._checkbox_1ndou_1._small_1ndou_51:after{width:3px;height:6px;left:5px;top:2px}._checkbox_1ndou_1:after{content:"";display:block;position:absolute;transition:opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time),-webkit-transform var(--swui-checkbox-animation-time) var(--d-t-e, ease);transition:transform var(--swui-checkbox-animation-time) var(--d-t-e, ease),opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time);transition:transform var(--swui-checkbox-animation-time) var(--d-t-e, ease),opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time),-webkit-transform var(--swui-checkbox-animation-time) var(--d-t-e, ease);border:2px solid var( --current-checkbox-icon-color, var(--swui-checkbox-unchecked-icon-color) );border-top:0;border-left:0;-webkit-transform:rotate(var(--current-check-rotation, 20deg));transform:rotate(var(--current-check-rotation, 20deg));box-sizing:content-box}._checkbox_1ndou_1:checked{--current-check-rotation: 43deg;--current-bg-color: var(--swui-checkbox-checked-bg-color);--current-border-color: var(--swui-checkbox-checked-bg-color);--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}._checkbox_1ndou_1:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color)}._checkbox_1ndou_1:disabled:not(:checked){--current-bg-color: var(--swui-checkbox-disabled-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1ndou_1:disabled:not(:checked):after{--current-checkbox-icon-color: --swui-checkbox-unchecked-icon-color}._checkbox_1ndou_1:disabled:checked{--current-bg-color: var(--swui-checkbox-disabled-checked-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1ndou_1:disabled:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1ndou_1:indeterminate{--current-check-rotation: 43deg;--current-bg-color: var(--swui-checkbox-checked-bg-color);--current-border-color: var(--swui-checkbox-checked-bg-color);--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}._checkbox_1ndou_1:indeterminate:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color);border-right:0;-webkit-transform:rotate(0deg);transform:rotate(0);width:6px}._checkbox_1ndou_1:indeterminate._standard_1ndou_39:after{top:4px;left:8px}._checkbox_1ndou_1:indeterminate._small_1ndou_51:after{top:0;left:4px}._checkbox_1ndou_1:indeterminate:disabled:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1ndou_1:hover:not(:checked):not(:disabled){--current-border-color: var(--swui-checkbox-border-hover-color)}._checkbox_1ndou_1:focus-visible{outline:var(--swui-focus-outline)}._checkbox_1ndou_1+label{font-size:1.4rem;line-height:var(--swui-checkbox-height);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radiobutton_foy83_1{--swui-radiobutton-size-standard: var(--swui-field-box-size-medium);--swui-radiobutton-size-small: var(--swui-field-box-size-small);--swui-radiobutton-animation-time: var(--swui-animation-time-medium);--swui-radiobutton-icon-color: var(--swui-field-indicator-active-color);--swui-radiobutton-disabled-icon-color: var(--swui-field-text-color-disabled);--swui-radiobutton-unchecked-icon-color: var( --swui-field-indicator-inactive-color );--swui-radiobutton-checked-bg-color: var(--lhds-color-blue-500);--swui-radiobutton-checked-disabled-bg-color: var(--swui-field-bg-disabled);--swui-radiobutton-unchecked-bg-color: var(--swui-white);--swui-radiobutton-unchecked-disabled-bg-color: var(--swui-field-bg-disabled);--swui-radiobutton-unchecked-border-color: var(--swui-field-border-color);--swui-radiobutton-unchecked-hover-border-color: var( --swui-field-border-color-hover );--swui-radiobutton-disabled-border-color: var( --swui-radiobutton-checked-disabled-bg-color );-webkit-appearance:none;-moz-appearance:none;outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;flex:none;cursor:pointer;border:1px solid var(--current-border-color, var(--swui-radiobutton-unchecked-border-color));border-radius:50%;background:var( --current-bg-color, var(--swui-radiobutton-unchecked-bg-color) );transition:background var(--swui-radiobutton-animation-time),border-color var(--swui-radiobutton-animation-time)}._radiobutton_foy83_1._standard_foy83_45{height:var(--swui-radiobutton-size-standard);width:var(--swui-radiobutton-size-standard)}._radiobutton_foy83_1._standard_foy83_45:after{left:7px;top:7px}._radiobutton_foy83_1._small_foy83_55{height:var(--swui-radiobutton-size-small);width:var(--swui-radiobutton-size-small)}._radiobutton_foy83_1._small_foy83_55:after{left:3px;top:3px}._radiobutton_foy83_1:after{content:"";display:block;position:absolute;transition:opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),-webkit-transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);transition:transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);transition:transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),-webkit-transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);-webkit-transform:scale(var(--current-scale, 0));transform:scale(var(--current-scale, 0));width:8px;height:8px;border-radius:50%;background:var( --current-icon-color, var(--swui-radiobutton-unchecked-icon-color) );opacity:var(--current-opacity, 0)}._radiobutton_foy83_1:checked{--current-bg-color: var(--swui-radiobutton-checked-bg-color);--current-border-color: var(--swui-radiobutton-checked-bg-color);--current-opacity-time: var(--swui-radiobutton-animation-time);--current-transform-time: .6s;--current-transform-type: cubic-bezier(.2, .85, .32, 1.2);--current-opacity: 1;--current-scale: 1}._radiobutton_foy83_1:checked:after{--current-icon-color: var(--swui-radiobutton-icon-color)}._radiobutton_foy83_1:disabled{--current-bg-color: var(--swui-radiobutton-unchecked-disabled-bg-color);--current-border-color: var(--swui-radiobutton-disabled-border-color)}._radiobutton_foy83_1:disabled:checked{--current-bg-color: var(--swui-radiobutton-checked-disabled-bg-color)}._radiobutton_foy83_1:disabled:checked:after{--current-icon-color: var(--swui-radiobutton-disabled-icon-color)}._radiobutton_foy83_1:hover:not(:checked):not(:disabled){--current-border-color: var( --swui-radiobutton-unchecked-hover-border-color )}._radiobutton_foy83_1:focus-visible{outline:var(--swui-focus-outline)}._radiobutton_foy83_1+label{font-size:1.4rem;line-height:var(--swui-radiobutton-size-standard);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radioButtonBox_1h0yy_1{--swui-radio-button-box-background: var(--lhds-color-ui-200);--swui-radio-button-box-background-danger: var(--snackskal-light);--swui-radio-button-box-border-color: var(--snackskal-light);--swui-radio-button-box-border-color-hover: var(--hav);--swui-radio-button-box-border-color-danger: var(--snackskal-light);--swui-radio-button-box-border-color-danger-hover: var(--lhds-color-red-500);--current-border-color: var(--swui-radio-button-box-border-color);box-sizing:border-box;background-color:var(--swui-radio-button-box-background);position:relative;border:1px solid var(--current-border-color);width:100%;border-radius:16px;padding:var(--swui-metrics-space);font-size:var(--swui-font-size-inputs);align-items:center;display:flex;cursor:pointer;outline:none}._radioButtonBox_1h0yy_1:hover{--current-border-color: var(--swui-radio-button-box-border-color-hover)}._radioButtonBox_1h0yy_1._danger_1h0yy_29{background-color:var(--swui-radio-button-box-background-danger);--current-border-color: var(--swui-radio-button-box-border-color-danger)}._radioButtonBox_1h0yy_1._danger_1h0yy_29:hover{--current-border-color: var( --swui-radio-button-box-border-color-danger-hover )}@media (max-width: 768px){._radioButtonWrapper_1h0yy_42{width:100%}}._textInput_axgdw_1{display:flex;height:36px;width:100%;align-items:center;background:var(--swui-field-bg-enabled);border:1px solid var(--swui-field-border-color);border-radius:var(--swui-field-border-radius);outline:none}._textInput_axgdw_1._textInput_axgdw_1:focus-within:not(._disabled_axgdw_11){outline:var(--swui-focus-outline);border-color:transparent}._textInput_axgdw_1 ._input_axgdw_16{letter-spacing:var(--swui-field-letter-spacing);line-height:var(--swui-field-text-line-height);width:100%;padding:2px var(--swui-metrics-indent);color:var(--swui-field-text-color);font-size:var(--swui-font-size-inputs);font-family:var(--swui-font-input);font-weight:var(--swui-font-weight-inputs);background:var(--swui-hidden);border:none;min-width:0;margin:0;outline:none}._textInput_axgdw_1 ._input_axgdw_16:disabled{color:var(--swui-field-text-color-disabled)}._textInput_axgdw_1 ._input_axgdw_16::-webkit-input-placeholder{color:var(--swui-field-placeholder-color);font-weight:var(--swui-field-placeholder-font-weight)}._textInput_axgdw_1 ._input_axgdw_16::placeholder{color:var(--swui-field-placeholder-color);font-weight:var(--swui-field-placeholder-font-weight)}._textInput_axgdw_1 ._input_axgdw_16:focus::-webkit-input-placeholder{opacity:0}._textInput_axgdw_1 ._input_axgdw_16:focus::placeholder{opacity:0}._textInput_axgdw_1 ._input_axgdw_16::-webkit-calendar-picker-indicator{display:none}._textInput_axgdw_1 ._icon_axgdw_49{transition:color var(--swui-animation-time-medium);color:var(--swui-field-icon-color);font-size:var(--swui-field-icon-size)}._textInput_axgdw_1._standard_axgdw_59:hover:not(:focus-within):not(._disabled_axgdw_11),._textInput_axgdw_1._success_axgdw_60:hover:not(:focus-within):not(._disabled_axgdw_11){border-color:var(--swui-field-border-color-hover)}._textInput_axgdw_1._success_axgdw_60 ._icon_axgdw_49{color:var(--swui-state-success-color)}._textInput_axgdw_1._loading_axgdw_72{background:var(--swui-state-loading-light-color);border-color:var(--swui-state-loading-color)}._textInput_axgdw_1._modified_axgdw_77{background:var(--swui-state-modified-light-color);border-color:var(--swui-state-modified-light-color)}._textInput_axgdw_1._modified_axgdw_77 ._icon_axgdw_49{color:var(--lhds-color-blue-300)}._textInput_axgdw_1._error_axgdw_86{background:var(--swui-state-error-light-color);border-color:var(--swui-state-error-light-color)}._textInput_axgdw_1._error_axgdw_86 ._icon_axgdw_49{color:var(--swui-state-error-light-color)}._textInput_axgdw_1._warning_axgdw_95{background:var(--swui-state-alert-light-color);border-color:var(--swui-state-alert-light-color)}._textInput_axgdw_1._warning_axgdw_95 ._icon_axgdw_49{color:var(--swui-state-alert-light-color)}._textInput_axgdw_1._disabled_axgdw_11{background:var(--swui-field-bg-disabled);border-color:var(--swui-field-bg-disabled)}._textInput_axgdw_1._textInput_axgdw_1._hideBorder_axgdw_109{border:none;box-shadow:none;background:none;outline:none}._textInput_axgdw_1 ._clickable_axgdw_116:hover{cursor:pointer}._textInput_axgdw_1 ._clickable_axgdw_116:hover ._icon_axgdw_49{color:var(--swui-primary-action-color)}._numericTextInputInput_1tnr6_1{-moz-appearance:textfield}._numericTextInputInput_1tnr6_1::-webkit-outer-spin-button,._numericTextInputInput_1tnr6_1::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._textInputButton_t6d0j_1{border:none;outline:none;width:30px;height:30px;display:flex;border-radius:var(--swui-border-radius-small);justify-content:center;align-items:center;background:transparent;cursor:pointer}._textInputButton_t6d0j_1._normal_t6d0j_13:hover{background:var(--himmel-lighter)}._textInputButton_t6d0j_1._normal_t6d0j_13:active{background:var(--himmel)}._textInputButton_t6d0j_1._normal_t6d0j_13 ._icon_t6d0j_22{color:var(--core-blue)}._textInputButton_t6d0j_1._error_t6d0j_27:hover{background:var(--snackskal-light)}._textInputButton_t6d0j_1._error_t6d0j_27:active{background:var(--snackskal)}._textInputButton_t6d0j_1._error_t6d0j_27 ._icon_t6d0j_22{color:var(--modern-red)}._textInputButton_t6d0j_1:focus-visible{outline:var(--swui-focus-outline)}._labelledTextInput_lnht8_1{position:relative;background:var(--moln);overflow:hidden;cursor:text;border:1px solid var(--silver-light);border-radius:var(--swui-border-radius)}._labelledTextInput_lnht8_1 input{outline:none;border:none;margin:0;color:var(--swui-text-primary-color);background-color:transparent;line-height:var(--swui-line-height);width:100%;box-sizing:border-box;cursor:text}._labelledTextInput_lnht8_1._labelledTextInput_lnht8_1._onlyTop_lnht8_21{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledTextInput_lnht8_1._labelledTextInput_lnht8_1._onlyBottom_lnht8_27{border-top-left-radius:0;border-top-right-radius:0}._labelledTextInput_lnht8_1:focus-within{outline:var(--swui-focus-outline);outline-offset:-1px;border-color:transparent}._labelledTextInput_lnht8_1:hover:not(:focus-within){border-color:var(--hav)}._labelledTextInput_lnht8_1._disabled_lnht8_42{background-color:var(--silver-lighter)}._labelledTextInput_lnht8_1._disabled_lnht8_42 input{color:var(--silver)}._labelledTextInput_lnht8_1._medium_lnht8_50:focus-within{outline-width:2px}._labelledTextInput_lnht8_1._medium_lnht8_50 input{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * 4) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledTextInput_lnht8_1._large_lnht8_62{border-radius:var(--swui-border-radius-large)}._labelledTextInput_lnht8_1._large_lnht8_62:focus-within{outline-width:3px}._labelledTextInput_lnht8_1._large_lnht8_62 input{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledTextInput_lnht8_1._error_lnht8_76{border-color:var(--swui-state-error-light-color)}._labelledTextInput_lnht8_1._error_lnht8_76:hover:not(:focus-within){border-color:var(--modern-red)}._labelledTextInput_lnht8_1._error_lnht8_76 input{background-color:var(--swui-state-error-light-color)}._labelledTextInput_lnht8_1 label{display:flex;position:absolute;top:var(--swui-metrics-space);left:calc(var(--swui-metrics-space) * 2);cursor:text}._textArea_6n6nc_1{--swui-textarea-text-color: var(--swui-field-text-color);--swui-textarea-text-color-disabled: var(--swui-field-text-color-disabled);--swui-textarea-letter-spacing: var(--swui-field-letter-spacing);--swui-textarea-line-height: var(--swui-field-text-line-height);--swui-textarea-indent: var(--swui-metrics-indent);--swui-textarea-font-size: var(--swui-font-size-inputs);--swui-textarea-font-family: var(--swui-font-input);--swui-textarea-font-weight: var(--swui-font-weight-inputs);--swui-textarea-placeholder-color: var(--swui-text-disabled-color);--swui-textarea-animation-time: var(--swui-animation-time-medium);--swui-textarea-icon-color: var(--swui-field-border-color-disabled);--swui-textarea-icon-size: var(--swui-field-icon-size);--swui-textarea-icon-color-success: var(--swui-state-success-color);--swui-textarea-bg-loading: var(--swui-state-loading-light-color);--swui-textarea-border-color-loading: var(--swui-state-loading-color);--swui-textarea-bg-modified: var(--swui-state-modified-light-color);--swui-textarea-border-color-modified: var(--swui-state-modified-color);--swui-textarea-bg-warning: var(--swui-state-alert-light-color);--swui-textarea-border-color-warning: var(--swui-state-alert-color);--swui-textarea-bg-error: var(--swui-state-error-light-color);--swui-textarea-border-color-error: var(--swui-state-error-color);--swui-textarea-bg-color: var(--swui-field-bg-enabled);--swui-textarea-bg-color-disabled: var(--swui-field-bg-disabled);--swui-textarea-border-radius: var(--swui-field-border-radius);--swui-textarea-border-color: var(--swui-field-border-color);--swui-textarea-border-color-hover: var(--swui-field-border-color-hover);--swui-textarea-border-color-disabled: var( --swui-field-border-color-disabled );max-width:100%;letter-spacing:var(--swui-textarea-letter-spacing);line-height:var(--swui-textarea-line-height);padding:2px var(--swui-textarea-indent);color:var(--swui-textarea-text-color);font-size:var(--swui-textarea-font-size);font-family:var(--swui-textarea-font-family);font-weight:var(--swui-textarea-font-weight);background:var(--current-bg, var(--swui-textarea-bg-color));border:1px solid var(--current-border-color, var(--swui-textarea-border-color));border-radius:var(--swui-textarea-border-radius);transition:border var(--swui-textarea-animation-time);--current-icon-color: var(--swui-textarea-icon-color)}._textArea_6n6nc_1:focus:not(:focus-visible){outline:none}._textArea_6n6nc_1:focus{--current-border-color: var(--swui-textarea-border-color-hover);--current-bg: var(--swui-textarea-bg-color)}._textArea_6n6nc_1:focus-visible{outline:var(--swui-focus-outline)}._textArea_6n6nc_1:disabled{color:var(--swui-textarea-text-color-disabled);--current-bg: var(--swui-textarea-bg-color-disabled);--current-border-color: var(--swui-textarea-border-color-disabled)}')),document.head.appendChild(r)}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
import { jsx as o, jsxs as
|
|
3
|
-
import { Box as
|
|
4
|
-
import * as
|
|
5
|
-
import { forwardRef as P, useRef as U, useCallback as
|
|
6
|
-
import
|
|
7
|
-
import { Icon as
|
|
8
|
-
import { FontAwesomeIcon as
|
|
9
|
-
import { cssColor as
|
|
10
|
-
const
|
|
1
|
+
(function(){"use strict";try{var r=document.createElement("style");r.appendChild(document.createTextNode('._switch_1d6s8_1{--swui-switch-width: 50px;--swui-switch-height: var(--swui-field-box-size-medium);--swui-switch-animation-time: var(--swui-animation-time-medium);--swui-switch-selected-highlight-color: var(--lhds-color-blue-500);--swui-switch-knob-width: calc(var(--swui-switch-height) - 2px);--swui-switch-knob-bg-color-enabled: var(--swui-handle-bg-enabled-color);--swui-switch-knob-bg-color-disabled: var(--swui-handle-bg-disabled-color);--swui-switch-container-bg-color-enabled: var(--swui-field-bg-enabled);--swui-switch-container-bg-color-disabled: var(--swui-field-bg-disabled);--swui-switch-knob-border-color-enabled: var(--swui-separator-color);--swui-switch-container-border-color: var(--swui-field-border-color);--swui-switch-container-border-color-hover: var( --swui-field-border-color-hover );--swui-switch-container-border-color-disabled: var( --swui-field-border-color-disabled );--swui-switch-knob-shadow-color: var(--swui-field-shadow-color);display:flex;flex-direction:row;border:1px solid var(--swui-switch-container-border-color);box-sizing:border-box;background-color:var(--swui-switch-container-bg-color-enabled);height:var(--swui-switch-height);width:var(--swui-switch-width);border-radius:calc(var(--swui-switch-height) / 2);padding:0;margin:0;cursor:pointer;transition:background-color var(--swui-switch-animation-time)}._switch_1d6s8_1:focus{outline:0}._switch_1d6s8_1:focus-visible{outline:var(--swui-focus-outline);outline-offset:2px;border:1px solid var(--swui-switch-selected-highlight-color)}._switch_1d6s8_1:hover{border:1px solid var(--swui-switch-selected-highlight-color)}._switch_1d6s8_1:disabled{cursor:default;background-color:var(--swui-switch-container-bg-color-disabled);border:1px solid var(--swui-switch-container-border-color-disabled)}._switch_1d6s8_1:disabled ._knob_1d6s8_56{background-color:var(--swui-switch-knob-bg-color-disabled)}._switch_1d6s8_1 ._filler_1d6s8_61{flex:none;transition:flex var(--swui-switch-animation-time)}._switch_1d6s8_1 ._knob_1d6s8_56{width:var(--swui-switch-knob-width);height:var(--swui-switch-knob-width);border-radius:50%;background-color:var(--swui-switch-knob-bg-color-enabled);box-shadow:var(--swui-switch-knob-shadow-color) 0 0 4px 1px}._checked_1d6s8_75{border:1px solid var(--swui-switch-selected-highlight-color);background-color:var(--swui-switch-selected-highlight-color)}._checked_1d6s8_75 ._filler_1d6s8_61{flex:1}._checkbox_1ndou_1{--swui-checkbox-height: var(--swui-field-box-size-medium);--swui-checkbox-height-small: var(--swui-field-box-size-small);--swui-checkbox-border-radius: var(--swui-field-border-radius);--swui-checkbox-animation-time: var(--swui-animation-time-medium);--swui-checkbox-icon-color: var(--swui-field-indicator-active-color);--swui-checkbox-disabled-icon-color: var(--swui-text-disabled-color);--swui-checkbox-unchecked-icon-color: var( --swui-field-indicator-inactive-color );--swui-checkbox-unchecked-bg-color: var(--swui-white);--swui-checkbox-checked-bg-color: var(--lhds-color-blue-500);--swui-checkbox-disabled-bg-color: var(--swui-field-bg-disabled);--swui-checkbox-disabled-checked-bg-color: var(--swui-field-bg-disabled);--swui-checkbox-border-color: var(--swui-field-border-color);--swui-checkbox-border-hover-color: var(--swui-field-border-color-hover);--swui-checkbox-disabled-border-color: var(--swui-checkbox-disabled-bg-color);-webkit-appearance:none;-moz-appearance:none;border-radius:var(--swui-checkbox-border-radius);outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;cursor:pointer;border:1px solid var(--current-border-color, var(--swui-checkbox-border-color));background:var(--current-bg-color, var(--swui-checkbox-unchecked-bg-color));transition:background var(--swui-checkbox-animation-time),border-color var(--swui-checkbox-animation-time);flex-shrink:0}._checkbox_1ndou_1._standard_1ndou_39{width:var(--swui-checkbox-height);height:var(--swui-checkbox-height)}._checkbox_1ndou_1._standard_1ndou_39:after{width:3px;height:6px;left:9px;top:6px}._checkbox_1ndou_1._small_1ndou_51{width:var(--swui-checkbox-height-small);height:var(--swui-checkbox-height-small)}._checkbox_1ndou_1._small_1ndou_51:after{width:3px;height:6px;left:5px;top:2px}._checkbox_1ndou_1:after{content:"";display:block;position:absolute;transition:opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time),-webkit-transform var(--swui-checkbox-animation-time) var(--d-t-e, ease);transition:transform var(--swui-checkbox-animation-time) var(--d-t-e, ease),opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time);transition:transform var(--swui-checkbox-animation-time) var(--d-t-e, ease),opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time),-webkit-transform var(--swui-checkbox-animation-time) var(--d-t-e, ease);border:2px solid var( --current-checkbox-icon-color, var(--swui-checkbox-unchecked-icon-color) );border-top:0;border-left:0;-webkit-transform:rotate(var(--current-check-rotation, 20deg));transform:rotate(var(--current-check-rotation, 20deg));box-sizing:content-box}._checkbox_1ndou_1:checked{--current-check-rotation: 43deg;--current-bg-color: var(--swui-checkbox-checked-bg-color);--current-border-color: var(--swui-checkbox-checked-bg-color);--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}._checkbox_1ndou_1:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color)}._checkbox_1ndou_1:disabled:not(:checked){--current-bg-color: var(--swui-checkbox-disabled-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1ndou_1:disabled:not(:checked):after{--current-checkbox-icon-color: --swui-checkbox-unchecked-icon-color}._checkbox_1ndou_1:disabled:checked{--current-bg-color: var(--swui-checkbox-disabled-checked-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1ndou_1:disabled:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1ndou_1:indeterminate{--current-check-rotation: 43deg;--current-bg-color: var(--swui-checkbox-checked-bg-color);--current-border-color: var(--swui-checkbox-checked-bg-color);--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}._checkbox_1ndou_1:indeterminate:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color);border-right:0;-webkit-transform:rotate(0deg);transform:rotate(0);width:6px}._checkbox_1ndou_1:indeterminate._standard_1ndou_39:after{top:4px;left:8px}._checkbox_1ndou_1:indeterminate._small_1ndou_51:after{top:0;left:4px}._checkbox_1ndou_1:indeterminate:disabled:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1ndou_1:hover:not(:checked):not(:disabled){--current-border-color: var(--swui-checkbox-border-hover-color)}._checkbox_1ndou_1:focus-visible{outline:var(--swui-focus-outline)}._checkbox_1ndou_1+label{font-size:1.4rem;line-height:var(--swui-checkbox-height);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radiobutton_foy83_1{--swui-radiobutton-size-standard: var(--swui-field-box-size-medium);--swui-radiobutton-size-small: var(--swui-field-box-size-small);--swui-radiobutton-animation-time: var(--swui-animation-time-medium);--swui-radiobutton-icon-color: var(--swui-field-indicator-active-color);--swui-radiobutton-disabled-icon-color: var(--swui-field-text-color-disabled);--swui-radiobutton-unchecked-icon-color: var( --swui-field-indicator-inactive-color );--swui-radiobutton-checked-bg-color: var(--lhds-color-blue-500);--swui-radiobutton-checked-disabled-bg-color: var(--swui-field-bg-disabled);--swui-radiobutton-unchecked-bg-color: var(--swui-white);--swui-radiobutton-unchecked-disabled-bg-color: var(--swui-field-bg-disabled);--swui-radiobutton-unchecked-border-color: var(--swui-field-border-color);--swui-radiobutton-unchecked-hover-border-color: var( --swui-field-border-color-hover );--swui-radiobutton-disabled-border-color: var( --swui-radiobutton-checked-disabled-bg-color );-webkit-appearance:none;-moz-appearance:none;outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;flex:none;cursor:pointer;border:1px solid var(--current-border-color, var(--swui-radiobutton-unchecked-border-color));border-radius:50%;background:var( --current-bg-color, var(--swui-radiobutton-unchecked-bg-color) );transition:background var(--swui-radiobutton-animation-time),border-color var(--swui-radiobutton-animation-time)}._radiobutton_foy83_1._standard_foy83_45{height:var(--swui-radiobutton-size-standard);width:var(--swui-radiobutton-size-standard)}._radiobutton_foy83_1._standard_foy83_45:after{left:7px;top:7px}._radiobutton_foy83_1._small_foy83_55{height:var(--swui-radiobutton-size-small);width:var(--swui-radiobutton-size-small)}._radiobutton_foy83_1._small_foy83_55:after{left:3px;top:3px}._radiobutton_foy83_1:after{content:"";display:block;position:absolute;transition:opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),-webkit-transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);transition:transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);transition:transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),-webkit-transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);-webkit-transform:scale(var(--current-scale, 0));transform:scale(var(--current-scale, 0));width:8px;height:8px;border-radius:50%;background:var( --current-icon-color, var(--swui-radiobutton-unchecked-icon-color) );opacity:var(--current-opacity, 0)}._radiobutton_foy83_1:checked{--current-bg-color: var(--swui-radiobutton-checked-bg-color);--current-border-color: var(--swui-radiobutton-checked-bg-color);--current-opacity-time: var(--swui-radiobutton-animation-time);--current-transform-time: .6s;--current-transform-type: cubic-bezier(.2, .85, .32, 1.2);--current-opacity: 1;--current-scale: 1}._radiobutton_foy83_1:checked:after{--current-icon-color: var(--swui-radiobutton-icon-color)}._radiobutton_foy83_1:disabled{--current-bg-color: var(--swui-radiobutton-unchecked-disabled-bg-color);--current-border-color: var(--swui-radiobutton-disabled-border-color)}._radiobutton_foy83_1:disabled:checked{--current-bg-color: var(--swui-radiobutton-checked-disabled-bg-color)}._radiobutton_foy83_1:disabled:checked:after{--current-icon-color: var(--swui-radiobutton-disabled-icon-color)}._radiobutton_foy83_1:hover:not(:checked):not(:disabled){--current-border-color: var( --swui-radiobutton-unchecked-hover-border-color )}._radiobutton_foy83_1:focus-visible{outline:var(--swui-focus-outline)}._radiobutton_foy83_1+label{font-size:1.4rem;line-height:var(--swui-radiobutton-size-standard);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radioButtonBox_1h0yy_1{--swui-radio-button-box-background: var(--lhds-color-ui-200);--swui-radio-button-box-background-danger: var(--snackskal-light);--swui-radio-button-box-border-color: var(--snackskal-light);--swui-radio-button-box-border-color-hover: var(--hav);--swui-radio-button-box-border-color-danger: var(--snackskal-light);--swui-radio-button-box-border-color-danger-hover: var(--lhds-color-red-500);--current-border-color: var(--swui-radio-button-box-border-color);box-sizing:border-box;background-color:var(--swui-radio-button-box-background);position:relative;border:1px solid var(--current-border-color);width:100%;border-radius:16px;padding:var(--swui-metrics-space);font-size:var(--swui-font-size-inputs);align-items:center;display:flex;cursor:pointer;outline:none}._radioButtonBox_1h0yy_1:hover{--current-border-color: var(--swui-radio-button-box-border-color-hover)}._radioButtonBox_1h0yy_1._danger_1h0yy_29{background-color:var(--swui-radio-button-box-background-danger);--current-border-color: var(--swui-radio-button-box-border-color-danger)}._radioButtonBox_1h0yy_1._danger_1h0yy_29:hover{--current-border-color: var( --swui-radio-button-box-border-color-danger-hover )}@media (max-width: 768px){._radioButtonWrapper_1h0yy_42{width:100%}}._textInput_axgdw_1{display:flex;height:36px;width:100%;align-items:center;background:var(--swui-field-bg-enabled);border:1px solid var(--swui-field-border-color);border-radius:var(--swui-field-border-radius);outline:none}._textInput_axgdw_1._textInput_axgdw_1:focus-within:not(._disabled_axgdw_11){outline:var(--swui-focus-outline);border-color:transparent}._textInput_axgdw_1 ._input_axgdw_16{letter-spacing:var(--swui-field-letter-spacing);line-height:var(--swui-field-text-line-height);width:100%;padding:2px var(--swui-metrics-indent);color:var(--swui-field-text-color);font-size:var(--swui-font-size-inputs);font-family:var(--swui-font-input);font-weight:var(--swui-font-weight-inputs);background:var(--swui-hidden);border:none;min-width:0;margin:0;outline:none}._textInput_axgdw_1 ._input_axgdw_16:disabled{color:var(--swui-field-text-color-disabled)}._textInput_axgdw_1 ._input_axgdw_16::-webkit-input-placeholder{color:var(--swui-field-placeholder-color);font-weight:var(--swui-field-placeholder-font-weight)}._textInput_axgdw_1 ._input_axgdw_16::placeholder{color:var(--swui-field-placeholder-color);font-weight:var(--swui-field-placeholder-font-weight)}._textInput_axgdw_1 ._input_axgdw_16:focus::-webkit-input-placeholder{opacity:0}._textInput_axgdw_1 ._input_axgdw_16:focus::placeholder{opacity:0}._textInput_axgdw_1 ._input_axgdw_16::-webkit-calendar-picker-indicator{display:none}._textInput_axgdw_1 ._icon_axgdw_49{transition:color var(--swui-animation-time-medium);color:var(--swui-field-icon-color);font-size:var(--swui-field-icon-size)}._textInput_axgdw_1._standard_axgdw_59:hover:not(:focus-within):not(._disabled_axgdw_11),._textInput_axgdw_1._success_axgdw_60:hover:not(:focus-within):not(._disabled_axgdw_11){border-color:var(--swui-field-border-color-hover)}._textInput_axgdw_1._success_axgdw_60 ._icon_axgdw_49{color:var(--swui-state-success-color)}._textInput_axgdw_1._loading_axgdw_72{background:var(--swui-state-loading-light-color);border-color:var(--swui-state-loading-color)}._textInput_axgdw_1._modified_axgdw_77{background:var(--swui-state-modified-light-color);border-color:var(--swui-state-modified-light-color)}._textInput_axgdw_1._modified_axgdw_77 ._icon_axgdw_49{color:var(--lhds-color-blue-300)}._textInput_axgdw_1._error_axgdw_86{background:var(--swui-state-error-light-color);border-color:var(--swui-state-error-light-color)}._textInput_axgdw_1._error_axgdw_86 ._icon_axgdw_49{color:var(--swui-state-error-light-color)}._textInput_axgdw_1._warning_axgdw_95{background:var(--swui-state-alert-light-color);border-color:var(--swui-state-alert-light-color)}._textInput_axgdw_1._warning_axgdw_95 ._icon_axgdw_49{color:var(--swui-state-alert-light-color)}._textInput_axgdw_1._disabled_axgdw_11{background:var(--swui-field-bg-disabled);border-color:var(--swui-field-bg-disabled)}._textInput_axgdw_1._textInput_axgdw_1._hideBorder_axgdw_109{border:none;box-shadow:none;background:none;outline:none}._textInput_axgdw_1 ._clickable_axgdw_116:hover{cursor:pointer}._textInput_axgdw_1 ._clickable_axgdw_116:hover ._icon_axgdw_49{color:var(--swui-primary-action-color)}._numericTextInputInput_1tnr6_1{-moz-appearance:textfield}._numericTextInputInput_1tnr6_1::-webkit-outer-spin-button,._numericTextInputInput_1tnr6_1::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._textInputButton_t6d0j_1{border:none;outline:none;width:30px;height:30px;display:flex;border-radius:var(--swui-border-radius-small);justify-content:center;align-items:center;background:transparent;cursor:pointer}._textInputButton_t6d0j_1._normal_t6d0j_13:hover{background:var(--himmel-lighter)}._textInputButton_t6d0j_1._normal_t6d0j_13:active{background:var(--himmel)}._textInputButton_t6d0j_1._normal_t6d0j_13 ._icon_t6d0j_22{color:var(--core-blue)}._textInputButton_t6d0j_1._error_t6d0j_27:hover{background:var(--snackskal-light)}._textInputButton_t6d0j_1._error_t6d0j_27:active{background:var(--snackskal)}._textInputButton_t6d0j_1._error_t6d0j_27 ._icon_t6d0j_22{color:var(--modern-red)}._textInputButton_t6d0j_1:focus-visible{outline:var(--swui-focus-outline)}._labelledSelect_1evxo_1{border:1px solid var(--swui-field-border-color);border-radius:var(--swui-border-radius-large);position:relative;overflow:hidden;cursor:pointer}._labelledSelect_1evxo_1._labelledSelect_1evxo_1._onlyTopBorder_1evxo_8{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledSelect_1evxo_1._onlyBottomBorder_1evxo_14{border-top-left-radius:0;border-top-right-radius:0}._labelledSelect_1evxo_1._error_1evxo_19{border-color:var(--snackskal);background-color:var(--snackskal)}._labelledSelect_1evxo_1._normal_1evxo_24{border-color:var(--swui-field-border-color);background-color:var(--moln)}._labelledSelect_1evxo_1._labelledSelect_1evxo_1:focus-within{border-color:var(--swui-field-border-color-hover);outline:var(--swui-focus-outline);outline-offset:0;z-index:10}._labelledSelect_1evxo_1._labelledSelect_1evxo_1:hover{border-color:var(--swui-field-border-color-hover)}._labelledSelect_1evxo_1 ._label_1evxo_1{display:flex;position:absolute;top:var(--swui-metrics-space);left:calc(var(--swui-metrics-space) * 2);cursor:pointer}._labelledSelect_1evxo_1 ._select_1evxo_48{color:var(--swui-text-primary-color);display:block;margin:0;width:100%;-webkit-appearance:none;appearance:none;border:none;outline:none;font-size:var(--swui-font-size-inputs-large);line-height:1.5;box-sizing:border-box;cursor:pointer;padding:calc(var(--swui-metrics-space) * 5) calc(var(--swui-metrics-space) * 8) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledSelect_1evxo_1 ._select_1evxo_48._error_1evxo_19{background-color:var(--snackskal)}._labelledSelect_1evxo_1 ._select_1evxo_48._normal_1evxo_24{background-color:var(--moln)}._labelledSelect_1evxo_1 ._iconWrapper_1evxo_73{border-radius:var(--swui-max-border-radius);width:40px;height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:0;bottom:0;right:calc(var(--swui-metrics-space) * 2);margin-top:auto;margin-bottom:auto;padding:0;background:var(--silver-lighter);pointer-events:none}._labelledTextInput_lnht8_1{position:relative;background:var(--moln);overflow:hidden;cursor:text;border:1px solid var(--silver-light);border-radius:var(--swui-border-radius)}._labelledTextInput_lnht8_1 input{outline:none;border:none;margin:0;color:var(--swui-text-primary-color);background-color:transparent;line-height:var(--swui-line-height);width:100%;box-sizing:border-box;cursor:text}._labelledTextInput_lnht8_1._labelledTextInput_lnht8_1._onlyTop_lnht8_21{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledTextInput_lnht8_1._labelledTextInput_lnht8_1._onlyBottom_lnht8_27{border-top-left-radius:0;border-top-right-radius:0}._labelledTextInput_lnht8_1:focus-within{outline:var(--swui-focus-outline);outline-offset:-1px;border-color:transparent}._labelledTextInput_lnht8_1:hover:not(:focus-within){border-color:var(--hav)}._labelledTextInput_lnht8_1._disabled_lnht8_42{background-color:var(--silver-lighter)}._labelledTextInput_lnht8_1._disabled_lnht8_42 input{color:var(--silver)}._labelledTextInput_lnht8_1._medium_lnht8_50:focus-within{outline-width:2px}._labelledTextInput_lnht8_1._medium_lnht8_50 input{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * 4) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledTextInput_lnht8_1._large_lnht8_62{border-radius:var(--swui-border-radius-large)}._labelledTextInput_lnht8_1._large_lnht8_62:focus-within{outline-width:3px}._labelledTextInput_lnht8_1._large_lnht8_62 input{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledTextInput_lnht8_1._error_lnht8_76{border-color:var(--swui-state-error-light-color)}._labelledTextInput_lnht8_1._error_lnht8_76:hover:not(:focus-within){border-color:var(--modern-red)}._labelledTextInput_lnht8_1._error_lnht8_76 input{background-color:var(--swui-state-error-light-color)}._labelledTextInput_lnht8_1 label{display:flex;position:absolute;top:var(--swui-metrics-space);left:calc(var(--swui-metrics-space) * 2);cursor:text}._textArea_6n6nc_1{--swui-textarea-text-color: var(--swui-field-text-color);--swui-textarea-text-color-disabled: var(--swui-field-text-color-disabled);--swui-textarea-letter-spacing: var(--swui-field-letter-spacing);--swui-textarea-line-height: var(--swui-field-text-line-height);--swui-textarea-indent: var(--swui-metrics-indent);--swui-textarea-font-size: var(--swui-font-size-inputs);--swui-textarea-font-family: var(--swui-font-input);--swui-textarea-font-weight: var(--swui-font-weight-inputs);--swui-textarea-placeholder-color: var(--swui-text-disabled-color);--swui-textarea-animation-time: var(--swui-animation-time-medium);--swui-textarea-icon-color: var(--swui-field-border-color-disabled);--swui-textarea-icon-size: var(--swui-field-icon-size);--swui-textarea-icon-color-success: var(--swui-state-success-color);--swui-textarea-bg-loading: var(--swui-state-loading-light-color);--swui-textarea-border-color-loading: var(--swui-state-loading-color);--swui-textarea-bg-modified: var(--swui-state-modified-light-color);--swui-textarea-border-color-modified: var(--swui-state-modified-color);--swui-textarea-bg-warning: var(--swui-state-alert-light-color);--swui-textarea-border-color-warning: var(--swui-state-alert-color);--swui-textarea-bg-error: var(--swui-state-error-light-color);--swui-textarea-border-color-error: var(--swui-state-error-color);--swui-textarea-bg-color: var(--swui-field-bg-enabled);--swui-textarea-bg-color-disabled: var(--swui-field-bg-disabled);--swui-textarea-border-radius: var(--swui-field-border-radius);--swui-textarea-border-color: var(--swui-field-border-color);--swui-textarea-border-color-hover: var(--swui-field-border-color-hover);--swui-textarea-border-color-disabled: var( --swui-field-border-color-disabled );max-width:100%;letter-spacing:var(--swui-textarea-letter-spacing);line-height:var(--swui-textarea-line-height);padding:2px var(--swui-textarea-indent);color:var(--swui-textarea-text-color);font-size:var(--swui-textarea-font-size);font-family:var(--swui-textarea-font-family);font-weight:var(--swui-textarea-font-weight);background:var(--current-bg, var(--swui-textarea-bg-color));border:1px solid var(--current-border-color, var(--swui-textarea-border-color));border-radius:var(--swui-textarea-border-radius);transition:border var(--swui-textarea-animation-time);--current-icon-color: var(--swui-textarea-icon-color)}._textArea_6n6nc_1:focus:not(:focus-visible){outline:none}._textArea_6n6nc_1:focus{--current-border-color: var(--swui-textarea-border-color-hover);--current-bg: var(--swui-textarea-bg-color)}._textArea_6n6nc_1:focus-visible{outline:var(--swui-focus-outline)}._textArea_6n6nc_1:disabled{color:var(--swui-textarea-text-color-disabled);--current-bg: var(--swui-textarea-bg-color-disabled);--current-border-color: var(--swui-textarea-border-color-disabled)}')),document.head.appendChild(r)}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import { jsx as o, jsxs as m, Fragment as N } from "react/jsx-runtime";
|
|
3
|
+
import { Box as ft, Space as y, Text as v, Row as k, ScreenReaderOnlyText as O, parseFloatElseUndefined as j, getDataProps as mt } from "@stenajs-webui/core";
|
|
4
|
+
import * as xt from "react";
|
|
5
|
+
import { forwardRef as P, useRef as U, useCallback as I, useEffect as D, useMemo as ht, useState as bt, useId as E } from "react";
|
|
6
|
+
import h from "classnames";
|
|
7
|
+
import { Icon as F, stenaCheck as G, stenaExclamationTriangle as X, InputSpinner as q, UpDownButtons as yt, stenaEyeShow as wt, stenaEyeHide as It, stenaAngleDown as gt } from "@stenajs-webui/elements";
|
|
8
|
+
import { FontAwesomeIcon as Bt } from "@fortawesome/react-fontawesome";
|
|
9
|
+
import { cssColor as J } from "@stenajs-webui/theme";
|
|
10
|
+
const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75", R = {
|
|
11
11
|
switch: "_switch_1d6s8_1",
|
|
12
|
-
knob:
|
|
13
|
-
filler:
|
|
14
|
-
checked:
|
|
15
|
-
},
|
|
12
|
+
knob: Tt,
|
|
13
|
+
filler: kt,
|
|
14
|
+
checked: St
|
|
15
|
+
}, Nt = `${R.switch} ${R.checked}`, Rt = ({
|
|
16
16
|
value: t,
|
|
17
|
-
disabled:
|
|
18
|
-
onValueChange:
|
|
19
|
-
className:
|
|
17
|
+
disabled: e,
|
|
18
|
+
onValueChange: r,
|
|
19
|
+
className: n,
|
|
20
20
|
wrapperRef: c,
|
|
21
21
|
...s
|
|
22
|
-
}) => /* @__PURE__ */ o("div", { className:
|
|
22
|
+
}) => /* @__PURE__ */ o("div", { className: n, ref: c, children: /* @__PURE__ */ m(
|
|
23
23
|
"button",
|
|
24
24
|
{
|
|
25
25
|
type: "button",
|
|
26
26
|
role: "switch",
|
|
27
27
|
"aria-checked": t,
|
|
28
|
-
className: t ?
|
|
29
|
-
disabled:
|
|
30
|
-
onClick: () =>
|
|
28
|
+
className: t ? Nt : R.switch,
|
|
29
|
+
disabled: e,
|
|
30
|
+
onClick: () => r && r(!t),
|
|
31
31
|
...s,
|
|
32
32
|
children: [
|
|
33
33
|
/* @__PURE__ */ o("div", { className: R.filler }),
|
|
34
34
|
/* @__PURE__ */ o("div", { className: R.knob })
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
|
-
) }),
|
|
37
|
+
) }), je = ({
|
|
38
38
|
label: t,
|
|
39
|
-
disabled:
|
|
40
|
-
textColor:
|
|
41
|
-
wrapperRef:
|
|
39
|
+
disabled: e,
|
|
40
|
+
textColor: r,
|
|
41
|
+
wrapperRef: n,
|
|
42
42
|
...c
|
|
43
|
-
}) => /* @__PURE__ */ o("div", { ref:
|
|
44
|
-
/* @__PURE__ */ o(
|
|
43
|
+
}) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(ft, { row: !0, alignItems: "center", children: [
|
|
44
|
+
/* @__PURE__ */ o(Rt, { disabled: e, ...c }),
|
|
45
45
|
/* @__PURE__ */ o(y, {}),
|
|
46
|
-
/* @__PURE__ */ o(
|
|
47
|
-
] }) }) }),
|
|
48
|
-
checkbox:
|
|
49
|
-
standard:
|
|
50
|
-
small:
|
|
51
|
-
},
|
|
46
|
+
/* @__PURE__ */ o(v, { userSelect: "none", color: r, children: t })
|
|
47
|
+
] }) }) }), vt = "_checkbox_1ndou_1", $t = "_standard_1ndou_39", At = "_small_1ndou_51", K = {
|
|
48
|
+
checkbox: vt,
|
|
49
|
+
standard: $t,
|
|
50
|
+
small: At
|
|
51
|
+
}, Ht = P(
|
|
52
52
|
({
|
|
53
53
|
indeterminate: t = !1,
|
|
54
|
-
onChange:
|
|
55
|
-
onValueChange:
|
|
56
|
-
value:
|
|
54
|
+
onChange: e,
|
|
55
|
+
onValueChange: r,
|
|
56
|
+
value: n = !1,
|
|
57
57
|
size: c = "standard",
|
|
58
58
|
className: s,
|
|
59
59
|
...l
|
|
60
|
-
},
|
|
60
|
+
}, d) => {
|
|
61
61
|
const i = U(), f = (_) => {
|
|
62
|
-
i.current = _, i.current && (i.current.indeterminate = Boolean(t)),
|
|
63
|
-
}, p =
|
|
62
|
+
i.current = _, i.current && (i.current.indeterminate = Boolean(t)), d && (typeof d == "function" ? d(_) : d.current = _);
|
|
63
|
+
}, p = I(
|
|
64
64
|
(_) => {
|
|
65
|
-
|
|
65
|
+
e && e(_), r && r(_.target.checked);
|
|
66
66
|
},
|
|
67
|
-
[
|
|
67
|
+
[e, r]
|
|
68
68
|
);
|
|
69
|
-
return
|
|
69
|
+
return D(() => {
|
|
70
70
|
i.current && (i.current.indeterminate = Boolean(t));
|
|
71
71
|
}, [t, i]), /* @__PURE__ */ o(
|
|
72
72
|
"input",
|
|
73
73
|
{
|
|
74
74
|
type: "checkbox",
|
|
75
|
-
className:
|
|
76
|
-
checked:
|
|
75
|
+
className: h(K.checkbox, K[c], s),
|
|
76
|
+
checked: n,
|
|
77
77
|
onChange: p,
|
|
78
78
|
ref: f,
|
|
79
79
|
...l
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
82
|
}
|
|
83
|
-
),
|
|
83
|
+
), Pe = ({
|
|
84
84
|
children: t,
|
|
85
|
-
label:
|
|
86
|
-
inputRef:
|
|
87
|
-
wrapperRef:
|
|
85
|
+
label: e,
|
|
86
|
+
inputRef: r,
|
|
87
|
+
wrapperRef: n,
|
|
88
88
|
textColor: c,
|
|
89
89
|
...s
|
|
90
|
-
}) => /* @__PURE__ */ o("div", { ref:
|
|
91
|
-
/* @__PURE__ */ o(
|
|
90
|
+
}) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
|
|
91
|
+
/* @__PURE__ */ o(Ht, { ...s, ref: r }),
|
|
92
92
|
/* @__PURE__ */ o(y, {}),
|
|
93
|
-
|
|
93
|
+
e && /* @__PURE__ */ o(v, { userSelect: "none", color: c, children: e }),
|
|
94
94
|
t
|
|
95
|
-
] }) }) }),
|
|
96
|
-
radiobutton:
|
|
97
|
-
standard:
|
|
98
|
-
small:
|
|
99
|
-
},
|
|
100
|
-
({ onChange: t, onValueChange:
|
|
101
|
-
const l =
|
|
102
|
-
(
|
|
103
|
-
t && t(
|
|
95
|
+
] }) }) }), Wt = "_radiobutton_foy83_1", jt = "_standard_foy83_45", Pt = "_small_foy83_55", M = {
|
|
96
|
+
radiobutton: Wt,
|
|
97
|
+
standard: jt,
|
|
98
|
+
small: Pt
|
|
99
|
+
}, Q = P(
|
|
100
|
+
({ onChange: t, onValueChange: e, size: r = "standard", name: n, ...c }, s) => {
|
|
101
|
+
const l = I(
|
|
102
|
+
(d) => {
|
|
103
|
+
t && t(d), e && e(d.target.value);
|
|
104
104
|
},
|
|
105
|
-
[t,
|
|
105
|
+
[t, e]
|
|
106
106
|
);
|
|
107
107
|
return /* @__PURE__ */ o(
|
|
108
108
|
"input",
|
|
109
109
|
{
|
|
110
110
|
type: "radio",
|
|
111
|
-
name:
|
|
112
|
-
className:
|
|
111
|
+
name: n,
|
|
112
|
+
className: M.radiobutton + " " + M[r],
|
|
113
113
|
onChange: l,
|
|
114
114
|
ref: s,
|
|
115
115
|
...c
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
),
|
|
120
|
-
radioButtonBox:
|
|
121
|
-
danger:
|
|
122
|
-
radioButtonWrapper:
|
|
123
|
-
},
|
|
119
|
+
), Ut = "_radioButtonBox_1h0yy_1", Ft = "_danger_1h0yy_29", Lt = "_radioButtonWrapper_1h0yy_42", z = {
|
|
120
|
+
radioButtonBox: Ut,
|
|
121
|
+
danger: Ft,
|
|
122
|
+
radioButtonWrapper: Lt
|
|
123
|
+
}, Ue = ({
|
|
124
124
|
label: t,
|
|
125
|
-
screenReaderLabel:
|
|
126
|
-
variant:
|
|
127
|
-
icon:
|
|
125
|
+
screenReaderLabel: e,
|
|
126
|
+
variant: r = "normal",
|
|
127
|
+
icon: n,
|
|
128
128
|
className: c,
|
|
129
129
|
style: s,
|
|
130
130
|
...l
|
|
131
131
|
}) => /* @__PURE__ */ o(
|
|
132
132
|
"label",
|
|
133
133
|
{
|
|
134
|
-
className:
|
|
134
|
+
className: h(z.radioButtonBox, z[r], c),
|
|
135
135
|
style: s,
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */ o(
|
|
136
|
+
children: /* @__PURE__ */ m(k, { justifyContent: "space-between", flexGrow: 1, children: [
|
|
137
|
+
/* @__PURE__ */ m(k, { alignItems: "center", children: [
|
|
138
|
+
/* @__PURE__ */ o(Q, { ...l }),
|
|
139
139
|
/* @__PURE__ */ o(y, {}),
|
|
140
|
-
|
|
141
|
-
/* @__PURE__ */ o(
|
|
140
|
+
e ? /* @__PURE__ */ o(O, { children: e }) : null,
|
|
141
|
+
/* @__PURE__ */ o(v, { "aria-hidden": Boolean(e), children: t })
|
|
142
142
|
] }),
|
|
143
|
-
/* @__PURE__ */ o(k, { alignItems: "center", width: "48px", justifyContent: "center", children:
|
|
143
|
+
/* @__PURE__ */ o(k, { alignItems: "center", width: "48px", justifyContent: "center", children: n && /* @__PURE__ */ o(F, { icon: n, size: 24 }) })
|
|
144
144
|
] })
|
|
145
145
|
}
|
|
146
|
-
),
|
|
146
|
+
), Fe = ({
|
|
147
147
|
label: t,
|
|
148
|
-
inputRef:
|
|
149
|
-
wrapperRef:
|
|
150
|
-
textColor:
|
|
148
|
+
inputRef: e,
|
|
149
|
+
wrapperRef: r,
|
|
150
|
+
textColor: n,
|
|
151
151
|
...c
|
|
152
|
-
}) => /* @__PURE__ */ o("div", { ref:
|
|
153
|
-
/* @__PURE__ */ o(
|
|
152
|
+
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
|
|
153
|
+
/* @__PURE__ */ o(Q, { ref: e, ...c }),
|
|
154
154
|
/* @__PURE__ */ o(y, {}),
|
|
155
|
-
/* @__PURE__ */ o(
|
|
156
|
-
] }) }) }),
|
|
157
|
-
const i = U(!1), f = (
|
|
155
|
+
/* @__PURE__ */ o(v, { color: n, userSelect: "none", children: t })
|
|
156
|
+
] }) }) }), Kt = (t, e, r, n, c, s, l, d) => {
|
|
157
|
+
const i = U(!1), f = (a) => {
|
|
158
158
|
var u;
|
|
159
|
-
i.current || s == null || s((u =
|
|
160
|
-
}, p = (
|
|
161
|
-
i.current = !1,
|
|
159
|
+
i.current || s == null || s((u = a.target.value) != null ? u : ""), l == null || l(a);
|
|
160
|
+
}, p = (a) => {
|
|
161
|
+
i.current = !1, d == null || d(a);
|
|
162
162
|
};
|
|
163
163
|
return {
|
|
164
|
-
onKeyDownHandler:
|
|
165
|
-
(
|
|
166
|
-
var
|
|
167
|
-
const { key: u } =
|
|
164
|
+
onKeyDownHandler: I(
|
|
165
|
+
(a) => {
|
|
166
|
+
var b;
|
|
167
|
+
const { key: u } = a;
|
|
168
168
|
if (u === "Enter")
|
|
169
|
-
i.current = !0,
|
|
169
|
+
i.current = !0, r == null || r(), s == null || s((b = a.currentTarget.value) != null ? b : "");
|
|
170
170
|
else if (u === "Escape")
|
|
171
|
-
i.current = !0,
|
|
171
|
+
i.current = !0, n == null || n(), a.preventDefault(), a.stopPropagation();
|
|
172
172
|
else if (c) {
|
|
173
|
-
const
|
|
174
|
-
i.current = !0, t.current.blur(), c(
|
|
173
|
+
const x = (g, B) => {
|
|
174
|
+
i.current = !0, t.current.blur(), c(g), B.preventDefault(), B.stopPropagation();
|
|
175
175
|
};
|
|
176
|
-
|
|
176
|
+
a.shiftKey && u === "Tab" ? x("left", a) : u === "Tab" ? x("right", a) : u === "ArrowUp" ? x("up", a) : u === "ArrowDown" ? x("down", a) : u === "ArrowRight" ? t.current.value.length === t.current.selectionStart && x("right", a) : u === "ArrowLeft" && t.current.selectionStart === 0 && x("left", a);
|
|
177
177
|
}
|
|
178
|
-
|
|
178
|
+
e && e(a);
|
|
179
179
|
},
|
|
180
|
-
[
|
|
180
|
+
[n, c, e, t, r, s]
|
|
181
181
|
),
|
|
182
182
|
onBlurHandler: f,
|
|
183
183
|
onFocusHandler: p
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
function
|
|
186
|
+
function Mt(t) {
|
|
187
187
|
return t.tagName === "TEXTAREA" || t.tagName === "INPUT" && (t.type === "text" || t.type === "search" || t.type === "url" || t.type === "tel" || t.type === "password");
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
|
|
191
|
-
!t.current || !
|
|
189
|
+
const zt = (t, e, r) => {
|
|
190
|
+
D(() => {
|
|
191
|
+
!t.current || !Mt(t.current) || (r ? t.current.setSelectionRange(0, t.current.value.length) : e && t.current.setSelectionRange(
|
|
192
192
|
t.current.value.length,
|
|
193
193
|
t.current.value.length
|
|
194
194
|
));
|
|
195
|
-
}, [
|
|
196
|
-
},
|
|
197
|
-
onEnter:
|
|
198
|
-
onEsc:
|
|
199
|
-
onChange:
|
|
195
|
+
}, [e, t, r]);
|
|
196
|
+
}, Ot = (t, {
|
|
197
|
+
onEnter: e,
|
|
198
|
+
onEsc: r,
|
|
199
|
+
onChange: n,
|
|
200
200
|
onValueChange: c,
|
|
201
201
|
selectAllOnMount: s,
|
|
202
202
|
moveCursorToEndOnMount: l,
|
|
203
|
-
onDone:
|
|
203
|
+
onDone: d,
|
|
204
204
|
onMove: i,
|
|
205
205
|
onFocus: f,
|
|
206
206
|
onBlur: p,
|
|
207
207
|
onKeyDown: _,
|
|
208
|
-
autoFocus:
|
|
208
|
+
autoFocus: a
|
|
209
209
|
}) => {
|
|
210
|
-
|
|
211
|
-
const { onKeyDownHandler: u, onFocusHandler:
|
|
210
|
+
zt(t, !!l, !!s);
|
|
211
|
+
const { onKeyDownHandler: u, onFocusHandler: b, onBlurHandler: x } = Kt(
|
|
212
212
|
t,
|
|
213
213
|
_,
|
|
214
|
-
n,
|
|
215
214
|
e,
|
|
215
|
+
r,
|
|
216
216
|
i,
|
|
217
|
-
|
|
217
|
+
d,
|
|
218
218
|
p,
|
|
219
219
|
f
|
|
220
|
-
),
|
|
221
|
-
(
|
|
222
|
-
|
|
220
|
+
), g = I(
|
|
221
|
+
(B) => {
|
|
222
|
+
n == null || n(B), c == null || c(B.target.value);
|
|
223
223
|
},
|
|
224
|
-
[
|
|
224
|
+
[n, c]
|
|
225
225
|
);
|
|
226
226
|
return {
|
|
227
|
-
onBlur:
|
|
228
|
-
onChange:
|
|
229
|
-
onFocus:
|
|
227
|
+
onBlur: x,
|
|
228
|
+
onChange: g,
|
|
229
|
+
onFocus: b,
|
|
230
230
|
onKeyDown: u,
|
|
231
|
-
autoFocus: s ||
|
|
231
|
+
autoFocus: s || a
|
|
232
232
|
};
|
|
233
|
-
},
|
|
234
|
-
textInput:
|
|
235
|
-
disabled:
|
|
236
|
-
input:
|
|
237
|
-
icon:
|
|
238
|
-
standard:
|
|
239
|
-
success:
|
|
240
|
-
loading:
|
|
241
|
-
modified:
|
|
242
|
-
error:
|
|
243
|
-
warning:
|
|
244
|
-
hideBorder:
|
|
245
|
-
clickable:
|
|
233
|
+
}, Dt = "_textInput_axgdw_1", Et = "_disabled_axgdw_11", Gt = "_input_axgdw_16", Xt = "_icon_axgdw_49", qt = "_standard_axgdw_59", Jt = "_success_axgdw_60", Qt = "_loading_axgdw_72", Yt = "_modified_axgdw_77", Zt = "_error_axgdw_86", Ct = "_warning_axgdw_95", Vt = "_hideBorder_axgdw_109", te = "_clickable_axgdw_116", w = {
|
|
234
|
+
textInput: Dt,
|
|
235
|
+
disabled: Et,
|
|
236
|
+
input: Gt,
|
|
237
|
+
icon: Xt,
|
|
238
|
+
standard: qt,
|
|
239
|
+
success: Jt,
|
|
240
|
+
loading: Qt,
|
|
241
|
+
modified: Yt,
|
|
242
|
+
error: Zt,
|
|
243
|
+
warning: Ct,
|
|
244
|
+
hideBorder: Vt,
|
|
245
|
+
clickable: te
|
|
246
246
|
}, $ = ({
|
|
247
247
|
button: t,
|
|
248
|
-
icon:
|
|
249
|
-
iconClassName:
|
|
250
|
-
content:
|
|
248
|
+
icon: e,
|
|
249
|
+
iconClassName: r,
|
|
250
|
+
content: n,
|
|
251
251
|
spaceOnLeft: c,
|
|
252
252
|
spaceOnRight: s,
|
|
253
253
|
disableContentPadding: l,
|
|
254
|
-
disableContentPaddingLeft:
|
|
254
|
+
disableContentPaddingLeft: d,
|
|
255
255
|
disableContentPaddingRight: i
|
|
256
|
-
}) => !
|
|
256
|
+
}) => !n && !e && !t ? null : t ? /* @__PURE__ */ m(N, { children: [
|
|
257
257
|
c ? /* @__PURE__ */ o(y, { num: 0.25 }) : null,
|
|
258
258
|
t,
|
|
259
259
|
s ? /* @__PURE__ */ o(y, { num: 0.25 }) : null
|
|
260
|
-
] }) :
|
|
261
|
-
c && !(l ||
|
|
262
|
-
|
|
260
|
+
] }) : n ? /* @__PURE__ */ m(N, { children: [
|
|
261
|
+
c && !(l || d) ? /* @__PURE__ */ o(y, {}) : null,
|
|
262
|
+
n || null,
|
|
263
263
|
s && !(l || i) ? /* @__PURE__ */ o(y, {}) : null
|
|
264
|
-
] }) : /* @__PURE__ */
|
|
264
|
+
] }) : /* @__PURE__ */ m(N, { children: [
|
|
265
265
|
c ? /* @__PURE__ */ o(y, {}) : null,
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
e && /* @__PURE__ */ o(
|
|
267
|
+
Bt,
|
|
268
268
|
{
|
|
269
|
-
icon:
|
|
270
|
-
className:
|
|
269
|
+
icon: e,
|
|
270
|
+
className: h(w.icon, r)
|
|
271
271
|
}
|
|
272
272
|
),
|
|
273
273
|
s ? /* @__PURE__ */ o(y, {}) : null
|
|
274
|
-
] }),
|
|
274
|
+
] }), Y = (t) => {
|
|
275
275
|
const {
|
|
276
|
-
variant:
|
|
277
|
-
inputRef:
|
|
278
|
-
disabled:
|
|
276
|
+
variant: e = "standard",
|
|
277
|
+
inputRef: r,
|
|
278
|
+
disabled: n,
|
|
279
279
|
className: c,
|
|
280
280
|
buttonLeft: s,
|
|
281
281
|
buttonRight: l,
|
|
282
|
-
contentLeft:
|
|
282
|
+
contentLeft: d,
|
|
283
283
|
contentRight: i,
|
|
284
284
|
disableContentPadding: f,
|
|
285
285
|
disableContentPaddingLeft: p,
|
|
286
286
|
disableContentPaddingRight: _,
|
|
287
|
-
iconLeft:
|
|
287
|
+
iconLeft: a,
|
|
288
288
|
iconRight: u,
|
|
289
|
-
moveCursorToEndOnMount:
|
|
290
|
-
selectAllOnMount:
|
|
291
|
-
autoFocus:
|
|
292
|
-
onValueChange:
|
|
293
|
-
wrapperClassName:
|
|
294
|
-
wrapperStyle:
|
|
295
|
-
onDone:
|
|
296
|
-
onEnter:
|
|
297
|
-
onEsc:
|
|
298
|
-
onMove:
|
|
299
|
-
onChange:
|
|
300
|
-
onKeyDown:
|
|
301
|
-
hideBorder:
|
|
302
|
-
onFocus:
|
|
303
|
-
onBlur:
|
|
304
|
-
...
|
|
305
|
-
} = t,
|
|
306
|
-
onEnter:
|
|
307
|
-
onEsc:
|
|
308
|
-
onChange:
|
|
309
|
-
onValueChange:
|
|
310
|
-
selectAllOnMount:
|
|
311
|
-
moveCursorToEndOnMount:
|
|
312
|
-
onDone:
|
|
313
|
-
onMove:
|
|
314
|
-
onFocus:
|
|
315
|
-
onBlur:
|
|
316
|
-
onKeyDown:
|
|
317
|
-
autoFocus:
|
|
318
|
-
}),
|
|
319
|
-
return /* @__PURE__ */
|
|
289
|
+
moveCursorToEndOnMount: b,
|
|
290
|
+
selectAllOnMount: x,
|
|
291
|
+
autoFocus: g,
|
|
292
|
+
onValueChange: B,
|
|
293
|
+
wrapperClassName: C,
|
|
294
|
+
wrapperStyle: V,
|
|
295
|
+
onDone: tt,
|
|
296
|
+
onEnter: et,
|
|
297
|
+
onEsc: nt,
|
|
298
|
+
onMove: rt,
|
|
299
|
+
onChange: ot,
|
|
300
|
+
onKeyDown: ct,
|
|
301
|
+
hideBorder: st,
|
|
302
|
+
onFocus: lt,
|
|
303
|
+
onBlur: it,
|
|
304
|
+
...at
|
|
305
|
+
} = t, dt = U(null), L = r != null ? r : dt, ut = Ot(L, {
|
|
306
|
+
onEnter: et,
|
|
307
|
+
onEsc: nt,
|
|
308
|
+
onChange: ot,
|
|
309
|
+
onValueChange: B,
|
|
310
|
+
selectAllOnMount: x,
|
|
311
|
+
moveCursorToEndOnMount: b,
|
|
312
|
+
onDone: tt,
|
|
313
|
+
onMove: rt,
|
|
314
|
+
onFocus: lt,
|
|
315
|
+
onBlur: it,
|
|
316
|
+
onKeyDown: ct,
|
|
317
|
+
autoFocus: g
|
|
318
|
+
}), _t = e === "success" ? G : e === "warning" || e === "error" ? X : u, pt = e === "loading" ? /* @__PURE__ */ o(q, {}) : i;
|
|
319
|
+
return /* @__PURE__ */ m(
|
|
320
320
|
"div",
|
|
321
321
|
{
|
|
322
|
-
className:
|
|
322
|
+
className: h(
|
|
323
323
|
w.textInput,
|
|
324
|
-
w[
|
|
324
|
+
w[e],
|
|
325
325
|
{
|
|
326
|
-
[w.disabled]:
|
|
326
|
+
[w.disabled]: n
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
[w.hideBorder]:
|
|
329
|
+
[w.hideBorder]: st
|
|
330
330
|
},
|
|
331
|
-
|
|
331
|
+
C
|
|
332
332
|
),
|
|
333
|
-
style:
|
|
333
|
+
style: V,
|
|
334
334
|
children: [
|
|
335
335
|
/* @__PURE__ */ o(
|
|
336
336
|
$,
|
|
337
337
|
{
|
|
338
|
-
content:
|
|
338
|
+
content: d,
|
|
339
339
|
disableContentPadding: f,
|
|
340
340
|
disableContentPaddingLeft: p,
|
|
341
341
|
disableContentPaddingRight: _,
|
|
342
|
-
icon:
|
|
342
|
+
icon: a,
|
|
343
343
|
spaceOnLeft: !0,
|
|
344
344
|
button: s
|
|
345
345
|
}
|
|
@@ -347,23 +347,23 @@ const Ft = (t, n, e) => {
|
|
|
347
347
|
/* @__PURE__ */ o(
|
|
348
348
|
"input",
|
|
349
349
|
{
|
|
350
|
-
className:
|
|
350
|
+
className: h(w.input, c),
|
|
351
351
|
type: "text",
|
|
352
|
-
disabled:
|
|
353
|
-
ref:
|
|
354
|
-
autoFocus:
|
|
355
|
-
...
|
|
356
|
-
...
|
|
352
|
+
disabled: n,
|
|
353
|
+
ref: L,
|
|
354
|
+
autoFocus: g,
|
|
355
|
+
...at,
|
|
356
|
+
...ut
|
|
357
357
|
}
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ o(
|
|
360
360
|
$,
|
|
361
361
|
{
|
|
362
|
-
content:
|
|
362
|
+
content: pt,
|
|
363
363
|
disableContentPadding: f,
|
|
364
364
|
disableContentPaddingLeft: p,
|
|
365
365
|
disableContentPaddingRight: _,
|
|
366
|
-
icon:
|
|
366
|
+
icon: _t,
|
|
367
367
|
spaceOnRight: !0,
|
|
368
368
|
button: l
|
|
369
369
|
}
|
|
@@ -371,71 +371,71 @@ const Ft = (t, n, e) => {
|
|
|
371
371
|
]
|
|
372
372
|
}
|
|
373
373
|
);
|
|
374
|
-
},
|
|
375
|
-
numericTextInputInput:
|
|
376
|
-
},
|
|
374
|
+
}, ee = "_numericTextInputInput_1tnr6_1", ne = {
|
|
375
|
+
numericTextInputInput: ee
|
|
376
|
+
}, re = ({
|
|
377
377
|
onValueChange: t,
|
|
378
|
-
value:
|
|
379
|
-
numSteps:
|
|
380
|
-
min:
|
|
378
|
+
value: e,
|
|
379
|
+
numSteps: r,
|
|
380
|
+
min: n,
|
|
381
381
|
max: c
|
|
382
382
|
}) => {
|
|
383
383
|
if (t)
|
|
384
|
-
if (!
|
|
385
|
-
t(String(H(
|
|
384
|
+
if (!e)
|
|
385
|
+
t(String(H(r, n, c)));
|
|
386
386
|
else {
|
|
387
|
-
const l = (
|
|
388
|
-
t(String(H(l,
|
|
387
|
+
const l = (j(e) || 0) + r;
|
|
388
|
+
t(String(H(l, n, c)));
|
|
389
389
|
}
|
|
390
|
-
},
|
|
390
|
+
}, oe = ({
|
|
391
391
|
onValueChange: t,
|
|
392
|
-
newValue:
|
|
393
|
-
min:
|
|
394
|
-
max:
|
|
392
|
+
newValue: e,
|
|
393
|
+
min: r,
|
|
394
|
+
max: n
|
|
395
395
|
}) => {
|
|
396
396
|
if (t)
|
|
397
|
-
if (
|
|
397
|
+
if (e === "")
|
|
398
398
|
t("");
|
|
399
399
|
else {
|
|
400
|
-
const s =
|
|
401
|
-
t(String(H(s,
|
|
400
|
+
const s = j(e) || 0;
|
|
401
|
+
t(String(H(s, r, n)));
|
|
402
402
|
}
|
|
403
|
-
}, H = (t,
|
|
404
|
-
let
|
|
405
|
-
return
|
|
406
|
-
},
|
|
403
|
+
}, H = (t, e, r) => {
|
|
404
|
+
let n = t;
|
|
405
|
+
return e != null && (n = Math.max(e, n)), r != null && (n = Math.min(r, n)), n;
|
|
406
|
+
}, Le = ({
|
|
407
407
|
value: t,
|
|
408
|
-
onValueChange:
|
|
409
|
-
max:
|
|
410
|
-
min:
|
|
408
|
+
onValueChange: e,
|
|
409
|
+
max: r,
|
|
410
|
+
min: n,
|
|
411
411
|
step: c = 1,
|
|
412
412
|
contentRight: s,
|
|
413
413
|
disabled: l,
|
|
414
|
-
className:
|
|
414
|
+
className: d,
|
|
415
415
|
hideButtons: i,
|
|
416
416
|
...f
|
|
417
417
|
}) => {
|
|
418
|
-
const p =
|
|
418
|
+
const p = I(
|
|
419
419
|
(u) => {
|
|
420
|
-
|
|
420
|
+
re({ onValueChange: e, value: t, numSteps: u, min: n, max: r });
|
|
421
421
|
},
|
|
422
|
-
[t,
|
|
423
|
-
), _ =
|
|
422
|
+
[t, r, n, e]
|
|
423
|
+
), _ = I(
|
|
424
424
|
(u) => {
|
|
425
|
-
|
|
425
|
+
oe({ onValueChange: e, newValue: u, min: n, max: r });
|
|
426
426
|
},
|
|
427
|
-
[
|
|
427
|
+
[r, n, e]
|
|
428
428
|
);
|
|
429
429
|
return /* @__PURE__ */ o(
|
|
430
|
-
|
|
430
|
+
Y,
|
|
431
431
|
{
|
|
432
|
-
contentRight: i ? s : /* @__PURE__ */
|
|
433
|
-
s && /* @__PURE__ */
|
|
432
|
+
contentRight: i ? s : /* @__PURE__ */ m(N, { children: [
|
|
433
|
+
s && /* @__PURE__ */ m(N, { children: [
|
|
434
434
|
s,
|
|
435
435
|
/* @__PURE__ */ o(y, {})
|
|
436
436
|
] }),
|
|
437
437
|
/* @__PURE__ */ o(
|
|
438
|
-
|
|
438
|
+
yt,
|
|
439
439
|
{
|
|
440
440
|
onClickUp: l ? void 0 : () => p(c),
|
|
441
441
|
onClickDown: l ? void 0 : () => p(-c),
|
|
@@ -448,155 +448,223 @@ const Ft = (t, n, e) => {
|
|
|
448
448
|
onValueChange: _,
|
|
449
449
|
disableContentPaddingRight: !i,
|
|
450
450
|
type: "number",
|
|
451
|
-
min:
|
|
452
|
-
max:
|
|
451
|
+
min: n,
|
|
452
|
+
max: r,
|
|
453
453
|
step: c,
|
|
454
|
-
className:
|
|
454
|
+
className: h(ne.numericTextInputInput, d),
|
|
455
455
|
disabled: l,
|
|
456
456
|
...f
|
|
457
457
|
}
|
|
458
458
|
);
|
|
459
|
-
},
|
|
460
|
-
const
|
|
459
|
+
}, Ke = (t, e) => {
|
|
460
|
+
const r = I(
|
|
461
461
|
(c) => {
|
|
462
|
-
if (
|
|
462
|
+
if (e)
|
|
463
463
|
if (!c)
|
|
464
|
-
|
|
464
|
+
e(void 0);
|
|
465
465
|
else {
|
|
466
|
-
const s =
|
|
467
|
-
s !== void 0 &&
|
|
466
|
+
const s = j(c);
|
|
467
|
+
s !== void 0 && e(s);
|
|
468
468
|
}
|
|
469
469
|
},
|
|
470
|
-
[
|
|
471
|
-
),
|
|
470
|
+
[e]
|
|
471
|
+
), n = ht(() => t === void 0 ? "" : String(t), [t]);
|
|
472
472
|
return {
|
|
473
|
-
onValueChange:
|
|
474
|
-
value:
|
|
473
|
+
onValueChange: r,
|
|
474
|
+
value: n
|
|
475
475
|
};
|
|
476
|
-
},
|
|
477
|
-
textInputButton:
|
|
478
|
-
normal:
|
|
479
|
-
icon:
|
|
480
|
-
error:
|
|
481
|
-
},
|
|
476
|
+
}, ce = "_textInputButton_t6d0j_1", se = "_normal_t6d0j_13", le = "_icon_t6d0j_22", ie = "_error_t6d0j_27", A = {
|
|
477
|
+
textInputButton: ce,
|
|
478
|
+
normal: se,
|
|
479
|
+
icon: le,
|
|
480
|
+
error: ie
|
|
481
|
+
}, W = ({
|
|
482
482
|
variant: t = "normal",
|
|
483
|
-
icon:
|
|
484
|
-
className:
|
|
485
|
-
...
|
|
483
|
+
icon: e,
|
|
484
|
+
className: r,
|
|
485
|
+
...n
|
|
486
486
|
}) => /* @__PURE__ */ o(
|
|
487
487
|
"button",
|
|
488
488
|
{
|
|
489
|
-
...
|
|
490
|
-
className:
|
|
491
|
-
children: /* @__PURE__ */ o(
|
|
489
|
+
...n,
|
|
490
|
+
className: h(A.textInputButton, A[t], r),
|
|
491
|
+
children: /* @__PURE__ */ o(F, { icon: e, size: 20, className: A.icon })
|
|
492
492
|
}
|
|
493
|
-
),
|
|
494
|
-
hiddenIcon: t =
|
|
495
|
-
visibleIcon:
|
|
496
|
-
...
|
|
493
|
+
), Me = ({
|
|
494
|
+
hiddenIcon: t = wt,
|
|
495
|
+
visibleIcon: e = It,
|
|
496
|
+
...r
|
|
497
497
|
}) => {
|
|
498
|
-
const [
|
|
498
|
+
const [n, c] = bt(!0);
|
|
499
499
|
return /* @__PURE__ */ o(
|
|
500
|
-
|
|
500
|
+
Y,
|
|
501
501
|
{
|
|
502
502
|
buttonRight: /* @__PURE__ */ o(
|
|
503
|
-
|
|
503
|
+
W,
|
|
504
504
|
{
|
|
505
|
-
icon:
|
|
505
|
+
icon: n ? t : e,
|
|
506
506
|
onClick: () => c((s) => !s)
|
|
507
507
|
}
|
|
508
508
|
),
|
|
509
|
-
type:
|
|
510
|
-
...
|
|
509
|
+
type: n ? "password" : "text",
|
|
510
|
+
...r
|
|
511
511
|
}
|
|
512
512
|
);
|
|
513
|
-
},
|
|
513
|
+
}, ae = ({
|
|
514
514
|
disabled: t,
|
|
515
|
-
text:
|
|
516
|
-
...
|
|
515
|
+
text: e,
|
|
516
|
+
...r
|
|
517
517
|
}) => /* @__PURE__ */ o(
|
|
518
|
-
|
|
518
|
+
v,
|
|
519
519
|
{
|
|
520
520
|
variant: "bold",
|
|
521
|
-
color:
|
|
521
|
+
color: J(t ? "--silver" : "--tjara"),
|
|
522
522
|
size: "small",
|
|
523
|
-
...
|
|
524
|
-
children:
|
|
523
|
+
...mt(r),
|
|
524
|
+
children: e
|
|
525
525
|
}
|
|
526
|
-
),
|
|
526
|
+
), Z = ({
|
|
527
527
|
htmlFor: t,
|
|
528
|
-
screenReaderLabel:
|
|
529
|
-
label:
|
|
530
|
-
disabled:
|
|
528
|
+
screenReaderLabel: e,
|
|
529
|
+
label: r,
|
|
530
|
+
disabled: n,
|
|
531
531
|
className: c
|
|
532
|
-
}) => /* @__PURE__ */
|
|
533
|
-
|
|
532
|
+
}) => /* @__PURE__ */ m("label", { htmlFor: t, className: c, children: [
|
|
533
|
+
e ? /* @__PURE__ */ o(O, { children: e }) : null,
|
|
534
534
|
/* @__PURE__ */ o(
|
|
535
|
-
|
|
535
|
+
ae,
|
|
536
536
|
{
|
|
537
|
-
"aria-hidden": Boolean(
|
|
538
|
-
text:
|
|
539
|
-
disabled:
|
|
537
|
+
"aria-hidden": Boolean(e),
|
|
538
|
+
text: r,
|
|
539
|
+
disabled: n
|
|
540
540
|
}
|
|
541
541
|
)
|
|
542
|
-
] }),
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
542
|
+
] }), de = "_labelledSelect_1evxo_1", ue = "_onlyTopBorder_1evxo_8", _e = "_onlyBottomBorder_1evxo_14", pe = "_error_1evxo_19", fe = "_normal_1evxo_24", me = "_label_1evxo_1", xe = "_select_1evxo_48", he = "_iconWrapper_1evxo_73", T = {
|
|
543
|
+
labelledSelect: de,
|
|
544
|
+
onlyTopBorder: ue,
|
|
545
|
+
onlyBottomBorder: _e,
|
|
546
|
+
error: pe,
|
|
547
|
+
normal: fe,
|
|
548
|
+
label: me,
|
|
549
|
+
select: xe,
|
|
550
|
+
iconWrapper: he
|
|
551
|
+
}, ze = ({
|
|
552
|
+
id: t,
|
|
553
|
+
name: e,
|
|
554
|
+
value: r,
|
|
555
|
+
onValueChange: n,
|
|
556
|
+
label: c,
|
|
557
|
+
screenReaderLabel: s,
|
|
558
|
+
borderVariant: l = "normalBorder",
|
|
559
|
+
variant: d = "normal",
|
|
560
|
+
children: i,
|
|
561
|
+
...f
|
|
562
|
+
}) => {
|
|
563
|
+
const p = E(), _ = t != null ? t : p, a = I(
|
|
564
|
+
(u) => {
|
|
565
|
+
a == null || a(u), n == null || n(u.target.value);
|
|
566
|
+
},
|
|
567
|
+
[n]
|
|
568
|
+
);
|
|
569
|
+
return /* @__PURE__ */ m(
|
|
570
|
+
"div",
|
|
571
|
+
{
|
|
572
|
+
className: h(
|
|
573
|
+
T.labelledSelect,
|
|
574
|
+
T[d],
|
|
575
|
+
T[l]
|
|
576
|
+
),
|
|
577
|
+
children: [
|
|
578
|
+
/* @__PURE__ */ o(
|
|
579
|
+
Z,
|
|
580
|
+
{
|
|
581
|
+
htmlFor: _,
|
|
582
|
+
className: T.label,
|
|
583
|
+
label: c,
|
|
584
|
+
screenReaderLabel: s
|
|
585
|
+
}
|
|
586
|
+
),
|
|
587
|
+
/* @__PURE__ */ o(
|
|
588
|
+
"select",
|
|
589
|
+
{
|
|
590
|
+
className: h(T.select, T[d]),
|
|
591
|
+
id: _,
|
|
592
|
+
name: e,
|
|
593
|
+
value: r,
|
|
594
|
+
onChange: a,
|
|
595
|
+
...f,
|
|
596
|
+
children: i
|
|
597
|
+
}
|
|
598
|
+
),
|
|
599
|
+
/* @__PURE__ */ o("div", { className: h(T.iconWrapper), children: /* @__PURE__ */ o(
|
|
600
|
+
F,
|
|
601
|
+
{
|
|
602
|
+
icon: gt,
|
|
603
|
+
size: 24,
|
|
604
|
+
color: J("--modern-blue")
|
|
605
|
+
}
|
|
606
|
+
) })
|
|
607
|
+
]
|
|
608
|
+
}
|
|
609
|
+
);
|
|
610
|
+
}, be = "_labelledTextInput_lnht8_1", ye = "_onlyTop_lnht8_21", we = "_onlyBottom_lnht8_27", Ie = "_disabled_lnht8_42", ge = "_medium_lnht8_50", Be = "_large_lnht8_62", Te = "_error_lnht8_76", S = {
|
|
611
|
+
labelledTextInput: be,
|
|
612
|
+
onlyTop: ye,
|
|
613
|
+
onlyBottom: we,
|
|
614
|
+
disabled: Ie,
|
|
615
|
+
medium: ge,
|
|
616
|
+
large: Be,
|
|
617
|
+
error: Te
|
|
618
|
+
}, Oe = xt.forwardRef(
|
|
551
619
|
({
|
|
552
620
|
autoComplete: t = "off",
|
|
553
|
-
label:
|
|
554
|
-
id:
|
|
555
|
-
screenReaderLabel:
|
|
621
|
+
label: e,
|
|
622
|
+
id: r,
|
|
623
|
+
screenReaderLabel: n,
|
|
556
624
|
size: c = "medium",
|
|
557
625
|
value: s,
|
|
558
626
|
onChange: l,
|
|
559
|
-
disabled:
|
|
627
|
+
disabled: d,
|
|
560
628
|
onValueChange: i,
|
|
561
629
|
borderRadiusVariant: f = "normalBorder",
|
|
562
630
|
variant: p = "normal",
|
|
563
631
|
..._
|
|
564
|
-
},
|
|
565
|
-
const u = b(
|
|
566
|
-
(
|
|
567
|
-
l == null || l(
|
|
632
|
+
}, a) => {
|
|
633
|
+
const u = E(), b = r != null ? r : u, x = I(
|
|
634
|
+
(g) => {
|
|
635
|
+
l == null || l(g), i == null || i(g.target.value);
|
|
568
636
|
},
|
|
569
637
|
[l, i]
|
|
570
638
|
);
|
|
571
|
-
return /* @__PURE__ */
|
|
639
|
+
return /* @__PURE__ */ m(
|
|
572
640
|
"div",
|
|
573
641
|
{
|
|
574
|
-
className:
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
642
|
+
className: h(
|
|
643
|
+
S.labelledTextInput,
|
|
644
|
+
S[p],
|
|
645
|
+
S[f],
|
|
646
|
+
S[c],
|
|
647
|
+
d && S.disabled
|
|
580
648
|
),
|
|
581
649
|
children: [
|
|
582
650
|
/* @__PURE__ */ o(
|
|
583
|
-
|
|
651
|
+
Z,
|
|
584
652
|
{
|
|
585
|
-
htmlFor:
|
|
586
|
-
screenReaderLabel:
|
|
587
|
-
label:
|
|
653
|
+
htmlFor: b,
|
|
654
|
+
screenReaderLabel: n,
|
|
655
|
+
label: e
|
|
588
656
|
}
|
|
589
657
|
),
|
|
590
658
|
/* @__PURE__ */ o(
|
|
591
659
|
"input",
|
|
592
660
|
{
|
|
593
|
-
ref:
|
|
594
|
-
id:
|
|
661
|
+
ref: a,
|
|
662
|
+
id: b,
|
|
595
663
|
autoComplete: t,
|
|
596
664
|
type: "text",
|
|
597
665
|
value: s,
|
|
598
|
-
onChange:
|
|
599
|
-
disabled:
|
|
666
|
+
onChange: x,
|
|
667
|
+
disabled: d,
|
|
600
668
|
..._
|
|
601
669
|
}
|
|
602
670
|
)
|
|
@@ -604,93 +672,93 @@ const Ft = (t, n, e) => {
|
|
|
604
672
|
}
|
|
605
673
|
);
|
|
606
674
|
}
|
|
607
|
-
),
|
|
675
|
+
), De = ({
|
|
608
676
|
variant: t = "standard",
|
|
609
|
-
disabled:
|
|
610
|
-
wrapperClassName:
|
|
611
|
-
wrapperStyle:
|
|
677
|
+
disabled: e,
|
|
678
|
+
wrapperClassName: r,
|
|
679
|
+
wrapperStyle: n,
|
|
612
680
|
contentLeft: c,
|
|
613
681
|
contentRight: s,
|
|
614
682
|
disableContentPadding: l,
|
|
615
|
-
disableContentPaddingLeft:
|
|
683
|
+
disableContentPaddingLeft: d,
|
|
616
684
|
disableContentPaddingRight: i,
|
|
617
685
|
iconRight: f,
|
|
618
686
|
iconLeft: p,
|
|
619
687
|
onClickLeft: _,
|
|
620
|
-
onClickRight:
|
|
688
|
+
onClickRight: a,
|
|
621
689
|
children: u
|
|
622
690
|
}) => {
|
|
623
|
-
const
|
|
624
|
-
return /* @__PURE__ */
|
|
691
|
+
const b = t === "success" ? G : t === "warning" || t === "error" ? X : f, x = t === "loading" ? /* @__PURE__ */ o(q, {}) : s;
|
|
692
|
+
return /* @__PURE__ */ m(
|
|
625
693
|
"div",
|
|
626
694
|
{
|
|
627
|
-
className:
|
|
695
|
+
className: h(
|
|
628
696
|
w.textInput,
|
|
629
697
|
w.inputContainer,
|
|
630
698
|
w[t],
|
|
631
699
|
{
|
|
632
|
-
[w.disabled]:
|
|
700
|
+
[w.disabled]: e
|
|
633
701
|
},
|
|
634
|
-
|
|
702
|
+
r
|
|
635
703
|
),
|
|
636
|
-
style:
|
|
704
|
+
style: n,
|
|
637
705
|
children: [
|
|
638
706
|
/* @__PURE__ */ o(
|
|
639
707
|
$,
|
|
640
708
|
{
|
|
641
709
|
content: c,
|
|
642
710
|
disableContentPadding: l,
|
|
643
|
-
disableContentPaddingLeft:
|
|
711
|
+
disableContentPaddingLeft: d,
|
|
644
712
|
disableContentPaddingRight: i,
|
|
645
713
|
spaceOnLeft: !0,
|
|
646
|
-
button: p ? /* @__PURE__ */ o(
|
|
714
|
+
button: p ? /* @__PURE__ */ o(W, { onClick: _, icon: p }) : void 0
|
|
647
715
|
}
|
|
648
716
|
),
|
|
649
717
|
/* @__PURE__ */ o(k, { alignItems: "center", children: u }),
|
|
650
718
|
/* @__PURE__ */ o(
|
|
651
719
|
$,
|
|
652
720
|
{
|
|
653
|
-
content:
|
|
721
|
+
content: x,
|
|
654
722
|
disableContentPadding: l,
|
|
655
|
-
disableContentPaddingLeft:
|
|
723
|
+
disableContentPaddingLeft: d,
|
|
656
724
|
disableContentPaddingRight: i,
|
|
657
725
|
spaceOnRight: !0,
|
|
658
|
-
button:
|
|
726
|
+
button: b ? /* @__PURE__ */ o(W, { onClick: a, icon: b }) : void 0
|
|
659
727
|
}
|
|
660
728
|
)
|
|
661
729
|
]
|
|
662
730
|
}
|
|
663
731
|
);
|
|
664
|
-
},
|
|
665
|
-
textArea:
|
|
666
|
-
},
|
|
732
|
+
}, ke = "_textArea_6n6nc_1", Se = {
|
|
733
|
+
textArea: ke
|
|
734
|
+
}, Ee = P(
|
|
667
735
|
({
|
|
668
736
|
className: t,
|
|
669
|
-
value:
|
|
670
|
-
onValueChange:
|
|
671
|
-
onChange:
|
|
737
|
+
value: e,
|
|
738
|
+
onValueChange: r,
|
|
739
|
+
onChange: n,
|
|
672
740
|
resize: c = "none",
|
|
673
741
|
readOnly: s = !1,
|
|
674
742
|
rows: l,
|
|
675
|
-
disabled:
|
|
743
|
+
disabled: d,
|
|
676
744
|
...i
|
|
677
745
|
}, f) => {
|
|
678
|
-
const p =
|
|
746
|
+
const p = I(
|
|
679
747
|
(_) => {
|
|
680
|
-
|
|
748
|
+
n && n(_), r && r(_.target.value);
|
|
681
749
|
},
|
|
682
|
-
[
|
|
750
|
+
[n, r]
|
|
683
751
|
);
|
|
684
752
|
return /* @__PURE__ */ o(
|
|
685
753
|
"textarea",
|
|
686
754
|
{
|
|
687
|
-
disabled:
|
|
755
|
+
disabled: d,
|
|
688
756
|
rows: l,
|
|
689
757
|
readOnly: s,
|
|
690
|
-
className:
|
|
758
|
+
className: h(Se.textArea, t),
|
|
691
759
|
style: { resize: c },
|
|
692
760
|
onChange: p,
|
|
693
|
-
value:
|
|
761
|
+
value: e,
|
|
694
762
|
ref: f,
|
|
695
763
|
...i
|
|
696
764
|
}
|
|
@@ -698,28 +766,29 @@ const Ft = (t, n, e) => {
|
|
|
698
766
|
}
|
|
699
767
|
);
|
|
700
768
|
export {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
769
|
+
Ht as Checkbox,
|
|
770
|
+
Pe as CheckboxWithLabel,
|
|
771
|
+
Z as InputLabel,
|
|
772
|
+
ae as InputLabelText,
|
|
773
|
+
ze as LabelledSelect,
|
|
774
|
+
Oe as LabelledTextInput,
|
|
775
|
+
Le as NumericTextInput,
|
|
776
|
+
Me as PasswordInput,
|
|
777
|
+
Q as RadioButton,
|
|
778
|
+
Ue as RadioButtonBox,
|
|
779
|
+
Fe as RadioButtonWithLabel,
|
|
780
|
+
Rt as Switch,
|
|
781
|
+
je as SwitchWithLabel,
|
|
782
|
+
Ee as TextArea,
|
|
783
|
+
Y as TextInput,
|
|
784
|
+
De as TextInputBox,
|
|
785
|
+
W as TextInputButton,
|
|
786
|
+
Mt as elementHasSelectionRange,
|
|
787
|
+
re as onStepValueChange,
|
|
788
|
+
oe as onTextValueChange,
|
|
789
|
+
Kt as useKeyboardNavigation,
|
|
790
|
+
Ke as useNumericInputValue,
|
|
791
|
+
zt as useSelectAllOnMount,
|
|
792
|
+
Ot as useTextInput
|
|
724
793
|
};
|
|
725
794
|
//# sourceMappingURL=index.es.js.map
|