forked from MapComplete/MapComplete
Rework preferences handling, improve search
This commit is contained in:
parent
b45cfcaa18
commit
4085bbc1ac
19 changed files with 438 additions and 534 deletions
|
@ -1,40 +1,3 @@
|
|||
<script lang="ts">
|
||||
import OHTable from "./InputElement/Helpers/OpeningHours/OHTable.svelte"
|
||||
import { UIEventSource } from "../Logic/UIEventSource"
|
||||
import type { OpeningHour } from "./OpeningHours/OpeningHours"
|
||||
export let value: UIEventSource<OpeningHour[]> = new UIEventSource<OpeningHour[]>([
|
||||
{
|
||||
weekday: 3,
|
||||
startMinutes: 0,
|
||||
endMinutes: 0,
|
||||
startHour: 12,
|
||||
endHour: 16
|
||||
},
|
||||
{
|
||||
weekday: 0,
|
||||
startMinutes: 0,
|
||||
endMinutes: 0,
|
||||
startHour: 0,
|
||||
endHour: 24
|
||||
},
|
||||
{
|
||||
weekday: 1,
|
||||
startMinutes: 0,
|
||||
endMinutes: 0,
|
||||
startHour: 1,
|
||||
endHour: 24
|
||||
},
|
||||
{
|
||||
weekday: 2,
|
||||
startMinutes: 0,
|
||||
endMinutes: 0,
|
||||
startHour: 12,
|
||||
endHour: 24
|
||||
}
|
||||
])
|
||||
|
||||
</script>
|
||||
|
||||
<main >
|
||||
<OHTable {value}/>
|
||||
</main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue