-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * w * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
- Loading branch information
1 parent
f68447c
commit 952169c
Showing
35 changed files
with
1,550 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
INSERT INTO "company" ("lat", "lng", "name", "address", "zone") VALUES | ||
(51.493713, 14.625855, 'Taxi Weißwasser', 'Werner-Seelenbinder-Straße 70A, 02943 Weißwasser/Oberlausitz', 2), | ||
(51.532974, 14.660599, 'Taxi Gablenz', 'Schulstraße 21, 02953 Gablenz', 2), | ||
(51.38096, 14.666578, 'Taxi Reichwalde', 'Robert-Koch-Straße 45, 02943 Boxberg/Oberlausitz', 3), | ||
(51.30576, 14.782109, 'Taxi Moholz', 'Postweg 10, 02906 Niesky', 3), | ||
(51.302185, 14.834551, 'Taxi Niesky', 'Trebuser Str. 4, 02906 Niesky', 3), | ||
(51.321884, 14.944467, 'Taxi Rothenburg', 'Zur Wasserscheide 37, 02929 Rothenburg/Oberlausitz', 3), | ||
(51.166775, 14.934901, 'Taxi Schöpstal', 'Ebersbacher Str. 43, 02829 Schöpstal', 4), | ||
(51.129536, 14.941331, 'Taxi Görlitz', 'Plantagenweg 3, 02827 Görlitz', 4); | ||
(51.38096, 14.666578, 'Taxi Reichwalde', 'Robert-Koch-Straße 45, 02943 Boxberg/Oberlausitz', 1), | ||
(51.30576, 14.782109, 'Taxi Moholz', 'Postweg 10, 02906 Niesky', 1), | ||
(51.302185, 14.834551, 'Taxi Niesky', 'Trebuser Str. 4, 02906 Niesky', 1), | ||
(51.321884, 14.944467, 'Taxi Rothenburg', 'Zur Wasserscheide 37, 02929 Rothenburg/Oberlausitz', 1), | ||
(51.166775, 14.934901, 'Taxi Schöpstal', 'Ebersbacher Str. 43, 02829 Schöpstal', 3), | ||
(51.129536, 14.941331, 'Taxi Görlitz', 'Plantagenweg 3, 02827 Görlitz', 3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Root from "./range-calendar.svelte"; | ||
import Cell from "./range-calendar-cell.svelte"; | ||
import Day from "./range-calendar-day.svelte"; | ||
import Grid from "./range-calendar-grid.svelte"; | ||
import Header from "./range-calendar-header.svelte"; | ||
import Months from "./range-calendar-months.svelte"; | ||
import GridRow from "./range-calendar-grid-row.svelte"; | ||
import Heading from "./range-calendar-heading.svelte"; | ||
import GridBody from "./range-calendar-grid-body.svelte"; | ||
import GridHead from "./range-calendar-grid-head.svelte"; | ||
import HeadCell from "./range-calendar-head-cell.svelte"; | ||
import NextButton from "./range-calendar-next-button.svelte"; | ||
import PrevButton from "./range-calendar-prev-button.svelte"; | ||
|
||
export { | ||
Day, | ||
Cell, | ||
Grid, | ||
Header, | ||
Months, | ||
GridRow, | ||
Heading, | ||
GridBody, | ||
GridHead, | ||
HeadCell, | ||
NextButton, | ||
PrevButton, | ||
// | ||
Root as RangeCalendar, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<script lang="ts"> | ||
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui"; | ||
import { cn } from "$lib/shadcn/utils.js"; | ||
let { | ||
ref = $bindable(null), | ||
class: className, | ||
...restProps | ||
}: RangeCalendarPrimitive.CellProps = $props(); | ||
</script> | ||
|
||
<RangeCalendarPrimitive.Cell | ||
bind:ref | ||
class={cn( | ||
"[&:has([data-selected])]:bg-accent [&:has([data-selected][data-outside-month])]:bg-accent/50 relative p-0 text-center text-sm focus-within:relative focus-within:z-20 first:[&:has([data-selected])]:rounded-l-md last:[&:has([data-selected])]:rounded-r-md [&:has([data-selected][data-selection-end])]:rounded-r-md [&:has([data-selected][data-selection-start])]:rounded-l-md", | ||
className | ||
)} | ||
{...restProps} | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<script lang="ts"> | ||
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui"; | ||
import { buttonVariants } from "$lib/shadcn/button/index.js"; | ||
import { cn } from "$lib/shadcn/utils.js"; | ||
let { | ||
ref = $bindable(null), | ||
class: className, | ||
...restProps | ||
}: RangeCalendarPrimitive.DayProps = $props(); | ||
export { className as class }; | ||
</script> | ||
|
||
<RangeCalendarPrimitive.Day | ||
bind:ref | ||
class={cn( | ||
buttonVariants({ variant: "ghost" }), | ||
"size-8 p-0 font-normal data-[selected]:opacity-100", | ||
// Today | ||
"[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground", | ||
// Selection Start | ||
"data-[selection-start]:bg-primary data-[selection-start]:text-primary-foreground data-[selection-start]:hover:bg-primary data-[selection-start]:hover:text-primary-foreground data-[selection-start]:focus:bg-primary data-[selection-start]:focus:text-primary-foreground", | ||
// Selection End | ||
"data-[selection-end]:bg-primary data-[selection-end]:text-primary-foreground data-[selection-end]:hover:bg-primary data-[selection-end]:hover:text-primary-foreground data-[selection-end]:focus:bg-primary data-[selection-end]:focus:text-primary-foreground", | ||
// Outside months | ||
"data-[outside-month]:text-muted-foreground [&[data-outside-month][data-selected]]:bg-accent/50 [&[data-outside-month][data-selected]]:text-muted-foreground data-[outside-month]:pointer-events-none data-[outside-month]:opacity-50 [&[data-outside-month][data-selected]]:opacity-30", | ||
// Disabled | ||
"data-[disabled]:text-muted-foreground data-[disabled]:opacity-50", | ||
// Unavailable | ||
"data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through", | ||
className | ||
)} | ||
{...restProps} | ||
/> |
12 changes: 12 additions & 0 deletions
12
src/lib/shadcn/range-calendar/range-calendar-grid-body.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script lang="ts"> | ||
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui"; | ||
import { cn } from "$lib/shadcn/utils.js"; | ||
let { | ||
ref = $bindable(null), | ||
class: className, | ||
...restProps | ||
}: RangeCalendarPrimitive.GridBodyProps = $props(); | ||
</script> | ||
|
||
<RangeCalendarPrimitive.GridBody bind:ref class={cn(className)} {...restProps} /> |
12 changes: 12 additions & 0 deletions
12
src/lib/shadcn/range-calendar/range-calendar-grid-head.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script lang="ts"> | ||
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui"; | ||
import { cn } from "$lib/shadcn/utils.js"; | ||
let { | ||
ref = $bindable(null), | ||
class: className, | ||
...restProps | ||
}: RangeCalendarPrimitive.GridHeadProps = $props(); | ||
</script> | ||
|
||
<RangeCalendarPrimitive.GridHead bind:ref class={cn(className)} {...restProps} /> |
12 changes: 12 additions & 0 deletions
12
src/lib/shadcn/range-calendar/range-calendar-grid-row.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script lang="ts"> | ||
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui"; | ||
import { cn } from "$lib/shadcn/utils.js"; | ||
let { | ||
ref = $bindable(null), | ||
class: className, | ||
...restProps | ||
}: RangeCalendarPrimitive.GridRowProps = $props(); | ||
</script> | ||
|
||
<RangeCalendarPrimitive.GridRow bind:ref class={cn("flex", className)} {...restProps} /> |
Oops, something went wrong.