creativecorvidstylelibrary 1.0.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 +56 -0
- package/README.md +76 -0
- package/dist/assets/BlackCrowLogo.svg +9 -0
- package/dist/assets/WhiteRavenLogo2.svg +9 -0
- package/dist/assets/black-crow-logo.jpeg +0 -0
- package/dist/assets/vite.svg +1 -0
- package/dist/creative-corvid-library.es.js +2660 -0
- package/dist/creative-corvid-library.umd.js +9 -0
- package/dist/creativecorvidstylelibrary.css +1 -0
- package/dist/types/components/Button.vue.d.ts +47 -0
- package/dist/types/components/CloseButton.vue.d.ts +29 -0
- package/dist/types/components/Icon.vue.d.ts +30 -0
- package/dist/types/components/InfoPanel.vue.d.ts +44 -0
- package/dist/types/components/Logo.vue.d.ts +6 -0
- package/dist/types/components/Modal.vue.d.ts +2 -0
- package/dist/types/components/ToastAlert.vue.d.ts +52 -0
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/useDateState.d.ts +11 -0
- package/dist/types/fonts.d.ts +2 -0
- package/dist/types/form-components/Checkbox.vue.d.ts +68 -0
- package/dist/types/form-components/DateDropdownSelect.vue.d.ts +61 -0
- package/dist/types/form-components/DateInput.vue.d.ts +110 -0
- package/dist/types/form-components/FileUpload.vue.d.ts +103 -0
- package/dist/types/form-components/Number.vue.d.ts +103 -0
- package/dist/types/form-components/Radio.vue.d.ts +142 -0
- package/dist/types/form-components/SearchBar.vue.d.ts +14 -0
- package/dist/types/form-components/Select.vue.d.ts +145 -0
- package/dist/types/form-components/TextAreaInput.vue.d.ts +158 -0
- package/dist/types/form-components/TextInput.vue.d.ts +157 -0
- package/dist/types/form-components/index.d.ts +10 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/main.d.ts +0 -0
- package/dist/types/models/Calendar.d.ts +68 -0
- package/dist/types/models/Day.d.ts +7 -0
- package/dist/types/models/Month.d.ts +9 -0
- package/dist/types/models/index.d.ts +3 -0
- package/dist/types/services/Http.service.d.ts +1 -0
- package/dist/types/services/index.d.ts +1 -0
- package/dist/types/stores/index.d.ts +1 -0
- package/dist/types/stores/utilityStore.d.ts +2 -0
- package/dist/types/types/DateTypes.d.ts +21 -0
- package/dist/types/types/FontAwesomeIconType.d.ts +1 -0
- package/dist/types/types/InputValuesDemo.d.ts +7 -0
- package/dist/types/types/SelectOption.d.ts +5 -0
- package/dist/types/types/TableDataConfig.d.ts +25 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/types/stores/UtilityStore.d.ts +4 -0
- package/dist/types/utils/date-constants.d.ts +4 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/sorting.d.ts +1 -0
- package/dist/types/utils/utilities.d.ts +2 -0
- package/package.json +74 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
file: File;
|
|
7
|
+
}): any;
|
|
8
|
+
hint?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
fileInputRef: HTMLInputElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: (ArrayConstructor | {
|
|
19
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
20
|
+
prototype: File;
|
|
21
|
+
})[];
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
accept: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
multiple: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
hint: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
error: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
errorMessages: {
|
|
41
|
+
type: PropType<string[]>;
|
|
42
|
+
default: () => never[];
|
|
43
|
+
};
|
|
44
|
+
required: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>, {
|
|
49
|
+
isValid: import('vue').ComputedRef<boolean>;
|
|
50
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
"update:modelValue": (...args: any[]) => void;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: (ArrayConstructor | {
|
|
55
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
56
|
+
prototype: File;
|
|
57
|
+
})[];
|
|
58
|
+
default: () => never[];
|
|
59
|
+
};
|
|
60
|
+
accept: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
multiple: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
hint: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
error: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
errorMessages: {
|
|
77
|
+
type: PropType<string[]>;
|
|
78
|
+
default: () => never[];
|
|
79
|
+
};
|
|
80
|
+
required: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{
|
|
85
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
}>, {
|
|
87
|
+
required: boolean;
|
|
88
|
+
error: boolean;
|
|
89
|
+
modelValue: unknown[] | File;
|
|
90
|
+
errorMessages: string[];
|
|
91
|
+
hint: string;
|
|
92
|
+
accept: string;
|
|
93
|
+
multiple: boolean;
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
95
|
+
fileInputRef: HTMLInputElement;
|
|
96
|
+
}, HTMLDivElement>;
|
|
97
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
98
|
+
export default _default;
|
|
99
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
label: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
value: {
|
|
8
|
+
type: () => string | null;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
pattern: {
|
|
12
|
+
type: {
|
|
13
|
+
(arrayLength: number): number[];
|
|
14
|
+
(...items: number[]): number[];
|
|
15
|
+
new (arrayLength: number): number[];
|
|
16
|
+
new (...items: number[]): number[];
|
|
17
|
+
isArray(arg: any): arg is any[];
|
|
18
|
+
readonly prototype: any[];
|
|
19
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
20
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
21
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
22
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
23
|
+
of<T>(...items: T[]): T[];
|
|
24
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
25
|
+
};
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: false;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
required: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
helpText: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
input: (...args: any[]) => void;
|
|
43
|
+
blur: (...args: any[]) => void;
|
|
44
|
+
focus: (...args: any[]) => void;
|
|
45
|
+
keydown: (...args: any[]) => void;
|
|
46
|
+
keypress: (...args: any[]) => void;
|
|
47
|
+
keyup: (...args: any[]) => void;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
label: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
value: {
|
|
55
|
+
type: () => string | null;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
pattern: {
|
|
59
|
+
type: {
|
|
60
|
+
(arrayLength: number): number[];
|
|
61
|
+
(...items: number[]): number[];
|
|
62
|
+
new (arrayLength: number): number[];
|
|
63
|
+
new (...items: number[]): number[];
|
|
64
|
+
isArray(arg: any): arg is any[];
|
|
65
|
+
readonly prototype: any[];
|
|
66
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
67
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
68
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
69
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
70
|
+
of<T>(...items: T[]): T[];
|
|
71
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
72
|
+
};
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
placeholder: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
required: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
helpText: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
}>> & Readonly<{
|
|
89
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onKeypress?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}>, {
|
|
96
|
+
label: string;
|
|
97
|
+
required: boolean;
|
|
98
|
+
value: string | null;
|
|
99
|
+
placeholder: string;
|
|
100
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
101
|
+
inputRef: HTMLInputElement;
|
|
102
|
+
}, HTMLDivElement>;
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
hint?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<string | null>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
options: {
|
|
21
|
+
type: PropType<Record<string, string>[]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
required: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
direction: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (value: string) => boolean;
|
|
36
|
+
};
|
|
37
|
+
name: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
error: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
hint: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
errorMessages: {
|
|
50
|
+
type: PropType<string[]>;
|
|
51
|
+
default: () => never[];
|
|
52
|
+
};
|
|
53
|
+
rules: {
|
|
54
|
+
type: PropType<Function[]>;
|
|
55
|
+
default: () => never[];
|
|
56
|
+
};
|
|
57
|
+
itemTitle: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
itemValue: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
}>, {
|
|
66
|
+
isValid: import('vue').ComputedRef<boolean>;
|
|
67
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
68
|
+
"update:modelValue": (...args: any[]) => void;
|
|
69
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
modelValue: {
|
|
75
|
+
type: PropType<string | null>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
options: {
|
|
79
|
+
type: PropType<Record<string, string>[]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
required: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
disabled: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
direction: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
validator: (value: string) => boolean;
|
|
94
|
+
};
|
|
95
|
+
name: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
error: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
hint: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
errorMessages: {
|
|
108
|
+
type: PropType<string[]>;
|
|
109
|
+
default: () => never[];
|
|
110
|
+
};
|
|
111
|
+
rules: {
|
|
112
|
+
type: PropType<Function[]>;
|
|
113
|
+
default: () => never[];
|
|
114
|
+
};
|
|
115
|
+
itemTitle: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
itemValue: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
}>> & Readonly<{
|
|
124
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
}>, {
|
|
126
|
+
required: boolean;
|
|
127
|
+
error: boolean;
|
|
128
|
+
errorMessages: string[];
|
|
129
|
+
rules: Function[];
|
|
130
|
+
hint: string;
|
|
131
|
+
disabled: boolean;
|
|
132
|
+
direction: string;
|
|
133
|
+
itemTitle: string;
|
|
134
|
+
itemValue: string;
|
|
135
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
136
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
137
|
+
export default _default;
|
|
138
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
139
|
+
new (): {
|
|
140
|
+
$slots: S;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
modelValue: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: PropType<Record<string, string>[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
required: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
error: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
errorMessages: {
|
|
20
|
+
type: PropType<string[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
rules: {
|
|
24
|
+
type: PropType<Function[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
placeholder: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
hint: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
isClearable: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
itemTitle: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
itemValue: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
disableDefaultOption: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
showDefaultOption: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: PropType<string>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
}>, {
|
|
60
|
+
focused: import('vue').Ref<boolean, boolean>;
|
|
61
|
+
isValid: import('vue').ComputedRef<boolean>;
|
|
62
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
+
"click:clear": (...args: any[]) => void;
|
|
64
|
+
"update:modelValue": (value: string) => void;
|
|
65
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
+
label: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
options: {
|
|
71
|
+
type: PropType<Record<string, string>[]>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
required: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
error: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
errorMessages: {
|
|
83
|
+
type: PropType<string[]>;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
86
|
+
rules: {
|
|
87
|
+
type: PropType<Function[]>;
|
|
88
|
+
default: () => never[];
|
|
89
|
+
};
|
|
90
|
+
placeholder: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
hint: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
isClearable: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
itemTitle: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
itemValue: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
disableDefaultOption: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
showDefaultOption: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
modelValue: {
|
|
119
|
+
type: PropType<string>;
|
|
120
|
+
required: true;
|
|
121
|
+
};
|
|
122
|
+
}>> & Readonly<{
|
|
123
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
124
|
+
"onClick:clear"?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
}>, {
|
|
126
|
+
required: boolean;
|
|
127
|
+
error: boolean;
|
|
128
|
+
errorMessages: string[];
|
|
129
|
+
rules: Function[];
|
|
130
|
+
placeholder: string;
|
|
131
|
+
hint: string;
|
|
132
|
+
isClearable: boolean;
|
|
133
|
+
itemTitle: string;
|
|
134
|
+
itemValue: string;
|
|
135
|
+
disableDefaultOption: boolean;
|
|
136
|
+
showDefaultOption: boolean;
|
|
137
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
138
|
+
hint?(_: {}): any;
|
|
139
|
+
}>;
|
|
140
|
+
export default _default;
|
|
141
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
142
|
+
new (): {
|
|
143
|
+
$slots: S;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
prepend?(_: {}): any;
|
|
6
|
+
hint?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
ccInputTextarea: HTMLTextAreaElement;
|
|
10
|
+
};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
inputId: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
label: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
autosize: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
maxlength: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
placeholder: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
minHeight: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: null;
|
|
39
|
+
};
|
|
40
|
+
maxHeight: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
important: {
|
|
45
|
+
type: (ArrayConstructor | BooleanConstructor)[];
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
required: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
hint: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
error: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
errorMessages: {
|
|
61
|
+
type: PropType<string[]>;
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
rules: {
|
|
65
|
+
type: PropType<Function[]>;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: PropType<string | null>;
|
|
70
|
+
};
|
|
71
|
+
}>, {
|
|
72
|
+
focused: import('vue').Ref<boolean, boolean>;
|
|
73
|
+
isValid: import('vue').ComputedRef<boolean>;
|
|
74
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
75
|
+
"update:modelValue": (value: string | null | undefined) => any;
|
|
76
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
77
|
+
inputId: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
label: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
required: false;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
autosize: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
maxlength: {
|
|
91
|
+
type: NumberConstructor;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
placeholder: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
minHeight: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: null;
|
|
101
|
+
};
|
|
102
|
+
maxHeight: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
default: null;
|
|
105
|
+
};
|
|
106
|
+
important: {
|
|
107
|
+
type: (ArrayConstructor | BooleanConstructor)[];
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
required: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
hint: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
error: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
errorMessages: {
|
|
123
|
+
type: PropType<string[]>;
|
|
124
|
+
default: () => never[];
|
|
125
|
+
};
|
|
126
|
+
rules: {
|
|
127
|
+
type: PropType<Function[]>;
|
|
128
|
+
default: () => never[];
|
|
129
|
+
};
|
|
130
|
+
modelValue: {
|
|
131
|
+
type: PropType<string | null>;
|
|
132
|
+
};
|
|
133
|
+
}>> & Readonly<{
|
|
134
|
+
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
135
|
+
}>, {
|
|
136
|
+
label: string;
|
|
137
|
+
required: boolean;
|
|
138
|
+
error: boolean;
|
|
139
|
+
errorMessages: string[];
|
|
140
|
+
rules: Function[];
|
|
141
|
+
inputId: string;
|
|
142
|
+
placeholder: string;
|
|
143
|
+
hint: string;
|
|
144
|
+
autosize: boolean;
|
|
145
|
+
maxlength: number;
|
|
146
|
+
minHeight: number;
|
|
147
|
+
maxHeight: number;
|
|
148
|
+
important: boolean | unknown[];
|
|
149
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
150
|
+
ccInputTextarea: HTMLTextAreaElement;
|
|
151
|
+
}, HTMLDivElement>;
|
|
152
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
153
|
+
export default _default;
|
|
154
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
155
|
+
new (): {
|
|
156
|
+
$slots: S;
|
|
157
|
+
};
|
|
158
|
+
};
|