@codemonster-ru/vueforge 0.55.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.
@@ -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,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;
@@ -145,6 +145,42 @@ export type SearchInputTokens = {
145
145
  clearSize?: string;
146
146
  };
147
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
+ };
148
184
  export type PasswordInputTokens = {
149
185
  gap?: string;
150
186
  fontSize?: string;
@@ -1609,6 +1645,7 @@ export type ThemeComponentTokens = {
1609
1645
  input?: InputTokens;
1610
1646
  inlineEdit?: InlineEditTokens;
1611
1647
  searchInput?: SearchInputTokens;
1648
+ mentionInput?: MentionInputTokens;
1612
1649
  passwordInput?: PasswordInputTokens;
1613
1650
  otpInput?: OtpInputTokens;
1614
1651
  colorPicker?: ColorPickerTokens;
@@ -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;
@@ -302,6 +302,42 @@ declare const _default: {
302
302
  clearSize: string;
303
303
  };
304
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
+ };
305
341
  passwordInput: {
306
342
  gap: string;
307
343
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",