@bildvitta/quasar-ui-asteroid 3.14.0-beta.3 → 3.14.0-beta.5
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/package.json
CHANGED
|
@@ -447,14 +447,11 @@ function onNavigation (date) {
|
|
|
447
447
|
&__event {
|
|
448
448
|
@include set-typography($caption);
|
|
449
449
|
|
|
450
|
-
bottom: -6px;
|
|
451
450
|
color: $primary;
|
|
452
451
|
font-size: 10px !important;
|
|
453
|
-
height: 20px;
|
|
454
|
-
left: 50%;
|
|
455
|
-
position: absolute;
|
|
456
|
-
transform: translateX(-50%);
|
|
457
452
|
width: 100%;
|
|
453
|
+
line-height: 1;
|
|
454
|
+
transition: color var(--qas-generic-transition);
|
|
458
455
|
|
|
459
456
|
&--pointer {
|
|
460
457
|
bottom: -6px;
|
|
@@ -472,6 +469,10 @@ function onNavigation (date) {
|
|
|
472
469
|
width: 6px;
|
|
473
470
|
}
|
|
474
471
|
|
|
472
|
+
.q-date__calendar-item {
|
|
473
|
+
vertical-align: initial;
|
|
474
|
+
}
|
|
475
|
+
|
|
475
476
|
&--inative {
|
|
476
477
|
.q-date {
|
|
477
478
|
&__calendar-item--out,
|
|
@@ -493,31 +494,19 @@ function onNavigation (date) {
|
|
|
493
494
|
}
|
|
494
495
|
}
|
|
495
496
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
padding-bottom: 4px;
|
|
500
|
-
}
|
|
497
|
+
.q-date {
|
|
498
|
+
&__navigation {
|
|
499
|
+
justify-content: space-between;
|
|
501
500
|
|
|
502
|
-
|
|
503
|
-
|
|
501
|
+
> div:last-child,
|
|
502
|
+
> div:first-child {
|
|
503
|
+
min-width: auto;
|
|
504
|
+
width: auto;
|
|
504
505
|
}
|
|
505
506
|
|
|
506
|
-
|
|
507
|
-
|
|
507
|
+
> div:first-child {
|
|
508
|
+
min-width: 120px;
|
|
508
509
|
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.q-date__navigation > div:last-child,
|
|
513
|
-
.q-date__navigation > div:first-child {
|
|
514
|
-
min-width: auto;
|
|
515
|
-
width: auto;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.q-date {
|
|
519
|
-
&__navigation {
|
|
520
|
-
justify-content: space-between;
|
|
521
510
|
|
|
522
511
|
.q-btn {
|
|
523
512
|
@include set-button(tertiary, false, false, grey-10);
|
|
@@ -566,14 +555,15 @@ function onNavigation (date) {
|
|
|
566
555
|
min-height: auto;
|
|
567
556
|
|
|
568
557
|
.q-btn {
|
|
569
|
-
|
|
558
|
+
@include set-typography($subtitle2);
|
|
559
|
+
|
|
560
|
+
border: 1px solid transparent;
|
|
570
561
|
border-radius: $generic-border-radius;
|
|
571
562
|
box-shadow: none;
|
|
572
|
-
height:
|
|
573
|
-
|
|
574
|
-
|
|
563
|
+
height: auto !important;
|
|
564
|
+
line-height: 1;
|
|
565
|
+
width: 26px !important;
|
|
575
566
|
transition: color var(--qas-generic-transition);
|
|
576
|
-
width: 30px !important;
|
|
577
567
|
|
|
578
568
|
.q-ripple,
|
|
579
569
|
.q-focus-helper {
|
|
@@ -592,12 +582,17 @@ function onNavigation (date) {
|
|
|
592
582
|
color: var(--q-primary-contrast);
|
|
593
583
|
}
|
|
594
584
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
585
|
+
&.bg-primary,
|
|
586
|
+
&.q-date__today {
|
|
587
|
+
border-color: $primary;
|
|
588
|
+
border-radius: $generic-border-radius;
|
|
589
|
+
font-weight: 700;
|
|
590
|
+
}
|
|
598
591
|
|
|
599
|
-
|
|
600
|
-
|
|
592
|
+
&.q-date__today {
|
|
593
|
+
color: $primary;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
601
596
|
}
|
|
602
597
|
}
|
|
603
598
|
}
|
|
@@ -68,12 +68,6 @@ const { isNotificationsEnabled, setUnreadNotificationsCount } = useNotifications
|
|
|
68
68
|
const menuDrawer = ref(false)
|
|
69
69
|
const notificationsDrawer = ref(false)
|
|
70
70
|
|
|
71
|
-
/**
|
|
72
|
-
* Como está sendo utilizado em um watcher com a propriedade 'immediate: true',
|
|
73
|
-
* é necessário criar a variável antes de atribuí-la ao watcher, para assim conseguir pará-lo.
|
|
74
|
-
*/
|
|
75
|
-
let unreadNotificationsCountWatcher = () => {}
|
|
76
|
-
|
|
77
71
|
// computed
|
|
78
72
|
const defaultAppMenuProps = computed(() => {
|
|
79
73
|
return {
|
|
@@ -84,19 +78,7 @@ const defaultAppMenuProps = computed(() => {
|
|
|
84
78
|
|
|
85
79
|
const showMenuDrawer = computed(() => !screen.untilLarge || menuDrawer.value)
|
|
86
80
|
|
|
87
|
-
|
|
88
|
-
* A propriedade "initialUnreadNotificationsCount" é escutada apenas uma vez,
|
|
89
|
-
* quando ela é iniciada, seta o "unreadNotificationsCount" do composable,
|
|
90
|
-
* após isto quem controla é o QasLayout.
|
|
91
|
-
*/
|
|
92
|
-
unreadNotificationsCountWatcher = watch(() => props.initialUnreadNotificationsCount, value => {
|
|
93
|
-
if (value) {
|
|
94
|
-
setUnreadNotificationsCount(value)
|
|
95
|
-
|
|
96
|
-
// finaliza o watcher
|
|
97
|
-
unreadNotificationsCountWatcher()
|
|
98
|
-
}
|
|
99
|
-
}, { immediate: true })
|
|
81
|
+
watch(() => props.initialUnreadNotificationsCount, setUnreadNotificationsCount, { immediate: true })
|
|
100
82
|
|
|
101
83
|
// functions
|
|
102
84
|
function signOut () {
|