@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,39 @@
1
+ export declare const icons: {
2
+ eye: import("../types").IconDefinition;
3
+ star: import("../types").IconDefinition;
4
+ home: import("../types").IconDefinition;
5
+ edit: import("../types").IconDefinition;
6
+ disk: import("../types").IconDefinition;
7
+ user: import("../types").IconDefinition;
8
+ info: import("../types").IconDefinition;
9
+ sort: import("../types").IconDefinition;
10
+ tick: import("../types").IconDefinition;
11
+ link: import("../types").IconDefinition;
12
+ head: import("../types").IconDefinition;
13
+ bold: import("../types").IconDefinition;
14
+ oList: import("../types").IconDefinition;
15
+ uList: import("../types").IconDefinition;
16
+ close: import("../types").IconDefinition;
17
+ clock: import("../types").IconDefinition;
18
+ login: import("../types").IconDefinition;
19
+ image: import("../types").IconDefinition;
20
+ trash: import("../types").IconDefinition;
21
+ upload: import("../types").IconDefinition;
22
+ italic: import("../types").IconDefinition;
23
+ logout: import("../types").IconDefinition;
24
+ ticket: import("../types").IconDefinition;
25
+ search: import("../types").IconDefinition;
26
+ eyeOff: import("../types").IconDefinition;
27
+ loading: import("../types").IconDefinition;
28
+ sortAsc: import("../types").IconDefinition;
29
+ profile: import("../types").IconDefinition;
30
+ warning: import("../types").IconDefinition;
31
+ sortDesc: import("../types").IconDefinition;
32
+ location: import("../types").IconDefinition;
33
+ starSolid: import("../types").IconDefinition;
34
+ closeSolid: import("../types").IconDefinition;
35
+ shoppingBag: import("../types").IconDefinition;
36
+ directionDown: import("../types").IconDefinition;
37
+ shoppingBasket: import("../types").IconDefinition;
38
+ };
39
+ export type IconName = keyof typeof icons;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const info: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const italic: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const link: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const loading: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const location: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const login: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const logout: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const oList: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const profile: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const search: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const shoppingBag: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const shoppingBasket: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const sort: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const sortAsc: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const sortDesc: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const star: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const starSolid: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const tick: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const ticket: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const trash: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const uList: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const upload: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const user: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import type { IconDefinition } from '../types';
2
+ export declare const warning: IconDefinition;
@@ -0,0 +1,32 @@
1
+ export type IconPath = {
2
+ type: 'path';
3
+ d: string;
4
+ fill?: string;
5
+ stroke?: string;
6
+ strokeWidth?: number;
7
+ strokeLinecap?: 'round' | 'square' | 'butt';
8
+ strokeLinejoin?: 'round' | 'bevel' | 'miter';
9
+ opacity?: number;
10
+ fillRule?: 'evenodd' | 'nonzero';
11
+ clipRule?: 'evenodd' | 'nonzero';
12
+ } | {
13
+ type: 'circle';
14
+ cx: number;
15
+ cy: number;
16
+ r: number;
17
+ fill?: string;
18
+ transform?: string;
19
+ } | {
20
+ type: 'line';
21
+ x1: number;
22
+ y1: number;
23
+ x2: number;
24
+ y2: number;
25
+ stroke: string;
26
+ strokeWidth?: number;
27
+ strokeLinecap?: 'round' | 'square' | 'butt';
28
+ };
29
+ export interface IconDefinition {
30
+ viewBox: string;
31
+ paths: IconPath[];
32
+ }
@@ -0,0 +1,17 @@
1
+ export type ImageStage = 'loading' | 'loaded' | 'error';
2
+ export interface Props {
3
+ src: string;
4
+ alt: string;
5
+ fallbackSrc?: string;
6
+ srcset?: string;
7
+ sizes?: string;
8
+ ratio?: number | string;
9
+ lazy?: boolean;
10
+ decoding?: 'async' | 'auto' | 'sync';
11
+ decorative?: boolean;
12
+ transform?: boolean;
13
+ }
14
+ export interface Emits {
15
+ (e: 'loaded'): void;
16
+ (e: 'error'): void;
17
+ }
@@ -0,0 +1,25 @@
1
+ import type { Props } from './Image';
2
+ declare var __VLS_1: {}, __VLS_3: {};
3
+ type __VLS_Slots = {} & {
4
+ placeholder?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ fallback?: (props: typeof __VLS_3) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ loaded: () => any;
10
+ error: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
12
+ onLoaded?: (() => any) | undefined;
13
+ onError?: (() => any) | undefined;
14
+ }>, {
15
+ lazy: boolean;
16
+ decoding: "async" | "auto" | "sync";
17
+ }, {}, {}, {}, 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,3 @@
1
+ import Image from './Image.vue';
2
+ export { Image };
3
+ export default Image;
@@ -0,0 +1,33 @@
1
+ import type { Props } from './ImageGallery';
2
+ type __VLS_Props = Props;
3
+ type __VLS_ModelProps = {
4
+ modelValue?: number;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare var __VLS_15: {
8
+ image: import("./ImageGallery").ImageGallery | undefined;
9
+ index: number;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ overlay?: (props: typeof __VLS_15) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: number) => any;
16
+ } & {
17
+ change: (value: number) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ onChange?: ((value: number) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
21
+ }>, {
22
+ layout: import("./ImageGallery").GalleryLayout;
23
+ showThumbnails: boolean;
24
+ loop: boolean;
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,11 @@
1
+ import type { Props } from './ImageGallery';
2
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ change: (value: number) => any;
4
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
5
+ onChange?: ((value: number) => any) | undefined;
6
+ }>, {
7
+ transform: boolean;
8
+ columns: number;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { Props } from './ImageGallery';
2
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ change: (value: number) => any;
4
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
5
+ onChange?: ((value: number) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { Props } from './ImageGallery';
2
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
3
+ transform: boolean;
4
+ columns: number;
5
+ gap: string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export type Direction = 'next' | 'prev';
2
+ export type GalleryLayout = 'carousel' | 'grid' | 'masonry' | 'grid-lightbox';
3
+ export interface ImageGallery {
4
+ src: string;
5
+ alt?: string;
6
+ title?: string;
7
+ }
8
+ export interface Props {
9
+ images: ImageGallery[];
10
+ layout?: GalleryLayout;
11
+ showThumbnails?: boolean;
12
+ loop?: boolean;
13
+ transform?: boolean;
14
+ transformThumbnails?: boolean;
15
+ ariaLabel?: string;
16
+ columns?: number;
17
+ gap?: string;
18
+ }
19
+ export interface Emits {
20
+ (e: 'change', value: number): void;
21
+ }
@@ -0,0 +1,21 @@
1
+ import type { Props } from './ImageGallery';
2
+ type __VLS_Props = Props;
3
+ type __VLS_ModelProps = {
4
+ modelValue?: number;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: number) => any;
9
+ } & {
10
+ change: (value: number) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ onChange?: ((value: number) => any) | undefined;
13
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
14
+ }>, {
15
+ layout: import("./ImageGallery").GalleryLayout;
16
+ showThumbnails: boolean;
17
+ loop: boolean;
18
+ gap: string;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import ImageGallery from './ImageGallery.vue';
2
+ export { ImageGallery };
3
+ export default ImageGallery;
@@ -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,41 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<({
6
+ target?: "_self" | "_blank" | "_parent" | "_top";
7
+ ariaCurrent?: "page" | "step" | "location";
8
+ } & {
9
+ disabled: true;
10
+ href?: string;
11
+ }) | ({
12
+ target?: "_self" | "_blank" | "_parent" | "_top";
13
+ ariaCurrent?: "page" | "step" | "location";
14
+ } & {
15
+ disabled?: false;
16
+ href: string;
17
+ }), {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ click: (event: MouseEvent) => any;
19
+ }, string, import("vue").PublicProps, Readonly<({
20
+ target?: "_self" | "_blank" | "_parent" | "_top";
21
+ ariaCurrent?: "page" | "step" | "location";
22
+ } & {
23
+ disabled: true;
24
+ href?: string;
25
+ }) | ({
26
+ target?: "_self" | "_blank" | "_parent" | "_top";
27
+ ariaCurrent?: "page" | "step" | "location";
28
+ } & {
29
+ disabled?: false;
30
+ href: string;
31
+ })> & Readonly<{
32
+ onClick?: ((event: MouseEvent) => any) | undefined;
33
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,76 @@
1
+ import { type Ref, type PropType } from 'vue';
2
+ import './modal.css';
3
+ export interface ModalContext {
4
+ isOpen: Ref<boolean>;
5
+ motion: Ref<'fade' | 'slide' | 'zoom'>;
6
+ size: Ref<'sm' | 'md' | 'lg' | 'xl'>;
7
+ close: () => void;
8
+ closeOnOverlay: boolean;
9
+ labelId: string;
10
+ descriptionId: string;
11
+ hasTitle: Ref<boolean>;
12
+ }
13
+ export declare const Modal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
+ motion: {
15
+ type: PropType<"fade" | "slide" | "zoom">;
16
+ default: string;
17
+ };
18
+ size: {
19
+ type: PropType<"sm" | "md" | "lg" | "xl">;
20
+ default: string;
21
+ };
22
+ open: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ closeOnOverlay: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:open" | "opened" | "closed")[], "update:open" | "opened" | "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ motion: {
34
+ type: PropType<"fade" | "slide" | "zoom">;
35
+ default: string;
36
+ };
37
+ size: {
38
+ type: PropType<"sm" | "md" | "lg" | "xl">;
39
+ default: string;
40
+ };
41
+ open: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ closeOnOverlay: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>> & Readonly<{
50
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
51
+ onOpened?: ((...args: any[]) => any) | undefined;
52
+ onClosed?: ((...args: any[]) => any) | undefined;
53
+ }>, {
54
+ size: "sm" | "md" | "lg" | "xl";
55
+ open: boolean;
56
+ motion: "fade" | "slide" | "zoom";
57
+ closeOnOverlay: boolean;
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
+ export declare const ModalContent: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
+ [key: string]: any;
61
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
62
+ export declare const ModalTitle: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
+ [key: string]: any;
64
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
+ export declare const ModalHeader: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
66
+ [key: string]: any;
67
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
+ export declare const ModalBody: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
69
+ [key: string]: any;
70
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
+ export declare const ModalFooter: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
72
+ [key: string]: any;
73
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
+ export declare const ModalClose: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
75
+ [key: string]: any;
76
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,104 @@
1
+ import type { App } from 'vue';
2
+ import { Modal, ModalBody, ModalClose, ModalTitle, ModalHeader, ModalContent } from './Modal';
3
+ export * from './Modal';
4
+ declare const ModalPlugin: {
5
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
6
+ motion: {
7
+ type: import("vue").PropType<"fade" | "slide" | "zoom">;
8
+ default: string;
9
+ };
10
+ size: {
11
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
12
+ default: string;
13
+ };
14
+ open: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ closeOnOverlay: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }>> & Readonly<{
23
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
24
+ onOpened?: ((...args: any[]) => any) | undefined;
25
+ onClosed?: ((...args: any[]) => any) | undefined;
26
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
+ [key: string]: any;
28
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:open" | "opened" | "closed")[], import("vue").PublicProps, {
29
+ size: "sm" | "md" | "lg" | "xl";
30
+ open: boolean;
31
+ motion: "fade" | "slide" | "zoom";
32
+ closeOnOverlay: boolean;
33
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
34
+ P: {};
35
+ B: {};
36
+ D: {};
37
+ C: {};
38
+ M: {};
39
+ Defaults: {};
40
+ }, Readonly<import("vue").ExtractPropTypes<{
41
+ motion: {
42
+ type: import("vue").PropType<"fade" | "slide" | "zoom">;
43
+ default: string;
44
+ };
45
+ size: {
46
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
47
+ default: string;
48
+ };
49
+ open: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ closeOnOverlay: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ }>> & Readonly<{
58
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
59
+ onOpened?: ((...args: any[]) => any) | undefined;
60
+ onClosed?: ((...args: any[]) => any) | undefined;
61
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
62
+ [key: string]: any;
63
+ }>[] | undefined, {}, {}, {}, {
64
+ size: "sm" | "md" | "lg" | "xl";
65
+ open: boolean;
66
+ motion: "fade" | "slide" | "zoom";
67
+ closeOnOverlay: boolean;
68
+ }>;
69
+ __isFragment?: never;
70
+ __isTeleport?: never;
71
+ __isSuspense?: never;
72
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
73
+ motion: {
74
+ type: import("vue").PropType<"fade" | "slide" | "zoom">;
75
+ default: string;
76
+ };
77
+ size: {
78
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
79
+ default: string;
80
+ };
81
+ open: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ closeOnOverlay: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ }>> & Readonly<{
90
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
91
+ onOpened?: ((...args: any[]) => any) | undefined;
92
+ onClosed?: ((...args: any[]) => any) | undefined;
93
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
94
+ [key: string]: any;
95
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:open" | "opened" | "closed")[], "update:open" | "opened" | "closed", {
96
+ size: "sm" | "md" | "lg" | "xl";
97
+ open: boolean;
98
+ motion: "fade" | "slide" | "zoom";
99
+ closeOnOverlay: boolean;
100
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
101
+ install(app: App): void;
102
+ };
103
+ export { Modal, ModalBody, ModalClose, ModalTitle, ModalHeader, ModalContent };
104
+ export default ModalPlugin;
@@ -0,0 +1,15 @@
1
+ export type RadioModel = string | number;
2
+ export interface RadioOption {
3
+ key: RadioModel;
4
+ label: string;
5
+ disabled?: boolean;
6
+ }
7
+ export interface Props {
8
+ name: string;
9
+ options: RadioOption[];
10
+ disabled?: boolean;
11
+ required?: boolean;
12
+ invalid?: boolean;
13
+ inColumn?: boolean;
14
+ mode?: 'button' | 'standard';
15
+ }
@@ -0,0 +1,15 @@
1
+ import type { Props, RadioModel } from './RadioButton';
2
+ type __VLS_Props = Props;
3
+ type __VLS_ModelProps = {
4
+ modelValue: RadioModel;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: RadioModel) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: RadioModel) => any) | undefined;
11
+ }>, {
12
+ mode: "button" | "standard";
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;