Browse Source

fix(nc-gui): added emits

pull/7995/head
DarkPhoenix2704 6 months ago
parent
commit
737e01ec9d
  1. 1
      packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue
  2. 1
      packages/nc-gui/components/smartsheet/calendar/MonthView.vue
  3. 2
      packages/nc-gui/components/smartsheet/calendar/SideMenu.vue
  4. 1
      packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue

1
packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue

@ -953,6 +953,7 @@ const newRecord = (hour: dayjs.Dayjs) => {
<NcButton
v-if="isOverflowAcrossHourRange(hour).isOverflow"
v-e="`['c:calendar:week-view-more']`"
class="!absolute bottom-2 text-center w-15 mx-auto inset-x-0 z-3 text-gray-500"
size="xxsmall"
type="secondary"

1
packages/nc-gui/components/smartsheet/calendar/MonthView.vue

@ -759,6 +759,7 @@ const addRecord = (date: dayjs.Dayjs) => {
recordsToDisplay.count[dayjs(day).format('YYYY-MM-DD')]?.overflow &&
!draggingId
"
v-e="`['c:calendar:month-view-more']`"
class="!absolute bottom-1 right-1 text-center min-w-4.5 mx-auto z-3 text-gray-500"
size="xxsmall"
type="secondary"

2
packages/nc-gui/components/smartsheet/calendar/SideMenu.vue

@ -383,7 +383,7 @@ onUnmounted(() => {
>
<NcButton
v-if="isUIAllowed('dataEdit') && props.visible"
v-e="['c:calendar:calendar-new-record-btn']"
v-e="['c:calendar:calendar-sidemenu-new-record-btn']"
class="!absolute right-5 !border-brand-500 bottom-5 !h-12 !w-12"
data-testid="nc-calendar-side-menu-new-btn"
type="secondary"

1
packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue

@ -785,6 +785,7 @@ const addRecord = (date: dayjs.Dayjs) => {
>
<NcButton
v-if="isOverflowAcrossHourRange(hour).isOverflow"
v-e="`['c:calendar:week-view-more']`"
class="!absolute bottom-1 text-center w-15 ml-auto inset-x-0 z-3 text-gray-500"
size="xxsmall"
type="secondary"

Loading…
Cancel
Save