@synopackageland/ui 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/LICENSES/THIRD_PARTY.md +1866 -0
- package/README.md +440 -0
- package/dist/components/app/app-action-bar/AppActionBar.vue.d.ts +15 -0
- package/dist/components/app/app-layout/AppLayout.vue.d.ts +26 -0
- package/dist/components/app/app-root/AppRoot.vue.d.ts +20 -0
- package/dist/components/app/app-sidebar/AppSidebar.vue.d.ts +34 -0
- package/dist/components/app/app-toolbar/AppToolbar.vue.d.ts +22 -0
- package/dist/components/app/page-header/PageHeader.vue.d.ts +17 -0
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +16 -0
- package/dist/components/composite/callout/Callout.vue.d.ts +19 -0
- package/dist/components/composite/data-grid/DataGrid.vue.d.ts +126 -0
- package/dist/components/composite/data-grid/columnWidths.d.ts +6 -0
- package/dist/components/composite/data-grid/labels.d.ts +12 -0
- package/dist/components/composite/data-table/DataTable.vue.d.ts +34 -0
- package/dist/components/composite/empty-state/EmptyState.vue.d.ts +19 -0
- package/dist/components/composite/file-picker/FilePicker.vue.d.ts +49 -0
- package/dist/components/composite/search-field/SearchField.vue.d.ts +19 -0
- package/dist/components/composite/settings-row/SettingsRow.vue.d.ts +22 -0
- package/dist/components/composite/settings-section/SettingsSection.vue.d.ts +21 -0
- package/dist/components/composite/tree-view/TreeView.vue.d.ts +44 -0
- package/dist/components/primitives/accordion/Accordion.vue.d.ts +28 -0
- package/dist/components/primitives/badge/Badge.vue.d.ts +18 -0
- package/dist/components/primitives/button/Button.vue.d.ts +28 -0
- package/dist/components/primitives/button/IconButton.vue.d.ts +25 -0
- package/dist/components/primitives/checkbox/Checkbox.vue.d.ts +16 -0
- package/dist/components/primitives/context-menu/ContextMenu.vue.d.ts +26 -0
- package/dist/components/primitives/context-menu/ContextMenuItems.vue.d.ts +13 -0
- package/dist/components/primitives/context-menu/types.d.ts +13 -0
- package/dist/components/primitives/date-picker/DatePicker.vue.d.ts +25 -0
- package/dist/components/primitives/dialog/Dialog.vue.d.ts +44 -0
- package/dist/components/primitives/dropdown-menu/DropdownMenu.vue.d.ts +36 -0
- package/dist/components/primitives/input/Input.vue.d.ts +21 -0
- package/dist/components/primitives/input/Textarea.vue.d.ts +19 -0
- package/dist/components/primitives/loading/LoadingArea.vue.d.ts +8 -0
- package/dist/components/primitives/loading/LoadingIndicator.vue.d.ts +10 -0
- package/dist/components/primitives/loading/LoadingMask.vue.d.ts +20 -0
- package/dist/components/primitives/popover/Popover.vue.d.ts +24 -0
- package/dist/components/primitives/progress/Progress.vue.d.ts +11 -0
- package/dist/components/primitives/radio-group/RadioGroup.vue.d.ts +22 -0
- package/dist/components/primitives/select/Select.vue.d.ts +21 -0
- package/dist/components/primitives/separator/Separator.vue.d.ts +8 -0
- package/dist/components/primitives/sheet/Sheet.vue.d.ts +47 -0
- package/dist/components/primitives/skeleton/Skeleton.vue.d.ts +12 -0
- package/dist/components/primitives/spinner/Spinner.vue.d.ts +10 -0
- package/dist/components/primitives/split-button/SplitButton.vue.d.ts +30 -0
- package/dist/components/primitives/surface/Surface.vue.d.ts +22 -0
- package/dist/components/primitives/switch/Switch.vue.d.ts +15 -0
- package/dist/components/primitives/tabs/Tabs.vue.d.ts +28 -0
- package/dist/components/primitives/toast/ToastProvider.vue.d.ts +21 -0
- package/dist/components/primitives/toast/toast.d.ts +25 -0
- package/dist/components/primitives/tooltip/Tooltip.vue.d.ts +21 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.js +15795 -0
- package/dist/lib/appRoot.d.ts +2 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/localModal.d.ts +44 -0
- package/dist/reka-runtime.json +23 -0
- package/dist/theme.css +1 -0
- package/dist/themes/dsm7-embedded-reset.css +1 -0
- package/dist/themes/dsm7-embedded-theme.css +1 -0
- package/dist/themes/dsm7-embedded.css +1 -0
- package/dist/themes/dsm7.css +1 -0
- package/docs/app-local-modal.md +120 -0
- package/package.json +51 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string | number;
|
|
3
|
+
type?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
invalid?: boolean;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
size: "sm" | "md" | "lg";
|
|
15
|
+
type: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
modelValue: string | number;
|
|
18
|
+
invalid: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
rows?: number;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
modelValue: string;
|
|
15
|
+
invalid: boolean;
|
|
16
|
+
rows: number;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
text: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
label: string;
|
|
7
|
+
text: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
loading?: boolean;
|
|
3
|
+
text?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
text: string;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
3
|
+
align?: 'start' | 'center' | 'end';
|
|
4
|
+
width?: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_14: {}, __VLS_28: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
trigger?: (props: typeof __VLS_14) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_28) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
width: string;
|
|
14
|
+
side: "top" | "right" | "bottom" | "left";
|
|
15
|
+
align: "start" | "center" | "end";
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
value: number;
|
|
8
|
+
max: number;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type RadioOption = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
modelValue?: string;
|
|
9
|
+
options: RadioOption[];
|
|
10
|
+
orientation?: 'vertical' | 'horizontal';
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
orientation: "vertical" | "horizontal";
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type SelectOption = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
options: SelectOption[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
orientation?: 'horizontal' | 'vertical';
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
orientation: "horizontal" | "vertical";
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
type SheetSide = 'left' | 'right' | 'top' | 'bottom';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
defaultOpen?: boolean;
|
|
5
|
+
side?: SheetSide;
|
|
6
|
+
size?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
closeLabel?: string;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_14: {}, __VLS_62: {}, __VLS_64: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
trigger?: (props: typeof __VLS_14) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_62) => any;
|
|
16
|
+
} & {
|
|
17
|
+
footer?: (props: typeof __VLS_64) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:open": (value: boolean) => any;
|
|
21
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
22
|
+
pointerDownOutside: (event: Event) => any;
|
|
23
|
+
interactOutside: (event: Event) => any;
|
|
24
|
+
openAutoFocus: (event: Event) => any;
|
|
25
|
+
closeAutoFocus: (event: Event) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
29
|
+
onPointerDownOutside?: ((event: Event) => any) | undefined;
|
|
30
|
+
onInteractOutside?: ((event: Event) => any) | undefined;
|
|
31
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
32
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
size: string;
|
|
35
|
+
side: SheetSide;
|
|
36
|
+
open: boolean;
|
|
37
|
+
defaultOpen: boolean;
|
|
38
|
+
closeLabel: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
width?: string;
|
|
3
|
+
height?: string;
|
|
4
|
+
radius?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
height: string;
|
|
8
|
+
width: string;
|
|
9
|
+
radius: string;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
size?: number;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
label: string;
|
|
7
|
+
size: number;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DropdownMenuEntry } from '../dropdown-menu/DropdownMenu.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: DropdownMenuEntry[];
|
|
4
|
+
variant?: 'secondary' | 'primary';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
menuLabel?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
select: (key: string) => any;
|
|
14
|
+
click: (event: MouseEvent) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
17
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
variant: "secondary" | "primary";
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
menuLabel: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
3
|
+
border?: boolean;
|
|
4
|
+
raised?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
padding: "none" | "sm" | "md" | "lg";
|
|
12
|
+
border: boolean;
|
|
13
|
+
raised: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
modelValue: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type TabItem = {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
modelValue: string;
|
|
8
|
+
items: TabItem[];
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_29: `panel-${string}`, __VLS_30: {
|
|
11
|
+
item: TabItem;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
[K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ToastController } from './toast';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
duration?: number;
|
|
4
|
+
swipeDirection?: 'right' | 'left' | 'up' | 'down';
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, ToastController, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
duration: number;
|
|
12
|
+
swipeDirection: "right" | "left" | "up" | "down";
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
export type ToastTone = 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
+
export type ToastOptions = {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
tone?: ToastTone;
|
|
7
|
+
duration?: number;
|
|
8
|
+
actionLabel?: string;
|
|
9
|
+
onAction?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export type ToastMessage = ToastOptions & {
|
|
12
|
+
id: number;
|
|
13
|
+
open: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type ToastController = {
|
|
16
|
+
show: (options: ToastOptions | string) => number;
|
|
17
|
+
dismiss: (id: number) => void;
|
|
18
|
+
clear: () => void;
|
|
19
|
+
info: (title: string, description?: string) => number;
|
|
20
|
+
success: (title: string, description?: string) => number;
|
|
21
|
+
warning: (title: string, description?: string) => number;
|
|
22
|
+
danger: (title: string, description?: string) => number;
|
|
23
|
+
};
|
|
24
|
+
export declare const toastControllerKey: InjectionKey<ToastController>;
|
|
25
|
+
export declare function useToast(): ToastController;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
content: string;
|
|
3
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
+
delay?: number;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_20: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_20) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
side: "top" | "right" | "bottom" | "left";
|
|
12
|
+
delay: number;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export { default as Button } from './components/primitives/button/Button.vue';
|
|
2
|
+
export { default as IconButton } from './components/primitives/button/IconButton.vue';
|
|
3
|
+
export { default as Input } from './components/primitives/input/Input.vue';
|
|
4
|
+
export { default as Textarea } from './components/primitives/input/Textarea.vue';
|
|
5
|
+
export { default as Checkbox } from './components/primitives/checkbox/Checkbox.vue';
|
|
6
|
+
export { default as Switch } from './components/primitives/switch/Switch.vue';
|
|
7
|
+
export { default as RadioGroup } from './components/primitives/radio-group/RadioGroup.vue';
|
|
8
|
+
export type { RadioOption } from './components/primitives/radio-group/RadioGroup.vue';
|
|
9
|
+
export { default as Select } from './components/primitives/select/Select.vue';
|
|
10
|
+
export type { SelectOption } from './components/primitives/select/Select.vue';
|
|
11
|
+
export { default as Badge } from './components/primitives/badge/Badge.vue';
|
|
12
|
+
export { default as Separator } from './components/primitives/separator/Separator.vue';
|
|
13
|
+
export { default as Spinner } from './components/primitives/spinner/Spinner.vue';
|
|
14
|
+
export { default as LoadingMask } from './components/primitives/loading/LoadingMask.vue';
|
|
15
|
+
export { default as LoadingArea } from './components/primitives/loading/LoadingArea.vue';
|
|
16
|
+
export { default as LoadingIndicator } from './components/primitives/loading/LoadingIndicator.vue';
|
|
17
|
+
export { default as Progress } from './components/primitives/progress/Progress.vue';
|
|
18
|
+
export { default as Skeleton } from './components/primitives/skeleton/Skeleton.vue';
|
|
19
|
+
export { default as Surface } from './components/primitives/surface/Surface.vue';
|
|
20
|
+
export { default as Tooltip } from './components/primitives/tooltip/Tooltip.vue';
|
|
21
|
+
export { default as Popover } from './components/primitives/popover/Popover.vue';
|
|
22
|
+
export { default as DropdownMenu } from './components/primitives/dropdown-menu/DropdownMenu.vue';
|
|
23
|
+
export type { DropdownMenuEntry } from './components/primitives/dropdown-menu/DropdownMenu.vue';
|
|
24
|
+
export { default as SplitButton } from './components/primitives/split-button/SplitButton.vue';
|
|
25
|
+
export { default as ContextMenu } from './components/primitives/context-menu/ContextMenu.vue';
|
|
26
|
+
export type { ContextMenuEntry } from './components/primitives/context-menu/types';
|
|
27
|
+
export { default as Dialog } from './components/primitives/dialog/Dialog.vue';
|
|
28
|
+
export { default as Sheet, default as Drawer } from './components/primitives/sheet/Sheet.vue';
|
|
29
|
+
export { default as DatePicker } from './components/primitives/date-picker/DatePicker.vue';
|
|
30
|
+
export { default as ToastProvider } from './components/primitives/toast/ToastProvider.vue';
|
|
31
|
+
export { useToast } from './components/primitives/toast/toast';
|
|
32
|
+
export type { ToastController, ToastMessage, ToastOptions, ToastTone } from './components/primitives/toast/toast';
|
|
33
|
+
export { default as Tabs } from './components/primitives/tabs/Tabs.vue';
|
|
34
|
+
export type { TabItem } from './components/primitives/tabs/Tabs.vue';
|
|
35
|
+
export { default as Accordion } from './components/primitives/accordion/Accordion.vue';
|
|
36
|
+
export type { AccordionEntry } from './components/primitives/accordion/Accordion.vue';
|
|
37
|
+
export { default as SearchField } from './components/composite/search-field/SearchField.vue';
|
|
38
|
+
export { default as SettingsRow } from './components/composite/settings-row/SettingsRow.vue';
|
|
39
|
+
export { default as SettingsSection } from './components/composite/settings-section/SettingsSection.vue';
|
|
40
|
+
export { default as Callout } from './components/composite/callout/Callout.vue';
|
|
41
|
+
export { default as EmptyState } from './components/composite/empty-state/EmptyState.vue';
|
|
42
|
+
export { default as DataTable } from './components/composite/data-table/DataTable.vue';
|
|
43
|
+
export type { DataTableColumn } from './components/composite/data-table/DataTable.vue';
|
|
44
|
+
export { default as DataGrid } from './components/composite/data-grid/DataGrid.vue';
|
|
45
|
+
export type { DataGridColumn, DataGridColumnWidths, DataGridLabels, DataGridSort } from './components/composite/data-grid/DataGrid.vue';
|
|
46
|
+
export { default as TreeView } from './components/composite/tree-view/TreeView.vue';
|
|
47
|
+
export type { TreeNode } from './components/composite/tree-view/TreeView.vue';
|
|
48
|
+
export { default as FilePicker } from './components/composite/file-picker/FilePicker.vue';
|
|
49
|
+
export type { FileRejection } from './components/composite/file-picker/FilePicker.vue';
|
|
50
|
+
export { default as AppRoot } from './components/app/app-root/AppRoot.vue';
|
|
51
|
+
export { APP_ROOT_ATTRIBUTE, APP_ROOT_SELECTOR } from './lib/appRoot';
|
|
52
|
+
export { default as AppLayout } from './components/app/app-layout/AppLayout.vue';
|
|
53
|
+
export { default as AppSidebar } from './components/app/app-sidebar/AppSidebar.vue';
|
|
54
|
+
export type { AppSidebarGroup, AppSidebarItem } from './components/app/app-sidebar/AppSidebar.vue';
|
|
55
|
+
export { default as AppToolbar } from './components/app/app-toolbar/AppToolbar.vue';
|
|
56
|
+
export { default as AppActionBar } from './components/app/app-action-bar/AppActionBar.vue';
|
|
57
|
+
export { default as PageHeader } from './components/app/page-header/PageHeader.vue';
|
|
58
|
+
export { default as SectionTabs } from './components/app/section-tabs/SectionTabs.vue';
|
|
59
|
+
export type { SectionTab } from './components/app/section-tabs/SectionTabs.vue';
|