diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index d5a1247d9..b5f701cb2 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -79,6 +79,7 @@ :disabled="disabled" :aria-label="currentView === 'year' ? $primevue.config.locale.prevDecade : currentView === 'month' ? $primevue.config.locale.prevYear : $primevue.config.locale.prevMonth" v-bind="ptm('previousButton')" + data-pc-group-section="navigator" > @@ -94,6 +95,7 @@ :disabled="switchViewButtonDisabled" :aria-label="$primevue.config.locale.chooseMonth" v-bind="ptm('monthTitle')" + data-pc-group-section="view" > {{ getMonthName(month.month) }} @@ -106,6 +108,7 @@ :disabled="switchViewButtonDisabled" :aria-label="$primevue.config.locale.chooseYear" v-bind="ptm('yearTitle')" + data-pc-group-section="view" > {{ getYear(month) }} @@ -124,6 +127,7 @@ :disabled="disabled" :aria-label="currentView === 'year' ? $primevue.config.locale.nextDecade : currentView === 'month' ? $primevue.config.locale.nextYear : $primevue.config.locale.nextMonth" v-bind="ptm('nextButton')" + data-pc-group-section="navigator" > @@ -134,18 +138,18 @@ - - -
- {{ weekHeaderLabel }} + + {{ weekHeaderLabel }} - {{ weekDay }} + + {{ weekDay }}
- + + 0 {{ month.weekNumbers[i] }} @@ -166,6 +170,7 @@ " :data-p-today="date.today" :data-p-other-month="date.otherMonth" + data-pc-group-section="tablebodycell" > {{ date.day }} @@ -254,7 +260,7 @@
-
+
- {{ formattedCurrentHour }} + {{ formattedCurrentHour }}
-
- {{ timeSeparator }} +
+ {{ timeSeparator }}
-
+
- {{ formattedCurrentMinute }} + {{ formattedCurrentMinute }}
-
- {{ timeSeparator }} +
+ {{ timeSeparator }}
-
+
- {{ formattedCurrentSecond }} + {{ formattedCurrentSecond }}
-
- {{ timeSeparator }} +
+ {{ timeSeparator }}
- - {{ pm ? $primevue.config.locale.pm : $primevue.config.locale.am }} -
@@ -414,6 +446,7 @@ :unstyled="unstyled" :pt="ptm('todayButton')" data-pc-section="todaybutton" + data-pc-group-section="button" />