@reinosoft-ui/core 0.1.4 → 0.1.5

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.
Files changed (120) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +79 -0
  2. package/dist/components/Autocomplete/Autocomplete.d.ts +24 -0
  3. package/dist/components/Autocomplete/Autocomplete.vue.d.ts +37 -0
  4. package/dist/components/Avatar/Avatar.vue.d.ts +17 -0
  5. package/dist/components/Avatar/types.d.ts +8 -0
  6. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +16 -0
  7. package/dist/components/Breadcrumb/types.d.ts +11 -0
  8. package/dist/components/Button/Button.vue.d.ts +15 -0
  9. package/dist/components/Button/index.d.ts +3 -0
  10. package/dist/components/Card/Card.vue.d.ts +24 -0
  11. package/dist/components/Card/CardBody.vue.d.ts +13 -0
  12. package/dist/components/Card/CardFooter.vue.d.ts +18 -0
  13. package/dist/components/Card/CardHeader.vue.d.ts +18 -0
  14. package/dist/components/Card/index.d.ts +10 -0
  15. package/dist/components/Carousel/Carousel.vue.d.ts +31 -0
  16. package/dist/components/Carousel/CarouselItem.vue.d.ts +13 -0
  17. package/dist/components/Carousel/index.d.ts +8 -0
  18. package/dist/components/Carousel/types.d.ts +9 -0
  19. package/dist/components/Dropdown/Dropdown.vue.d.ts +13 -0
  20. package/dist/components/Dropdown/DropdownItem.vue.d.ts +13 -0
  21. package/dist/components/Dropdown/DropdownMenu.vue.d.ts +13 -0
  22. package/dist/components/Dropdown/DropdownTrigger.vue.d.ts +13 -0
  23. package/dist/components/Dropdown/index.d.ts +10 -0
  24. package/dist/components/Dropdown/types.d.ts +16 -0
  25. package/dist/components/Editor/Editor.vue.d.ts +16 -0
  26. package/dist/components/Editor/EditorContent.vue.d.ts +11 -0
  27. package/dist/components/Editor/FloatingToolbar.vue.d.ts +12 -0
  28. package/dist/components/Editor/editorBlocks.d.ts +11 -0
  29. package/dist/components/Editor/index.d.ts +3 -0
  30. package/dist/components/Editor/types.d.ts +12 -0
  31. package/dist/components/Editor/useEditor.d.ts +23 -0
  32. package/dist/components/Highlight/Highlight.vue.d.ts +7 -0
  33. package/dist/components/Icon/Icon.vue.d.ts +8 -0
  34. package/dist/components/Icon/icons/bold.d.ts +2 -0
  35. package/dist/components/Icon/icons/clock.d.ts +2 -0
  36. package/dist/components/Icon/icons/close.d.ts +2 -0
  37. package/dist/components/Icon/icons/closeSolid.d.ts +2 -0
  38. package/dist/components/Icon/icons/directionDown.d.ts +2 -0
  39. package/dist/components/Icon/icons/disk.d.ts +2 -0
  40. package/dist/components/Icon/icons/edit.d.ts +2 -0
  41. package/dist/components/Icon/icons/eye-off.d.ts +2 -0
  42. package/dist/components/Icon/icons/eye.d.ts +2 -0
  43. package/dist/components/Icon/icons/head.d.ts +2 -0
  44. package/dist/components/Icon/icons/home.d.ts +2 -0
  45. package/dist/components/Icon/icons/image.d.ts +2 -0
  46. package/dist/components/Icon/icons/index.d.ts +39 -0
  47. package/dist/components/Icon/icons/info.d.ts +2 -0
  48. package/dist/components/Icon/icons/italic.d.ts +2 -0
  49. package/dist/components/Icon/icons/link.d.ts +2 -0
  50. package/dist/components/Icon/icons/loading.d.ts +2 -0
  51. package/dist/components/Icon/icons/location.d.ts +2 -0
  52. package/dist/components/Icon/icons/login.d.ts +2 -0
  53. package/dist/components/Icon/icons/logout.d.ts +2 -0
  54. package/dist/components/Icon/icons/oList.d.ts +2 -0
  55. package/dist/components/Icon/icons/profile.d.ts +2 -0
  56. package/dist/components/Icon/icons/search.d.ts +2 -0
  57. package/dist/components/Icon/icons/shopping-bag.d.ts +2 -0
  58. package/dist/components/Icon/icons/shopping-basket.d.ts +2 -0
  59. package/dist/components/Icon/icons/sort.d.ts +2 -0
  60. package/dist/components/Icon/icons/sortAsc.d.ts +2 -0
  61. package/dist/components/Icon/icons/sortDesc.d.ts +2 -0
  62. package/dist/components/Icon/icons/star.d.ts +2 -0
  63. package/dist/components/Icon/icons/starSolid.d.ts +2 -0
  64. package/dist/components/Icon/icons/tick.d.ts +2 -0
  65. package/dist/components/Icon/icons/ticket.d.ts +2 -0
  66. package/dist/components/Icon/icons/trash.d.ts +2 -0
  67. package/dist/components/Icon/icons/uList.d.ts +2 -0
  68. package/dist/components/Icon/icons/upload.d.ts +2 -0
  69. package/dist/components/Icon/icons/user.d.ts +2 -0
  70. package/dist/components/Icon/icons/warning.d.ts +2 -0
  71. package/dist/components/Icon/types.d.ts +32 -0
  72. package/dist/components/Image/Image.d.ts +17 -0
  73. package/dist/components/Image/Image.vue.d.ts +25 -0
  74. package/dist/components/Image/index.d.ts +3 -0
  75. package/dist/components/ImageGallery/GalleryCarousel.vue.d.ts +33 -0
  76. package/dist/components/ImageGallery/GalleryGrid.vue.d.ts +11 -0
  77. package/dist/components/ImageGallery/GalleryGridWithLightbox.vue.d.ts +8 -0
  78. package/dist/components/ImageGallery/GalleryMasonry.vue.d.ts +8 -0
  79. package/dist/components/ImageGallery/ImageGallery.d.ts +21 -0
  80. package/dist/components/ImageGallery/ImageGallery.vue.d.ts +21 -0
  81. package/dist/components/ImageGallery/index.d.ts +3 -0
  82. package/dist/components/Input/Input.vue.d.ts +33 -0
  83. package/dist/components/Link/Link.vue.d.ts +41 -0
  84. package/dist/components/Modal/Modal.d.ts +76 -0
  85. package/dist/components/Modal/index.d.ts +104 -0
  86. package/dist/components/RadioButton/RadioButton.d.ts +15 -0
  87. package/dist/components/RadioButton/RadioButton.vue.d.ts +15 -0
  88. package/dist/components/Select/Select.vue.d.ts +38 -0
  89. package/dist/components/Select/types.d.ts +7 -0
  90. package/dist/components/Shared/ErrorMessage.vue.d.ts +8 -0
  91. package/dist/components/Shared/Hint.vue.d.ts +16 -0
  92. package/dist/components/Shared/RequiredHint.vue.d.ts +7 -0
  93. package/dist/components/Spinner/Spinner.vue.d.ts +6 -0
  94. package/dist/components/Steps/Step.vue.d.ts +24 -0
  95. package/dist/components/Steps/Steps.d.ts +2 -0
  96. package/dist/components/Steps/Steps.vue.d.ts +20 -0
  97. package/dist/components/Steps/StepsItem.vue.d.ts +16 -0
  98. package/dist/components/Steps/index.d.ts +8 -0
  99. package/dist/components/Tab/Tabs.d.ts +76 -0
  100. package/dist/components/Table/Table.d.ts +69 -0
  101. package/dist/components/Tag/Tag.d.ts +15 -0
  102. package/dist/components/Tag/Tag.vue.d.ts +29 -0
  103. package/dist/components/Textarea/Textarea.vue.d.ts +33 -0
  104. package/dist/components/Timeline/Timeline.vue.d.ts +16 -0
  105. package/dist/components/Timeline/TimelineItem.vue.d.ts +25 -0
  106. package/dist/components/Timeline/index.d.ts +8 -0
  107. package/dist/components/Timeline/types.d.ts +4 -0
  108. package/dist/components/Toast/Toast.d.ts +51 -0
  109. package/dist/components/Toast/ToastRoot.vue.d.ts +23 -0
  110. package/dist/components/Toast/ToastViewport.vue.d.ts +3 -0
  111. package/dist/components/Toast/index.d.ts +11 -0
  112. package/dist/components/Tooltip/Tooltip.vue.d.ts +20 -0
  113. package/dist/components/Tooltip/index.d.ts +3 -0
  114. package/dist/components/Tooltip/tooltip.d.ts +8 -0
  115. package/dist/components/Upload/Upload.vue.d.ts +55 -0
  116. package/dist/components/Upload/index.d.ts +3 -0
  117. package/dist/components/Upload/types.d.ts +28 -0
  118. package/dist/index.d.ts +31 -0
  119. package/dist/utils/Utils.d.ts +21 -0
  120. package/package.json +3 -2
@@ -0,0 +1,38 @@
1
+ import type { OptionDefinition } from './types';
2
+ type __VLS_Props = {
3
+ id?: string;
4
+ options: OptionDefinition[];
5
+ label: string;
6
+ invalid?: boolean;
7
+ errorMessage?: string;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ modelValue: string | number;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare var __VLS_18: {};
14
+ type __VLS_Slots = {} & {
15
+ hint?: (props: typeof __VLS_18) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:modelValue": (value: string | number) => any;
19
+ } & {
20
+ blur: (event: FocusEvent) => any;
21
+ change: (value: string | number | Object | undefined) => any;
22
+ click: (event: MouseEvent) => any;
23
+ focus: (event: FocusEvent) => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ onBlur?: ((event: FocusEvent) => any) | undefined;
26
+ onChange?: ((value: string | number | Object | undefined) => any) | undefined;
27
+ onClick?: ((event: MouseEvent) => any) | undefined;
28
+ onFocus?: ((event: FocusEvent) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,7 @@
1
+ export type Option = {
2
+ key: string | number;
3
+ value: string | number | Object | undefined;
4
+ disabled?: boolean;
5
+ };
6
+ export interface OptionDefinition extends Option {
7
+ }
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ errorId: string;
3
+ invalid?: string;
4
+ errorMessage?: 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<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,16 @@
1
+ type __VLS_Props = {
2
+ hintId: string;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ baseId: string;
3
+ isRequired?: 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<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ message?: 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<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import type { StepStatus } from './Steps';
2
+ type __VLS_Props = {
3
+ title: string;
4
+ status?: StepStatus;
5
+ icon?: string;
6
+ size?: 'sm' | 'md' | 'lg';
7
+ };
8
+ declare var __VLS_1: {
9
+ status: StepStatus;
10
+ }, __VLS_14: {};
11
+ type __VLS_Slots = {} & {
12
+ icon?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_14) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, 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,2 @@
1
+ export type StepStatus = 'pending' | 'active' | 'completed' | 'error';
2
+ export type StepIcons = Partial<Record<StepStatus, any>>;
@@ -0,0 +1,20 @@
1
+ import type { StepIcons } from './Steps';
2
+ type __VLS_Props = {
3
+ orientation?: 'horizontal' | 'vertical';
4
+ icons?: StepIcons;
5
+ size?: 'sm' | 'md' | 'lg';
6
+ };
7
+ type __VLS_ModelProps = {
8
+ modelValue?: number;
9
+ };
10
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: number) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
15
+ }>, {
16
+ size: "sm" | "md" | "lg";
17
+ orientation: "horizontal" | "vertical";
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,16 @@
1
+ type __VLS_Props = {
2
+ index: number;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,8 @@
1
+ import type { App } from 'vue';
2
+ import Step from './Step.vue';
3
+ import Steps from './Steps.vue';
4
+ export { Steps, Step };
5
+ declare const _default: {
6
+ install(app: App): void;
7
+ };
8
+ export default _default;
@@ -0,0 +1,76 @@
1
+ import './tabs.css';
2
+ export declare const Tabs: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ modelValue: StringConstructor;
4
+ defaultValue: StringConstructor;
5
+ orientation: {
6
+ type: () => "horizontal" | "vertical";
7
+ default: string;
8
+ };
9
+ activationMode: {
10
+ type: () => "auto" | "manual";
11
+ default: string;
12
+ };
13
+ }>, () => any[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ modelValue: StringConstructor;
15
+ defaultValue: StringConstructor;
16
+ orientation: {
17
+ type: () => "horizontal" | "vertical";
18
+ default: string;
19
+ };
20
+ activationMode: {
21
+ type: () => "auto" | "manual";
22
+ default: string;
23
+ };
24
+ }>> & Readonly<{
25
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
26
+ }>, {
27
+ orientation: "horizontal" | "vertical";
28
+ activationMode: "auto" | "manual";
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
+ export declare const TabsList: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ export declare const TabsTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
34
+ value: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ index: {
39
+ type: NumberConstructor;
40
+ required: true;
41
+ };
42
+ disabled: {
43
+ type: BooleanConstructor;
44
+ required: false;
45
+ };
46
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ value: {
50
+ type: StringConstructor;
51
+ required: true;
52
+ };
53
+ index: {
54
+ type: NumberConstructor;
55
+ required: true;
56
+ };
57
+ disabled: {
58
+ type: BooleanConstructor;
59
+ required: false;
60
+ };
61
+ }>> & Readonly<{}>, {
62
+ disabled: boolean;
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
+ export declare const TabsContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
65
+ value: {
66
+ type: StringConstructor;
67
+ required: true;
68
+ };
69
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
70
+ [key: string]: any;
71
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
72
+ value: {
73
+ type: StringConstructor;
74
+ required: true;
75
+ };
76
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,69 @@
1
+ import { type PropType } from 'vue';
2
+ import './table.css';
3
+ export interface TableColumn<T = any> {
4
+ key: keyof T | string;
5
+ header: string;
6
+ sortable?: boolean;
7
+ align?: 'left' | 'center' | 'right';
8
+ width?: string;
9
+ }
10
+ export type SortDirection = 'asc' | 'desc' | null;
11
+ export interface SortState {
12
+ key: string;
13
+ direction: SortDirection;
14
+ }
15
+ export declare const Table: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
+ columns: {
17
+ type: PropType<TableColumn[]>;
18
+ required: true;
19
+ };
20
+ data: {
21
+ type: PropType<any[]>;
22
+ required: true;
23
+ };
24
+ sort: {
25
+ type: PropType<SortState | null>;
26
+ default: null;
27
+ };
28
+ rowClickable: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ responsive: {
33
+ type: PropType<"auto" | "table" | "card">;
34
+ default: string;
35
+ };
36
+ loading: BooleanConstructor;
37
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:sort" | "rowClick")[], "update:sort" | "rowClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
+ columns: {
41
+ type: PropType<TableColumn[]>;
42
+ required: true;
43
+ };
44
+ data: {
45
+ type: PropType<any[]>;
46
+ required: true;
47
+ };
48
+ sort: {
49
+ type: PropType<SortState | null>;
50
+ default: null;
51
+ };
52
+ rowClickable: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ responsive: {
57
+ type: PropType<"auto" | "table" | "card">;
58
+ default: string;
59
+ };
60
+ loading: BooleanConstructor;
61
+ }>> & Readonly<{
62
+ "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
63
+ onRowClick?: ((...args: any[]) => any) | undefined;
64
+ }>, {
65
+ loading: boolean;
66
+ sort: SortState | null;
67
+ rowClickable: boolean;
68
+ responsive: "auto" | "table" | "card";
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,15 @@
1
+ export type Variant = 'default' | 'success' | 'info' | 'warning' | 'error';
2
+ export type Size = 'sm' | 'md' | 'lg';
3
+ export interface Props {
4
+ as?: string;
5
+ variant?: Variant;
6
+ size?: Size;
7
+ clickable?: boolean;
8
+ removable?: boolean;
9
+ disabled?: boolean;
10
+ textContent?: string;
11
+ }
12
+ export interface Emits {
13
+ (e: 'click', ev: MouseEvent): void;
14
+ (e: 'remove'): void;
15
+ }
@@ -0,0 +1,29 @@
1
+ import type { Props } from './Tag';
2
+ declare var __VLS_13: {}, __VLS_15: {};
3
+ type __VLS_Slots = {} & {
4
+ icon?: (props: typeof __VLS_13) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_15) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ click: (ev: MouseEvent) => any;
10
+ remove: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
12
+ onClick?: ((ev: MouseEvent) => any) | undefined;
13
+ onRemove?: (() => any) | undefined;
14
+ }>, {
15
+ size: import("./Tag").Size;
16
+ textContent: string;
17
+ as: string;
18
+ variant: import("./Tag").Variant;
19
+ clickable: boolean;
20
+ removable: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,33 @@
1
+ type __VLS_Props = {
2
+ id?: string;
3
+ label: string;
4
+ type?: string;
5
+ invalid?: boolean;
6
+ errorMessage?: string;
7
+ };
8
+ type __VLS_ModelProps = {
9
+ modelValue: string | number;
10
+ };
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare var __VLS_7: {};
13
+ type __VLS_Slots = {} & {
14
+ hint?: (props: typeof __VLS_7) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: string | number) => any;
18
+ } & {
19
+ blur: (event: FocusEvent) => any;
20
+ focus: (event: FocusEvent) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ onBlur?: ((event: FocusEvent) => any) | undefined;
23
+ onFocus?: ((event: FocusEvent) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,16 @@
1
+ import type { Props } from './types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
7
+ align: import("./types").TimelineAlign;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ date?: string;
3
+ title?: string;
4
+ description?: string;
5
+ index?: number;
6
+ flexDirection?: 'row' | 'column';
7
+ titleAs?: 'h2' | 'h3' | 'h4';
8
+ };
9
+ declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {};
10
+ type __VLS_Slots = {} & {
11
+ title?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ description?: (props: typeof __VLS_9) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_11) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,8 @@
1
+ import type { App } from 'vue';
2
+ import Timeline from './Timeline.vue';
3
+ import TimelineItem from './TimelineItem.vue';
4
+ export { Timeline, TimelineItem };
5
+ declare const _default: {
6
+ install(app: App): void;
7
+ };
8
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export type TimelineAlign = 'left' | 'right' | 'alternate';
2
+ export interface Props {
3
+ align?: TimelineAlign;
4
+ }
@@ -0,0 +1,51 @@
1
+ export type ToastVariant = 'info' | 'success' | 'warning' | 'error';
2
+ export interface Toast {
3
+ id: string;
4
+ title?: string;
5
+ description?: string;
6
+ duration: number;
7
+ variant: ToastVariant;
8
+ loading?: boolean;
9
+ focus?: boolean;
10
+ }
11
+ export declare const toastStore: {
12
+ toasts: {
13
+ id: string;
14
+ title?: string | undefined;
15
+ description?: string | undefined;
16
+ duration: number;
17
+ variant: ToastVariant;
18
+ loading?: boolean | undefined;
19
+ focus?: boolean | undefined;
20
+ }[];
21
+ };
22
+ export declare const toast: ((data: Partial<Toast> | string) => string) & {
23
+ update: (id: string, data: Partial<Toast>) => {
24
+ id: string;
25
+ title?: string | undefined;
26
+ description?: string | undefined;
27
+ duration: number;
28
+ variant: ToastVariant;
29
+ loading?: boolean | undefined;
30
+ focus?: boolean | undefined;
31
+ }[];
32
+ success: (d: Partial<Toast> | string) => string;
33
+ error: (d: Partial<Toast> | string) => string;
34
+ info: (d: Partial<Toast> | string) => string;
35
+ warning: (d: Partial<Toast> | string) => string;
36
+ loading: (msg: string) => string;
37
+ dismiss: (id: string) => {
38
+ id: string;
39
+ title?: string | undefined;
40
+ description?: string | undefined;
41
+ duration: number;
42
+ variant: ToastVariant;
43
+ loading?: boolean | undefined;
44
+ focus?: boolean | undefined;
45
+ }[];
46
+ promise<T>(promise: Promise<T>, msgs: {
47
+ loading: string;
48
+ success: string;
49
+ error: string;
50
+ }): Promise<T>;
51
+ };
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ id: string;
3
+ variant: 'info' | 'success' | 'warning' | 'error';
4
+ duration: number;
5
+ loading?: boolean;
6
+ focus?: boolean;
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, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ duration: number;
14
+ variant: "info" | "success" | "warning" | "error";
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import type { App } from 'vue';
2
+ export interface ToastPluginOptions {
3
+ autoMount?: boolean;
4
+ }
5
+ declare const ToastPlugin: {
6
+ install(app: App, options?: ToastPluginOptions): void;
7
+ };
8
+ export { ToastPlugin };
9
+ export { toast } from './Toast';
10
+ export type { Toast, ToastVariant } from './Toast';
11
+ export { default as ToastViewport } from './ToastViewport.vue';
@@ -0,0 +1,20 @@
1
+ import type { Props } from './tooltip';
2
+ declare var __VLS_1: {}, __VLS_15: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ content?: (props: typeof __VLS_15) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ disabled: boolean;
10
+ placement: import("./tooltip").Placement;
11
+ delay: number;
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,3 @@
1
+ import Tooltip from "./Tooltip.vue";
2
+ export { Tooltip };
3
+ export default Tooltip;
@@ -0,0 +1,8 @@
1
+ export type Placement = 'top' | 'right' | 'bottom' | 'left';
2
+ export interface Props {
3
+ content?: string;
4
+ placement?: Placement;
5
+ delay?: number;
6
+ disabled?: boolean;
7
+ }
8
+ export declare const autoUpdate: (fn: () => void) => () => void;
@@ -0,0 +1,55 @@
1
+ import type { UploadFile, Props } from './types';
2
+ type __VLS_Props = Props;
3
+ type __VLS_ModelProps = {
4
+ modelValue?: UploadFile[];
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare var __VLS_1: {
8
+ dragging: boolean;
9
+ }, __VLS_14: {
10
+ file: UploadFile;
11
+ remove: () => void;
12
+ cancel: () => void;
13
+ retry: () => void;
14
+ };
15
+ type __VLS_Slots = {} & {
16
+ default?: (props: typeof __VLS_1) => any;
17
+ } & {
18
+ file?: (props: typeof __VLS_14) => any;
19
+ };
20
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:modelValue": (value: UploadFile[]) => any;
22
+ } & {
23
+ select: (files: File[]) => any;
24
+ upload: (file: UploadFile, api: {
25
+ onProgress: (value: number) => void;
26
+ done: () => void;
27
+ fail: (error: string) => void;
28
+ signal: AbortSignal;
29
+ }) => any;
30
+ remove: (file: UploadFile) => any;
31
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ onSelect?: ((files: File[]) => any) | undefined;
33
+ onUpload?: ((file: UploadFile, api: {
34
+ onProgress: (value: number) => void;
35
+ done: () => void;
36
+ fail: (error: string) => void;
37
+ signal: AbortSignal;
38
+ }) => any) | undefined;
39
+ "onUpdate:modelValue"?: ((value: UploadFile[]) => any) | undefined;
40
+ onRemove?: ((file: UploadFile) => any) | undefined;
41
+ }>, {
42
+ multiple: boolean;
43
+ accept: string;
44
+ maxSize: number;
45
+ maxFiles: number;
46
+ autoUpload: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
+ declare const _default: typeof __VLS_export;
50
+ export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,3 @@
1
+ import Upload from "./Upload.vue";
2
+ export { Upload };
3
+ export default Upload;