@codemonster-ru/vueforge 0.48.0 → 0.50.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;
@@ -0,0 +1,60 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ type MaskTransformer = (value: string) => string;
4
+ interface Props {
5
+ modelValue?: string;
6
+ mask?: string | MaskTransformer;
7
+ placeholder?: string;
8
+ placeholderChar?: string;
9
+ disabled?: boolean;
10
+ readonly?: boolean;
11
+ unmask?: boolean;
12
+ size?: Size;
13
+ variant?: Variant;
14
+ }
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ prefix?(_: {}): any;
19
+ suffix?(_: {}): any;
20
+ };
21
+ refs: {
22
+ control: HTMLInputElement;
23
+ };
24
+ rootEl: HTMLDivElement;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ blur: (...args: any[]) => void;
29
+ change: (...args: any[]) => void;
30
+ focus: (...args: any[]) => void;
31
+ input: (...args: any[]) => void;
32
+ "update:modelValue": (...args: any[]) => void;
33
+ complete: (...args: any[]) => void;
34
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
35
+ onBlur?: ((...args: any[]) => any) | undefined;
36
+ onChange?: ((...args: any[]) => any) | undefined;
37
+ onFocus?: ((...args: any[]) => any) | undefined;
38
+ onInput?: ((...args: any[]) => any) | undefined;
39
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
40
+ onComplete?: ((...args: any[]) => any) | undefined;
41
+ }>, {
42
+ disabled: boolean;
43
+ mask: string | MaskTransformer;
44
+ size: Size;
45
+ variant: Variant;
46
+ modelValue: string;
47
+ placeholder: string;
48
+ readonly: boolean;
49
+ placeholderChar: string;
50
+ unmask: boolean;
51
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
52
+ control: HTMLInputElement;
53
+ }, HTMLDivElement>;
54
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
+ export default _default;
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -176,6 +176,28 @@ export type ColorPickerTokens = {
176
176
  presetSize?: string;
177
177
  };
178
178
  };
179
+ export type MaskedInputTokens = {
180
+ gap?: string;
181
+ fontSize?: string;
182
+ padding?: string;
183
+ borderRadius?: string;
184
+ borderColor?: string;
185
+ backgroundColor?: string;
186
+ textColor?: string;
187
+ placeholderColor?: string;
188
+ focusBorderColor?: string;
189
+ focusRingShadow?: string;
190
+ hoverBorderColor?: string;
191
+ disabledOpacity?: string;
192
+ small?: {
193
+ padding?: string;
194
+ fontSize?: string;
195
+ };
196
+ large?: {
197
+ padding?: string;
198
+ fontSize?: string;
199
+ };
200
+ };
179
201
  export type NumberInputTokens = {
180
202
  gap?: string;
181
203
  fontSize?: string;
@@ -792,6 +814,68 @@ export type TimePickerTokens = {
792
814
  fontSize?: string;
793
815
  };
794
816
  };
817
+ export type DateTimePickerTokens = {
818
+ minWidth?: string;
819
+ fontSize?: string;
820
+ controlGap?: string;
821
+ chevronSize?: string;
822
+ padding?: string;
823
+ borderRadius?: string;
824
+ borderColor?: string;
825
+ backgroundColor?: string;
826
+ textColor?: string;
827
+ placeholderColor?: string;
828
+ focusBorderColor?: string;
829
+ hoverBorderColor?: string;
830
+ disabledOpacity?: string;
831
+ panelWidth?: string;
832
+ panelBackgroundColor?: string;
833
+ panelBorderColor?: string;
834
+ panelPadding?: string;
835
+ panelRadiusOffset?: string;
836
+ panelShadow?: string;
837
+ panelGap?: string;
838
+ focusRingShadow?: string;
839
+ headerGap?: string;
840
+ headerPadding?: string;
841
+ monthLabelFontSize?: string;
842
+ monthLabelFontWeight?: string;
843
+ navButtonSize?: string;
844
+ navButtonRadius?: string;
845
+ navButtonFontSize?: string;
846
+ weekdayColor?: string;
847
+ weekdayFontSize?: string;
848
+ weekdaysMarginBottom?: string;
849
+ daysGap?: string;
850
+ daySize?: string;
851
+ dayFontSize?: string;
852
+ dayBorderRadius?: string;
853
+ dayHoverBackgroundColor?: string;
854
+ daySelectedBackgroundColor?: string;
855
+ daySelectedTextColor?: string;
856
+ dayMutedColor?: string;
857
+ dayTodayBorderColor?: string;
858
+ timesWidth?: string;
859
+ timesMaxHeight?: string;
860
+ timesPaddingLeft?: string;
861
+ timesBorderColor?: string;
862
+ timeOptionPadding?: string;
863
+ timeOptionBorderRadius?: string;
864
+ timeOptionFontSize?: string;
865
+ timeOptionHoverBackgroundColor?: string;
866
+ timeOptionActiveBackgroundColor?: string;
867
+ timeOptionActiveTextColor?: string;
868
+ small?: {
869
+ padding?: string;
870
+ fontSize?: string;
871
+ daySize?: string;
872
+ };
873
+ large?: {
874
+ padding?: string;
875
+ fontSize?: string;
876
+ daySize?: string;
877
+ };
878
+ };
795
879
  export type PaginationTokens = {
796
880
  gap?: string;
797
881
  itemMinWidth?: string;
@@ -1359,6 +1443,7 @@ export type ThemeComponentTokens = {
1359
1443
  passwordInput?: PasswordInputTokens;
1360
1444
  otpInput?: OtpInputTokens;
1361
1445
  colorPicker?: ColorPickerTokens;
1446
+ maskedInput?: MaskedInputTokens;
1362
1447
  numberInput?: NumberInputTokens;
1363
1448
  formField?: FormFieldTokens;
1364
1449
  textarea?: TextareaTokens;
@@ -1381,6 +1466,7 @@ export type ThemeComponentTokens = {
1381
1466
  datepicker?: DatePickerTokens;
1382
1467
  daterangepicker?: DateRangePickerTokens;
1383
1468
  timepicker?: TimePickerTokens;
1469
+ datetimepicker?: DateTimePickerTokens;
1384
1470
  pagination?: PaginationTokens;
1385
1471
  switch?: SwitchTokens;
1386
1472
  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,23 @@
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
+ small: {
15
+ padding: string;
16
+ fontSize: string;
17
+ };
18
+ large: {
19
+ padding: string;
20
+ fontSize: string;
21
+ };
22
+ };
23
+ export default _default;
@@ -333,6 +333,28 @@ declare const _default: {
333
333
  presetSize: string;
334
334
  };
335
335
  };
336
+ maskedInput: {
337
+ gap: string;
338
+ fontSize: string;
339
+ padding: string;
340
+ borderRadius: string;
341
+ borderColor: string;
342
+ backgroundColor: string;
343
+ textColor: string;
344
+ placeholderColor: string;
345
+ focusBorderColor: string;
346
+ focusRingShadow: string;
347
+ hoverBorderColor: string;
348
+ disabledOpacity: string;
349
+ small: {
350
+ padding: string;
351
+ fontSize: string;
352
+ };
353
+ large: {
354
+ padding: string;
355
+ fontSize: string;
356
+ };
357
+ };
336
358
  numberInput: {
337
359
  gap: string;
338
360
  fontSize: string;
@@ -946,6 +968,68 @@ declare const _default: {
946
968
  fontSize: string;
947
969
  };
948
970
  };
971
+ datetimepicker: {
972
+ minWidth: string;
973
+ fontSize: string;
974
+ controlGap: string;
975
+ chevronSize: string;
976
+ padding: string;
977
+ borderRadius: string;
978
+ borderColor: string;
979
+ backgroundColor: string;
980
+ textColor: string;
981
+ placeholderColor: string;
982
+ focusBorderColor: string;
983
+ hoverBorderColor: string;
984
+ disabledOpacity: string;
985
+ panelWidth: string;
986
+ panelBackgroundColor: string;
987
+ panelBorderColor: string;
988
+ panelPadding: string;
989
+ panelRadiusOffset: string;
990
+ panelShadow: string;
991
+ panelGap: string;
992
+ focusRingShadow: string;
993
+ headerGap: string;
994
+ headerPadding: string;
995
+ monthLabelFontSize: string;
996
+ monthLabelFontWeight: string;
997
+ navButtonSize: string;
998
+ navButtonRadius: string;
999
+ navButtonFontSize: string;
1000
+ weekdayColor: string;
1001
+ weekdayFontSize: string;
1002
+ weekdaysMarginBottom: string;
1003
+ daysGap: string;
1004
+ daySize: string;
1005
+ dayFontSize: string;
1006
+ dayBorderRadius: string;
1007
+ dayHoverBackgroundColor: string;
1008
+ daySelectedBackgroundColor: string;
1009
+ daySelectedTextColor: string;
1010
+ dayMutedColor: string;
1011
+ dayTodayBorderColor: string;
1012
+ timesWidth: string;
1013
+ timesMaxHeight: string;
1014
+ timesPaddingLeft: string;
1015
+ timesBorderColor: string;
1016
+ timeOptionPadding: string;
1017
+ timeOptionBorderRadius: string;
1018
+ timeOptionFontSize: string;
1019
+ timeOptionHoverBackgroundColor: string;
1020
+ timeOptionActiveBackgroundColor: string;
1021
+ timeOptionActiveTextColor: string;
1022
+ small: {
1023
+ padding: string;
1024
+ fontSize: string;
1025
+ daySize: string;
1026
+ };
1027
+ large: {
1028
+ padding: string;
1029
+ fontSize: string;
1030
+ daySize: string;
1031
+ };
1032
+ };
949
1033
  pagination: {
950
1034
  gap: string;
951
1035
  itemMinWidth: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",