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