Browse Source

fix: missing select menu border color

pull/7148/head
Ramesh Mane 12 months ago
parent
commit
ade7b5a5c1
  1. 2
      packages/nc-gui/components/account/UsersModal.vue
  2. 1
      packages/nc-gui/components/api-client/Headers.vue
  3. 2
      packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue
  4. 2
      packages/nc-gui/components/smartsheet/ApiSnippet.vue
  5. 2
      packages/nc-gui/components/smartsheet/column/AdvancedOptions.vue
  6. 2
      packages/nc-gui/components/smartsheet/column/BarcodeOptions.vue
  7. 2
      packages/nc-gui/components/smartsheet/column/CheckboxOptions.vue
  8. 2
      packages/nc-gui/components/smartsheet/column/DecimalOptions.vue
  9. 2
      packages/nc-gui/components/smartsheet/column/PercentOptions.vue
  10. 1
      packages/nc-gui/components/smartsheet/column/PgBinaryOptions.vue
  11. 4
      packages/nc-gui/components/smartsheet/column/RatingOptions.vue
  12. 2
      packages/nc-gui/components/smartsheet/toolbar/SearchData.vue
  13. 2
      packages/nc-gui/components/workspace/InviteCollabDlg.vue
  14. 2
      packages/nc-gui/components/workspace/MoveProjectDlg.vue

2
packages/nc-gui/components/account/UsersModal.vue

@ -193,7 +193,7 @@ const emailInput: VNodeRef = (el) => (el as HTMLInputElement)?.focus()
<a-form-item name="role" :rules="[{ required: true, message: $t('msg.roleRequired') }]"> <a-form-item name="role" :rules="[{ required: true, message: $t('msg.roleRequired') }]">
<div class="ml-1 mb-1 text-xs text-gray-500">{{ $t('labels.selectUserRole') }}</div> <div class="ml-1 mb-1 text-xs text-gray-500">{{ $t('labels.selectUserRole') }}</div>
<a-select v-model:value="usersData.role" class="nc-user-roles" dropdown-class-name="nc-dropdown-user-role"> <a-select v-model:value="usersData.role" class="nc-user-roles" dropdown-class-name="nc-dropdown-user-role border-1 border-gray-200">
<a-select-option <a-select-option
class="nc-role-option" class="nc-role-option"
:value="OrgUserRoles.CREATOR" :value="OrgUserRoles.CREATOR"

1
packages/nc-gui/components/api-client/Headers.vue

@ -91,6 +91,7 @@ const filterOption = (input: string, option: Option) => option.value.toUpperCase
:options="headerList" :options="headerList"
:placeholder="$t('placeholder.key')" :placeholder="$t('placeholder.key')"
:filter-option="filterOption" :filter-option="filterOption"
dropdown-class-name="border-1 border-gray-200"
/> />
</a-form-item> </a-form-item>
</td> </td>

2
packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue

