awesome-timeline-react 0.1.13 → 0.1.15
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.
- package/README.md +7 -1
- package/dist/_tsup-dts-rollup.d.mts +53 -33
- package/dist/_tsup-dts-rollup.d.ts +53 -33
- package/dist/index.css +210 -206
- package/dist/index.css.map +1 -1
- package/dist/index.js +1923 -1851
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1910 -1833
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,207 +1,211 @@
|
|
|
1
|
-
/* src/style.css */
|
|
2
|
-
.rows-header-wrapper {
|
|
3
|
-
width: 100px;
|
|
4
|
-
height: fit-content;
|
|
5
|
-
border-right: 1px solid yellow;
|
|
6
|
-
background-color: rgb(39, 36, 36);
|
|
7
|
-
color: white;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
.row-header:not(:last-child) {
|
|
10
|
-
border-bottom: 1px solid yellow;
|
|
11
|
-
}
|
|
12
|
-
box-shadow: 4px 0px 20px black;
|
|
13
|
-
}
|
|
14
|
-
.main-wrapper {
|
|
15
|
-
position: relative;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
height: 100%;
|
|
19
|
-
width: 100%;
|
|
20
|
-
}
|
|
21
|
-
.body-wrapper {
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: row;
|
|
24
|
-
border-left: 1px solid black;
|
|
25
|
-
border-bottom: 1px solid black;
|
|
26
|
-
border-right: 1px solid black;
|
|
27
|
-
width: 100%;
|
|
28
|
-
overflow: auto;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
}
|
|
31
|
-
.day-block {
|
|
32
|
-
height: 100%;
|
|
33
|
-
text-align: center;
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
text-overflow: ellipsis;
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
padding: 4px;
|
|
39
|
-
}
|
|
40
|
-
.hour-block {
|
|
41
|
-
display: block;
|
|
42
|
-
width: 100%;
|
|
43
|
-
text-align: center;
|
|
44
|
-
padding: 4px;
|
|
45
|
-
overflow: hidden;
|
|
46
|
-
text-overflow: ellipsis;
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/* src/components/style.css */
|
|
51
|
-
.content-wrapper {
|
|
52
|
-
position: relative;
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
width: 100%;
|
|
56
|
-
.row-content:not(:last-child) {
|
|
57
|
-
border-bottom: 1px solid #e4dcdc;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.row-header {
|
|
61
|
-
display: flex;
|
|
62
|
-
justify-content: center;
|
|
63
|
-
align-items: center;
|
|
64
|
-
width: 100px;
|
|
65
|
-
transition: min-height 0.5s ease-in-out;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
}
|
|
68
|
-
.row-content {
|
|
69
|
-
position: relative;
|
|
70
|
-
width: 100%;
|
|
71
|
-
padding-top: 10px;
|
|
72
|
-
padding-bottom: 10px;
|
|
73
|
-
overflow: hidden;
|
|
74
|
-
z-index: 0;
|
|
75
|
-
transition: min-height 0.5s ease-in-out;
|
|
76
|
-
box-sizing: border-box;
|
|
77
|
-
}
|
|
78
|
-
.event {
|
|
79
|
-
position: absolute;
|
|
80
|
-
height: 20px;
|
|
81
|
-
border: 1px solid black;
|
|
82
|
-
z-index: 1;
|
|
83
|
-
transition: top 0.5s ease-in-out;
|
|
84
|
-
box-sizing: border-box;
|
|
85
|
-
display: flex;
|
|
86
|
-
justify-content: space-between;
|
|
87
|
-
border-radius: 5px;
|
|
88
|
-
box-shadow: inset 0px 0px 5px gray;
|
|
89
|
-
}
|
|
90
|
-
.event-content {
|
|
91
|
-
position: absolute;
|
|
92
|
-
margin-inline: 13px;
|
|
93
|
-
width: calc(100% - 26px);
|
|
94
|
-
height: 100%;
|
|
95
|
-
display: flex;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
}
|
|
98
|
-
.event:hover .event-resize {
|
|
99
|
-
opacity: 100%;
|
|
100
|
-
}
|
|
101
|
-
.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
height:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
1
|
+
/* src/style.css */
|
|
2
|
+
.rows-header-wrapper {
|
|
3
|
+
width: 100px;
|
|
4
|
+
height: fit-content;
|
|
5
|
+
border-right: 1px solid yellow;
|
|
6
|
+
background-color: rgb(39, 36, 36);
|
|
7
|
+
color: white;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
.row-header:not(:last-child) {
|
|
10
|
+
border-bottom: 1px solid yellow;
|
|
11
|
+
}
|
|
12
|
+
box-shadow: 4px 0px 20px black;
|
|
13
|
+
}
|
|
14
|
+
.main-wrapper {
|
|
15
|
+
position: relative;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
.body-wrapper {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
border-left: 1px solid black;
|
|
25
|
+
border-bottom: 1px solid black;
|
|
26
|
+
border-right: 1px solid black;
|
|
27
|
+
width: 100%;
|
|
28
|
+
overflow: auto;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
}
|
|
31
|
+
.day-block {
|
|
32
|
+
height: 100%;
|
|
33
|
+
text-align: center;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
text-overflow: ellipsis;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
padding: 4px;
|
|
39
|
+
}
|
|
40
|
+
.hour-block {
|
|
41
|
+
display: block;
|
|
42
|
+
width: 100%;
|
|
43
|
+
text-align: center;
|
|
44
|
+
padding: 4px;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* src/components/style.css */
|
|
51
|
+
.content-wrapper {
|
|
52
|
+
position: relative;
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 100%;
|
|
56
|
+
.row-content:not(:last-child) {
|
|
57
|
+
border-bottom: 1px solid #e4dcdc;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.row-header {
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
align-items: center;
|
|
64
|
+
width: 100px;
|
|
65
|
+
transition: min-height 0.5s ease-in-out;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
}
|
|
68
|
+
.row-content {
|
|
69
|
+
position: relative;
|
|
70
|
+
width: 100%;
|
|
71
|
+
padding-top: 10px;
|
|
72
|
+
padding-bottom: 10px;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
z-index: 0;
|
|
75
|
+
transition: min-height 0.5s ease-in-out;
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
}
|
|
78
|
+
.event {
|
|
79
|
+
position: absolute;
|
|
80
|
+
height: 20px;
|
|
81
|
+
border: 1px solid black;
|
|
82
|
+
z-index: 1;
|
|
83
|
+
transition: top 0.5s ease-in-out;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
display: flex;
|
|
86
|
+
justify-content: space-between;
|
|
87
|
+
border-radius: 5px;
|
|
88
|
+
box-shadow: inset 0px 0px 5px gray;
|
|
89
|
+
}
|
|
90
|
+
.event-content {
|
|
91
|
+
position: absolute;
|
|
92
|
+
margin-inline: 13px;
|
|
93
|
+
width: calc(100% - 26px);
|
|
94
|
+
height: 100%;
|
|
95
|
+
display: flex;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
}
|
|
98
|
+
.event:hover .event-resize {
|
|
99
|
+
opacity: 100%;
|
|
100
|
+
}
|
|
101
|
+
.event-prompt {
|
|
102
|
+
position: absolute;
|
|
103
|
+
display: none;
|
|
104
|
+
}
|
|
105
|
+
.resize-bar {
|
|
106
|
+
height: 10px;
|
|
107
|
+
border: 1px solid black;
|
|
108
|
+
width: 1px;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
border-radius: 3px;
|
|
111
|
+
}
|
|
112
|
+
.event-resize {
|
|
113
|
+
opacity: 0%;
|
|
114
|
+
margin: 4px;
|
|
115
|
+
cursor: e-resize;
|
|
116
|
+
transition: opacity 0.3s ease-in-out;
|
|
117
|
+
flex-shrink: 1;
|
|
118
|
+
}
|
|
119
|
+
.static-event {
|
|
120
|
+
position: absolute;
|
|
121
|
+
background-color: #e0e0e0;
|
|
122
|
+
z-index: 0;
|
|
123
|
+
border: 1px solid transparent;
|
|
124
|
+
box-sizing: border-box;
|
|
125
|
+
border-radius: 5px;
|
|
126
|
+
}
|
|
127
|
+
.time-bar {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: row;
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 50px;
|
|
132
|
+
min-height: 50px;
|
|
133
|
+
border: 1px solid yellow;
|
|
134
|
+
background-color: rgb(39, 36, 36);
|
|
135
|
+
color: white;
|
|
136
|
+
box-sizing: border-box;
|
|
137
|
+
}
|
|
138
|
+
.empty-block {
|
|
139
|
+
width: 100px;
|
|
140
|
+
min-width: 100px;
|
|
141
|
+
border-right: 1px solid yellow;
|
|
142
|
+
box-sizing: border-box;
|
|
143
|
+
}
|
|
144
|
+
.time-content {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
height: 100%;
|
|
148
|
+
}
|
|
149
|
+
.day-row {
|
|
150
|
+
display: grid;
|
|
151
|
+
height: 50%;
|
|
152
|
+
width: auto;
|
|
153
|
+
border-bottom: 1px solid yellow;
|
|
154
|
+
div:not(:last-child) {
|
|
155
|
+
border-right: 1px solid yellow;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
.hour-row {
|
|
159
|
+
display: grid;
|
|
160
|
+
height: 50%;
|
|
161
|
+
div:not(:last-child) {
|
|
162
|
+
border-right: 1px solid yellow;
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
}
|
|
165
|
+
box-shadow: 0px 4px 20px black;
|
|
166
|
+
}
|
|
167
|
+
.not-clickable {
|
|
168
|
+
div {
|
|
169
|
+
pointer-events: none;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
.line {
|
|
173
|
+
height: 100%;
|
|
174
|
+
width: 100%;
|
|
175
|
+
border-right: 1px solid #e4dcdc;
|
|
176
|
+
box-sizing: border-box;
|
|
177
|
+
}
|
|
178
|
+
.lines-canvas {
|
|
179
|
+
position: absolute;
|
|
180
|
+
top: 0;
|
|
181
|
+
display: grid;
|
|
182
|
+
height: 100%;
|
|
183
|
+
width: 100%;
|
|
184
|
+
overflow: hidden;
|
|
185
|
+
}
|
|
186
|
+
.hide-last-line {
|
|
187
|
+
div:last-child {
|
|
188
|
+
border-right: none;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
.row-hidden {
|
|
192
|
+
visibility: hidden;
|
|
193
|
+
}
|
|
194
|
+
.rt-line {
|
|
195
|
+
position: absolute;
|
|
196
|
+
height: calc(100% - 24px);
|
|
197
|
+
top: 24px;
|
|
198
|
+
width: 2px;
|
|
199
|
+
box-sizing: border-box;
|
|
200
|
+
border-right: dotted 2px red;
|
|
201
|
+
}
|
|
202
|
+
.rt-arrow {
|
|
203
|
+
position: absolute;
|
|
204
|
+
top: 0px;
|
|
205
|
+
width: 0;
|
|
206
|
+
height: 0;
|
|
207
|
+
border-left: 15px solid transparent;
|
|
208
|
+
border-right: 15px solid transparent;
|
|
209
|
+
border-top: 26px solid red;
|
|
210
|
+
}
|
|
207
211
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/style.css","../src/components/style.css"],"sourcesContent":[".rows-header-wrapper {\r\n width: 100px;\r\n height: fit-content;\r\n border-right: 1px solid yellow;\r\n background-color: rgb(39, 36, 36);\r\n color: white;\r\n box-sizing: border-box;\r\n .row-header:not(:last-child) {\r\n border-bottom: 1px solid yellow;\r\n }\r\n box-shadow: 4px 0px 20px black;\r\n}\r\n\r\n.main-wrapper {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n width: 100%;\r\n}\r\n\r\n.body-wrapper {\r\n display: flex;\r\n flex-direction: row;\r\n border-left: 1px solid black;\r\n border-bottom: 1px solid black;\r\n border-right: 1px solid black;\r\n width: 100%;\r\n overflow: auto;\r\n box-sizing: border-box;\r\n}\r\n\r\n.day-block {\r\n height: 100%;\r\n text-align: center;\r\n box-sizing: border-box;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n padding: 4px;\r\n}\r\n\r\n.hour-block {\r\n display: block;\r\n width: 100%;\r\n text-align: center;\r\n padding: 4px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n",".content-wrapper {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n .row-content:not(:last-child) {\r\n border-bottom: 1px solid #e4dcdc;\r\n }\r\n}\r\n\r\n.row-header {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 100px;\r\n transition: min-height 0.5s ease-in-out;\r\n box-sizing: border-box;\r\n}\r\n\r\n.row-content {\r\n position: relative;\r\n width: 100%;\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n overflow: hidden;\r\n z-index: 0;\r\n transition: min-height 0.5s ease-in-out;\r\n box-sizing: border-box;\r\n}\r\n\r\n.event {\r\n position: absolute;\r\n height: 20px;\r\n border: 1px solid black;\r\n z-index: 1;\r\n transition: top 0.5s ease-in-out;\r\n box-sizing: border-box;\r\n display: flex;\r\n justify-content: space-between;\r\n border-radius: 5px;\r\n box-shadow: inset 0px 0px 5px gray;\r\n}\r\n\r\n.event-content {\r\n position: absolute;\r\n margin-inline: 13px;\r\n width: calc(100% - 26px);\r\n height: 100%;\r\n display: flex;\r\n overflow: hidden;\r\n}\r\n\r\n.event:hover .event-resize {\r\n opacity: 100%;\r\n}\r\n\r\n.resize-bar {\r\n height: 10px;\r\n border: 1px solid black;\r\n width: 1px;\r\n box-sizing: border-box;\r\n border-radius: 3px;\r\n}\r\n\r\n.event-resize {\r\n opacity: 0%;\r\n margin: 4px;\r\n cursor: e-resize;\r\n transition: opacity 0.3s ease-in-out;\r\n flex-shrink: 1;\r\n}\r\n\r\n.static-event {\r\n position: absolute;\r\n background-color: #e0e0e0;\r\n z-index: 0;\r\n border: 1px solid transparent;\r\n box-sizing: border-box;\r\n border-radius: 5px;\r\n}\r\n\r\n.time-bar {\r\n display: flex;\r\n flex-direction: row;\r\n width: 100%;\r\n height: 50px;\r\n min-height: 50px;\r\n border: 1px solid yellow;\r\n background-color: rgb(39, 36, 36);\r\n color: white;\r\n box-sizing: border-box;\r\n}\r\n\r\n.empty-block {\r\n width: 100px;\r\n min-width: 100px;\r\n border-right: 1px solid yellow;\r\n box-sizing: border-box;\r\n}\r\n\r\n.time-content {\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n}\r\n\r\n.day-row {\r\n display: grid;\r\n height: 50%;\r\n width: auto;\r\n border-bottom: 1px solid yellow;\r\n div:not(:last-child) {\r\n border-right: 1px solid yellow;\r\n }\r\n}\r\n\r\n.hour-row {\r\n display: grid;\r\n height: 50%;\r\n div:not(:last-child) {\r\n border-right: 1px solid yellow;\r\n box-sizing: border-box;\r\n }\r\n box-shadow: 0px 4px 20px black;\r\n}\r\n\r\n.not-clickable {\r\n div {\r\n pointer-events: none;\r\n }\r\n}\r\n\r\n.line {\r\n height: 100%;\r\n width: 100%;\r\n border-right: 1px solid #e4dcdc;\r\n box-sizing: border-box;\r\n}\r\n\r\n.lines-canvas {\r\n position: absolute;\r\n top: 0;\r\n display: grid;\r\n height: 100%;\r\n width: 100%;\r\n overflow: hidden;\r\n}\r\n\r\n.hide-last-line {\r\n div:last-child {\r\n border-right: none;\r\n }\r\n}\r\n\r\n.row-hidden {\r\n visibility: hidden;\r\n}\r\n\r\n.rt-line {\r\n position: absolute;\r\n height: calc(100% - 24px);\r\n top: 24px;\r\n width: 2px;\r\n box-sizing: border-box;\r\n border-right: dotted 2px red;\r\n}\r\n\r\n.rt-arrow {\r\n position: absolute;\r\n top: 0px;\r\n width: 0;\r\n height: 0;\r\n border-left: 15px solid transparent;\r\n border-right: 15px solid transparent;\r\n\r\n border-top: 26px solid red;\r\n}\r\n"],"mappings":";AAAA,CAAC;AACC,SAAO;AACP,UAAQ;AACR,gBAAc,IAAI,MAAM;AACxB,oBAAkB,IAAI,EAAE,EAAE,EAAE,EAAE;AAC9B,SAAO;AACP,cAAY;AACZ,GAAC,UAAU,KAAK;AACd,mBAAe,IAAI,MAAM;AAC3B;AACA,cAAY,IAAI,IAAI,KAAK;AAC3B;AAEA,CAAC;AACC,YAAU;AACV,WAAS;AACT,kBAAgB;AAChB,UAAQ;AACR,SAAO;AACT;AAEA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,eAAa,IAAI,MAAM;AACvB,iBAAe,IAAI,MAAM;AACzB,gBAAc,IAAI,MAAM;AACxB,SAAO;AACP,YAAU;AACV,cAAY;AACd;AAEA,CAAC;AACC,UAAQ;AACR,cAAY;AACZ,cAAY;AACZ,YAAU;AACV,iBAAe;AACf,eAAa;AACb,WAAS;AACX;AAEA,CAAC;AACC,WAAS;AACT,SAAO;AACP,cAAY;AACZ,WAAS;AACT,YAAU;AACV,iBAAe;AACf,eAAa;AACf;;;AClDA,CAAC;AACC,YAAU;AACV,WAAS;AACT,kBAAgB;AAChB,SAAO;AACP,GAAC,WAAW,KAAK;AACf,mBAAe,IAAI,MAAM;AAC3B;AACF;AAEA,CAAC;AACC,WAAS;AACT,mBAAiB;AACjB,eAAa;AACb,SAAO;AACP,cAAY,WAAW,KAAK;AAC5B,cAAY;AACd;AAEA,CAdG;AAeD,YAAU;AACV,SAAO;AACP,eAAa;AACb,kBAAgB;AAChB,YAAU;AACV,WAAS;AACT,cAAY,WAAW,KAAK;AAC5B,cAAY;AACd;AAEA,CAAC;AACC,YAAU;AACV,UAAQ;AACR,UAAQ,IAAI,MAAM;AAClB,WAAS;AACT,cAAY,IAAI,KAAK;AACrB,cAAY;AACZ,WAAS;AACT,mBAAiB;AACjB,iBAAe;AACf,cAAY,MAAM,IAAI,IAAI,IAAI;AAChC;AAEA,CAAC;AACC,YAAU;AACV,iBAAe;AACf,SAAO,KAAK,KAAK,EAAE;AACnB,UAAQ;AACR,WAAS;AACT,YAAU;AACZ;AAEA,CAtBC,KAsBK,OAAO,CAAC;AACZ,WAAS;AACX;AAEA,CAAC;AACC,UAAQ;AACR,UAAQ,IAAI,MAAM;AAClB,SAAO;AACP,cAAY;AACZ,iBAAe;AACjB;AAEA,
|
|
1
|
+
{"version":3,"sources":["../src/style.css","../src/components/style.css"],"sourcesContent":[".rows-header-wrapper {\r\n width: 100px;\r\n height: fit-content;\r\n border-right: 1px solid yellow;\r\n background-color: rgb(39, 36, 36);\r\n color: white;\r\n box-sizing: border-box;\r\n .row-header:not(:last-child) {\r\n border-bottom: 1px solid yellow;\r\n }\r\n box-shadow: 4px 0px 20px black;\r\n}\r\n\r\n.main-wrapper {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n width: 100%;\r\n}\r\n\r\n.body-wrapper {\r\n display: flex;\r\n flex-direction: row;\r\n border-left: 1px solid black;\r\n border-bottom: 1px solid black;\r\n border-right: 1px solid black;\r\n width: 100%;\r\n overflow: auto;\r\n box-sizing: border-box;\r\n}\r\n\r\n.day-block {\r\n height: 100%;\r\n text-align: center;\r\n box-sizing: border-box;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n padding: 4px;\r\n}\r\n\r\n.hour-block {\r\n display: block;\r\n width: 100%;\r\n text-align: center;\r\n padding: 4px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n",".content-wrapper {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n .row-content:not(:last-child) {\r\n border-bottom: 1px solid #e4dcdc;\r\n }\r\n}\r\n\r\n.row-header {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 100px;\r\n transition: min-height 0.5s ease-in-out;\r\n box-sizing: border-box;\r\n}\r\n\r\n.row-content {\r\n position: relative;\r\n width: 100%;\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n overflow: hidden;\r\n z-index: 0;\r\n transition: min-height 0.5s ease-in-out;\r\n box-sizing: border-box;\r\n}\r\n\r\n.event {\r\n position: absolute;\r\n height: 20px;\r\n border: 1px solid black;\r\n z-index: 1;\r\n transition: top 0.5s ease-in-out;\r\n box-sizing: border-box;\r\n display: flex;\r\n justify-content: space-between;\r\n border-radius: 5px;\r\n box-shadow: inset 0px 0px 5px gray;\r\n}\r\n\r\n.event-content {\r\n position: absolute;\r\n margin-inline: 13px;\r\n width: calc(100% - 26px);\r\n height: 100%;\r\n display: flex;\r\n overflow: hidden;\r\n}\r\n\r\n.event:hover .event-resize {\r\n opacity: 100%;\r\n}\r\n\r\n.event-prompt {\r\n position: absolute;\r\n display: none;\r\n}\r\n.resize-bar {\r\n height: 10px;\r\n border: 1px solid black;\r\n width: 1px;\r\n box-sizing: border-box;\r\n border-radius: 3px;\r\n}\r\n\r\n.event-resize {\r\n opacity: 0%;\r\n margin: 4px;\r\n cursor: e-resize;\r\n transition: opacity 0.3s ease-in-out;\r\n flex-shrink: 1;\r\n}\r\n\r\n.static-event {\r\n position: absolute;\r\n background-color: #e0e0e0;\r\n z-index: 0;\r\n border: 1px solid transparent;\r\n box-sizing: border-box;\r\n border-radius: 5px;\r\n}\r\n\r\n.time-bar {\r\n display: flex;\r\n flex-direction: row;\r\n width: 100%;\r\n height: 50px;\r\n min-height: 50px;\r\n border: 1px solid yellow;\r\n background-color: rgb(39, 36, 36);\r\n color: white;\r\n box-sizing: border-box;\r\n}\r\n\r\n.empty-block {\r\n width: 100px;\r\n min-width: 100px;\r\n border-right: 1px solid yellow;\r\n box-sizing: border-box;\r\n}\r\n\r\n.time-content {\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n}\r\n\r\n.day-row {\r\n display: grid;\r\n height: 50%;\r\n width: auto;\r\n border-bottom: 1px solid yellow;\r\n div:not(:last-child) {\r\n border-right: 1px solid yellow;\r\n }\r\n}\r\n\r\n.hour-row {\r\n display: grid;\r\n height: 50%;\r\n div:not(:last-child) {\r\n border-right: 1px solid yellow;\r\n box-sizing: border-box;\r\n }\r\n box-shadow: 0px 4px 20px black;\r\n}\r\n\r\n.not-clickable {\r\n div {\r\n pointer-events: none;\r\n }\r\n}\r\n\r\n.line {\r\n height: 100%;\r\n width: 100%;\r\n border-right: 1px solid #e4dcdc;\r\n box-sizing: border-box;\r\n}\r\n\r\n.lines-canvas {\r\n position: absolute;\r\n top: 0;\r\n display: grid;\r\n height: 100%;\r\n width: 100%;\r\n overflow: hidden;\r\n}\r\n\r\n.hide-last-line {\r\n div:last-child {\r\n border-right: none;\r\n }\r\n}\r\n\r\n.row-hidden {\r\n visibility: hidden;\r\n}\r\n\r\n.rt-line {\r\n position: absolute;\r\n height: calc(100% - 24px);\r\n top: 24px;\r\n width: 2px;\r\n box-sizing: border-box;\r\n border-right: dotted 2px red;\r\n}\r\n\r\n.rt-arrow {\r\n position: absolute;\r\n top: 0px;\r\n width: 0;\r\n height: 0;\r\n border-left: 15px solid transparent;\r\n border-right: 15px solid transparent;\r\n\r\n border-top: 26px solid red;\r\n}\r\n"],"mappings":";AAAA,CAAC;AACC,SAAO;AACP,UAAQ;AACR,gBAAc,IAAI,MAAM;AACxB,oBAAkB,IAAI,EAAE,EAAE,EAAE,EAAE;AAC9B,SAAO;AACP,cAAY;AACZ,GAAC,UAAU,KAAK;AACd,mBAAe,IAAI,MAAM;AAC3B;AACA,cAAY,IAA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