poe-svelte-ui-lib 0.3.0 → 1.0.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/dist/Accordion/Accordion.svelte.d.ts +4 -14
- package/dist/Accordion/AccordionProps.svelte.d.ts +8 -12
- package/dist/Button/Button.svelte +31 -1
- package/dist/Button/Button.svelte.d.ts +36 -13
- package/dist/Button/ButtonProps.svelte.d.ts +8 -12
- package/dist/ColorPicker/ColorPicker.svelte.d.ts +4 -14
- package/dist/ColorPicker/ColorPickerProps.svelte.d.ts +8 -12
- package/dist/FileAttach/FileAttach.svelte.d.ts +20 -12
- package/dist/Graph/Graph.svelte.d.ts +4 -14
- package/dist/Graph/GraphProps.svelte.d.ts +8 -12
- package/dist/Input/Input.svelte.d.ts +4 -14
- package/dist/Input/InputProps.svelte.d.ts +8 -12
- package/dist/Loader.svelte.d.ts +5 -14
- package/dist/MessageModal.svelte.d.ts +8 -12
- package/dist/ProgressBar/ProgressBar.svelte.d.ts +4 -14
- package/dist/ProgressBar/ProgressBarProps.svelte.d.ts +8 -12
- package/dist/Select/Select.svelte +6 -2
- package/dist/Select/Select.svelte.d.ts +14 -10
- package/dist/Select/SelectProps.svelte.d.ts +8 -12
- package/dist/Slider/Slider.svelte.d.ts +4 -14
- package/dist/Slider/SliderProps.svelte.d.ts +8 -12
- package/dist/Switch/Switch.svelte.d.ts +4 -14
- package/dist/Switch/SwitchProps.svelte.d.ts +8 -12
- package/dist/Table/Table.svelte.d.ts +4 -14
- package/dist/Table/TableProps.svelte.d.ts +8 -12
- package/dist/TextField/TextField.svelte.d.ts +4 -14
- package/dist/TextField/TextFieldProps.svelte.d.ts +8 -12
- package/dist/appIcons/ButtonAdd.svelte.d.ts +16 -12
- package/dist/appIcons/ButtonDelete.svelte.d.ts +16 -12
- package/dist/appIcons/LoaderRotate.svelte.d.ts +16 -12
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/locales/CircleFlagsEn.svelte.d.ts +22 -19
- package/dist/locales/CircleFlagsRu.svelte.d.ts +22 -19
- package/dist/locales/CircleFlagsZh.svelte.d.ts +22 -19
- package/package.json +12 -9
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type AccordionProps = typeof __propDef.props;
|
|
10
|
-
export type AccordionEvents = typeof __propDef.events;
|
|
11
|
-
export type AccordionSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Accordion extends SvelteComponentTyped<AccordionProps, AccordionEvents, AccordionSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { IAccordionProps } from '../types';
|
|
2
|
+
declare const Accordion: import("svelte").Component<IAccordionProps, {}, "">;
|
|
3
|
+
type Accordion = ReturnType<typeof Accordion>;
|
|
4
|
+
export default Accordion;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { IAccordionProps, UIComponent } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<IAccordionProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class AccordionProps extends SvelteComponentTyped<AccordionPropsProps, AccordionPropsEvents, AccordionPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const AccordionProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type AccordionProps = ReturnType<typeof AccordionProps>;
|
|
10
|
+
export default AccordionProps;
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
<!-- $lib/ElementsUI/Button.svelte -->
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
import { onMount } from 'svelte'
|
|
4
|
-
import { type IButtonProps } from '../types'
|
|
4
|
+
// import { type IButtonProps } from '../types'
|
|
5
5
|
import { fly } from 'svelte/transition'
|
|
6
6
|
|
|
7
|
+
interface IUIComponentHandler {
|
|
8
|
+
Header?: string
|
|
9
|
+
Argument?: string
|
|
10
|
+
Value?: string
|
|
11
|
+
Variables?: string[]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface IButtonProps {
|
|
15
|
+
id?: { value?: string; name?: string }
|
|
16
|
+
wrapperClass?: string
|
|
17
|
+
label?: { name?: string; class?: string }
|
|
18
|
+
componentClass?: string
|
|
19
|
+
name?: string
|
|
20
|
+
icon?: {
|
|
21
|
+
component?: ConstructorOfATypedSvelteComponent | null
|
|
22
|
+
properties?: Record<string, unknown>
|
|
23
|
+
}
|
|
24
|
+
info?: string
|
|
25
|
+
keyBind?: {
|
|
26
|
+
key?: string
|
|
27
|
+
ctrlKey?: boolean
|
|
28
|
+
shiftKey?: boolean
|
|
29
|
+
altKey?: boolean
|
|
30
|
+
metaKey?: boolean /* Поддержка Meta (Cmd на Mac) */
|
|
31
|
+
}
|
|
32
|
+
disabled?: boolean
|
|
33
|
+
eventHandler?: IUIComponentHandler
|
|
34
|
+
onClick?: () => void
|
|
35
|
+
}
|
|
36
|
+
|
|
7
37
|
let {
|
|
8
38
|
id = { value: crypto.randomUUID(), name: '' },
|
|
9
39
|
wrapperClass = 'bg-blue',
|
|
@@ -1,14 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type ButtonProps = typeof __propDef.props;
|
|
10
|
-
export type ButtonEvents = typeof __propDef.events;
|
|
11
|
-
export type ButtonSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
|
|
1
|
+
interface IUIComponentHandler {
|
|
2
|
+
Header?: string;
|
|
3
|
+
Argument?: string;
|
|
4
|
+
Value?: string;
|
|
5
|
+
Variables?: string[];
|
|
13
6
|
}
|
|
14
|
-
|
|
7
|
+
interface IButtonProps {
|
|
8
|
+
id?: {
|
|
9
|
+
value?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
};
|
|
12
|
+
wrapperClass?: string;
|
|
13
|
+
label?: {
|
|
14
|
+
name?: string;
|
|
15
|
+
class?: string;
|
|
16
|
+
};
|
|
17
|
+
componentClass?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
icon?: {
|
|
20
|
+
component?: ConstructorOfATypedSvelteComponent | null;
|
|
21
|
+
properties?: Record<string, unknown>;
|
|
22
|
+
};
|
|
23
|
+
info?: string;
|
|
24
|
+
keyBind?: {
|
|
25
|
+
key?: string;
|
|
26
|
+
ctrlKey?: boolean;
|
|
27
|
+
shiftKey?: boolean;
|
|
28
|
+
altKey?: boolean;
|
|
29
|
+
metaKey?: boolean;
|
|
30
|
+
};
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
eventHandler?: IUIComponentHandler;
|
|
33
|
+
onClick?: () => void;
|
|
34
|
+
}
|
|
35
|
+
declare const Button: import("svelte").Component<IButtonProps, {}, "">;
|
|
36
|
+
type Button = ReturnType<typeof Button>;
|
|
37
|
+
export default Button;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, IButtonProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<IButtonProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class ButtonProps extends SvelteComponentTyped<ButtonPropsProps, ButtonPropsEvents, ButtonPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const ButtonProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type ButtonProps = ReturnType<typeof ButtonProps>;
|
|
10
|
+
export default ButtonProps;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type ColorPickerProps = typeof __propDef.props;
|
|
10
|
-
export type ColorPickerEvents = typeof __propDef.events;
|
|
11
|
-
export type ColorPickerSlots = typeof __propDef.slots;
|
|
12
|
-
export default class ColorPicker extends SvelteComponentTyped<ColorPickerProps, ColorPickerEvents, ColorPickerSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { IColorPickerProps } from '../types';
|
|
2
|
+
declare const ColorPicker: import("svelte").Component<IColorPickerProps, {}, "">;
|
|
3
|
+
type ColorPicker = ReturnType<typeof ColorPicker>;
|
|
4
|
+
export default ColorPicker;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, IColorPickerProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<IColorPickerProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class ColorPickerProps extends SvelteComponentTyped<ColorPickerPropsProps, ColorPickerPropsEvents, ColorPickerPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const ColorPickerProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type ColorPickerProps = ReturnType<typeof ColorPickerProps>;
|
|
10
|
+
export default ColorPickerProps;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
interface FileInputProps {
|
|
2
|
+
id?: string;
|
|
3
|
+
wrapperClass?: string;
|
|
4
|
+
label?: {
|
|
5
|
+
name?: string;
|
|
6
|
+
class?: string;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
type?: 'file' | 'image';
|
|
9
|
+
accept?: string;
|
|
10
|
+
imageSize?: {
|
|
11
|
+
height?: string;
|
|
12
|
+
width?: string;
|
|
13
|
+
fitMode?: 'cover' | 'contain';
|
|
14
|
+
form?: 'square' | 'circle';
|
|
15
|
+
};
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
currentImage?: string | null;
|
|
18
|
+
onChange?: (event: Event, file: File | null) => void;
|
|
13
19
|
}
|
|
14
|
-
|
|
20
|
+
declare const FileAttach: import("svelte").Component<FileInputProps, {}, "">;
|
|
21
|
+
type FileAttach = ReturnType<typeof FileAttach>;
|
|
22
|
+
export default FileAttach;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type GraphProps = typeof __propDef.props;
|
|
10
|
-
export type GraphEvents = typeof __propDef.events;
|
|
11
|
-
export type GraphSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Graph extends SvelteComponentTyped<GraphProps, GraphEvents, GraphSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { IGraphProps } from '../types';
|
|
2
|
+
declare const Graph: import("svelte").Component<IGraphProps, {}, "">;
|
|
3
|
+
type Graph = ReturnType<typeof Graph>;
|
|
4
|
+
export default Graph;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, IGraphProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<IGraphProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class GraphProps extends SvelteComponentTyped<GraphPropsProps, GraphPropsEvents, GraphPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const GraphProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type GraphProps = ReturnType<typeof GraphProps>;
|
|
10
|
+
export default GraphProps;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
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 {};
|
|
1
|
+
import type { IInputProps } from '../types';
|
|
2
|
+
declare const Input: import("svelte").Component<IInputProps, {}, "value">;
|
|
3
|
+
type Input = ReturnType<typeof Input>;
|
|
4
|
+
export default Input;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { IInputProps, UIComponent } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<IInputProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class InputProps extends SvelteComponentTyped<InputPropsProps, InputPropsEvents, InputPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const InputProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type InputProps = ReturnType<typeof InputProps>;
|
|
10
|
+
export default InputProps;
|
package/dist/Loader.svelte.d.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type LoaderProps = typeof __propDef.props;
|
|
10
|
-
export type LoaderEvents = typeof __propDef.events;
|
|
11
|
-
export type LoaderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Loader extends SvelteComponentTyped<LoaderProps, LoaderEvents, LoaderSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
declare const Loader: import("svelte").Component<{
|
|
2
|
+
show?: boolean;
|
|
3
|
+
}, {}, "">;
|
|
4
|
+
type Loader = ReturnType<typeof Loader>;
|
|
5
|
+
export default Loader;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
interface Props {
|
|
2
|
+
message: {
|
|
3
|
+
id: number;
|
|
4
|
+
text: string;
|
|
6
5
|
};
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type MessageModalProps = typeof __propDef.props;
|
|
10
|
-
export type MessageModalEvents = typeof __propDef.events;
|
|
11
|
-
export type MessageModalSlots = typeof __propDef.slots;
|
|
12
|
-
export default class MessageModal extends SvelteComponentTyped<MessageModalProps, MessageModalEvents, MessageModalSlots> {
|
|
6
|
+
onCLick: (messageId: number) => {};
|
|
13
7
|
}
|
|
14
|
-
|
|
8
|
+
declare const MessageModal: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type MessageModal = ReturnType<typeof MessageModal>;
|
|
10
|
+
export default MessageModal;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type ProgressBarProps = typeof __propDef.props;
|
|
10
|
-
export type ProgressBarEvents = typeof __propDef.events;
|
|
11
|
-
export type ProgressBarSlots = typeof __propDef.slots;
|
|
12
|
-
export default class ProgressBar extends SvelteComponentTyped<ProgressBarProps, ProgressBarEvents, ProgressBarSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { IProgressBarProps } from '../types';
|
|
2
|
+
declare const ProgressBar: import("svelte").Component<IProgressBarProps, {}, "value">;
|
|
3
|
+
type ProgressBar = ReturnType<typeof ProgressBar>;
|
|
4
|
+
export default ProgressBar;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, IProgressBarProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<IProgressBarProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class ProgressBarProps extends SvelteComponentTyped<ProgressBarPropsProps, ProgressBarPropsEvents, ProgressBarPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const ProgressBarProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type ProgressBarProps = ReturnType<typeof ProgressBarProps>;
|
|
10
|
+
export default ProgressBarProps;
|
|
@@ -30,9 +30,10 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
onMount(() => {
|
|
33
|
-
if (type === 'select') document.addEventListener('click', handleClickOutside)
|
|
33
|
+
if (type === 'select' || type === 'input') document.addEventListener('click', handleClickOutside)
|
|
34
|
+
if (type === 'input') searchValue = value?.name ?? ''
|
|
34
35
|
return () => {
|
|
35
|
-
if (type === 'select') document.removeEventListener('click', handleClickOutside)
|
|
36
|
+
if (type === 'select' || type === 'input') document.removeEventListener('click', handleClickOutside)
|
|
36
37
|
}
|
|
37
38
|
})
|
|
38
39
|
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
event.stopPropagation()
|
|
41
42
|
if (!disabled) {
|
|
42
43
|
isDropdownOpen = !isDropdownOpen
|
|
44
|
+
filteredOptions = []
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
|
|
@@ -48,6 +50,8 @@
|
|
|
48
50
|
if (!disabled) {
|
|
49
51
|
value = option
|
|
50
52
|
isDropdownOpen = false
|
|
53
|
+
searchValue = option.name?.toString() ?? ''
|
|
54
|
+
filteredOptions = []
|
|
51
55
|
onUpdate?.(value)
|
|
52
56
|
}
|
|
53
57
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ISelectProps } from '../types';
|
|
2
2
|
declare class __sveltets_Render<T = unknown> {
|
|
3
|
-
props():
|
|
4
|
-
events(): {}
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
3
|
+
props(): ISelectProps<T>;
|
|
4
|
+
events(): {};
|
|
7
5
|
slots(): {};
|
|
6
|
+
bindings(): "value";
|
|
7
|
+
exports(): {};
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
interface $$IsomorphicComponent {
|
|
10
|
+
new <T = unknown>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
|
|
11
|
+
$$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
|
|
12
|
+
} & ReturnType<__sveltets_Render<T>['exports']>;
|
|
13
|
+
<T = unknown>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {}): ReturnType<__sveltets_Render<T>['exports']>;
|
|
14
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
13
15
|
}
|
|
14
|
-
|
|
16
|
+
declare const Select: $$IsomorphicComponent;
|
|
17
|
+
type Select<T = unknown> = InstanceType<typeof Select<T>>;
|
|
18
|
+
export default Select;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, ISelectProps } from '../types.js';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<ISelectProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (path: string, value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class SelectProps extends SvelteComponentTyped<SelectPropsProps, SelectPropsEvents, SelectPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const SelectProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type SelectProps = ReturnType<typeof SelectProps>;
|
|
10
|
+
export default SelectProps;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type SliderProps = typeof __propDef.props;
|
|
10
|
-
export type SliderEvents = typeof __propDef.events;
|
|
11
|
-
export type SliderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Slider extends SvelteComponentTyped<SliderProps, SliderEvents, SliderSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { ISliderProps } from '../types';
|
|
2
|
+
declare const Slider: import("svelte").Component<ISliderProps, {}, "">;
|
|
3
|
+
type Slider = ReturnType<typeof Slider>;
|
|
4
|
+
export default Slider;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, ISliderProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<ISliderProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class SliderProps extends SvelteComponentTyped<SliderPropsProps, SliderPropsEvents, SliderPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const SliderProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type SliderProps = ReturnType<typeof SliderProps>;
|
|
10
|
+
export default SliderProps;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type SwitchProps = typeof __propDef.props;
|
|
10
|
-
export type SwitchEvents = typeof __propDef.events;
|
|
11
|
-
export type SwitchSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Switch extends SvelteComponentTyped<SwitchProps, SwitchEvents, SwitchSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { ISwitchProps } from '../types';
|
|
2
|
+
declare const Switch: import("svelte").Component<ISwitchProps, {}, "value">;
|
|
3
|
+
type Switch = ReturnType<typeof Switch>;
|
|
4
|
+
export default Switch;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, ISwitchProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<ISwitchProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class SwitchProps extends SvelteComponentTyped<SwitchPropsProps, SwitchPropsEvents, SwitchPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const SwitchProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type SwitchProps = ReturnType<typeof SwitchProps>;
|
|
10
|
+
export default SwitchProps;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type TableProps = typeof __propDef.props;
|
|
10
|
-
export type TableEvents = typeof __propDef.events;
|
|
11
|
-
export type TableSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Table extends SvelteComponentTyped<TableProps, TableEvents, TableSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { ITableProps } from '../types';
|
|
2
|
+
declare const Table: import("svelte").Component<ITableProps<any>, {}, "modalData">;
|
|
3
|
+
type Table = ReturnType<typeof Table>;
|
|
4
|
+
export default Table;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { UIComponent, ITableProps } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<ITableProps<object>>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class TableProps extends SvelteComponentTyped<TablePropsProps, TablePropsEvents, TablePropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const TableProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type TableProps = ReturnType<typeof TableProps>;
|
|
10
|
+
export default TableProps;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type TextFieldProps = typeof __propDef.props;
|
|
10
|
-
export type TextFieldEvents = typeof __propDef.events;
|
|
11
|
-
export type TextFieldSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TextField extends SvelteComponentTyped<TextFieldProps, TextFieldEvents, TextFieldSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import type { ITextFieldProps } from '../types';
|
|
2
|
+
declare const TextField: import("svelte").Component<ITextFieldProps, {}, "">;
|
|
3
|
+
type TextField = ReturnType<typeof TextField>;
|
|
4
|
+
export default TextField;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
1
|
+
import type { ITextFieldProps, UIComponent } from '../types';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
component: UIComponent & {
|
|
4
|
+
properties: Partial<ITextFieldProps>;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
onPropertyChange: (value: string | object) => void;
|
|
8
7
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class TextFieldProps extends SvelteComponentTyped<TextFieldPropsProps, TextFieldPropsEvents, TextFieldPropsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
8
|
+
declare const TextFieldProps: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
+
type TextFieldProps = ReturnType<typeof TextFieldProps>;
|
|
10
|
+
export default TextFieldProps;
|
|
@@ -1,14 +1,18 @@
|
|
|
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: {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type ButtonAddProps = typeof __propDef.props;
|
|
10
|
-
export type ButtonAddEvents = typeof __propDef.events;
|
|
11
|
-
export type ButtonAddSlots = typeof __propDef.slots;
|
|
12
|
-
export default class ButtonAdd extends SvelteComponentTyped<ButtonAddProps, ButtonAddEvents, ButtonAddSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
declare const ButtonAdd: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {}, {}, string>;
|
|
17
|
+
type ButtonAdd = InstanceType<typeof ButtonAdd>;
|
|
18
|
+
export default ButtonAdd;
|
|
@@ -1,14 +1,18 @@
|
|
|
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: {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type ButtonDeleteProps = typeof __propDef.props;
|
|
10
|
-
export type ButtonDeleteEvents = typeof __propDef.events;
|
|
11
|
-
export type ButtonDeleteSlots = typeof __propDef.slots;
|
|
12
|
-
export default class ButtonDelete extends SvelteComponentTyped<ButtonDeleteProps, ButtonDeleteEvents, ButtonDeleteSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
declare const ButtonDelete: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {}, {}, string>;
|
|
17
|
+
type ButtonDelete = InstanceType<typeof ButtonDelete>;
|
|
18
|
+
export default ButtonDelete;
|
|
@@ -1,14 +1,18 @@
|
|
|
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: {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type LoaderRotateProps = typeof __propDef.props;
|
|
10
|
-
export type LoaderRotateEvents = typeof __propDef.events;
|
|
11
|
-
export type LoaderRotateSlots = typeof __propDef.slots;
|
|
12
|
-
export default class LoaderRotate extends SvelteComponentTyped<LoaderRotateProps, LoaderRotateEvents, LoaderRotateSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
declare const LoaderRotate: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {}, {}, string>;
|
|
17
|
+
type LoaderRotate = InstanceType<typeof LoaderRotate>;
|
|
18
|
+
export default LoaderRotate;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,3 +23,4 @@ export { default as TextField } from './TextField/TextField.svelte';
|
|
|
23
23
|
export { default as TextFieldProps } from './TextField/TextFieldProps.svelte';
|
|
24
24
|
export { default as Loader } from './Loader.svelte';
|
|
25
25
|
export { default as MessageModal } from './MessageModal.svelte';
|
|
26
|
+
export { type UIComponent, type Position, type IUIComponentHandler, type IButtonProps, type IAccordionProps, type IInputProps, type ISelectProps, type ISelectOption, type ISwitchProps, type IColorPickerProps, type ISliderProps, type ITextFieldProps, type IProgressBarProps, type IGraphProps, type IGraphDataObject, type ITableHeader, type ITableProps, } from './types';
|
package/dist/index.js
CHANGED
|
@@ -24,3 +24,4 @@ export { default as TextField } from './TextField/TextField.svelte';
|
|
|
24
24
|
export { default as TextFieldProps } from './TextField/TextFieldProps.svelte';
|
|
25
25
|
export { default as Loader } from './Loader.svelte';
|
|
26
26
|
export { default as MessageModal } from './MessageModal.svelte';
|
|
27
|
+
export {} from './types';
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} CircleFlagsEnSlots */
|
|
4
|
-
export default class CircleFlagsEn extends SvelteComponentTyped<{
|
|
1
|
+
export default CircleFlagsEn;
|
|
2
|
+
type CircleFlagsEn = SvelteComponent<{
|
|
5
3
|
[x: string]: never;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type CircleFlagsEnProps = typeof __propDef.props;
|
|
11
|
-
export type CircleFlagsEnEvents = typeof __propDef.events;
|
|
12
|
-
export type CircleFlagsEnSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponentTyped } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
[x: string]: never;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const CircleFlagsEn: $$__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,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} CircleFlagsRuSlots */
|
|
4
|
-
export default class CircleFlagsRu extends SvelteComponentTyped<{
|
|
1
|
+
export default CircleFlagsRu;
|
|
2
|
+
type CircleFlagsRu = SvelteComponent<{
|
|
5
3
|
[x: string]: never;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type CircleFlagsRuProps = typeof __propDef.props;
|
|
11
|
-
export type CircleFlagsRuEvents = typeof __propDef.events;
|
|
12
|
-
export type CircleFlagsRuSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponentTyped } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
[x: string]: never;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const CircleFlagsRu: $$__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,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} CircleFlagsZhSlots */
|
|
4
|
-
export default class CircleFlagsZh extends SvelteComponentTyped<{
|
|
1
|
+
export default CircleFlagsZh;
|
|
2
|
+
type CircleFlagsZh = SvelteComponent<{
|
|
5
3
|
[x: string]: never;
|
|
6
4
|
}, {
|
|
7
5
|
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
|
|
10
|
-
export type CircleFlagsZhProps = typeof __propDef.props;
|
|
11
|
-
export type CircleFlagsZhEvents = typeof __propDef.events;
|
|
12
|
-
export type CircleFlagsZhSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponentTyped } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
[x: string]: never;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
22
8
|
};
|
|
23
|
-
|
|
9
|
+
declare const CircleFlagsZh: $$__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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "poe-svelte-ui-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"svelte": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
5
|
"type": "module",
|
|
8
6
|
"scripts": {
|
|
9
7
|
"dev": "vite dev",
|
|
@@ -12,6 +10,14 @@
|
|
|
12
10
|
"prepack": "svelte-kit sync && npm run package",
|
|
13
11
|
"CheckUpdate": "npx npm-check-updates -u && npm install"
|
|
14
12
|
},
|
|
13
|
+
"svelte": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"svelte": "./dist/index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
15
21
|
"files": [
|
|
16
22
|
"dist"
|
|
17
23
|
],
|
|
@@ -21,6 +27,9 @@
|
|
|
21
27
|
"components",
|
|
22
28
|
"runes"
|
|
23
29
|
],
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"svelte": "^5.0.0"
|
|
32
|
+
},
|
|
24
33
|
"dependencies": {
|
|
25
34
|
"@sveltejs/adapter-auto": "^6.1.0",
|
|
26
35
|
"@tailwindcss/vite": "^4.1.13",
|
|
@@ -34,11 +43,5 @@
|
|
|
34
43
|
"svelte": "^5.39.6",
|
|
35
44
|
"svelte-preprocess": "^6.0.3",
|
|
36
45
|
"vite": "^7.1.7"
|
|
37
|
-
},
|
|
38
|
-
"exports": {
|
|
39
|
-
".": {
|
|
40
|
-
"types": "./dist/index.d.ts",
|
|
41
|
-
"svelte": "./dist/index.js"
|
|
42
|
-
}
|
|
43
46
|
}
|
|
44
47
|
}
|