diff --git a/markdown/readme/languages/README.md b/markdown/readme/languages/README.md index 2fd8db92b8..b5ab39b22a 100644 --- a/markdown/readme/languages/README.md +++ b/markdown/readme/languages/README.md @@ -9,7 +9,7 @@ Supported Translations:
  • French
  • German
  • Spanish
  • -
  • Portugese
  • +
  • Portugese
  • Italian
  • Japanese
  • Korean
  • diff --git a/packages/nc-gui/components.d.ts b/packages/nc-gui/components.d.ts index fb48f71233..e0307521df 100644 --- a/packages/nc-gui/components.d.ts +++ b/packages/nc-gui/components.d.ts @@ -121,9 +121,18 @@ declare module '@vue/runtime-core' { MdiClose: typeof import('~icons/mdi/close')['default'] MdiCurrencyUsd: typeof import('~icons/mdi/currency-usd')['default'] MdiDiscord: typeof import('~icons/mdi/discord')['default'] + MdiEditOutline: typeof import('~icons/mdi/edit-outline')['default'] MdiFlag: typeof import('~icons/mdi/flag')['default'] MdiGestureDoubleTap: typeof import('~icons/mdi/gesture-double-tap')['default'] MdiHeart: typeof import('~icons/mdi/heart')['default'] + MdiHistory: typeof import('~icons/mdi/history')['default'] + MdiHook: typeof import('~icons/mdi/hook')['default'] + MdiInformation: typeof import('~icons/mdi/information')['default'] + MdiJson: typeof import('~icons/mdi/json')['default'] + MdiKey: typeof import('~icons/mdi/key')['default'] + MdiKeyboard: typeof import('~icons/mdi/keyboard')['default'] + MdiKeyboardReturn: typeof import('~icons/mdi/keyboard-return')['default'] + MdiKeyChange: typeof import('~icons/mdi/key-change')['default'] MdiKeyStar: typeof import('~icons/mdi/key-star')['default'] MdiMenuDown: typeof import('~icons/mdi/menu-down')['default'] MdiMicrosoftTeams: typeof import('~icons/mdi/microsoft-teams')['default'] diff --git a/packages/nc-gui/components/api-client/Headers.vue b/packages/nc-gui/components/api-client/Headers.vue index a5f1efbc2f..1839046a51 100644 --- a/packages/nc-gui/components/api-client/Headers.vue +++ b/packages/nc-gui/components/api-client/Headers.vue @@ -123,7 +123,7 @@ const filterOption = (input: string, option: Option) => { - + diff --git a/packages/nc-gui/components/api-client/Params.vue b/packages/nc-gui/components/api-client/Params.vue index 816fb0fe26..b1e45e2eba 100644 --- a/packages/nc-gui/components/api-client/Params.vue +++ b/packages/nc-gui/components/api-client/Params.vue @@ -66,7 +66,7 @@ const deleteParamRow = (i: number) => vModel.value.splice(i, 1) - + diff --git a/packages/nc-gui/components/cell/ClampedText.vue b/packages/nc-gui/components/cell/ClampedText.vue index 515a95bed3..4a541268e2 100644 --- a/packages/nc-gui/components/cell/ClampedText.vue +++ b/packages/nc-gui/components/cell/ClampedText.vue @@ -3,35 +3,18 @@ const props = defineProps<{ value?: string | number | null lines?: number }>() - -const wrapper = ref() - -const key = ref(0) - -const debouncedRefresh = useDebounceFn(() => { - key.value++ -}, 500) - -onMounted(() => { - const observer = new ResizeObserver(() => { - debouncedRefresh() - }) - - observer.observe(wrapper.value) -}) diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index ebef31bd75..f9a1bc59e2 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -313,11 +313,40 @@ const handleClose = (e: MouseEvent) => { } useEventListener(document, 'click', handleClose, true) + +const selectedOpts = computed(() => { + return options.value.reduce<(SelectOptionType & { index: number })[]>((selectedOptions, option) => { + const index = vModel.value.indexOf(option.value!) + if (index !== -1) { + selectedOptions.push({ ...option, index }) + } + return selectedOptions + }, []) +})