@feedmepos/ui-library 0.0.1-alpha.12
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 +32 -0
- package/dist/components/breadcrumb/FmBreadcrumb.vue.d.ts +20 -0
- package/dist/components/button/FmButton.vue.d.ts +61 -0
- package/dist/components/card/FmCard.vue.d.ts +48 -0
- package/dist/components/card/FmCardActions.vue.d.ts +22 -0
- package/dist/components/card/FmCardSection.vue.d.ts +21 -0
- package/dist/components/card/FmCardTitle.vue.d.ts +10 -0
- package/dist/components/chart/line/FmLine.vue.d.ts +42 -0
- package/dist/components/date-picker/FmDatePicker.vue.d.ts +35 -0
- package/dist/components/date-range-picker/FmDateRangePicker.vue.d.ts +35 -0
- package/dist/components/form/checkbox/FmCheckbox.vue.d.ts +66 -0
- package/dist/components/form/input/base-input/FmField.vue.d.ts +64 -0
- package/dist/components/form/radio/FmRadio.vue.d.ts +66 -0
- package/dist/components/form/select/FmSelect.vue.d.ts +90 -0
- package/dist/components/form/stepper-field/FmStepperField.vue.d.ts +168 -0
- package/dist/components/form/switch/FmSwitch.vue.d.ts +86 -0
- package/dist/components/form/text-field/FmTextField.vue.d.ts +210 -0
- package/dist/components/form/textarea/FmTextarea.vue.d.ts +131 -0
- package/dist/components/icon/FmIcon.vue.d.ts +41 -0
- package/dist/components/list/FmList.vue.d.ts +41 -0
- package/dist/components/list/FmListItem.vue.d.ts +54 -0
- package/dist/components/menu/dropdown/FmDropdown.vue.d.ts +49 -0
- package/dist/components/menu/menu-container/FmMenu.vue.d.ts +9 -0
- package/dist/components/menu/menu-item/FmMenuItem.vue.d.ts +99 -0
- package/dist/components/progress-indicator/FmProgressIndicator.vue.d.ts +46 -0
- package/dist/components/progress-indicator/FmProgressIndicatorGroup.vue.d.ts +72 -0
- package/dist/components/snackbar/FmSnackbar.vue.d.ts +83 -0
- package/dist/components/tooltip/FmTooltip.vue.d.ts +65 -0
- package/dist/composables/validation.d.ts +6 -0
- package/dist/favicon.ico +0 -0
- package/dist/federation/FmBreadcrumb-7a206e9b.css +1 -0
- package/dist/federation/FmBreadcrumb.vue_vue_type_style_index_0_lang-4abc649e.js +1 -0
- package/dist/federation/FmButton-bd6d2e4b.css +1 -0
- package/dist/federation/FmCheckbox-53f405a9.css +1 -0
- package/dist/federation/FmCheckbox.vue_vue_type_style_index_0_lang-fcb61ef1.js +1 -0
- package/dist/federation/FmDatePicker-750315ee.css +1 -0
- package/dist/federation/FmDateRangePicker-fbfec16c.css +1 -0
- package/dist/federation/FmDropdown-7ce00217.css +1 -0
- package/dist/federation/FmIcon-99d8fba2.css +1 -0
- package/dist/federation/FmLine.vue_vue_type_script_setup_true_lang-2809cd69.js +3 -0
- package/dist/federation/FmMenu-a00148e7.css +1 -0
- package/dist/federation/FmMenuItem-e8678045.css +1 -0
- package/dist/federation/FmProgressIndicator-298ef84b.css +1 -0
- package/dist/federation/FmProgressIndicatorGroup-58d5cb90.css +1 -0
- package/dist/federation/FmProgressIndicatorGroup.vue_vue_type_style_index_0_lang-243ecd13.js +1 -0
- package/dist/federation/FmRadio-b168530f.css +1 -0
- package/dist/federation/FmSelect-a6d7df4f.css +1 -0
- package/dist/federation/FmSnackbar-1bbe14e3.css +1 -0
- package/dist/federation/FmSwitch-7605f854.css +1 -0
- package/dist/federation/FmTextField-fc9b77ba.css +1 -0
- package/dist/federation/FmTextField.vue_vue_type_style_index_0_lang-473d3f81.js +1 -0
- package/dist/federation/FmTextarea-57fcf19a.css +1 -0
- package/dist/federation/FmTextarea.vue_vue_type_style_index_0_lang-5db78d57.js +1 -0
- package/dist/federation/FmTooltip.vue_vue_type_script_setup_true_lang-7b39efc3.js +1 -0
- package/dist/federation/__federation_expose_FmBreadcrumb-3527b347.js +1 -0
- package/dist/federation/__federation_expose_FmButton-71bb9d18.js +8 -0
- package/dist/federation/__federation_expose_FmCheckbox-08a0fd35.js +1 -0
- package/dist/federation/__federation_expose_FmDatePicker-d996afce.js +1 -0
- package/dist/federation/__federation_expose_FmDateRangePicker-1d6f07d7.js +1 -0
- package/dist/federation/__federation_expose_FmDropdown-604d6b6a.js +1 -0
- package/dist/federation/__federation_expose_FmIcon-e5ab92a8.js +1 -0
- package/dist/federation/__federation_expose_FmLineChart-443455d3.js +1 -0
- package/dist/federation/__federation_expose_FmMenu-ed4b43e0.js +1 -0
- package/dist/federation/__federation_expose_FmMenuItem-bcffecb3.js +1 -0
- package/dist/federation/__federation_expose_FmProgressIndicator-07af3c15.js +1 -0
- package/dist/federation/__federation_expose_FmProgressIndicatorGroup-c3359ab1.js +1 -0
- package/dist/federation/__federation_expose_FmRadio-b90999bf.js +1 -0
- package/dist/federation/__federation_expose_FmSelect-1855f320.js +1 -0
- package/dist/federation/__federation_expose_FmSnackbar-7af29a69.js +1 -0
- package/dist/federation/__federation_expose_FmSwitch-f75dd36e.js +1 -0
- package/dist/federation/__federation_expose_FmTextField-48c256e7.js +1 -0
- package/dist/federation/__federation_expose_FmTextarea-901d18eb.js +1 -0
- package/dist/federation/__federation_expose_FmTooltip-61035ccf.js +1 -0
- package/dist/federation/__federation_fn_import.js +1 -0
- package/dist/federation/__federation_shared_vue-7b8990b1.js +1 -0
- package/dist/federation/_plugin-vue_export-helper-c27b6911.js +1 -0
- package/dist/federation/dayjs.min-5433e12a.js +1 -0
- package/dist/federation/feedmepos-ui-components.js +1 -0
- package/dist/federation/index-0fb0d627.css +1 -0
- package/dist/federation/index-13778968.js +11 -0
- package/dist/federation/preload-helper-cf010ec4.js +1 -0
- package/dist/feedmepos-ui-library.es.js +11225 -0
- package/dist/feedmepos-ui-library.umd.js +29 -0
- package/dist/index.d.ts +23 -0
- package/dist/style.css +1 -0
- package/dist/tailwind-plugin.js +230 -0
- package/dist/utils/util-color.d.ts +4 -0
- package/package.json +74 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { type ValidationRule } from '../../../composables/validation';
|
|
2
|
+
export interface FmStepperFieldProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
modelValue: number | null;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
helperText?: string;
|
|
9
|
+
inputmode?: 'numeric' | 'decimal';
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
step?: number;
|
|
12
|
+
min?: number;
|
|
13
|
+
max: number;
|
|
14
|
+
leadingIcon?: string;
|
|
15
|
+
useGrouping?: boolean;
|
|
16
|
+
isCurrency?: boolean;
|
|
17
|
+
showSteppers?: boolean;
|
|
18
|
+
rules?: ValidationRule[];
|
|
19
|
+
}
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
21
|
+
required: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
label: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
min: {
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
max: {
|
|
36
|
+
type: import("vue").PropType<number>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: import("vue").PropType<number | null>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
leadingIcon: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
placeholder: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
helperText: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
inputmode: {
|
|
56
|
+
type: import("vue").PropType<"numeric" | "decimal">;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
readonly: {
|
|
60
|
+
type: import("vue").PropType<boolean>;
|
|
61
|
+
};
|
|
62
|
+
step: {
|
|
63
|
+
type: import("vue").PropType<number>;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
useGrouping: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
isCurrency: {
|
|
71
|
+
type: import("vue").PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
showSteppers: {
|
|
75
|
+
type: import("vue").PropType<boolean>;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
rules: {
|
|
79
|
+
type: import("vue").PropType<ValidationRule[]>;
|
|
80
|
+
default: () => ((val: any) => true | "nothing")[];
|
|
81
|
+
};
|
|
82
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
+
"update:modelValue": (...args: any[]) => void;
|
|
84
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
required: {
|
|
86
|
+
type: import("vue").PropType<boolean>;
|
|
87
|
+
};
|
|
88
|
+
label: {
|
|
89
|
+
type: import("vue").PropType<string>;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
type: import("vue").PropType<boolean>;
|
|
94
|
+
};
|
|
95
|
+
min: {
|
|
96
|
+
type: import("vue").PropType<number>;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
max: {
|
|
100
|
+
type: import("vue").PropType<number>;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
modelValue: {
|
|
104
|
+
type: import("vue").PropType<number | null>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
leadingIcon: {
|
|
108
|
+
type: import("vue").PropType<string>;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
placeholder: {
|
|
112
|
+
type: import("vue").PropType<string>;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
helperText: {
|
|
116
|
+
type: import("vue").PropType<string>;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
inputmode: {
|
|
120
|
+
type: import("vue").PropType<"numeric" | "decimal">;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
readonly: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
};
|
|
126
|
+
step: {
|
|
127
|
+
type: import("vue").PropType<number>;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
useGrouping: {
|
|
131
|
+
type: import("vue").PropType<boolean>;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
isCurrency: {
|
|
135
|
+
type: import("vue").PropType<boolean>;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
showSteppers: {
|
|
139
|
+
type: import("vue").PropType<boolean>;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
rules: {
|
|
143
|
+
type: import("vue").PropType<ValidationRule[]>;
|
|
144
|
+
default: () => ((val: any) => true | "nothing")[];
|
|
145
|
+
};
|
|
146
|
+
}>> & {
|
|
147
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
}, {
|
|
149
|
+
label: string;
|
|
150
|
+
min: number;
|
|
151
|
+
leadingIcon: string;
|
|
152
|
+
placeholder: string;
|
|
153
|
+
helperText: string;
|
|
154
|
+
inputmode: "numeric" | "decimal";
|
|
155
|
+
step: number;
|
|
156
|
+
useGrouping: boolean;
|
|
157
|
+
isCurrency: boolean;
|
|
158
|
+
showSteppers: boolean;
|
|
159
|
+
rules: ValidationRule[];
|
|
160
|
+
}, {}>, {
|
|
161
|
+
label?(_: {}): any;
|
|
162
|
+
}>;
|
|
163
|
+
export default _default;
|
|
164
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
165
|
+
new (): {
|
|
166
|
+
$slots: S;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export interface FmSwitchProps {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
label?: string;
|
|
4
|
+
sublabel?: string;
|
|
5
|
+
labelPlacement?: 'left' | 'right';
|
|
6
|
+
value: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
showIcon?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
11
|
+
label: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
sublabel: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
value: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
labelPlacement: {
|
|
32
|
+
type: import("vue").PropType<"left" | "right">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
showIcon: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
"update:modelValue": (value: boolean) => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
label: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
sublabel: {
|
|
55
|
+
type: import("vue").PropType<string>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
value: {
|
|
59
|
+
type: import("vue").PropType<string>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
labelPlacement: {
|
|
63
|
+
type: import("vue").PropType<"left" | "right">;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
showIcon: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
label: string;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
sublabel: string;
|
|
76
|
+
labelPlacement: "left" | "right";
|
|
77
|
+
showIcon: boolean;
|
|
78
|
+
}, {}>, {
|
|
79
|
+
label?(_: {}): any;
|
|
80
|
+
}>;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { type ValidationRule } from '../../../composables/validation';
|
|
2
|
+
export interface FmTextFieldProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
modelValue: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
helperText?: string;
|
|
9
|
+
minLength?: number;
|
|
10
|
+
maxLength?: number;
|
|
11
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
inputState?: 'success' | 'warning' | 'error' | 'default';
|
|
14
|
+
labelMark?: 'required' | 'optional' | 'none';
|
|
15
|
+
leadingIcon?: {
|
|
16
|
+
name: string;
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
19
|
+
trailingIcon?: {
|
|
20
|
+
name: string;
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
rules?: ValidationRule[];
|
|
24
|
+
}
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
26
|
+
required: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
label: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
40
|
+
required: true;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
leadingIcon: {
|
|
44
|
+
type: import("vue").PropType<{
|
|
45
|
+
name: string;
|
|
46
|
+
color: string;
|
|
47
|
+
}>;
|
|
48
|
+
default: () => {
|
|
49
|
+
name: string;
|
|
50
|
+
color: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
trailingIcon: {
|
|
54
|
+
type: import("vue").PropType<{
|
|
55
|
+
name: string;
|
|
56
|
+
color: string;
|
|
57
|
+
}>;
|
|
58
|
+
default: () => {
|
|
59
|
+
name: string;
|
|
60
|
+
color: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
placeholder: {
|
|
64
|
+
type: import("vue").PropType<string>;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
helperText: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
inputmode: {
|
|
72
|
+
type: import("vue").PropType<"text" | "search" | "none" | "numeric" | "decimal" | "tel" | "email" | "url">;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
readonly: {
|
|
76
|
+
type: import("vue").PropType<boolean>;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
rules: {
|
|
80
|
+
type: import("vue").PropType<ValidationRule[]>;
|
|
81
|
+
default: () => never[];
|
|
82
|
+
};
|
|
83
|
+
minLength: {
|
|
84
|
+
type: import("vue").PropType<number>;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
maxLength: {
|
|
88
|
+
type: import("vue").PropType<number>;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
inputState: {
|
|
92
|
+
type: import("vue").PropType<"default" | "error" | "warning" | "success">;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
labelMark: {
|
|
96
|
+
type: import("vue").PropType<"required" | "none" | "optional">;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
100
|
+
"update:modelValue": (...args: any[]) => void;
|
|
101
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
required: {
|
|
103
|
+
type: import("vue").PropType<boolean>;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
label: {
|
|
107
|
+
type: import("vue").PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
disabled: {
|
|
111
|
+
type: import("vue").PropType<boolean>;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: import("vue").PropType<string>;
|
|
116
|
+
required: true;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
leadingIcon: {
|
|
120
|
+
type: import("vue").PropType<{
|
|
121
|
+
name: string;
|
|
122
|
+
color: string;
|
|
123
|
+
}>;
|
|
124
|
+
default: () => {
|
|
125
|
+
name: string;
|
|
126
|
+
color: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
trailingIcon: {
|
|
130
|
+
type: import("vue").PropType<{
|
|
131
|
+
name: string;
|
|
132
|
+
color: string;
|
|
133
|
+
}>;
|
|
134
|
+
default: () => {
|
|
135
|
+
name: string;
|
|
136
|
+
color: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
placeholder: {
|
|
140
|
+
type: import("vue").PropType<string>;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
helperText: {
|
|
144
|
+
type: import("vue").PropType<string>;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
inputmode: {
|
|
148
|
+
type: import("vue").PropType<"text" | "search" | "none" | "numeric" | "decimal" | "tel" | "email" | "url">;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
readonly: {
|
|
152
|
+
type: import("vue").PropType<boolean>;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
rules: {
|
|
156
|
+
type: import("vue").PropType<ValidationRule[]>;
|
|
157
|
+
default: () => never[];
|
|
158
|
+
};
|
|
159
|
+
minLength: {
|
|
160
|
+
type: import("vue").PropType<number>;
|
|
161
|
+
default: number;
|
|
162
|
+
};
|
|
163
|
+
maxLength: {
|
|
164
|
+
type: import("vue").PropType<number>;
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
inputState: {
|
|
168
|
+
type: import("vue").PropType<"default" | "error" | "warning" | "success">;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
labelMark: {
|
|
172
|
+
type: import("vue").PropType<"required" | "none" | "optional">;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
}>> & {
|
|
176
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
required: boolean;
|
|
179
|
+
label: string;
|
|
180
|
+
disabled: boolean;
|
|
181
|
+
modelValue: string;
|
|
182
|
+
leadingIcon: {
|
|
183
|
+
name: string;
|
|
184
|
+
color: string;
|
|
185
|
+
};
|
|
186
|
+
trailingIcon: {
|
|
187
|
+
name: string;
|
|
188
|
+
color: string;
|
|
189
|
+
};
|
|
190
|
+
placeholder: string;
|
|
191
|
+
helperText: string;
|
|
192
|
+
inputmode: "text" | "search" | "none" | "numeric" | "decimal" | "tel" | "email" | "url";
|
|
193
|
+
readonly: boolean;
|
|
194
|
+
rules: ValidationRule[];
|
|
195
|
+
minLength: number;
|
|
196
|
+
maxLength: number;
|
|
197
|
+
inputState: "default" | "error" | "warning" | "success";
|
|
198
|
+
labelMark: "required" | "none" | "optional";
|
|
199
|
+
}, {}>, {
|
|
200
|
+
label?(_: {}): any;
|
|
201
|
+
prepend?(_: {}): any;
|
|
202
|
+
append?(_: {}): any;
|
|
203
|
+
"helper-text"?(_: {}): any;
|
|
204
|
+
}>;
|
|
205
|
+
export default _default;
|
|
206
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
207
|
+
new (): {
|
|
208
|
+
$slots: S;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
export interface FmTextareaProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
modelValue: string;
|
|
4
|
+
required?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
helperText?: string;
|
|
8
|
+
minLength?: number;
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
inputState?: 'success' | 'warning' | 'error' | 'default';
|
|
12
|
+
labelMark?: 'required' | 'optional' | 'none';
|
|
13
|
+
}
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
15
|
+
required: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
label: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
required: true;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
placeholder: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
helperText: {
|
|
37
|
+
type: import("vue").PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
readonly: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
minLength: {
|
|
45
|
+
type: import("vue").PropType<number>;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
maxLength: {
|
|
49
|
+
type: import("vue").PropType<number>;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
inputState: {
|
|
53
|
+
type: import("vue").PropType<"default" | "error" | "warning" | "success">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
labelMark: {
|
|
57
|
+
type: import("vue").PropType<"required" | "none" | "optional">;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
+
"update:modelValue": (...args: any[]) => void;
|
|
62
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
required: {
|
|
64
|
+
type: import("vue").PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
label: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
disabled: {
|
|
72
|
+
type: import("vue").PropType<boolean>;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
modelValue: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
required: true;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
placeholder: {
|
|
81
|
+
type: import("vue").PropType<string>;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
helperText: {
|
|
85
|
+
type: import("vue").PropType<string>;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
readonly: {
|
|
89
|
+
type: import("vue").PropType<boolean>;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
minLength: {
|
|
93
|
+
type: import("vue").PropType<number>;
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
96
|
+
maxLength: {
|
|
97
|
+
type: import("vue").PropType<number>;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
inputState: {
|
|
101
|
+
type: import("vue").PropType<"default" | "error" | "warning" | "success">;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
labelMark: {
|
|
105
|
+
type: import("vue").PropType<"required" | "none" | "optional">;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>> & {
|
|
109
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
}, {
|
|
111
|
+
required: boolean;
|
|
112
|
+
label: string;
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
modelValue: string;
|
|
115
|
+
placeholder: string;
|
|
116
|
+
helperText: string;
|
|
117
|
+
readonly: boolean;
|
|
118
|
+
minLength: number;
|
|
119
|
+
maxLength: number;
|
|
120
|
+
inputState: "default" | "error" | "warning" | "success";
|
|
121
|
+
labelMark: "required" | "none" | "optional";
|
|
122
|
+
}, {}>, {
|
|
123
|
+
label?(_: {}): any;
|
|
124
|
+
"helper-text"?(_: {}): any;
|
|
125
|
+
}>;
|
|
126
|
+
export default _default;
|
|
127
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
128
|
+
new (): {
|
|
129
|
+
$slots: S;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
name: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
color: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
outline: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
name: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
color: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
outline: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
37
|
+
color: string;
|
|
38
|
+
outline: boolean;
|
|
39
|
+
size: "sm" | "md" | "lg" | "xl";
|
|
40
|
+
}, {}>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface FmListProps {
|
|
2
|
+
separator?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
activeClass?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
|
+
disabled: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
activeClass: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
separator: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
disabled: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
activeClass: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
separator: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>>, {
|
|
31
|
+
activeClass: string;
|
|
32
|
+
separator: boolean;
|
|
33
|
+
}, {}>, {
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|