(t0)
| 56 | readonly onRemoveImage?: (id: number) => void; |
| 57 | }; |
| 58 | export function SelectMulti(t0) { |
| 59 | const $ = _c(44); |
| 60 | const { |
| 61 | isDisabled: t1, |
| 62 | visibleOptionCount: t2, |
| 63 | options, |
| 64 | defaultValue: t3, |
| 65 | onCancel, |
| 66 | onChange, |
| 67 | onFocus, |
| 68 | focusValue, |
| 69 | submitButtonText, |
| 70 | onSubmit, |
| 71 | onDownFromLastItem, |
| 72 | onUpFromFirstItem, |
| 73 | initialFocusLast, |
| 74 | onOpenEditor, |
| 75 | hideIndexes: t4, |
| 76 | onImagePaste, |
| 77 | pastedContents, |
| 78 | onRemoveImage |
| 79 | } = t0; |
| 80 | const isDisabled = t1 === undefined ? false : t1; |
| 81 | const visibleOptionCount = t2 === undefined ? 5 : t2; |
| 82 | let t5; |
| 83 | if ($[0] !== t3) { |
| 84 | t5 = t3 === undefined ? [] : t3; |
| 85 | $[0] = t3; |
| 86 | $[1] = t5; |
| 87 | } else { |
| 88 | t5 = $[1]; |
| 89 | } |
| 90 | const defaultValue = t5; |
| 91 | const hideIndexes = t4 === undefined ? false : t4; |
| 92 | let t6; |
| 93 | if ($[2] !== defaultValue || $[3] !== focusValue || $[4] !== hideIndexes || $[5] !== initialFocusLast || $[6] !== isDisabled || $[7] !== onCancel || $[8] !== onChange || $[9] !== onDownFromLastItem || $[10] !== onFocus || $[11] !== onSubmit || $[12] !== onUpFromFirstItem || $[13] !== options || $[14] !== submitButtonText || $[15] !== visibleOptionCount) { |
| 94 | t6 = { |
| 95 | isDisabled, |
| 96 | visibleOptionCount, |
| 97 | options, |
| 98 | defaultValue, |
| 99 | onChange, |
| 100 | onCancel, |
| 101 | onFocus, |
| 102 | focusValue, |
| 103 | submitButtonText, |
| 104 | onSubmit, |
| 105 | onDownFromLastItem, |
| 106 | onUpFromFirstItem, |
| 107 | initialFocusLast, |
| 108 | hideIndexes |
| 109 | }; |
| 110 | $[2] = defaultValue; |
| 111 | $[3] = focusValue; |
| 112 | $[4] = hideIndexes; |
| 113 | $[5] = initialFocusLast; |
| 114 | $[6] = isDisabled; |
| 115 | $[7] = onCancel; |
nothing calls this directly
no test coverage detected