|
|
@ -280,7 +280,7 @@ const filterOption = (input: string, option: any) => { |
|
|
|
}" |
|
|
|
}" |
|
|
|
> |
|
|
|
> |
|
|
|
<template v-for="selectedOpt of vModel" :key="selectedOpt.value"> |
|
|
|
<template v-for="selectedOpt of vModel" :key="selectedOpt.value"> |
|
|
|
<a-tag class="rounded-tag" color="'#ccc'"> |
|
|
|
<a-tag class="rounded-tag max-w-full" color="'#ccc'"> |
|
|
|
<span |
|
|
|
<span |
|
|
|
:style="{ |
|
|
|
:style="{ |
|
|
|
'color': tinycolor.isReadable('#ccc' || '#ccc', '#fff', { level: 'AA', size: 'large' }) |
|
|
|
'color': tinycolor.isReadable('#ccc' || '#ccc', '#fff', { level: 'AA', size: 'large' }) |
|
|
@ -290,7 +290,21 @@ const filterOption = (input: string, option: any) => { |
|
|
|
}" |
|
|
|
}" |
|
|
|
:class="{ 'text-sm': isKanban }" |
|
|
|
:class="{ 'text-sm': isKanban }" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<NcTooltip class="truncate max-w-full" show-on-truncate-only> |
|
|
|
|
|
|
|
<template #title> |
|
|
|
{{ selectedOpt.label }} |
|
|
|
{{ selectedOpt.label }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<span |
|
|
|
|
|
|
|
class="text-ellipsis overflow-hidden" |
|
|
|
|
|
|
|
:style="{ |
|
|
|
|
|
|
|
wordBreak: 'keep-all', |
|
|
|
|
|
|
|
whiteSpace: 'nowrap', |
|
|
|
|
|
|
|
display: 'inline', |
|
|
|
|
|
|
|
}" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{{ selectedOpt.label }} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</NcTooltip> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a-tag> |
|
|
|
</a-tag> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -310,7 +324,7 @@ const filterOption = (input: string, option: any) => { |
|
|
|
:open="isOpen && editAllowed" |
|
|
|
:open="isOpen && editAllowed" |
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
:class="{ 'caret-transparent': !hasEditRoles }" |
|
|
|
:class="{ 'caret-transparent': !hasEditRoles }" |
|
|
|
:dropdown-class-name="`nc-dropdown-user-select-cell ${isOpen ? 'active' : ''}`" |
|
|
|
:dropdown-class-name="`nc-dropdown-user-select-cell !min-w-200px ${isOpen ? 'active' : ''}`" |
|
|
|
:filter-option="filterOption" |
|
|
|
:filter-option="filterOption" |
|
|
|
@search="search" |
|
|
|
@search="search" |
|
|
|
@keydown.stop |
|
|
|
@keydown.stop |
|
|
@ -326,7 +340,7 @@ const filterOption = (input: string, option: any) => { |
|
|
|
:class="`nc-select-option-${column.title}-${op.email}`" |
|
|
|
:class="`nc-select-option-${column.title}-${op.email}`" |
|
|
|
@click.stop |
|
|
|
@click.stop |
|
|
|
> |
|
|
|
> |
|
|
|
<a-tag class="rounded-tag !pl-0" color="'#ccc'"> |
|
|
|
<a-tag class="rounded-tag max-w-full !pl-0" color="'#ccc'"> |
|
|
|
<span |
|
|
|
<span |
|
|
|
:style="{ |
|
|
|
:style="{ |
|
|
|
'color': tinycolor.isReadable('#ccc' || '#ccc', '#fff', { level: 'AA', size: 'large' }) |
|
|
|
'color': tinycolor.isReadable('#ccc' || '#ccc', '#fff', { level: 'AA', size: 'large' }) |
|
|
@ -338,9 +352,21 @@ const filterOption = (input: string, option: any) => { |
|
|
|
:class="{ 'text-sm': isKanban }" |
|
|
|
:class="{ 'text-sm': isKanban }" |
|
|
|
> |
|
|
|
> |
|
|
|
<GeneralUserIcon size="medium" :email="op.email" /> |
|
|
|
<GeneralUserIcon size="medium" :email="op.email" /> |
|
|
|
<span> |
|
|
|
<NcTooltip class="truncate max-w-full" show-on-truncate-only> |
|
|
|
|
|
|
|
<template #title> |
|
|
|
|
|
|
|
{{ op.display_name?.length ? op.display_name : op.email }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<span |
|
|
|
|
|
|
|
class="text-ellipsis overflow-hidden" |
|
|
|
|
|
|
|
:style="{ |
|
|
|
|
|
|
|
wordBreak: 'keep-all', |
|
|
|
|
|
|
|
whiteSpace: 'nowrap', |
|
|
|
|
|
|
|
display: 'inline', |
|
|
|
|
|
|
|
}" |
|
|
|
|
|
|
|
> |
|
|
|
{{ op.display_name?.length ? op.display_name : op.email }} |
|
|
|
{{ op.display_name?.length ? op.display_name : op.email }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
</NcTooltip> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a-tag> |
|
|
|
</a-tag> |
|
|
|
</a-select-option> |
|
|
|
</a-select-option> |
|
|
@ -437,7 +463,7 @@ const filterOption = (input: string, option: any) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
:deep(.ant-select-selector) { |
|
|
|
:deep(.ant-select-selector) { |
|
|
|
@apply !px-0; |
|
|
|
@apply !pl-0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
:deep(.ant-select-selection-search-input) { |
|
|
|
:deep(.ant-select-selection-search-input) { |
|
|
|