@bagelink/vue 1.15.15 → 1.15.26
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/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/DragOver.vue.d.ts.map +1 -1
- package/dist/components/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/FieldSetVue.vue.d.ts.map +1 -1
- package/dist/components/FilterQuery.vue.d.ts.map +1 -1
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
- package/dist/components/Swiper.vue.d.ts.map +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/analytics/BarChart.vue.d.ts.map +1 -1
- package/dist/components/analytics/LineChart.vue.d.ts.map +1 -1
- package/dist/components/analytics/PieChart.vue.d.ts.map +1 -1
- package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
- package/dist/components/calendar/Index.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/AgendaView.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/DayView.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/MonthView.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/WeekView.vue.d.ts.map +1 -1
- package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/MarkdownEditor.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/components/EditorToolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
- package/dist/components/layout/AppContent.vue.d.ts.map +1 -1
- package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Resizable.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
- package/dist/index.cjs +141 -166
- package/dist/index.mjs +33696 -27776
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/src/components/AccordionItem.vue +32 -28
- package/src/components/Avatar.vue +12 -10
- package/src/components/Badge.vue +15 -13
- package/src/components/BglVideo.vue +13 -11
- package/src/components/Btn.vue +90 -89
- package/src/components/Card.vue +33 -31
- package/src/components/DataPreview.vue +17 -15
- package/src/components/DragOver.vue +2 -0
- package/src/components/Dropdown.vue +38 -36
- package/src/components/FieldSetVue.vue +7 -5
- package/src/components/FilterQuery.vue +28 -24
- package/src/components/Image.vue +7 -5
- package/src/components/JSONSchema.vue +45 -43
- package/src/components/JsonBuilder.vue +10 -8
- package/src/components/ListItem.vue +41 -39
- package/src/components/ListView.vue +3 -1
- package/src/components/MapEmbed/Index.vue +4 -2
- package/src/components/Menu.vue +17 -13
- package/src/components/NavBar.vue +198 -196
- package/src/components/PageTitle.vue +2 -0
- package/src/components/RouterWrapper.vue +3 -1
- package/src/components/Spreadsheet/Index.vue +8 -6
- package/src/components/Spreadsheet/SpreadsheetTable.vue +100 -98
- package/src/components/Swiper.vue +33 -30
- package/src/components/Toast.vue +2 -0
- package/src/components/analytics/BarChart.vue +10 -8
- package/src/components/analytics/LineChart.vue +27 -23
- package/src/components/analytics/PieChart.vue +32 -28
- package/src/components/calendar/CalendarPopover.vue +19 -17
- package/src/components/calendar/Index.vue +6 -4
- package/src/components/calendar/views/AgendaView.vue +19 -17
- package/src/components/calendar/views/DayView.vue +44 -42
- package/src/components/calendar/views/MonthView.vue +85 -83
- package/src/components/calendar/views/WeekView.vue +55 -53
- package/src/components/dataTable/DataTable.vue +140 -139
- package/src/components/form/inputs/ArrayInput.vue +28 -26
- package/src/components/form/inputs/CheckInput.vue +32 -30
- package/src/components/form/inputs/Checkbox.vue +4 -2
- package/src/components/form/inputs/CodeEditor/Index.vue +49 -45
- package/src/components/form/inputs/ColorInput.vue +37 -35
- package/src/components/form/inputs/DateInput.vue +3 -1
- package/src/components/form/inputs/DatePicker.vue +42 -40
- package/src/components/form/inputs/EmailInput.vue +67 -63
- package/src/components/form/inputs/JSONInput.vue +4 -2
- package/src/components/form/inputs/MarkdownEditor.vue +3 -1
- package/src/components/form/inputs/NumberInput.vue +53 -51
- package/src/components/form/inputs/OTP.vue +45 -43
- package/src/components/form/inputs/PasswordInput.vue +11 -9
- package/src/components/form/inputs/RadioGroup.vue +19 -18
- package/src/components/form/inputs/RangeInput.vue +23 -21
- package/src/components/form/inputs/RichText/components/EditorToolbar.vue +14 -12
- package/src/components/form/inputs/RichText/components/gridBox.vue +10 -8
- package/src/components/form/inputs/RichText/index.vue +218 -212
- package/src/components/form/inputs/SelectBtn.vue +3 -1
- package/src/components/form/inputs/SelectInput.vue +61 -57
- package/src/components/form/inputs/SignaturePad.vue +19 -17
- package/src/components/form/inputs/TableField.vue +71 -67
- package/src/components/form/inputs/TelInput.vue +84 -82
- package/src/components/form/inputs/TextInput.vue +38 -34
- package/src/components/form/inputs/ToggleInput.vue +31 -29
- package/src/components/layout/AppContent.vue +21 -17
- package/src/components/layout/AppLayout.vue +25 -23
- package/src/components/layout/AppSidebar.vue +71 -72
- package/src/components/layout/BottomMenu.vue +7 -3
- package/src/components/layout/Resizable.vue +8 -6
- package/src/components/layout/SidebarMenu.vue +16 -12
- package/src/components/layout/Skeleton.vue +17 -15
- package/src/components/layout/TabbedLayout.vue +6 -5
- package/src/components/layout/TabsNav.vue +112 -108
- package/src/components/lightbox/Lightbox.vue +147 -145
- package/src/dialog/Dialog.vue +142 -140
- package/src/form-flow/MultiStepForm.vue +88 -86
- package/src/styles/appearance.css +115 -115
- package/src/styles/bagel.css +30 -31
- package/src/styles/layout.css +977 -971
- package/src/styles/mobilLayout.css +754 -754
- package/src/styles/text.css +630 -630
- package/vite.config.ts +0 -31
|
@@ -229,37 +229,39 @@ onUnmounted(() => { containerRef.value?.removeEventListener('scroll', handleScro
|
|
|
229
229
|
</template>
|
|
230
230
|
|
|
231
231
|
<style scoped>
|
|
232
|
+
|
|
232
233
|
.agenda-event-row {
|
|
233
|
-
|
|
234
|
-
|
|
234
|
+
grid-template-columns: 72px 1fr;
|
|
235
|
+
align-items: stretch;
|
|
235
236
|
}
|
|
236
237
|
|
|
237
238
|
.agenda-event-time::after {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
content: '';
|
|
240
|
+
display: block;
|
|
241
|
+
width: 1px;
|
|
242
|
+
height: calc(100% - 2rem);
|
|
243
|
+
background: var(--bgl-border-color, #e6e8ec);
|
|
244
|
+
margin: 0.5rem auto 0;
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
/* .agenda-event-card {
|
|
247
|
-
|
|
248
|
+
border-inline-start: var(--event-color, var(--bgl-primary)) solid calc(var(--bgl-card-border-radius) + 0.25rem);
|
|
248
249
|
} */
|
|
249
250
|
|
|
250
251
|
.agenda-event-card h3::before {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
252
|
+
content: '';
|
|
253
|
+
width: 10px;
|
|
254
|
+
height: 10px;
|
|
255
|
+
display: inline-block;
|
|
256
|
+
border-radius: 100%;
|
|
257
|
+
margin-inline-end: 0.35rem;
|
|
258
|
+
background: var(--event-color, var(--bgl-primary, #2563eb));
|
|
258
259
|
}
|
|
259
260
|
|
|
260
261
|
@media (max-width: 910px) {
|
|
261
262
|
.agenda-event-row {
|
|
262
|
-
|
|
263
|
+
grid-template-columns: 50px 1fr;
|
|
263
264
|
}
|
|
264
265
|
}
|
|
266
|
+
|
|
265
267
|
</style>
|
|
@@ -264,90 +264,92 @@ onUnmounted(() => {
|
|
|
264
264
|
</template>
|
|
265
265
|
|
|
266
266
|
<style scoped>
|
|
267
|
+
|
|
267
268
|
.dayGrid {
|
|
268
|
-
|
|
269
|
-
|
|
269
|
+
display: grid;
|
|
270
|
+
grid-template-columns: 5rem 1fr;
|
|
270
271
|
}
|
|
271
272
|
|
|
272
273
|
.time-column {
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
width: 80px;
|
|
275
|
+
flex-shrink: 0;
|
|
275
276
|
}
|
|
276
277
|
|
|
277
278
|
.events-column {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
flex-grow: 1;
|
|
280
|
+
position: relative;
|
|
281
|
+
border-inline-start: 1px solid var(--bgl-border-color);
|
|
282
|
+
min-height: 100%; /* Ensure the column fills the full height */
|
|
282
283
|
}
|
|
283
284
|
|
|
284
285
|
.date-header {
|
|
285
|
-
|
|
286
|
-
|
|
286
|
+
padding: 0.5rem;
|
|
287
|
+
text-align: center;
|
|
287
288
|
}
|
|
288
289
|
|
|
289
290
|
.day-header .events-column {
|
|
290
|
-
|
|
291
|
+
border-inline-start: 1px solid transparent;
|
|
291
292
|
}
|
|
292
293
|
|
|
293
294
|
.time-slot {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
295
|
+
height: 60px; /* Match this with the slotHeight variable */
|
|
296
|
+
display: flex;
|
|
297
|
+
align-items: flex-start; /* Align to top to match events */
|
|
298
|
+
justify-content: center;
|
|
299
|
+
padding: 0.5rem 0;
|
|
300
|
+
box-sizing: border-box;
|
|
300
301
|
}
|
|
301
302
|
|
|
302
303
|
.time-slots {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
flex-grow: 1;
|
|
305
|
+
display: flex;
|
|
306
|
+
overflow: auto;
|
|
307
|
+
position: relative;
|
|
307
308
|
}
|
|
308
309
|
|
|
309
310
|
.event {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
311
|
+
left: 10px;
|
|
312
|
+
right: 10px;
|
|
313
|
+
box-sizing: border-box;
|
|
313
314
|
}
|
|
314
315
|
|
|
315
316
|
.event:hover {
|
|
316
|
-
|
|
317
|
-
|
|
317
|
+
z-index: 2;
|
|
318
|
+
transform: scale(1.02);
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
.event-content {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
padding: 0.15rem 0.5rem;
|
|
323
|
+
color: white;
|
|
324
|
+
font-size: 0.9rem;
|
|
325
|
+
height: 100%;
|
|
326
|
+
overflow: hidden;
|
|
326
327
|
}
|
|
327
328
|
|
|
328
329
|
.event-title {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
white-space: nowrap;
|
|
331
|
+
overflow: hidden;
|
|
332
|
+
text-overflow: ellipsis;
|
|
332
333
|
}
|
|
333
334
|
|
|
334
335
|
.event-time {
|
|
335
|
-
|
|
336
|
+
font-size: 0.8rem;
|
|
336
337
|
}
|
|
337
338
|
|
|
338
339
|
.drag-preview {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
340
|
+
border: 1px solid var(--bgl-primary);
|
|
341
|
+
background-color: rgba(var(--bgl-primary-rgb), 0.1);
|
|
342
|
+
box-sizing: border-box;
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
.current-time-line {
|
|
345
|
-
|
|
346
|
-
|
|
346
|
+
height: 2px;
|
|
347
|
+
background-color: var(--bgl-primary);
|
|
347
348
|
}
|
|
348
349
|
|
|
349
350
|
.current-time-dot {
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
background-color: var(--bgl-primary);
|
|
352
|
+
margin-right: -5px; /* Adjust dot position */
|
|
352
353
|
}
|
|
354
|
+
|
|
353
355
|
</style>
|
|
@@ -156,142 +156,144 @@ function handleEventSelection(event: CalendarEvent, domEvent?: MouseEvent) {
|
|
|
156
156
|
</template>
|
|
157
157
|
|
|
158
158
|
<style scoped>
|
|
159
|
+
|
|
159
160
|
.month-view {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
height: 100%;
|
|
164
|
+
overflow: hidden;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
.month-header {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
display: grid;
|
|
169
|
+
grid-template-columns: repeat(7, 1fr);
|
|
170
|
+
border-bottom: 1px solid var(--bgl-border-color);
|
|
170
171
|
}
|
|
171
172
|
|
|
172
173
|
.weekday {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
padding: 0.5rem;
|
|
175
|
+
text-align: center;
|
|
176
|
+
color: var(--text-muted);
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
.month-grid {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
display: grid;
|
|
181
|
+
grid-template-columns: repeat(7, 1fr);
|
|
182
|
+
grid-template-rows: repeat(6, 1fr);
|
|
183
|
+
flex-grow: 1;
|
|
184
|
+
overflow: auto;
|
|
185
|
+
border-inline-end: 1px solid var(--bgl-border-color);
|
|
185
186
|
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
.day-cell {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
border-inline-start: 1px solid var(--bgl-border-color);
|
|
191
|
+
border-bottom: 1px solid var(--bgl-border-color);
|
|
192
|
+
padding: 0.5rem;
|
|
193
|
+
min-height: 100px;
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-direction: column;
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
.day-number {
|
|
198
|
-
|
|
199
|
+
margin-bottom: 0.5rem;
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
.other-month {
|
|
202
|
-
|
|
203
|
-
|
|
203
|
+
background-color: var(--bgl-gray-light);
|
|
204
|
+
color: var(--bgl-gray);
|
|
204
205
|
}
|
|
205
206
|
|
|
206
207
|
.today {
|
|
207
|
-
|
|
208
|
+
background-color: var(--bgl-primary-light);
|
|
208
209
|
}
|
|
209
210
|
|
|
210
211
|
.today .day-number {
|
|
211
|
-
|
|
212
|
+
color: var(--bgl-primary);
|
|
212
213
|
}
|
|
213
214
|
|
|
214
215
|
.day-events {
|
|
215
|
-
|
|
216
|
-
|
|
216
|
+
flex-grow: 1;
|
|
217
|
+
overflow-y: auto;
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
.event-item {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
221
|
+
margin-bottom: 0.25rem;
|
|
222
|
+
padding: 0.25rem;
|
|
223
|
+
border-radius: 4px;
|
|
224
|
+
color: white;
|
|
225
|
+
font-size: 0.8rem;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
transition: all 0.2s ease;
|
|
228
|
+
display: flex;
|
|
229
|
+
align-items: center;
|
|
230
|
+
gap: 0.25rem;
|
|
231
|
+
min-width: 0;
|
|
232
|
+
justify-content: space-between;
|
|
233
|
+
/* Allow flex items to shrink */
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
.event-title {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
font-weight: 500;
|
|
238
|
+
/* white-space: nowrap; */
|
|
239
|
+
height: 1lh;
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
text-overflow: ellipsis;
|
|
241
242
|
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
.event-time {
|
|
245
|
-
|
|
246
|
-
|
|
246
|
+
font-size: 0.7rem;
|
|
247
|
+
opacity: 0.8;
|
|
247
248
|
}
|
|
248
249
|
|
|
249
250
|
.event-dot {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
width: 6px;
|
|
252
|
+
height: 6px;
|
|
253
|
+
background-color: var(--bgl-primary);
|
|
254
|
+
border-radius: 50%;
|
|
255
|
+
margin: 0.25rem auto;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
.custom-popover {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
259
|
+
position: fixed;
|
|
260
|
+
z-index: 1000;
|
|
261
|
+
min-width: 250px;
|
|
262
|
+
max-width: 350px;
|
|
263
|
+
background-color: white;
|
|
264
|
+
border-radius: var(--bgl-btn-border-radius);
|
|
265
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
266
|
+
animation: fadeIn 0.2s ease;
|
|
267
|
+
transform-origin: center left;
|
|
267
268
|
}
|
|
268
269
|
|
|
269
270
|
@keyframes fadeIn {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
271
|
+
from {
|
|
272
|
+
opacity: 0;
|
|
273
|
+
transform: scale(0.95);
|
|
274
|
+
}
|
|
274
275
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
to {
|
|
277
|
+
opacity: 1;
|
|
278
|
+
transform: scale(1);
|
|
279
|
+
}
|
|
279
280
|
}
|
|
280
281
|
|
|
281
282
|
@media (max-width: 768px) {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
283
|
+
.day-cell {
|
|
284
|
+
min-height: 60px;
|
|
285
|
+
padding: 0.25rem;
|
|
286
|
+
}
|
|
286
287
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
.day-number {
|
|
289
|
+
font-size: 0.8rem;
|
|
290
|
+
margin-bottom: 0.25rem;
|
|
291
|
+
}
|
|
291
292
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
}
|
|
293
|
+
.weekday {
|
|
294
|
+
font-size: 0.8rem;
|
|
295
|
+
padding: 0.25rem;
|
|
296
296
|
}
|
|
297
|
+
}
|
|
298
|
+
|
|
297
299
|
</style>
|
|
@@ -751,113 +751,115 @@ onUnmounted(() => {
|
|
|
751
751
|
</template>
|
|
752
752
|
|
|
753
753
|
<style scoped>
|
|
754
|
+
|
|
754
755
|
.weekGrid {
|
|
755
|
-
|
|
756
|
-
|
|
756
|
+
display: grid;
|
|
757
|
+
grid-template-columns: 5rem repeat(7, 1fr);
|
|
757
758
|
}
|
|
758
759
|
|
|
759
760
|
.days-column {
|
|
760
|
-
|
|
761
|
-
|
|
761
|
+
flex-grow: 1;
|
|
762
|
+
display: flex;
|
|
762
763
|
}
|
|
763
764
|
|
|
764
765
|
.day-column {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
766
|
+
flex: 1;
|
|
767
|
+
position: relative;
|
|
768
|
+
/* Ensure absolute positioning works properly */
|
|
769
|
+
min-height: 100%;
|
|
770
|
+
/* Ensure column fills the full height */
|
|
770
771
|
}
|
|
771
772
|
|
|
772
773
|
/* Add consistent styling for the time slots */
|
|
773
774
|
.txt-light {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
775
|
+
padding: 0.5rem 0;
|
|
776
|
+
box-sizing: border-box;
|
|
777
|
+
display: flex;
|
|
778
|
+
align-items: flex-start;
|
|
779
|
+
justify-content: center;
|
|
779
780
|
}
|
|
780
781
|
|
|
781
782
|
.event {
|
|
782
|
-
|
|
783
|
-
|
|
783
|
+
margin-right: 2px;
|
|
784
|
+
box-sizing: border-box;
|
|
784
785
|
}
|
|
785
786
|
|
|
786
787
|
.event:hover {
|
|
787
|
-
|
|
788
|
+
z-index: 2;
|
|
788
789
|
}
|
|
789
790
|
|
|
790
791
|
.drag-preview {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
792
|
+
border: 1px solid var(--bgl-primary);
|
|
793
|
+
background-color: rgba(var(--bgl-primary-rgb), 0.1);
|
|
794
|
+
box-sizing: border-box;
|
|
795
|
+
/* Ensure consistent sizing */
|
|
795
796
|
}
|
|
796
797
|
|
|
797
798
|
.current-time-line {
|
|
798
|
-
|
|
799
|
-
|
|
799
|
+
height: 2px;
|
|
800
|
+
background-color: var(--bgl-primary);
|
|
800
801
|
}
|
|
801
802
|
|
|
802
803
|
.current-time-dot {
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
804
|
+
background-color: var(--bgl-primary);
|
|
805
|
+
margin-right: -5px;
|
|
806
|
+
/* Adjust dot position */
|
|
806
807
|
}
|
|
807
808
|
|
|
808
809
|
.hour-line {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
810
|
+
border-top: 1px solid var(--bgl-gray-80);
|
|
811
|
+
z-index: 0;
|
|
812
|
+
height: 0;
|
|
812
813
|
}
|
|
813
814
|
|
|
814
815
|
.sub-hour-line {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
border-top: 1px dashed var(--bgl-gray-30, #e8e8e8);
|
|
817
|
+
z-index: 0;
|
|
818
|
+
height: 0;
|
|
818
819
|
}
|
|
819
820
|
|
|
820
821
|
/* This ensures all grid content aligns properly */
|
|
821
822
|
.overflow {
|
|
822
|
-
|
|
823
|
+
position: relative;
|
|
823
824
|
}
|
|
824
825
|
|
|
825
826
|
/* Time column headers should be aligned with their content */
|
|
826
827
|
.day-header {
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
828
|
+
/* box-sizing: border-box;
|
|
829
|
+
height: 100%;
|
|
830
|
+
display: flex;
|
|
831
|
+
flex-direction: column;
|
|
832
|
+
justify-content: center; */
|
|
832
833
|
}
|
|
833
834
|
|
|
834
835
|
.availability-block {
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
836
|
+
background-color: rgba(76, 175, 80, 0.18);
|
|
837
|
+
border-inline-start: 3px solid rgba(76, 175, 80, 0.5);
|
|
838
|
+
z-index: 0;
|
|
839
|
+
pointer-events: none;
|
|
839
840
|
}
|
|
840
841
|
|
|
841
842
|
.availability-block.availability-editable {
|
|
842
|
-
|
|
843
|
-
|
|
843
|
+
background-color: rgba(33, 150, 243, 0.18);
|
|
844
|
+
border-inline-start: 3px solid rgba(33, 150, 243, 0.5);
|
|
844
845
|
}
|
|
845
846
|
|
|
846
847
|
.availability-preview {
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
848
|
+
background-color: rgba(76, 175, 80, 0.25);
|
|
849
|
+
border: 1px dashed rgba(76, 175, 80, 0.6);
|
|
850
|
+
z-index: 0;
|
|
850
851
|
}
|
|
851
852
|
|
|
852
853
|
.availability-preview.avail-remove {
|
|
853
|
-
|
|
854
|
-
|
|
854
|
+
background-color: rgba(244, 67, 54, 0.15);
|
|
855
|
+
border-color: rgba(244, 67, 54, 0.5);
|
|
855
856
|
}
|
|
856
857
|
|
|
857
858
|
@media (max-width: 910px) {
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
859
|
+
.weekGrid {
|
|
860
|
+
display: grid;
|
|
861
|
+
grid-template-columns: 3rem repeat(7, 100px);
|
|
862
|
+
}
|
|
862
863
|
}
|
|
864
|
+
|
|
863
865
|
</style>
|