props.masterDetail.isFormMode && props.masterDetail.exitForm()}
+ onkeydown={(e) => e.key === 'Enter' && props.masterDetail.isFormMode && props.masterDetail.exitForm()}
+ class={`
+ ${props.masterDetail.isMobile ? "w-full" : props.masterDetail.isFormMode ? "w-[3%] cursor-pointer" : "w-[35%]"}
+ transition-all duration-300 flex flex-col items-center p-2 h-full overflow-y-auto
+ `}
+>
+
+ {#if props.masterDetail.isFormMode}
+
+
+
+ {#each "INSTRUMENT".split("") as c}
+ {c}
+ {/each}
+
+
+ {/if}
+
+ {#if !props.masterDetail.isFormMode}
+
e.stopPropagation()} onkeydown={(e) => {
+ if (e.key === 'Enter' || e.key === ' ') {
+ e.preventDefault();
+ e.stopPropagation();
+ }
+ }}>
+
+
+ {#if search.searchData.length > 0}
+
+ {:else}
+
+
+
+ {/if}
+
+
+ {/if}
+