@codemonster-ru/vueforge 0.49.0 → 0.51.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,46 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ type TimeFormat = '24h' | '12h';
4
+ interface Props {
5
+ modelValue?: string;
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ readonly?: boolean;
9
+ min?: string;
10
+ max?: string;
11
+ locale?: string;
12
+ firstDayOfWeek?: number;
13
+ minuteStep?: number;
14
+ format?: TimeFormat;
15
+ variant?: Variant;
16
+ size?: Size;
17
+ }
18
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ blur: (...args: any[]) => void;
20
+ change: (...args: any[]) => void;
21
+ focus: (...args: any[]) => void;
22
+ "update:modelValue": (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ onBlur?: ((...args: any[]) => any) | undefined;
25
+ onChange?: ((...args: any[]) => any) | undefined;
26
+ onFocus?: ((...args: any[]) => any) | undefined;
27
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
28
+ }>, {
29
+ disabled: boolean;
30
+ size: Size;
31
+ variant: Variant;
32
+ modelValue: string;
33
+ placeholder: string;
34
+ readonly: boolean;
35
+ format: TimeFormat;
36
+ min: string;
37
+ max: string;
38
+ locale: string;
39
+ firstDayOfWeek: number;
40
+ minuteStep: number;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
42
+ root: HTMLDivElement;
43
+ control: HTMLButtonElement;
44
+ panel: HTMLDivElement;
45
+ }, HTMLDivElement>;
46
+ 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;
@@ -814,6 +848,68 @@ export type TimePickerTokens = {
814
848
  fontSize?: string;
815
849
  };
816
850
  };
