Sanitize lib paths
This commit is contained in:
parent
df31c4dcd1
commit
e9a906fbfb
43 changed files with 68 additions and 66 deletions
|
|
@ -6,9 +6,9 @@
|
|||
Icon,
|
||||
} from 'sveltestrap';
|
||||
|
||||
import AlarmSingleList from '../../components/AlarmSingleList.svelte';
|
||||
import AlarmRepeatedList from '../../components/AlarmRepeatedList.svelte';
|
||||
import AlarmExceptionList from '../../components/AlarmExceptionList.svelte';
|
||||
import AlarmSingleList from '$lib/components/AlarmSingleList.svelte';
|
||||
import AlarmRepeatedList from '$lib/components/AlarmRepeatedList.svelte';
|
||||
import AlarmExceptionList from '$lib/components/AlarmExceptionList.svelte';
|
||||
</script>
|
||||
|
||||
<Container fluid class="flex-fill d-flex flex-column py-2">
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
import { page } from '$app/stores';
|
||||
|
||||
import AlarmSingleList from '../../../components/AlarmSingleList.svelte';
|
||||
import AlarmRepeatedList from '../../../components/AlarmRepeatedList.svelte';
|
||||
import AlarmExceptionList from '../../../components/AlarmExceptionList.svelte';
|
||||
import AlarmSingleList from '$lib/components/AlarmSingleList.svelte';
|
||||
import AlarmRepeatedList from '$lib/components/AlarmRepeatedList.svelte';
|
||||
import AlarmExceptionList from '$lib/components/AlarmExceptionList.svelte';
|
||||
|
||||
function slugToComponent(slug) {
|
||||
switch(slug) {
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
Container,
|
||||
} from 'sveltestrap';
|
||||
|
||||
import AlarmSingleList from '../../../components/AlarmSingleList.svelte';
|
||||
import AlarmRepeatedList from '../../../components/AlarmRepeatedList.svelte';
|
||||
import AlarmExceptionList from '../../../components/AlarmExceptionList.svelte';
|
||||
import AlarmSingleList from '$lib/components/AlarmSingleList.svelte';
|
||||
import AlarmRepeatedList from '$lib/components/AlarmRepeatedList.svelte';
|
||||
import AlarmExceptionList from '$lib/components/AlarmExceptionList.svelte';
|
||||
|
||||
function slugToComponent(slug) {
|
||||
switch(slug) {
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@
|
|||
import { goto } from '$app/navigation';
|
||||
import { page } from '$app/stores';
|
||||
|
||||
import DateFormat from '../../../../components/DateFormat.svelte';
|
||||
import DateRangeFormat from '../../../../components/DateRangeFormat.svelte';
|
||||
import { getAlarmSingle } from '../../../../lib/alarmsingle';
|
||||
import { getAlarmRepeated, weekdayStr } from '../../../../lib/alarmrepeated';
|
||||
import { getAlarmException } from '../../../../lib/alarmexception';
|
||||
import { alarmsRepeated } from '../../../../stores/alarmrepeated';
|
||||
import { alarmsSingle } from '../../../../stores/alarmsingle';
|
||||
import { alarmsExceptions } from '../../../../stores/alarmexceptions';
|
||||
import DateFormat from '$lib/components/DateFormat.svelte';
|
||||
import DateRangeFormat from '$lib/components/DateRangeFormat.svelte';
|
||||
import { getAlarmSingle } from '$lib/alarmsingle';
|
||||
import { getAlarmRepeated, weekdayStr } from '$lib/alarmrepeated';
|
||||
import { getAlarmException } from '$lib/alarmexception';
|
||||
import { alarmsRepeated } from '$lib/stores/alarmrepeated';
|
||||
import { alarmsSingle } from '$lib/stores/alarmsingle';
|
||||
import { alarmsExceptions } from '$lib/stores/alarmexceptions';
|
||||
|
||||
function slugToTitle(slug) {
|
||||
switch(slug) {
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@
|
|||
Spinner,
|
||||
} from 'sveltestrap';
|
||||
|
||||
import DateTimeInput from '../../../../components/DateTimeInput.svelte';
|
||||
import { AlarmSingle } from '../../../../lib/alarmsingle';
|
||||
import { AlarmRepeated } from '../../../../lib/alarmrepeated';
|
||||
import { AlarmException } from '../../../../lib/alarmexception';
|
||||
import { alarmsRepeated } from '../../../../stores/alarmrepeated';
|
||||
import { alarmsSingle } from '../../../../stores/alarmsingle';
|
||||
import { alarmsExceptions } from '../../../../stores/alarmexceptions';
|
||||
import { routines } from '../../../../stores/routines';
|
||||
import DateTimeInput from '$lib/components/DateTimeInput.svelte';
|
||||
import { AlarmSingle } from '$lib/alarmsingle';
|
||||
import { AlarmRepeated } from '$lib/alarmrepeated';
|
||||
import { AlarmException } from '$lib/alarmexception';
|
||||
import { alarmsRepeated } from '$lib/stores/alarmrepeated';
|
||||
import { alarmsSingle } from '$lib/stores/alarmsingle';
|
||||
import { alarmsExceptions } from '$lib/stores/alarmexceptions';
|
||||
import { routines } from '$lib/stores/routines';
|
||||
|
||||
function slugToTitle(slug) {
|
||||
switch(slug) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue