@tlmgo/tui-calendar 2.2.0 → 2.2.1

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.
@@ -1,140 +1,140 @@
1
- import type { DeepPartial } from 'ts-essentials';
2
- export declare type CommonTheme = {
3
- backgroundColor: string;
4
- border: string;
5
- gridSelection: {
6
- backgroundColor: string;
7
- border: string;
8
- };
9
- dayName: {
10
- color: string;
11
- };
12
- holiday: {
13
- color: string;
14
- };
15
- saturday: {
16
- color: string;
17
- };
18
- today: {
19
- color: string;
20
- };
21
- };
22
- export declare type WeekDayNameTheme = {
23
- borderLeft: string;
24
- borderTop: string;
25
- borderBottom: string;
26
- backgroundColor: string;
27
- };
28
- export declare type MonthDayNameTheme = {
29
- borderLeft: string;
30
- backgroundColor: string;
31
- };
32
- export declare type DayGridTheme = {
33
- borderRight: string;
34
- backgroundColor: string;
35
- };
36
- export declare type DayGridLeftTheme = {
37
- borderRight: string;
38
- backgroundColor: string;
39
- width: string;
40
- };
41
- export declare type TimeGridLeftTheme = {
42
- borderRight: string;
43
- backgroundColor: string;
44
- width: string;
45
- };
46
- export declare type WeekTheme = {
47
- dayName: WeekDayNameTheme;
48
- dayGrid: DayGridTheme;
49
- dayGridLeft: DayGridLeftTheme;
50
- timeGrid: {
51
- borderRight: string;
52
- };
53
- timeGridLeft: TimeGridLeftTheme;
54
- timeGridLeftAdditionalTimezone: {
55
- backgroundColor: string;
56
- };
57
- timeGridHalfHourLine: {
58
- borderBottom: string;
59
- };
60
- timeGridHourLine: {
61
- borderBottom: string;
62
- };
63
- nowIndicatorLabel: {
64
- color: string;
65
- };
66
- nowIndicatorPast: {
67
- border: string;
68
- };
69
- nowIndicatorBullet: {
70
- backgroundColor: string;
71
- };
72
- nowIndicatorToday: {
73
- border: string;
74
- };
75
- nowIndicatorFuture: {
76
- border: string;
77
- };
78
- pastTime: {
79
- color: string;
80
- };
81
- futureTime: {
82
- color: string;
83
- };
84
- weekend: {
85
- backgroundColor: string;
86
- };
87
- today: {
88
- color: string;
89
- backgroundColor: string;
90
- };
91
- pastDay: {
92
- color: string;
93
- };
94
- panelResizer: {
95
- border: string;
96
- };
97
- gridSelection: {
98
- color: string;
99
- };
100
- };
101
- export declare type MonthTheme = {
102
- dayExceptThisMonth: {
103
- color: string;
104
- };
105
- dayName: MonthDayNameTheme;
106
- holidayExceptThisMonth: {
107
- color: string;
108
- };
109
- moreView: {
110
- backgroundColor: string;
111
- border: string;
112
- boxShadow: string;
113
- width: number | null;
114
- height: number | null;
115
- };
116
- moreViewTitle: {
117
- backgroundColor: string;
118
- };
119
- gridCell: {
120
- headerHeight: number | null;
121
- footerHeight: number | null;
122
- };
123
- weekend: {
124
- backgroundColor: string;
125
- };
126
- };
127
- export declare type ThemeState = {
128
- common: CommonTheme;
129
- week: WeekTheme;
130
- month: MonthTheme;
131
- };
132
- export declare type ThemeDispatchers = {
133
- setTheme: (theme: DeepPartial<ThemeState>) => void;
134
- setCommonTheme: (commonTheme: DeepPartial<CommonTheme>) => void;
135
- setWeekTheme: (weekTheme: DeepPartial<WeekTheme>) => void;
136
- setMonthTheme: (monthTheme: DeepPartial<MonthTheme>) => void;
137
- };
138
- export declare type ThemeStore = ThemeState & {
139
- dispatch: ThemeDispatchers;
140
- };
1
+ import type { DeepPartial } from 'ts-essentials';
2
+ export declare type CommonTheme = {
3
+ backgroundColor: string;
4
+ border: string;
5
+ gridSelection: {
6
+ backgroundColor: string;
7
+ border: string;
8
+ };
9
+ dayName: {
10
+ color: string;
11
+ };
12
+ holiday: {
13
+ color: string;
14
+ };
15
+ saturday: {
16
+ color: string;
17
+ };
18
+ today: {
19
+ color: string;
20
+ };
21
+ };
22
+ export declare type WeekDayNameTheme = {
23
+ borderLeft: string;
24
+ borderTop: string;
25
+ borderBottom: string;
26
+ backgroundColor: string;
27
+ };
28
+ export declare type MonthDayNameTheme = {
29
+ borderLeft: string;
30
+ backgroundColor: string;
31
+ };
32
+ export declare type DayGridTheme = {
33
+ borderRight: string;
34
+ backgroundColor: string;
35
+ };
36
+ export declare type DayGridLeftTheme = {
37
+ borderRight: string;
38
+ backgroundColor: string;
39
+ width: string;
40
+ };
41
+ export declare type TimeGridLeftTheme = {
42
+ borderRight: string;
43
+ backgroundColor: string;
44
+ width: string;
45
+ };
46
+ export declare type WeekTheme = {
47
+ dayName: WeekDayNameTheme;
48
+ dayGrid: DayGridTheme;
49
+ dayGridLeft: DayGridLeftTheme;
50
+ timeGrid: {
51
+ borderRight: string;
52
+ };
53
+ timeGridLeft: TimeGridLeftTheme;
54
+ timeGridLeftAdditionalTimezone: {
55
+ backgroundColor: string;
56
+ };
57
+ timeGridHalfHourLine: {
58
+ borderBottom: string;
59
+ };
60
+ timeGridHourLine: {
61
+ borderBottom: string;
62
+ };
63
+ nowIndicatorLabel: {
64
+ color: string;
65
+ };
66
+ nowIndicatorPast: {
67
+ border: string;
68
+ };
69
+ nowIndicatorBullet: {
70
+ backgroundColor: string;
71
+ };
72
+ nowIndicatorToday: {
73
+ border: string;
74
+ };
75
+ nowIndicatorFuture: {
76
+ border: string;
77
+ };
78
+ pastTime: {
79
+ color: string;
80
+ };
81
+ futureTime: {
82
+ color: string;
83
+ };
84
+ weekend: {
85
+ backgroundColor: string;
86
+ };
87
+ today: {
88
+ color: string;
89
+ backgroundColor: string;
90
+ };
91
+ pastDay: {
92
+ color: string;
93
+ };
94
+ panelResizer: {
95
+ border: string;
96
+ };
97
+ gridSelection: {
98
+ color: string;
99
+ };
100
+ };
101
+ export declare type MonthTheme = {
102
+ dayExceptThisMonth: {
103
+ color: string;
104
+ };
105
+ dayName: MonthDayNameTheme;
106
+ holidayExceptThisMonth: {
107
+ color: string;
108
+ };
109
+ moreView: {
110
+ backgroundColor: string;
111
+ border: string;
112
+ boxShadow: string;
113
+ width: number | null;
114
+ height: number | null;
115
+ };
116
+ moreViewTitle: {
117
+ backgroundColor: string;
118
+ };
119
+ gridCell: {
120
+ headerHeight: number | null;
121
+ footerHeight: number | null;
122
+ };
123
+ weekend: {
124
+ backgroundColor: string;
125
+ };
126
+ };
127
+ export declare type ThemeState = {
128
+ common: CommonTheme;
129
+ week: WeekTheme;
130
+ month: MonthTheme;
131
+ };
132
+ export declare type ThemeDispatchers = {
133
+ setTheme: (theme: DeepPartial<ThemeState>) => void;
134
+ setCommonTheme: (commonTheme: DeepPartial<CommonTheme>) => void;
135
+ setWeekTheme: (weekTheme: DeepPartial<WeekTheme>) => void;
136
+ setMonthTheme: (monthTheme: DeepPartial<MonthTheme>) => void;
137
+ };
138
+ export declare type ThemeStore = ThemeState & {
139
+ dispatch: ThemeDispatchers;
140
+ };