|
178 | 178 | data-f7-slot={f7Slot} |
179 | 179 | {...restProps($$restProps)} |
180 | 180 | > |
181 | | - <slot name="before-inner" /> |
| 181 | + <slot searchbar={f7Searchbar} name="before-inner" /> |
182 | 182 | <div class="searchbar-inner"> |
183 | | - <slot name="inner-start" /> |
| 183 | + <slot searchbar={f7Searchbar} name="inner-start" /> |
184 | 184 | <div class="searchbar-input-wrap"> |
185 | | - <slot name="input-wrap-start" /> |
| 185 | + <slot searchbar={f7Searchbar} name="input-wrap-start" /> |
186 | 186 | <input |
187 | 187 | value={typeof value === 'undefined' ? '' : value} |
188 | 188 | {placeholder} |
|
195 | 195 | /> |
196 | 196 | <i class="searchbar-icon" /> |
197 | 197 | {#if clearButton}<span on:click={onClearButtonClick} class="input-clear-button" />{/if} |
198 | | - <slot name="input-wrap-end" /> |
| 198 | + <slot searchbar={f7Searchbar} name="input-wrap-end" /> |
199 | 199 | </div> |
200 | 200 | {#if disableButton} |
201 | 201 | <span on:click={onDisableButtonClick} class="searchbar-disable-button" |
202 | 202 | >{disableButtonText}</span |
203 | 203 | > |
204 | 204 | {/if} |
205 | | - <slot name="inner-end" /> |
206 | | - <slot /> |
| 205 | + <slot searchbar={f7Searchbar} name="inner-end" /> |
| 206 | + <slot searchbar={f7Searchbar} /> |
207 | 207 | </div> |
208 | | - <slot name="after-inner" /> |
| 208 | + <slot searchbar={f7Searchbar} name="after-inner" /> |
209 | 209 | </form> |
210 | 210 | {:else} |
211 | 211 | <div bind:this={el} class={classes} data-f7-slot={f7Slot} {...restProps($$restProps)}> |
212 | | - <slot name="before-inner" /> |
| 212 | + <slot searchbar={f7Searchbar} name="before-inner" /> |
213 | 213 | <div class="searchbar-inner"> |
214 | | - <slot name="inner-start" /> |
| 214 | + <slot searchbar={f7Searchbar} name="inner-start" /> |
215 | 215 | <div class="searchbar-input-wrap"> |
216 | | - <slot name="input-wrap-start" /> |
| 216 | + <slot searchbar={f7Searchbar} name="input-wrap-start" /> |
217 | 217 | <input |
218 | 218 | value={typeof value === 'undefined' ? '' : value} |
219 | 219 | {placeholder} |
|
226 | 226 | /> |
227 | 227 | <i class="searchbar-icon" /> |
228 | 228 | {#if clearButton}<span on:click={onClearButtonClick} class="input-clear-button" />{/if} |
229 | | - <slot name="input-wrap-end" /> |
| 229 | + <slot searchbar={f7Searchbar} name="input-wrap-end" /> |
230 | 230 | </div> |
231 | 231 | {#if disableButton} |
232 | 232 | <span on:click={onDisableButtonClick} class="searchbar-disable-button" |
233 | 233 | >{disableButtonText}</span |
234 | 234 | > |
235 | 235 | {/if} |
236 | | - <slot name="inner-end" /> |
237 | | - <slot /> |
| 236 | + <slot searchbar={f7Searchbar} name="inner-end" /> |
| 237 | + <slot searchbar={f7Searchbar} /> |
238 | 238 | </div> |
239 | | - <slot name="after-inner" /> |
| 239 | + <slot searchbar={f7Searchbar} name="after-inner" /> |
240 | 240 | </div> |
241 | 241 | {/if} |
0 commit comments