@@ -1,11 +1,12 @@
<!--
features / admin / modules / freight - rpa / FreightRpaPage . vue
用途 : 货代来源站点管理工作台 , 维护解析方案 、 连接 、 站点 、 入站 / 出站报表配置 、 模板与运行审计 。
依赖 : element - plus ( 抽屉 / 弹窗 / 表单控件 / 标签 / 空态 , 沿用管理端 element - trial 主题 ) 、
依赖 : element - plus ( 抽屉 / 弹窗 / 表单控件 / 标签 / 提示 / 空态 , 沿用管理端 element - trial 主题 ) 、
admin . api 、 inboundReportConfigForm 、 outboundReportConfigForm 、 parsingProfileListGroups 、
Vue Router 、 Vue Composition API 、 Vue I18n 。
逻辑 : 由 AdminLayout 统一业务目录选择工作区 ; section 深链与当前工作区双向同步 。
来源站点详情三块折叠 — — 库存报表 | 入站报表 | 出站报表 ; 入站 / 出站走独立 get / save API 。
复制新增只预填未保存草稿 ( sourceCloneDraft ) , 保存后新站点保持停用 。 卡片入口是右上角复制图标 , 抽屉底栏保留文字按钮 。
报表规则列表按用途分段 ( 库存 → 入站 → 出站 ) , 组内按 profile _code / version 排序 。
视觉层已迁移 Element Plus ( element - trial 主题 ) , 间距由 AdminLayout 壳层持有 。
-- >
@@ -96,18 +97,28 @@
< / section >
< / div >
< div v-else class = "object-list" >
< button
< article
v-for = "item in currentItems"
:key = "String(item.id)"
type = "button "
class = "object-row"
class = "object-row object-row-split "
: class = "{ selected: selectedId === Number(item.id) }"
@click ="selectItem(item)"
>
< span class = "row-primary" > { { rowTitle ( item ) } } < / span >
< span class = "row-second ary" > { { rowMeta ( item ) } } < / span >
< span class = "status-dot" : class = "item.enabled === false || item.status === 'retired' ? 'off' : 'on'" > < / span >
< / button >
< button type = "button" class = "object-row-main" @click ="selectItem(item)" >
< span class = "row-prim ary" > { { rowTitle ( item ) } } < / span >
< span class = "row-secondary" > { { rowMeta ( item ) } } < / span >
< span class = "status-dot" : class = "item.enabled === false || item.status === 'retired' ? 'off' : 'on'" > < / span >
< / button >
< el-tooltip v-if = "activeTab === 'sources'" :content="t('admin.freightRpa.cloneSource')" placement="top" >
< el -button
class = "object-row-copy"
text
:icon = "CopyDocument"
: aria -label = " t ( ' admin.freightRpa.cloneSourceAria ' , { name : rowTitle ( item ) } ) "
:data-testid = "`clone-source-${item.id}`"
@click ="duplicateSource(item)"
/ >
< / el-tooltip >
< / article >
< / div >
< el-drawer
@@ -157,7 +168,15 @@
< / template >
< template v-else-if = "activeTab === 'sources'" >
< label > < span > { { t ( 'admin.freightRpa.sourceCode' ) } } < / span > < el-input v-model = "source.source_code" required / > < / label >
< el -alert
v-if = "sourceCloneFrom && !selectedId"
class = "full"
type = "info"
:closable = "false"
: title = "t('admin.freightRpa.cloneSourceBanner', { code: sourceCloneFrom.source_code, name: sourceCloneFrom.display_name })"
data -testid = " clone -source -banner "
/ >
< label > < span > { { t ( 'admin.freightRpa.sourceCode' ) } } < / span > < el-input ref = "sourceCodeInputRef" v-model = "source.source_code" required data-testid="source-code-input" / > < / label >
< label > < span > { { t ( 'admin.freightRpa.inventorySiteName' ) } } < / span > < el-input v-model = "source.display_name" required / > < / label >
< label > < span > { { t ( 'admin.freightRpa.connectorType' ) } } < / span > < el-select v-model = "source.connector_type"><el-option value="dbs" :label="t('admin.freightRpa.platform.dbs')" /><el-option value="crane" :label="t('admin.freightRpa.platform.crane')" / > < / el-select > < / label >
< label > < span > { { t ( 'admin.freightRpa.connection' ) } } < / span > < el-select v-model = "source.rpa_profile_id"><el-option :value="0" :label="t('admin.freightRpa.chooseConnection')" /><el-option v-for="item in compatibleProfiles" :key="String(item.id)" :value="Number(item.id)" :label="item.display_name || item.profile_code" / > < / el-select > < / label >
@@ -193,7 +212,7 @@
< label class = "full" > < span > { { t ( 'admin.freightRpa.parsingProfiles' ) } } < / span > < el-select v-model = "source.onhand_report_config.parsing_profile_id"><el-option :value="0" :label="t('admin.freightRpa.notConfigured')" /><el-option v-for="item in parsingProfiles.filter((row) => row.status === 'published' && row.purpose === 'onhand')" :key="String(item.id)" :value="Number(item.id)" :label="`${item.display_name || item.profile_code} V${item.version}`" / > < / el-select > < / label >
< / div >
< / section >
< section v-if = "selectedId" class="path-card inbound full" :class="{ configured: inboundConfigExists }" >
< section v-if = "selectedId || inboundConfigExists " class="path-card inbound full" :class="{ configured: inboundConfigExists }" >
< button type = "button" class = "path-card-header" :aria-expanded = "inboundSectionOpen" @click ="toggleInboundSection" >
< span class = "path-card-title" > < b > { { t ( 'admin.freightRpa.inboundReportConfig' ) } } < / b > < / span >
< el-tag class = "path-badge" : type = "inboundConfigExists ? 'success' : 'info'" size = "small" > { { inboundConfigExists ? t ( 'admin.freightRpa.pathSectionConfigured' ) : t ( 'admin.freightRpa.pathSectionNotConfigured' ) } } < / el-tag >
@@ -219,7 +238,7 @@
< label class = "full" > < span > { { t ( 'admin.freightRpa.movementBindingLabel' ) } } < / span > < el-select v-model = "inboundConfig.parsing_profile_id"><el-option :value="null as unknown as string" :label="t('admin.freightRpa.movementBindingNone')" /><el-option v-for="item in parsingProfiles.filter((row) => row.status === 'published' && row.purpose === 'inbound')" :key="`movement-bind-${item.id}`" :value="Number(item.id)" :label="`${item.display_name || item.profile_code} V${item.version}`" / > < / el-select > < / label >
< / div >
< / section >
< section v-if = "selectedId" class="path-card outbound full" :class="{ configured: outboundConfigExists }" >
< section v-if = "selectedId || outboundConfigExists " class="path-card outbound full" :class="{ configured: outboundConfigExists }" >
< button type = "button" class = "path-card-header" :aria-expanded = "outboundSectionOpen" @click ="toggleOutboundSection" >
< span class = "path-card-title" > < b > { { t ( 'admin.freightRpa.outboundReportConfig' ) } } < / b > < / span >
< el-tag class = "path-badge" : type = "outboundConfigExists ? 'success' : 'info'" size = "small" > { { outboundConfigExists ? t ( 'admin.freightRpa.pathSectionConfigured' ) : t ( 'admin.freightRpa.pathSectionNotConfigured' ) } } < / el-tag >
@@ -455,6 +474,7 @@
< el-button v-if = "activeTab === 'rules' && selectedId && selectedRuleStatus === 'published'" size="small" @click="retireCurrentRule" > {{ t ( ' admin.freightRpa.retire ' ) }} < / el -button >
< el-button v-if = "activeTab === 'templates' && selectedId && selectedTemplateStatus === 'draft'" size="small" @click="publishCurrentTemplate" > {{ t ( ' admin.freightRpa.publishTemplate ' ) }} < / el -button >
< el-button v-if = "activeTab === 'templates' && selectedId && selectedTemplateStatus !== 'draft'" size="small" @click="createTemplateVersion" > {{ t ( ' admin.freightRpa.createTemplateVersion ' ) }} < / el -button >
< el-button v-if = "activeTab === 'sources' && selectedId" size="small" data-testid="clone-source-drawer" @click="duplicateSourceFromDrawer" > {{ t ( ' admin.freightRpa.cloneSource ' ) }} < / el -button >
< el-button v-if = "activeTab === 'templates' && selectedId" size="small" @click="openTemplateCloneDialog" > {{ t ( ' admin.freightRpa.cloneTemplate ' ) }} < / el -button >
< el-button v-if = "activeTab === 'templates' && selectedId && selectedTemplateStatus === 'published'" type="danger" plain size="small" class="retire-template-action" @click="retireCurrentTemplate" > {{ t ( ' admin.freightRpa.retireTemplate ' ) }} < / el -button >
< el-button v-if = "activeTab === 'parsing' && selectedId && selectedParsingStatus === 'draft'" size="small" @click="publishCurrentParsingProfile" > {{ t ( ' admin.freightRpa.publishProfile ' ) }} < / el -button >
@@ -581,8 +601,9 @@ import {
ElSelect ,
ElSwitch ,
ElTag ,
ElTooltip ,
} from 'element-plus' ;
import { Plus , Search } from '@element-plus/icons-vue' ;
import { CopyDocument , Plus , Search } from '@element-plus/icons-vue' ;
import 'element-plus/dist/index.css' ;
import 'element-plus/theme-chalk/dark/css-vars.css' ;
import '@/features/admin/styles/element-trial.css' ;
@@ -642,6 +663,7 @@ import {
} from '@/features/admin/api/admin.api' ;
import type { ShippingOnhandReadinessCheck , ShippingOnhandValidationBatch } from '@/features/admin/api/admin.api' ;
import { normaliseInventoryReportPath } from './shippingOnhandSourceForm' ;
import { buildSourceCloneDraft , type SourceCloneDraft , type SourceCloneReportConfig } from './sourceCloneDraft' ;
import { buildInboundReportConfigPayload } from './inboundReportConfigForm' ;
import { buildOutboundReportConfigPayload } from './outboundReportConfigForm' ;
import { buildMovementFieldMapping } from './movementParsingProfileForm' ;
@@ -663,6 +685,8 @@ const router = useRouter();
const message = useMessage ( ) ;
const activeTab = ref < TabKey > ( 'parsing' ) ;
const selectedId = ref < number | null > ( null ) ;
const sourceCloneFrom = ref < { source _code : string ; display _name : string } | null > ( null ) ;
const sourceCodeInputRef = ref < InstanceType < typeof ElInput > | null > ( null ) ;
const drawerOpen = ref ( false ) ;
const orderSchemaPublished = ref ( false ) ;
const saving = ref ( false ) ;
@@ -1123,6 +1147,7 @@ function selectInventoryMappingTab(tab: 'parsing' | 'inventoryFields'): void {
/** 重置当前工作区的编辑表单,作为创建新对象的入口。 */
function createNew ( ) : void {
selectedId . value = null ;
sourceCloneFrom . value = null ;
if ( activeTab . value === 'profiles' ) Object . assign ( profile , { profile _code : '' , display _name : '' , connector _type : 'dbs' , login _url : '' , username : '' , password : '' , login _config _json : { auth _mode : 'password' } , enabled : true , upload _config _json : defaultUploadConfig ( 'dbs' ) } ) ;
if ( activeTab . value === 'parsing' ) { Object . assign ( parsing , { profile _code : '' , display _name : '' , file _format : 'xlsx' , sheet _name : '' , header _row _index : 1 , purpose : 'onhand' , field _mappings : [ ] , match _keys : [ ] , movement _mappings : [ ] } ) ; structureAnalysis . value = null ; pendingSampleReplacement . value = null ; sampleReplacementConfirmed . value = false ; selectedTemporaryInventorySession . value = '' ; }
if ( activeTab . value === 'inventoryFields' ) Object . assign ( inventoryField , { display _name : '' , description : '' , value _type : 'text' , usage _type : 'general' , sort _order : 100 , status : 'active' } ) ;
@@ -1154,6 +1179,7 @@ function createNew(): void {
/** 将列表对象复制到当前编辑表单,凭据字段永远不从列表回填。 */
function selectItem ( item : Item ) : void {
selectedId . value = Number ( item . id ) ;
sourceCloneFrom . value = null ;
if ( activeTab . value === 'profiles' ) Object . assign ( profile , { ... item , username : '' , password : '' , login _config _json : item . login _config _json || { auth _mode : 'password' } , upload _config _json : item . upload _config _json || defaultUploadConfig ( item . connector _type ) } ) ;
if ( activeTab . value === 'parsing' ) Object . assign ( parsing , {
profile _code : item . profile _code , display _name : item . display _name , file _format : item . file _format ,
@@ -1321,10 +1347,159 @@ function closeDrawer(): void {
resetReceiptConfig ( source . connector _type ) ;
resetOutboundConfig ( source . connector _type ) ;
sourceBaseline . value = '' ;
sourceCloneFrom . value = null ;
drawerOpen . value = false ;
selectedId . value = null ;
}
/**
* 把接口里的入站或出站配置整理成复制草稿能接受的形状。
* 核心逻辑:Crane 固定报表名,与抽屉读取逻辑一致;没有配置时返回 null。
* @param config - 入站或出站 GET 返回;不存在时为 null。
* @param connectorType - 货代类型,决定路径默认值。
* @param kind - inbound 或 outbound。
* @returns 深拷贝前的报表配置,或 null。
*/
function movementConfigFromApi ( config : Record < string , unknown > | null , connectorType : string , kind : 'inbound' | 'outbound' ) : SourceCloneReportConfig | null {
if ( ! config ) return null ;
const isCrane = connectorType . toLowerCase ( ) === 'crane' ;
const defaults : Record < string , string > = kind === 'inbound'
? ( isCrane ? { report _name : 'Inbound Details' } : { program _group : '' , program _label : '' , report _group : 'Inbound' , report _name : '' } )
: ( isCrane ? { report _name : 'Outbound Details' } : { program _group : '' , program _label : '' , report _group : 'Outbound' , report _name : '' } ) ;
const storedPath = ( config . report _path _json || { } ) as Record < string , string > ;
const parameters = Array . isArray ( config . query _parameters _json ) ? config . query _parameters _json as Parameter [ ] : [ ] ;
return {
report _path _json : isCrane ? defaults : { ... defaults , ... storedPath } ,
query _parameters _json : parameters . map ( ( parameter ) => ( { ... parameter , values : [ ... ( parameter . values || [ ] ) ] } ) ) ,
parsing _profile _id : config . parsing _profile _id ? Number ( config . parsing _profile _id ) : null ,
} ;
}
/**
* 把复制草稿写入新建表单,并在有入站或出站时展开对应卡片。
* 核心逻辑:selectedId 保持为空,保存前不落库;已有报表配置标记为待写入,避免空配置被创建。
* @param draft - buildSourceCloneDraft 的返回值。
*/
function applySourceCloneDraft ( draft : SourceCloneDraft ) : void {
// [STEP 1] 站点头部与库存报表进入新建表单,启用检查不继承来源站点。
selectedId . value = null ;
Object . assign ( source , {
source _code : draft . source _code ,
display _name : draft . display _name ,
connector _type : draft . connector _type ,
rpa _profile _id : draft . rpa _profile _id ,
excel _template _id : draft . excel _template _id ,
warehouse _resolution _mode : draft . warehouse _resolution _mode ,
fixed _warehouse _id : draft . fixed _warehouse _id ,
snapshot _ttl _seconds : draft . snapshot _ttl _seconds ,
onhand _report _config : draft . onhand _report _config ,
enabled : false ,
activation : { ready : false , checks : [ ] , missing _requirements : [ 'parsing_profile' , 'excel_template' ] } ,
} ) ;
// [STEP 2] 仅当来源站点已有入站或出站时预填,并标记为保存时必须写入。
if ( draft . inbound _report _config ) {
Object . assign ( inboundConfig , draft . inbound _report _config ) ;
inboundConfigExists . value = true ;
inboundSectionTouched . value = true ;
inboundSectionOpen . value = true ;
inboundBaseline . value = serialiseInboundInput ( ) ;
} else {
resetReceiptConfig ( draft . connector _type ) ;
inboundConfigExists . value = false ;
inboundSectionTouched . value = false ;
inboundSectionOpen . value = false ;
inboundBaseline . value = '' ;
}
if ( draft . outbound _report _config ) {
Object . assign ( outboundConfig , draft . outbound _report _config ) ;
outboundConfigExists . value = true ;
outboundSectionTouched . value = true ;
outboundSectionOpen . value = true ;
outboundBaseline . value = serialiseOutboundInput ( ) ;
} else {
resetOutboundConfig ( draft . connector _type ) ;
outboundConfigExists . value = false ;
outboundSectionTouched . value = false ;
outboundSectionOpen . value = false ;
outboundBaseline . value = '' ;
}
sourceCloneFrom . value = draft . clone _from ;
inventoryPathOpen . value = true ;
sourceBaseline . value = '' ;
drawerOpen . value = true ;
void nextTick ( ( ) => sourceCodeInputRef . value ? . focus ( ) ) ;
}
/**
* 从卡片复制来源站点。先读取独立的入站和出站配置,再打开未保存草稿。
* @param item - 列表中的来源站点。
*/
async function duplicateSource ( item : Item ) : Promise < void > {
const sourceId = Number ( item . id ) ;
const connectorType = String ( item . connector _type || '' ) ;
try {
const [ inbound , outbound ] = await Promise . all ( [
getInboundReportConfig ( sourceId ) ,
getOutboundReportConfig ( sourceId ) ,
] ) ;
const itemConfig = ( item . onhand _report _config || { } ) as { report _path _json ? : Record < string , string > ; query _parameters _json ? : Parameter [ ] ; parsing _profile _id ? : number | string } ;
const reportPath = connectorType === 'dbs'
? { program _group : '' , program _label : '' , report _group : 'Inventory' , report _name : '' , ... ( itemConfig . report _path _json || { } ) }
: ( itemConfig . report _path _json || { } ) ;
applySourceCloneDraft ( buildSourceCloneDraft ( {
source _code : String ( item . source _code || '' ) ,
display _name : String ( item . display _name || '' ) ,
connector _type : connectorType ,
rpa _profile _id : Number ( item . rpa _profile _id ) || 0 ,
excel _template _id : Number ( item . excel _template _id ) || 0 ,
warehouse _resolution _mode : String ( item . warehouse _resolution _mode || 'fixed' ) ,
fixed _warehouse _id : String ( item . fixed _warehouse _id || '' ) ,
snapshot _ttl _seconds : Number ( item . snapshot _ttl _seconds ) || 86400 ,
onhand _report _config : {
report _path _json : normaliseInventoryReportPath ( connectorType , reportPath ) as Record < string , string > ,
query _parameters _json : ( itemConfig . query _parameters _json || [ ] ) . map ( ( parameter ) => ( { ... parameter , values : [ ... ( parameter . values || [ ] ) ] } ) ) ,
parsing _profile _id : itemConfig . parsing _profile _id ? Number ( itemConfig . parsing _profile _id ) : 0 ,
} ,
inbound _report _config : movementConfigFromApi ( inbound , connectorType , 'inbound' ) ,
outbound _report _config : movementConfigFromApi ( outbound , connectorType , 'outbound' ) ,
} , t ( 'admin.freightRpa.copySuffix' ) ) ) ;
} catch ( cause ) {
showError ( cause , 'loadFailed' ) ;
}
}
/**
* 从已打开的站点抽屉复制当前表单,包含尚未保存的入站和出站修改。
*/
function duplicateSourceFromDrawer ( ) : void {
if ( activeTab . value !== 'sources' || ! selectedId . value ) return ;
applySourceCloneDraft ( buildSourceCloneDraft ( {
source _code : source . source _code ,
display _name : source . display _name ,
connector _type : source . connector _type ,
rpa _profile _id : Number ( source . rpa _profile _id ) || 0 ,
excel _template _id : Number ( source . excel _template _id ) || 0 ,
warehouse _resolution _mode : source . warehouse _resolution _mode ,
fixed _warehouse _id : source . fixed _warehouse _id || '' ,
snapshot _ttl _seconds : Number ( source . snapshot _ttl _seconds ) || 86400 ,
onhand _report _config : {
report _path _json : { ... source . onhand _report _config . report _path _json } ,
query _parameters _json : source . onhand _report _config . query _parameters _json . map ( ( parameter ) => ( { ... parameter , values : [ ... parameter . values ] } ) ) ,
parsing _profile _id : Number ( source . onhand _report _config . parsing _profile _id ) || 0 ,
} ,
inbound _report _config : inboundConfigExists . value ? {
report _path _json : { ... inboundConfig . report _path _json } ,
query _parameters _json : inboundConfig . query _parameters _json . map ( ( parameter ) => ( { ... parameter , values : [ ... parameter . values ] } ) ) ,
parsing _profile _id : inboundConfig . parsing _profile _id ? Number ( inboundConfig . parsing _profile _id ) : null ,
} : null ,
outbound _report _config : outboundConfigExists . value ? {
report _path _json : { ... outboundConfig . report _path _json } ,
query _parameters _json : outboundConfig . query _parameters _json . map ( ( parameter ) => ( { ... parameter , values : [ ... parameter . values ] } ) ) ,
parsing _profile _id : outboundConfig . parsing _profile _id ? Number ( outboundConfig . parsing _profile _id ) : null ,
} : null ,
} , t ( 'admin.freightRpa.copySuffix' ) ) ) ;
}
/** 按当前对象类型调用对应 API,成功后重新加载服务端真相。 */
async function saveCurrent ( ) : Promise < void > {
saving . value = true ;
@@ -1383,11 +1558,18 @@ async function saveCurrent(): Promise<void> {
}
if ( activeTab . value === 'sources' ) {
// s18 起在手报表配置随站点载荷内嵌 onhand_report_config 提交(服务端写配置行),站点头部只存基础字段。
await saveShippingOnhandSource ( { ... source , enabled : false , fixed _warehouse _id : source . warehouse _resolution _mode === 'fixed' ? source . fixed _warehouse _id : null , onhand _report _config : {
const savedSource = await saveShippingOnhandSource ( { ... source , enabled : false , fixed _warehouse _id : source . warehouse _resolution _mode === 'fixed' ? source . fixed _warehouse _id : null , onhand _report _config : {
report _path _json : normaliseInventoryReportPath ( source . connector _type , source . onhand _report _config . report _path _json ) ,
query _parameters _json : source . onhand _report _config . query _parameters _json ,
parsing _profile _id : source . onhand _report _config . parsing _profile _id ,
} } , selectedId . value || undefined ) ;
} } , selectedId . value || undefined ) as Item ;
// 复制草稿首次保存后立刻记下新主键,入站或出站失败时重试走更新,避免再插入一条站点。
if ( ! selectedId . value ) {
const createdId = Number ( savedSource ? . id ) ;
if ( ! createdId ) throw new Error ( t ( 'admin.freightRpa.saveFailed' ) ) ;
selectedId . value = createdId ;
sourceCloneFrom . value = null ;
}
// 入站与站点同批保存:仅当已有配置或管理员展开过入站卡时才提交,避免未配置站点被误建空入站配置。
if ( selectedId . value && ( inboundSectionTouched . value || ( inboundConfigExists . value && inboundBaseline . value !== serialiseInboundInput ( ) ) ) ) {
try {
@@ -1916,6 +2098,14 @@ onMounted(load);
. object - list { display : grid ; grid - template - columns : repeat ( auto - fill , minmax ( 240 px , 1 fr ) ) ; gap : 10 px ; }
. object - empty { grid - column : 1 / - 1 ; }
. object - row { position : relative ; display : flex ; width : 100 % ; min - height : 72 px ; flex - direction : column ; justify - content : center ; gap : 4 px ; border : 1 px solid var ( -- el - border - color - light ) ; border - radius : 8 px ; background : var ( -- el - bg - color ) ; padding : 12 px 30 px 12 px 13 px ; text - align : left ; cursor : pointer ; }
. object - row - split { height : 100 % ; justify - content : flex - start ; padding : 0 ; cursor : default ; }
. object - row - main { display : flex ; width : 100 % ; flex : 1 1 auto ; min - height : 72 px ; flex - direction : column ; justify - content : center ; gap : 4 px ; border : 0 ; background : transparent ; padding : 12 px 30 px 12 px 13 px ; text - align : left ; cursor : pointer ; color : inherit ; font : inherit ; }
. object - row - split : has ( . object - row - copy ) . object - row - main { padding - right : 62 px ; }
. object - row - main : focus - visible { outline : 2 px solid var ( -- el - color - primary ) ; outline - offset : - 2 px ; }
/* 复制图标贴在状态点左侧。平时保持可见但较淡,悬停或键盘聚焦时再加深,避免底栏把卡片垫高。 */
. object - row - copy { position : absolute ; top : 6 px ; right : 28 px ; width : 28 px ; min - width : 28 px ; height : 28 px ; margin : 0 ; padding : 0 ; opacity : 0.45 ; -- el - button - text - color : var ( -- el - text - color - secondary ) ; }
. object - row : hover . object - row - copy ,
. object - row - copy : focus - visible { opacity : 1 ; -- el - button - text - color : var ( -- el - color - primary ) ; }
. object - row : hover { border - color : var ( -- el - color - primary - light - 5 ) ; background : var ( -- el - color - primary - light - 9 ) ; }
. object - row . selected { border - color : var ( -- el - color - primary - light - 7 ) ; background : var ( -- el - color - primary - light - 9 ) ; }
. row - primary { color : var ( -- el - text - color - regular ) ; font - size : 13 px ; font - weight : 600 ; }