@webamoki/web-svelte 0.5.28 → 0.5.30
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/form/Button.svelte.d.ts +13 -7
- package/dist/components/form/Errors.svelte.d.ts +13 -5
- package/dist/components/form/FieldWrapper.svelte.d.ts +11 -24
- package/dist/components/form/Form.svelte.d.ts +11 -29
- package/dist/components/form/fields/ChoiceField.svelte.d.ts +11 -25
- package/dist/components/form/fields/ChoiceMultiField.svelte.d.ts +11 -25
- package/dist/components/form/fields/DateField.svelte.d.ts +11 -26
- package/dist/components/form/fields/HexColorField.svelte.d.ts +11 -24
- package/dist/components/form/fields/NumberField.svelte.d.ts +11 -26
- package/dist/components/form/fields/PasswordField.svelte.d.ts +11 -24
- package/dist/components/form/fields/SelectField.svelte.d.ts +11 -31
- package/dist/components/form/fields/SelectMultiField.svelte.d.ts +11 -31
- package/dist/components/form/fields/TextField.svelte.d.ts +11 -27
- package/dist/components/form/fields/TextFieldNullable.svelte.d.ts +11 -27
- package/dist/components/form/fields/TimeField.svelte.d.ts +11 -27
- package/dist/components/form/fields/WeekdayChoiceField.svelte.d.ts +11 -25
- package/dist/components/form/fields/WeekdayChoiceMultiField.svelte.d.ts +11 -25
- package/dist/components/showcase/CodeBlock.svelte.d.ts +17 -28
- package/dist/components/showcase/Container.svelte.d.ts +18 -22
- package/dist/components/showcase/Preview.svelte.d.ts +22 -21
- package/dist/components/showcase/Sidebar.svelte.d.ts +22 -21
- package/dist/components/showcase/SidebarLink.svelte.d.ts +14 -18
- package/dist/components/ui/choice/Choice.svelte.d.ts +11 -21
- package/dist/components/ui/choice/ChoiceInternal.svelte.d.ts +11 -24
- package/dist/components/ui/choice/ChoiceMulti.svelte.d.ts +11 -21
- package/dist/components/ui/choice/WeekdayChoice.svelte.d.ts +14 -3
- package/dist/components/ui/choice/WeekdayChoiceMulti.svelte.d.ts +14 -3
- package/dist/components/ui/search/SearchBar.svelte.d.ts +13 -8
- package/dist/shadcn/components/ui/button/button.svelte.d.ts +14 -3
- package/dist/shadcn/components/ui/input/input.svelte.d.ts +14 -13
- package/dist/shadcn/components/ui/select/select-content.svelte.d.ts +13 -7
- package/dist/shadcn/components/ui/select/select-group-heading.svelte.d.ts +14 -10
- package/dist/shadcn/components/ui/select/select-group.svelte.d.ts +14 -4
- package/dist/shadcn/components/ui/select/select-item.svelte.d.ts +14 -4
- package/dist/shadcn/components/ui/select/select-label.svelte.d.ts +14 -6
- package/dist/shadcn/components/ui/select/select-scroll-down-button.svelte.d.ts +14 -4
- package/dist/shadcn/components/ui/select/select-scroll-up-button.svelte.d.ts +14 -4
- package/dist/shadcn/components/ui/select/select-separator.svelte.d.ts +14 -4
- package/dist/shadcn/components/ui/select/select-trigger.svelte.d.ts +13 -7
- package/dist/shadcn/components/ui/separator/separator.svelte.d.ts +14 -4
- package/dist/utils/types/arktype.d.ts +1 -0
- package/dist/utils/types/arktype.js +9 -0
- package/package.json +18 -29
|
@@ -1,31 +1,15 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
import type { FormPath } from 'sveltekit-superforms';
|
|
2
|
-
import { type FieldWrapperProps } from '../FieldWrapper.svelte';
|
|
3
|
-
import { Time } from '@internationalized/date';
|
|
4
|
-
declare function $$render<T extends Record<string, unknown>, U extends FormPath<T>, M>(): {
|
|
5
|
-
props: FieldWrapperProps<T, U, M> & {
|
|
6
|
-
value?: Time;
|
|
7
|
-
class?: string;
|
|
8
|
-
step?: HTMLInputElement["step"];
|
|
9
|
-
};
|
|
10
|
-
exports: {};
|
|
11
|
-
bindings: "value";
|
|
12
|
-
slots: {};
|
|
13
|
-
events: {};
|
|
14
|
-
};
|
|
15
3
|
declare class __sveltets_Render<T extends Record<string, unknown>, U extends FormPath<T>, M> {
|
|
16
|
-
props():
|
|
17
|
-
events():
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
props(): Record<string, never>;
|
|
5
|
+
events(): {} & {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots(): {};
|
|
21
9
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<T extends Record<string, unknown>, U extends FormPath<T>, M>(internal: unknown, props: ReturnType<__sveltets_Render<T, U, M>['props']> & {}): ReturnType<__sveltets_Render<T, U, M>['exports']>;
|
|
27
|
-
z_$$bindings?: ReturnType<__sveltets_Render<any, any, any>['bindings']>;
|
|
10
|
+
export type TimeFieldProps<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['props']>;
|
|
11
|
+
export type TimeFieldEvents<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['events']>;
|
|
12
|
+
export type TimeFieldSlots<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['slots']>;
|
|
13
|
+
export default class TimeField<T extends Record<string, unknown>, U extends FormPath<T>, M> extends SvelteComponentTyped<TimeFieldProps<T, U, M>, TimeFieldEvents<T, U, M>, TimeFieldSlots<T, U, M>> {
|
|
28
14
|
}
|
|
29
|
-
|
|
30
|
-
type TimeField<T extends Record<string, unknown>, U extends FormPath<T>, M> = InstanceType<typeof TimeField<T, U, M>>;
|
|
31
|
-
export default TimeField;
|
|
15
|
+
export {};
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
import type { FormPath } from 'sveltekit-superforms';
|
|
3
|
-
import { type FieldWrapperProps } from '../FieldWrapper.svelte';
|
|
4
|
-
declare function $$render<T extends Record<string, unknown>, U extends FormPath<T>, M>(): {
|
|
5
|
-
props: {
|
|
6
|
-
class?: string;
|
|
7
|
-
} & FieldWrapperProps<T, U, M> & WeekdayChoiceProps;
|
|
8
|
-
exports: {};
|
|
9
|
-
bindings: "value";
|
|
10
|
-
slots: {};
|
|
11
|
-
events: {};
|
|
12
|
-
};
|
|
13
3
|
declare class __sveltets_Render<T extends Record<string, unknown>, U extends FormPath<T>, M> {
|
|
14
|
-
props():
|
|
15
|
-
events():
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
props(): Record<string, never>;
|
|
5
|
+
events(): {} & {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots(): {};
|
|
19
9
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<T extends Record<string, unknown>, U extends FormPath<T>, M>(internal: unknown, props: ReturnType<__sveltets_Render<T, U, M>['props']> & {}): ReturnType<__sveltets_Render<T, U, M>['exports']>;
|
|
25
|
-
z_$$bindings?: ReturnType<__sveltets_Render<any, any, any>['bindings']>;
|
|
10
|
+
export type WeekdayChoiceFieldProps<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['props']>;
|
|
11
|
+
export type WeekdayChoiceFieldEvents<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['events']>;
|
|
12
|
+
export type WeekdayChoiceFieldSlots<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['slots']>;
|
|
13
|
+
export default class WeekdayChoiceField<T extends Record<string, unknown>, U extends FormPath<T>, M> extends SvelteComponentTyped<WeekdayChoiceFieldProps<T, U, M>, WeekdayChoiceFieldEvents<T, U, M>, WeekdayChoiceFieldSlots<T, U, M>> {
|
|
26
14
|
}
|
|
27
|
-
|
|
28
|
-
type WeekdayChoiceField<T extends Record<string, unknown>, U extends FormPath<T>, M> = InstanceType<typeof WeekdayChoiceField<T, U, M>>;
|
|
29
|
-
export default WeekdayChoiceField;
|
|
15
|
+
export {};
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
import type { FormPath } from 'sveltekit-superforms';
|
|
3
|
-
import { type FieldWrapperProps } from '../FieldWrapper.svelte';
|
|
4
|
-
declare function $$render<T extends Record<string, unknown>, U extends FormPath<T>, M>(): {
|
|
5
|
-
props: {
|
|
6
|
-
class?: string;
|
|
7
|
-
} & FieldWrapperProps<T, U, M> & WeekdayChoiceMultiProps;
|
|
8
|
-
exports: {};
|
|
9
|
-
bindings: "value";
|
|
10
|
-
slots: {};
|
|
11
|
-
events: {};
|
|
12
|
-
};
|
|
13
3
|
declare class __sveltets_Render<T extends Record<string, unknown>, U extends FormPath<T>, M> {
|
|
14
|
-
props():
|
|
15
|
-
events():
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
props(): Record<string, never>;
|
|
5
|
+
events(): {} & {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots(): {};
|
|
19
9
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<T extends Record<string, unknown>, U extends FormPath<T>, M>(internal: unknown, props: ReturnType<__sveltets_Render<T, U, M>['props']> & {}): ReturnType<__sveltets_Render<T, U, M>['exports']>;
|
|
25
|
-
z_$$bindings?: ReturnType<__sveltets_Render<any, any, any>['bindings']>;
|
|
10
|
+
export type WeekdayChoiceMultiFieldProps<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['props']>;
|
|
11
|
+
export type WeekdayChoiceMultiFieldEvents<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['events']>;
|
|
12
|
+
export type WeekdayChoiceMultiFieldSlots<T extends Record<string, unknown>, U extends FormPath<T>, M> = ReturnType<__sveltets_Render<T, U, M>['slots']>;
|
|
13
|
+
export default class WeekdayChoiceMultiField<T extends Record<string, unknown>, U extends FormPath<T>, M> extends SvelteComponentTyped<WeekdayChoiceMultiFieldProps<T, U, M>, WeekdayChoiceMultiFieldEvents<T, U, M>, WeekdayChoiceMultiFieldSlots<T, U, M>> {
|
|
26
14
|
}
|
|
27
|
-
|
|
28
|
-
type WeekdayChoiceMultiField<T extends Record<string, unknown>, U extends FormPath<T>, M> = InstanceType<typeof WeekdayChoiceMultiField<T, U, M>>;
|
|
29
|
-
export default WeekdayChoiceMultiField;
|
|
15
|
+
export {};
|
|
@@ -1,30 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
$$events?: Events;
|
|
7
|
-
$$slots?: Slots;
|
|
8
|
-
}): Exports & {
|
|
9
|
-
$set?: any;
|
|
10
|
-
$on?: any;
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
language?: string;
|
|
5
|
+
theme?: string;
|
|
11
6
|
};
|
|
12
|
-
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {
|
|
11
|
+
default: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type CodeBlockProps = typeof __propDef.props;
|
|
15
|
+
export type CodeBlockEvents = typeof __propDef.events;
|
|
16
|
+
export type CodeBlockSlots = typeof __propDef.slots;
|
|
17
|
+
export default class CodeBlock extends SvelteComponentTyped<CodeBlockProps, CodeBlockEvents, CodeBlockSlots> {
|
|
13
18
|
}
|
|
14
|
-
|
|
15
|
-
default: any;
|
|
16
|
-
} ? Props extends Record<string, never> ? any : {
|
|
17
|
-
children?: any;
|
|
18
|
-
} : {});
|
|
19
|
-
declare const CodeBlock: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
20
|
-
language?: string;
|
|
21
|
-
theme?: string;
|
|
22
|
-
}, {
|
|
23
|
-
default: {};
|
|
24
|
-
}>, {
|
|
25
|
-
[evt: string]: CustomEvent<any>;
|
|
26
|
-
}, {
|
|
27
|
-
default: {};
|
|
28
|
-
}, {}, string>;
|
|
29
|
-
type CodeBlock = InstanceType<typeof CodeBlock>;
|
|
30
|
-
export default CodeBlock;
|
|
19
|
+
export {};
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
$$events?: Events;
|
|
7
|
-
$$slots?: Slots;
|
|
8
|
-
}): Exports & {
|
|
9
|
-
$set?: any;
|
|
10
|
-
$on?: any;
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
11
6
|
};
|
|
12
|
-
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {
|
|
11
|
+
preview: {};
|
|
12
|
+
code: {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type ContainerProps = typeof __propDef.props;
|
|
16
|
+
export type ContainerEvents = typeof __propDef.events;
|
|
17
|
+
export type ContainerSlots = typeof __propDef.slots;
|
|
18
|
+
export default class Container extends SvelteComponentTyped<ContainerProps, ContainerEvents, ContainerSlots> {
|
|
13
19
|
}
|
|
14
|
-
|
|
15
|
-
title: string;
|
|
16
|
-
description: string;
|
|
17
|
-
}, {
|
|
18
|
-
[evt: string]: CustomEvent<any>;
|
|
19
|
-
}, {
|
|
20
|
-
preview: {};
|
|
21
|
-
code: {};
|
|
22
|
-
}, {}, string>;
|
|
23
|
-
type Container = InstanceType<typeof Container>;
|
|
24
|
-
export default Container;
|
|
20
|
+
export {};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/** @typedef {typeof __propDef.props} PreviewProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} PreviewEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} PreviewSlots */
|
|
4
|
+
export default class Preview extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
4
6
|
}, {
|
|
5
|
-
default: {};
|
|
6
|
-
}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Preview: $$__sveltets_2_IsomorphicComponent<any, {
|
|
10
7
|
[evt: string]: CustomEvent<any>;
|
|
11
8
|
}, {
|
|
12
9
|
default: {};
|
|
13
|
-
}
|
|
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;
|
|
10
|
+
}> {
|
|
26
11
|
}
|
|
12
|
+
export type PreviewProps = typeof __propDef.props;
|
|
13
|
+
export type PreviewEvents = typeof __propDef.events;
|
|
14
|
+
export type PreviewSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/** @typedef {typeof __propDef.props} SidebarProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} SidebarEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} SidebarSlots */
|
|
4
|
+
export default class Sidebar extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
4
6
|
}, {
|
|
5
|
-
default: {};
|
|
6
|
-
}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Sidebar: $$__sveltets_2_IsomorphicComponent<any, {
|
|
10
7
|
[evt: string]: CustomEvent<any>;
|
|
11
8
|
}, {
|
|
12
9
|
default: {};
|
|
13
|
-
}
|
|
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;
|
|
10
|
+
}> {
|
|
26
11
|
}
|
|
12
|
+
export type SidebarProps = typeof __propDef.props;
|
|
13
|
+
export type SidebarEvents = typeof __propDef.events;
|
|
14
|
+
export type SidebarSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
(internal: unknown, props: Props & {
|
|
6
|
-
$$events?: Events;
|
|
7
|
-
$$slots?: Slots;
|
|
8
|
-
}): Exports & {
|
|
9
|
-
$set?: any;
|
|
10
|
-
$on?: any;
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
title: string;
|
|
11
5
|
};
|
|
12
|
-
|
|
6
|
+
events: {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
};
|
|
9
|
+
slots: {};
|
|
10
|
+
};
|
|
11
|
+
export type SidebarLinkProps = typeof __propDef.props;
|
|
12
|
+
export type SidebarLinkEvents = typeof __propDef.events;
|
|
13
|
+
export type SidebarLinkSlots = typeof __propDef.slots;
|
|
14
|
+
export default class SidebarLink extends SvelteComponentTyped<SidebarLinkProps, SidebarLinkEvents, SidebarLinkSlots> {
|
|
13
15
|
}
|
|
14
|
-
|
|
15
|
-
title: string;
|
|
16
|
-
}, {
|
|
17
|
-
[evt: string]: CustomEvent<any>;
|
|
18
|
-
}, {}, {}, string>;
|
|
19
|
-
type SidebarLink = InstanceType<typeof SidebarLink>;
|
|
20
|
-
export default SidebarLink;
|
|
16
|
+
export {};
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
export interface ChoiceProps<V, I, K extends string | number | symbol> extends ChoiceInternalProps<V, I, K> {
|
|
2
3
|
value?: V;
|
|
3
4
|
onChange?: (value: V) => void;
|
|
4
5
|
}
|
|
5
6
|
import { type ChoiceInternalProps } from './ChoiceInternal.svelte';
|
|
6
|
-
declare function $$render<V, I, K extends string | number | symbol>(): {
|
|
7
|
-
props: ChoiceProps<V, I, K>;
|
|
8
|
-
exports: {};
|
|
9
|
-
bindings: "value";
|
|
10
|
-
slots: {};
|
|
11
|
-
events: {};
|
|
12
|
-
};
|
|
13
7
|
declare class __sveltets_Render<V, I, K extends string | number | symbol> {
|
|
14
|
-
props():
|
|
15
|
-
events():
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
props(): Record<string, never>;
|
|
9
|
+
events(): {} & {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
};
|
|
12
|
+
slots(): {};
|
|
19
13
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<V, I, K extends string | number | symbol>(internal: unknown, props: ReturnType<__sveltets_Render<V, I, K>['props']> & {}): ReturnType<__sveltets_Render<V, I, K>['exports']>;
|
|
25
|
-
z_$$bindings?: ReturnType<__sveltets_Render<any, any, any>['bindings']>;
|
|
14
|
+
export type ChoiceProps_<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['props']>;
|
|
15
|
+
export type ChoiceEvents<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['events']>;
|
|
16
|
+
export type ChoiceSlots<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['slots']>;
|
|
17
|
+
export default class Choice<V, I, K extends string | number | symbol> extends SvelteComponentTyped<ChoiceProps_<V, I, K>, ChoiceEvents<V, I, K>, ChoiceSlots<V, I, K>> {
|
|
26
18
|
}
|
|
27
|
-
|
|
28
|
-
type Choice<V, I, K extends string | number | symbol> = InstanceType<typeof Choice<V, I, K>>;
|
|
29
|
-
export default Choice;
|
|
19
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
export interface ChoiceInternalProps<V, I, K extends string | number | symbol> extends Partial<FormAttrs> {
|
|
2
3
|
items: readonly I[];
|
|
3
4
|
getKey: (item: I) => K;
|
|
@@ -9,30 +10,16 @@ export interface ChoiceInternalProps<V, I, K extends string | number | symbol> e
|
|
|
9
10
|
}
|
|
10
11
|
import type { FormAttrs } from '../../form/FieldWrapper.svelte';
|
|
11
12
|
import type { Snippet } from 'svelte';
|
|
12
|
-
declare function $$render<V, I, K extends string | number | symbol>(): {
|
|
13
|
-
props: ChoiceInternalProps<V, I, K> & {
|
|
14
|
-
handleItemClick: (item: I) => void;
|
|
15
|
-
isActive: (item: I) => boolean;
|
|
16
|
-
};
|
|
17
|
-
exports: {};
|
|
18
|
-
bindings: "";
|
|
19
|
-
slots: {};
|
|
20
|
-
events: {};
|
|
21
|
-
};
|
|
22
13
|
declare class __sveltets_Render<V, I, K extends string | number | symbol> {
|
|
23
|
-
props():
|
|
24
|
-
events():
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
props(): Record<string, never>;
|
|
15
|
+
events(): {} & {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
};
|
|
18
|
+
slots(): {};
|
|
28
19
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<V, I, K extends string | number | symbol>(internal: unknown, props: ReturnType<__sveltets_Render<V, I, K>['props']> & {}): ReturnType<__sveltets_Render<V, I, K>['exports']>;
|
|
34
|
-
z_$$bindings?: ReturnType<__sveltets_Render<any, any, any>['bindings']>;
|
|
20
|
+
export type ChoiceInternalProps_<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['props']>;
|
|
21
|
+
export type ChoiceInternalEvents<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['events']>;
|
|
22
|
+
export type ChoiceInternalSlots<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['slots']>;
|
|
23
|
+
export default class ChoiceInternal<V, I, K extends string | number | symbol> extends SvelteComponentTyped<ChoiceInternalProps_<V, I, K>, ChoiceInternalEvents<V, I, K>, ChoiceInternalSlots<V, I, K>> {
|
|
35
24
|
}
|
|
36
|
-
|
|
37
|
-
type ChoiceInternal<V, I, K extends string | number | symbol> = InstanceType<typeof ChoiceInternal<V, I, K>>;
|
|
38
|
-
export default ChoiceInternal;
|
|
25
|
+
export {};
|
|
@@ -1,30 +1,20 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
export interface ChoiceMultiProps<V, I, K extends string | number | symbol> extends ChoiceInternalProps<V, I, K> {
|
|
2
3
|
value: V[];
|
|
3
4
|
onAdd?: (value: V) => void;
|
|
4
5
|
onRemove?: (value: V) => void;
|
|
5
6
|
}
|
|
6
7
|
import { type ChoiceInternalProps } from './ChoiceInternal.svelte';
|
|
7
|
-
declare function $$render<V, I, K extends string | number | symbol>(): {
|
|
8
|
-
props: ChoiceMultiProps<V, I, K>;
|
|
9
|
-
exports: {};
|
|
10
|
-
bindings: "value";
|
|
11
|
-
slots: {};
|
|
12
|
-
events: {};
|
|
13
|
-
};
|
|
14
8
|
declare class __sveltets_Render<V, I, K extends string | number | symbol> {
|
|
15
|
-
props():
|
|
16
|
-
events():
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
props(): Record<string, never>;
|
|
10
|
+
events(): {} & {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots(): {};
|
|
20
14
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<V, I, K extends string | number | symbol>(internal: unknown, props: ReturnType<__sveltets_Render<V, I, K>['props']> & {}): ReturnType<__sveltets_Render<V, I, K>['exports']>;
|
|
26
|
-
z_$$bindings?: ReturnType<__sveltets_Render<any, any, any>['bindings']>;
|
|
15
|
+
export type ChoiceMultiProps_<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['props']>;
|
|
16
|
+
export type ChoiceMultiEvents<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['events']>;
|
|
17
|
+
export type ChoiceMultiSlots<V, I, K extends string | number | symbol> = ReturnType<__sveltets_Render<V, I, K>['slots']>;
|
|
18
|
+
export default class ChoiceMulti<V, I, K extends string | number | symbol> extends SvelteComponentTyped<ChoiceMultiProps_<V, I, K>, ChoiceMultiEvents<V, I, K>, ChoiceMultiSlots<V, I, K>> {
|
|
27
19
|
}
|
|
28
|
-
|
|
29
|
-
type ChoiceMulti<V, I, K extends string | number | symbol> = InstanceType<typeof ChoiceMulti<V, I, K>>;
|
|
30
|
-
export default ChoiceMulti;
|
|
20
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
export interface WeekdayChoiceProps {
|
|
2
3
|
value?: Day;
|
|
3
4
|
onChange?: (value: Day) => void;
|
|
@@ -9,6 +10,16 @@ export interface WeekdayChoiceProps {
|
|
|
9
10
|
class?: string;
|
|
10
11
|
}
|
|
11
12
|
import type { Day } from '../../../utils/types/arktype.js';
|
|
12
|
-
declare const
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
declare const __propDef: {
|
|
14
|
+
props: Record<string, never>;
|
|
15
|
+
events: {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
};
|
|
18
|
+
slots: {};
|
|
19
|
+
};
|
|
20
|
+
type WeekdayChoiceProps_ = typeof __propDef.props;
|
|
21
|
+
export type WeekdayChoiceEvents = typeof __propDef.events;
|
|
22
|
+
export type WeekdayChoiceSlots = typeof __propDef.slots;
|
|
23
|
+
export default class WeekdayChoice extends SvelteComponentTyped<WeekdayChoiceProps_, WeekdayChoiceEvents, WeekdayChoiceSlots> {
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
export interface WeekdayChoiceMultiProps {
|
|
2
3
|
value: Day[];
|
|
3
4
|
onAdd?: (value: Day) => void;
|
|
@@ -10,6 +11,16 @@ export interface WeekdayChoiceMultiProps {
|
|
|
10
11
|
class?: string;
|
|
11
12
|
}
|
|
12
13
|
import type { Day } from '../../../utils/types/arktype.js';
|
|
13
|
-
declare const
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
declare const __propDef: {
|
|
15
|
+
props: Record<string, never>;
|
|
16
|
+
events: {
|
|
17
|
+
[evt: string]: CustomEvent<any>;
|
|
18
|
+
};
|
|
19
|
+
slots: {};
|
|
20
|
+
};
|
|
21
|
+
type WeekdayChoiceMultiProps_ = typeof __propDef.props;
|
|
22
|
+
export type WeekdayChoiceMultiEvents = typeof __propDef.events;
|
|
23
|
+
export type WeekdayChoiceMultiSlots = typeof __propDef.slots;
|
|
24
|
+
export default class WeekdayChoiceMulti extends SvelteComponentTyped<WeekdayChoiceMultiProps_, WeekdayChoiceMultiEvents, WeekdayChoiceMultiSlots> {
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SearchBarProps = typeof __propDef.props;
|
|
10
|
+
export type SearchBarEvents = typeof __propDef.events;
|
|
11
|
+
export type SearchBarSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SearchBar extends SvelteComponentTyped<SearchBarProps, SearchBarEvents, SearchBarSlots> {
|
|
6
13
|
}
|
|
7
|
-
|
|
8
|
-
type SearchBar = ReturnType<typeof SearchBar>;
|
|
9
|
-
export default SearchBar;
|
|
14
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
import { type WithElementRef } from '../../../utils.js';
|
|
2
3
|
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from 'svelte/elements';
|
|
3
4
|
import { type VariantProps } from 'tailwind-variants';
|
|
@@ -55,6 +56,16 @@ export type ButtonProps = WithElementRef<HTMLButtonAttributes> & WithElementRef<
|
|
|
55
56
|
} & {
|
|
56
57
|
loading?: boolean;
|
|
57
58
|
};
|
|
58
|
-
declare const
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
declare const __propDef: {
|
|
60
|
+
props: Record<string, never>;
|
|
61
|
+
events: {
|
|
62
|
+
[evt: string]: CustomEvent<any>;
|
|
63
|
+
};
|
|
64
|
+
slots: {};
|
|
65
|
+
};
|
|
66
|
+
type ButtonProps_ = typeof __propDef.props;
|
|
67
|
+
export type ButtonEvents = typeof __propDef.events;
|
|
68
|
+
export type ButtonSlots = typeof __propDef.slots;
|
|
69
|
+
export default class Button extends SvelteComponentTyped<ButtonProps_, ButtonEvents, ButtonSlots> {
|
|
70
|
+
}
|
|
71
|
+
export {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type InputProps = typeof __propDef.props;
|
|
10
|
+
export type InputEvents = typeof __propDef.events;
|
|
11
|
+
export type InputSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Input extends SvelteComponentTyped<InputProps, InputEvents, InputSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|