@stenajs-webui/forms 19.0.0-next.53 → 19.0.0-next.55
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/text-input/TextInputButton.d.ts +2 -2
- package/dist/index.es.js +183 -176
- 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,18 +1,18 @@
|
|
|
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)}})();
|
|
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_1yccv_1{--current-background: transparent;outline:none;width:30px;height:30px;display:flex;border-radius:var(--swui-border-radius-small);justify-content:center;align-items:center;background:var(--current-background);cursor:pointer;border:1px solid var(--border-color, var(--current-background))}._textInputButton_1yccv_1._normal_1yccv_14{--current-background: var(--himmel-lighter)}._textInputButton_1yccv_1._normal_1yccv_14:hover:not(._textInputButton_1yccv_1._normal_1yccv_14:active){--current-background: var(--himmel-light)}._textInputButton_1yccv_1._normal_1yccv_14:active{--border-color: var(--core-blue)}._textInputButton_1yccv_1._normal_1yccv_14 ._icon_1yccv_25{color:var(--core-blue)}._textInputButton_1yccv_1._error_1yccv_30{--current-background: var(--snackskal-light)}._textInputButton_1yccv_1._error_1yccv_30:hover:not(._textInputButton_1yccv_1._error_1yccv_30:active){--current-background: var(--snackskal)}._textInputButton_1yccv_1._error_1yccv_30:active{--border-color: var(--modern-red)}._textInputButton_1yccv_1._error_1yccv_30 ._icon_1yccv_25{color:var(--modern-red)}._textInputButton_1yccv_1._warning_1yccv_46{--current-background: var(--lhds-color-orange-100)}._textInputButton_1yccv_1._warning_1yccv_46:hover:not(._textInputButton_1yccv_1._warning_1yccv_46:active){--current-background: var(--lhds-color-orange-200)}._textInputButton_1yccv_1._warning_1yccv_46:active{--border-color: var(--lhds-color-orange-600)}._textInputButton_1yccv_1._warning_1yccv_46 ._icon_1yccv_25{color:var(--tjara)}._textInputButton_1yccv_1._success_1yccv_62{--current-background: var(--lhds-color-green-100)}._textInputButton_1yccv_1._success_1yccv_62:hover:not(._textInputButton_1yccv_1._success_1yccv_62:active){--current-background: var(--lhds-color-green-200)}._textInputButton_1yccv_1._success_1yccv_62:active{--border-color: var(--lhds-color-green-600)}._textInputButton_1yccv_1._success_1yccv_62 ._icon_1yccv_25{color:var(--tjara)}._textInputButton_1yccv_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
2
|
import { jsx as o, jsxs as m, Fragment as S } from "react/jsx-runtime";
|
|
3
|
-
import { Box as ft, Space as
|
|
3
|
+
import { Box as ft, Space as b, Text as R, Row as k, ScreenReaderOnlyText as E, parseFloatElseUndefined as U, getDataProps as mt } from "@stenajs-webui/core";
|
|
4
4
|
import * as xt from "react";
|
|
5
|
-
import { forwardRef as
|
|
5
|
+
import { forwardRef as F, useRef as L, useCallback as I, useEffect as G, useMemo as ht, useState as yt, useId as X } from "react";
|
|
6
6
|
import h from "classnames";
|
|
7
|
-
import { Icon as
|
|
8
|
-
import { FontAwesomeIcon as
|
|
7
|
+
import { Icon as j, stenaCheck as K, stenaExclamationTriangle as $, InputSpinner as q, UpDownButtons as bt, stenaInfoCircle as wt, stenaEyeShow as It, stenaEyeHide as gt, stenaAngleDown as Bt } from "@stenajs-webui/elements";
|
|
8
|
+
import { FontAwesomeIcon as Tt } from "@fortawesome/react-fontawesome";
|
|
9
9
|
import { cssColor as J } from "@stenajs-webui/theme";
|
|
10
|
-
const
|
|
10
|
+
const kt = "_knob_1d6s8_56", Nt = "_filler_1d6s8_61", St = "_checked_1d6s8_75", v = {
|
|
11
11
|
switch: "_switch_1d6s8_1",
|
|
12
|
-
knob:
|
|
13
|
-
filler:
|
|
14
|
-
checked:
|
|
15
|
-
},
|
|
12
|
+
knob: kt,
|
|
13
|
+
filler: Nt,
|
|
14
|
+
checked: St
|
|
15
|
+
}, vt = `${v.switch} ${v.checked}`, Rt = ({
|
|
16
16
|
value: t,
|
|
17
17
|
disabled: e,
|
|
18
18
|
onValueChange: n,
|
|
@@ -25,13 +25,13 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
25
25
|
type: "button",
|
|
26
26
|
role: "switch",
|
|
27
27
|
"aria-checked": t,
|
|
28
|
-
className: t ?
|
|
28
|
+
className: t ? vt : v.switch,
|
|
29
29
|
disabled: e,
|
|
30
30
|
onClick: () => n && n(!t),
|
|
31
31
|
...s,
|
|
32
32
|
children: [
|
|
33
|
-
/* @__PURE__ */ o("div", { className:
|
|
34
|
-
/* @__PURE__ */ o("div", { className:
|
|
33
|
+
/* @__PURE__ */ o("div", { className: v.filler }),
|
|
34
|
+
/* @__PURE__ */ o("div", { className: v.knob })
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
) }), je = ({
|
|
@@ -42,13 +42,13 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
42
42
|
...c
|
|
43
43
|
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(ft, { row: !0, alignItems: "center", children: [
|
|
44
44
|
/* @__PURE__ */ o(Rt, { disabled: e, ...c }),
|
|
45
|
-
/* @__PURE__ */ o(
|
|
46
|
-
/* @__PURE__ */ o(
|
|
47
|
-
] }) }) }),
|
|
48
|
-
checkbox:
|
|
49
|
-
standard:
|
|
50
|
-
small:
|
|
51
|
-
},
|
|
45
|
+
/* @__PURE__ */ o(b, {}),
|
|
46
|
+
/* @__PURE__ */ o(R, { userSelect: "none", color: n, children: t })
|
|
47
|
+
] }) }) }), $t = "_checkbox_1ndou_1", At = "_standard_1ndou_39", Ht = "_small_1ndou_51", z = {
|
|
48
|
+
checkbox: $t,
|
|
49
|
+
standard: At,
|
|
50
|
+
small: Ht
|
|
51
|
+
}, Wt = F(
|
|
52
52
|
({
|
|
53
53
|
indeterminate: t = !1,
|
|
54
54
|
onChange: e,
|
|
@@ -58,7 +58,7 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
58
58
|
className: s,
|
|
59
59
|
...l
|
|
60
60
|
}, a) => {
|
|
61
|
-
const i =
|
|
61
|
+
const i = L(), f = (u) => {
|
|
62
62
|
i.current = u, i.current && (i.current.indeterminate = Boolean(t)), a && (typeof a == "function" ? a(u) : a.current = u);
|
|
63
63
|
}, p = I(
|
|
64
64
|
(u) => {
|
|
@@ -66,13 +66,13 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
66
66
|
},
|
|
67
67
|
[e, n]
|
|
68
68
|
);
|
|
69
|
-
return
|
|
69
|
+
return G(() => {
|
|
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: h(
|
|
75
|
+
className: h(z.checkbox, z[c], s),
|
|
76
76
|
checked: r,
|
|
77
77
|
onChange: p,
|
|
78
78
|
ref: f,
|
|
@@ -80,7 +80,7 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
82
|
}
|
|
83
|
-
),
|
|
83
|
+
), Ke = ({
|
|
84
84
|
children: t,
|
|
85
85
|
label: e,
|
|
86
86
|
inputRef: n,
|
|
@@ -88,15 +88,15 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
88
88
|
textColor: c,
|
|
89
89
|
...s
|
|
90
90
|
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
|
|
91
|
-
/* @__PURE__ */ o(
|
|
92
|
-
/* @__PURE__ */ o(
|
|
93
|
-
e && /* @__PURE__ */ o(
|
|
91
|
+
/* @__PURE__ */ o(Wt, { ...s, ref: n }),
|
|
92
|
+
/* @__PURE__ */ o(b, {}),
|
|
93
|
+
e && /* @__PURE__ */ o(R, { userSelect: "none", color: c, children: e }),
|
|
94
94
|
t
|
|
95
|
-
] }) }) }),
|
|
96
|
-
radiobutton:
|
|
97
|
-
standard:
|
|
98
|
-
small:
|
|
99
|
-
}, Q =
|
|
95
|
+
] }) }) }), Pt = "_radiobutton_foy83_1", Ut = "_standard_foy83_45", Ft = "_small_foy83_55", O = {
|
|
96
|
+
radiobutton: Pt,
|
|
97
|
+
standard: Ut,
|
|
98
|
+
small: Ft
|
|
99
|
+
}, Q = F(
|
|
100
100
|
({
|
|
101
101
|
onChange: t,
|
|
102
102
|
onValueChange: e,
|
|
@@ -116,18 +116,18 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
116
116
|
{
|
|
117
117
|
type: "radio",
|
|
118
118
|
name: r,
|
|
119
|
-
className: h(
|
|
119
|
+
className: h(O.radiobutton, O[n], c),
|
|
120
120
|
onChange: a,
|
|
121
121
|
ref: l,
|
|
122
122
|
...s
|
|
123
123
|
}
|
|
124
124
|
);
|
|
125
125
|
}
|
|
126
|
-
),
|
|
127
|
-
radioButtonBox:
|
|
128
|
-
danger:
|
|
129
|
-
radioButtonWrapper:
|
|
130
|
-
},
|
|
126
|
+
), Lt = "_radioButtonBox_1h0yy_1", jt = "_danger_1h0yy_29", Kt = "_radioButtonWrapper_1h0yy_42", D = {
|
|
127
|
+
radioButtonBox: Lt,
|
|
128
|
+
danger: jt,
|
|
129
|
+
radioButtonWrapper: Kt
|
|
130
|
+
}, Me = ({
|
|
131
131
|
label: t,
|
|
132
132
|
screenReaderLabel: e,
|
|
133
133
|
variant: n = "normal",
|
|
@@ -139,19 +139,19 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
139
139
|
}) => /* @__PURE__ */ o(
|
|
140
140
|
"label",
|
|
141
141
|
{
|
|
142
|
-
className: h(
|
|
142
|
+
className: h(D.radioButtonBox, D[n], c),
|
|
143
143
|
style: s,
|
|
144
144
|
children: /* @__PURE__ */ m(k, { justifyContent: "space-between", flexGrow: 1, children: [
|
|
145
145
|
/* @__PURE__ */ m(k, { alignItems: "center", children: [
|
|
146
146
|
/* @__PURE__ */ o(Q, { ...a, className: l }),
|
|
147
|
-
/* @__PURE__ */ o(
|
|
148
|
-
e ? /* @__PURE__ */ o(
|
|
149
|
-
/* @__PURE__ */ o(
|
|
147
|
+
/* @__PURE__ */ o(b, {}),
|
|
148
|
+
e ? /* @__PURE__ */ o(E, { children: e }) : null,
|
|
149
|
+
/* @__PURE__ */ o(R, { "aria-hidden": Boolean(e), children: t })
|
|
150
150
|
] }),
|
|
151
|
-
/* @__PURE__ */ o(k, { alignItems: "center", width: "48px", justifyContent: "center", children: r && /* @__PURE__ */ o(
|
|
151
|
+
/* @__PURE__ */ o(k, { alignItems: "center", width: "48px", justifyContent: "center", children: r && /* @__PURE__ */ o(j, { icon: r, size: 24 }) })
|
|
152
152
|
] })
|
|
153
153
|
}
|
|
154
|
-
),
|
|
154
|
+
), ze = ({
|
|
155
155
|
label: t,
|
|
156
156
|
inputRef: e,
|
|
157
157
|
wrapperRef: n,
|
|
@@ -159,10 +159,10 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
159
159
|
...c
|
|
160
160
|
}) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
|
|
161
161
|
/* @__PURE__ */ o(Q, { ref: e, ...c }),
|
|
162
|
-
/* @__PURE__ */ o(
|
|
163
|
-
/* @__PURE__ */ o(
|
|
164
|
-
] }) }) }),
|
|
165
|
-
const i =
|
|
162
|
+
/* @__PURE__ */ o(b, {}),
|
|
163
|
+
/* @__PURE__ */ o(R, { color: r, userSelect: "none", children: t })
|
|
164
|
+
] }) }) }), Mt = (t, e, n, r, c, s, l, a) => {
|
|
165
|
+
const i = L(!1), f = (d) => {
|
|
166
166
|
var _;
|
|
167
167
|
i.current || s == null || s((_ = d.target.value) != null ? _ : ""), l == null || l(d);
|
|
168
168
|
}, p = (d) => {
|
|
@@ -171,10 +171,10 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
171
171
|
return {
|
|
172
172
|
onKeyDownHandler: I(
|
|
173
173
|
(d) => {
|
|
174
|
-
var
|
|
174
|
+
var y;
|
|
175
175
|
const { key: _ } = d;
|
|
176
176
|
if (_ === "Enter")
|
|
177
|
-
i.current = !0, n == null || n(), s == null || s((
|
|
177
|
+
i.current = !0, n == null || n(), s == null || s((y = d.currentTarget.value) != null ? y : "");
|
|
178
178
|
else if (_ === "Escape")
|
|
179
179
|
i.current = !0, r == null || r(), d.preventDefault(), d.stopPropagation();
|
|
180
180
|
else if (c) {
|
|
@@ -191,17 +191,17 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75",
|
|
|
191
191
|
onFocusHandler: p
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
|
-
function
|
|
194
|
+
function zt(t) {
|
|
195
195
|
return t.tagName === "TEXTAREA" || t.tagName === "INPUT" && (t.type === "text" || t.type === "search" || t.type === "url" || t.type === "tel" || t.type === "password");
|
|
196
196
|
}
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
!t.current || !
|
|
197
|
+
const Ot = (t, e, n) => {
|
|
198
|
+
G(() => {
|
|
199
|
+
!t.current || !zt(t.current) || (n ? t.current.setSelectionRange(0, t.current.value.length) : e && t.current.setSelectionRange(
|
|
200
200
|
t.current.value.length,
|
|
201
201
|
t.current.value.length
|
|
202
202
|
));
|
|
203
203
|
}, [e, t, n]);
|
|
204
|
-
},
|
|
204
|
+
}, Dt = (t, {
|
|
205
205
|
onEnter: e,
|
|
206
206
|
onEsc: n,
|
|
207
207
|
onChange: r,
|
|
@@ -215,8 +215,8 @@ const zt = (t, e, n) => {
|
|
|
215
215
|
onKeyDown: u,
|
|
216
216
|
autoFocus: d
|
|
217
217
|
}) => {
|
|
218
|
-
|
|
219
|
-
const { onKeyDownHandler: _, onFocusHandler:
|
|
218
|
+
Ot(t, !!l, !!s);
|
|
219
|
+
const { onKeyDownHandler: _, onFocusHandler: y, onBlurHandler: x } = Mt(
|
|
220
220
|
t,
|
|
221
221
|
u,
|
|
222
222
|
e,
|
|
@@ -234,24 +234,24 @@ const zt = (t, e, n) => {
|
|
|
234
234
|
return {
|
|
235
235
|
onBlur: x,
|
|
236
236
|
onChange: g,
|
|
237
|
-
onFocus:
|
|
237
|
+
onFocus: y,
|
|
238
238
|
onKeyDown: _,
|
|
239
239
|
autoFocus: s || d
|
|
240
240
|
};
|
|
241
|
-
},
|
|
242
|
-
textInput:
|
|
243
|
-
disabled:
|
|
244
|
-
input:
|
|
245
|
-
icon:
|
|
246
|
-
standard:
|
|
247
|
-
success:
|
|
248
|
-
loading:
|
|
249
|
-
modified:
|
|
250
|
-
error:
|
|
251
|
-
warning:
|
|
252
|
-
hideBorder:
|
|
253
|
-
clickable:
|
|
254
|
-
},
|
|
241
|
+
}, Et = "_textInput_axgdw_1", Gt = "_disabled_axgdw_11", Xt = "_input_axgdw_16", qt = "_icon_axgdw_49", Jt = "_standard_axgdw_59", Qt = "_success_axgdw_60", Yt = "_loading_axgdw_72", Zt = "_modified_axgdw_77", Ct = "_error_axgdw_86", Vt = "_warning_axgdw_95", te = "_hideBorder_axgdw_109", ee = "_clickable_axgdw_116", w = {
|
|
242
|
+
textInput: Et,
|
|
243
|
+
disabled: Gt,
|
|
244
|
+
input: Xt,
|
|
245
|
+
icon: qt,
|
|
246
|
+
standard: Jt,
|
|
247
|
+
success: Qt,
|
|
248
|
+
loading: Yt,
|
|
249
|
+
modified: Zt,
|
|
250
|
+
error: Ct,
|
|
251
|
+
warning: Vt,
|
|
252
|
+
hideBorder: te,
|
|
253
|
+
clickable: ee
|
|
254
|
+
}, A = ({
|
|
255
255
|
button: t,
|
|
256
256
|
icon: e,
|
|
257
257
|
iconClassName: n,
|
|
@@ -262,23 +262,23 @@ const zt = (t, e, n) => {
|
|
|
262
262
|
disableContentPaddingLeft: a,
|
|
263
263
|
disableContentPaddingRight: i
|
|
264
264
|
}) => !r && !e && !t ? null : t ? /* @__PURE__ */ m(S, { children: [
|
|
265
|
-
c ? /* @__PURE__ */ o(
|
|
265
|
+
c ? /* @__PURE__ */ o(b, { num: 0.25 }) : null,
|
|
266
266
|
t,
|
|
267
|
-
s ? /* @__PURE__ */ o(
|
|
267
|
+
s ? /* @__PURE__ */ o(b, { num: 0.25 }) : null
|
|
268
268
|
] }) : r ? /* @__PURE__ */ m(S, { children: [
|
|
269
|
-
c && !(l || a) ? /* @__PURE__ */ o(
|
|
269
|
+
c && !(l || a) ? /* @__PURE__ */ o(b, {}) : null,
|
|
270
270
|
r || null,
|
|
271
|
-
s && !(l || i) ? /* @__PURE__ */ o(
|
|
271
|
+
s && !(l || i) ? /* @__PURE__ */ o(b, {}) : null
|
|
272
272
|
] }) : /* @__PURE__ */ m(S, { children: [
|
|
273
|
-
c ? /* @__PURE__ */ o(
|
|
273
|
+
c ? /* @__PURE__ */ o(b, {}) : null,
|
|
274
274
|
e && /* @__PURE__ */ o(
|
|
275
|
-
|
|
275
|
+
Tt,
|
|
276
276
|
{
|
|
277
277
|
icon: e,
|
|
278
278
|
className: h(w.icon, n)
|
|
279
279
|
}
|
|
280
280
|
),
|
|
281
|
-
s ? /* @__PURE__ */ o(
|
|
281
|
+
s ? /* @__PURE__ */ o(b, {}) : null
|
|
282
282
|
] }), Y = (t) => {
|
|
283
283
|
const {
|
|
284
284
|
variant: e = "standard",
|
|
@@ -294,7 +294,7 @@ const zt = (t, e, n) => {
|
|
|
294
294
|
disableContentPaddingRight: u,
|
|
295
295
|
iconLeft: d,
|
|
296
296
|
iconRight: _,
|
|
297
|
-
moveCursorToEndOnMount:
|
|
297
|
+
moveCursorToEndOnMount: y,
|
|
298
298
|
selectAllOnMount: x,
|
|
299
299
|
autoFocus: g,
|
|
300
300
|
onValueChange: B,
|
|
@@ -310,20 +310,20 @@ const zt = (t, e, n) => {
|
|
|
310
310
|
onFocus: lt,
|
|
311
311
|
onBlur: it,
|
|
312
312
|
...at
|
|
313
|
-
} = t, dt =
|
|
313
|
+
} = t, dt = L(null), M = n != null ? n : dt, ut = Dt(M, {
|
|
314
314
|
onEnter: et,
|
|
315
315
|
onEsc: nt,
|
|
316
316
|
onChange: ot,
|
|
317
317
|
onValueChange: B,
|
|
318
318
|
selectAllOnMount: x,
|
|
319
|
-
moveCursorToEndOnMount:
|
|
319
|
+
moveCursorToEndOnMount: y,
|
|
320
320
|
onDone: tt,
|
|
321
321
|
onMove: rt,
|
|
322
322
|
onFocus: lt,
|
|
323
323
|
onBlur: it,
|
|
324
324
|
onKeyDown: ct,
|
|
325
325
|
autoFocus: g
|
|
326
|
-
}), _t = e === "success" ?
|
|
326
|
+
}), _t = e === "success" ? K : e === "warning" || e === "error" ? $ : _, pt = e === "loading" ? /* @__PURE__ */ o(q, {}) : i;
|
|
327
327
|
return /* @__PURE__ */ m(
|
|
328
328
|
"div",
|
|
329
329
|
{
|
|
@@ -341,7 +341,7 @@ const zt = (t, e, n) => {
|
|
|
341
341
|
style: V,
|
|
342
342
|
children: [
|
|
343
343
|
/* @__PURE__ */ o(
|
|
344
|
-
|
|
344
|
+
A,
|
|
345
345
|
{
|
|
346
346
|
content: a,
|
|
347
347
|
disableContentPadding: f,
|
|
@@ -358,14 +358,14 @@ const zt = (t, e, n) => {
|
|
|
358
358
|
className: h(w.input, c),
|
|
359
359
|
type: "text",
|
|
360
360
|
disabled: r,
|
|
361
|
-
ref:
|
|
361
|
+
ref: M,
|
|
362
362
|
autoFocus: g,
|
|
363
363
|
...at,
|
|
364
364
|
...ut
|
|
365
365
|
}
|
|
366
366
|
),
|
|
367
367
|
/* @__PURE__ */ o(
|
|
368
|
-
|
|
368
|
+
A,
|
|
369
369
|
{
|
|
370
370
|
content: pt,
|
|
371
371
|
disableContentPadding: f,
|
|
@@ -379,9 +379,9 @@ const zt = (t, e, n) => {
|
|
|
379
379
|
]
|
|
380
380
|
}
|
|
381
381
|
);
|
|
382
|
-
},
|
|
383
|
-
numericTextInputInput:
|
|
384
|
-
},
|
|
382
|
+
}, ne = "_numericTextInputInput_1tnr6_1", re = {
|
|
383
|
+
numericTextInputInput: ne
|
|
384
|
+
}, oe = ({
|
|
385
385
|
onValueChange: t,
|
|
386
386
|
value: e,
|
|
387
387
|
numSteps: n,
|
|
@@ -390,12 +390,12 @@ const zt = (t, e, n) => {
|
|
|
390
390
|
}) => {
|
|
391
391
|
if (t)
|
|
392
392
|
if (!e)
|
|
393
|
-
t(String(
|
|
393
|
+
t(String(W(n, r, c)));
|
|
394
394
|
else {
|
|
395
|
-
const l = (
|
|
396
|
-
t(String(
|
|
395
|
+
const l = (U(e) || 0) + n;
|
|
396
|
+
t(String(W(l, r, c)));
|
|
397
397
|
}
|
|
398
|
-
},
|
|
398
|
+
}, ce = ({
|
|
399
399
|
onValueChange: t,
|
|
400
400
|
newValue: e,
|
|
401
401
|
min: n,
|
|
@@ -405,13 +405,13 @@ const zt = (t, e, n) => {
|
|
|
405
405
|
if (e === "")
|
|
406
406
|
t("");
|
|
407
407
|
else {
|
|
408
|
-
const s =
|
|
409
|
-
t(String(
|
|
408
|
+
const s = U(e) || 0;
|
|
409
|
+
t(String(W(s, n, r)));
|
|
410
410
|
}
|
|
411
|
-
},
|
|
411
|
+
}, W = (t, e, n) => {
|
|
412
412
|
let r = t;
|
|
413
413
|
return e != null && (r = Math.max(e, r)), n != null && (r = Math.min(n, r)), r;
|
|
414
|
-
},
|
|
414
|
+
}, Oe = ({
|
|
415
415
|
value: t,
|
|
416
416
|
onValueChange: e,
|
|
417
417
|
max: n,
|
|
@@ -425,12 +425,12 @@ const zt = (t, e, n) => {
|
|
|
425
425
|
}) => {
|
|
426
426
|
const p = I(
|
|
427
427
|
(_) => {
|
|
428
|
-
|
|
428
|
+
oe({ onValueChange: e, value: t, numSteps: _, min: r, max: n });
|
|
429
429
|
},
|
|
430
430
|
[t, n, r, e]
|
|
431
431
|
), u = I(
|
|
432
432
|
(_) => {
|
|
433
|
-
|
|
433
|
+
ce({ onValueChange: e, newValue: _, min: r, max: n });
|
|
434
434
|
},
|
|
435
435
|
[n, r, e]
|
|
436
436
|
);
|
|
@@ -440,10 +440,10 @@ const zt = (t, e, n) => {
|
|
|
440
440
|
contentRight: i ? s : /* @__PURE__ */ m(S, { children: [
|
|
441
441
|
s && /* @__PURE__ */ m(S, { children: [
|
|
442
442
|
s,
|
|
443
|
-
/* @__PURE__ */ o(
|
|
443
|
+
/* @__PURE__ */ o(b, {})
|
|
444
444
|
] }),
|
|
445
445
|
/* @__PURE__ */ o(
|
|
446
|
-
|
|
446
|
+
bt,
|
|
447
447
|
{
|
|
448
448
|
onClickUp: l ? void 0 : () => p(c),
|
|
449
449
|
onClickDown: l ? void 0 : () => p(-c),
|
|
@@ -459,19 +459,19 @@ const zt = (t, e, n) => {
|
|
|
459
459
|
min: r,
|
|
460
460
|
max: n,
|
|
461
461
|
step: c,
|
|
462
|
-
className: h(
|
|
462
|
+
className: h(re.numericTextInputInput, a),
|
|
463
463
|
disabled: l,
|
|
464
464
|
...f
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
|
-
},
|
|
467
|
+
}, De = (t, e) => {
|
|
468
468
|
const n = I(
|
|
469
469
|
(c) => {
|
|
470
470
|
if (e)
|
|
471
471
|
if (!c)
|
|
472
472
|
e(void 0);
|
|
473
473
|
else {
|
|
474
|
-
const s =
|
|
474
|
+
const s = U(c);
|
|
475
475
|
s !== void 0 && e(s);
|
|
476
476
|
}
|
|
477
477
|
},
|
|
@@ -481,34 +481,41 @@ const zt = (t, e, n) => {
|
|
|
481
481
|
onValueChange: n,
|
|
482
482
|
value: r
|
|
483
483
|
};
|
|
484
|
-
},
|
|
485
|
-
textInputButton:
|
|
486
|
-
normal:
|
|
487
|
-
icon:
|
|
488
|
-
error:
|
|
489
|
-
|
|
484
|
+
}, se = "_textInputButton_1yccv_1", le = "_normal_1yccv_14", ie = "_icon_1yccv_25", ae = "_error_1yccv_30", de = "_warning_1yccv_46", ue = "_success_1yccv_62", H = {
|
|
485
|
+
textInputButton: se,
|
|
486
|
+
normal: le,
|
|
487
|
+
icon: ie,
|
|
488
|
+
error: ae,
|
|
489
|
+
warning: de,
|
|
490
|
+
success: ue
|
|
491
|
+
}, _e = {
|
|
492
|
+
normal: wt,
|
|
493
|
+
error: $,
|
|
494
|
+
warning: $,
|
|
495
|
+
success: K
|
|
496
|
+
}, P = ({
|
|
490
497
|
variant: t = "normal",
|
|
491
|
-
icon: e,
|
|
498
|
+
icon: e = _e[t],
|
|
492
499
|
className: n,
|
|
493
500
|
...r
|
|
494
501
|
}) => /* @__PURE__ */ o(
|
|
495
502
|
"button",
|
|
496
503
|
{
|
|
497
504
|
...r,
|
|
498
|
-
className: h(
|
|
499
|
-
children: /* @__PURE__ */ o(
|
|
505
|
+
className: h(H.textInputButton, H[t], n),
|
|
506
|
+
children: /* @__PURE__ */ o(j, { icon: e, size: 20, className: H.icon })
|
|
500
507
|
}
|
|
501
|
-
),
|
|
502
|
-
hiddenIcon: t =
|
|
503
|
-
visibleIcon: e =
|
|
508
|
+
), Ee = ({
|
|
509
|
+
hiddenIcon: t = It,
|
|
510
|
+
visibleIcon: e = gt,
|
|
504
511
|
...n
|
|
505
512
|
}) => {
|
|
506
|
-
const [r, c] =
|
|
513
|
+
const [r, c] = yt(!0);
|
|
507
514
|
return /* @__PURE__ */ o(
|
|
508
515
|
Y,
|
|
509
516
|
{
|
|
510
517
|
buttonRight: /* @__PURE__ */ o(
|
|
511
|
-
|
|
518
|
+
P,
|
|
512
519
|
{
|
|
513
520
|
icon: r ? t : e,
|
|
514
521
|
onClick: () => c((s) => !s)
|
|
@@ -518,12 +525,12 @@ const zt = (t, e, n) => {
|
|
|
518
525
|
...n
|
|
519
526
|
}
|
|
520
527
|
);
|
|
521
|
-
},
|
|
528
|
+
}, pe = ({
|
|
522
529
|
disabled: t,
|
|
523
530
|
text: e,
|
|
524
531
|
...n
|
|
525
532
|
}) => /* @__PURE__ */ o(
|
|
526
|
-
|
|
533
|
+
R,
|
|
527
534
|
{
|
|
528
535
|
variant: "bold",
|
|
529
536
|
color: J(t ? "--silver" : "--tjara"),
|
|
@@ -538,25 +545,25 @@ const zt = (t, e, n) => {
|
|
|
538
545
|
disabled: r,
|
|
539
546
|
className: c
|
|
540
547
|
}) => /* @__PURE__ */ m("label", { htmlFor: t, className: c, children: [
|
|
541
|
-
e ? /* @__PURE__ */ o(
|
|
548
|
+
e ? /* @__PURE__ */ o(E, { children: e }) : null,
|
|
542
549
|
/* @__PURE__ */ o(
|
|
543
|
-
|
|
550
|
+
pe,
|
|
544
551
|
{
|
|
545
552
|
"aria-hidden": Boolean(e),
|
|
546
553
|
text: n,
|
|
547
554
|
disabled: r
|
|
548
555
|
}
|
|
549
556
|
)
|
|
550
|
-
] }),
|
|
551
|
-
labelledSelect:
|
|
552
|
-
onlyTopBorder:
|
|
553
|
-
onlyBottomBorder:
|
|
554
|
-
error:
|
|
555
|
-
normal:
|
|
556
|
-
label:
|
|
557
|
-
select:
|
|
558
|
-
iconWrapper:
|
|
559
|
-
},
|
|
557
|
+
] }), fe = "_labelledSelect_1evxo_1", me = "_onlyTopBorder_1evxo_8", xe = "_onlyBottomBorder_1evxo_14", he = "_error_1evxo_19", ye = "_normal_1evxo_24", be = "_label_1evxo_1", we = "_select_1evxo_48", Ie = "_iconWrapper_1evxo_73", T = {
|
|
558
|
+
labelledSelect: fe,
|
|
559
|
+
onlyTopBorder: me,
|
|
560
|
+
onlyBottomBorder: xe,
|
|
561
|
+
error: he,
|
|
562
|
+
normal: ye,
|
|
563
|
+
label: be,
|
|
564
|
+
select: we,
|
|
565
|
+
iconWrapper: Ie
|
|
566
|
+
}, Ge = ({
|
|
560
567
|
onChange: t,
|
|
561
568
|
onValueChange: e,
|
|
562
569
|
id: n,
|
|
@@ -567,7 +574,7 @@ const zt = (t, e, n) => {
|
|
|
567
574
|
children: a,
|
|
568
575
|
...i
|
|
569
576
|
}) => {
|
|
570
|
-
const f =
|
|
577
|
+
const f = X(), p = n != null ? n : f, u = I(
|
|
571
578
|
(d) => {
|
|
572
579
|
t == null || t(d), e == null || e(d.target.value);
|
|
573
580
|
},
|
|
@@ -602,9 +609,9 @@ const zt = (t, e, n) => {
|
|
|
602
609
|
}
|
|
603
610
|
),
|
|
604
611
|
/* @__PURE__ */ o("div", { className: h(T.iconWrapper), children: /* @__PURE__ */ o(
|
|
605
|
-
|
|
612
|
+
j,
|
|
606
613
|
{
|
|
607
|
-
icon:
|
|
614
|
+
icon: Bt,
|
|
608
615
|
size: 24,
|
|
609
616
|
color: J("--modern-blue")
|
|
610
617
|
}
|
|
@@ -612,15 +619,15 @@ const zt = (t, e, n) => {
|
|
|
612
619
|
]
|
|
613
620
|
}
|
|
614
621
|
);
|
|
615
|
-
},
|
|
616
|
-
labelledTextInput:
|
|
617
|
-
onlyTop:
|
|
618
|
-
onlyBottom:
|
|
619
|
-
disabled:
|
|
620
|
-
medium:
|
|
621
|
-
large:
|
|
622
|
-
error:
|
|
623
|
-
},
|
|
622
|
+
}, ge = "_labelledTextInput_lnht8_1", Be = "_onlyTop_lnht8_21", Te = "_onlyBottom_lnht8_27", ke = "_disabled_lnht8_42", Ne = "_medium_lnht8_50", Se = "_large_lnht8_62", ve = "_error_lnht8_76", N = {
|
|
623
|
+
labelledTextInput: ge,
|
|
624
|
+
onlyTop: Be,
|
|
625
|
+
onlyBottom: Te,
|
|
626
|
+
disabled: ke,
|
|
627
|
+
medium: Ne,
|
|
628
|
+
large: Se,
|
|
629
|
+
error: ve
|
|
630
|
+
}, Xe = xt.forwardRef(
|
|
624
631
|
({
|
|
625
632
|
autoComplete: t = "off",
|
|
626
633
|
label: e,
|
|
@@ -635,7 +642,7 @@ const zt = (t, e, n) => {
|
|
|
635
642
|
variant: p = "normal",
|
|
636
643
|
...u
|
|
637
644
|
}, d) => {
|
|
638
|
-
const _ =
|
|
645
|
+
const _ = X(), y = n != null ? n : _, x = I(
|
|
639
646
|
(g) => {
|
|
640
647
|
l == null || l(g), i == null || i(g.target.value);
|
|
641
648
|
},
|
|
@@ -655,7 +662,7 @@ const zt = (t, e, n) => {
|
|
|
655
662
|
/* @__PURE__ */ o(
|
|
656
663
|
Z,
|
|
657
664
|
{
|
|
658
|
-
htmlFor:
|
|
665
|
+
htmlFor: y,
|
|
659
666
|
screenReaderLabel: r,
|
|
660
667
|
label: e
|
|
661
668
|
}
|
|
@@ -664,7 +671,7 @@ const zt = (t, e, n) => {
|
|
|
664
671
|
"input",
|
|
665
672
|
{
|
|
666
673
|
ref: d,
|
|
667
|
-
id:
|
|
674
|
+
id: y,
|
|
668
675
|
autoComplete: t,
|
|
669
676
|
type: "text",
|
|
670
677
|
value: s,
|
|
@@ -677,7 +684,7 @@ const zt = (t, e, n) => {
|
|
|
677
684
|
}
|
|
678
685
|
);
|
|
679
686
|
}
|
|
680
|
-
),
|
|
687
|
+
), qe = ({
|
|
681
688
|
variant: t = "standard",
|
|
682
689
|
disabled: e,
|
|
683
690
|
wrapperClassName: n,
|
|
@@ -693,7 +700,7 @@ const zt = (t, e, n) => {
|
|
|
693
700
|
onClickRight: d,
|
|
694
701
|
children: _
|
|
695
702
|
}) => {
|
|
696
|
-
const
|
|
703
|
+
const y = t === "success" ? K : t === "warning" || t === "error" ? $ : f, x = t === "loading" ? /* @__PURE__ */ o(q, {}) : s;
|
|
697
704
|
return /* @__PURE__ */ m(
|
|
698
705
|
"div",
|
|
699
706
|
{
|
|
@@ -709,34 +716,34 @@ const zt = (t, e, n) => {
|
|
|
709
716
|
style: r,
|
|
710
717
|
children: [
|
|
711
718
|
/* @__PURE__ */ o(
|
|
712
|
-
|
|
719
|
+
A,
|
|
713
720
|
{
|
|
714
721
|
content: c,
|
|
715
722
|
disableContentPadding: l,
|
|
716
723
|
disableContentPaddingLeft: a,
|
|
717
724
|
disableContentPaddingRight: i,
|
|
718
725
|
spaceOnLeft: !0,
|
|
719
|
-
button: p ? /* @__PURE__ */ o(
|
|
726
|
+
button: p ? /* @__PURE__ */ o(P, { onClick: u, icon: p }) : void 0
|
|
720
727
|
}
|
|
721
728
|
),
|
|
722
729
|
/* @__PURE__ */ o(k, { alignItems: "center", children: _ }),
|
|
723
730
|
/* @__PURE__ */ o(
|
|
724
|
-
|
|
731
|
+
A,
|
|
725
732
|
{
|
|
726
733
|
content: x,
|
|
727
734
|
disableContentPadding: l,
|
|
728
735
|
disableContentPaddingLeft: a,
|
|
729
736
|
disableContentPaddingRight: i,
|
|
730
737
|
spaceOnRight: !0,
|
|
731
|
-
button:
|
|
738
|
+
button: y ? /* @__PURE__ */ o(P, { onClick: d, icon: y }) : void 0
|
|
732
739
|
}
|
|
733
740
|
)
|
|
734
741
|
]
|
|
735
742
|
}
|
|
736
743
|
);
|
|
737
|
-
},
|
|
738
|
-
textArea:
|
|
739
|
-
},
|
|
744
|
+
}, Re = "_textArea_6n6nc_1", $e = {
|
|
745
|
+
textArea: Re
|
|
746
|
+
}, Je = F(
|
|
740
747
|
({
|
|
741
748
|
className: t,
|
|
742
749
|
value: e,
|
|
@@ -760,7 +767,7 @@ const zt = (t, e, n) => {
|
|
|
760
767
|
disabled: a,
|
|
761
768
|
rows: l,
|
|
762
769
|
readOnly: s,
|
|
763
|
-
className: h(
|
|
770
|
+
className: h($e.textArea, t),
|
|
764
771
|
style: { resize: c },
|
|
765
772
|
onChange: p,
|
|
766
773
|
value: e,
|
|
@@ -771,29 +778,29 @@ const zt = (t, e, n) => {
|
|
|
771
778
|
}
|
|
772
779
|
);
|
|
773
780
|
export {
|
|
774
|
-
|
|
775
|
-
|
|
781
|
+
Wt as Checkbox,
|
|
782
|
+
Ke as CheckboxWithLabel,
|
|
776
783
|
Z as InputLabel,
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
784
|
+
pe as InputLabelText,
|
|
785
|
+
Ge as LabelledSelect,
|
|
786
|
+
Xe as LabelledTextInput,
|
|
787
|
+
Oe as NumericTextInput,
|
|
788
|
+
Ee as PasswordInput,
|
|
782
789
|
Q as RadioButton,
|
|
783
|
-
|
|
784
|
-
|
|
790
|
+
Me as RadioButtonBox,
|
|
791
|
+
ze as RadioButtonWithLabel,
|
|
785
792
|
Rt as Switch,
|
|
786
793
|
je as SwitchWithLabel,
|
|
787
|
-
|
|
794
|
+
Je as TextArea,
|
|
788
795
|
Y as TextInput,
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
796
|
+
qe as TextInputBox,
|
|
797
|
+
P as TextInputButton,
|
|
798
|
+
zt as elementHasSelectionRange,
|
|
799
|
+
oe as onStepValueChange,
|
|
800
|
+
ce as onTextValueChange,
|
|
801
|
+
Mt as useKeyboardNavigation,
|
|
802
|
+
De as useNumericInputValue,
|
|
803
|
+
Ot as useSelectAllOnMount,
|
|
804
|
+
Dt as useTextInput
|
|
798
805
|
};
|
|
799
806
|
//# sourceMappingURL=index.es.js.map
|