@codemonster-ru/vueforge 0.50.0 → 0.52.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.
@@ -0,0 +1,31 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: string;
5
+ disabled?: boolean;
6
+ readonly?: boolean;
7
+ min?: string;
8
+ max?: string;
9
+ locale?: string;
10
+ firstDayOfWeek?: number;
11
+ variant?: Variant;
12
+ size?: Size;
13
+ }
14
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ change: (...args: any[]) => void;
16
+ "update:modelValue": (...args: any[]) => void;
17
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
18
+ onChange?: ((...args: any[]) => any) | undefined;
19
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
+ }>, {
21
+ disabled: boolean;
22
+ size: Size;
23
+ variant: Variant;
24
+ modelValue: string;
25
+ readonly: boolean;
26
+ min: string;
27
+ max: string;
28
+ locale: string;
29
+ firstDayOfWeek: number;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ export default _default;
@@ -44,13 +44,13 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
44
44
  modelValue: Array<OptionValue>;
45
45
  placeholder: string;
46
46
  readonly: boolean;
47
+ clearable: boolean;
47
48
  options: Array<OptionItem>;
48
49
  optionLabel: string;
49
50
  optionValue: string;
50
51
  loadingText: string;
51
52
  emptyText: string;
52
53
  searchPlaceholder: string;
53
- clearable: boolean;
54
54
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
55
55
  root: HTMLDivElement;
56
56
  trigger: HTMLButtonElement;
@@ -37,8 +37,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
37
37
  modelValue: string;
38
38
  placeholder: string;
39
39
  readonly: boolean;
40
- autocomplete: string;
41
40
  ariaLabel: string;
41
+ autocomplete: string;
42
42
  alphanumeric: boolean;
43
43
  autoFocus: boolean;
44
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -52,6 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
52
52
  modelValue: string;
53
53
  placeholder: string;
54
54
  readonly: boolean;
55
+ ariaLabel: string;
55
56
  autocomplete: string;
56
57
  showToggle: boolean;
57
58
  showStrength: boolean;
@@ -64,7 +65,6 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
64
65
  weakLabel: string;
65
66
  mediumLabel: string;
66
67
  strongLabel: string;
67
- ariaLabel: string;
68
68
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
69
69
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
70
  export default _default;
@@ -0,0 +1,45 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: string;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ readonly?: boolean;
8
+ debounce?: number;
9
+ loading?: boolean;
10
+ clearable?: boolean;
11
+ size?: Size;
12
+ variant?: Variant;
13
+ ariaLabel?: string;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ search: (...args: any[]) => void;
17
+ blur: (...args: any[]) => void;
18
+ change: (...args: any[]) => void;
19
+ focus: (...args: any[]) => void;
20
+ input: (...args: any[]) => void;
21
+ "update:modelValue": (...args: any[]) => void;
22
+ clear: (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ onSearch?: ((...args: any[]) => any) | undefined;
25
+ onBlur?: ((...args: any[]) => any) | undefined;
26
+ onChange?: ((...args: any[]) => any) | undefined;
27
+ onFocus?: ((...args: any[]) => any) | undefined;
28
+ onInput?: ((...args: any[]) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
+ onClear?: ((...args: any[]) => any) | undefined;
31
+ }>, {
32
+ disabled: boolean;
33
+ size: Size;
34
+ loading: boolean;
35
+ variant: Variant;
36
+ modelValue: string;
37
+ placeholder: string;
38
+ readonly: boolean;
39
+ debounce: number;
40
+ clearable: boolean;
41
+ ariaLabel: string;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
+ control: HTMLInputElement;
44
+ }, HTMLDivElement>;
45
+ export default _default;
@@ -52,12 +52,12 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
52
52
  modelValue: Array<OptionValue>;
53
53
  placeholder: string;
54
54
  readonly: boolean;
55
+ clearable: boolean;
55
56
  options: Array<OptionItem>;
56
57
  optionLabel: string;
57
58
  optionValue: string;
58
59
  loadingText: string;
59
60
  emptyText: string;
60
- clearable: boolean;
61
61
  maxTags: number;
62
62
  allowCustom: boolean;
63
63
  validateTag: (value: string) => boolean;
@@ -69,11 +69,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
69
69
  modelValue: TreeValue | TreeValue[];
70
70
  placeholder: string;
71
71
  readonly: boolean;
72
+ clearable: boolean;
72
73
  multiple: boolean;
73
74
  loadingText: string;
74
75
  emptyText: string;
75
76
  searchPlaceholder: string;
76
- clearable: boolean;
77
77
  expandOnClick: boolean;
78
78
  selectable: boolean;
79
79
  expandedKeys: Array<TreeValue>;
@@ -77,6 +77,40 @@ export type InputTokens = {
77
77
  fontSize?: string;
78
78
  };
79
79
  };
80
+ export type SearchInputTokens = {
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
+ iconSize?: string;
94
+ iconColor?: string;
95
+ clearSize?: string;
96
+ clearRadius?: string;
97
+ clearHoverBackgroundColor?: string;
98
+ loadingSize?: string;
99
+ loadingBorderColor?: string;
100
+ loadingTopBorderColor?: string;
101
+ small?: {
102
+ padding?: string;
103
+ fontSize?: string;
104
+ iconSize?: string;
105
+ clearSize?: string;
106
+ };
107
+ large?: {
108
+ padding?: string;
109
+ fontSize?: string;
110
+ iconSize?: string;
111
+ clearSize?: string;
112
+ };
113
+ };
80
114
  export type PasswordInputTokens = {
81
115
  gap?: string;
82
116
  fontSize?: string;
@@ -726,6 +760,45 @@ export type DatePickerTokens = {
726
760
  daySize?: string;
727
761
  };
728
762
  };
763
+ export type CalendarTokens = {
764
+ width?: string;
765
+ fontSize?: string;
766
+ padding?: string;
767
+ borderRadius?: string;
768
+ borderColor?: string;
769
+ backgroundColor?: string;
770
+ textColor?: string;
771
+ disabledOpacity?: string;
772
+ headerGap?: string;
773
+ headerPadding?: string;
774
+ monthLabelFontSize?: string;
775
+ monthLabelFontWeight?: string;
776
+ navButtonSize?: string;
777
+ navButtonRadius?: string;
778
+ navButtonFontSize?: string;
779
+ weekdayColor?: string;
780
+ weekdayFontSize?: string;
781
+ weekdaysMarginBottom?: string;
782
+ daysGap?: string;
783
+ daySize?: string;
784
+ dayFontSize?: string;
785
+ dayBorderRadius?: string;
786
+ dayHoverBackgroundColor?: string;
787
+ daySelectedBackgroundColor?: string;
788
+ daySelectedTextColor?: string;
789
+ dayMutedColor?: string;
790
+ dayTodayBorderColor?: string;
791
+ small?: {
792
+ padding?: string;
793
+ fontSize?: string;
794
+ daySize?: string;
795
+ };
796
+ large?: {
797
+ padding?: string;
798
+ fontSize?: string;
799
+ daySize?: string;
800
+ };
801
+ };
729
802
  export type DateRangePickerTokens = {
730
803
  minWidth?: string;
731
804
  fontSize?: string;
@@ -1440,6 +1513,7 @@ export type ThemeComponentTokens = {
1440
1513
  tabs?: TabsTokens;
1441
1514
  accordion?: AccordionTokens;
1442
1515
  input?: InputTokens;
1516
+ searchInput?: SearchInputTokens;
1443
1517
  passwordInput?: PasswordInputTokens;
1444
1518
  otpInput?: OtpInputTokens;
1445
1519
  colorPicker?: ColorPickerTokens;
@@ -1464,6 +1538,7 @@ export type ThemeComponentTokens = {
1464
1538
  multiselect?: MultiSelectTokens;
1465
1539
  taginput?: TagInputTokens;
1466
1540
  datepicker?: DatePickerTokens;
1541
+ calendar?: CalendarTokens;
1467
1542
  daterangepicker?: DateRangePickerTokens;
1468
1543
  timepicker?: TimePickerTokens;
1469
1544
  datetimepicker?: DateTimePickerTokens;
@@ -0,0 +1,40 @@
1
+ declare const _default: {
2
+ width: string;
3
+ fontSize: string;
4
+ padding: string;
5
+ borderRadius: string;
6
+ borderColor: string;
7
+ backgroundColor: string;
8
+ textColor: string;
9
+ disabledOpacity: string;
10
+ headerGap: string;
11
+ headerPadding: string;
12
+ monthLabelFontSize: string;
13
+ monthLabelFontWeight: string;
14
+ navButtonSize: string;
15
+ navButtonRadius: string;
16
+ navButtonFontSize: string;
17
+ weekdayColor: string;
18
+ weekdayFontSize: string;
19
+ weekdaysMarginBottom: string;
20
+ daysGap: string;
21
+ daySize: string;
22
+ dayFontSize: string;
23
+ dayBorderRadius: string;
24
+ dayHoverBackgroundColor: string;
25
+ daySelectedBackgroundColor: string;
26
+ daySelectedTextColor: string;
27
+ dayMutedColor: string;
28
+ dayTodayBorderColor: string;
29
+ small: {
30
+ padding: string;
31
+ fontSize: string;
32
+ daySize: string;
33
+ };
34
+ large: {
35
+ padding: string;
36
+ fontSize: string;
37
+ daySize: string;
38
+ };
39
+ };
40
+ export default _default;
@@ -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
+ iconSize: string;
15
+ iconColor: string;
16
+ clearSize: string;
17
+ clearRadius: string;
18
+ clearHoverBackgroundColor: string;
19
+ loadingSize: string;
20
+ loadingBorderColor: string;
21
+ loadingTopBorderColor: string;
22
+ small: {
23
+ padding: string;
24
+ fontSize: string;
25
+ iconSize: string;
26
+ clearSize: string;
27
+ };
28
+ large: {
29
+ padding: string;
30
+ fontSize: string;
31
+ iconSize: string;
32
+ clearSize: string;
33
+ };
34
+ };
35
+ export default _default;
@@ -234,6 +234,40 @@ declare const _default: {
234
234
  fontSize: string;
235
235
  };
236
236
  };
237
+ searchInput: {
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
+ iconSize: string;
251
+ iconColor: string;
252
+ clearSize: string;
253
+ clearRadius: string;
254
+ clearHoverBackgroundColor: string;
255
+ loadingSize: string;
256
+ loadingBorderColor: string;
257
+ loadingTopBorderColor: string;
258
+ small: {
259
+ padding: string;
260
+ fontSize: string;
261
+ iconSize: string;
262
+ clearSize: string;
263
+ };
264
+ large: {
265
+ padding: string;
266
+ fontSize: string;
267
+ iconSize: string;
268
+ clearSize: string;
269
+ };
270
+ };
237
271
  passwordInput: {
238
272
  gap: string;
239
273
  fontSize: string;
@@ -1030,6 +1064,45 @@ declare const _default: {
1030
1064
  daySize: string;
1031
1065
  };
1032
1066
  };
1067
+ calendar: {
1068
+ width: string;
1069
+ fontSize: string;
1070
+ padding: string;
1071
+ borderRadius: string;
1072
+ borderColor: string;
1073
+ backgroundColor: string;
1074
+ textColor: string;
1075
+ disabledOpacity: string;
1076
+ headerGap: string;
1077
+ headerPadding: string;
1078
+ monthLabelFontSize: string;
1079
+ monthLabelFontWeight: string;
1080
+ navButtonSize: string;
1081
+ navButtonRadius: string;
1082
+ navButtonFontSize: string;
1083
+ weekdayColor: string;
1084
+ weekdayFontSize: string;
1085
+ weekdaysMarginBottom: string;
1086
+ daysGap: string;
1087
+ daySize: string;
1088
+ dayFontSize: string;
1089
+ dayBorderRadius: string;
1090
+ dayHoverBackgroundColor: string;
1091
+ daySelectedBackgroundColor: string;
1092
+ daySelectedTextColor: string;
1093
+ dayMutedColor: string;
1094
+ dayTodayBorderColor: string;
1095
+ small: {
1096
+ padding: string;
1097
+ fontSize: string;
1098
+ daySize: string;
1099
+ };
1100
+ large: {
1101
+ padding: string;
1102
+ fontSize: string;
1103
+ daySize: string;
1104
+ };
1105
+ };
1033
1106
  pagination: {
1034
1107
  gap: string;
1035
1108
  itemMinWidth: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.50.0",
3
+ "version": "0.52.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",