π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
refactor: use lazy load only for larger modules
Pranav C5f9e9690503d
diff --git a/packages/nc-gui/components/account/AppStore.vue b/packages/nc-gui/components/account/AppStore.vueindex 075ae9c774..43623f6e40 100644--- a/packages/nc-gui/components/account/AppStore.vue+++ b/packages/nc-gui/components/account/AppStore.vue@@ -12,7 +12,7 @@</NcPageHeader><div class="nc-content-max-w p-6 h-[calc(100vh_-_100px)] flex flex-col gap-6 overflow-auto nc-scrollbar-thin"><div>- <LazyDashboardSettingsAppStore />+ <DashboardSettingsAppStore /></div></div></div>diff --git a/packages/nc-gui/components/account/UserList.vue b/packages/nc-gui/components/account/UserList.vueindex 07c511f0c3..d1662d521c 100644--- a/packages/nc-gui/components/account/UserList.vue+++ b/packages/nc-gui/components/account/UserList.vue@@ -414,7 +414,7 @@ const userRoleOptions = [</template></GeneralDeleteModal>- <LazyAccountUsersModal :key="userMadalKey" :show="showUserModal" @closed="showUserModal = false" @reload="loadUsers" />+ <AccountUsersModal :key="userMadalKey" :show="showUserModal" @closed="showUserModal = false" @reload="loadUsers" /></div></div></div>diff --git a/packages/nc-gui/components/cell/Json.vue b/packages/nc-gui/components/cell/Json.vueindex e7d1b4ef21..b94a77f3e4 100644--- a/packages/nc-gui/components/cell/Json.vue+++ b/packages/nc-gui/components/cell/Json.vue@@ -309,7 +309,7 @@ onUnmounted(() => {</span></div><span v-else-if="ncIsNull(vModel) && showNull" class="nc-cell-field nc-null uppercase">{{ $t('general.null') }}</span>- <LazyCellClampedText+ <CellClampedTextv-else:value="!ncIsUndefined(vModel) && !ncIsNull(vModel) ? stringifyProp(vModel) : ''":lines="rowHeight"diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vueindex a757b245f3..31b4f3d26d 100644--- a/packages/nc-gui/components/cell/TextArea.vue+++ b/packages/nc-gui/components/cell/TextArea.vue@@ -473,7 +473,7 @@ useResizeObserver(inputWrapperRef, () => {'pt-11': !readOnly,}">- <LazyCellRichText+ <CellRichTextv-model:value="vModel":class="{'border-t-1 border-gray-100 allow-vertical-resize': !readOnly,@@ -635,7 +635,7 @@ useResizeObserver(inputWrapperRef, () => {<span v-else-if="vModel === null && showNull" class="nc-null uppercase">{{ $t('general.null') }}</span>- <LazyCellClampedText+ <CellClampedTextv-else-if="rowHeight":value="vModel":lines="rowHeightTruncateLines(localRowHeight)"@@ -850,7 +850,7 @@ useResizeObserver(inputWrapperRef, () => {/></div>- <LazyCellRichText v-else v-model:value="vModel" show-menu full-mode :read-only="readOnly" @close="handleClose" />+ <CellRichText v-else v-model:value="vModel" show-menu full-mode :read-only="readOnly" @close="handleClose" /></div></a-modal></div>diff --git a/packages/nc-gui/components/cell/attachment/Carousel.vue b/packages/nc-gui/components/cell/attachment/Carousel.vueindex a81a73668b..15669b4d02 100644--- a/packages/nc-gui/components/cell/attachment/Carousel.vue+++ b/packages/nc-gui/components/cell/attachment/Carousel.vue@@ -174,7 +174,7 @@ const initEmblaApi = (val: any) => {<NcCarouselContent><NcCarouselItem v-for="(item, index) in visibleItems" :key="index"><div v-if="selectedIndex === index" :key="isUpdated" class="justify-center w-full h-full flex items-center">- <LazyCellAttachmentPreviewImage+ <CellAttachmentPreviewImagev-if="isImage(item.title, item.mimetype)"class="nc-attachment-img-wrapper"object-fit="contain"@@ -184,7 +184,7 @@ const initEmblaApi = (val: any) => {@error="triggerReload"/>- <LazyCellAttachmentPreviewVideo+ <CellAttachmentPreviewVideov-else-if="isVideo(item.title, item.mimetype)"class="flex items-center w-full":mime-type="item.mimetype"@@ -193,7 +193,7 @@ const initEmblaApi = (val: any) => {@error="triggerReload"/>- <LazyCellAttachmentPreviewVideo+ <CellAttachmentPreviewVideov-else-if="isAudio(item.title, item.mimetype)"class="flex items-center w-full":mime-type="item.mimetype"@@ -202,13 +202,13 @@ const initEmblaApi = (val: any) => {@error="triggerReload"/>- <LazyCellAttachmentPreviewPdf+ <CellAttachmentPreviewPdfv-else-if="isPdf(item.title, item.mimetype)"class="keep-open":src="getPossibleAttachmentSrc(item)"@error="triggerReload"/>- <LazyCellAttachmentPreviewMiscOffice+ <CellAttachmentPreviewMiscOfficev-else-if="isOffice(item.title, item.mimetype)"class="keep-open":src="getPossibleAttachmentSrc(item)"@@ -270,7 +270,7 @@ const initEmblaApi = (val: any) => {@click="onThumbClick(index)"><div class="flex items-center justify-center">- <LazyCellAttachmentPreviewThumbnail+ <CellAttachmentPreviewThumbnailclass="nc-attachment-img-wrapper h-12":attachment="item"thumbnail="tiny"@@ -340,7 +340,7 @@ const initEmblaApi = (val: any) => {}"class="bg-white max-w-88 transition-all">- <LazySmartsheetExpandedFormSidebarComments />+ <SmartsheetExpandedFormSidebarComments /></div></div></GeneralOverlay>diff --git a/packages/nc-gui/components/cell/attachment/Modal.vue b/packages/nc-gui/components/cell/attachment/Modal.vueindex a08171210a..52ed058ce9 100644--- a/packages/nc-gui/components/cell/attachment/Modal.vue+++ b/packages/nc-gui/components/cell/attachment/Modal.vue@@ -190,7 +190,7 @@ const isNewAttachmentModalOpen = ref(false)</template></div></template>- <LazyCellAttachmentAttachFile v-if="isNewAttachmentModalOpen" v-model:value="isNewAttachmentModalOpen" />+ <CellAttachmentAttachFile v-if="isNewAttachmentModalOpen" v-model:value="isNewAttachmentModalOpen" /></div></NcModal></template>diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vueindex 86569f5d3d..99a7f8b91a 100644--- a/packages/nc-gui/components/cell/attachment/index.vue+++ b/packages/nc-gui/components/cell/attachment/index.vue@@ -449,7 +449,7 @@ onUnmounted(() => {</template></div>- <LazyGeneralDeleteModal+ <GeneralDeleteModalv-model:visible="isConfirmModalOpen"entity-name="File":on-delete="async () => handleFileDelete(filetoDelete.i)"@@ -469,7 +469,7 @@ onUnmounted(() => {</div></span></template>- </LazyGeneralDeleteModal>+ </GeneralDeleteModal></div><div v-else ref="attachmentCellRef" class="nc-attachment-cell relative group color-transition" :data-row-height="rowHeight"><LazyCellAttachmentCarousel v-if="selectedFile" />diff --git a/packages/nc-gui/components/dashboard/settings/AppStore.vue b/packages/nc-gui/components/dashboard/settings/AppStore.vueindex 70f1bddf44..9cbc872df5 100644--- a/packages/nc-gui/components/dashboard/settings/AppStore.vue+++ b/packages/nc-gui/components/dashboard/settings/AppStore.vue@@ -84,7 +84,7 @@ onMounted(async () => {wrap-class-name="nc-modal-plugin-install"v-bind="$attrs">- <LazyDashboardSettingsAppStoreAppInstall+ <DashboardSettingsAppStoreAppInstallv-if="pluginApp && showPluginInstallModal":id="pluginApp.id"@close="showPluginInstallModal = false"diff --git a/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue b/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vueindex 76f96fefde..f481c9e72d 100644--- a/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue+++ b/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue@@ -58,7 +58,7 @@ const onCopyToClipboard = async () => {</NcButton></div><Suspense>- <MonacoEditor+ <LazyMonacoEditorclass="h-72 !rounded-b-lg overflow-hidden !bg-gray-50":model-value="code":read-only="true"diff --git a/packages/nc-gui/components/dlg/QuickImport.vue b/packages/nc-gui/components/dlg/QuickImport.vueindex 93f5bbbcf1..590ae37019 100644--- a/packages/nc-gui/components/dlg/QuickImport.vue+++ b/packages/nc-gui/components/dlg/QuickImport.vue@@ -737,7 +737,7 @@ watch('pointer-events-none': importLoading,}">- <LazyTemplateEditor+ <TemplateEditorv-if="templateEditorModal"ref="templateEditorRef":base-template="templateData"diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vueindex 3967d80048..4edd4c5695 100644--- a/packages/nc-gui/components/smartsheet/Cell.vue+++ b/packages/nc-gui/components/smartsheet/Cell.vue@@ -327,15 +327,15 @@ const cellClassName = computed(() => {{{ $t('general.generating') }}</NcTooltip></div>- <LazyCellNull v-else-if="showNullComponent" />- <LazyCellAI v-else-if="cellType === 'ai'" v-model="vModel" @save="emitSave" />- <LazyCellTextArea v-else-if="cellType === 'textarea'" v-model="vModel" :virtual="props.virtual" />+ <CellNull v-else-if="showNullComponent" />+ <CellAI v-else-if="cellType === 'ai'" v-model="vModel" @save="emitSave" />+ <CellTextArea v-else-if="cellType === 'textarea'" v-model="vModel" :virtual="props.virtual" /><CellGeoData v-else-if="cellType === 'geoData'" v-model="vModel" /><template v-else-if="cellType === 'checkbox'">- <LazyCellCheckboxReadonly v-if="showReadonlyField" :model-value="vModel" />- <LazyCellCheckboxEditor v-else v-model="vModel" />+ <CellCheckboxReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellCheckboxEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'yearPicker'">@@ -355,7 +355,7 @@ const cellClassName = computed(() => {</template><template v-else-if="cellType === 'dateTimePicker'">- <LazyCellDateTimeReadonly+ <CellDateTimeReadonlyv-if="showReadonlyField":model-value="vModel":is-updated-from-copy-n-paste="currentRow.rowMeta.isUpdatedFromCopyNPaste"@@ -377,7 +377,7 @@ const cellClassName = computed(() => {:row-index="props.rowIndex"/>- <LazyCellSingleSelect+ <CellSingleSelectv-else-if="cellType === 'singleSelect'"v-model="vModel":disable-option-creation="isEditColumnMenu"@@ -385,7 +385,7 @@ const cellClassName = computed(() => {:show-readonly-field="showReadonlyField"/>- <LazyCellMultiSelect+ <CellMultiSelectv-else-if="cellType === 'multiSelect'"v-model="vModel":disable-option-creation="isEditColumnMenu"@@ -394,42 +394,42 @@ const cellClassName = computed(() => {/><template v-else-if="cellType === 'timePicker'">- <LazyCellTimeReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellTimeReadonly v-if="showReadonlyField" :model-value="vModel" /><CellTimeEditor v-else v-model="vModel" :is-pk="isPrimaryKeyCol" /></template><template v-else-if="cellType === 'rating'">- <LazyCellRatingReadonly v-if="showReadonlyField" :model-value="vModel" />- <LazyCellRatingEditor v-else v-model="vModel" />+ <CellRatingReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellRatingEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'duration'">- <LazyCellDurationReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellDurationReadonly v-if="showReadonlyField" :model-value="vModel" /><CellDurationEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'email'">- <LazyCellEmailReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellEmailReadonly v-if="showReadonlyField" :model-value="vModel" /><CellEmailEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'url'">- <LazyCellUrlReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellUrlReadonly v-if="showReadonlyField" :model-value="vModel" /><CellUrlEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'phoneNumber'">- <LazyCellPhoneNumberReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellPhoneNumberReadonly v-if="showReadonlyField" :model-value="vModel" /><CellPhoneNumberEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'percent'">- <LazyCellPercentReadonly v-if="showReadonlyField" v-model:local-edit-enabled="localEditEnabled" :model-value="vModel" />+ <CellPercentReadonly v-if="showReadonlyField" v-model:local-edit-enabled="localEditEnabled" :model-value="vModel" /><CellPercentEditor v-else v-model="vModel" v-model:local-edit-enabled="localEditEnabled" /></template><template v-else-if="cellType === 'currency'">- <LazyCellCurrencyReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellCurrencyReadonly v-if="showReadonlyField" :model-value="vModel" /><CellCurrencyEditor v-else v-model="vModel" @save="emitSave" /></template>@@ -441,24 +441,24 @@ const cellClassName = computed(() => {/><template v-else-if="cellType === 'decimal'">- <LazyCellDecimalReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellDecimalReadonly v-if="showReadonlyField" :model-value="vModel" /><CellDecimalEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'float'">- <LazyCellFloatReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellFloatReadonly v-if="showReadonlyField" :model-value="vModel" /><CellFloatEditor v-else v-model="vModel" /></template><template v-else-if="cellType === 'integer'">- <LazyCellIntegerReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellIntegerReadonly v-if="showReadonlyField" :model-value="vModel" /><CellIntegerEditor v-else v-model="vModel" /></template>- <LazyCellJson v-else-if="cellType === 'json'" v-model="vModel" />+ <CellJson v-else-if="cellType === 'json'" v-model="vModel" /><template v-else>- <LazyCellTextReadonly v-if="showReadonlyField" :model-value="vModel" />+ <CellTextReadonly v-if="showReadonlyField" :model-value="vModel" /><CellTextEditor v-else v-model="vModel" /></template>diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vueindex ddb09ce068..f0c3c294b7 100644--- a/packages/nc-gui/components/smartsheet/Form.vue+++ b/packages/nc-gui/components/smartsheet/Form.vue@@ -956,7 +956,7 @@ const { message: templatedMessage } = useTemplatedMessage(</h1><div v-if="formViewData.subheading?.trim()">- <LazyCellRichText+ <CellRichText:value="formViewData.subheading"class="font-medium text-base text-gray-500 !h-auto mb-4 -ml-1"is-form-field@@ -970,7 +970,7 @@ const { message: templatedMessage } = useTemplatedMessage(<div class="w-full"><a-alert class="nc-form-success-msg !my-4 !py-4 text-left !rounded-lg" type="success" outlined><template #message>- <LazyCellRichText+ <CellRichTextv-if="templatedMessage":value="templatedMessage"class="!h-auto -ml-1"@@ -1097,7 +1097,7 @@ const { message: templatedMessage } = useTemplatedMessage({{ formViewData.banner_image_url ? $t('general.replace') : $t('general.upload') }}{{ $t('general.banner') }}</span>- <LazyPaymentUpgradeBadge+ <PaymentUpgradeBadgev-if="!isLocked":feature="PlanFeatureTypes.FEATURE_FORM_CUSTOM_LOGO":content="@@ -1180,7 +1180,7 @@ const { message: templatedMessage } = useTemplatedMessage("style="transition: all 0.3s ease-in">- <LazyCellAttachmentPreviewImage+ <CellAttachmentPreviewImagev-if="formViewData.logo_url":key="formViewData.logo_url?.path":srcs="getFormLogoSrc"@@ -1215,7 +1215,7 @@ const { message: templatedMessage } = useTemplatedMessage(<span>{{ formViewData.logo_url ? $t('general.replace') : $t('general.upload') }} Logo</span>- <LazyPaymentUpgradeBadge+ <PaymentUpgradeBadgev-if="!isLocked":feature="PlanFeatureTypes.FEATURE_FORM_CUSTOM_LOGO":content="diff --git a/packages/nc-gui/components/smartsheet/Toolbar.vue b/packages/nc-gui/components/smartsheet/Toolbar.vueindex ba91f2ae2e..69b1c35477 100644--- a/packages/nc-gui/components/smartsheet/Toolbar.vue+++ b/packages/nc-gui/components/smartsheet/Toolbar.vue@@ -76,39 +76,39 @@ provide(IsToolbarIconMode, isToolbarIconMode)</template><template v-if="isViewOperationsAllowed">- <LazySmartsheetToolbarMappedBy v-if="isMap" />+ <SmartsheetToolbarMappedBy v-if="isMap" />- <LazySmartsheetToolbarStackedBy v-if="isKanban" />+ <SmartsheetToolbarStackedBy v-if="isKanban" />- <LazySmartsheetToolbarFieldsMenu v-if="isGrid || isGallery || isKanban || isMap" :show-system-fields="false" />+ <SmartsheetToolbarFieldsMenu v-if="isGrid || isGallery || isKanban || isMap" :show-system-fields="false" />- <LazySmartsheetToolbarColumnFilterMenu v-if="isGrid || isGallery || isKanban || isMap" />+ <SmartsheetToolbarColumnFilterMenu v-if="isGrid || isGallery || isKanban || isMap" />- <LazySmartsheetToolbarGroupByMenu v-if="isGrid && !isLocalMode" />+ <SmartsheetToolbarGroupByMenu v-if="isGrid && !isLocalMode" />- <LazySmartsheetToolbarSortListMenu v-if="isGrid || isGallery || isKanban" />+ <SmartsheetToolbarSortListMenu v-if="isGrid || isGallery || isKanban" />- <LazySmartsheetToolbarRowColorFilterDropdown v-if="!isPublic && (isGrid || isGallery || isKanban || isMap)" />+ <SmartsheetToolbarRowColorFilterDropdown v-if="!isPublic && (isGrid || isGallery || isKanban || isMap)" />- <LazySmartsheetToolbarBulkAction+ <SmartsheetToolbarBulkActionv-if="(isGrid || isGallery) && !isPublic && !isSharedBase && isUIAllowed('scriptExecute') && isViewActionsEnabled"/></template><template v-if="isCalendar">- <LazySmartsheetToolbarExport v-if="!isViewOperationsAllowed" is-in-toolbar />- <LazySmartsheetToolbarOpenedViewAction :show-only-copy-id="!isViewOperationsAllowed" />+ <SmartsheetToolbarExport v-if="!isViewOperationsAllowed" is-in-toolbar />+ <SmartsheetToolbarOpenedViewAction :show-only-copy-id="!isViewOperationsAllowed" /></template></div>- <LazySmartsheetToolbarCalendarMode v-if="isCalendar && isTab" :tab="isTab" />+ <SmartsheetToolbarCalendarMode v-if="isCalendar && isTab" :tab="isTab" /><template v-if="!isMobileMode">- <LazySmartsheetToolbarRowHeight v-if="isGrid && isViewOperationsAllowed" />+ <SmartsheetToolbarRowHeight v-if="isGrid && isViewOperationsAllowed" /><template v-if="!isCalendar">- <LazySmartsheetToolbarExport v-if="!isViewOperationsAllowed" is-in-toolbar />- <LazySmartsheetToolbarOpenedViewAction :show-only-copy-id="!isViewOperationsAllowed" />+ <SmartsheetToolbarExport v-if="!isViewOperationsAllowed" is-in-toolbar />+ <SmartsheetToolbarOpenedViewAction :show-only-copy-id="!isViewOperationsAllowed" /></template><!-- <LazySmartsheetToolbarQrScannerButton v-if="isMobileMode && (isGrid || isKanban || isGallery)" /> -->@@ -116,9 +116,9 @@ provide(IsToolbarIconMode, isToolbarIconMode)<div class="flex-1" /></template>- <LazySmartsheetToolbarCalendarActiveView v-if="isCalendar" />+ <SmartsheetToolbarCalendarActiveView v-if="isCalendar" />- <LazySmartsheetToolbarSearchData+ <SmartsheetToolbarSearchDatav-if="isGrid || isGallery || isKanban":class="{'shrink': !isMobileMode,@@ -128,18 +128,18 @@ provide(IsToolbarIconMode, isToolbarIconMode)<div v-if="isCalendar && isMobileMode" class="flex-1 pointer-events-none" />- <LazySmartsheetToolbarCalendarMode v-if="isCalendar && !isTab" :tab="isTab" />+ <SmartsheetToolbarCalendarMode v-if="isCalendar && !isTab" :tab="isTab" />- <LazySmartsheetToolbarCalendarRange v-if="isCalendar && isViewOperationsAllowed" />+ <SmartsheetToolbarCalendarRange v-if="isCalendar && isViewOperationsAllowed" /><template v-if="isCalendar && !isMobileMode">- <LazySmartsheetToolbarRowColorFilterDropdown v-if="!isPublic && isViewOperationsAllowed" />- <LazySmartsheetToolbarFieldsMenu :show-system-fields="false" />- <LazySmartsheetToolbarColumnFilterMenu v-if="isViewOperationsAllowed" />+ <SmartsheetToolbarRowColorFilterDropdown v-if="!isPublic && isViewOperationsAllowed" />+ <SmartsheetToolbarFieldsMenu :show-system-fields="false" />+ <SmartsheetToolbarColumnFilterMenu v-if="isViewOperationsAllowed" />- <LazySmartsheetToolbarCalendarToggleSideBar />+ <SmartsheetToolbarCalendarToggleSideBar /></template>- <LazyNcFullScreenToggleButton v-if="showFullScreenToggle" />+ <NcFullScreenToggleButton v-if="showFullScreenToggle" /></template></div></template>diff --git a/packages/nc-gui/components/smartsheet/VirtualCell.vue b/packages/nc-gui/components/smartsheet/VirtualCell.vueindex cf5c3fe5fc..8542601eb2 100644--- a/packages/nc-gui/components/smartsheet/VirtualCell.vue+++ b/packages/nc-gui/components/smartsheet/VirtualCell.vue@@ -83,19 +83,19 @@ const virtualCellClassName = computed(() => {@keydown.shift.enter.exact="onNavigate(NavigateDir.PREV, $event)"><VirtualCellLinks v-if="virtualCellType === 'link'" />- <LazyVirtualCellHasMany v-else-if="virtualCellType === 'hm'" />- <LazyVirtualCellManyToMany v-else-if="virtualCellType === 'mm'" />- <LazyVirtualCellBelongsTo v-else-if="virtualCellType === 'bt'" />- <LazyVirtualCellOneToOne v-else-if="virtualCellType === 'oo'" />- <LazyVirtualCellRollup v-else-if="virtualCellType === 'rollup'" />- <LazyVirtualCellFormula v-else-if="virtualCellType === 'formula'" />- <LazyVirtualCellQrCode v-else-if="virtualCellType === 'qrCode'" />- <LazyVirtualCellBarcode v-else-if="virtualCellType === 'barcode'" />- <LazyVirtualCellCount v-else-if="virtualCellType === 'count'" />- <LazyVirtualCellLookup v-else-if="virtualCellType === 'lookup'" />- <LazyVirtualCellButton v-else-if="virtualCellType === 'button'" />- <LazyCellDateTimeReadonly v-else-if="virtualCellType === 'createdOrLastModifiedTimeCol'" :model-value="modelValue" />- <LazyCellUserReadonly v-else-if="virtualCellType === 'createdOrLastModifiedByCol'" :model-value="modelValue" />+ <VirtualCellHasMany v-else-if="virtualCellType === 'hm'" />+ <VirtualCellManyToMany v-else-if="virtualCellType === 'mm'" />+ <VirtualCellBelongsTo v-else-if="virtualCellType === 'bt'" />+ <VirtualCellOneToOne v-else-if="virtualCellType === 'oo'" />+ <VirtualCellRollup v-else-if="virtualCellType === 'rollup'" />+ <VirtualCellFormula v-else-if="virtualCellType === 'formula'" />+ <VirtualCellQrCode v-else-if="virtualCellType === 'qrCode'" />+ <VirtualCellBarcode v-else-if="virtualCellType === 'barcode'" />+ <VirtualCellCount v-else-if="virtualCellType === 'count'" />+ <VirtualCellLookup v-else-if="virtualCellType === 'lookup'" />+ <VirtualCellButton v-else-if="virtualCellType === 'button'" />+ <CellDateTimeReadonly v-else-if="virtualCellType === 'createdOrLastModifiedTimeCol'" :model-value="modelValue" />+ <CellUserReadonly v-else-if="virtualCellType === 'createdOrLastModifiedByCol'" :model-value="modelValue" /></div></template>diff --git a/packages/nc-gui/components/smartsheet/details/Api.vue b/packages/nc-gui/components/smartsheet/details/Api.vueindex 94609d77bd..d62a8a98f3 100644--- a/packages/nc-gui/components/smartsheet/details/Api.vue+++ b/packages/nc-gui/components/smartsheet/details/Api.vue@@ -280,7 +280,7 @@ const supportedDocs = [</a-tab-pane></NcTabs><Suspense>- <MonacoEditor+ <LazyMonacoEditorclass="h-[calc(100%_-_36px)] !bg-nc-bg-gray-extralight pl-2":model-value="code":read-only="true"diff --git a/packages/nc-gui/components/tabs/Smartsheet.vue b/packages/nc-gui/components/tabs/Smartsheet.vueindex 10e2d452eb..9e3f8fe097 100644--- a/packages/nc-gui/components/tabs/Smartsheet.vue+++ b/packages/nc-gui/components/tabs/Smartsheet.vue@@ -279,21 +279,21 @@ watch(isViewsLoading, async () => {@resized="onResized"><Pane class="flex flex-col h-full min-w-0" :max-size="contentMaxSize" :size="contentSize">- <SmartsheetToolbar v-if="!isForm" show-full-screen-toggle />+ <LazySmartsheetToolbar v-if="!isForm" show-full-screen-toggle /><div :style="{ height: isForm ? '100%' : 'calc(100% - var(--toolbar-height))' }" class="flex flex-row w-full"><Transition name="layout" mode="out-in"><div v-if="openedViewsTab === 'view'" class="flex flex-1 min-h-0 w-3/4"><div class="h-full flex-1 min-w-0 min-h-0 bg-nc-bg-default">- <SmartsheetGrid v-if="isGrid || !meta || !activeView" ref="grid" />+ <LazySmartsheetGrid v-if="isGrid || !meta || !activeView" ref="grid" /><template v-if="activeView && meta">- <SmartsheetGallery v-if="isGallery" />+ <LazySmartsheetGallery v-if="isGallery" />- <SmartsheetForm v-else-if="isForm && !$route.query.reload" />+ <LazySmartsheetForm v-else-if="isForm && !$route.query.reload" />- <SmartsheetKanban v-else-if="isKanban" />+ <LazySmartsheetKanban v-else-if="isKanban" />- <SmartsheetCalendar v-else-if="isCalendar" />+ <LazySmartsheetCalendar v-else-if="isCalendar" /><LazySmartsheetMap v-else-if="isMap" /></template>@@ -307,7 +307,7 @@ watch(isViewsLoading, async () => {</Splitpanes></NcFullScreen>- <SmartsheetDetails v-else />+ <LazySmartsheetDetails v-else /></div><LazySmartsheetExpandedFormDetached /><DetachedExpandedText />diff --git a/packages/nc-gui/components/workspace/integrations/forms/EditOrAdd/Database/index.vue b/packages/nc-gui/components/workspace/integrations/forms/EditOrAdd/Database/index.vueindex 34bd0f307a..e6f0bb1701 100644--- a/packages/nc-gui/components/workspace/integrations/forms/EditOrAdd/Database/index.vue+++ b/packages/nc-gui/components/workspace/integrations/forms/EditOrAdd/Database/index.vue@@ -1189,7 +1189,7 @@ watch(<div class="flex flex-col gap-2"><div>Edit Connection JSON</div><div class="border-1 border-gray-200 !rounded-lg shadow-sm overflow-hidden">- <MonacoEditor v-model="customJsonFormState" class="nc-connection-json-editor h-[400px] w-full" />+ <LazyMonacoEditor v-model="customJsonFormState" class="nc-connection-json-editor h-[400px] w-full" /></div></div></a-collapse-panel>diff --git a/packages/nc-gui/layouts/base.vue b/packages/nc-gui/layouts/base.vueindex b95126cbcf..d4ca9fe414 100644--- a/packages/nc-gui/layouts/base.vue+++ b/packages/nc-gui/layouts/base.vue@@ -65,13 +65,13 @@ hooks.hook('page:finish', () => {<div class="flex-1" />- <LazyGeneralReleaseInfo />+ <GeneralReleaseInfo /><a-tooltip placement="bottom" :mouse-enter-delay="1" class="mr-4"><template #title>{{ $t('labels.community.communityTranslated') }}</template><div class="flex items-center">- <LazyGeneralLanguage class="cursor-pointer text-2xl hover:text-accent" />+ <GeneralLanguage class="cursor-pointer text-2xl hover:text-accent" /></div></a-tooltip>@@ -132,7 +132,7 @@ hooks.hook('page:finish', () => {><template #title>{{ $t('labels.community.communityTranslated') }}</template>- <LazyGeneralLanguage class="nc-lang-btn" />+ <GeneralLanguage class="nc-lang-btn" /></NcTooltip><div class="w-full h-full overflow-hidden nc-layout-base-inner">diff --git a/packages/nc-gui/pages/account/index.vue b/packages/nc-gui/pages/account/index.vueindex 1b3e4a7ab7..f59648ddf7 100644--- a/packages/nc-gui/pages/account/index.vue+++ b/packages/nc-gui/pages/account/index.vue@@ -223,16 +223,16 @@ const isPending = computed(() => !emailConfigured.value || !storageConfigured.va<div class="h-full flex-1 flex flex-col overflow-y-auto nc-scrollbar-thin"><div class="flex flex-row pt-2 px-2 items-center"><div class="flex-1">- <LazyAccountBreadcrumb />+ <AccountBreadcrumb /></div>- <LazyGeneralReleaseInfo />+ <GeneralReleaseInfo /><NcTooltip placement="bottom" class="mr-4"><template #title>{{ $t('labels.community.communityTranslated') }}</template><div class="flex items-center">- <LazyGeneralLanguage button class="cursor-pointer text-2xl hover:text-gray-800" />+ <GeneralLanguage button class="cursor-pointer text-2xl hover:text-gray-800" /></div></NcTooltip>diff --git a/packages/nc-gui/pages/account/index/users/[[nestedPage]].vue b/packages/nc-gui/pages/account/index/users/[[nestedPage]].vueindex 02a7c10a3c..ed7eeadc05 100644--- a/packages/nc-gui/pages/account/index/users/[[nestedPage]].vue+++ b/packages/nc-gui/pages/account/index/users/[[nestedPage]].vue@@ -10,13 +10,13 @@ const { isUIAllowed } = useRoles()(!isUIAllowed('superAdminUserManagement') && !isUIAllowed('superAdminAppSettings'))">- <LazyAccountResetPassword />+ <AccountResetPassword /></template><template v-else-if="$route.params.nestedPage === 'settings'">- <LazyAccountSignupSettings />+ <AccountSignupSettings /></template><template v-else-if="isUIAllowed('superAdminUserManagement')">- <LazyAccountUserList />+ <AccountUserList /></template></div></template>diff --git a/packages/nc-gui/pages/forgot-password.vue b/packages/nc-gui/pages/forgot-password.vueindex 3974ad3907..81c9b0dbfd 100644--- a/packages/nc-gui/pages/forgot-password.vue+++ b/packages/nc-gui/pages/forgot-password.vue@@ -70,7 +70,7 @@ function navigateSignIn() {<divclass="bg-white md:mt-[60px] relative flex flex-col justify-center gap-2 w-full max-w-[500px] mx-auto p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)">- <LazyGeneralNocoIcon class="color-transition hover:(ring ring-accent ring-opacity-100)" :animate="isLoading" />+ <GeneralNocoIcon class="color-transition hover:(ring ring-accent ring-opacity-100)" :animate="isLoading" /><div class="self-center flex flex-col justify-center items-center text-center gap-2"><h1 class="prose-2xl font-bold my-4 w-full">{{ $t('title.resetPassword') }}</h1>diff --git a/packages/nc-gui/pages/signin.vue b/packages/nc-gui/pages/signin.vueindex 07c2c35ebd..547cc71019 100644--- a/packages/nc-gui/pages/signin.vue+++ b/packages/nc-gui/pages/signin.vue@@ -89,7 +89,7 @@ function navigateForgotPassword() {<divclass="bg-white md:mt-[60px] relative flex flex-col justify-center gap-2 w-full max-w-[500px] mx-auto p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)">- <LazyGeneralNocoIcon class="color-transition hover:(ring ring-accent ring-opacity-100)" :animate="isLoading" />+ <GeneralNocoIcon class="color-transition hover:(ring ring-accent ring-opacity-100)" :animate="isLoading" /><h1 class="prose-2xl font-bold self-center my-4">{{ $t('general.signIn') }}</h1>diff --git a/packages/nc-gui/pages/signup/[[token]].vue b/packages/nc-gui/pages/signup/[[token]].vueindex 64e7415459..7af6319691 100644--- a/packages/nc-gui/pages/signup/[[token]].vue+++ b/packages/nc-gui/pages/signup/[[token]].vue@@ -156,7 +156,7 @@ onMounted(async () => {<divclass="bg-white md:mt-[60px] relative flex flex-col justify-center gap-2 w-full max-w-[500px] mx-auto p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)">- <LazyGeneralNocoIcon class="color-transition hover:(ring ring-accent ring-opacity-100)" :animate="isLoading" />+ <GeneralNocoIcon class="color-transition hover:(ring ring-accent ring-opacity-100)" :animate="isLoading" /><h1 class="prose-2xl font-bold self-center my-4">{{ $t('general.signUp') }}