@a-vision-software/vue-input-components 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +58 -0
- package/package.json +6 -6
- package/dist/dist/App.vue.d.ts +0 -2
- package/dist/dist/components/FileUpload.vue.d.ts +0 -18
- package/dist/dist/components/TextInput.vue.d.ts +0 -32
- package/dist/dist/index.d.ts +0 -3
- package/dist/dist/main.d.ts +0 -0
- package/dist/dist/router/index.d.ts +0 -2
- package/dist/dist/views/DashboardView.vue.d.ts +0 -2
- package/dist/dist/views/FileUploadTestView.vue.d.ts +0 -2
- package/dist/dist/views/TextInputTestView.vue.d.ts +0 -2
- package/dist/types.d.ts +0 -23
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
+
import { ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { DefineComponent } from 'vue';
|
|
4
|
+
import { PublicProps } from 'vue';
|
|
5
|
+
|
|
6
|
+
declare type __VLS_Props = {
|
|
7
|
+
modelValue: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
error?: string;
|
|
15
|
+
success?: string;
|
|
16
|
+
labelPosition?: 'top' | 'left';
|
|
17
|
+
labelAlign?: 'left' | 'right' | 'center';
|
|
18
|
+
totalWidth?: string;
|
|
19
|
+
inputWidth?: string;
|
|
20
|
+
labelWidth?: string;
|
|
21
|
+
autosave?: (value: string) => Promise<void>;
|
|
22
|
+
isTextarea?: boolean;
|
|
23
|
+
maxHeight?: string;
|
|
24
|
+
height?: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
declare type __VLS_Props_2 = {
|
|
28
|
+
icon?: string;
|
|
29
|
+
uploadUrl?: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export declare const FileUpload: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
33
|
+
"upload-complete": (files: File[]) => any;
|
|
34
|
+
"upload-error": (error: string) => any;
|
|
35
|
+
"files-selected": (files: File[]) => any;
|
|
36
|
+
"start-upload": (files: File[]) => any;
|
|
37
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
38
|
+
"onUpload-complete"?: ((files: File[]) => any) | undefined;
|
|
39
|
+
"onUpload-error"?: ((error: string) => any) | undefined;
|
|
40
|
+
"onFiles-selected"?: ((files: File[]) => any) | undefined;
|
|
41
|
+
"onStart-upload"?: ((files: File[]) => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
43
|
+
fileInput: HTMLInputElement;
|
|
44
|
+
}, HTMLDivElement>;
|
|
45
|
+
|
|
46
|
+
export declare const TextInput: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
47
|
+
"update:modelValue": (value: string) => any;
|
|
48
|
+
changed: () => any;
|
|
49
|
+
saved: () => any;
|
|
50
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
51
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
|
+
onChanged?: (() => any) | undefined;
|
|
53
|
+
onSaved?: (() => any) | undefined;
|
|
54
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
55
|
+
inputRef: HTMLTextAreaElement;
|
|
56
|
+
}, HTMLDivElement>;
|
|
57
|
+
|
|
58
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a-vision-software/vue-input-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.27",
|
|
4
4
|
"description": "A collection of reusable Vue 3 input components with TypeScript support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
],
|
|
9
9
|
"main": "./dist/vue-input-components.umd.js",
|
|
10
10
|
"module": "./dist/vue-input-components.es.js",
|
|
11
|
-
"types": "./dist/
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/vue-input-components.es.js",
|
|
16
|
+
"require": "./dist/vue-input-components.umd.js"
|
|
17
17
|
},
|
|
18
18
|
"./dist/*": "./dist/*"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"dev": "vite",
|
|
22
|
-
"build": "run-p type-check \"build-only {@}\" --
|
|
22
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
23
23
|
"preview": "vite preview",
|
|
24
24
|
"build-only": "vite build",
|
|
25
25
|
"type-check": "vue-tsc --noEmit",
|
package/dist/dist/App.vue.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
icon?: string;
|
|
3
|
-
uploadUrl?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
-
"upload-complete": (files: File[]) => any;
|
|
7
|
-
"upload-error": (error: string) => any;
|
|
8
|
-
"files-selected": (files: File[]) => any;
|
|
9
|
-
"start-upload": (files: File[]) => any;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
"onUpload-complete"?: ((files: File[]) => any) | undefined;
|
|
12
|
-
"onUpload-error"?: ((error: string) => any) | undefined;
|
|
13
|
-
"onFiles-selected"?: ((files: File[]) => any) | undefined;
|
|
14
|
-
"onStart-upload"?: ((files: File[]) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
-
fileInput: HTMLInputElement;
|
|
17
|
-
}, HTMLDivElement>;
|
|
18
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue: string;
|
|
3
|
-
label?: string;
|
|
4
|
-
type?: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
error?: string;
|
|
10
|
-
success?: string;
|
|
11
|
-
labelPosition?: 'top' | 'left';
|
|
12
|
-
labelAlign?: 'left' | 'right' | 'center';
|
|
13
|
-
totalWidth?: string;
|
|
14
|
-
inputWidth?: string;
|
|
15
|
-
labelWidth?: string;
|
|
16
|
-
autosave?: (value: string) => Promise<void>;
|
|
17
|
-
isTextarea?: boolean;
|
|
18
|
-
maxHeight?: string;
|
|
19
|
-
height?: string;
|
|
20
|
-
};
|
|
21
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
-
"update:modelValue": (value: string) => any;
|
|
23
|
-
changed: () => any;
|
|
24
|
-
saved: () => any;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
|
-
onChanged?: (() => any) | undefined;
|
|
28
|
-
onSaved?: (() => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
-
inputRef: HTMLTextAreaElement;
|
|
31
|
-
}, HTMLDivElement>;
|
|
32
|
-
export default _default;
|
package/dist/dist/index.d.ts
DELETED
package/dist/dist/main.d.ts
DELETED
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
package/dist/types.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare module '@a-vision-software/vue-input-components' {
|
|
2
|
-
import { DefineComponent } from 'vue'
|
|
3
|
-
|
|
4
|
-
export const TextInput: DefineComponent<{
|
|
5
|
-
modelValue?: string
|
|
6
|
-
label?: string
|
|
7
|
-
placeholder?: string
|
|
8
|
-
required?: boolean
|
|
9
|
-
disabled?: boolean
|
|
10
|
-
error?: string
|
|
11
|
-
}>
|
|
12
|
-
|
|
13
|
-
export const FileUpload: DefineComponent<{
|
|
14
|
-
modelValue?: File[]
|
|
15
|
-
maxFiles?: number
|
|
16
|
-
maxFileSize?: number
|
|
17
|
-
accept?: string
|
|
18
|
-
uploadUrl?: string
|
|
19
|
-
required?: boolean
|
|
20
|
-
disabled?: boolean
|
|
21
|
-
error?: string
|
|
22
|
-
}>
|
|
23
|
-
}
|