851
+ export type DateTimePickerTokens = {
852
+ minWidth?: string;
853
+ fontSize?: string;
854
+ controlGap?: string;
855
+ chevronSize?: string;
856
+ padding?: string;
857
+ borderRadius?: string;
858
+ borderColor?: string;
859
+ backgroundColor?: string;
860
+ textColor?: string;
861
+ placeholderColor?: string;
862
+ focusBorderColor?: string;
863
+ hoverBorderColor?: string;
864
+ disabledOpacity?: string;
865
+ panelWidth?: string;
866
+ panelBackgroundColor?: string;
867
+ panelBorderColor?: string;
868
+ panelPadding?: string;
869
+ panelRadiusOffset?: string;
870
+ panelShadow?: string;
871
+ panelGap?: string;
872
+ focusRingShadow?: string;
873
+ headerGap?: string;
874
+ headerPadding?: string;
875
+ monthLabelFontSize?: string;
876
+ monthLabelFontWeight?: string;
877
+ navButtonSize?: string;
878
+ navButtonRadius?: string;
879
+ navButtonFontSize?: string;
880
+ weekdayColor?: string;
881
+ weekdayFontSize?: string;
882
+ weekdaysMarginBottom?: string;
883
+ daysGap?: string;
884
+ daySize?: string;
885
+ dayFontSize?: string;
886
+ dayBorderRadius?: string;
887
+ dayHoverBackgroundColor?: string;
888
+ daySelectedBackgroundColor?: string;
889
+ daySelectedTextColor?: string;
890
+ dayMutedColor?: string;
891
+ dayTodayBorderColor?: string;
892
+ timesWidth?: string;
893
+ timesMaxHeight?: string;
894
+ timesPaddingLeft?: string;
895
+ timesBorderColor?: string;
896
+ timeOptionPadding?: string;
897
+ timeOptionBorderRadius?: string;
898
+ timeOptionFontSize?: string;
899
+ timeOptionHoverBackgroundColor?: string;
900
+ timeOptionActiveBackgroundColor?: string;
901
+ timeOptionActiveTextColor?: string;
902
+ small?: {
903
+ padding?: string;
904
+ fontSize?: string;
905
+ daySize?: string;
906
+ };
907
+ large?: {
908
+ padding?: string;
909
+ fontSize?: string;
910
+ daySize?: string;
911
+ };
912
+ };
817
913
  export type PaginationTokens = {
818
914
  gap?: string;
819
915
  itemMinWidth?: string;
@@ -1378,6 +1474,7 @@ export type ThemeComponentTokens = {
1378
1474
  tabs?: TabsTokens;
1379
1475
  accordion?: AccordionTokens;
1380
1476
  input?: InputTokens;
1477
+ searchInput?: SearchInputTokens;
1381
1478
  passwordInput?: PasswordInputTokens;
1382
1479
  otpInput?: OtpInputTokens;
1383
1480
  colorPicker?: ColorPickerTokens;
@@ -1404,6 +1501,7 @@ export type ThemeComponentTokens = {
1404
1501
  datepicker?: DatePickerTokens;
1405
1502
  daterangepicker?: DateRangePickerTokens;
1406
1503
  timepicker?: TimePickerTokens;
1504
+ datetimepicker?: DateTimePickerTokens;
1407
1505
  pagination?: PaginationTokens;
1408
1506
  switch?: SwitchTokens;
1409
1507
  tooltip?: TooltipTokens;
@@ -0,0 +1,63 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ fontSize: string;
4
+ controlGap: string;
5
+ chevronSize: string;
6
+ padding: string;
7
+ borderRadius: string;
8
+ borderColor: string;
9
+ backgroundColor: string;
10
+ textColor: string;
11
+ placeholderColor: string;
12
+ focusBorderColor: string;
13
+ hoverBorderColor: string;
14
+ disabledOpacity: string;
15
+ panelWidth: string;
16
+ panelBackgroundColor: string;
17
+ panelBorderColor: string;
18
+ panelPadding: string;
19
+ panelRadiusOffset: string;
20
+ panelShadow: string;
21
+ panelGap: string;
22
+ focusRingShadow: string;
23
+ headerGap: string;
24
+ headerPadding: string;
25
+ monthLabelFontSize: string;
26
+ monthLabelFontWeight: string;
27
+ navButtonSize: string;
28
+ navButtonRadius: string;
29
+ navButtonFontSize: string;
30
+ weekdayColor: string;
31
+ weekdayFontSize: string;
32
+ weekdaysMarginBottom: string;
33
+ daysGap: string;
34
+ daySize: string;
35
+ dayFontSize: string;
36
+ dayBorderRadius: string;
37
+ dayHoverBackgroundColor: string;
38
+ daySelectedBackgroundColor: string;
39
+ daySelectedTextColor: string;
40
+ dayMutedColor: string;
41
+ dayTodayBorderColor: string;
42
+ timesWidth: string;
43
+ timesMaxHeight: string;
44
+ timesPaddingLeft: string;
45
+ timesBorderColor: string;
46
+ timeOptionPadding: string;
47
+ timeOptionBorderRadius: string;
48
+ timeOptionFontSize: string;
49
+ timeOptionHoverBackgroundColor: string;
50
+ timeOptionActiveBackgroundColor: string;
51
+ timeOptionActiveTextColor: string;
52
+ small: {
53
+ padding: string;
54
+ fontSize: string;
55
+ daySize: string;
56
+ };
57
+ large: {
58
+ padding: string;
59
+ fontSize: string;
60
+ daySize: string;
61
+ };
62
+ };
63
+ 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;
@@ -968,6 +1002,68 @@ declare const _default: {
968
1002
  fontSize: string;
969
1003
  };
970
1004
  };
1005
+ datetimepicker: {
1006
+ minWidth: string;
1007
+ fontSize: string;
1008
+ controlGap: string;
1009
+ chevronSize: string;
1010
+ padding: string;
1011
+ borderRadius: string;
1012
+ borderColor: string;
1013
+ backgroundColor: string;
1014
+ textColor: string;
1015
+ placeholderColor: string;
1016
+ focusBorderColor: string;
1017
+ hoverBorderColor: string;
1018
+ disabledOpacity: string;
1019
+ panelWidth: string;
1020
+ panelBackgroundColor: string;
1021
+ panelBorderColor: string;
1022
+ panelPadding: string;
1023
+ panelRadiusOffset: string;
1024
+ panelShadow: string;
1025
+ panelGap: string;
1026
+ focusRingShadow: string;
1027
+ headerGap: string;
1028
+ headerPadding: string;
1029
+ monthLabelFontSize: string;
1030
+ monthLabelFontWeight: string;
1031
+ navButtonSize: string;
1032
+ navButtonRadius: string;
1033
+ navButtonFontSize: string;
1034
+ weekdayColor: string;
1035
+ weekdayFontSize: string;
1036
+ weekdaysMarginBottom: string;
1037
+ daysGap: string;
1038
+ daySize: string;
1039
+ dayFontSize: string;
1040
+ dayBorderRadius: string;
1041
+ dayHoverBackgroundColor: string;
1042
+ daySelectedBackgroundColor: string;
1043
+ daySelectedTextColor: string;
1044
+ dayMutedColor: string;
1045
+ dayTodayBorderColor: string;
1046
+ timesWidth: string;
1047
+ timesMaxHeight: string;
1048
+ timesPaddingLeft: string;
1049
+ timesBorderColor: string;
1050
+ timeOptionPadding: string;
1051
+ timeOptionBorderRadius: string;
1052
+ timeOptionFontSize: string;
1053
+ timeOptionHoverBackgroundColor: string;
1054
+ timeOptionActiveBackgroundColor: string;
1055
+ timeOptionActiveTextColor: string;
1056
+ small: {
1057
+ padding: string;
1058
+ fontSize: string;
1059
+ daySize: string;
1060
+ };
1061
+ large: {
1062
+ padding: string;
1063
+ fontSize: string;
1064
+ daySize: string;
1065
+ };
1066
+ };
971
1067
  pagination: {
972
1068
  gap: string;
973
1069
  itemMinWidth: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.49.0",
3
+ "version": "0.51.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",