@stenajs-webui/forms 23.6.0 → 23.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/labelled-select/LabelledSelect.d.ts +1 -1
- package/dist/index.es.js +215 -213
- 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,16 +1,16 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('._readOnlyInput_7bzmw_1{background-color:transparent;line-height:var(--swui-line-height);text-align:center;-moz-appearance:textfield;margin:0;padding:0;color:var(--swui-text-primary-color);font-size:var(--swui-font-size-medium);width:60px;font-weight:var(--swui-font-weight-text-bold);font-family:var(--swui-font-primary);border:none;outline:none}._readOnlyInput_7bzmw_1::-webkit-inner-spin-button,._readOnlyInput_7bzmw_1::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._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_1t23r_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_1t23r_1._standard_1t23r_40{width:var(--swui-checkbox-height);height:var(--swui-checkbox-height)}._checkbox_1t23r_1._standard_1t23r_40:after{width:3px;height:6px;left:9px;top:6px}._checkbox_1t23r_1._small_1t23r_52{width:var(--swui-checkbox-height-small);height:var(--swui-checkbox-height-small)}._checkbox_1t23r_1._small_1t23r_52:after{width:3px;height:6px;left:5px;top:2px}._checkbox_1t23r_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_1t23r_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_1t23r_1:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color)}._checkbox_1t23r_1:disabled:not(:checked){--current-bg-color: var(--swui-checkbox-disabled-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1t23r_1:disabled:not(:checked):after{--current-checkbox-icon-color: --swui-checkbox-unchecked-icon-color}._checkbox_1t23r_1:disabled:checked{--current-bg-color: var(--swui-checkbox-disabled-checked-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1t23r_1:disabled:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1t23r_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_1t23r_1:indeterminate:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color);border-right:0;transform:rotate(0);width:6px}._checkbox_1t23r_1:indeterminate._standard_1t23r_40:after{top:4px;left:8px}._checkbox_1t23r_1:indeterminate._small_1t23r_52:after{top:0;left:4px}._checkbox_1t23r_1:indeterminate:disabled:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1t23r_1:hover:not(:checked):not(:disabled){--current-border-color: var(--swui-checkbox-border-hover-color)}._checkbox_1t23r_1:focus-visible{outline:var(--swui-focus-outline)}._checkbox_1t23r_1+label{font-size:1.4rem;line-height:var(--swui-checkbox-height);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radiobutton_a19yk_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_a19yk_1._standard_a19yk_46{height:var(--swui-radiobutton-size-standard);width:var(--swui-radiobutton-size-standard)}._radiobutton_a19yk_1._standard_a19yk_46:after{left:7px;top:7px}._radiobutton_a19yk_1._small_a19yk_56{height:var(--swui-radiobutton-size-small);width:var(--swui-radiobutton-size-small)}._radiobutton_a19yk_1._small_a19yk_56:after{left:3px;top:3px}._radiobutton_a19yk_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_a19yk_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_a19yk_1:checked:after{--current-icon-color: var(--swui-radiobutton-icon-color)}._radiobutton_a19yk_1:disabled{--current-bg-color: var(--swui-radiobutton-unchecked-disabled-bg-color);--current-border-color: var(--swui-radiobutton-disabled-border-color)}._radiobutton_a19yk_1:disabled:checked{--current-bg-color: var(--swui-radiobutton-checked-disabled-bg-color)}._radiobutton_a19yk_1:disabled:checked:after{--current-icon-color: var(--swui-radiobutton-disabled-icon-color)}._radiobutton_a19yk_1:hover:not(:checked):not(:disabled){--current-border-color: var( --swui-radiobutton-unchecked-hover-border-color )}._radiobutton_a19yk_1:focus-visible{outline:var(--swui-focus-outline)}._radiobutton_a19yk_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_s3b2w_1{border:1px solid var(--swui-field-border-color);position:relative;overflow:hidden;cursor:pointer}._labelledSelect_s3b2w_1._medium_s3b2w_7{border-radius:var(--swui-border-radius)}._labelledSelect_s3b2w_1._large_s3b2w_11{border-radius:var(--swui-border-radius-large)}._labelledSelect_s3b2w_1._labelledSelect_s3b2w_1._onlyTopBorder_s3b2w_15{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledSelect_s3b2w_1._onlyBottomBorder_s3b2w_21{border-top-left-radius:0;border-top-right-radius:0}._labelledSelect_s3b2w_1._error_s3b2w_26{border-color:var(--snackskal);background-color:var(--snackskal)}._labelledSelect_s3b2w_1._normal_s3b2w_31{border-color:var(--swui-field-border-color);background-color:var(--moln)}._labelledSelect_s3b2w_1._labelledSelect_s3b2w_1:focus-within{border-color:var(--swui-field-border-color-hover);outline:var(--swui-focus-outline);outline-offset:0;z-index:10}._labelledSelect_s3b2w_1._labelledSelect_s3b2w_1:hover{border-color:var(--swui-field-border-color-hover)}._labelledSelect_s3b2w_1 ._label_s3b2w_1{display:flex;cursor:pointer;padding:calc(var(--swui-metrics-space) * 1) calc(var(--swui-metrics-space) * 2) 0}._labelledSelect_s3b2w_1 ._select_s3b2w_54{color:var(--swui-text-primary-color);display:block;margin:0;width:100%;-webkit-appearance:none;appearance:none;border:none;outline:none;line-height:1.5;box-sizing:border-box;cursor:pointer}._labelledSelect_s3b2w_1 ._select_s3b2w_54._error_s3b2w_26{background-color:var(--snackskal)}._labelledSelect_s3b2w_1 ._select_s3b2w_54._normal_s3b2w_31{background-color:var(--moln)}._labelledSelect_s3b2w_1 ._select_s3b2w_54._medium_s3b2w_7{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * .5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledSelect_s3b2w_1 ._select_s3b2w_54._large_s3b2w_11{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 1.5) calc(var(--swui-metrics-space) * 8) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledSelect_s3b2w_1 ._iconWrapper_s3b2w_88{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_1uyc3_1{position:relative;background:var(--moln);overflow:hidden;cursor:text;border:1px solid var(--silver-light);border-radius:var(--swui-border-radius)}._labelledTextInput_1uyc3_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_1uyc3_1._labelledTextInput_1uyc3_1._onlyTop_1uyc3_21{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledTextInput_1uyc3_1._labelledTextInput_1uyc3_1._onlyBottom_1uyc3_27{border-top-left-radius:0;border-top-right-radius:0}._labelledTextInput_1uyc3_1._labelledTextInput_1uyc3_1._onlyLeft_1uyc3_32{border-bottom-right-radius:0;border-top-right-radius:0;border-right-color:transparent}._labelledTextInput_1uyc3_1._labelledTextInput_1uyc3_1._onlyRight_1uyc3_38{border-top-left-radius:0;border-bottom-left-radius:0}._labelledTextInput_1uyc3_1:focus-within{outline:var(--swui-focus-outline);outline-offset:-1px;border-color:transparent}._labelledTextInput_1uyc3_1:hover:not(:focus-within){border-color:var(--hav)}._labelledTextInput_1uyc3_1._disabled_1uyc3_53{background-color:var(--silver-lighter)}._labelledTextInput_1uyc3_1._disabled_1uyc3_53 input{color:var(--silver)}._labelledTextInput_1uyc3_1._medium_1uyc3_61:focus-within{outline-width:2px}._labelledTextInput_1uyc3_1._medium_1uyc3_61 input{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * .5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledTextInput_1uyc3_1._large_1uyc3_73{border-radius:var(--swui-border-radius-large)}._labelledTextInput_1uyc3_1._large_1uyc3_73:focus-within{outline-width:3px}._labelledTextInput_1uyc3_1._large_1uyc3_73 input{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 1) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledTextInput_1uyc3_1._error_1uyc3_87{border-color:var(--swui-state-error-light-color);background-color:var(--swui-state-error-light-color)}._labelledTextInput_1uyc3_1._error_1uyc3_87:hover:not(:focus-within){border-color:var(--modern-red)}._labelledTextInput_1uyc3_1 label{display:flex;padding:calc(var(--swui-metrics-space) * 1) calc(var(--swui-metrics-space) * 2) 0;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(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { jsx as o, jsxs as
|
|
3
|
-
import { Row as k, Box as xt, Space as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('._readOnlyInput_7bzmw_1{background-color:transparent;line-height:var(--swui-line-height);text-align:center;-moz-appearance:textfield;margin:0;padding:0;color:var(--swui-text-primary-color);font-size:var(--swui-font-size-medium);width:60px;font-weight:var(--swui-font-weight-text-bold);font-family:var(--swui-font-primary);border:none;outline:none}._readOnlyInput_7bzmw_1::-webkit-inner-spin-button,._readOnlyInput_7bzmw_1::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._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_1t23r_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_1t23r_1._standard_1t23r_40{width:var(--swui-checkbox-height);height:var(--swui-checkbox-height)}._checkbox_1t23r_1._standard_1t23r_40:after{width:3px;height:6px;left:9px;top:6px}._checkbox_1t23r_1._small_1t23r_52{width:var(--swui-checkbox-height-small);height:var(--swui-checkbox-height-small)}._checkbox_1t23r_1._small_1t23r_52:after{width:3px;height:6px;left:5px;top:2px}._checkbox_1t23r_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_1t23r_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_1t23r_1:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color)}._checkbox_1t23r_1:disabled:not(:checked){--current-bg-color: var(--swui-checkbox-disabled-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1t23r_1:disabled:not(:checked):after{--current-checkbox-icon-color: --swui-checkbox-unchecked-icon-color}._checkbox_1t23r_1:disabled:checked{--current-bg-color: var(--swui-checkbox-disabled-checked-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1t23r_1:disabled:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1t23r_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_1t23r_1:indeterminate:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color);border-right:0;transform:rotate(0);width:6px}._checkbox_1t23r_1:indeterminate._standard_1t23r_40:after{top:4px;left:8px}._checkbox_1t23r_1:indeterminate._small_1t23r_52:after{top:0;left:4px}._checkbox_1t23r_1:indeterminate:disabled:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1t23r_1:hover:not(:checked):not(:disabled){--current-border-color: var(--swui-checkbox-border-hover-color)}._checkbox_1t23r_1:focus-visible{outline:var(--swui-focus-outline)}._checkbox_1t23r_1+label{font-size:1.4rem;line-height:var(--swui-checkbox-height);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radiobutton_a19yk_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_a19yk_1._standard_a19yk_46{height:var(--swui-radiobutton-size-standard);width:var(--swui-radiobutton-size-standard)}._radiobutton_a19yk_1._standard_a19yk_46:after{left:7px;top:7px}._radiobutton_a19yk_1._small_a19yk_56{height:var(--swui-radiobutton-size-small);width:var(--swui-radiobutton-size-small)}._radiobutton_a19yk_1._small_a19yk_56:after{left:3px;top:3px}._radiobutton_a19yk_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_a19yk_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_a19yk_1:checked:after{--current-icon-color: var(--swui-radiobutton-icon-color)}._radiobutton_a19yk_1:disabled{--current-bg-color: var(--swui-radiobutton-unchecked-disabled-bg-color);--current-border-color: var(--swui-radiobutton-disabled-border-color)}._radiobutton_a19yk_1:disabled:checked{--current-bg-color: var(--swui-radiobutton-checked-disabled-bg-color)}._radiobutton_a19yk_1:disabled:checked:after{--current-icon-color: var(--swui-radiobutton-disabled-icon-color)}._radiobutton_a19yk_1:hover:not(:checked):not(:disabled){--current-border-color: var( --swui-radiobutton-unchecked-hover-border-color )}._radiobutton_a19yk_1:focus-visible{outline:var(--swui-focus-outline)}._radiobutton_a19yk_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_vs9pj_1{border:1px solid var(--swui-field-border-color);position:relative;overflow:hidden;cursor:pointer}._labelledSelect_vs9pj_1._medium_vs9pj_7{border-radius:var(--swui-border-radius)}._labelledSelect_vs9pj_1._large_vs9pj_11{border-radius:var(--swui-border-radius-large)}._labelledSelect_vs9pj_1._error_vs9pj_15{border-color:var(--snackskal);background-color:var(--snackskal)}._labelledSelect_vs9pj_1._normal_vs9pj_20{border-color:var(--swui-field-border-color);background-color:var(--moln)}._labelledSelect_vs9pj_1._labelledSelect_vs9pj_1._onlyTopBorder_vs9pj_25{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledSelect_vs9pj_1._onlyBottomBorder_vs9pj_31{border-top-left-radius:0;border-top-right-radius:0}._labelledSelect_vs9pj_1._onlyLeftBorder_vs9pj_36{border-top-right-radius:0;border-bottom-right-radius:0;border-right-color:transparent}._labelledSelect_vs9pj_1._onlyRightBorder_vs9pj_42{border-top-left-radius:0;border-bottom-left-radius:0}._labelledSelect_vs9pj_1._labelledSelect_vs9pj_1:focus-within{border-color:var(--swui-field-border-color-hover);outline:var(--swui-focus-outline);outline-offset:0;z-index:10}._labelledSelect_vs9pj_1._labelledSelect_vs9pj_1:hover{border-color:var(--swui-field-border-color-hover)}._labelledSelect_vs9pj_1 ._label_vs9pj_1{display:flex;cursor:pointer;padding:calc(var(--swui-metrics-space) * 1) calc(var(--swui-metrics-space) * 2) 0}._labelledSelect_vs9pj_1 ._select_vs9pj_65{color:var(--swui-text-primary-color);display:block;margin:0;width:100%;-webkit-appearance:none;appearance:none;border:none;outline:none;line-height:1.5;box-sizing:border-box;cursor:pointer}._labelledSelect_vs9pj_1 ._select_vs9pj_65._error_vs9pj_15{background-color:var(--snackskal)}._labelledSelect_vs9pj_1 ._select_vs9pj_65._normal_vs9pj_20{background-color:var(--moln)}._labelledSelect_vs9pj_1 ._select_vs9pj_65._medium_vs9pj_7{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * .5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledSelect_vs9pj_1 ._select_vs9pj_65._large_vs9pj_11{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 1.5) calc(var(--swui-metrics-space) * 8) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledSelect_vs9pj_1 ._iconWrapper_vs9pj_99{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_1uyc3_1{position:relative;background:var(--moln);overflow:hidden;cursor:text;border:1px solid var(--silver-light);border-radius:var(--swui-border-radius)}._labelledTextInput_1uyc3_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_1uyc3_1._labelledTextInput_1uyc3_1._onlyTop_1uyc3_21{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledTextInput_1uyc3_1._labelledTextInput_1uyc3_1._onlyBottom_1uyc3_27{border-top-left-radius:0;border-top-right-radius:0}._labelledTextInput_1uyc3_1._labelledTextInput_1uyc3_1._onlyLeft_1uyc3_32{border-bottom-right-radius:0;border-top-right-radius:0;border-right-color:transparent}._labelledTextInput_1uyc3_1._labelledTextInput_1uyc3_1._onlyRight_1uyc3_38{border-top-left-radius:0;border-bottom-left-radius:0}._labelledTextInput_1uyc3_1:focus-within{outline:var(--swui-focus-outline);outline-offset:-1px;border-color:transparent}._labelledTextInput_1uyc3_1:hover:not(:focus-within){border-color:var(--hav)}._labelledTextInput_1uyc3_1._disabled_1uyc3_53{background-color:var(--silver-lighter)}._labelledTextInput_1uyc3_1._disabled_1uyc3_53 input{color:var(--silver)}._labelledTextInput_1uyc3_1._medium_1uyc3_61:focus-within{outline-width:2px}._labelledTextInput_1uyc3_1._medium_1uyc3_61 input{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * .5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledTextInput_1uyc3_1._large_1uyc3_73{border-radius:var(--swui-border-radius-large)}._labelledTextInput_1uyc3_1._large_1uyc3_73:focus-within{outline-width:3px}._labelledTextInput_1uyc3_1._large_1uyc3_73 input{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 1) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledTextInput_1uyc3_1._error_1uyc3_87{border-color:var(--swui-state-error-light-color);background-color:var(--swui-state-error-light-color)}._labelledTextInput_1uyc3_1._error_1uyc3_87:hover:not(:focus-within){border-color:var(--modern-red)}._labelledTextInput_1uyc3_1 label{display:flex;padding:calc(var(--swui-metrics-space) * 1) calc(var(--swui-metrics-space) * 2) 0;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(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
import { jsx as o, jsxs as y, Fragment as N } from "react/jsx-runtime";
|
|
3
|
+
import { Row as k, Box as xt, Space as g, ScreenReaderOnlyText as v, Text as j, parseFloatElseUndefined as q, getDataProps as kt } from "@stenajs-webui/core";
|
|
4
4
|
import * as Tt from "react";
|
|
5
|
-
import { useCallback as m, forwardRef as
|
|
6
|
-
import { PrimaryButton as
|
|
7
|
-
import
|
|
8
|
-
import { cssColor as
|
|
9
|
-
import { FontAwesomeIcon as
|
|
5
|
+
import { useCallback as m, forwardRef as F, useRef as W, useEffect as K, useMemo as St, useState as Rt, useId as z } from "react";
|
|
6
|
+
import { PrimaryButton as L, stenaMinus as G, stenaPlus as X, Icon as J, stenaCheck as Q, stenaExclamationTriangle as Y, InputSpinner as Z, UpDownButtons as Nt, FlatButton as M, TextInputButton as C, stenaEyeShow as $t, stenaEyeHide as vt, stenaAngleDown as jt } from "@stenajs-webui/elements";
|
|
7
|
+
import b from "classnames";
|
|
8
|
+
import { cssColor as D } from "@stenajs-webui/theme";
|
|
9
|
+
import { FontAwesomeIcon as qt } from "@fortawesome/react-fontawesome";
|
|
10
10
|
import { isNil as S } from "lodash-es";
|
|
11
|
-
const
|
|
12
|
-
readOnlyInput:
|
|
13
|
-
},
|
|
11
|
+
const Pt = "_readOnlyInput_7bzmw_1", At = {
|
|
12
|
+
readOnlyInput: Pt
|
|
13
|
+
}, Ct = ({
|
|
14
14
|
value: t,
|
|
15
15
|
id: e,
|
|
16
16
|
...n
|
|
@@ -22,9 +22,9 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
22
22
|
id: e,
|
|
23
23
|
value: t,
|
|
24
24
|
readOnly: !0,
|
|
25
|
-
className:
|
|
25
|
+
className: At.readOnlyInput
|
|
26
26
|
}
|
|
27
|
-
),
|
|
27
|
+
), on = ({
|
|
28
28
|
value: t,
|
|
29
29
|
onValueChange: e,
|
|
30
30
|
decreaseDisabled: n,
|
|
@@ -41,23 +41,23 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
41
41
|
}) => {
|
|
42
42
|
const h = m(() => {
|
|
43
43
|
p?.(), e?.(t + 1);
|
|
44
|
-
}, [p, e, t]),
|
|
44
|
+
}, [p, e, t]), f = m(() => {
|
|
45
45
|
d?.(), e?.(t - 1);
|
|
46
46
|
}, [d, e, t]);
|
|
47
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ y(k, { alignItems: "center", children: [
|
|
48
48
|
/* @__PURE__ */ o(
|
|
49
|
-
|
|
49
|
+
L,
|
|
50
50
|
{
|
|
51
51
|
size: u,
|
|
52
52
|
"aria-label": c,
|
|
53
53
|
leftIcon: G,
|
|
54
54
|
"data-testid": _ ?? "decrease",
|
|
55
55
|
disabled: n,
|
|
56
|
-
onClick:
|
|
56
|
+
onClick: f
|
|
57
57
|
}
|
|
58
58
|
),
|
|
59
59
|
/* @__PURE__ */ o(
|
|
60
|
-
|
|
60
|
+
Ct,
|
|
61
61
|
{
|
|
62
62
|
id: l,
|
|
63
63
|
"data-testid": "amountStepperValue",
|
|
@@ -66,7 +66,7 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
66
66
|
}
|
|
67
67
|
),
|
|
68
68
|
/* @__PURE__ */ o(
|
|
69
|
-
|
|
69
|
+
L,
|
|
70
70
|
{
|
|
71
71
|
size: u,
|
|
72
72
|
leftIcon: X,
|
|
@@ -77,25 +77,25 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
77
77
|
}
|
|
78
78
|
)
|
|
79
79
|
] });
|
|
80
|
-
},
|
|
80
|
+
}, Ht = "_knob_1d6s8_56", Ft = "_filler_1d6s8_61", Wt = "_checked_1d6s8_75", $ = {
|
|
81
81
|
switch: "_switch_1d6s8_1",
|
|
82
|
-
knob:
|
|
83
|
-
filler:
|
|
84
|
-
checked:
|
|
85
|
-
},
|
|
82
|
+
knob: Ht,
|
|
83
|
+
filler: Ft,
|
|
84
|
+
checked: Wt
|
|
85
|
+
}, Dt = `${$.switch} ${$.checked}`, Et = ({
|
|
86
86
|
value: t,
|
|
87
87
|
disabled: e,
|
|
88
88
|
onValueChange: n,
|
|
89
89
|
className: r,
|
|
90
90
|
wrapperRef: l,
|
|
91
91
|
...c
|
|
92
|
-
}) => /* @__PURE__ */ o("div", { className: r, ref: l, children: /* @__PURE__ */
|
|
92
|
+
}) => /* @__PURE__ */ o("div", { className: r, ref: l, children: /* @__PURE__ */ y(
|
|
93
93
|
"button",
|
|
94
94
|
{
|
|
95
95
|
type: "button",
|
|
96
96
|
role: "switch",
|
|
97
97
|
"aria-checked": t,
|
|
98
|
-
className: t ?
|
|
98
|
+
className: t ? Dt : $.switch,
|
|
99
99
|
disabled: e,
|
|
100
100
|
onClick: () => n && n(!t),
|
|
101
101
|
...c,
|
|
@@ -104,19 +104,19 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
104
104
|
/* @__PURE__ */ o("div", { className: $.knob })
|
|
105
105
|
]
|
|
106
106
|
}
|
|
107
|
-
) }),
|
|
107
|
+
) }), rn = ({
|
|
108
108
|
label: t,
|
|
109
109
|
disabled: e,
|
|
110
110
|
textColor: n,
|
|
111
111
|
wrapperRef: r,
|
|
112
112
|
screenReaderLabel: l,
|
|
113
113
|
...c
|
|
114
|
-
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */ o(
|
|
116
|
-
/* @__PURE__ */ o(
|
|
117
|
-
l ? /* @__PURE__ */ o(
|
|
114
|
+
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ y(xt, { row: !0, alignItems: "center", children: [
|
|
115
|
+
/* @__PURE__ */ o(Et, { disabled: e, ...c }),
|
|
116
|
+
/* @__PURE__ */ o(g, {}),
|
|
117
|
+
l ? /* @__PURE__ */ o(v, { children: l }) : null,
|
|
118
118
|
/* @__PURE__ */ o(
|
|
119
|
-
|
|
119
|
+
j,
|
|
120
120
|
{
|
|
121
121
|
color: n,
|
|
122
122
|
"aria-hidden": !!l,
|
|
@@ -124,11 +124,11 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
124
124
|
children: t
|
|
125
125
|
}
|
|
126
126
|
)
|
|
127
|
-
] }) }) }),
|
|
128
|
-
checkbox:
|
|
129
|
-
standard:
|
|
130
|
-
small:
|
|
131
|
-
},
|
|
127
|
+
] }) }) }), Lt = "_checkbox_1t23r_1", Mt = "_standard_1t23r_40", Ot = "_small_1t23r_52", O = {
|
|
128
|
+
checkbox: Lt,
|
|
129
|
+
standard: Mt,
|
|
130
|
+
small: Ot
|
|
131
|
+
}, Ut = F(
|
|
132
132
|
({
|
|
133
133
|
indeterminate: t = !1,
|
|
134
134
|
onChange: e,
|
|
@@ -138,7 +138,7 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
138
138
|
className: c,
|
|
139
139
|
...i
|
|
140
140
|
}, a) => {
|
|
141
|
-
const s =
|
|
141
|
+
const s = W(null), _ = (d) => {
|
|
142
142
|
s.current = d, s.current && (s.current.indeterminate = !!t), a && (typeof a == "function" ? a(d) : a.current = d);
|
|
143
143
|
}, p = m(
|
|
144
144
|
(d) => {
|
|
@@ -152,7 +152,7 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
152
152
|
"input",
|
|
153
153
|
{
|
|
154
154
|
type: "checkbox",
|
|
155
|
-
className:
|
|
155
|
+
className: b(O.checkbox, O[l], c),
|
|
156
156
|
checked: r,
|
|
157
157
|
onChange: p,
|
|
158
158
|
ref: _,
|
|
@@ -160,7 +160,7 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
160
160
|
}
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
|
-
),
|
|
163
|
+
), ln = ({
|
|
164
164
|
children: t,
|
|
165
165
|
label: e,
|
|
166
166
|
inputRef: n,
|
|
@@ -168,12 +168,12 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
168
168
|
textColor: l,
|
|
169
169
|
screenReaderLabel: c,
|
|
170
170
|
...i
|
|
171
|
-
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */
|
|
172
|
-
/* @__PURE__ */ o(
|
|
173
|
-
/* @__PURE__ */ o(
|
|
174
|
-
c ? /* @__PURE__ */ o(
|
|
171
|
+
}) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ y(k, { alignItems: "center", children: [
|
|
172
|
+
/* @__PURE__ */ o(Ut, { ...i, ref: n }),
|
|
173
|
+
/* @__PURE__ */ o(g, {}),
|
|
174
|
+
c ? /* @__PURE__ */ o(v, { children: c }) : null,
|
|
175
175
|
/* @__PURE__ */ o(
|
|
176
|
-
|
|
176
|
+
j,
|
|
177
177
|
{
|
|
178
178
|
color: l,
|
|
179
179
|
"aria-hidden": !!c,
|
|
@@ -182,11 +182,11 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
182
182
|
}
|
|
183
183
|
),
|
|
184
184
|
t
|
|
185
|
-
] }) }) }), Kt = "_radiobutton_a19yk_1", zt = "_standard_a19yk_46", Gt = "_small_a19yk_56",
|
|
185
|
+
] }) }) }), Kt = "_radiobutton_a19yk_1", zt = "_standard_a19yk_46", Gt = "_small_a19yk_56", U = {
|
|
186
186
|
radiobutton: Kt,
|
|
187
187
|
standard: zt,
|
|
188
188
|
small: Gt
|
|
189
|
-
}, V =
|
|
189
|
+
}, V = F(
|
|
190
190
|
({
|
|
191
191
|
onChange: t,
|
|
192
192
|
onValueChange: e,
|
|
@@ -206,20 +206,20 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
206
206
|
{
|
|
207
207
|
type: "radio",
|
|
208
208
|
name: r,
|
|
209
|
-
className:
|
|
209
|
+
className: b(U.radiobutton, U[n], l),
|
|
210
210
|
onChange: a,
|
|
211
211
|
ref: i,
|
|
212
212
|
...c
|
|
213
213
|
}
|
|
214
214
|
);
|
|
215
215
|
}
|
|
216
|
-
), Xt = "_radioButtonBox_yl38n_1", Jt = "_medium_yl38n_14", Qt = "_large_yl38n_19", Yt = "_danger_yl38n_28", Zt = "_radioButtonWrapper_yl38n_39",
|
|
216
|
+
), Xt = "_radioButtonBox_yl38n_1", Jt = "_medium_yl38n_14", Qt = "_large_yl38n_19", Yt = "_danger_yl38n_28", Zt = "_radioButtonWrapper_yl38n_39", A = {
|
|
217
217
|
radioButtonBox: Xt,
|
|
218
218
|
medium: Jt,
|
|
219
219
|
large: Qt,
|
|
220
220
|
danger: Yt,
|
|
221
221
|
radioButtonWrapper: Zt
|
|
222
|
-
},
|
|
222
|
+
}, cn = ({
|
|
223
223
|
label: t,
|
|
224
224
|
screenReaderLabel: e,
|
|
225
225
|
variant: n = "normal",
|
|
@@ -232,19 +232,19 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
232
232
|
radioButtonClassName: _,
|
|
233
233
|
...p
|
|
234
234
|
}) => {
|
|
235
|
-
const d = s ?
|
|
235
|
+
const d = s ? D("--swui-text-disabled-color") : void 0;
|
|
236
236
|
return /* @__PURE__ */ o(
|
|
237
237
|
"label",
|
|
238
238
|
{
|
|
239
|
-
className:
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
className: b(
|
|
240
|
+
A.radioButtonBox,
|
|
241
|
+
A[n],
|
|
242
|
+
A[r],
|
|
243
243
|
l
|
|
244
244
|
),
|
|
245
245
|
style: a,
|
|
246
|
-
children: /* @__PURE__ */
|
|
247
|
-
/* @__PURE__ */
|
|
246
|
+
children: /* @__PURE__ */ y(k, { justifyContent: "space-between", flexGrow: 1, children: [
|
|
247
|
+
/* @__PURE__ */ y(k, { alignItems: "center", children: [
|
|
248
248
|
/* @__PURE__ */ o(
|
|
249
249
|
V,
|
|
250
250
|
{
|
|
@@ -253,11 +253,11 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
253
253
|
className: _
|
|
254
254
|
}
|
|
255
255
|
),
|
|
256
|
-
/* @__PURE__ */ o(
|
|
257
|
-
e ? /* @__PURE__ */ o(
|
|
258
|
-
/* @__PURE__ */ o(
|
|
256
|
+
/* @__PURE__ */ o(g, {}),
|
|
257
|
+
e ? /* @__PURE__ */ o(v, { children: e }) : null,
|
|
258
|
+
/* @__PURE__ */ o(j, { color: d, "aria-hidden": !!e, children: t })
|
|
259
259
|
] }),
|
|
260
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ y(
|
|
261
261
|
k,
|
|
262
262
|
{
|
|
263
263
|
alignItems: "center",
|
|
@@ -272,19 +272,19 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
272
272
|
] })
|
|
273
273
|
}
|
|
274
274
|
);
|
|
275
|
-
},
|
|
275
|
+
}, sn = ({
|
|
276
276
|
label: t,
|
|
277
277
|
inputRef: e,
|
|
278
278
|
wrapperRef: n,
|
|
279
279
|
textColor: r,
|
|
280
280
|
screenReaderLabel: l,
|
|
281
281
|
...c
|
|
282
|
-
}) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */
|
|
282
|
+
}) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ y(k, { alignItems: "center", children: [
|
|
283
283
|
/* @__PURE__ */ o(V, { ref: e, ...c }),
|
|
284
|
-
/* @__PURE__ */ o(
|
|
285
|
-
l ? /* @__PURE__ */ o(
|
|
284
|
+
/* @__PURE__ */ o(g, {}),
|
|
285
|
+
l ? /* @__PURE__ */ o(v, { children: l }) : null,
|
|
286
286
|
/* @__PURE__ */ o(
|
|
287
|
-
|
|
287
|
+
j,
|
|
288
288
|
{
|
|
289
289
|
color: r,
|
|
290
290
|
"aria-hidden": !!l,
|
|
@@ -293,7 +293,7 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
293
293
|
}
|
|
294
294
|
)
|
|
295
295
|
] }) }) }), Vt = (t, e, n, r, l, c, i, a) => {
|
|
296
|
-
const s =
|
|
296
|
+
const s = W(!1), _ = (u) => {
|
|
297
297
|
s.current || c?.(u.target.value ?? ""), i?.(u);
|
|
298
298
|
}, p = (u) => {
|
|
299
299
|
s.current = !1, a?.(u);
|
|
@@ -307,10 +307,10 @@ const Ct = "_readOnlyInput_7bzmw_1", Ht = {
|
|
|
307
307
|
else if (h === "Escape")
|
|
308
308
|
s.current = !0, r?.(), u.preventDefault(), u.stopPropagation();
|
|
309
309
|
else if (l) {
|
|
310
|
-
const
|
|
311
|
-
s.current = !0, t.current.blur(), l(I),
|
|
310
|
+
const f = (I, w) => {
|
|
311
|
+
s.current = !0, t.current.blur(), l(I), w.preventDefault(), w.stopPropagation();
|
|
312
312
|
};
|
|
313
|
-
u.shiftKey && h === "Tab" ?
|
|
313
|
+
u.shiftKey && h === "Tab" ? f("left", u) : h === "Tab" ? f("right", u) : h === "ArrowUp" ? f("up", u) : h === "ArrowDown" ? f("down", u) : h === "ArrowRight" ? t.current.value.length === t.current.selectionStart && f("right", u) : h === "ArrowLeft" && t.current.selectionStart === 0 && f("left", u);
|
|
314
314
|
}
|
|
315
315
|
e && e(u);
|
|
316
316
|
},
|
|
@@ -345,7 +345,7 @@ const ee = (t, e, n) => {
|
|
|
345
345
|
autoFocus: u
|
|
346
346
|
}) => {
|
|
347
347
|
ee(t, !!i, !!c);
|
|
348
|
-
const { onKeyDownHandler: h, onFocusHandler:
|
|
348
|
+
const { onKeyDownHandler: h, onFocusHandler: f, onBlurHandler: I } = Vt(
|
|
349
349
|
t,
|
|
350
350
|
d,
|
|
351
351
|
e,
|
|
@@ -354,7 +354,7 @@ const ee = (t, e, n) => {
|
|
|
354
354
|
a,
|
|
355
355
|
p,
|
|
356
356
|
_
|
|
357
|
-
),
|
|
357
|
+
), w = m(
|
|
358
358
|
(T) => {
|
|
359
359
|
r?.(T), l?.(T.target.value);
|
|
360
360
|
},
|
|
@@ -362,12 +362,12 @@ const ee = (t, e, n) => {
|
|
|
362
362
|
);
|
|
363
363
|
return {
|
|
364
364
|
onBlur: I,
|
|
365
|
-
onChange:
|
|
366
|
-
onFocus:
|
|
365
|
+
onChange: w,
|
|
366
|
+
onFocus: f,
|
|
367
367
|
onKeyDown: h,
|
|
368
368
|
autoFocus: c || u
|
|
369
369
|
};
|
|
370
|
-
}, oe = "_textInput_1qe61_1", re = "_onlyTop_1qe61_11", le = "_disabled_1qe61_15", ce = "_onlyBottom_1qe61_20", se = "_onlyLeft_1qe61_28", ie = "_onlyRight_1qe61_37", ae = "_input_1qe61_50", de = "_alwaysShowPlaceholder_1qe61_74", ue = "_icon_1qe61_85", _e = "_standard_1qe61_95", pe = "_success_1qe61_96", he = "_loading_1qe61_108",
|
|
370
|
+
}, oe = "_textInput_1qe61_1", re = "_onlyTop_1qe61_11", le = "_disabled_1qe61_15", ce = "_onlyBottom_1qe61_20", se = "_onlyLeft_1qe61_28", ie = "_onlyRight_1qe61_37", ae = "_input_1qe61_50", de = "_alwaysShowPlaceholder_1qe61_74", ue = "_icon_1qe61_85", _e = "_standard_1qe61_95", pe = "_success_1qe61_96", he = "_loading_1qe61_108", ye = "_modified_1qe61_113", fe = "_error_1qe61_122", me = "_warning_1qe61_131", ge = "_hideBorder_1qe61_145", be = "_clickable_1qe61_152", B = {
|
|
371
371
|
textInput: oe,
|
|
372
372
|
onlyTop: re,
|
|
373
373
|
disabled: le,
|
|
@@ -380,12 +380,12 @@ const ee = (t, e, n) => {
|
|
|
380
380
|
standard: _e,
|
|
381
381
|
success: pe,
|
|
382
382
|
loading: he,
|
|
383
|
-
modified:
|
|
384
|
-
error:
|
|
383
|
+
modified: ye,
|
|
384
|
+
error: fe,
|
|
385
385
|
warning: me,
|
|
386
|
-
hideBorder:
|
|
387
|
-
clickable:
|
|
388
|
-
},
|
|
386
|
+
hideBorder: ge,
|
|
387
|
+
clickable: be
|
|
388
|
+
}, P = ({
|
|
389
389
|
button: t,
|
|
390
390
|
icon: e,
|
|
391
391
|
iconClassName: n,
|
|
@@ -395,24 +395,24 @@ const ee = (t, e, n) => {
|
|
|
395
395
|
disableContentPadding: i,
|
|
396
396
|
disableContentPaddingLeft: a,
|
|
397
397
|
disableContentPaddingRight: s
|
|
398
|
-
}) => !r && !e && !t ? null : t ? /* @__PURE__ */
|
|
399
|
-
l ? /* @__PURE__ */ o(
|
|
398
|
+
}) => !r && !e && !t ? null : t ? /* @__PURE__ */ y(N, { children: [
|
|
399
|
+
l ? /* @__PURE__ */ o(g, { num: 0.25 }) : null,
|
|
400
400
|
t,
|
|
401
|
-
c ? /* @__PURE__ */ o(
|
|
402
|
-
] }) : r ? /* @__PURE__ */
|
|
403
|
-
l && !(i || a) ? /* @__PURE__ */ o(
|
|
401
|
+
c ? /* @__PURE__ */ o(g, { num: 0.25 }) : null
|
|
402
|
+
] }) : r ? /* @__PURE__ */ y(N, { children: [
|
|
403
|
+
l && !(i || a) ? /* @__PURE__ */ o(g, {}) : null,
|
|
404
404
|
r || null,
|
|
405
|
-
c && !(i || s) ? /* @__PURE__ */ o(
|
|
406
|
-
] }) : /* @__PURE__ */
|
|
407
|
-
l ? /* @__PURE__ */ o(
|
|
405
|
+
c && !(i || s) ? /* @__PURE__ */ o(g, {}) : null
|
|
406
|
+
] }) : /* @__PURE__ */ y(N, { children: [
|
|
407
|
+
l ? /* @__PURE__ */ o(g, {}) : null,
|
|
408
408
|
e && /* @__PURE__ */ o(
|
|
409
|
-
|
|
409
|
+
qt,
|
|
410
410
|
{
|
|
411
411
|
icon: e,
|
|
412
|
-
className:
|
|
412
|
+
className: b(B.icon, n)
|
|
413
413
|
}
|
|
414
414
|
),
|
|
415
|
-
c ? /* @__PURE__ */ o(
|
|
415
|
+
c ? /* @__PURE__ */ o(g, {}) : null
|
|
416
416
|
] }), tt = (t) => {
|
|
417
417
|
const {
|
|
418
418
|
variant: e = "standard",
|
|
@@ -428,9 +428,9 @@ const ee = (t, e, n) => {
|
|
|
428
428
|
disableContentPaddingRight: d,
|
|
429
429
|
iconLeft: u,
|
|
430
430
|
iconRight: h,
|
|
431
|
-
moveCursorToEndOnMount:
|
|
431
|
+
moveCursorToEndOnMount: f,
|
|
432
432
|
selectAllOnMount: I,
|
|
433
|
-
autoFocus:
|
|
433
|
+
autoFocus: w,
|
|
434
434
|
onValueChange: T,
|
|
435
435
|
wrapperClassName: rt,
|
|
436
436
|
wrapperStyle: lt,
|
|
@@ -443,43 +443,43 @@ const ee = (t, e, n) => {
|
|
|
443
443
|
hideBorder: _t,
|
|
444
444
|
onFocus: pt,
|
|
445
445
|
onBlur: ht,
|
|
446
|
-
borderRadiusVariant:
|
|
447
|
-
width:
|
|
446
|
+
borderRadiusVariant: yt = "normalBorder",
|
|
447
|
+
width: ft,
|
|
448
448
|
alwaysShowPlaceholder: mt,
|
|
449
|
-
...
|
|
450
|
-
} = t,
|
|
449
|
+
...gt
|
|
450
|
+
} = t, bt = W(null), E = n ?? bt, Bt = ne(E, {
|
|
451
451
|
onEnter: st,
|
|
452
452
|
onEsc: it,
|
|
453
453
|
onChange: dt,
|
|
454
454
|
onValueChange: T,
|
|
455
455
|
selectAllOnMount: I,
|
|
456
|
-
moveCursorToEndOnMount:
|
|
456
|
+
moveCursorToEndOnMount: f,
|
|
457
457
|
onDone: ct,
|
|
458
458
|
onMove: at,
|
|
459
459
|
onFocus: pt,
|
|
460
460
|
onBlur: ht,
|
|
461
461
|
onKeyDown: ut,
|
|
462
|
-
autoFocus:
|
|
463
|
-
}), It = e === "success" ? Q : e === "warning" || e === "error" ? Y : h,
|
|
464
|
-
return /* @__PURE__ */
|
|
462
|
+
autoFocus: w
|
|
463
|
+
}), It = e === "success" ? Q : e === "warning" || e === "error" ? Y : h, wt = e === "loading" ? /* @__PURE__ */ o(Z, {}) : s;
|
|
464
|
+
return /* @__PURE__ */ y(
|
|
465
465
|
"div",
|
|
466
466
|
{
|
|
467
|
-
className:
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
467
|
+
className: b(
|
|
468
|
+
B.textInput,
|
|
469
|
+
B[e],
|
|
470
|
+
B[yt],
|
|
471
471
|
{
|
|
472
|
-
[
|
|
472
|
+
[B.disabled]: r
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
|
-
[
|
|
475
|
+
[B.hideBorder]: _t
|
|
476
476
|
},
|
|
477
477
|
rt
|
|
478
478
|
),
|
|
479
|
-
style: { width:
|
|
479
|
+
style: { width: ft, ...lt },
|
|
480
480
|
children: [
|
|
481
481
|
/* @__PURE__ */ o(
|
|
482
|
-
|
|
482
|
+
P,
|
|
483
483
|
{
|
|
484
484
|
content: a,
|
|
485
485
|
disableContentPadding: _,
|
|
@@ -493,25 +493,25 @@ const ee = (t, e, n) => {
|
|
|
493
493
|
/* @__PURE__ */ o(
|
|
494
494
|
"input",
|
|
495
495
|
{
|
|
496
|
-
className:
|
|
497
|
-
|
|
496
|
+
className: b(
|
|
497
|
+
B.input,
|
|
498
498
|
{
|
|
499
|
-
[
|
|
499
|
+
[B.alwaysShowPlaceholder]: mt
|
|
500
500
|
},
|
|
501
501
|
l
|
|
502
502
|
),
|
|
503
503
|
type: "text",
|
|
504
504
|
disabled: r,
|
|
505
|
-
ref:
|
|
506
|
-
autoFocus:
|
|
507
|
-
...
|
|
508
|
-
...
|
|
505
|
+
ref: E,
|
|
506
|
+
autoFocus: w,
|
|
507
|
+
...gt,
|
|
508
|
+
...Bt
|
|
509
509
|
}
|
|
510
510
|
),
|
|
511
511
|
/* @__PURE__ */ o(
|
|
512
|
-
|
|
512
|
+
P,
|
|
513
513
|
{
|
|
514
|
-
content:
|
|
514
|
+
content: wt,
|
|
515
515
|
disableContentPadding: _,
|
|
516
516
|
disableContentPaddingLeft: p,
|
|
517
517
|
disableContentPaddingRight: d,
|
|
@@ -523,8 +523,8 @@ const ee = (t, e, n) => {
|
|
|
523
523
|
]
|
|
524
524
|
}
|
|
525
525
|
);
|
|
526
|
-
},
|
|
527
|
-
numericTextInputInput:
|
|
526
|
+
}, Be = "_numericTextInputInput_1tnr6_1", Ie = {
|
|
527
|
+
numericTextInputInput: Be
|
|
528
528
|
}, et = ({
|
|
529
529
|
onValueChange: t,
|
|
530
530
|
value: e,
|
|
@@ -534,10 +534,10 @@ const ee = (t, e, n) => {
|
|
|
534
534
|
}) => {
|
|
535
535
|
if (t)
|
|
536
536
|
if (!e)
|
|
537
|
-
t(String(
|
|
537
|
+
t(String(H(n, r, l)));
|
|
538
538
|
else {
|
|
539
|
-
const i = (
|
|
540
|
-
t(String(
|
|
539
|
+
const i = (q(e) || 0) + n;
|
|
540
|
+
t(String(H(i, r, l)));
|
|
541
541
|
}
|
|
542
542
|
}, nt = ({
|
|
543
543
|
onValueChange: t,
|
|
@@ -549,13 +549,13 @@ const ee = (t, e, n) => {
|
|
|
549
549
|
if (e === "")
|
|
550
550
|
t("");
|
|
551
551
|
else {
|
|
552
|
-
const c =
|
|
553
|
-
t(String(
|
|
552
|
+
const c = q(e) || 0;
|
|
553
|
+
t(String(H(c, n, r)));
|
|
554
554
|
}
|
|
555
|
-
},
|
|
555
|
+
}, H = (t, e, n) => {
|
|
556
556
|
let r = t;
|
|
557
557
|
return e != null && (r = Math.max(e, r)), n != null && (r = Math.min(n, r)), r;
|
|
558
|
-
},
|
|
558
|
+
}, we = ({
|
|
559
559
|
value: t,
|
|
560
560
|
onValueChange: e,
|
|
561
561
|
max: n,
|
|
@@ -581,13 +581,13 @@ const ee = (t, e, n) => {
|
|
|
581
581
|
return /* @__PURE__ */ o(
|
|
582
582
|
tt,
|
|
583
583
|
{
|
|
584
|
-
contentRight: s ? c : /* @__PURE__ */
|
|
585
|
-
c && /* @__PURE__ */
|
|
584
|
+
contentRight: s ? c : /* @__PURE__ */ y(N, { children: [
|
|
585
|
+
c && /* @__PURE__ */ y(N, { children: [
|
|
586
586
|
c,
|
|
587
|
-
/* @__PURE__ */ o(
|
|
587
|
+
/* @__PURE__ */ o(g, {})
|
|
588
588
|
] }),
|
|
589
589
|
/* @__PURE__ */ o(
|
|
590
|
-
|
|
590
|
+
Nt,
|
|
591
591
|
{
|
|
592
592
|
onClickUp: i ? void 0 : () => p(l),
|
|
593
593
|
onClickDown: i ? void 0 : () => p(-l),
|
|
@@ -603,19 +603,19 @@ const ee = (t, e, n) => {
|
|
|
603
603
|
min: r,
|
|
604
604
|
max: n,
|
|
605
605
|
step: l,
|
|
606
|
-
className:
|
|
606
|
+
className: b(Ie.numericTextInputInput, a),
|
|
607
607
|
disabled: i,
|
|
608
608
|
..._
|
|
609
609
|
}
|
|
610
610
|
);
|
|
611
|
-
},
|
|
611
|
+
}, an = (t, e) => {
|
|
612
612
|
const n = m(
|
|
613
613
|
(l) => {
|
|
614
614
|
if (e)
|
|
615
615
|
if (!l)
|
|
616
616
|
e(void 0);
|
|
617
617
|
else {
|
|
618
|
-
const c =
|
|
618
|
+
const c = q(l);
|
|
619
619
|
c !== void 0 && e(c);
|
|
620
620
|
}
|
|
621
621
|
},
|
|
@@ -629,17 +629,17 @@ const ee = (t, e, n) => {
|
|
|
629
629
|
if (S(t))
|
|
630
630
|
return !1;
|
|
631
631
|
{
|
|
632
|
-
const n =
|
|
632
|
+
const n = q(t);
|
|
633
633
|
return !S(n) && !S(e) && n <= e;
|
|
634
634
|
}
|
|
635
635
|
}, ke = (t, e) => {
|
|
636
636
|
if (S(t))
|
|
637
637
|
return !1;
|
|
638
638
|
{
|
|
639
|
-
const n =
|
|
639
|
+
const n = q(t);
|
|
640
640
|
return !S(n) && !S(e) && n >= e;
|
|
641
641
|
}
|
|
642
|
-
},
|
|
642
|
+
}, dn = ({
|
|
643
643
|
disabled: t,
|
|
644
644
|
onValueChange: e,
|
|
645
645
|
value: n,
|
|
@@ -659,9 +659,9 @@ const ee = (t, e, n) => {
|
|
|
659
659
|
},
|
|
660
660
|
[r, l, e]
|
|
661
661
|
);
|
|
662
|
-
return /* @__PURE__ */
|
|
662
|
+
return /* @__PURE__ */ y(k, { role: "group", children: [
|
|
663
663
|
/* @__PURE__ */ o(
|
|
664
|
-
|
|
664
|
+
M,
|
|
665
665
|
{
|
|
666
666
|
leftIcon: G,
|
|
667
667
|
"aria-label": "Decrease",
|
|
@@ -669,9 +669,9 @@ const ee = (t, e, n) => {
|
|
|
669
669
|
onClick: () => a(-c)
|
|
670
670
|
}
|
|
671
671
|
),
|
|
672
|
-
/* @__PURE__ */ o(
|
|
672
|
+
/* @__PURE__ */ o(g, {}),
|
|
673
673
|
/* @__PURE__ */ o(
|
|
674
|
-
|
|
674
|
+
we,
|
|
675
675
|
{
|
|
676
676
|
hideButtons: !0,
|
|
677
677
|
onValueChange: s,
|
|
@@ -683,9 +683,9 @@ const ee = (t, e, n) => {
|
|
|
683
683
|
...i
|
|
684
684
|
}
|
|
685
685
|
),
|
|
686
|
-
/* @__PURE__ */ o(
|
|
686
|
+
/* @__PURE__ */ o(g, {}),
|
|
687
687
|
/* @__PURE__ */ o(
|
|
688
|
-
|
|
688
|
+
M,
|
|
689
689
|
{
|
|
690
690
|
leftIcon: X,
|
|
691
691
|
"aria-label": "Increase",
|
|
@@ -694,17 +694,17 @@ const ee = (t, e, n) => {
|
|
|
694
694
|
}
|
|
695
695
|
)
|
|
696
696
|
] });
|
|
697
|
-
},
|
|
697
|
+
}, un = ({
|
|
698
698
|
hiddenIcon: t = $t,
|
|
699
|
-
visibleIcon: e =
|
|
699
|
+
visibleIcon: e = vt,
|
|
700
700
|
...n
|
|
701
701
|
}) => {
|
|
702
|
-
const [r, l] =
|
|
702
|
+
const [r, l] = Rt(!0);
|
|
703
703
|
return /* @__PURE__ */ o(
|
|
704
704
|
tt,
|
|
705
705
|
{
|
|
706
706
|
buttonRight: /* @__PURE__ */ o(
|
|
707
|
-
|
|
707
|
+
C,
|
|
708
708
|
{
|
|
709
709
|
icon: r ? t : e,
|
|
710
710
|
onClick: () => l((c) => !c)
|
|
@@ -719,10 +719,10 @@ const ee = (t, e, n) => {
|
|
|
719
719
|
text: e,
|
|
720
720
|
...n
|
|
721
721
|
}) => /* @__PURE__ */ o(
|
|
722
|
-
|
|
722
|
+
j,
|
|
723
723
|
{
|
|
724
724
|
variant: "bold",
|
|
725
|
-
color:
|
|
725
|
+
color: D(t ? "--silver" : "--tjara"),
|
|
726
726
|
size: "small",
|
|
727
727
|
...kt(n),
|
|
728
728
|
children: e
|
|
@@ -733,8 +733,8 @@ const ee = (t, e, n) => {
|
|
|
733
733
|
label: n,
|
|
734
734
|
disabled: r,
|
|
735
735
|
className: l
|
|
736
|
-
}) => /* @__PURE__ */
|
|
737
|
-
e ? /* @__PURE__ */ o(
|
|
736
|
+
}) => /* @__PURE__ */ y("label", { htmlFor: t, className: l, children: [
|
|
737
|
+
e ? /* @__PURE__ */ o(v, { children: e }) : null,
|
|
738
738
|
/* @__PURE__ */ o(
|
|
739
739
|
Te,
|
|
740
740
|
{
|
|
@@ -743,18 +743,20 @@ const ee = (t, e, n) => {
|
|
|
743
743
|
disabled: r
|
|
744
744
|
}
|
|
745
745
|
)
|
|
746
|
-
] }), Se = "
|
|
746
|
+
] }), Se = "_labelledSelect_vs9pj_1", Re = "_medium_vs9pj_7", Ne = "_large_vs9pj_11", $e = "_error_vs9pj_15", ve = "_normal_vs9pj_20", je = "_onlyTopBorder_vs9pj_25", qe = "_onlyBottomBorder_vs9pj_31", Pe = "_onlyLeftBorder_vs9pj_36", Ae = "_onlyRightBorder_vs9pj_42", Ce = "_label_vs9pj_1", He = "_select_vs9pj_65", Fe = "_iconWrapper_vs9pj_99", x = {
|
|
747
747
|
labelledSelect: Se,
|
|
748
|
-
medium:
|
|
749
|
-
large:
|
|
750
|
-
|
|
748
|
+
medium: Re,
|
|
749
|
+
large: Ne,
|
|
750
|
+
error: $e,
|
|
751
|
+
normal: ve,
|
|
752
|
+
onlyTopBorder: je,
|
|
751
753
|
onlyBottomBorder: qe,
|
|
752
|
-
|
|
753
|
-
|
|
754
|
+
onlyLeftBorder: Pe,
|
|
755
|
+
onlyRightBorder: Ae,
|
|
754
756
|
label: Ce,
|
|
755
757
|
select: He,
|
|
756
758
|
iconWrapper: Fe
|
|
757
|
-
},
|
|
759
|
+
}, _n = ({
|
|
758
760
|
onChange: t,
|
|
759
761
|
onValueChange: e,
|
|
760
762
|
id: n,
|
|
@@ -772,10 +774,10 @@ const ee = (t, e, n) => {
|
|
|
772
774
|
},
|
|
773
775
|
[t, e]
|
|
774
776
|
);
|
|
775
|
-
return /* @__PURE__ */
|
|
777
|
+
return /* @__PURE__ */ y(
|
|
776
778
|
"div",
|
|
777
779
|
{
|
|
778
|
-
className:
|
|
780
|
+
className: b(
|
|
779
781
|
x.labelledSelect,
|
|
780
782
|
x[i],
|
|
781
783
|
x[a],
|
|
@@ -796,33 +798,33 @@ const ee = (t, e, n) => {
|
|
|
796
798
|
{
|
|
797
799
|
id: d,
|
|
798
800
|
onChange: u,
|
|
799
|
-
className:
|
|
801
|
+
className: b(x.select, x[i], x[a]),
|
|
800
802
|
..._,
|
|
801
803
|
children: s
|
|
802
804
|
}
|
|
803
805
|
),
|
|
804
|
-
/* @__PURE__ */ o("div", { className:
|
|
806
|
+
/* @__PURE__ */ o("div", { className: b(x.iconWrapper), children: /* @__PURE__ */ o(
|
|
805
807
|
J,
|
|
806
808
|
{
|
|
807
|
-
icon:
|
|
809
|
+
icon: jt,
|
|
808
810
|
size: 24,
|
|
809
|
-
color:
|
|
811
|
+
color: D("--modern-blue")
|
|
810
812
|
}
|
|
811
813
|
) })
|
|
812
814
|
]
|
|
813
815
|
}
|
|
814
816
|
);
|
|
815
|
-
}, We = "_labelledTextInput_1uyc3_1", De = "_onlyTop_1uyc3_21", Ee = "_onlyBottom_1uyc3_27",
|
|
817
|
+
}, We = "_labelledTextInput_1uyc3_1", De = "_onlyTop_1uyc3_21", Ee = "_onlyBottom_1uyc3_27", Le = "_onlyLeft_1uyc3_32", Me = "_onlyRight_1uyc3_38", Oe = "_disabled_1uyc3_53", Ue = "_medium_1uyc3_61", Ke = "_large_1uyc3_73", ze = "_error_1uyc3_87", R = {
|
|
816
818
|
labelledTextInput: We,
|
|
817
819
|
onlyTop: De,
|
|
818
820
|
onlyBottom: Ee,
|
|
819
|
-
onlyLeft:
|
|
820
|
-
onlyRight:
|
|
821
|
-
disabled:
|
|
822
|
-
medium:
|
|
823
|
-
large:
|
|
824
|
-
error:
|
|
825
|
-
},
|
|
821
|
+
onlyLeft: Le,
|
|
822
|
+
onlyRight: Me,
|
|
823
|
+
disabled: Oe,
|
|
824
|
+
medium: Ue,
|
|
825
|
+
large: Ke,
|
|
826
|
+
error: ze
|
|
827
|
+
}, pn = Tt.forwardRef(
|
|
826
828
|
({
|
|
827
829
|
autoComplete: t = "off",
|
|
828
830
|
label: e,
|
|
@@ -838,21 +840,21 @@ const ee = (t, e, n) => {
|
|
|
838
840
|
width: d,
|
|
839
841
|
...u
|
|
840
842
|
}, h) => {
|
|
841
|
-
const
|
|
843
|
+
const f = z(), I = n ?? f, w = m(
|
|
842
844
|
(T) => {
|
|
843
845
|
i?.(T), s?.(T.target.value);
|
|
844
846
|
},
|
|
845
847
|
[i, s]
|
|
846
848
|
);
|
|
847
|
-
return /* @__PURE__ */
|
|
849
|
+
return /* @__PURE__ */ y(
|
|
848
850
|
"div",
|
|
849
851
|
{
|
|
850
|
-
className:
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
a &&
|
|
852
|
+
className: b(
|
|
853
|
+
R.labelledTextInput,
|
|
854
|
+
R[p],
|
|
855
|
+
R[_],
|
|
856
|
+
R[l],
|
|
857
|
+
a && R.disabled
|
|
856
858
|
),
|
|
857
859
|
style: d ? { width: d } : void 0,
|
|
858
860
|
children: [
|
|
@@ -872,7 +874,7 @@ const ee = (t, e, n) => {
|
|
|
872
874
|
autoComplete: t,
|
|
873
875
|
type: "text",
|
|
874
876
|
value: c,
|
|
875
|
-
onChange:
|
|
877
|
+
onChange: w,
|
|
876
878
|
disabled: a,
|
|
877
879
|
...u
|
|
878
880
|
}
|
|
@@ -881,7 +883,7 @@ const ee = (t, e, n) => {
|
|
|
881
883
|
}
|
|
882
884
|
);
|
|
883
885
|
}
|
|
884
|
-
),
|
|
886
|
+
), hn = ({
|
|
885
887
|
variant: t = "standard",
|
|
886
888
|
disabled: e,
|
|
887
889
|
wrapperClassName: n,
|
|
@@ -897,50 +899,50 @@ const ee = (t, e, n) => {
|
|
|
897
899
|
onClickRight: u,
|
|
898
900
|
children: h
|
|
899
901
|
}) => {
|
|
900
|
-
const
|
|
901
|
-
return /* @__PURE__ */
|
|
902
|
+
const f = t === "success" ? Q : t === "warning" || t === "error" ? Y : _, I = t === "loading" ? /* @__PURE__ */ o(Z, {}) : c;
|
|
903
|
+
return /* @__PURE__ */ y(
|
|
902
904
|
"div",
|
|
903
905
|
{
|
|
904
|
-
className:
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
906
|
+
className: b(
|
|
907
|
+
B.textInput,
|
|
908
|
+
B.inputContainer,
|
|
909
|
+
B[t],
|
|
908
910
|
{
|
|
909
|
-
[
|
|
911
|
+
[B.disabled]: e
|
|
910
912
|
},
|
|
911
913
|
n
|
|
912
914
|
),
|
|
913
915
|
style: r,
|
|
914
916
|
children: [
|
|
915
917
|
/* @__PURE__ */ o(
|
|
916
|
-
|
|
918
|
+
P,
|
|
917
919
|
{
|
|
918
920
|
content: l,
|
|
919
921
|
disableContentPadding: i,
|
|
920
922
|
disableContentPaddingLeft: a,
|
|
921
923
|
disableContentPaddingRight: s,
|
|
922
924
|
spaceOnLeft: !0,
|
|
923
|
-
button: p ? /* @__PURE__ */ o(
|
|
925
|
+
button: p ? /* @__PURE__ */ o(C, { onClick: d, icon: p }) : void 0
|
|
924
926
|
}
|
|
925
927
|
),
|
|
926
928
|
/* @__PURE__ */ o(k, { alignItems: "center", children: h }),
|
|
927
929
|
/* @__PURE__ */ o(
|
|
928
|
-
|
|
930
|
+
P,
|
|
929
931
|
{
|
|
930
932
|
content: I,
|
|
931
933
|
disableContentPadding: i,
|
|
932
934
|
disableContentPaddingLeft: a,
|
|
933
935
|
disableContentPaddingRight: s,
|
|
934
936
|
spaceOnRight: !0,
|
|
935
|
-
button:
|
|
937
|
+
button: f ? /* @__PURE__ */ o(C, { onClick: u, icon: f }) : void 0
|
|
936
938
|
}
|
|
937
939
|
)
|
|
938
940
|
]
|
|
939
941
|
}
|
|
940
942
|
);
|
|
941
|
-
},
|
|
942
|
-
textArea:
|
|
943
|
-
},
|
|
943
|
+
}, Ge = "_textArea_6n6nc_1", Xe = {
|
|
944
|
+
textArea: Ge
|
|
945
|
+
}, yn = F(
|
|
944
946
|
({
|
|
945
947
|
className: t,
|
|
946
948
|
value: e,
|
|
@@ -964,7 +966,7 @@ const ee = (t, e, n) => {
|
|
|
964
966
|
disabled: a,
|
|
965
967
|
rows: i,
|
|
966
968
|
readOnly: c,
|
|
967
|
-
className:
|
|
969
|
+
className: b(Xe.textArea, t),
|
|
968
970
|
style: { resize: l },
|
|
969
971
|
onChange: p,
|
|
970
972
|
value: e,
|
|
@@ -975,30 +977,30 @@ const ee = (t, e, n) => {
|
|
|
975
977
|
}
|
|
976
978
|
);
|
|
977
979
|
export {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
980
|
+
on as AmountStepperButtons,
|
|
981
|
+
Ut as Checkbox,
|
|
982
|
+
ln as CheckboxWithLabel,
|
|
981
983
|
ot as InputLabel,
|
|
982
984
|
Te as InputLabelText,
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
985
|
+
_n as LabelledSelect,
|
|
986
|
+
pn as LabelledTextInput,
|
|
987
|
+
dn as NumericStepper,
|
|
988
|
+
we as NumericTextInput,
|
|
989
|
+
un as PasswordInput,
|
|
988
990
|
V as RadioButton,
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
991
|
+
cn as RadioButtonBox,
|
|
992
|
+
sn as RadioButtonWithLabel,
|
|
993
|
+
Ct as ReadOnlyNumericInput,
|
|
994
|
+
Et as Switch,
|
|
995
|
+
rn as SwitchWithLabel,
|
|
996
|
+
yn as TextArea,
|
|
995
997
|
tt as TextInput,
|
|
996
|
-
|
|
998
|
+
hn as TextInputBox,
|
|
997
999
|
te as elementHasSelectionRange,
|
|
998
1000
|
et as onStepValueChange,
|
|
999
1001
|
nt as onTextValueChange,
|
|
1000
1002
|
Vt as useKeyboardNavigation,
|
|
1001
|
-
|
|
1003
|
+
an as useNumericInputValue,
|
|
1002
1004
|
ee as useSelectAllOnMount,
|
|
1003
1005
|
ne as useTextInput
|
|
1004
1006
|
};
|