@bagelink/vue 0.0.1240 → 0.0.1246
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/Calendar/Index.vue.d.ts +4 -4
- package/dist/components/Calendar/components/header/Header.vue.d.ts +2 -2
- package/dist/components/Calendar/components/header/Header.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/AgendaEventTile.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/AgendaEvents.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/Day.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/Month.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/week/DayEvent.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/week/DayTimeline.vue.d.ts.map +1 -1
- package/dist/components/Calendar/language/index.d.ts.map +1 -1
- package/dist/components/Calendar/language/keys.d.ts +6 -0
- package/dist/components/Calendar/language/keys.d.ts.map +1 -1
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePick.vue.d.ts +1 -1
- package/dist/components/form/inputs/DatePick.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/lightbox/index.d.ts.map +1 -1
- package/dist/composables/useSchemaField.d.ts.map +1 -1
- package/dist/index.cjs +109 -268
- package/dist/index.mjs +110 -269
- package/dist/style.css +94 -77
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Calendar/components/header/Header.vue +29 -29
- package/src/components/Calendar/components/month/AgendaEventTile.vue +35 -28
- package/src/components/Calendar/components/month/AgendaEvents.vue +4 -4
- package/src/components/Calendar/components/month/Day.vue +9 -6
- package/src/components/Calendar/components/month/Month.vue +12 -3
- package/src/components/Calendar/components/partials/EventFlyout.vue +5 -5
- package/src/components/Calendar/components/week/DayEvent.vue +6 -6
- package/src/components/Calendar/components/week/DayTimeline.vue +15 -21
- package/src/components/Calendar/components/week/FullDayEvent.vue +1 -1
- package/src/components/Calendar/components/week/Week.vue +3 -3
- package/src/components/Calendar/language/index.ts +1 -0
- package/src/components/Calendar/language/keys.ts +6 -0
- package/src/components/Image.vue +1 -2
- package/src/components/index.ts +0 -1
- package/src/components/lightbox/index.ts +3 -2
- package/src/composables/useSchemaField.ts +0 -1
- package/src/styles/layout.css +4 -0
- package/src/styles/mobilLayout.css +4 -0
- package/src/utils/index.ts +3 -1
- package/src/components/BglComponent.vue +0 -187
package/dist/style.css
CHANGED
|
@@ -320,16 +320,19 @@ display: block;
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
.agenda__event[data-v-
|
|
324
|
-
|
|
325
|
-
color: var(--
|
|
323
|
+
.agenda__event[data-v-5740437b] {
|
|
324
|
+
border-inline-start: 0.75rem solid;
|
|
325
|
+
border-color: var(--2e2f2739);
|
|
326
|
+
background: var(--input-bg);
|
|
327
|
+
grid-template-columns: 200px auto;
|
|
328
|
+
box-shadow: 0 0 0 1px var(--border-color);
|
|
326
329
|
}
|
|
327
330
|
|
|
328
|
-
.agenda__wrapper[data-v-
|
|
331
|
+
.agenda__wrapper[data-v-746fe0c6] {
|
|
329
332
|
grid-template-columns: 100px 1fr;
|
|
330
333
|
}
|
|
331
334
|
@media screen and (max-width: 910px) {
|
|
332
|
-
.agenda__wrapper[data-v-
|
|
335
|
+
.agenda__wrapper[data-v-746fe0c6] {
|
|
333
336
|
grid-template-columns: 40px 1fr;
|
|
334
337
|
}
|
|
335
338
|
}
|
|
@@ -339,7 +342,7 @@ display: block;
|
|
|
339
342
|
z-index: 50;
|
|
340
343
|
background-color: #fff;
|
|
341
344
|
max-height: 100%;
|
|
342
|
-
width: var(--
|
|
345
|
+
width: var(--82e0d6e0);
|
|
343
346
|
max-width: 98%;
|
|
344
347
|
border: var(--qalendar-border-gray-thin);
|
|
345
348
|
border-radius: 8px;
|
|
@@ -379,7 +382,7 @@ display: block;
|
|
|
379
382
|
.is-not-editable .event-flyout__menu-close {
|
|
380
383
|
position: absolute;
|
|
381
384
|
top: 0;
|
|
382
|
-
|
|
385
|
+
inset-inline-end: 0;
|
|
383
386
|
}
|
|
384
387
|
.event-flyout__menu-item {
|
|
385
388
|
font-size: var(--qalendar-font-l);
|
|
@@ -448,69 +451,72 @@ display: block;
|
|
|
448
451
|
height: 6px;
|
|
449
452
|
}
|
|
450
453
|
|
|
451
|
-
.calendar-month__weekday[data-v-
|
|
454
|
+
.calendar-month__weekday[data-v-c1dfa100] {
|
|
452
455
|
height: 100%;
|
|
453
456
|
flex: 1;
|
|
454
457
|
display: flex;
|
|
455
458
|
flex-flow: column;
|
|
456
459
|
align-items: center;
|
|
457
|
-
border-
|
|
460
|
+
border-inline-end: var(--qalendar-border-gray-thin);
|
|
458
461
|
border-bottom: var(--qalendar-border-gray-thin);
|
|
459
462
|
overflow: hidden;
|
|
460
463
|
transition: background-color 0.2s ease-in-out;
|
|
461
464
|
}
|
|
462
|
-
.calendar-month__weekday
|
|
465
|
+
.calendar-month__weekday[data-v-c1dfa100]:active {
|
|
466
|
+
background-color: var(--qalendar-light-gray);
|
|
467
|
+
}
|
|
468
|
+
.calendar-month__weekday.is-droppable[data-v-c1dfa100] {
|
|
463
469
|
background-color: var(--qalendar-light-gray);
|
|
464
470
|
}
|
|
465
|
-
.calendar-month__weekday[data-v-
|
|
466
|
-
border-
|
|
471
|
+
.calendar-month__weekday[data-v-c1dfa100]:last-child {
|
|
472
|
+
border-inline-end: 0;
|
|
467
473
|
}
|
|
468
|
-
.calendar-month__weekday.is-selected[data-v-
|
|
474
|
+
.calendar-month__weekday.is-selected[data-v-c1dfa100] {
|
|
469
475
|
box-shadow: inset 0 0 0 1px var(--bgl-primary);
|
|
470
476
|
}
|
|
471
|
-
.calendar-month__weekday-more[data-v-
|
|
477
|
+
.calendar-month__weekday-more[data-v-c1dfa100] {
|
|
472
478
|
font-size: var(--qalendar-font-2xs);
|
|
473
479
|
width: 100%;
|
|
474
|
-
padding-
|
|
480
|
+
padding-inline-start: 4px;
|
|
475
481
|
color: var(--qalendar-gray-quite-dark);
|
|
476
482
|
cursor: pointer;
|
|
477
483
|
}
|
|
478
|
-
.calendar-month_events[data-v-
|
|
484
|
+
.calendar-month_events[data-v-c1dfa100] {
|
|
479
485
|
width: 100%;
|
|
480
486
|
}
|
|
481
|
-
.qalendar-is-small .calendar-month_events[data-v-
|
|
487
|
+
.qalendar-is-small .calendar-month_events[data-v-c1dfa100] {
|
|
482
488
|
display: flex;
|
|
483
489
|
flex-flow: row;
|
|
484
490
|
justify-content: center;
|
|
485
491
|
}
|
|
486
|
-
.qalendar-is-small .calendar-month_events .calendar-month__weekday-more[data-v-
|
|
492
|
+
.qalendar-is-small .calendar-month_events .calendar-month__weekday-more[data-v-c1dfa100] {
|
|
487
493
|
display: none;
|
|
488
494
|
}
|
|
489
|
-
.calendar-month__weekday.is-today .calendar-month__day-date[data-v-
|
|
495
|
+
.calendar-month__weekday.is-today .calendar-month__day-date[data-v-c1dfa100] {
|
|
490
496
|
background-color: var(--bgl-primary);
|
|
491
497
|
color: #fff;
|
|
492
498
|
border-radius: 50%;
|
|
493
499
|
padding: 4px 6px;
|
|
494
500
|
}
|
|
495
|
-
.qalendar-is-small .calendar-month__weekday.is-today .calendar-month__day-date[data-v-
|
|
501
|
+
.qalendar-is-small .calendar-month__weekday.is-today .calendar-month__day-date[data-v-c1dfa100] {
|
|
496
502
|
padding: 2px 4px;
|
|
497
503
|
}
|
|
498
|
-
.space-reserver[data-v-
|
|
504
|
+
.space-reserver[data-v-c1dfa100] {
|
|
499
505
|
height: 100%;
|
|
500
506
|
flex: 1;
|
|
501
507
|
display: flex;
|
|
502
508
|
flex-flow: column;
|
|
503
509
|
align-items: center;
|
|
504
|
-
border-
|
|
510
|
+
border-inline-end: var(--qalendar-border-gray-thin);
|
|
505
511
|
border-bottom: var(--qalendar-border-gray-thin);
|
|
506
|
-
border-
|
|
512
|
+
border-inline-end-color: transparent;
|
|
507
513
|
}
|
|
508
|
-
.space-reserver + .calendar-month__weekday[data-v-
|
|
509
|
-
border-
|
|
514
|
+
.space-reserver + .calendar-month__weekday[data-v-c1dfa100]:not(.trailing-or-leading) {
|
|
515
|
+
border-inline-start: var(--qalendar-border-gray-thin);
|
|
510
516
|
}
|
|
511
517
|
@media (prefers-color-scheme: dark) {
|
|
512
|
-
.calendar-month__weekday[data-v-
|
|
513
|
-
.space-reserver[data-v-
|
|
518
|
+
.calendar-month__weekday[data-v-c1dfa100],
|
|
519
|
+
.space-reserver[data-v-c1dfa100] {
|
|
514
520
|
border-color: var(--qalendar-dark-mode-line-color);
|
|
515
521
|
}
|
|
516
522
|
}
|
|
@@ -522,8 +528,18 @@ display: block;
|
|
|
522
528
|
.calendar-month__week:first-child {
|
|
523
529
|
border-top: var(--qalendar-border-gray-thin);
|
|
524
530
|
}
|
|
531
|
+
.calendar-root.mode-is-month.qalendar-is-small .calendar-month.h-100p{
|
|
532
|
+
height: auto !important;
|
|
533
|
+
}
|
|
534
|
+
.calendar-root.mode-is-month.qalendar-is-small .calendar-month__weeks{
|
|
535
|
+
display: block !important;
|
|
536
|
+
height: auto !important;
|
|
537
|
+
}
|
|
538
|
+
.calendar-root.mode-is-month.qalendar-is-small .calendar-month__weekday{
|
|
539
|
+
height: 40px !important;
|
|
540
|
+
}
|
|
525
541
|
|
|
526
|
-
.calendar-week__event[data-v-
|
|
542
|
+
.calendar-week__event[data-v-9fd5622b] {
|
|
527
543
|
position: absolute;
|
|
528
544
|
width: 100%;
|
|
529
545
|
border-radius: 4px;
|
|
@@ -532,22 +548,22 @@ display: block;
|
|
|
532
548
|
user-select: none;
|
|
533
549
|
overflow: hidden;
|
|
534
550
|
}
|
|
535
|
-
.calendar-week__event.is-editable[data-v-
|
|
551
|
+
.calendar-week__event.is-editable[data-v-9fd5622b] {
|
|
536
552
|
cursor: grab;
|
|
537
553
|
}
|
|
538
|
-
.calendar-week__event.has-disabled-dnd[data-v-
|
|
554
|
+
.calendar-week__event.has-disabled-dnd[data-v-9fd5622b] {
|
|
539
555
|
cursor: initial;
|
|
540
556
|
}
|
|
541
|
-
.calendar-week__event .calendar-week__event-row[data-v-
|
|
557
|
+
.calendar-week__event .calendar-week__event-row[data-v-9fd5622b] {
|
|
542
558
|
display: flex;
|
|
543
559
|
align-items: flex-start;
|
|
544
560
|
margin-bottom: 0.25em;
|
|
545
561
|
}
|
|
546
|
-
.calendar-week__event .calendar-week__event-row p[data-v-
|
|
562
|
+
.calendar-week__event .calendar-week__event-row p[data-v-9fd5622b] {
|
|
547
563
|
margin: 0;
|
|
548
564
|
padding: 0;
|
|
549
565
|
}
|
|
550
|
-
.calendar-week__event .calendar-week__event-info-wrapper[data-v-
|
|
566
|
+
.calendar-week__event .calendar-week__event-info-wrapper[data-v-9fd5622b] {
|
|
551
567
|
position: relative;
|
|
552
568
|
padding: var(--qalendar-spacing-half);
|
|
553
569
|
font-size: var(--qalendar-font-xs);
|
|
@@ -555,27 +571,27 @@ display: block;
|
|
|
555
571
|
box-sizing: border-box;
|
|
556
572
|
user-select: none;
|
|
557
573
|
}
|
|
558
|
-
.calendar-week__event .calendar-week__event-blend-out[data-v-
|
|
574
|
+
.calendar-week__event .calendar-week__event-blend-out[data-v-9fd5622b] {
|
|
559
575
|
position: absolute;
|
|
560
576
|
bottom: 0;
|
|
561
577
|
height: 20px;
|
|
562
578
|
width: 100%;
|
|
563
579
|
transform: translateX(calc(var(--qalendar-spacing-half) * -1));
|
|
564
580
|
}
|
|
565
|
-
.calendar-week__event .calendar-week__event-icon[data-v-
|
|
581
|
+
.calendar-week__event .calendar-week__event-icon[data-v-9fd5622b] {
|
|
566
582
|
margin: 2px 4px 0 0;
|
|
567
583
|
font-size: var(--qalendar-font-xs);
|
|
568
584
|
}
|
|
569
|
-
.calendar-week__event .calendar-week__event-resize[data-v-
|
|
585
|
+
.calendar-week__event .calendar-week__event-resize[data-v-9fd5622b] {
|
|
570
586
|
position: absolute;
|
|
571
587
|
width: 100%;
|
|
572
588
|
cursor: ns-resize;
|
|
573
589
|
height: 5px;
|
|
574
590
|
}
|
|
575
|
-
.calendar-week__event .calendar-week__event-resize-up[data-v-
|
|
591
|
+
.calendar-week__event .calendar-week__event-resize-up[data-v-9fd5622b] {
|
|
576
592
|
top: 0;
|
|
577
593
|
}
|
|
578
|
-
.calendar-week__event .calendar-week__event-resize-down[data-v-
|
|
594
|
+
.calendar-week__event .calendar-week__event-resize-down[data-v-9fd5622b] {
|
|
579
595
|
bottom: 0;
|
|
580
596
|
}
|
|
581
597
|
|
|
@@ -600,43 +616,38 @@ display: block;
|
|
|
600
616
|
border-bottom: 1px solid var(--border-color);
|
|
601
617
|
}
|
|
602
618
|
|
|
603
|
-
.day-timeline[data-v-
|
|
604
|
-
position: absolute;
|
|
605
|
-
top: 0;
|
|
606
|
-
left: 0;
|
|
619
|
+
.day-timeline[data-v-0b3de5c5] {
|
|
607
620
|
width: calc(100% + 10px);
|
|
608
|
-
height: var(--
|
|
621
|
+
height: var(--399901d6);
|
|
609
622
|
transform: translateX(-10px);
|
|
610
|
-
display: flex;
|
|
611
|
-
flex-flow: column;
|
|
612
|
-
justify-content: space-evenly;
|
|
613
623
|
}
|
|
614
|
-
.day-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
624
|
+
[dir="rtl"] .day-timeline[data-v-0b3de5c5] {
|
|
625
|
+
transform: translateX(10px);
|
|
626
|
+
}
|
|
627
|
+
[dir="rtl"] .ltr .day-timeline[data-v-0b3de5c5] {
|
|
628
|
+
transform: translateX(-10px);
|
|
629
|
+
}
|
|
630
|
+
.day-timeline__hour[data-v-0b3de5c5] {
|
|
620
631
|
font-size: clamp(10px, 0.625rem, 14px);
|
|
621
632
|
color: var(--qalendar-gray-quite-dark);
|
|
622
633
|
}
|
|
623
|
-
.day-timeline__hour-text[data-v-
|
|
624
|
-
line-height: 0;
|
|
634
|
+
.day-timeline__hour-text[data-v-0b3de5c5] {
|
|
625
635
|
transform: translate(-40px, 0);
|
|
626
636
|
}
|
|
627
|
-
|
|
628
|
-
|
|
637
|
+
[dir="rtl"] .day-timeline__hour-text[data-v-0b3de5c5] {
|
|
638
|
+
transform: translate(40px, 0);
|
|
629
639
|
}
|
|
630
|
-
.day-timeline__hour[data-v-
|
|
631
|
-
|
|
640
|
+
[dir="rtl"] .ltr .day-timeline__hour-text[data-v-0b3de5c5] {
|
|
641
|
+
transform: translate(-40px, 0);
|
|
632
642
|
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
border-color: var(--qalendar-dark-mode-line-color);
|
|
643
|
+
.day-timeline__hour:first-child .day-timeline__hour-text[data-v-0b3de5c5] {
|
|
644
|
+
display: none;
|
|
636
645
|
}
|
|
646
|
+
.day-timeline__hour[data-v-0b3de5c5]:not(:last-child) {
|
|
647
|
+
border-bottom: var(--qalendar-border-gray-thin);
|
|
637
648
|
}
|
|
638
649
|
|
|
639
|
-
.week-timeline__event[data-v-
|
|
650
|
+
.week-timeline__event[data-v-8bd51337] {
|
|
640
651
|
position: relative;
|
|
641
652
|
--event-padding: 3px;
|
|
642
653
|
display: flex;
|
|
@@ -647,12 +658,12 @@ display: block;
|
|
|
647
658
|
border-radius: 4px;
|
|
648
659
|
padding: var(--event-padding);
|
|
649
660
|
margin-bottom: 0.25em;
|
|
650
|
-
text-align:
|
|
661
|
+
text-align: start;
|
|
651
662
|
cursor: pointer;
|
|
652
663
|
user-select: none;
|
|
653
664
|
overflow: hidden;
|
|
654
665
|
}
|
|
655
|
-
.week-timeline__event[data-v-
|
|
666
|
+
.week-timeline__event[data-v-8bd51337]:active {
|
|
656
667
|
cursor: not-allowed;
|
|
657
668
|
}
|
|
658
669
|
|
|
@@ -678,34 +689,34 @@ display: block;
|
|
|
678
689
|
.week-timeline__events[data-v-18ecf6c3] {
|
|
679
690
|
}
|
|
680
691
|
|
|
681
|
-
.calendar-week__wrapper[data-v-
|
|
692
|
+
.calendar-week__wrapper[data-v-f1a405b2] {
|
|
682
693
|
position: relative;
|
|
683
|
-
padding-
|
|
694
|
+
padding-inline-start: var(--qalendar-week-padding-left);
|
|
684
695
|
overflow-y: auto;
|
|
685
696
|
}
|
|
686
|
-
.calendar-week[data-v-
|
|
697
|
+
.calendar-week[data-v-f1a405b2] {
|
|
687
698
|
position: relative;
|
|
688
699
|
width: 100%;
|
|
689
700
|
flex: 1 1 auto;
|
|
690
701
|
}
|
|
691
|
-
.calendar-week__events[data-v-
|
|
702
|
+
.calendar-week__events[data-v-f1a405b2] {
|
|
692
703
|
display: flex;
|
|
693
704
|
width: 100%;
|
|
694
|
-
height: var(--
|
|
705
|
+
height: var(--65a2ac84);
|
|
695
706
|
overflow: hidden;
|
|
696
707
|
}
|
|
697
|
-
.calendar-week .current-time-line[data-v-
|
|
708
|
+
.calendar-week .current-time-line[data-v-f1a405b2] {
|
|
698
709
|
position: absolute;
|
|
699
|
-
|
|
710
|
+
inset-inline-start: 0;
|
|
700
711
|
width: 100%;
|
|
701
712
|
height: 2px;
|
|
702
713
|
z-index: 1;
|
|
703
714
|
background-color: red;
|
|
704
715
|
}
|
|
705
|
-
.calendar-week .current-time-line__circle[data-v-
|
|
716
|
+
.calendar-week .current-time-line__circle[data-v-f1a405b2] {
|
|
706
717
|
position: relative;
|
|
707
718
|
}
|
|
708
|
-
.calendar-week .current-time-line__circle[data-v-
|
|
719
|
+
.calendar-week .current-time-line__circle[data-v-f1a405b2]::before {
|
|
709
720
|
content: '';
|
|
710
721
|
position: absolute;
|
|
711
722
|
transform: translate(-45%, -45%);
|
|
@@ -714,9 +725,9 @@ display: block;
|
|
|
714
725
|
border-radius: 50%;
|
|
715
726
|
background-color: red;
|
|
716
727
|
}
|
|
717
|
-
.calendar-week .custom-current-time[data-v-
|
|
728
|
+
.calendar-week .custom-current-time[data-v-f1a405b2] {
|
|
718
729
|
position: absolute;
|
|
719
|
-
|
|
730
|
+
inset-inline-start: 0;
|
|
720
731
|
width: 100%;
|
|
721
732
|
z-index: 1;
|
|
722
733
|
}
|
|
@@ -2673,13 +2684,13 @@ line-height: 1.65;
|
|
|
2673
2684
|
transform: rotateY(180deg) !important;
|
|
2674
2685
|
}
|
|
2675
2686
|
|
|
2676
|
-
.img-web-kit[data-v-
|
|
2687
|
+
.img-web-kit[data-v-367220b6] {
|
|
2677
2688
|
max-width: 100%;
|
|
2678
2689
|
vertical-align: middle;
|
|
2679
2690
|
border: 0;
|
|
2680
2691
|
width: 100%;
|
|
2681
2692
|
}
|
|
2682
|
-
.error-image[data-v-
|
|
2693
|
+
.error-image[data-v-367220b6] {
|
|
2683
2694
|
background-color: var(--skeleton-bg);
|
|
2684
2695
|
}
|
|
2685
2696
|
|
|
@@ -7792,6 +7803,8 @@ to {
|
|
|
7792
7803
|
}.flex {
|
|
7793
7804
|
display: flex;
|
|
7794
7805
|
align-items: center;
|
|
7806
|
+
}.display-flex {
|
|
7807
|
+
display: flex;
|
|
7795
7808
|
}.inline-flex {
|
|
7796
7809
|
display: inline-flex;
|
|
7797
7810
|
align-items: center;
|
|
@@ -8036,6 +8049,10 @@ to {
|
|
|
8036
8049
|
display: flex !important;
|
|
8037
8050
|
}
|
|
8038
8051
|
|
|
8052
|
+
.m_display-flex {
|
|
8053
|
+
display: flex !important;
|
|
8054
|
+
}
|
|
8055
|
+
|
|
8039
8056
|
.inline-flex {
|
|
8040
8057
|
display: inline-flex !important;
|
|
8041
8058
|
}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export * as bagelFormUtils from './BagelFormUtils';
|
|
|
26
26
|
export { useLang } from './lang';
|
|
27
27
|
export { formatString } from './strings';
|
|
28
28
|
export { useDebounceFn } from '@vueuse/core';
|
|
29
|
-
export declare function pathKeyToURL(pathKey?: string): string;
|
|
29
|
+
export declare function pathKeyToURL(pathKey?: string): string | undefined;
|
|
30
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot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AAM,GAAG,MAAM,GAAG,SAAS,EAAE,aAAa,SAAO,GAAG,MAAM,GAAG,SAAS,CAG/G;AAED,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAK5C,wBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,MAAM,sBAO5C"}
|
package/package.json
CHANGED
|
@@ -5,9 +5,9 @@ import type { ConfigInterface } from '../../typings/config.interface'
|
|
|
5
5
|
import type { PeriodInterface } from '../../typings/interfaces/period.interface'
|
|
6
6
|
import type { modeType } from '../../typings/types'
|
|
7
7
|
|
|
8
|
-
import { DatePick,
|
|
8
|
+
import { DatePick, TabsNav, Btn } from '@bagelink/vue'
|
|
9
9
|
import { ref, computed, watch } from 'vue'
|
|
10
|
-
import { translate
|
|
10
|
+
import { translate } from '../../language'
|
|
11
11
|
|
|
12
12
|
const props = defineProps({
|
|
13
13
|
config: {
|
|
@@ -41,33 +41,33 @@ const periodSelect = ref<InstanceType<typeof DatePick>>()
|
|
|
41
41
|
const currentPeriod = ref(props.period)
|
|
42
42
|
const modeOptions = ref<modeType[]>(['month', 'week', 'day', 'agenda'])
|
|
43
43
|
|
|
44
|
-
const icons = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const periodName = computed(() => {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
})
|
|
44
|
+
// const icons = {
|
|
45
|
+
// chevronLeft: 'chevron_left',
|
|
46
|
+
// chevronRight: 'chevron_right',
|
|
47
|
+
// }
|
|
48
|
+
|
|
49
|
+
// const periodName = computed(() => {
|
|
50
|
+
// if (props.mode === 'week') {
|
|
51
|
+
// const startMonth = props.time.getLocalizedNameOfMonth(
|
|
52
|
+
// currentPeriod.value.start,
|
|
53
|
+
// 'short'
|
|
54
|
+
// )
|
|
55
|
+
// const endMonth = props.time.getLocalizedNameOfMonth(
|
|
56
|
+
// currentPeriod.value.end,
|
|
57
|
+
// 'short'
|
|
58
|
+
// )
|
|
59
|
+
|
|
60
|
+
// return startMonth === endMonth
|
|
61
|
+
// ? startMonth
|
|
62
|
+
// : `${startMonth} - ${endMonth}`
|
|
63
|
+
// }
|
|
64
|
+
|
|
65
|
+
// // day
|
|
66
|
+
// return `${props.time.getLocalizedNameOfMonth(
|
|
67
|
+
// currentPeriod.value.selectedDate,
|
|
68
|
+
// 'short'
|
|
69
|
+
// )} ${currentPeriod.value.selectedDate.getFullYear()}`
|
|
70
|
+
// })
|
|
71
71
|
|
|
72
72
|
const modeLocal = ref(props.mode)
|
|
73
73
|
|
|
@@ -85,44 +85,51 @@ onMounted(() => {
|
|
|
85
85
|
})
|
|
86
86
|
</script>
|
|
87
87
|
|
|
88
|
+
<!-- flex column align-items-start txt14 -->
|
|
88
89
|
<template>
|
|
89
90
|
<div
|
|
90
91
|
:id="elementId"
|
|
91
|
-
class="agenda__event is-event rounded mb-05 pointer user-select-none p-1
|
|
92
|
+
class="agenda__event is-event rounded mb-05 pointer user-select-none p-1 grid gap-1"
|
|
92
93
|
@click.prevent="handleClickOnEvent"
|
|
93
94
|
>
|
|
94
|
-
<
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
<div class="flex txt14 flex column align-items-start gap-025 opacity-6">
|
|
96
|
+
<span
|
|
97
|
+
v-if="eventTime && !calendarEvent.originalEvent"
|
|
98
|
+
class="agenda__event-time flex gap-025"
|
|
99
|
+
>
|
|
100
|
+
<Icon :icon="icons.clock" :size="0.8" />
|
|
101
|
+
{{ eventTime }}
|
|
102
|
+
</span>
|
|
101
103
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
104
|
+
<span
|
|
105
|
+
v-if="calendarEvent.location"
|
|
106
|
+
class="agenda__event-location flex gap-025"
|
|
107
|
+
>
|
|
108
|
+
<Icon :icon="icons.location" :size="1" />
|
|
109
|
+
{{ calendarEvent.location }}
|
|
110
|
+
</span>
|
|
111
|
+
</div>
|
|
112
|
+
<div>
|
|
113
|
+
<div class="agenda__event-title">
|
|
114
|
+
{{ calendarEvent.title }}
|
|
115
|
+
</div>
|
|
116
|
+
<div
|
|
117
|
+
v-if="calendarEvent.with"
|
|
118
|
+
class="agenda__event-with txt14 opacity-6"
|
|
119
|
+
>
|
|
120
|
+
<Icon :icon="icons.user" />
|
|
121
|
+
{{ calendarEvent.with }}
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
120
124
|
</div>
|
|
121
125
|
</template>
|
|
122
126
|
|
|
123
127
|
<style scoped>
|
|
124
128
|
.agenda__event {
|
|
125
|
-
|
|
126
|
-
color: v-bind(
|
|
129
|
+
border-inline-start: 0.75rem solid;
|
|
130
|
+
border-color: v-bind(eventBackgroundColor);
|
|
131
|
+
background: var(--input-bg);
|
|
132
|
+
grid-template-columns: 200px auto;
|
|
133
|
+
box-shadow: 0 0 0 1px var(--border-color);
|
|
127
134
|
}
|
|
128
135
|
</style>
|
|
@@ -6,7 +6,7 @@ import type { DayInterface } from '../../typings/interfaces/day.interface'
|
|
|
6
6
|
import { getLanguage, languageKeys } from '../../language'
|
|
7
7
|
import AgendaEventTile from './AgendaEventTile.vue'
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
defineProps({
|
|
10
10
|
config: {
|
|
11
11
|
type: Object as PropType<ConfigInterface>,
|
|
12
12
|
required: true,
|
|
@@ -26,16 +26,16 @@ const emit = defineEmits(['eventWasClicked'])
|
|
|
26
26
|
|
|
27
27
|
<template>
|
|
28
28
|
<div class="agenda__wrapper grid align-items-start gap-1 h-100p ">
|
|
29
|
-
<header class="">
|
|
29
|
+
<header class="m_sticky">
|
|
30
30
|
<div class="agenda__header-day-name txt-center ">
|
|
31
|
-
{{ day.dayName }}
|
|
31
|
+
{{ day.dayName.slice(0, 3) }}
|
|
32
32
|
</div>
|
|
33
33
|
<div class="agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04 ">
|
|
34
34
|
<!-- Here we want to display leading zero for days 1-9, in order to prevent layout shifts -->
|
|
35
35
|
{{ day.dateTimeString.substring(8, 10) }}
|
|
36
36
|
</div>
|
|
37
37
|
</header>
|
|
38
|
-
<div class="agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1">
|
|
38
|
+
<div class="agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px">
|
|
39
39
|
<div
|
|
40
40
|
v-if="day.events.length === 0"
|
|
41
41
|
class="align-items-center flex justify-content-center h-100p opacity-6"
|
|
@@ -178,18 +178,21 @@ function emitDayWasClicked() {
|
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-flow: column;
|
|
180
180
|
align-items: center;
|
|
181
|
-
border-
|
|
181
|
+
border-inline-end: var(--qalendar-border-gray-thin);
|
|
182
182
|
border-bottom: var(--qalendar-border-gray-thin);
|
|
183
183
|
overflow: hidden;
|
|
184
184
|
transition: background-color 0.2s ease-in-out;
|
|
185
185
|
}
|
|
186
|
+
.calendar-month__weekday:active {
|
|
187
|
+
background-color: var(--qalendar-light-gray);
|
|
188
|
+
}
|
|
186
189
|
|
|
187
190
|
.calendar-month__weekday.is-droppable {
|
|
188
191
|
background-color: var(--qalendar-light-gray);
|
|
189
192
|
}
|
|
190
193
|
|
|
191
194
|
.calendar-month__weekday:last-child {
|
|
192
|
-
border-
|
|
195
|
+
border-inline-end: 0;
|
|
193
196
|
}
|
|
194
197
|
|
|
195
198
|
.calendar-month__weekday.is-selected {
|
|
@@ -199,7 +202,7 @@ function emitDayWasClicked() {
|
|
|
199
202
|
.calendar-month__weekday-more {
|
|
200
203
|
font-size: var(--qalendar-font-2xs);
|
|
201
204
|
width: 100%;
|
|
202
|
-
padding-
|
|
205
|
+
padding-inline-start: 4px;
|
|
203
206
|
color: var(--qalendar-gray-quite-dark);
|
|
204
207
|
cursor: pointer;
|
|
205
208
|
}
|
|
@@ -235,13 +238,13 @@ function emitDayWasClicked() {
|
|
|
235
238
|
display: flex;
|
|
236
239
|
flex-flow: column;
|
|
237
240
|
align-items: center;
|
|
238
|
-
border-
|
|
241
|
+
border-inline-end: var(--qalendar-border-gray-thin);
|
|
239
242
|
border-bottom: var(--qalendar-border-gray-thin);
|
|
240
|
-
border-
|
|
243
|
+
border-inline-end-color: transparent;
|
|
241
244
|
}
|
|
242
245
|
|
|
243
246
|
.space-reserver + .calendar-month__weekday:not(.trailing-or-leading) {
|
|
244
|
-
border-
|
|
247
|
+
border-inline-start: var(--qalendar-border-gray-thin);
|
|
245
248
|
}
|
|
246
249
|
|
|
247
250
|
@media (prefers-color-scheme: dark) {
|