@a-vision-software/vue-input-components 1.3.25 → 1.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/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  A collection of reusable Vue 3 input components with consistent styling and behavior.
4
4
 
5
+ ## Documentation
6
+
7
+ For detailed documentation, please visit our [documentation site](docs/index.md).
8
+
5
9
  ## Features
6
10
 
7
11
  - 🚀 Built with Vue 3 and TypeScript
@@ -42,7 +46,7 @@ A checkbox component with support for single/multiple selection and various pres
42
46
 
43
47
  A flexible and customizable list component that supports sorting, filtering, and different presentation styles.
44
48
 
45
- ## Installation
49
+ ## Quick Installation
46
50
 
47
51
  ```bash
48
52
  npm install @a-vision-software/vue-input-components
@@ -0,0 +1,75 @@
1
+ import { ModalProps } from '../types/modal';
2
+
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
4
+ modelValue: boolean;
5
+ title: string;
6
+ minWidth: string;
7
+ maxWidth: string;
8
+ minHeight: string;
9
+ maxHeight: string;
10
+ titleBarColor: string;
11
+ backgroundColor: string;
12
+ icon: undefined;
13
+ isLargeIcon: boolean;
14
+ iconColor: string;
15
+ }>>, {
16
+ open: () => void;
17
+ close: () => void;
18
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (value: boolean) => void;
20
+ close: () => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
22
+ modelValue: boolean;
23
+ title: string;
24
+ minWidth: string;
25
+ maxWidth: string;
26
+ minHeight: string;
27
+ maxHeight: string;
28
+ titleBarColor: string;
29
+ backgroundColor: string;
30
+ icon: undefined;
31
+ isLargeIcon: boolean;
32
+ iconColor: string;
33
+ }>>> & Readonly<{
34
+ onClose?: (() => any) | undefined;
35
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
36
+ }>, {
37
+ icon: string;
38
+ backgroundColor: string;
39
+ title: string;
40
+ modelValue: boolean;
41
+ maxHeight: string;
42
+ minWidth: string;
43
+ maxWidth: string;
44
+ minHeight: string;
45
+ titleBarColor: string;
46
+ isLargeIcon: boolean;
47
+ iconColor: string;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
49
+ header?(_: {}): any;
50
+ default?(_: {}): any;
51
+ footer?(_: {}): any;
52
+ }>;
53
+ export default _default;
54
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
+ type __VLS_TypePropsToRuntimeProps<T> = {
56
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
57
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
+ } : {
59
+ type: import('vue').PropType<T[K]>;
60
+ required: true;
61
+ };
62
+ };
63
+ type __VLS_WithDefaults<P, D> = {
64
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
65
+ default: D[K];
66
+ }> : P[K];
67
+ };
68
+ type __VLS_Prettify<T> = {
69
+ [K in keyof T]: T[K];
70
+ } & {};
71
+ type __VLS_WithTemplateSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -5,6 +5,7 @@ import { default as Action } from './components/Action.vue';
5
5
  import { default as Dropdown } from './components/Dropdown.vue';
6
6
  import { default as Checkbox } from './components/Checkbox.vue';
7
7
  import { default as List } from './components/List.vue';
8
+ import { default as Modal } from './components/Modal.vue';
8
9
 
9
- export { TextInput, FileUpload, Navigation, Action, Dropdown, Checkbox, List };
10
+ export { TextInput, FileUpload, Navigation, Action, Dropdown, Checkbox, List, Modal };
10
11
  export * from './types';
@@ -8,3 +8,4 @@ export * from './navigation';
8
8
  export * from './dropdown';
9
9
  export * from './checkbox';
10
10
  export * from './list';
11
+ export * from './modal';
@@ -0,0 +1,21 @@
1
+ export interface ModalProps {
2
+ modelValue: boolean;
3
+ title?: string;
4
+ minWidth?: string;
5
+ maxWidth?: string;
6
+ minHeight?: string;
7
+ maxHeight?: string;
8
+ titleBarColor?: string;
9
+ backgroundColor?: string;
10
+ icon?: string;
11
+ isLargeIcon?: boolean;
12
+ iconColor?: string;
13
+ }
14
+ export interface ModalEmits {
15
+ (e: 'update:modelValue', value: boolean): void;
16
+ (e: 'close'): void;
17
+ }
18
+ export interface ModalComponent {
19
+ open: () => void;
20
+ close: () => void;
21
+ }