π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
refactor: loader loading
Pranav Caf7eb34ef85c
diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vueindex 99a7f8b91a..e86dc5036c 100644--- a/packages/nc-gui/components/cell/attachment/index.vue+++ b/packages/nc-gui/components/cell/attachment/index.vue@@ -545,7 +545,7 @@ onUnmounted(() => {'h-[64px]': rowHeight === 4 || rowHeight === 6,}">- <LazyCellAttachmentPreviewThumbnail+ <CellAttachmentPreviewThumbnail:icon-width="24":icon-height="24"class="nc-attachment rounded-lg overflow-hidden"@@ -613,7 +613,7 @@ onUnmounted(() => {<LazyCellAttachmentModal v-if="modalRendered" /></div>- <LazyCellAttachmentAttachFile v-if="isNewAttachmentModalOpen" v-model:value="isNewAttachmentModalOpen" />+ <CellAttachmentAttachFile v-if="isNewAttachmentModalOpen" v-model:value="isNewAttachmentModalOpen" /></template><style lang="scss">diff --git a/packages/nc-gui/components/webhook/WebhookV2.vue b/packages/nc-gui/components/webhook/WebhookV2.vueindex ce3ba5b139..a20df1dfb8 100644--- a/packages/nc-gui/components/webhook/WebhookV2.vue+++ b/packages/nc-gui/components/webhook/WebhookV2.vue@@ -842,7 +842,7 @@ const toggleIncludeUser = async () => {<div v-if="hookRef.notification.type === 'Slack'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="slackChannels"@@ -853,7 +853,7 @@ const toggleIncludeUser = async () => {<div v-if="hookRef.notification.type === 'Microsoft Teams'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="teamsChannels"@@ -875,7 +875,7 @@ const toggleIncludeUser = async () => {<div v-if="hookRef.notification.type === 'Mattermost'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="mattermostChannels"diff --git a/packages/nc-gui/components/webhook/index.vue b/packages/nc-gui/components/webhook/index.vueindex 535f2910ee..0e95798f1e 100644--- a/packages/nc-gui/components/webhook/index.vue+++ b/packages/nc-gui/components/webhook/index.vue@@ -1448,7 +1448,7 @@ const webhookV2AndV3Diff = computed(() => {><div v-if="hookRef.notification.type === 'Slack'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="slackChannels"@@ -1459,7 +1459,7 @@ const webhookV2AndV3Diff = computed(() => {<div v-if="hookRef.notification.type === 'Microsoft Teams'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="teamsChannels"@@ -1470,7 +1470,7 @@ const webhookV2AndV3Diff = computed(() => {<div v-if="hookRef.notification.type === 'Discord'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="discordChannels"@@ -1481,7 +1481,7 @@ const webhookV2AndV3Diff = computed(() => {<div v-if="hookRef.notification.type === 'Mattermost'" class="flex flex-col w-full gap-3"><a-form-item v-bind="validateInfos['notification.payload.channels']">- <LazyWebhookChannelMultiSelect+ <WebhookChannelMultiSelectv-model="hookRef.notification.payload.channels":selected-channel-list="hookRef.notification.payload.channels":available-channel-list="mattermostChannels"diff --git a/packages/nc-gui/plugins/monaco.ts b/packages/nc-gui/plugins/monaco.tsindex aabc711987..656ff6ff71 100644--- a/packages/nc-gui/plugins/monaco.ts+++ b/packages/nc-gui/plugins/monaco.ts@@ -1,26 +1,24 @@import getCrossOriginWorkerURL from 'crossoriginworker'-import EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker&url'-import JsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker&url'-import TypeScriptWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker&url'-export default defineNuxtPlugin(async (nuxtApp) => {-const initializeMonaco = async () => {+ const EditorWorker = await import('monaco-editor/esm/vs/editor/editor.worker?worker&url')+ const JsonWorker = await import('monaco-editor/esm/vs/language/json/json.worker?worker&url')+ const TypeScriptWorker = await import('monaco-editor/esm/vs/language/typescript/ts.worker?worker&url')- const monaco = await import('monaco-editor');+ const monaco = await import('monaco-editor')const editorWorker = new Worker(await getCrossOriginWorkerURL(EditorWorker),- process.env.NODE_ENV === 'development' ? {type: 'module'} : undefined,+ process.env.NODE_ENV === 'development' ? { type: 'module' } : undefined,)const jsonWorker = new Worker(await getCrossOriginWorkerURL(JsonWorker),- process.env.NODE_ENV === 'development' ? {type: 'module'} : undefined,+ process.env.NODE_ENV === 'development' ? { type: 'module' } : undefined,)const tsWorker = new Worker(await getCrossOriginWorkerURL(TypeScriptWorker),- process.env.NODE_ENV === 'development' ? {type: 'module'} : undefined,+ process.env.NODE_ENV === 'development' ? { type: 'module' } : undefined,)monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions({@@ -39,7 +37,6 @@ export default defineNuxtPlugin(async (nuxtApp) => {moduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs,})-/*** Adding monaco editor to Vite*@@ -62,7 +59,6 @@ export default defineNuxtPlugin(async (nuxtApp) => {}}-nuxtApp.provide('initMonacoWorkers', {get: initializeMonaco(),})