diff --git a/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue b/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue new file mode 100644 index 0000000000..810b850460 --- /dev/null +++ b/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/packages/nc-gui/components/smartsheet/calendar/SideMenu.vue b/packages/nc-gui/components/smartsheet/calendar/SideMenu.vue new file mode 100644 index 0000000000..94b3775a35 --- /dev/null +++ b/packages/nc-gui/components/smartsheet/calendar/SideMenu.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/packages/nc-gui/components/smartsheet/calendar/index.vue b/packages/nc-gui/components/smartsheet/calendar/index.vue new file mode 100644 index 0000000000..2705701093 --- /dev/null +++ b/packages/nc-gui/components/smartsheet/calendar/index.vue @@ -0,0 +1,82 @@ + + + + \ No newline at end of file diff --git a/packages/nc-gui/components/tabs/Smartsheet.vue b/packages/nc-gui/components/tabs/Smartsheet.vue index 3209fc6033..339b586464 100644 --- a/packages/nc-gui/components/tabs/Smartsheet.vue +++ b/packages/nc-gui/components/tabs/Smartsheet.vue @@ -51,7 +51,7 @@ const { handleSidebarOpenOnMobileForNonViews } = useConfigStore() const { activeTableId } = storeToRefs(useTablesStore()) const { activeView, openedViewsTab, activeViewTitleOrId } = storeToRefs(useViewsStore()) -const { isGallery, isGrid, isForm, isKanban, isLocked, isMap } = useProvideSmartsheetStore(activeView, meta) +const { isGallery, isGrid, isForm, isKanban, isLocked, isMap, isCalendar } = useProvideSmartsheetStore(activeView, meta) useSqlEditor() @@ -182,7 +182,11 @@ watch([activeViewTitleOrId, activeTableId], () => { + + + + diff --git a/packages/nc-gui/context/index.ts b/packages/nc-gui/context/index.ts index 119fca55f6..dd5d02c427 100644 --- a/packages/nc-gui/context/index.ts +++ b/packages/nc-gui/context/index.ts @@ -54,5 +54,6 @@ export const TreeViewInj: InjectionKey<{ openRenameTableDialog: (table: TableType, rightClick: boolean) => void contextMenuTarget: { type?: 'base' | 'base' | 'table' | 'main' | 'layout'; value?: any } }> = Symbol('tree-view-functions-injection') +export const CalendarViewTypeInj: InjectionKey> = Symbol('calendar-view-type-injection') export const JsonExpandInj: InjectionKey> = Symbol('json-expand-injection') export const AllFiltersInj: InjectionKey>> = Symbol('all-filters-injection')