@joyautomation/salt 0.0.13 → 0.0.15
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/ThemeButton.svelte +6 -5
- package/dist/components/ThemeButton.svelte.d.ts +19 -15
- package/dist/components/Toast.svelte +18 -12
- package/dist/components/Toast.svelte.d.ts +3 -14
- package/dist/components/Toggle.svelte +9 -7
- package/dist/components/Toggle.svelte.d.ts +23 -19
- package/dist/components/icons/ArrowPath.svelte.d.ts +22 -19
- package/dist/components/icons/Bars.svelte +19 -0
- package/dist/components/icons/Bars.svelte.d.ts +20 -0
- package/dist/components/icons/ChevronDown.svelte.d.ts +22 -19
- package/dist/components/icons/ChevronRight.svelte +2 -1
- package/dist/components/icons/ChevronRight.svelte.d.ts +18 -14
- package/dist/components/icons/ChevronUpDown.svelte +2 -1
- package/dist/components/icons/ChevronUpDown.svelte.d.ts +18 -14
- package/dist/components/icons/DocumentMinus.svelte.d.ts +22 -19
- package/dist/components/icons/DocumentPlus.svelte.d.ts +22 -19
- package/dist/components/icons/Link.svelte.d.ts +22 -19
- package/dist/components/icons/Minus.svelte.d.ts +22 -19
- package/dist/components/icons/Moon.svelte +2 -1
- package/dist/components/icons/Moon.svelte.d.ts +18 -14
- package/dist/components/icons/PauseCircle.svelte +2 -1
- package/dist/components/icons/PauseCircle.svelte.d.ts +18 -14
- package/dist/components/icons/Pencil.svelte +2 -1
- package/dist/components/icons/Pencil.svelte.d.ts +18 -14
- package/dist/components/icons/PlayCircle.svelte.d.ts +22 -19
- package/dist/components/icons/Plus.svelte +2 -1
- package/dist/components/icons/Plus.svelte.d.ts +18 -14
- package/dist/components/icons/Sun.svelte +2 -1
- package/dist/components/icons/Sun.svelte.d.ts +18 -14
- package/dist/components/icons/Trash.svelte +2 -1
- package/dist/components/icons/Trash.svelte.d.ts +18 -14
- package/dist/components/icons/WrenchScrewdriver.svelte +2 -1
- package/dist/components/icons/WrenchScrewdriver.svelte.d.ts +18 -14
- package/dist/components/icons/Xmark.svelte +2 -1
- package/dist/components/icons/Xmark.svelte.d.ts +18 -14
- package/dist/components/icons/index.d.ts +1 -1
- package/dist/components/icons/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/state/notifications.svelte.d.ts +13 -0
- package/dist/state/notifications.svelte.js +20 -0
- package/dist/stores/notifications.d.ts +11 -0
- package/package.json +27 -27
- package/dist/components/icons/ShoppingCart.svelte +0 -18
- package/dist/components/icons/ShoppingCart.svelte.d.ts +0 -16
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
export let
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { enhance } from '$app/forms'
|
|
3
|
+
import Moon from './icons/Moon.svelte'
|
|
4
|
+
import Sun from './icons/Sun.svelte'
|
|
5
|
+
export let theme: string
|
|
6
|
+
export let action = 'setTheme'
|
|
6
7
|
</script>
|
|
7
8
|
|
|
8
9
|
<form method="POST" action={`?/${action}`} use:enhance>
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type ThemeButtonProps = typeof __propDef.props;
|
|
13
|
-
export type ThemeButtonEvents = typeof __propDef.events;
|
|
14
|
-
export type ThemeButtonSlots = typeof __propDef.slots;
|
|
15
|
-
export default class ThemeButton extends SvelteComponent<ThemeButtonProps, ThemeButtonEvents, ThemeButtonSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
16
13
|
}
|
|
17
|
-
|
|
14
|
+
declare const ThemeButton: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
theme: string;
|
|
16
|
+
action?: string;
|
|
17
|
+
}, {
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
}, {}, {}, string>;
|
|
20
|
+
type ThemeButton = InstanceType<typeof ThemeButton>;
|
|
21
|
+
export default ThemeButton;
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { page } from '$app/state'
|
|
3
|
+
import { notifications, addNotification } from '../state/notifications.svelte'
|
|
4
|
+
import { slide } from 'svelte/transition'
|
|
5
|
+
|
|
6
|
+
let lastProcessedTime = 0
|
|
7
|
+
|
|
8
|
+
$effect(() => {
|
|
9
|
+
const formData = page.form
|
|
10
|
+
const now = Date.now()
|
|
11
|
+
// Only process if we have new form data with a message
|
|
12
|
+
// and enough time has passed since the last notification (e.g., 50ms)
|
|
13
|
+
if (formData?.message && now - lastProcessedTime > 50) {
|
|
14
|
+
lastProcessedTime = now
|
|
15
|
+
addNotification(formData)
|
|
16
|
+
}
|
|
17
|
+
})
|
|
12
18
|
</script>
|
|
13
19
|
|
|
14
20
|
<div class="toast">
|
|
15
|
-
{#each
|
|
21
|
+
{#each notifications.current as notification}
|
|
16
22
|
<div
|
|
17
23
|
class:toast--success={notification.type === 'success'}
|
|
18
24
|
class:toast--error={notification.type === 'error'}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
events: {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type ToastProps = typeof __propDef.props;
|
|
10
|
-
export type ToastEvents = typeof __propDef.events;
|
|
11
|
-
export type ToastSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Toast extends SvelteComponent<ToastProps, ToastEvents, ToastSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
declare const Toast: import("svelte").Component<Record<string, never>, {}, "">;
|
|
2
|
+
type Toast = ReturnType<typeof Toast>;
|
|
3
|
+
export default Toast;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export let
|
|
5
|
-
export let
|
|
6
|
-
export let
|
|
7
|
-
export let
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { enhance } from '$app/forms';
|
|
3
|
+
|
|
4
|
+
export let id: string;
|
|
5
|
+
export let checked = false;
|
|
6
|
+
export let name: string;
|
|
7
|
+
export let selector: string | null = null;
|
|
8
|
+
export let selectorName: string = '';
|
|
9
|
+
export let buttonType: 'button' | 'submit' = 'button';
|
|
8
10
|
</script>
|
|
9
11
|
|
|
10
12
|
<button
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
};
|
|
16
|
-
export type ToggleProps = typeof __propDef.props;
|
|
17
|
-
export type ToggleEvents = typeof __propDef.events;
|
|
18
|
-
export type ToggleSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Toggle extends SvelteComponent<ToggleProps, ToggleEvents, ToggleSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
20
13
|
}
|
|
21
|
-
|
|
14
|
+
declare const Toggle: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
id: string;
|
|
16
|
+
checked?: boolean;
|
|
17
|
+
name: string;
|
|
18
|
+
selector?: string | null;
|
|
19
|
+
selectorName?: string;
|
|
20
|
+
buttonType?: "button" | "submit";
|
|
21
|
+
}, {
|
|
22
|
+
[evt: string]: CustomEvent<any>;
|
|
23
|
+
}, {}, {}, string>;
|
|
24
|
+
type Toggle = InstanceType<typeof Toggle>;
|
|
25
|
+
export default Toggle;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} ArrowPathSlots */
|
|
4
|
-
export default class ArrowPath extends SvelteComponent<{
|
|
1
|
+
export default ArrowPath;
|
|
2
|
+
type ArrowPath = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type ArrowPathProps = typeof __propDef.props;
|
|
11
|
-
export type ArrowPathEvents = typeof __propDef.events;
|
|
12
|
-
export type ArrowPathSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const ArrowPath: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
export let size = '1.5rem'
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
fill="none"
|
|
8
|
+
viewBox="0 0 24 24"
|
|
9
|
+
stroke-width="1.5"
|
|
10
|
+
stroke="currentColor"
|
|
11
|
+
style:height={size}
|
|
12
|
+
style:width={size}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
|
|
18
|
+
/>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
11
|
+
};
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
|
+
}
|
|
14
|
+
declare const Bars: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Bars = InstanceType<typeof Bars>;
|
|
20
|
+
export default Bars;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} ChevronDownSlots */
|
|
4
|
-
export default class ChevronDown extends SvelteComponent<{
|
|
1
|
+
export default ChevronDown;
|
|
2
|
+
type ChevronDown = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type ChevronDownProps = typeof __propDef.props;
|
|
11
|
-
export type ChevronDownEvents = typeof __propDef.events;
|
|
12
|
-
export type ChevronDownSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const ChevronDown: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type ChevronRightProps = typeof __propDef.props;
|
|
12
|
-
export type ChevronRightEvents = typeof __propDef.events;
|
|
13
|
-
export type ChevronRightSlots = typeof __propDef.slots;
|
|
14
|
-
export default class ChevronRight extends SvelteComponent<ChevronRightProps, ChevronRightEvents, ChevronRightSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const ChevronRight: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type ChevronRight = InstanceType<typeof ChevronRight>;
|
|
20
|
+
export default ChevronRight;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type ChevronUpDownProps = typeof __propDef.props;
|
|
12
|
-
export type ChevronUpDownEvents = typeof __propDef.events;
|
|
13
|
-
export type ChevronUpDownSlots = typeof __propDef.slots;
|
|
14
|
-
export default class ChevronUpDown extends SvelteComponent<ChevronUpDownProps, ChevronUpDownEvents, ChevronUpDownSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const ChevronUpDown: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type ChevronUpDown = InstanceType<typeof ChevronUpDown>;
|
|
20
|
+
export default ChevronUpDown;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} DocumentMinusSlots */
|
|
4
|
-
export default class DocumentMinus extends SvelteComponent<{
|
|
1
|
+
export default DocumentMinus;
|
|
2
|
+
type DocumentMinus = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type DocumentMinusProps = typeof __propDef.props;
|
|
11
|
-
export type DocumentMinusEvents = typeof __propDef.events;
|
|
12
|
-
export type DocumentMinusSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const DocumentMinus: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} DocumentPlusSlots */
|
|
4
|
-
export default class DocumentPlus extends SvelteComponent<{
|
|
1
|
+
export default DocumentPlus;
|
|
2
|
+
type DocumentPlus = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type DocumentPlusProps = typeof __propDef.props;
|
|
11
|
-
export type DocumentPlusEvents = typeof __propDef.events;
|
|
12
|
-
export type DocumentPlusSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const DocumentPlus: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} LinkSlots */
|
|
4
|
-
export default class Link extends SvelteComponent<{
|
|
1
|
+
export default Link;
|
|
2
|
+
type Link = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type LinkProps = typeof __propDef.props;
|
|
11
|
-
export type LinkEvents = typeof __propDef.events;
|
|
12
|
-
export type LinkSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const Link: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} MinusSlots */
|
|
4
|
-
export default class Minus extends SvelteComponent<{
|
|
1
|
+
export default Minus;
|
|
2
|
+
type Minus = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type MinusProps = typeof __propDef.props;
|
|
11
|
-
export type MinusEvents = typeof __propDef.events;
|
|
12
|
-
export type MinusSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const Minus: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type MoonProps = typeof __propDef.props;
|
|
12
|
-
export type MoonEvents = typeof __propDef.events;
|
|
13
|
-
export type MoonSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Moon extends SvelteComponent<MoonProps, MoonEvents, MoonSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const Moon: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Moon = InstanceType<typeof Moon>;
|
|
20
|
+
export default Moon;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type PauseCircleProps = typeof __propDef.props;
|
|
12
|
-
export type PauseCircleEvents = typeof __propDef.events;
|
|
13
|
-
export type PauseCircleSlots = typeof __propDef.slots;
|
|
14
|
-
export default class PauseCircle extends SvelteComponent<PauseCircleProps, PauseCircleEvents, PauseCircleSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const PauseCircle: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type PauseCircle = InstanceType<typeof PauseCircle>;
|
|
20
|
+
export default PauseCircle;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type PencilProps = typeof __propDef.props;
|
|
12
|
-
export type PencilEvents = typeof __propDef.events;
|
|
13
|
-
export type PencilSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Pencil extends SvelteComponent<PencilProps, PencilEvents, PencilSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const Pencil: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Pencil = InstanceType<typeof Pencil>;
|
|
20
|
+
export default Pencil;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} PlayCircleSlots */
|
|
4
|
-
export default class PlayCircle extends SvelteComponent<{
|
|
1
|
+
export default PlayCircle;
|
|
2
|
+
type PlayCircle = SvelteComponent<{
|
|
5
3
|
size?: string | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type PlayCircleProps = typeof __propDef.props;
|
|
11
|
-
export type PlayCircleEvents = typeof __propDef.events;
|
|
12
|
-
export type PlayCircleSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
size?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const PlayCircle: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
size?: string | undefined;
|
|
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: Props & {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type PlusProps = typeof __propDef.props;
|
|
12
|
-
export type PlusEvents = typeof __propDef.events;
|
|
13
|
-
export type PlusSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Plus extends SvelteComponent<PlusProps, PlusEvents, PlusSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const Plus: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Plus = InstanceType<typeof Plus>;
|
|
20
|
+
export default Plus;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type SunProps = typeof __propDef.props;
|
|
12
|
-
export type SunEvents = typeof __propDef.events;
|
|
13
|
-
export type SunSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Sun extends SvelteComponent<SunProps, SunEvents, SunSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const Sun: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Sun = InstanceType<typeof Sun>;
|
|
20
|
+
export default Sun;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type TrashProps = typeof __propDef.props;
|
|
12
|
-
export type TrashEvents = typeof __propDef.events;
|
|
13
|
-
export type TrashSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Trash extends SvelteComponent<TrashProps, TrashEvents, TrashSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const Trash: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Trash = InstanceType<typeof Trash>;
|
|
20
|
+
export default Trash;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type WrenchScrewdriverProps = typeof __propDef.props;
|
|
12
|
-
export type WrenchScrewdriverEvents = typeof __propDef.events;
|
|
13
|
-
export type WrenchScrewdriverSlots = typeof __propDef.slots;
|
|
14
|
-
export default class WrenchScrewdriver extends SvelteComponent<WrenchScrewdriverProps, WrenchScrewdriverEvents, WrenchScrewdriverSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const WrenchScrewdriver: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type WrenchScrewdriver = InstanceType<typeof WrenchScrewdriver>;
|
|
20
|
+
export default WrenchScrewdriver;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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;
|
|
5
11
|
};
|
|
6
|
-
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type XmarkProps = typeof __propDef.props;
|
|
12
|
-
export type XmarkEvents = typeof __propDef.events;
|
|
13
|
-
export type XmarkSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Xmark extends SvelteComponent<XmarkProps, XmarkEvents, XmarkSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const Xmark: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
size?: string;
|
|
16
|
+
}, {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
}, {}, {}, string>;
|
|
19
|
+
type Xmark = InstanceType<typeof Xmark>;
|
|
20
|
+
export default Xmark;
|
|
@@ -15,4 +15,4 @@ export { default as Trash } from "./Trash.svelte";
|
|
|
15
15
|
export { default as WrenchScrewdriver } from "./WrenchScrewdriver.svelte";
|
|
16
16
|
export { default as Xmark } from "./Xmark.svelte";
|
|
17
17
|
export { default as Minus } from "./Minus.svelte";
|
|
18
|
-
export { default as
|
|
18
|
+
export { default as Bars } from "./Bars.svelte";
|
|
@@ -15,4 +15,4 @@ export { default as Trash } from "./Trash.svelte";
|
|
|
15
15
|
export { default as WrenchScrewdriver } from "./WrenchScrewdriver.svelte";
|
|
16
16
|
export { default as Xmark } from "./Xmark.svelte";
|
|
17
17
|
export { default as Minus } from "./Minus.svelte";
|
|
18
|
-
export { default as
|
|
18
|
+
export { default as Bars } from "./Bars.svelte";
|
package/dist/index.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export { default as Toggle } from "./components/Toggle.svelte";
|
|
|
4
4
|
export { default as ThemeButton } from "./components/ThemeButton.svelte";
|
|
5
5
|
export { default as Toast } from "./components/Toast.svelte";
|
|
6
6
|
export * as icons from "./components/icons/index.js";
|
|
7
|
+
export * as state from "./state/notifications.svelte";
|
package/dist/index.js
CHANGED
|
@@ -4,3 +4,4 @@ export { default as Toggle } from "./components/Toggle.svelte";
|
|
|
4
4
|
export { default as ThemeButton } from "./components/ThemeButton.svelte";
|
|
5
5
|
export { default as Toast } from "./components/Toast.svelte";
|
|
6
6
|
export * as icons from "./components/icons/index.js";
|
|
7
|
+
export * as state from "./state/notifications.svelte";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface NotificationInput {
|
|
2
|
+
type: string;
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
export interface Notification {
|
|
6
|
+
id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const notifications: {
|
|
11
|
+
current: Notification[];
|
|
12
|
+
};
|
|
13
|
+
export declare function addNotification(notification: NotificationInput): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { writable } from 'svelte/store';
|
|
2
|
+
import { nanoid } from 'nanoid';
|
|
3
|
+
const initializer = [];
|
|
4
|
+
export const notifications = $state({
|
|
5
|
+
current: initializer,
|
|
6
|
+
});
|
|
7
|
+
export function addNotification(notification) {
|
|
8
|
+
const id = nanoid();
|
|
9
|
+
notifications.current = [
|
|
10
|
+
...notifications.current,
|
|
11
|
+
{
|
|
12
|
+
id,
|
|
13
|
+
...notification,
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
setTimeout(() => {
|
|
17
|
+
notifications.current = notifications.current.filter((n) => n.id !== id);
|
|
18
|
+
}, 5000);
|
|
19
|
+
return id;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface NotificationInput {
|
|
2
|
+
type: string;
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
export interface Notification {
|
|
6
|
+
id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const notifications: import("svelte/store").Writable<Notification[]>;
|
|
11
|
+
export declare function addNotification(notification: NotificationInput): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joyautomation/salt",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": [
|
|
6
6
|
"./dist/index.js",
|
|
@@ -22,37 +22,37 @@
|
|
|
22
22
|
"svelte": "5.0.0-next.244"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@playwright/test": "^1.
|
|
26
|
-
"@sveltejs/adapter-auto": "^
|
|
27
|
-
"@sveltejs/kit": "^2.
|
|
28
|
-
"@sveltejs/package": "^2.
|
|
29
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
30
|
-
"@types/eslint": "^
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
32
|
-
"@typescript-eslint/parser": "^
|
|
33
|
-
"eslint": "^9.
|
|
34
|
-
"eslint-config-prettier": "^
|
|
35
|
-
"eslint-plugin-prettier": "^5.
|
|
36
|
-
"eslint-plugin-svelte": "^2.
|
|
37
|
-
"globals": "^
|
|
38
|
-
"prettier": "^3.2
|
|
39
|
-
"prettier-plugin-svelte": "^3.
|
|
40
|
-
"publint": "^0.
|
|
41
|
-
"svelte": "5.
|
|
42
|
-
"svelte-check": "^
|
|
43
|
-
"tslib": "^2.
|
|
44
|
-
"typescript": "^5.
|
|
45
|
-
"typescript-eslint": "^
|
|
46
|
-
"vite": "^
|
|
47
|
-
"vitest": "^
|
|
25
|
+
"@playwright/test": "^1.50.1",
|
|
26
|
+
"@sveltejs/adapter-auto": "^4.0.0",
|
|
27
|
+
"@sveltejs/kit": "^2.17.2",
|
|
28
|
+
"@sveltejs/package": "^2.3.10",
|
|
29
|
+
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
30
|
+
"@types/eslint": "^9.6.1",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^8.24.1",
|
|
32
|
+
"@typescript-eslint/parser": "^8.24.1",
|
|
33
|
+
"eslint": "^9.21.0",
|
|
34
|
+
"eslint-config-prettier": "^10.0.1",
|
|
35
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
36
|
+
"eslint-plugin-svelte": "^2.46.1",
|
|
37
|
+
"globals": "^16.0.0",
|
|
38
|
+
"prettier": "^3.5.2",
|
|
39
|
+
"prettier-plugin-svelte": "^3.3.3",
|
|
40
|
+
"publint": "^0.3.6",
|
|
41
|
+
"svelte": "5.20.2",
|
|
42
|
+
"svelte-check": "^4.1.4",
|
|
43
|
+
"tslib": "^2.8.1",
|
|
44
|
+
"typescript": "^5.7.3",
|
|
45
|
+
"typescript-eslint": "^8.24.1",
|
|
46
|
+
"vite": "^6.1.1",
|
|
47
|
+
"vitest": "^3.0.6"
|
|
48
48
|
},
|
|
49
49
|
"svelte": "./dist/index.js",
|
|
50
50
|
"types": "./dist/index.d.ts",
|
|
51
51
|
"type": "module",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@sveltejs/adapter-node": "^5.
|
|
54
|
-
"nanoid": "^5.0
|
|
55
|
-
"sass": "^1.
|
|
53
|
+
"@sveltejs/adapter-node": "^5.2.12",
|
|
54
|
+
"nanoid": "^5.1.0",
|
|
55
|
+
"sass": "^1.85.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"dev": "vite dev",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<script lang="ts">export let size = "1.5rem";
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<svg
|
|
5
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
-
fill="none"
|
|
7
|
-
viewBox="0 0 24 24"
|
|
8
|
-
stroke-width="1.5"
|
|
9
|
-
stroke="currentColor"
|
|
10
|
-
width={size}
|
|
11
|
-
height={size}
|
|
12
|
-
>
|
|
13
|
-
<path
|
|
14
|
-
stroke-linecap="round"
|
|
15
|
-
stroke-linejoin="round"
|
|
16
|
-
d="M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"
|
|
17
|
-
/>
|
|
18
|
-
</svg>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
size?: string | undefined;
|
|
5
|
-
};
|
|
6
|
-
events: {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type ShoppingCartProps = typeof __propDef.props;
|
|
12
|
-
export type ShoppingCartEvents = typeof __propDef.events;
|
|
13
|
-
export type ShoppingCartSlots = typeof __propDef.slots;
|
|
14
|
-
export default class ShoppingCart extends SvelteComponent<ShoppingCartProps, ShoppingCartEvents, ShoppingCartSlots> {
|
|
15
|
-
}
|
|
16
|
-
export {};
|