fluid-ui-svelte 0.2.4 → 0.3.1
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/LICENSE +22 -0
- package/README.md +16 -5
- package/dist/app.css +284 -0
- package/dist/base/Button.svelte +35 -0
- package/dist/base/Button.svelte.d.ts +14 -0
- package/dist/base/Container.svelte +34 -0
- package/dist/base/Container.svelte.d.ts +14 -0
- package/dist/base/Image.svelte +21 -0
- package/dist/base/Image.svelte.d.ts +8 -0
- package/dist/base/InputField.svelte +33 -0
- package/dist/base/InputField.svelte.d.ts +10 -0
- package/dist/base/Link.svelte +23 -0
- package/dist/base/Link.svelte.d.ts +10 -0
- package/dist/base/List.svelte +39 -0
- package/dist/base/List.svelte.d.ts +33 -0
- package/dist/base/Table.svelte +80 -0
- package/dist/base/Table.svelte.d.ts +42 -0
- package/dist/base/Text.svelte +45 -0
- package/dist/base/Text.svelte.d.ts +11 -0
- package/dist/base/index.d.ts +8 -0
- package/dist/base/index.js +8 -0
- package/dist/components/Accordion.svelte +44 -1
- package/dist/components/Accordion.svelte.d.ts +14 -25
- package/dist/components/Calendar.svelte +62 -0
- package/dist/components/Calendar.svelte.d.ts +12 -25
- package/dist/components/Carousel.svelte +114 -0
- package/dist/components/Carousel.svelte.d.ts +37 -0
- package/dist/components/CodeBlock.svelte +33 -0
- package/dist/components/CodeBlock.svelte.d.ts +9 -0
- package/dist/components/Drawer.svelte +77 -22
- package/dist/components/Drawer.svelte.d.ts +21 -6
- package/dist/components/{Badge.svelte.d.ts → ImageCrop.svelte.d.ts} +3 -3
- package/dist/components/Page.svelte +26 -0
- package/dist/components/Page.svelte.d.ts +11 -0
- package/dist/components/Switch.svelte +22 -20
- package/dist/components/Switch.svelte.d.ts +9 -4
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.js +8 -0
- package/dist/index.d.ts +2 -33
- package/dist/index.js +2 -36
- package/dist/{community/components/index.js → utilities/accesibility.js} +1 -0
- package/dist/utilities/applyCharacterFilter.d.ts +1 -0
- package/dist/utilities/applyCharacterFilter.js +6 -0
- package/dist/utilities/calendar.d.ts +10 -0
- package/dist/utilities/calendar.js +112 -0
- package/dist/utilities/carousel.d.ts +2 -0
- package/dist/utilities/carousel.js +27 -0
- package/dist/utilities/codeBlockContents.d.ts +15 -0
- package/dist/utilities/codeBlockContents.js +298 -0
- package/dist/utilities/imageCrop.d.ts +33 -0
- package/dist/utilities/imageCrop.js +217 -0
- package/dist/utilities/mergeClasses.d.ts +1 -0
- package/dist/utilities/mergeClasses.js +3 -0
- package/package.json +50 -33
- package/dist/community/prebuilt/index.d.ts +0 -1
- package/dist/community/prebuilt/index.js +0 -1
- package/dist/components/Breadcrumb.svelte +0 -1
- package/dist/components/Breadcrumb.svelte.d.ts +0 -26
- package/dist/components/Dropdown.svelte +0 -59
- package/dist/components/Dropdown.svelte.d.ts +0 -20
- package/dist/components/Dropzone.svelte +0 -1
- package/dist/components/Dropzone.svelte.d.ts +0 -26
- package/dist/components/InteractiveScrollArea.svelte +0 -1
- package/dist/components/InteractiveScrollArea.svelte.d.ts +0 -26
- package/dist/components/Pagination.svelte +0 -1
- package/dist/components/Pagination.svelte.d.ts +0 -26
- package/dist/components/Progress.svelte +0 -1
- package/dist/components/Progress.svelte.d.ts +0 -26
- package/dist/components/Tabs.svelte +0 -1
- package/dist/components/Tabs.svelte.d.ts +0 -26
- package/dist/components/Tooltip.svelte +0 -1
- package/dist/components/Tooltip.svelte.d.ts +0 -26
- package/dist/components/charts/BatteryChart.svelte +0 -0
- package/dist/components/charts/BatteryChart.svelte.d.ts +0 -26
- package/dist/components/charts/LineChart.svelte +0 -0
- package/dist/components/charts/LineChart.svelte.d.ts +0 -26
- package/dist/components/charts/PieChart.svelte +0 -0
- package/dist/components/charts/PieChart.svelte.d.ts +0 -26
- package/dist/components/notification/NotificationArea.svelte +0 -21
- package/dist/components/notification/NotificationArea.svelte.d.ts +0 -7
- package/dist/prebuilt/FormBuilder.svelte +0 -1
- package/dist/prebuilt/FormBuilder.svelte.d.ts +0 -26
- package/dist/prebuilt/document/Document.svelte +0 -1
- package/dist/prebuilt/document/Document.svelte.d.ts +0 -26
- package/dist/prebuilt/document/DocumentBlock.svelte +0 -1
- package/dist/prebuilt/document/DocumentBlock.svelte.d.ts +0 -26
- package/dist/prebuilt/document/DocumentPage.svelte +0 -1
- package/dist/prebuilt/document/DocumentPage.svelte.d.ts +0 -26
- package/dist/prebuilt/timeline/Timeline.svelte +0 -0
- package/dist/prebuilt/timeline/Timeline.svelte.d.ts +0 -26
- package/dist/prebuilt/timeline/TimelineItem.svelte +0 -0
- package/dist/prebuilt/timeline/TimelineItem.svelte.d.ts +0 -26
- package/dist/primitives/Button.svelte +0 -53
- package/dist/primitives/Button.svelte.d.ts +0 -13
- package/dist/primitives/Container.svelte +0 -51
- package/dist/primitives/Container.svelte.d.ts +0 -10
- package/dist/primitives/Dialog.svelte +0 -39
- package/dist/primitives/Dialog.svelte.d.ts +0 -10
- package/dist/primitives/Divider.svelte +0 -14
- package/dist/primitives/Divider.svelte.d.ts +0 -6
- package/dist/primitives/Form.svelte +0 -18
- package/dist/primitives/Form.svelte.d.ts +0 -8
- package/dist/primitives/Image.svelte +0 -57
- package/dist/primitives/Image.svelte.d.ts +0 -12
- package/dist/primitives/Input.svelte +0 -23
- package/dist/primitives/Input.svelte.d.ts +0 -9
- package/dist/primitives/Label.svelte +0 -18
- package/dist/primitives/Label.svelte.d.ts +0 -8
- package/dist/primitives/Link.svelte +0 -18
- package/dist/primitives/Link.svelte.d.ts +0 -8
- package/dist/primitives/Table.svelte +0 -18
- package/dist/primitives/Table.svelte.d.ts +0 -8
- package/dist/primitives/TableBody.svelte +0 -17
- package/dist/primitives/TableBody.svelte.d.ts +0 -7
- package/dist/primitives/TableData.svelte +0 -18
- package/dist/primitives/TableData.svelte.d.ts +0 -8
- package/dist/primitives/TableFooter.svelte +0 -17
- package/dist/primitives/TableFooter.svelte.d.ts +0 -7
- package/dist/primitives/TableHead.svelte +0 -18
- package/dist/primitives/TableHead.svelte.d.ts +0 -8
- package/dist/primitives/TableHeader.svelte +0 -17
- package/dist/primitives/TableHeader.svelte.d.ts +0 -7
- package/dist/primitives/TableRow.svelte +0 -18
- package/dist/primitives/TableRow.svelte.d.ts +0 -8
- package/dist/primitives/Text.svelte +0 -46
- package/dist/primitives/Text.svelte.d.ts +0 -8
- package/dist/primitives/TextArea.svelte +0 -15
- package/dist/primitives/TextArea.svelte.d.ts +0 -7
- package/dist/types.d.ts +0 -4
- package/dist/types.js +0 -1
- /package/dist/components/{Badge.svelte → ImageCrop.svelte} +0 -0
- /package/dist/{community/components/index.d.ts → utilities/accesibility.d.ts} +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Breadcrumb;
|
|
2
|
-
type Breadcrumb = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Breadcrumb: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import Container from "../primitives/Container.svelte";
|
|
3
|
-
import Button from "../primitives/Button.svelte";
|
|
4
|
-
import { onMount, type Snippet } from "svelte";
|
|
5
|
-
import type { DropdownOptions } from "../types.js";
|
|
6
|
-
let {
|
|
7
|
-
class: className,
|
|
8
|
-
triggerClass,
|
|
9
|
-
contentClass,
|
|
10
|
-
overrideDefaultStyling = false,
|
|
11
|
-
isOpen = $bindable(false),
|
|
12
|
-
shouldCloseOnClickOutside = true,
|
|
13
|
-
dropdownTrigger,
|
|
14
|
-
dropdownContent,
|
|
15
|
-
triggerRawElement,
|
|
16
|
-
contentRawElement,
|
|
17
|
-
}: {
|
|
18
|
-
class?: string;
|
|
19
|
-
triggerClass?: string;
|
|
20
|
-
contentClass?: string;
|
|
21
|
-
overrideDefaultStyling?: boolean;
|
|
22
|
-
isOpen?: boolean;
|
|
23
|
-
shouldCloseOnClickOutside?: boolean;
|
|
24
|
-
dropdownTrigger: Snippet<[options: { isOpen: boolean; toggleDropdown: Function }]>;
|
|
25
|
-
dropdownContent: Snippet<[options: { isOpen: boolean; toggleDropdown: Function }]>;
|
|
26
|
-
triggerRawElement?: HTMLElement;
|
|
27
|
-
contentRawElement?: HTMLElement;
|
|
28
|
-
} = $props();
|
|
29
|
-
|
|
30
|
-
const componentOptions: DropdownOptions = {
|
|
31
|
-
isOpen,
|
|
32
|
-
toggleDropdown: () => {
|
|
33
|
-
isOpen = !isOpen;
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
onMount(() => {
|
|
38
|
-
if (shouldCloseOnClickOutside) {
|
|
39
|
-
document.addEventListener("click", (e) => {
|
|
40
|
-
if (isOpen && contentRawElement && triggerRawElement) {
|
|
41
|
-
if (!triggerRawElement!.contains(e.target as HTMLElement) && !contentRawElement!.contains(e.target as HTMLElement)) {
|
|
42
|
-
isOpen = false;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
</script>
|
|
49
|
-
|
|
50
|
-
<Container bind:rawElement={triggerRawElement} class={(overrideDefaultStyling ? "" : "fluid-dropdown") + (className ? ` ${className}` : "")} overrideDefaultStyling={true}>
|
|
51
|
-
<Container class={(overrideDefaultStyling ? "" : "fluid-dropdown-trigger") + (triggerClass ? ` ${triggerClass}` : "")} overrideDefaultStyling>
|
|
52
|
-
{@render dropdownTrigger(componentOptions)}
|
|
53
|
-
</Container>
|
|
54
|
-
<Container bind:rawElement={contentRawElement} overrideDefaultStyling class={(overrideDefaultStyling ? "" : "fluid-dropdown-content") + (contentClass ? ` ${contentClass}` : "")}>
|
|
55
|
-
{#if isOpen}
|
|
56
|
-
{@render dropdownContent(componentOptions)}
|
|
57
|
-
{/if}
|
|
58
|
-
</Container>
|
|
59
|
-
</Container>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type Snippet } from "svelte";
|
|
2
|
-
declare const Dropdown: import("svelte").Component<{
|
|
3
|
-
class?: string;
|
|
4
|
-
triggerClass?: string;
|
|
5
|
-
contentClass?: string;
|
|
6
|
-
overrideDefaultStyling?: boolean;
|
|
7
|
-
isOpen?: boolean;
|
|
8
|
-
shouldCloseOnClickOutside?: boolean;
|
|
9
|
-
dropdownTrigger: Snippet<[options: {
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
toggleDropdown: Function;
|
|
12
|
-
}]>;
|
|
13
|
-
dropdownContent: Snippet<[options: {
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
toggleDropdown: Function;
|
|
16
|
-
}]>;
|
|
17
|
-
triggerRawElement?: HTMLElement;
|
|
18
|
-
contentRawElement?: HTMLElement;
|
|
19
|
-
}, {}, "isOpen">;
|
|
20
|
-
export default Dropdown;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Dropzone;
|
|
2
|
-
type Dropzone = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Dropzone: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default InteractiveScrollArea;
|
|
2
|
-
type InteractiveScrollArea = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const InteractiveScrollArea: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Pagination;
|
|
2
|
-
type Pagination = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Pagination: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Progress;
|
|
2
|
-
type Progress = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Progress: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Tabs;
|
|
2
|
-
type Tabs = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Tabs: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Tooltip;
|
|
2
|
-
type Tooltip = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Tooltip: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default BatteryChart;
|
|
2
|
-
type BatteryChart = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const BatteryChart: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default LineChart;
|
|
2
|
-
type LineChart = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const LineChart: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default PieChart;
|
|
2
|
-
type PieChart = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const PieChart: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import Container from "../../primitives/Container.svelte";
|
|
3
|
-
import Text from "../../primitives/Text.svelte";
|
|
4
|
-
import type { Snippet } from "svelte";
|
|
5
|
-
|
|
6
|
-
const {
|
|
7
|
-
class: className,
|
|
8
|
-
overrideDefaultStyling = false,
|
|
9
|
-
children,
|
|
10
|
-
}: {
|
|
11
|
-
class?: string;
|
|
12
|
-
overrideDefaultStyling?: boolean;
|
|
13
|
-
children?: Snippet;
|
|
14
|
-
} = $props();
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<Container overrideDefaultStyling class={overrideDefaultStyling ? "" + (className ? className : "") : "fluid-notification-area" + (className ? ` ${className}` : "")}>
|
|
18
|
-
{#if children}
|
|
19
|
-
{@render children()}
|
|
20
|
-
{/if}
|
|
21
|
-
</Container>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default FormBuilder;
|
|
2
|
-
type FormBuilder = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const FormBuilder: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Document;
|
|
2
|
-
type Document = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Document: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default DocumentBlock;
|
|
2
|
-
type DocumentBlock = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const DocumentBlock: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default DocumentPage;
|
|
2
|
-
type DocumentPage = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const DocumentPage: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Timeline;
|
|
2
|
-
type Timeline = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Timeline: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default TimelineItem;
|
|
2
|
-
type TimelineItem = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const TimelineItem: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
4
|
-
|
|
5
|
-
let {
|
|
6
|
-
class: className = "",
|
|
7
|
-
buttonType = "solid",
|
|
8
|
-
buttonStyle = "primary",
|
|
9
|
-
onclick,
|
|
10
|
-
overrideDefaultStyling = false,
|
|
11
|
-
isActive = $bindable(false),
|
|
12
|
-
activeChildren,
|
|
13
|
-
children,
|
|
14
|
-
...restProps
|
|
15
|
-
}: {
|
|
16
|
-
class?: string;
|
|
17
|
-
buttonType?: "solid" | "outline" | "transparent";
|
|
18
|
-
buttonStyle?: "primary" | "secondary" | "tetriary" | "neutral";
|
|
19
|
-
onclick: (e: Event) => any;
|
|
20
|
-
overrideDefaultStyling?: boolean;
|
|
21
|
-
isActive?: boolean;
|
|
22
|
-
activeChildren?: Snippet;
|
|
23
|
-
children: Snippet;
|
|
24
|
-
} & Omit<HTMLButtonAttributes, "onclick"> = $props();
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<button
|
|
28
|
-
onclick={async (e: Event) => {
|
|
29
|
-
if (isActive) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (onclick) {
|
|
33
|
-
isActive = true;
|
|
34
|
-
await onclick(e);
|
|
35
|
-
isActive = false;
|
|
36
|
-
}
|
|
37
|
-
}}
|
|
38
|
-
class={(overrideDefaultStyling ? "" : "fluid-button") +
|
|
39
|
-
(className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "") +
|
|
40
|
-
(overrideDefaultStyling ? "" : " fluid-" + buttonType + "-button") +
|
|
41
|
-
(overrideDefaultStyling ? "" : " fluid-" + buttonStyle + "-button")}
|
|
42
|
-
{...restProps}
|
|
43
|
-
>
|
|
44
|
-
{#if activeChildren}
|
|
45
|
-
{#if isActive}
|
|
46
|
-
{@render activeChildren()}
|
|
47
|
-
{:else}
|
|
48
|
-
{@render children()}
|
|
49
|
-
{/if}
|
|
50
|
-
{:else}
|
|
51
|
-
{@render children()}
|
|
52
|
-
{/if}
|
|
53
|
-
</button>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
3
|
-
declare const Button: import("svelte").Component<{
|
|
4
|
-
class?: string;
|
|
5
|
-
buttonType?: "solid" | "outline" | "transparent";
|
|
6
|
-
buttonStyle?: "primary" | "secondary" | "tetriary" | "neutral";
|
|
7
|
-
onclick: (e: Event) => any;
|
|
8
|
-
overrideDefaultStyling?: boolean;
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
activeChildren?: Snippet;
|
|
11
|
-
children: Snippet;
|
|
12
|
-
} & Omit<HTMLButtonAttributes, "onclick">, {}, "isActive">;
|
|
13
|
-
export default Button;
|