@likable-hair/svelte 3.3.21 → 3.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/composed/buttons/ActivableButton.svelte +6 -2
- package/dist/components/composed/buttons/ActivableButton.svelte.d.ts +36 -32
- package/dist/components/composed/common/MenuOrDrawer.svelte +21 -5
- package/dist/components/composed/common/MenuOrDrawer.svelte.d.ts +50 -36
- package/dist/components/composed/common/MenuOrDrawerOptions.svelte +29 -13
- package/dist/components/composed/common/MenuOrDrawerOptions.svelte.d.ts +34 -30
- package/dist/components/composed/common/QuickActions.svelte +52 -20
- package/dist/components/composed/common/QuickActions.svelte.d.ts +24 -20
- package/dist/components/composed/common/ToolTip.svelte +31 -22
- package/dist/components/composed/common/ToolTip.svelte.d.ts +32 -43
- package/dist/components/composed/forms/AsyncAutocomplete.svelte +44 -23
- package/dist/components/composed/forms/AsyncAutocomplete.svelte.d.ts +44 -39
- package/dist/components/composed/forms/AvatarDropdown.svelte +57 -27
- package/dist/components/composed/forms/AvatarDropdown.svelte.d.ts +45 -41
- package/dist/components/composed/forms/ConfirmOrCancelButtons.svelte +35 -17
- package/dist/components/composed/forms/ConfirmOrCancelButtons.svelte.d.ts +41 -37
- package/dist/components/composed/forms/CountriesAutocomplete.svelte +16 -7
- package/dist/components/composed/forms/CountriesAutocomplete.svelte.d.ts +31 -60
- package/dist/components/composed/forms/DatePickerTextField.svelte +166 -114
- package/dist/components/composed/forms/DatePickerTextField.svelte.d.ts +67 -63
- package/dist/components/composed/forms/Dropdown.svelte +51 -21
- package/dist/components/composed/forms/Dropdown.svelte.d.ts +48 -43
- package/dist/components/composed/forms/IconsDropdown.svelte +61 -33
- package/dist/components/composed/forms/IconsDropdown.svelte.d.ts +30 -26
- package/dist/components/composed/forms/LabelAndSelect.svelte +32 -7
- package/dist/components/composed/forms/LabelAndSelect.svelte.d.ts +35 -31
- package/dist/components/composed/forms/LabelAndTextField.svelte +30 -5
- package/dist/components/composed/forms/LabelAndTextField.svelte.d.ts +46 -42
- package/dist/components/composed/forms/ToggleList.svelte +59 -33
- package/dist/components/composed/forms/ToggleList.svelte.d.ts +21 -17
- package/dist/components/composed/forms/YearPickerTextField.svelte +114 -74
- package/dist/components/composed/forms/YearPickerTextField.svelte.d.ts +53 -49
- package/dist/components/composed/list/DynamicTable.svelte +1102 -707
- package/dist/components/composed/list/DynamicTable.svelte.d.ts +369 -365
- package/dist/components/composed/list/PaginatedTable.svelte +139 -76
- package/dist/components/composed/list/PaginatedTable.svelte.d.ts +108 -108
- package/dist/components/composed/progress/HorizontalStackedProgress.svelte +58 -30
- package/dist/components/composed/progress/HorizontalStackedProgress.svelte.d.ts +25 -21
- package/dist/components/composed/search/DynamicFilters.svelte +103 -82
- package/dist/components/composed/search/DynamicFilters.svelte.d.ts +31 -27
- package/dist/components/composed/search/FilterEditor.svelte +106 -77
- package/dist/components/composed/search/FilterEditor.svelte.d.ts +37 -33
- package/dist/components/composed/search/Filters.svelte +361 -292
- package/dist/components/composed/search/Filters.svelte.d.ts +55 -51
- package/dist/components/composed/search/GlobalSearchTextField.svelte +79 -41
- package/dist/components/composed/search/GlobalSearchTextField.svelte.d.ts +43 -39
- package/dist/components/composed/search/MobileFilterEditor.svelte +135 -93
- package/dist/components/composed/search/MobileFilterEditor.svelte.d.ts +39 -35
- package/dist/components/composed/search/SearchBar.svelte +28 -5
- package/dist/components/composed/search/SearchBar.svelte.d.ts +34 -30
- package/dist/components/composed/search/SearchResults.svelte +42 -7
- package/dist/components/composed/search/SearchResults.svelte.d.ts +40 -36
- package/dist/components/composed/shop/ProductCard.svelte +18 -4
- package/dist/components/composed/shop/ProductCard.svelte.d.ts +32 -28
- package/dist/components/composed/shop/ProductsGrid.svelte +22 -2
- package/dist/components/composed/shop/ProductsGrid.svelte.d.ts +44 -40
- package/dist/components/layouts/CollapsibleSideBarLayout.svelte +77 -38
- package/dist/components/layouts/CollapsibleSideBarLayout.svelte.d.ts +109 -69
- package/dist/components/layouts/StableDividedSideBarLayout.svelte +47 -17
- package/dist/components/layouts/StableDividedSideBarLayout.svelte.d.ts +50 -32
- package/dist/components/layouts/UnstableDividedSideBarLayout.svelte +53 -30
- package/dist/components/layouts/UnstableDividedSideBarLayout.svelte.d.ts +103 -63
- package/dist/components/simple/buttons/Button.svelte +78 -32
- package/dist/components/simple/buttons/Button.svelte.d.ts +47 -35
- package/dist/components/simple/buttons/LinkButton.svelte +54 -22
- package/dist/components/simple/buttons/LinkButton.svelte.d.ts +50 -33
- package/dist/components/simple/charts/GanymedeBarChart.svelte +172 -134
- package/dist/components/simple/charts/GanymedeBarChart.svelte.d.ts +50 -46
- package/dist/components/simple/charts/GanymedeLineChart.svelte +157 -115
- package/dist/components/simple/charts/GanymedeLineChart.svelte.d.ts +51 -47
- package/dist/components/simple/charts/GanymedePieChart.svelte +62 -39
- package/dist/components/simple/charts/GanymedePieChart.svelte.d.ts +37 -33
- package/dist/components/simple/common/Card.svelte +20 -1
- package/dist/components/simple/common/Card.svelte.d.ts +51 -38
- package/dist/components/simple/common/CollapsibleDivider.svelte +23 -11
- package/dist/components/simple/common/CollapsibleDivider.svelte.d.ts +29 -25
- package/dist/components/simple/common/Divider.svelte +8 -2
- package/dist/components/simple/common/Divider.svelte.d.ts +23 -19
- package/dist/components/simple/common/Gesture.svelte +64 -46
- package/dist/components/simple/common/Gesture.svelte.d.ts +21 -17
- package/dist/components/simple/common/InfiniteScroll.svelte +52 -29
- package/dist/components/simple/common/InfiniteScroll.svelte.d.ts +24 -20
- package/dist/components/simple/common/IntersectionObserver.svelte +45 -32
- package/dist/components/simple/common/IntersectionObserver.svelte.d.ts +34 -21
- package/dist/components/simple/common/MediaQuery.svelte +30 -21
- package/dist/components/simple/common/MediaQuery.svelte.d.ts +34 -30
- package/dist/components/simple/common/Menu.svelte +290 -201
- package/dist/components/simple/common/Menu.svelte.d.ts +51 -40
- package/dist/components/simple/common/Playground.svelte +18 -17
- package/dist/components/simple/common/Playground.svelte.d.ts +19 -15
- package/dist/components/simple/common/VerticalDraggableList.svelte +35 -16
- package/dist/components/simple/common/VerticalDraggableList.svelte.d.ts +33 -29
- package/dist/components/simple/dashboards/DashboardGridShaper.svelte +32 -26
- package/dist/components/simple/dashboards/DashboardGridShaper.svelte.d.ts +16 -12
- package/dist/components/simple/dates/Calendar.svelte +52 -28
- package/dist/components/simple/dates/Calendar.svelte.d.ts +45 -41
- package/dist/components/simple/dates/DatePicker.svelte +90 -60
- package/dist/components/simple/dates/DatePicker.svelte.d.ts +44 -40
- package/dist/components/simple/dates/MonthSelector.svelte +37 -15
- package/dist/components/simple/dates/MonthSelector.svelte.d.ts +35 -31
- package/dist/components/simple/dates/TimePicker.svelte +45 -31
- package/dist/components/simple/dates/TimePicker.svelte.d.ts +24 -20
- package/dist/components/simple/dates/TimePickerTextField.svelte +56 -35
- package/dist/components/simple/dates/TimePickerTextField.svelte.d.ts +28 -24
- package/dist/components/simple/dates/YearSelector.svelte +54 -29
- package/dist/components/simple/dates/YearSelector.svelte.d.ts +35 -31
- package/dist/components/simple/dialogs/Dialog.svelte +92 -62
- package/dist/components/simple/dialogs/Dialog.svelte.d.ts +42 -28
- package/dist/components/simple/forms/Autocomplete.svelte +201 -142
- package/dist/components/simple/forms/Autocomplete.svelte.d.ts +83 -79
- package/dist/components/simple/forms/Checkbox.svelte +40 -24
- package/dist/components/simple/forms/Checkbox.svelte.d.ts +25 -21
- package/dist/components/simple/forms/FileInput.svelte +88 -48
- package/dist/components/simple/forms/FileInput.svelte.d.ts +37 -33
- package/dist/components/simple/forms/FileInputList.svelte +52 -34
- package/dist/components/simple/forms/FileInputList.svelte.d.ts +43 -39
- package/dist/components/simple/forms/RadioButton.svelte +11 -3
- package/dist/components/simple/forms/RadioButton.svelte.d.ts +31 -27
- package/dist/components/simple/forms/Select.svelte +16 -3
- package/dist/components/simple/forms/Select.svelte.d.ts +24 -20
- package/dist/components/simple/forms/SimpleTextField.svelte +53 -6
- package/dist/components/simple/forms/SimpleTextField.svelte.d.ts +64 -60
- package/dist/components/simple/forms/Switch.svelte +30 -16
- package/dist/components/simple/forms/Switch.svelte.d.ts +25 -21
- package/dist/components/simple/forms/Textarea.svelte +27 -2
- package/dist/components/simple/forms/Textarea.svelte.d.ts +41 -37
- package/dist/components/simple/forms/Textfield.svelte +56 -18
- package/dist/components/simple/forms/Textfield.svelte.d.ts +55 -51
- package/dist/components/simple/forms/TreeEditor.svelte +141 -95
- package/dist/components/simple/forms/TreeEditor.svelte.d.ts +42 -38
- package/dist/components/simple/forms/TreeEditorItem.svelte +77 -42
- package/dist/components/simple/forms/TreeEditorItem.svelte.d.ts +54 -50
- package/dist/components/simple/forms/VerticalSwitch.svelte +11 -1
- package/dist/components/simple/forms/VerticalSwitch.svelte.d.ts +32 -28
- package/dist/components/simple/forms/VerticalTextSwitch.svelte +15 -3
- package/dist/components/simple/forms/VerticalTextSwitch.svelte.d.ts +30 -26
- package/dist/components/simple/lists/ColorInvertedSelector.svelte +53 -23
- package/dist/components/simple/lists/ColorInvertedSelector.svelte.d.ts +46 -42
- package/dist/components/simple/lists/HierarchyMenu.svelte +38 -19
- package/dist/components/simple/lists/HierarchyMenu.svelte.d.ts +34 -30
- package/dist/components/simple/lists/Paginator.svelte +50 -41
- package/dist/components/simple/lists/Paginator.svelte.d.ts +23 -19
- package/dist/components/simple/lists/SelectableMenuList.svelte +43 -15
- package/dist/components/simple/lists/SelectableMenuList.svelte.d.ts +24 -20
- package/dist/components/simple/lists/SelectableVerticalList.svelte +99 -57
- package/dist/components/simple/lists/SelectableVerticalList.svelte.d.ts +51 -47
- package/dist/components/simple/lists/SidebarMenuList.svelte +115 -70
- package/dist/components/simple/lists/SidebarMenuList.svelte.d.ts +26 -22
- package/dist/components/simple/lists/SimpleTable.svelte +264 -154
- package/dist/components/simple/lists/SimpleTable.svelte.d.ts +70 -66
- package/dist/components/simple/loaders/CircularLoader.svelte +16 -5
- package/dist/components/simple/loaders/CircularLoader.svelte.d.ts +19 -15
- package/dist/components/simple/loaders/Skeleton.svelte +3 -2
- package/dist/components/simple/loaders/Skeleton.svelte.d.ts +16 -12
- package/dist/components/simple/media/AttachmentDownloader.svelte +17 -3
- package/dist/components/simple/media/AttachmentDownloader.svelte.d.ts +32 -28
- package/dist/components/simple/media/Avatar.svelte +18 -12
- package/dist/components/simple/media/Avatar.svelte.d.ts +31 -20
- package/dist/components/simple/media/Carousel.svelte +29 -11
- package/dist/components/simple/media/Carousel.svelte.d.ts +28 -24
- package/dist/components/simple/media/DescriptiveAvatar.svelte +12 -4
- package/dist/components/simple/media/DescriptiveAvatar.svelte.d.ts +44 -28
- package/dist/components/simple/media/FlagIcon.svelte +8 -5
- package/dist/components/simple/media/FlagIcon.svelte.d.ts +19 -15
- package/dist/components/simple/media/Gallery.svelte +49 -29
- package/dist/components/simple/media/Gallery.svelte.d.ts +27 -23
- package/dist/components/simple/media/Icon.svelte +9 -4
- package/dist/components/simple/media/Icon.svelte.d.ts +24 -20
- package/dist/components/simple/media/Image.svelte +42 -20
- package/dist/components/simple/media/Image.svelte.d.ts +44 -33
- package/dist/components/simple/media/ImageGrid.svelte +37 -12
- package/dist/components/simple/media/ImageGrid.svelte.d.ts +32 -28
- package/dist/components/simple/navigation/Breadcrumb.svelte +28 -10
- package/dist/components/simple/navigation/Breadcrumb.svelte.d.ts +26 -22
- package/dist/components/simple/navigation/Chip.svelte +44 -23
- package/dist/components/simple/navigation/Chip.svelte.d.ts +42 -31
- package/dist/components/simple/navigation/Drawer.svelte +107 -65
- package/dist/components/simple/navigation/Drawer.svelte.d.ts +50 -37
- package/dist/components/simple/navigation/HeaderMenu.svelte +40 -23
- package/dist/components/simple/navigation/HeaderMenu.svelte.d.ts +39 -35
- package/dist/components/simple/navigation/Navigator.svelte +30 -8
- package/dist/components/simple/navigation/Navigator.svelte.d.ts +28 -24
- package/dist/components/simple/navigation/TabSwitcher.svelte +83 -47
- package/dist/components/simple/navigation/TabSwitcher.svelte.d.ts +38 -34
- package/dist/components/simple/notifiers/AlertBanner.svelte +43 -15
- package/dist/components/simple/notifiers/AlertBanner.svelte.d.ts +41 -37
- package/dist/components/simple/progress/ProgressBar.svelte +20 -13
- package/dist/components/simple/progress/ProgressBar.svelte.d.ts +21 -17
- package/dist/components/simple/timeline/SimpleTimeLine.svelte +19 -5
- package/dist/components/simple/timeline/SimpleTimeLine.svelte.d.ts +39 -35
- package/dist/components/simple/typography/Code.svelte +27 -12
- package/dist/components/simple/typography/Code.svelte.d.ts +28 -24
- package/dist/stores/debounce.d.ts +0 -1
- package/dist/stores/layouts/unstableSidebarOpened.d.ts +0 -1
- package/dist/stores/mediaQuery.d.ts +0 -1
- package/dist/stores/theme.d.ts +0 -1
- package/dist/utils/filters/builder.d.ts +2 -0
- package/dist/utils/filters/builder.js +20 -0
- package/dist/utils/filters/modifiers/where.d.ts +10 -3
- package/package.json +1 -1
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import '../../../css/main.css';
|
|
3
2
|
import './Skeleton.css';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports & {
|
|
11
|
+
$set?: any;
|
|
12
|
+
$on?: any;
|
|
8
13
|
};
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
export type SkeletonProps = typeof __propDef.props;
|
|
12
|
-
export type SkeletonEvents = typeof __propDef.events;
|
|
13
|
-
export type SkeletonSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Skeleton extends SvelteComponent<SkeletonProps, SkeletonEvents, SkeletonSlots> {
|
|
14
|
+
z_$$bindings?: Bindings;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
declare const Skeleton: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Skeleton = InstanceType<typeof Skeleton>;
|
|
20
|
+
export default Skeleton;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
export let title: string | undefined = undefined,
|
|
3
|
+
description: string | undefined = undefined,
|
|
4
|
+
borderColor = "#B8B8B8",
|
|
5
|
+
iconColor = "#8D8D8D",
|
|
6
|
+
iconSize = 40,
|
|
7
|
+
iconName = "mdi-file",
|
|
8
|
+
borderWidth = "1px",
|
|
9
|
+
maxWidth: string | undefined = undefined,
|
|
10
|
+
maxHeight: string | undefined = undefined,
|
|
11
|
+
minWidth: string | undefined = undefined,
|
|
12
|
+
minHeight: string | undefined = undefined,
|
|
13
|
+
width = "fit-content",
|
|
14
|
+
height: string | undefined = undefined;
|
|
15
|
+
|
|
16
|
+
import Icon from "./Icon.svelte";
|
|
17
|
+
import Card from "../common/Card.svelte";
|
|
4
18
|
</script>
|
|
5
19
|
|
|
6
20
|
<Card
|
|
@@ -1,30 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
maxWidth?: string | undefined;
|
|
12
|
-
maxHeight?: string | undefined;
|
|
13
|
-
minWidth?: string | undefined;
|
|
14
|
-
minHeight?: string | undefined;
|
|
15
|
-
width?: string | undefined;
|
|
16
|
-
height?: string | undefined;
|
|
1
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
|
+
$$bindings?: Bindings;
|
|
4
|
+
} & Exports;
|
|
5
|
+
(internal: unknown, props: Props & {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
17
11
|
};
|
|
18
|
-
|
|
19
|
-
click: MouseEvent;
|
|
20
|
-
} & {
|
|
21
|
-
[evt: string]: CustomEvent<any>;
|
|
22
|
-
};
|
|
23
|
-
slots: {};
|
|
24
|
-
};
|
|
25
|
-
export type AttachmentDownloaderProps = typeof __propDef.props;
|
|
26
|
-
export type AttachmentDownloaderEvents = typeof __propDef.events;
|
|
27
|
-
export type AttachmentDownloaderSlots = typeof __propDef.slots;
|
|
28
|
-
export default class AttachmentDownloader extends SvelteComponent<AttachmentDownloaderProps, AttachmentDownloaderEvents, AttachmentDownloaderSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
29
13
|
}
|
|
30
|
-
|
|
14
|
+
declare const AttachmentDownloader: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
borderColor?: string;
|
|
18
|
+
iconColor?: string;
|
|
19
|
+
iconSize?: number;
|
|
20
|
+
iconName?: string;
|
|
21
|
+
borderWidth?: string;
|
|
22
|
+
maxWidth?: string | undefined;
|
|
23
|
+
maxHeight?: string | undefined;
|
|
24
|
+
minWidth?: string | undefined;
|
|
25
|
+
minHeight?: string | undefined;
|
|
26
|
+
width?: string;
|
|
27
|
+
height?: string | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
click: MouseEvent;
|
|
30
|
+
} & {
|
|
31
|
+
[evt: string]: CustomEvent<any>;
|
|
32
|
+
}, {}, {}, string>;
|
|
33
|
+
type AttachmentDownloader = InstanceType<typeof AttachmentDownloader>;
|
|
34
|
+
export default AttachmentDownloader;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import './Avatar.css'
|
|
3
|
+
import '../../../css/main.css'
|
|
4
|
+
import { BROWSER } from 'esm-env';
|
|
5
|
+
|
|
6
|
+
export let src: string | undefined = undefined,
|
|
7
|
+
alt: string = "",
|
|
8
|
+
text: string | undefined = undefined,
|
|
9
|
+
referrerpolicy: ReferrerPolicy | null | undefined = "no-referrer",
|
|
10
|
+
imageLoadingStatus: 'error' | 'success' = 'success'
|
|
11
|
+
|
|
12
|
+
$: if(!!src && BROWSER) {
|
|
13
|
+
let image = new Image()
|
|
14
|
+
image.src = src
|
|
9
15
|
image.onload = () => {
|
|
10
|
-
imageLoadingStatus =
|
|
11
|
-
}
|
|
16
|
+
imageLoadingStatus = 'success'
|
|
17
|
+
}
|
|
12
18
|
image.onerror = () => {
|
|
13
|
-
imageLoadingStatus =
|
|
14
|
-
}
|
|
19
|
+
imageLoadingStatus = 'error'
|
|
20
|
+
}
|
|
15
21
|
}
|
|
16
22
|
</script>
|
|
17
23
|
|
|
@@ -1,24 +1,35 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import './Avatar.css';
|
|
3
2
|
import '../../../css/main.css';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports & {
|
|
11
|
+
$set?: any;
|
|
12
|
+
$on?: any;
|
|
11
13
|
};
|
|
12
|
-
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
};
|
|
15
|
-
slots: {
|
|
16
|
-
default: {};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export type AvatarProps = typeof __propDef.props;
|
|
20
|
-
export type AvatarEvents = typeof __propDef.events;
|
|
21
|
-
export type AvatarSlots = typeof __propDef.slots;
|
|
22
|
-
export default class Avatar extends SvelteComponent<AvatarProps, AvatarEvents, AvatarSlots> {
|
|
14
|
+
z_$$bindings?: Bindings;
|
|
23
15
|
}
|
|
24
|
-
|
|
16
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
17
|
+
default: any;
|
|
18
|
+
} ? Props extends Record<string, never> ? any : {
|
|
19
|
+
children?: any;
|
|
20
|
+
} : {});
|
|
21
|
+
declare const Avatar: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
22
|
+
src?: string | undefined;
|
|
23
|
+
alt?: string;
|
|
24
|
+
text?: string | undefined;
|
|
25
|
+
referrerpolicy?: ReferrerPolicy | null | undefined;
|
|
26
|
+
imageLoadingStatus?: "error" | "success";
|
|
27
|
+
}, {
|
|
28
|
+
default: {};
|
|
29
|
+
}>, {
|
|
30
|
+
[evt: string]: CustomEvent<any>;
|
|
31
|
+
}, {
|
|
32
|
+
default: {};
|
|
33
|
+
}, {}, string>;
|
|
34
|
+
type Avatar = InstanceType<typeof Avatar>;
|
|
35
|
+
export default Avatar;
|
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { onMount } from "svelte";
|
|
3
|
+
import Image from "./Image.svelte";
|
|
4
|
+
|
|
5
|
+
type Image = {
|
|
6
|
+
url: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export let images: Image[] = [],
|
|
12
|
+
maxWidth: string | undefined = undefined,
|
|
13
|
+
maxHeight: string | undefined = undefined,
|
|
14
|
+
minWidth: string | undefined = undefined,
|
|
15
|
+
minHeight: string | undefined = undefined,
|
|
16
|
+
width = "100%",
|
|
17
|
+
height = "100%";
|
|
18
|
+
|
|
19
|
+
let container: HTMLElement,
|
|
20
|
+
localWidth = "0px",
|
|
21
|
+
localHeight = "0px";
|
|
22
|
+
onMount(() => {
|
|
23
|
+
calculateWidthAndHeight();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
function calculateWidthAndHeight() {
|
|
27
|
+
localWidth = container.offsetWidth + "px";
|
|
28
|
+
localHeight = container.offsetHeight + "px";
|
|
29
|
+
}
|
|
12
30
|
</script>
|
|
13
31
|
|
|
14
32
|
<svelte:window on:resize={calculateWidthAndHeight} />
|
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
minWidth?: string | undefined;
|
|
12
|
-
minHeight?: string | undefined;
|
|
13
|
-
width?: string | undefined;
|
|
14
|
-
height?: string | undefined;
|
|
1
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
|
+
$$bindings?: Bindings;
|
|
4
|
+
} & Exports;
|
|
5
|
+
(internal: unknown, props: Props & {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
15
11
|
};
|
|
16
|
-
|
|
17
|
-
[evt: string]: CustomEvent<any>;
|
|
18
|
-
};
|
|
19
|
-
slots: {};
|
|
20
|
-
};
|
|
21
|
-
export type CarouselProps = typeof __propDef.props;
|
|
22
|
-
export type CarouselEvents = typeof __propDef.events;
|
|
23
|
-
export type CarouselSlots = typeof __propDef.slots;
|
|
24
|
-
export default class Carousel extends SvelteComponent<CarouselProps, CarouselEvents, CarouselSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
25
13
|
}
|
|
26
|
-
|
|
14
|
+
declare const Carousel: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
images?: {
|
|
16
|
+
url: string;
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
}[];
|
|
20
|
+
maxWidth?: string | undefined;
|
|
21
|
+
maxHeight?: string | undefined;
|
|
22
|
+
minWidth?: string | undefined;
|
|
23
|
+
minHeight?: string | undefined;
|
|
24
|
+
width?: string;
|
|
25
|
+
height?: string;
|
|
26
|
+
}, {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
}, {}, {}, string>;
|
|
29
|
+
type Carousel = InstanceType<typeof Carousel>;
|
|
30
|
+
export default Carousel;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import './DescriptiveAvatar.css'
|
|
3
|
+
import '../../../css/main.css'
|
|
4
|
+
import Avatar from "./Avatar.svelte";
|
|
5
|
+
|
|
6
|
+
export let src: string | undefined = undefined,
|
|
7
|
+
title: string | undefined = undefined,
|
|
8
|
+
subtitle: string | undefined = undefined,
|
|
9
|
+
avatarText: string | undefined = !title ? undefined : title.substring(0, 2).toUpperCase(),
|
|
10
|
+
direction: "row" | "column" = "row",
|
|
11
|
+
reverse = false,
|
|
12
|
+
referrerpolicy: ReferrerPolicy | null | undefined = "no-referrer";
|
|
5
13
|
</script>
|
|
6
14
|
|
|
7
15
|
<div
|
|
@@ -1,33 +1,49 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import './DescriptiveAvatar.css';
|
|
3
2
|
import '../../../css/main.css';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports & {
|
|
11
|
+
$set?: any;
|
|
12
|
+
$on?: any;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
z_$$bindings?: Bindings;
|
|
15
|
+
}
|
|
16
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
17
|
+
default: any;
|
|
18
|
+
} ? Props extends Record<string, never> ? any : {
|
|
19
|
+
children?: any;
|
|
20
|
+
} : {});
|
|
21
|
+
declare const DescriptiveAvatar: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
22
|
+
src?: string | undefined;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
subtitle?: string | undefined;
|
|
25
|
+
avatarText?: string | undefined;
|
|
26
|
+
direction?: "row" | "column";
|
|
27
|
+
reverse?: boolean;
|
|
28
|
+
referrerpolicy?: ReferrerPolicy | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
default: {
|
|
31
|
+
title: string | undefined;
|
|
32
|
+
subtitle: string | undefined;
|
|
33
|
+
avatarText: string | undefined;
|
|
34
|
+
src: string | undefined;
|
|
18
35
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
}>, {
|
|
37
|
+
click: MouseEvent;
|
|
38
|
+
} & {
|
|
39
|
+
[evt: string]: CustomEvent<any>;
|
|
40
|
+
}, {
|
|
41
|
+
default: {
|
|
42
|
+
title: string | undefined;
|
|
43
|
+
subtitle: string | undefined;
|
|
44
|
+
avatarText: string | undefined;
|
|
45
|
+
src: string | undefined;
|
|
26
46
|
};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export
|
|
30
|
-
export type DescriptiveAvatarSlots = typeof __propDef.slots;
|
|
31
|
-
export default class DescriptiveAvatar extends SvelteComponent<DescriptiveAvatarProps, DescriptiveAvatarEvents, DescriptiveAvatarSlots> {
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
47
|
+
}, {}, string>;
|
|
48
|
+
type DescriptiveAvatar = InstanceType<typeof DescriptiveAvatar>;
|
|
49
|
+
export default DescriptiveAvatar;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import '../../../css/flag-icons/css/flag-icons.min.css'
|
|
3
|
+
import './FlagIcon.css'
|
|
4
|
+
|
|
5
|
+
let clazz: string | undefined = undefined;
|
|
6
|
+
export { clazz as class };
|
|
7
|
+
|
|
8
|
+
export let alpha2: string
|
|
6
9
|
</script>
|
|
7
10
|
|
|
8
11
|
<span
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import '../../../css/flag-icons/css/flag-icons.min.css';
|
|
3
2
|
import './FlagIcon.css';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports & {
|
|
11
|
+
$set?: any;
|
|
12
|
+
$on?: any;
|
|
8
13
|
};
|
|
9
|
-
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type FlagIconProps = typeof __propDef.props;
|
|
15
|
-
export type FlagIconEvents = typeof __propDef.events;
|
|
16
|
-
export type FlagIconSlots = typeof __propDef.slots;
|
|
17
|
-
export default class FlagIcon extends SvelteComponent<FlagIconProps, FlagIconEvents, FlagIconSlots> {
|
|
14
|
+
z_$$bindings?: Bindings;
|
|
18
15
|
}
|
|
19
|
-
|
|
16
|
+
declare const FlagIcon: $$__sveltets_2_IsomorphicComponent<{
|
|
17
|
+
class?: string | undefined;
|
|
18
|
+
alpha2: string;
|
|
19
|
+
}, {
|
|
20
|
+
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {}, {}, string>;
|
|
22
|
+
type FlagIcon = InstanceType<typeof FlagIcon>;
|
|
23
|
+
export default FlagIcon;
|
|
@@ -1,37 +1,57 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Image } from "./ImageGrid.svelte";
|
|
3
|
+
|
|
4
|
+
export let images: Image[] = [],
|
|
5
|
+
columns: number | undefined = undefined,
|
|
6
|
+
imageMaxWidth: string | undefined = undefined,
|
|
7
|
+
imageMinWidth: string | undefined = undefined,
|
|
8
|
+
imageMaxHeight: string | undefined = undefined,
|
|
9
|
+
imageMinHeight: string | undefined = undefined,
|
|
10
|
+
imageHeight: string | undefined = undefined,
|
|
11
|
+
imageWidth: string | undefined = undefined,
|
|
12
|
+
disableHover = false,
|
|
13
|
+
dark = false;
|
|
14
|
+
|
|
15
|
+
let selectedIndex: number | undefined = 0,
|
|
16
|
+
selectedImage: Image | undefined = undefined;
|
|
17
|
+
function handleImageClick(e: CustomEvent) {
|
|
18
|
+
selectedIndex = e.detail.index;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
$: if (selectedIndex !== undefined && selectedIndex !== null) {
|
|
8
22
|
selectedImage = images[selectedIndex];
|
|
9
23
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
selectedIndex
|
|
24
|
+
|
|
25
|
+
function switchPrevious() {
|
|
26
|
+
if (selectedIndex !== undefined && selectedIndex < images.length - 1) {
|
|
27
|
+
selectedIndex++;
|
|
28
|
+
}
|
|
13
29
|
}
|
|
14
|
-
|
|
15
|
-
function switchNext() {
|
|
16
|
-
|
|
17
|
-
|
|
30
|
+
|
|
31
|
+
function switchNext() {
|
|
32
|
+
if (selectedIndex !== undefined && selectedIndex > 0) {
|
|
33
|
+
selectedIndex--;
|
|
34
|
+
}
|
|
18
35
|
}
|
|
19
|
-
|
|
20
|
-
function handleSwipe(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
|
|
37
|
+
function handleSwipe(
|
|
38
|
+
e: CustomEvent<{ direction: "right" | "left" | "down" }>
|
|
39
|
+
) {
|
|
40
|
+
if (e.detail.direction == "right") {
|
|
41
|
+
switchPrevious();
|
|
42
|
+
} else if (e.detail.direction == "left") {
|
|
43
|
+
switchNext();
|
|
44
|
+
} else if (e.detail.direction == "down") {
|
|
45
|
+
selectedIndex = undefined;
|
|
46
|
+
}
|
|
27
47
|
}
|
|
28
|
-
|
|
29
|
-
import ImageGrid from "./ImageGrid.svelte";
|
|
30
|
-
import ImageComponent from "./Image.svelte";
|
|
31
|
-
import Dialog from "../dialogs/Dialog.svelte";
|
|
32
|
-
import Button from "../buttons/Button.svelte";
|
|
33
|
-
import MediaQuery from "../common/MediaQuery.svelte";
|
|
34
|
-
import Gesture from "../common/Gesture.svelte";
|
|
48
|
+
|
|
49
|
+
import ImageGrid from "./ImageGrid.svelte";
|
|
50
|
+
import ImageComponent from "./Image.svelte";
|
|
51
|
+
import Dialog from "../dialogs/Dialog.svelte";
|
|
52
|
+
import Button from "../buttons/Button.svelte";
|
|
53
|
+
import MediaQuery from "../common/MediaQuery.svelte";
|
|
54
|
+
import Gesture from "../common/Gesture.svelte";
|
|
35
55
|
</script>
|
|
36
56
|
|
|
37
57
|
<ImageGrid
|
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import type { Image } from "./ImageGrid.svelte";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
disableHover?: boolean | undefined;
|
|
14
|
-
dark?: boolean | undefined;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
|
-
[evt: string]: CustomEvent<any>;
|
|
18
|
-
};
|
|
19
|
-
slots: {};
|
|
20
|
-
};
|
|
21
|
-
export type GalleryProps = typeof __propDef.props;
|
|
22
|
-
export type GalleryEvents = typeof __propDef.events;
|
|
23
|
-
export type GallerySlots = typeof __propDef.slots;
|
|
24
|
-
export default class Gallery extends SvelteComponent<GalleryProps, GalleryEvents, GallerySlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
25
14
|
}
|
|
26
|
-
|
|
15
|
+
declare const Gallery: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
images?: Image[];
|
|
17
|
+
columns?: number | undefined;
|
|
18
|
+
imageMaxWidth?: string | undefined;
|
|
19
|
+
imageMinWidth?: string | undefined;
|
|
20
|
+
imageMaxHeight?: string | undefined;
|
|
21
|
+
imageMinHeight?: string | undefined;
|
|
22
|
+
imageHeight?: string | undefined;
|
|
23
|
+
imageWidth?: string | undefined;
|
|
24
|
+
disableHover?: boolean;
|
|
25
|
+
dark?: boolean;
|
|
26
|
+
}, {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
}, {}, {}, string>;
|
|
29
|
+
type Gallery = InstanceType<typeof Gallery>;
|
|
30
|
+
export default Gallery;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
<script
|
|
2
|
-
let
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
export let name: string,
|
|
3
|
+
click = false,
|
|
4
|
+
tabindex: number | null | undefined = undefined;
|
|
5
|
+
|
|
6
|
+
let clazz = "";
|
|
7
|
+
export { clazz as class };
|
|
8
|
+
|
|
9
|
+
import "../common/materialDesign.css";
|
|
5
10
|
</script>
|
|
6
11
|
|
|
7
12
|
{#if click}
|