@codemonster-ru/vueforge 0.54.0 → 0.56.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 +116 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.ts.mjs +3622 -3247
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/inline-edit.test.d.ts +1 -0
- package/dist/package/components/__tests__/mention-input.test.d.ts +1 -0
- package/dist/package/components/autocomplete.vue.d.ts +2 -2
- package/dist/package/components/data-table.vue.d.ts +1 -1
- package/dist/package/components/inline-edit.vue.d.ts +47 -0
- package/dist/package/components/mention-input.vue.d.ts +64 -0
- package/dist/package/components/multi-select.vue.d.ts +2 -2
- package/dist/package/components/tag-input.vue.d.ts +2 -2
- package/dist/package/components/tree-select.vue.d.ts +1 -1
- package/dist/package/config/theme-core.d.ts +72 -0
- package/dist/package/themes/default/components/inline-edit.d.ts +35 -0
- package/dist/package/themes/default/components/mention-input.d.ts +37 -0
- package/dist/package/themes/default/index.d.ts +70 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -42,11 +42,11 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
42
42
|
modelValue: OptionValue;
|
|
43
43
|
placeholder: string;
|
|
44
44
|
readonly: boolean;
|
|
45
|
+
loadingText: string;
|
|
46
|
+
emptyText: string;
|
|
45
47
|
options: Array<OptionItem>;
|
|
46
48
|
optionLabel: string;
|
|
47
49
|
optionValue: string;
|
|
48
|
-
loadingText: string;
|
|
49
|
-
emptyText: string;
|
|
50
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
51
51
|
root: HTMLDivElement;
|
|
52
52
|
control: HTMLInputElement;
|
|
@@ -62,9 +62,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
62
62
|
loading: boolean;
|
|
63
63
|
variant: Variant;
|
|
64
64
|
ariaLabel: string;
|
|
65
|
-
rows: Array<Record<string, unknown>>;
|
|
66
65
|
loadingText: string;
|
|
67
66
|
emptyText: string;
|
|
67
|
+
rows: Array<Record<string, unknown>>;
|
|
68
68
|
columns: Array<DataTableColumn>;
|
|
69
69
|
rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
70
70
|
sortable: boolean;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
type InlineEditType = 'text' | 'number';
|
|
4
|
+
type InlineEditValue = string | number | null;
|
|
5
|
+
interface Props {
|
|
6
|
+
modelValue?: InlineEditValue;
|
|
7
|
+
type?: InlineEditType;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
size?: Size;
|
|
12
|
+
variant?: Variant;
|
|
13
|
+
editLabel?: string;
|
|
14
|
+
saveLabel?: string;
|
|
15
|
+
cancelLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
end: (...args: any[]) => void;
|
|
19
|
+
blur: (...args: any[]) => void;
|
|
20
|
+
cancel: (...args: any[]) => void;
|
|
21
|
+
focus: (...args: any[]) => void;
|
|
22
|
+
"update:modelValue": (...args: any[]) => void;
|
|
23
|
+
save: (...args: any[]) => void;
|
|
24
|
+
start: (...args: any[]) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
onEnd?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
type: InlineEditType;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
size: Size;
|
|
37
|
+
variant: Variant;
|
|
38
|
+
modelValue: InlineEditValue;
|
|
39
|
+
placeholder: string;
|
|
40
|
+
readonly: boolean;
|
|
41
|
+
editLabel: string;
|
|
42
|
+
saveLabel: string;
|
|
43
|
+
cancelLabel: string;
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
45
|
+
inputRef: HTMLInputElement;
|
|
46
|
+
}, HTMLDivElement>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
interface MentionOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value?: string | number;
|
|
6
|
+
trigger?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
suggestions?: Array<MentionOption>;
|
|
12
|
+
triggers?: Array<string>;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
loadingText?: string;
|
|
18
|
+
emptyText?: string;
|
|
19
|
+
minQueryLength?: number;
|
|
20
|
+
maxSuggestions?: number;
|
|
21
|
+
appendSpace?: boolean;
|
|
22
|
+
size?: Size;
|
|
23
|
+
variant?: Variant;
|
|
24
|
+
ariaLabel?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
search: (...args: any[]) => void;
|
|
28
|
+
blur: (...args: any[]) => void;
|
|
29
|
+
change: (...args: any[]) => void;
|
|
30
|
+
focus: (...args: any[]) => void;
|
|
31
|
+
input: (...args: any[]) => void;
|
|
32
|
+
select: (...args: any[]) => void;
|
|
33
|
+
"update:modelValue": (...args: any[]) => void;
|
|
34
|
+
insert: (...args: any[]) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
36
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onInsert?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
size: Size;
|
|
47
|
+
loading: boolean;
|
|
48
|
+
variant: Variant;
|
|
49
|
+
modelValue: string;
|
|
50
|
+
placeholder: string;
|
|
51
|
+
readonly: boolean;
|
|
52
|
+
ariaLabel: string;
|
|
53
|
+
suggestions: Array<MentionOption>;
|
|
54
|
+
triggers: Array<string>;
|
|
55
|
+
loadingText: string;
|
|
56
|
+
emptyText: string;
|
|
57
|
+
minQueryLength: number;
|
|
58
|
+
maxSuggestions: number;
|
|
59
|
+
appendSpace: boolean;
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
61
|
+
root: HTMLDivElement;
|
|
62
|
+
control: HTMLInputElement;
|
|
63
|
+
}, HTMLDivElement>;
|
|
64
|
+
export default _default;
|
|
@@ -45,11 +45,11 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
45
45
|
placeholder: string;
|
|
46
46
|
readonly: boolean;
|
|
47
47
|
clearable: boolean;
|
|
48
|
+
loadingText: string;
|
|
49
|
+
emptyText: string;
|
|
48
50
|
options: Array<OptionItem>;
|
|
49
51
|
optionLabel: string;
|
|
50
52
|
optionValue: string;
|
|
51
|
-
loadingText: string;
|
|
52
|
-
emptyText: string;
|
|
53
53
|
searchPlaceholder: string;
|
|
54
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
55
55
|
root: HTMLDivElement;
|
|
@@ -53,11 +53,11 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
53
53
|
placeholder: string;
|
|
54
54
|
readonly: boolean;
|
|
55
55
|
clearable: boolean;
|
|
56
|
+
loadingText: string;
|
|
57
|
+
emptyText: string;
|
|
56
58
|
options: Array<OptionItem>;
|
|
57
59
|
optionLabel: string;
|
|
58
60
|
optionValue: string;
|
|
59
|
-
loadingText: string;
|
|
60
|
-
emptyText: string;
|
|
61
61
|
maxTags: number;
|
|
62
62
|
allowCustom: boolean;
|
|
63
63
|
validateTag: (value: string) => boolean;
|
|
@@ -70,9 +70,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
70
70
|
placeholder: string;
|
|
71
71
|
readonly: boolean;
|
|
72
72
|
clearable: boolean;
|
|
73
|
-
multiple: boolean;
|
|
74
73
|
loadingText: string;
|
|
75
74
|
emptyText: string;
|
|
75
|
+
multiple: boolean;
|
|
76
76
|
searchPlaceholder: string;
|
|
77
77
|
expandOnClick: boolean;
|
|
78
78
|
selectable: boolean;
|
|
@@ -77,6 +77,40 @@ export type InputTokens = {
|
|
|
77
77
|
fontSize?: string;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
+
export type InlineEditTokens = {
|
|
81
|
+
gap?: string;
|
|
82
|
+
fontSize?: string;
|
|
83
|
+
padding?: string;
|
|
84
|
+
borderRadius?: string;
|
|
85
|
+
borderColor?: string;
|
|
86
|
+
backgroundColor?: string;
|
|
87
|
+
textColor?: string;
|
|
88
|
+
placeholderColor?: string;
|
|
89
|
+
focusBorderColor?: string;
|
|
90
|
+
focusRingShadow?: string;
|
|
91
|
+
hoverBorderColor?: string;
|
|
92
|
+
disabledOpacity?: string;
|
|
93
|
+
actionsGap?: string;
|
|
94
|
+
buttonPadding?: string;
|
|
95
|
+
buttonRadius?: string;
|
|
96
|
+
buttonBorderColor?: string;
|
|
97
|
+
buttonBackgroundColor?: string;
|
|
98
|
+
buttonTextColor?: string;
|
|
99
|
+
buttonHoverBackgroundColor?: string;
|
|
100
|
+
cancelButtonBackgroundColor?: string;
|
|
101
|
+
cancelButtonTextColor?: string;
|
|
102
|
+
cancelButtonBorderColor?: string;
|
|
103
|
+
small?: {
|
|
104
|
+
padding?: string;
|
|
105
|
+
fontSize?: string;
|
|
106
|
+
buttonPadding?: string;
|
|
107
|
+
};
|
|
108
|
+
large?: {
|
|
109
|
+
padding?: string;
|
|
110
|
+
fontSize?: string;
|
|
111
|
+
buttonPadding?: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
80
114
|
export type SearchInputTokens = {
|
|
81
115
|
gap?: string;
|
|
82
116
|
fontSize?: string;
|
|
@@ -111,6 +145,42 @@ export type SearchInputTokens = {
|
|
|
111
145
|
clearSize?: string;
|
|
112
146
|
};
|
|
113
147
|
};
|
|
148
|
+
export type MentionInputTokens = {
|
|
149
|
+
minWidth?: string;
|
|
150
|
+
fontSize?: string;
|
|
151
|
+
padding?: string;
|
|
152
|
+
borderRadius?: string;
|
|
153
|
+
borderColor?: string;
|
|
154
|
+
backgroundColor?: string;
|
|
155
|
+
textColor?: string;
|
|
156
|
+
placeholderColor?: string;
|
|
157
|
+
focusBorderColor?: string;
|
|
158
|
+
focusRingShadow?: string;
|
|
159
|
+
hoverBorderColor?: string;
|
|
160
|
+
disabledOpacity?: string;
|
|
161
|
+
panelBackgroundColor?: string;
|
|
162
|
+
panelBorderColor?: string;
|
|
163
|
+
panelPadding?: string;
|
|
164
|
+
panelMaxHeight?: string;
|
|
165
|
+
panelRadiusOffset?: string;
|
|
166
|
+
panelShadow?: string;
|
|
167
|
+
optionPadding?: string;
|
|
168
|
+
optionGap?: string;
|
|
169
|
+
optionBorderRadius?: string;
|
|
170
|
+
optionFontSize?: string;
|
|
171
|
+
optionHoverBackgroundColor?: string;
|
|
172
|
+
optionTriggerColor?: string;
|
|
173
|
+
emptyPadding?: string;
|
|
174
|
+
emptyColor?: string;
|
|
175
|
+
small?: {
|
|
176
|
+
padding?: string;
|
|
177
|
+
fontSize?: string;
|
|
178
|
+
};
|
|
179
|
+
large?: {
|
|
180
|
+
padding?: string;
|
|
181
|
+
fontSize?: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
114
184
|
export type PasswordInputTokens = {
|
|
115
185
|
gap?: string;
|
|
116
186
|
fontSize?: string;
|
|
@@ -1573,7 +1643,9 @@ export type ThemeComponentTokens = {
|
|
|
1573
1643
|
tabs?: TabsTokens;
|
|
1574
1644
|
accordion?: AccordionTokens;
|
|
1575
1645
|
input?: InputTokens;
|
|
1646
|
+
inlineEdit?: InlineEditTokens;
|
|
1576
1647
|
searchInput?: SearchInputTokens;
|
|
1648
|
+
mentionInput?: MentionInputTokens;
|
|
1577
1649
|
passwordInput?: PasswordInputTokens;
|
|
1578
1650
|
otpInput?: OtpInputTokens;
|
|
1579
1651
|
colorPicker?: ColorPickerTokens;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
fontSize: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
textColor: string;
|
|
9
|
+
placeholderColor: string;
|
|
10
|
+
focusBorderColor: string;
|
|
11
|
+
focusRingShadow: string;
|
|
12
|
+
hoverBorderColor: string;
|
|
13
|
+
disabledOpacity: string;
|
|
14
|
+
actionsGap: string;
|
|
15
|
+
buttonPadding: string;
|
|
16
|
+
buttonRadius: string;
|
|
17
|
+
buttonBorderColor: string;
|
|
18
|
+
buttonBackgroundColor: string;
|
|
19
|
+
buttonTextColor: string;
|
|
20
|
+
buttonHoverBackgroundColor: string;
|
|
21
|
+
cancelButtonBackgroundColor: string;
|
|
22
|
+
cancelButtonTextColor: string;
|
|
23
|
+
cancelButtonBorderColor: string;
|
|
24
|
+
small: {
|
|
25
|
+
padding: string;
|
|
26
|
+
fontSize: string;
|
|
27
|
+
buttonPadding: string;
|
|
28
|
+
};
|
|
29
|
+
large: {
|
|
30
|
+
padding: string;
|
|
31
|
+
fontSize: string;
|
|
32
|
+
buttonPadding: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
minWidth: string;
|
|
3
|
+
fontSize: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
textColor: string;
|
|
9
|
+
placeholderColor: string;
|
|
10
|
+
focusBorderColor: string;
|
|
11
|
+
focusRingShadow: string;
|
|
12
|
+
hoverBorderColor: string;
|
|
13
|
+
disabledOpacity: string;
|
|
14
|
+
panelBackgroundColor: string;
|
|
15
|
+
panelBorderColor: string;
|
|
16
|
+
panelPadding: string;
|
|
17
|
+
panelMaxHeight: string;
|
|
18
|
+
panelRadiusOffset: string;
|
|
19
|
+
panelShadow: string;
|
|
20
|
+
optionPadding: string;
|
|
21
|
+
optionGap: string;
|
|
22
|
+
optionBorderRadius: string;
|
|
23
|
+
optionFontSize: string;
|
|
24
|
+
optionHoverBackgroundColor: string;
|
|
25
|
+
optionTriggerColor: string;
|
|
26
|
+
emptyPadding: string;
|
|
27
|
+
emptyColor: string;
|
|
28
|
+
small: {
|
|
29
|
+
padding: string;
|
|
30
|
+
fontSize: string;
|
|
31
|
+
};
|
|
32
|
+
large: {
|
|
33
|
+
padding: string;
|
|
34
|
+
fontSize: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
@@ -234,6 +234,40 @@ declare const _default: {
|
|
|
234
234
|
fontSize: string;
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
+
inlineEdit: {
|
|
238
|
+
gap: string;
|
|
239
|
+
fontSize: string;
|
|
240
|
+
padding: string;
|
|
241
|
+
borderRadius: string;
|
|
242
|
+
borderColor: string;
|
|
243
|
+
backgroundColor: string;
|
|
244
|
+
textColor: string;
|
|
245
|
+
placeholderColor: string;
|
|
246
|
+
focusBorderColor: string;
|
|
247
|
+
focusRingShadow: string;
|
|
248
|
+
hoverBorderColor: string;
|
|
249
|
+
disabledOpacity: string;
|
|
250
|
+
actionsGap: string;
|
|
251
|
+
buttonPadding: string;
|
|
252
|
+
buttonRadius: string;
|
|
253
|
+
buttonBorderColor: string;
|
|
254
|
+
buttonBackgroundColor: string;
|
|
255
|
+
buttonTextColor: string;
|
|
256
|
+
buttonHoverBackgroundColor: string;
|
|
257
|
+
cancelButtonBackgroundColor: string;
|
|
258
|
+
cancelButtonTextColor: string;
|
|
259
|
+
cancelButtonBorderColor: string;
|
|
260
|
+
small: {
|
|
261
|
+
padding: string;
|
|
262
|
+
fontSize: string;
|
|
263
|
+
buttonPadding: string;
|
|
264
|
+
};
|
|
265
|
+
large: {
|
|
266
|
+
padding: string;
|
|
267
|
+
fontSize: string;
|
|
268
|
+
buttonPadding: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
237
271
|
searchInput: {
|
|
238
272
|
gap: string;
|
|
239
273
|
fontSize: string;
|
|
@@ -268,6 +302,42 @@ declare const _default: {
|
|
|
268
302
|
clearSize: string;
|
|
269
303
|
};
|
|
270
304
|
};
|
|
305
|
+
mentionInput: {
|
|
306
|
+
minWidth: string;
|
|
307
|
+
fontSize: string;
|
|
308
|
+
padding: string;
|
|
309
|
+
borderRadius: string;
|
|
310
|
+
borderColor: string;
|
|
311
|
+
backgroundColor: string;
|
|
312
|
+
textColor: string;
|
|
313
|
+
placeholderColor: string;
|
|
314
|
+
focusBorderColor: string;
|
|
315
|
+
focusRingShadow: string;
|
|
316
|
+
hoverBorderColor: string;
|
|
317
|
+
disabledOpacity: string;
|
|
318
|
+
panelBackgroundColor: string;
|
|
319
|
+
panelBorderColor: string;
|
|
320
|
+
panelPadding: string;
|
|
321
|
+
panelMaxHeight: string;
|
|
322
|
+
panelRadiusOffset: string;
|
|
323
|
+
panelShadow: string;
|
|
324
|
+
optionPadding: string;
|
|
325
|
+
optionGap: string;
|
|
326
|
+
optionBorderRadius: string;
|
|
327
|
+
optionFontSize: string;
|
|
328
|
+
optionHoverBackgroundColor: string;
|
|
329
|
+
optionTriggerColor: string;
|
|
330
|
+
emptyPadding: string;
|
|
331
|
+
emptyColor: string;
|
|
332
|
+
small: {
|
|
333
|
+
padding: string;
|
|
334
|
+
fontSize: string;
|
|
335
|
+
};
|
|
336
|
+
large: {
|
|
337
|
+
padding: string;
|
|
338
|
+
fontSize: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
271
341
|
passwordInput: {
|
|
272
342
|
gap: string;
|
|
273
343
|
fontSize: string;
|