@ -441,7 +441,7 @@ onMounted(async () => {
</div> </div>
</template> </template>
<a-form-item label="SSL mode"> <a-form-item label="SSL mode">
<a-select v-model:value="formState.sslUse" dropdown-class-name="nc-dropdown-ssl-mode" @select="onSSLModeChange"> <a-select v-model:value="formState.sslUse" dropdown-class-name="nc-dropdown-ssl-mode border-1 border-gray-200" @select="onSSLModeChange">
<a-select-option v-for="opt in Object.values(SSLUsage)" :key="opt" :value="opt">{{ opt }}</a-select-option> <a-select-option v-for="opt in Object.values(SSLUsage)" :key="opt" :value="opt">{{ opt }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>

2
packages/nc-gui/components/smartsheet/ApiSnippet.vue

@ -186,7 +186,7 @@ watch(activeLang, (newLang) => {
/> />
<div v-if="activeLang?.clients" class="flex flex-row w-full justify-end space-x-3 mt-4 uppercase"> <div v-if="activeLang?.clients" class="flex flex-row w-full justify-end space-x-3 mt-4 uppercase">
<a-select v-model:value="selectedClient" style="width: 6rem" dropdown-class-name="nc-dropdown-snippet-active-lang"> <a-select v-model:value="selectedClient" style="width: 6rem" dropdown-class-name="nc-dropdown-snippet-active-lang border-1 border-gray-200">
<a-select-option v-for="(client, i) in activeLang?.clients" :key="i" class="!w-full uppercase" :value="client"> <a-select-option v-for="(client, i) in activeLang?.clients" :key="i" class="!w-full uppercase" :value="client">
{{ client }} {{ client }}
</a-select-option> </a-select-option>

2
packages/nc-gui/components/smartsheet/column/AdvancedOptions.vue

@ -73,7 +73,7 @@ vModel.value.au = !!vModel.value.au */
</div> </div>
<a-form-item :label="$t('labels.databaseType')" v-bind="validateInfos.dt"> <a-form-item :label="$t('labels.databaseType')" v-bind="validateInfos.dt">
<a-select v-model:value="vModel.dt" dropdown-class-name="nc-dropdown-db-type" @change="onDataTypeChange"> <a-select v-model:value="vModel.dt" dropdown-class-name="nc-dropdown-db-type border-1 border-gray-200" @change="onDataTypeChange">
<a-select-option v-for="type in dataTypes" :key="type" :value="type"> <a-select-option v-for="type in dataTypes" :key="type" :value="type">
{{ type }} {{ type }}
</a-select-option> </a-select-option>

2
packages/nc-gui/components/smartsheet/column/BarcodeOptions.vue

@ -85,6 +85,7 @@ const showBarcodeValueColumnInfoIcon = computed(() => !columnsAllowedAsBarcodeVa
:options="columnsAllowedAsBarcodeValue" :options="columnsAllowedAsBarcodeValue"
:placeholder="$t('placeholder.barcodeColumn')" :placeholder="$t('placeholder.barcodeColumn')"
:not-found-content="$t('placeholder.notFoundContent')" :not-found-content="$t('placeholder.notFoundContent')"
dropdown-class-name="border-1 border-gray-200"
@click.stop @click.stop
/> />
<div v-if="showBarcodeValueColumnInfoIcon" class="pl-2"> <div v-if="showBarcodeValueColumnInfoIcon" class="pl-2">
@ -108,6 +109,7 @@ const showBarcodeValueColumnInfoIcon = computed(() => !columnsAllowedAsBarcodeVa
v-model:value="vModel.meta.barcodeFormat" v-model:value="vModel.meta.barcodeFormat"
:options="supportedBarcodeFormats" :options="supportedBarcodeFormats"
:placeholder="$t('placeholder.selectBarcodeFormat')" :placeholder="$t('placeholder.selectBarcodeFormat')"
dropdown-class-name="border-1 border-gray-200"
@click.stop @click.stop
/> />
</a-form-item> </a-form-item>

2
packages/nc-gui/components/smartsheet/column/CheckboxOptions.vue

@ -78,7 +78,7 @@ watch(
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="Icon"> <a-form-item label="Icon">
<a-select v-model:value="vModel.meta.iconIdx" class="w-52" dropdown-class-name="nc-dropdown-checkbox-icon"> <a-select v-model:value="vModel.meta.iconIdx" class="w-52" dropdown-class-name="nc-dropdown-checkbox-icon border-1 border-gray-200">
<a-select-option v-for="(icon, i) of iconList" :key="i" :value="i"> <a-select-option v-for="(icon, i) of iconList" :key="i" :value="i">
<div class="flex items-center"> <div class="flex items-center">
<component <component

2
packages/nc-gui/components/smartsheet/column/DecimalOptions.vue

@ -37,7 +37,7 @@ onMounted(() => {
<a-select <a-select
v-if="vModel.meta?.precision" v-if="vModel.meta?.precision"
v-model:value="vModel.meta.precision" v-model:value="vModel.meta.precision"
dropdown-class-name="nc-dropdown-decimal-format" dropdown-class-name="nc-dropdown-decimal-format border-1 border-gray-200"
> >
<a-select-option v-for="(format, i) of precisionFormats" :key="i" :value="format"> <a-select-option v-for="(format, i) of precisionFormats" :key="i" :value="format">
<div class="flex flex-row items-center"> <div class="flex flex-row items-center">

2
packages/nc-gui/components/smartsheet/column/PercentOptions.vue

@ -21,7 +21,7 @@ if (!vModel.value.meta?.precision) vModel.value.meta.precision = precisions[0].i
<div class="flex flex-col mt-2 gap-2"> <div class="flex flex-col mt-2 gap-2">
<div class="flex flex-row space-x-2"> <div class="flex flex-row space-x-2">
<a-form-item class="flex w-1/2" :label="$t('placeholder.precision')"> <a-form-item class="flex w-1/2" :label="$t('placeholder.precision')">
<a-select v-model:value="vModel.meta.precision" dropdown-class-name="nc-dropdown-precision"> <a-select v-model:value="vModel.meta.precision" dropdown-class-name="nc-dropdown-precision border-1 border-gray-200">
<a-select-option v-for="(precision, i) of precisions" :key="i" :value="precision.id"> <a-select-option v-for="(precision, i) of precisions" :key="i" :value="precision.id">
<div class="flex flex-row items-center"> <div class="flex flex-row items-center">
<div class="text-xs"> <div class="text-xs">

1
packages/nc-gui/components/smartsheet/column/PgBinaryOptions.vue

@ -28,6 +28,7 @@ vModel.value.meta = {
v-model:value="vModel.meta.format" v-model:value="vModel.meta.format"
:placeholder="$t('labels.binaryEncodingFormat')" :placeholder="$t('labels.binaryEncodingFormat')"
class="!w-full nc-link-singular" class="!w-full nc-link-singular"
dropdown-class-name="border-1 border-gray-200"
> >
<a-select-option value="escape">{{ $t('general.escape') }}</a-select-option> <a-select-option value="escape">{{ $t('general.escape') }}</a-select-option>
<a-select-option value="hex">{{ $t('general.hex') }}</a-select-option> <a-select-option value="hex">{{ $t('general.hex') }}</a-select-option>

4
packages/nc-gui/components/smartsheet/column/RatingOptions.vue

@ -72,7 +72,7 @@ watch(
<a-row :gutter="8"> <a-row :gutter="8">
<a-col :span="12"> <a-col :span="12">
<a-form-item :label="$t('labels.icon')"> <a-form-item :label="$t('labels.icon')">
<a-select v-model:value="vModel.meta.iconIdx" class="w-52" dropdown-class-name="nc-dropdown-rating-icon"> <a-select v-model:value="vModel.meta.iconIdx" class="w-52" dropdown-class-name="nc-dropdown-rating-icon border-1 border-gray-200">
<a-select-option v-for="(icon, i) of iconList" :key="i" :value="i"> <a-select-option v-for="(icon, i) of iconList" :key="i" :value="i">
<div class="flex items-center"> <div class="flex items-center">
<component <component
@ -96,7 +96,7 @@ watch(
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item :label="$t('labels.max')"> <a-form-item :label="$t('labels.max')">
<a-select v-model:value="vModel.meta.max" class="w-52" dropdown-class-name="nc-dropdown-rating-color"> <a-select v-model:value="vModel.meta.max" class="w-52" dropdown-class-name="nc-dropdown-rating-color border-1 border-gray-200">
<a-select-option v-for="(v, i) in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]" :key="i" :value="v"> <a-select-option v-for="(v, i) in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]" :key="i" :value="v">
{{ v }} {{ v }}
</a-select-option> </a-select-option>

2
packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

@ -107,7 +107,7 @@ watch(columns, () => {
:open="isDropdownOpen" :open="isDropdownOpen"
size="small" size="small"
:dropdown-match-select-width="false" :dropdown-match-select-width="false"
dropdown-class-name="!rounded-lg nc-dropdown-toolbar-search-field-option w-48" dropdown-class-name="!rounded-lg nc-dropdown-toolbar-search-field-option w-48 border-1 border-gray-200"
class="py-1 !absolute top-0 left-0 w-full h-full z-10 text-xs opacity-0" class="py-1 !absolute top-0 left-0 w-full h-full z-10 text-xs opacity-0"
@change="onPressEnter" @change="onPressEnter"
> >

2
packages/nc-gui/components/workspace/InviteCollabDlg.vue

@ -214,7 +214,7 @@ const emailInput = ref((el) => {
<a-form-item name="role" :rules="[{ required: true, message: $t('msg.roleRequired') }]"> <a-form-item name="role" :rules="[{ required: true, message: $t('msg.roleRequired') }]">
<div class="ml-1 mb-1 text-xs text-gray-500">{{ $t('labels.selectUserRole') }}</div> <div class="ml-1 mb-1 text-xs text-gray-500">{{ $t('labels.selectUserRole') }}</div>
<a-select v-model:value="usersData.role" class="nc-user-roles" dropdown-class-name="nc-dropdown-user-role"> <a-select v-model:value="usersData.role" class="nc-user-roles" dropdown-class-name="nc-dropdown-user-role border-1 border-gray-200">
<a-select-option <a-select-option
class="nc-role-option" class="nc-role-option"
:value="WorkspaceUserRoles.CREATOR" :value="WorkspaceUserRoles.CREATOR"

2
packages/nc-gui/components/workspace/MoveProjectDlg.vue

@ -56,7 +56,7 @@ const ownedWorkspaces = computed(() => {
<div class="prose-xl font-bold self-center my-4">{{ $t('activity.moveProject') }}</div> <div class="prose-xl font-bold self-center my-4">{{ $t('activity.moveProject') }}</div>
<div class="mb-2">{{ $t('objects.workspace') }}</div> <div class="mb-2">{{ $t('objects.workspace') }}</div>
<a-select v-model:value="workspaceId" class="w-full" show-search> <a-select v-model:value="workspaceId" class="w-full" dropdown-class-name="border-1 border-gray-200" show-search>
<a-select-option v-for="workspace of ownedWorkspaces" :key="workspace.id" :value="workspace.id"> <a-select-option v-for="workspace of ownedWorkspaces" :key="workspace.id" :value="workspace.id">
{{ workspace.title }} {{ workspace.title }}
</a-select-option> </a-select-option>

Loading…
Cancel
Save