|
| 1 | +<div |
| 2 | + id="{{_id}}" |
| 3 | + class="ui5-step-input-root" |
| 4 | + style="{{styles}}" |
| 5 | + @keydown="{{_onkeydown}}" |
| 6 | + @focusin="{{_onfocusin}}" |
| 7 | + @focusout="{{_onfocusout}}" |
| 8 | +> |
| 9 | + <!-- Decrement Icon --> |
| 10 | + <div |
| 11 | + class="ui5-step-icon ui5-step-dec" |
| 12 | + title="{{decIconTitle}}" |
| 13 | + > |
| 14 | + <ui5-icon |
| 15 | + id="{{_id}}-dec" |
| 16 | + name="{{decIconName}}" |
| 17 | + tabindex="-1" |
| 18 | + accessible-name="{{decIconTitle}}" |
| 19 | + @click="{{_decValue}}" |
| 20 | + @focusout="{{_onButtonFocusOut}}" |
| 21 | + @mousedown="{{_decSpin}}" |
| 22 | + @mouseup="{{_resetSpin}}" |
| 23 | + @mouseout="{{_resetSpinOut}}" |
| 24 | + input-icon |
| 25 | + show-tooltip |
| 26 | + ?clickable="{{_decIconClickable}}" |
| 27 | + ></ui5-icon> |
| 28 | + </div> |
| 29 | + |
| 30 | + <!-- INPUT --> |
| 31 | + <ui5-input |
| 32 | + id="{{_id}}-inner" |
| 33 | + class="ui5-step-input-input" |
| 34 | + placeholder="{{placeholder}}" |
| 35 | + type="{{type}}" |
| 36 | + value="{{_valuePrecisioned}}" |
| 37 | + ?disabled="{{disabled}}" |
| 38 | + ?required="{{required}}" |
| 39 | + ?readonly="{{readonly}}" |
| 40 | + value-state="{{valueState}}" |
| 41 | + data-sap-focus-ref |
| 42 | + ._inputAccInfo ="{{accInfo}}" |
| 43 | + ._nativeInputAttributes="{{inputAttributes}}" |
| 44 | + @ui5-change="{{_onInputChange}}" |
| 45 | + @ui5-submit="{{_onInputChange}}" |
| 46 | + @focusout="{{_onInputFocusOut}}" |
| 47 | + @focusin="{{_onInputFocusIn}}" |
| 48 | + > |
| 49 | + |
| 50 | + {{#if valueStateMessage.length}} |
| 51 | + <slot name="valueStateMessage" slot="valueStateMessage"></slot> |
| 52 | + {{/if}} |
| 53 | + |
| 54 | + </ui5-input> |
| 55 | + |
| 56 | + <!-- Increment Icon --> |
| 57 | + <div |
| 58 | + class="ui5-step-icon ui5-step-inc" |
| 59 | + title="{{incIconTitle}}" |
| 60 | + > |
| 61 | + <ui5-icon |
| 62 | + id="{{_id}}-inc" |
| 63 | + name="{{incIconName}}" |
| 64 | + tabindex="-1" |
| 65 | + accessible-name="{{incIconTitle}}" |
| 66 | + @click="{{_incValue}}" |
| 67 | + @focusout="{{_onButtonFocusOut}}" |
| 68 | + @mousedown="{{_incSpin}}" |
| 69 | + @mouseup="{{_resetSpin}}" |
| 70 | + @mouseout="{{_resetSpinOut}}" |
| 71 | + input-icon |
| 72 | + show-tooltip |
| 73 | + ?clickable="{{_incIconClickable}}" |
| 74 | + ></ui5-icon> |
| 75 | + </div> |
| 76 | + |
| 77 | + <slot name="formSupport"></slot> |
| 78 | + |
| 79 | +</div> |
0 commit comments