refactor(gui): migrate hardcoded colors to Design Tokens across all components
- Migrate 15+ component files from Ant Design default colors to Design Token system - Workflow nodes (Skill/Parallel/Condition/Approval): #1890ff→var(--color-primary), #52c41a→var(--color-success), etc. - Evolution panels (Dashboard/Metrics/Usage/Timeline/Pitfall/PathOptimizer): all CSS colors→var() tokens - Skills components (SkillCard/SkillDetail): link/text colors→Design Tokens - KB component (SearchTest): bg/border/text colors→Design Tokens - JS/inline styles use new palette hex values (#7c3aed primary, #10b981 success, #f59e0b warning) - Provider brand colors (OpenAI/Anthropic/Azure/DeepSeek/Zhipu) preserved as-is - Remaining ~27 hex values are in JS/template contexts where CSS vars cannot be used
This commit is contained in:
parent
4d051c2f25
commit
c60e0b9971
|
|
@ -5,7 +5,7 @@
|
|||
<a-statistic
|
||||
title="总任务数"
|
||||
:value="metrics?.total_tasks ?? 0"
|
||||
:value-style="{ color: '#1890ff' }"
|
||||
:value-style="{ color: '#7c3aed' }"
|
||||
>
|
||||
<template #prefix><CheckCircleOutlined /></template>
|
||||
</a-statistic>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<a-statistic
|
||||
title="Agent 活跃数"
|
||||
:value="activeAgentCount"
|
||||
:value-style="{ color: '#722ed1' }"
|
||||
:value-style="{ color: '#7c3aed' }"
|
||||
>
|
||||
<template #prefix><TeamOutlined /></template>
|
||||
</a-statistic>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<a-statistic
|
||||
title="LLM 用量"
|
||||
:value="usageSummary.total_tokens"
|
||||
:value-style="{ color: '#13c2c2' }"
|
||||
:value-style="{ color: '#3b82f6' }"
|
||||
>
|
||||
<template #prefix><CloudServerOutlined /></template>
|
||||
</a-statistic>
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
title="质量通过率"
|
||||
:value="metrics ? (metrics.success_rate * 100).toFixed(1) : '0.0'"
|
||||
suffix="%"
|
||||
:value-style="{ color: '#52c41a' }"
|
||||
:value-style="{ color: '#10b981' }"
|
||||
>
|
||||
<template #prefix><SafetyCertificateOutlined /></template>
|
||||
</a-statistic>
|
||||
|
|
@ -183,7 +183,7 @@ function riskLabel(level: string): string {
|
|||
|
||||
.overview-card__footer {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.overview-sections {
|
||||
|
|
@ -195,8 +195,8 @@ function riskLabel(level: string): string {
|
|||
}
|
||||
|
||||
.overview-section {
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
|
|
@ -235,7 +235,7 @@ function riskLabel(level: string): string {
|
|||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px solid #f5f5f5;
|
||||
border-bottom: 1px solid var(--bg-tertiary);
|
||||
}
|
||||
|
||||
.experience-item:last-child {
|
||||
|
|
@ -250,11 +250,11 @@ function riskLabel(level: string): string {
|
|||
}
|
||||
|
||||
.experience-item__dot--success {
|
||||
background: #52c41a;
|
||||
background: var(--color-success);
|
||||
}
|
||||
|
||||
.experience-item__dot--failure {
|
||||
background: #ff4d4f;
|
||||
background: var(--color-error);
|
||||
}
|
||||
|
||||
.experience-item__info {
|
||||
|
|
@ -274,7 +274,7 @@ function riskLabel(level: string): string {
|
|||
|
||||
.experience-item__meta {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.pitfall-item {
|
||||
|
|
@ -282,7 +282,7 @@ function riskLabel(level: string): string {
|
|||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px solid #f5f5f5;
|
||||
border-bottom: 1px solid var(--bg-tertiary);
|
||||
}
|
||||
|
||||
.pitfall-item:last-child {
|
||||
|
|
@ -297,7 +297,7 @@ function riskLabel(level: string): string {
|
|||
|
||||
.pitfall-item__rate {
|
||||
font-size: 12px;
|
||||
color: #ff4d4f;
|
||||
color: var(--color-error);
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ function onExperienceFilter(outcome: string) {
|
|||
<style scoped>
|
||||
.experience-panel {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ function formatTime(isoStr: string): string {
|
|||
top: 0;
|
||||
bottom: 0;
|
||||
width: 2px;
|
||||
background: #e8e8e8;
|
||||
background: var(--border-color);
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
|
|
@ -153,21 +153,21 @@ function formatTime(isoStr: string): string {
|
|||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #fff;
|
||||
border: 2px solid var(--bg-primary);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.timeline-dot--success {
|
||||
background: #52c41a;
|
||||
background: var(--color-success);
|
||||
}
|
||||
|
||||
.timeline-dot--failure {
|
||||
background: #ff4d4f;
|
||||
background: var(--color-error);
|
||||
}
|
||||
|
||||
.timeline-card {
|
||||
background: #fafafa;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 6px;
|
||||
padding: 10px 12px;
|
||||
cursor: pointer;
|
||||
|
|
@ -199,17 +199,17 @@ function formatTime(isoStr: string): string {
|
|||
gap: 12px;
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.timeline-card__type {
|
||||
color: #1890ff;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.timeline-card__detail {
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-top: 1px solid var(--border-color-split);
|
||||
}
|
||||
|
||||
.detail-section {
|
||||
|
|
@ -219,13 +219,13 @@ function formatTime(isoStr: string): string {
|
|||
.detail-label {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #595959;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.detail-text {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ function formatTime(isoStr: string): string {
|
|||
margin: 0;
|
||||
padding-left: 16px;
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -18,19 +18,19 @@
|
|||
<div class="summary-row">
|
||||
<div class="summary-card">
|
||||
<div class="summary-label">成功率</div>
|
||||
<div class="summary-value" style="color: #52c41a">
|
||||
<div class="summary-value" style="color: #10b981">
|
||||
{{ metrics ? (metrics.success_rate * 100).toFixed(1) + '%' : '-' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="summary-card">
|
||||
<div class="summary-label">平均耗时</div>
|
||||
<div class="summary-value" style="color: #1890ff">
|
||||
<div class="summary-value" style="color: #7c3aed">
|
||||
{{ metrics ? formatDuration(metrics.avg_duration) : '-' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="summary-card">
|
||||
<div class="summary-label">重试率</div>
|
||||
<div class="summary-value" style="color: #fa8c16">
|
||||
<div class="summary-value" style="color: #f59e0b">
|
||||
{{ metrics ? (metrics.retry_rate * 100).toFixed(1) + '%' : '-' }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -129,7 +129,7 @@ function updateChart() {
|
|||
type: 'line',
|
||||
data: props.trends.map(t => +(t.success_rate * 100).toFixed(1)),
|
||||
smooth: true,
|
||||
itemStyle: { color: '#52c41a' },
|
||||
itemStyle: { color: '#10b981' },
|
||||
symbol: 'circle',
|
||||
symbolSize: 6,
|
||||
},
|
||||
|
|
@ -138,7 +138,7 @@ function updateChart() {
|
|||
type: 'line',
|
||||
data: props.trends.map(t => +(t.retry_rate * 100).toFixed(1)),
|
||||
smooth: true,
|
||||
itemStyle: { color: '#fa8c16' },
|
||||
itemStyle: { color: '#f59e0b' },
|
||||
symbol: 'circle',
|
||||
symbolSize: 6,
|
||||
},
|
||||
|
|
@ -148,7 +148,7 @@ function updateChart() {
|
|||
yAxisIndex: 1,
|
||||
data: props.trends.map(t => +(t.avg_duration).toFixed(0)),
|
||||
smooth: true,
|
||||
itemStyle: { color: '#1890ff' },
|
||||
itemStyle: { color: '#7c3aed' },
|
||||
lineStyle: { type: 'dashed' },
|
||||
symbol: 'circle',
|
||||
symbolSize: 6,
|
||||
|
|
@ -220,7 +220,7 @@ watch(() => [props.trends, props.period], updateChart, { deep: true })
|
|||
|
||||
.summary-card {
|
||||
flex: 1;
|
||||
background: #fafafa;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
text-align: center;
|
||||
|
|
@ -228,7 +228,7 @@ watch(() => [props.trends, props.period], updateChart, { deep: true })
|
|||
|
||||
.summary-label {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ function onPeriodChange(period: string) {
|
|||
<style scoped>
|
||||
.metrics-panel {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ const store = useEvolutionStore()
|
|||
<style scoped>
|
||||
.optimization-panel {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -112,8 +112,8 @@ function formatTime(isoStr: string | null): string {
|
|||
}
|
||||
|
||||
.optimizer-item {
|
||||
background: #fafafa;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 6px;
|
||||
padding: 10px 12px;
|
||||
margin-bottom: 8px;
|
||||
|
|
@ -135,18 +135,18 @@ function formatTime(isoStr: string | null): string {
|
|||
.optimizer-item__type {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #1890ff;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.optimizer-item__time {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.optimizer-item__detail {
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-top: 1px solid var(--border-color-split);
|
||||
}
|
||||
|
||||
.path-comparison {
|
||||
|
|
@ -157,7 +157,7 @@ function formatTime(isoStr: string | null): string {
|
|||
|
||||
.path-arrow {
|
||||
font-size: 16px;
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
padding-top: 20px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
|
@ -174,7 +174,7 @@ function formatTime(isoStr: string | null): string {
|
|||
.path-label {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #595959;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -192,12 +192,12 @@ function formatTime(isoStr: string | null): string {
|
|||
}
|
||||
|
||||
.path-step--old {
|
||||
background: #fff2f0;
|
||||
color: #cf1322;
|
||||
background: var(--color-error-light);
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.path-step--new {
|
||||
background: #f6ffed;
|
||||
color: #389e0d;
|
||||
background: var(--color-success-light);
|
||||
color: var(--color-success);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -124,8 +124,8 @@ function riskLabel(level: string): string {
|
|||
}
|
||||
|
||||
.pitfall-item {
|
||||
background: #fafafa;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 6px;
|
||||
padding: 10px 12px;
|
||||
margin-bottom: 8px;
|
||||
|
|
@ -145,20 +145,20 @@ function riskLabel(level: string): string {
|
|||
|
||||
.pitfall-item__rate {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.pitfall-item__reason {
|
||||
font-size: 12px;
|
||||
color: #595959;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.5;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.pitfall-item__suggestion {
|
||||
font-size: 12px;
|
||||
color: #1890ff;
|
||||
color: var(--color-primary);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ function onPitfallCheck(taskType: string) {
|
|||
<style scoped>
|
||||
.pitfall-route-panel {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -12,25 +12,25 @@
|
|||
<div class="usage-summary">
|
||||
<div class="usage-summary__card">
|
||||
<div class="usage-summary__label">请求成功率</div>
|
||||
<div class="usage-summary__value" style="color: #52c41a">
|
||||
<div class="usage-summary__value" style="color: #10b981">
|
||||
{{ (summary.success_rate * 100).toFixed(1) }}%
|
||||
</div>
|
||||
</div>
|
||||
<div class="usage-summary__card">
|
||||
<div class="usage-summary__label">平均响应延迟</div>
|
||||
<div class="usage-summary__value" style="color: #1890ff">
|
||||
<div class="usage-summary__value" style="color: #7c3aed">
|
||||
{{ summary.avg_latency_ms.toFixed(0) }} ms
|
||||
</div>
|
||||
</div>
|
||||
<div class="usage-summary__card">
|
||||
<div class="usage-summary__label">总 Token 数</div>
|
||||
<div class="usage-summary__value" style="color: #722ed1">
|
||||
<div class="usage-summary__value" style="color: #7c3aed">
|
||||
{{ formatNumber(summary.total_tokens) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="usage-summary__card">
|
||||
<div class="usage-summary__label">总请求数</div>
|
||||
<div class="usage-summary__value" style="color: #fa8c16">
|
||||
<div class="usage-summary__value" style="color: #f59e0b">
|
||||
{{ formatNumber(summary.total_requests) }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -72,7 +72,7 @@ const PROVIDER_COLORS: Record<string, string> = {
|
|||
azure: '#0078d4',
|
||||
deepseek: '#4d6bfe',
|
||||
zhipu: '#3b5cff',
|
||||
default: '#8c8c8c',
|
||||
default: '#737373',
|
||||
}
|
||||
|
||||
async function loadUsage() {
|
||||
|
|
@ -203,8 +203,8 @@ watch(usageData, updateChart, { deep: true })
|
|||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
|
@ -232,7 +232,7 @@ watch(usageData, updateChart, { deep: true })
|
|||
}
|
||||
|
||||
.usage-summary__card {
|
||||
background: #fafafa;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 6px;
|
||||
padding: 10px 12px;
|
||||
text-align: center;
|
||||
|
|
@ -240,7 +240,7 @@ watch(usageData, updateChart, { deep: true })
|
|||
|
||||
.usage-summary__label {
|
||||
font-size: 12px;
|
||||
color: #8c8c8c;
|
||||
color: var(--text-tertiary);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -120,8 +120,8 @@ onMounted(() => {
|
|||
}
|
||||
|
||||
.search-result-item {
|
||||
background: #fafafa;
|
||||
border: 1px solid #f0f0f0;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color-split);
|
||||
border-radius: 6px;
|
||||
padding: 12px 16px;
|
||||
margin-bottom: 12px;
|
||||
|
|
@ -136,19 +136,19 @@ onMounted(() => {
|
|||
|
||||
.search-result-item__index {
|
||||
font-weight: 600;
|
||||
color: #1677ff;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.search-result-item__score {
|
||||
margin-left: auto;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
|
||||
.search-result-item__content {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
white-space: pre-wrap;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ import SideNav from './SideNav.vue'
|
|||
.app-layout__main {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
background: #f5f5f5;
|
||||
background: var(--bg-tertiary);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -60,12 +60,12 @@ defineEmits<{
|
|||
}
|
||||
|
||||
.skill-card__icon {
|
||||
color: #1677ff;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.skill-card__desc {
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.5;
|
||||
display: -webkit-box;
|
||||
|
|
@ -90,12 +90,12 @@ defineEmits<{
|
|||
|
||||
.skill-card__deps-label {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
|
||||
.skill-card__more {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
|
||||
.skill-card__footer {
|
||||
|
|
@ -106,6 +106,6 @@ defineEmits<{
|
|||
|
||||
.skill-card__version {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -103,12 +103,12 @@ async function handleHealthCheck(): Promise<void> {
|
|||
}
|
||||
|
||||
.skill-detail__empty {
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.skill-detail__config {
|
||||
background: #f5f5f5;
|
||||
background: var(--bg-tertiary);
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
overflow-x: auto;
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ const isPaused = computed(() => {
|
|||
|
||||
<style scoped>
|
||||
.approval-node {
|
||||
background: #fff;
|
||||
border: 2px solid #722ed1;
|
||||
background: var(--bg-primary);
|
||||
border: 2px solid var(--color-primary);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
min-width: 160px;
|
||||
|
|
@ -59,32 +59,32 @@ const isPaused = computed(() => {
|
|||
}
|
||||
|
||||
.approval-node.selected {
|
||||
border-color: #531dab;
|
||||
border-color: var(--color-primary-hover);
|
||||
box-shadow: 0 0 0 3px rgba(114, 46, 209, 0.2);
|
||||
}
|
||||
|
||||
.approval-node.paused {
|
||||
border-color: #fa8c16;
|
||||
border-color: var(--color-warning);
|
||||
animation: pulse-border 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Execution status styles */
|
||||
.approval-node.status-running {
|
||||
border-color: #1890ff;
|
||||
border-color: var(--color-info);
|
||||
box-shadow: 0 0 8px rgba(24, 144, 255, 0.5);
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.approval-node.status-completed {
|
||||
border-color: #52c41a;
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
|
||||
.approval-node.status-failed {
|
||||
border-color: #ff4d4f;
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
|
||||
.approval-node.status-waiting_approval {
|
||||
border-color: #faad14;
|
||||
border-color: var(--color-warning);
|
||||
box-shadow: 0 0 8px rgba(250, 173, 20, 0.5);
|
||||
animation: pulse-waiting 2s ease-in-out infinite;
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ const isPaused = computed(() => {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #fff;
|
||||
background: var(--bg-primary);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
|
|
@ -124,20 +124,20 @@ const isPaused = computed(() => {
|
|||
}
|
||||
|
||||
.running-icon {
|
||||
color: #1890ff;
|
||||
color: var(--color-info);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.completed-icon {
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.failed-icon {
|
||||
color: #ff4d4f;
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.waiting-icon {
|
||||
color: #faad14;
|
||||
color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
|
|
@ -153,13 +153,13 @@ const isPaused = computed(() => {
|
|||
}
|
||||
|
||||
.node-icon {
|
||||
color: #722ed1;
|
||||
color: var(--color-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.node-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
|
@ -179,15 +179,15 @@ const isPaused = computed(() => {
|
|||
.node-detail {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.detail-label {
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -43,46 +43,46 @@ defineProps<{
|
|||
}
|
||||
|
||||
.diamond-shape {
|
||||
background: #fff;
|
||||
border: 2px solid #faad14;
|
||||
background: var(--bg-primary);
|
||||
border: 2px solid var(--color-warning);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transform: none;
|
||||
transition: border-color 0.3s, box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.condition-node:hover .diamond-shape {
|
||||
box-shadow: 0 4px 12px rgba(250, 173, 20, 0.25);
|
||||
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
|
||||
}
|
||||
|
||||
.condition-node.selected .diamond-shape {
|
||||
border-color: #d48806;
|
||||
box-shadow: 0 0 0 3px rgba(250, 173, 20, 0.2);
|
||||
border-color: var(--color-warning);
|
||||
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
|
||||
}
|
||||
|
||||
/* Execution status styles */
|
||||
.condition-node.status-running .diamond-shape {
|
||||
border-color: #1890ff;
|
||||
box-shadow: 0 0 8px rgba(24, 144, 255, 0.5);
|
||||
border-color: var(--color-info);
|
||||
box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.condition-node.status-completed .diamond-shape {
|
||||
border-color: #52c41a;
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
|
||||
.condition-node.status-failed .diamond-shape {
|
||||
border-color: #ff4d4f;
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
|
||||
.condition-node.status-waiting_approval .diamond-shape {
|
||||
border-color: #faad14;
|
||||
border-color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { box-shadow: 0 0 4px rgba(24, 144, 255, 0.3); }
|
||||
50% { box-shadow: 0 0 12px rgba(24, 144, 255, 0.7); }
|
||||
0%, 100% { box-shadow: 0 0 4px rgba(59, 130, 246, 0.3); }
|
||||
50% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.7); }
|
||||
}
|
||||
|
||||
/* Status indicator icon */
|
||||
|
|
@ -96,7 +96,7 @@ defineProps<{
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #fff;
|
||||
background: var(--bg-primary);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
||||
z-index: 1;
|
||||
}
|
||||
|
|
@ -106,20 +106,20 @@ defineProps<{
|
|||
}
|
||||
|
||||
.running-icon {
|
||||
color: #1890ff;
|
||||
color: var(--color-info);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.completed-icon {
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.failed-icon {
|
||||
color: #ff4d4f;
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.waiting-icon {
|
||||
color: #faad14;
|
||||
color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
|
|
@ -134,24 +134,24 @@ defineProps<{
|
|||
}
|
||||
|
||||
.node-icon {
|
||||
color: #faad14;
|
||||
color: var(--color-warning);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.node-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.condition-expr {
|
||||
margin-top: 4px;
|
||||
padding: 2px 8px;
|
||||
background: #fffbe6;
|
||||
border: 1px solid #ffe58f;
|
||||
background: var(--color-warning-light);
|
||||
border: 1px solid var(--color-warning-light);
|
||||
border-radius: 4px;
|
||||
font-size: 11px;
|
||||
color: #8c6900;
|
||||
color: var(--color-warning);
|
||||
max-width: 180px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -159,11 +159,11 @@ defineProps<{
|
|||
}
|
||||
|
||||
.handle-true {
|
||||
background: #52c41a;
|
||||
background: var(--color-success);
|
||||
}
|
||||
|
||||
.handle-false {
|
||||
background: #ff4d4f;
|
||||
background: var(--color-error);
|
||||
}
|
||||
|
||||
.label-true {
|
||||
|
|
@ -171,7 +171,7 @@ defineProps<{
|
|||
right: -22px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -181,7 +181,7 @@ defineProps<{
|
|||
bottom: -18px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
color: #ff4d4f;
|
||||
color: var(--color-error);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ function onConnect(params: any) {
|
|||
sourceHandle: params.sourceHandle,
|
||||
targetHandle: params.targetHandle,
|
||||
animated: true,
|
||||
style: { stroke: '#1890ff', strokeWidth: 2 },
|
||||
style: { stroke: '#7c3aed', strokeWidth: 2 },
|
||||
}
|
||||
store.addEdge(newEdge)
|
||||
}
|
||||
|
|
@ -190,8 +190,8 @@ function onValidate() {
|
|||
|
||||
.canvas-toolbar {
|
||||
padding: 8px 12px;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
background: var(--bg-primary);
|
||||
border-bottom: 1px solid var(--border-color-split);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 10;
|
||||
|
|
|
|||
|
|
@ -33,28 +33,28 @@ const nodeTypes = [
|
|||
name: '技能节点',
|
||||
desc: '引用已注册的技能',
|
||||
icon: ThunderboltOutlined,
|
||||
color: '#1890ff',
|
||||
color: '#7c3aed',
|
||||
},
|
||||
{
|
||||
type: 'condition',
|
||||
name: '条件节点',
|
||||
desc: 'If/else 条件分支',
|
||||
icon: BranchesOutlined,
|
||||
color: '#faad14',
|
||||
color: '#f59e0b',
|
||||
},
|
||||
{
|
||||
type: 'approval',
|
||||
name: '审批节点',
|
||||
desc: '人工审批关卡',
|
||||
icon: UserOutlined,
|
||||
color: '#722ed1',
|
||||
color: '#7c3aed',
|
||||
},
|
||||
{
|
||||
type: 'parallel',
|
||||
name: '并行节点',
|
||||
desc: '并行执行组',
|
||||
icon: ForkOutlined,
|
||||
color: '#52c41a',
|
||||
color: '#10b981',
|
||||
},
|
||||
]
|
||||
|
||||
|
|
@ -69,8 +69,8 @@ function onDragStart(event: DragEvent, nodeType: string) {
|
|||
<style scoped>
|
||||
.node-palette {
|
||||
width: 200px;
|
||||
border-right: 1px solid #f0f0f0;
|
||||
background: #fafafa;
|
||||
border-right: 1px solid var(--border-color-split);
|
||||
background: var(--bg-secondary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
|
|
@ -81,8 +81,8 @@ function onDragStart(event: DragEvent, nodeType: string) {
|
|||
padding: 12px 16px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
color: var(--text-primary);
|
||||
border-bottom: 1px solid var(--border-color-split);
|
||||
}
|
||||
|
||||
.palette-list {
|
||||
|
|
@ -97,15 +97,15 @@ function onDragStart(event: DragEvent, nodeType: string) {
|
|||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
background: #fff;
|
||||
border: 1px solid #e8e8e8;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
cursor: grab;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.palette-item:hover {
|
||||
border-color: #1890ff;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
|
||||
}
|
||||
|
||||
|
|
@ -127,11 +127,11 @@ function onDragStart(event: DragEvent, nodeType: string) {
|
|||
.item-name {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.item-desc {
|
||||
font-size: 11px;
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -33,48 +33,48 @@ defineProps<{
|
|||
|
||||
<style scoped>
|
||||
.parallel-node {
|
||||
background: #fff;
|
||||
border: 2px solid #52c41a;
|
||||
background: var(--bg-primary);
|
||||
border: 2px solid var(--color-success);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
min-width: 160px;
|
||||
font-size: 12px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: border-color 0.3s, box-shadow 0.3s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.parallel-node:hover {
|
||||
box-shadow: 0 4px 12px rgba(82, 196, 26, 0.25);
|
||||
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
|
||||
}
|
||||
|
||||
.parallel-node.selected {
|
||||
border-color: #389e0d;
|
||||
box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.2);
|
||||
border-color: var(--color-success);
|
||||
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
|
||||
}
|
||||
|
||||
/* Execution status styles */
|
||||
.parallel-node.status-running {
|
||||
border-color: #1890ff;
|
||||
box-shadow: 0 0 8px rgba(24, 144, 255, 0.5);
|
||||
border-color: var(--color-info);
|
||||
box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.parallel-node.status-completed {
|
||||
border-color: #52c41a;
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
|
||||
.parallel-node.status-failed {
|
||||
border-color: #ff4d4f;
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
|
||||
.parallel-node.status-waiting_approval {
|
||||
border-color: #faad14;
|
||||
border-color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { box-shadow: 0 0 4px rgba(24, 144, 255, 0.3); }
|
||||
50% { box-shadow: 0 0 12px rgba(24, 144, 255, 0.7); }
|
||||
0%, 100% { box-shadow: 0 0 4px rgba(59, 130, 246, 0.3); }
|
||||
50% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.7); }
|
||||
}
|
||||
|
||||
/* Status indicator icon */
|
||||
|
|
@ -88,7 +88,7 @@ defineProps<{
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #fff;
|
||||
background: var(--bg-primary);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
|
|
@ -97,20 +97,20 @@ defineProps<{
|
|||
}
|
||||
|
||||
.running-icon {
|
||||
color: #1890ff;
|
||||
color: var(--color-info);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.completed-icon {
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.failed-icon {
|
||||
color: #ff4d4f;
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.waiting-icon {
|
||||
color: #faad14;
|
||||
color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
|
|
@ -126,13 +126,13 @@ defineProps<{
|
|||
}
|
||||
|
||||
.node-icon {
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.node-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
|
@ -145,15 +145,15 @@ defineProps<{
|
|||
.node-detail {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.detail-label {
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -177,8 +177,8 @@ function updateConfig(key: string, value: unknown) {
|
|||
<style scoped>
|
||||
.property-panel {
|
||||
width: 300px;
|
||||
border-left: 1px solid #f0f0f0;
|
||||
background: #fff;
|
||||
border-left: 1px solid var(--border-color-split);
|
||||
background: var(--bg-primary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
|
|
@ -190,13 +190,13 @@ function updateConfig(key: string, value: unknown) {
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid var(--border-color-split);
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
|
|
|
|||
|
|
@ -37,48 +37,48 @@ defineProps<{
|
|||
|
||||
<style scoped>
|
||||
.skill-node {
|
||||
background: #fff;
|
||||
border: 2px solid #1890ff;
|
||||
background: var(--bg-primary);
|
||||
border: 2px solid var(--color-primary);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
min-width: 160px;
|
||||
font-size: 12px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: border-color 0.3s, box-shadow 0.3s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.skill-node:hover {
|
||||
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.25);
|
||||
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
|
||||
}
|
||||
|
||||
.skill-node.selected {
|
||||
border-color: #096dd9;
|
||||
box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.2);
|
||||
border-color: var(--color-primary-hover);
|
||||
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
|
||||
}
|
||||
|
||||
/* Execution status styles */
|
||||
.skill-node.status-running {
|
||||
border-color: #1890ff;
|
||||
box-shadow: 0 0 8px rgba(24, 144, 255, 0.5);
|
||||
border-color: var(--color-info);
|
||||
box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.skill-node.status-completed {
|
||||
border-color: #52c41a;
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
|
||||
.skill-node.status-failed {
|
||||
border-color: #ff4d4f;
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
|
||||
.skill-node.status-waiting_approval {
|
||||
border-color: #faad14;
|
||||
border-color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { box-shadow: 0 0 4px rgba(24, 144, 255, 0.3); }
|
||||
50% { box-shadow: 0 0 12px rgba(24, 144, 255, 0.7); }
|
||||
0%, 100% { box-shadow: 0 0 4px rgba(59, 130, 246, 0.3); }
|
||||
50% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.7); }
|
||||
}
|
||||
|
||||
/* Status indicator icon */
|
||||
|
|
@ -92,7 +92,7 @@ defineProps<{
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #fff;
|
||||
background: var(--bg-primary);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
|
|
@ -101,20 +101,20 @@ defineProps<{
|
|||
}
|
||||
|
||||
.running-icon {
|
||||
color: #1890ff;
|
||||
color: var(--color-info);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.completed-icon {
|
||||
color: #52c41a;
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.failed-icon {
|
||||
color: #ff4d4f;
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.waiting-icon {
|
||||
color: #faad14;
|
||||
color: var(--color-warning);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
|
|
@ -130,13 +130,13 @@ defineProps<{
|
|||
}
|
||||
|
||||
.node-icon {
|
||||
color: #1890ff;
|
||||
color: var(--color-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.node-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
|
@ -149,15 +149,15 @@ defineProps<{
|
|||
.node-detail {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.detail-label {
|
||||
color: #999;
|
||||
color: var(--text-placeholder);
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
color: #666;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
.side-nav[data-v-ffaa5764]{height:100vh;overflow-y:auto;display:flex;flex-direction:column}.side-nav[data-v-ffaa5764] .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.side-nav__logo[data-v-ffaa5764]{height:64px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(255,255,255,.1)}.side-nav__title[data-v-ffaa5764]{color:#fff;font-size:18px;font-weight:600;margin:0;white-space:nowrap}.side-nav__footer[data-v-ffaa5764]{margin-top:auto;padding:16px 24px;border-top:1px solid rgba(255,255,255,.1)}.side-nav__footer[data-v-ffaa5764] .ant-badge-status-text{color:#ffffffa6;font-size:12px}.app-layout[data-v-1f8febf9]{height:100vh;width:100vw}.app-layout__main[data-v-1f8febf9]{flex:1;overflow:hidden;background:var(--bg-tertiary)}
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{c as i,I as u}from"./index-Ci55MVrK.js";var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};function a(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable}))),n.forEach(function(c){p(r,c,e[c])})}return r}function p(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var o=function(t,e){var n=a({},t,e.attrs);return i(u,a({},n,{icon:l}),null)};o.displayName="AppstoreOutlined";o.inheritAttrs=!1;export{o as A};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{d as q,r as f,A as V,_ as o,N as W,c as h,E as F,P as I}from"./index-Ci55MVrK.js";import{i as M}from"./_plugin-vue_export-helper-CBXJ7-XR.js";var R=function(t,l){var c={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&l.indexOf(n)<0&&(c[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a<n.length;a++)l.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(c[n[a]]=t[n[a]]);return c};const T={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:I.any,required:Boolean},H=q({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:M(T,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup(t,l){let{attrs:c,emit:n,expose:a}=l;const d=f(t.checked===void 0?t.defaultChecked:t.checked),s=f();V(()=>t.checked,()=>{d.value=t.checked}),a({focus(){var e;(e=s.value)===null||e===void 0||e.focus()},blur(){var e;(e=s.value)===null||e===void 0||e.blur()}});const i=f(),y=e=>{if(t.disabled)return;t.checked===void 0&&(d.value=e.target.checked),e.shiftKey=i.value;const u={target:o(o({},t),{checked:e.target.checked}),stopPropagation(){e.stopPropagation()},preventDefault(){e.preventDefault()},nativeEvent:e};t.checked!==void 0&&(s.value.checked=!!t.checked),n("change",u),i.value=!1},k=e=>{n("click",e),i.value=e.shiftKey};return()=>{const{prefixCls:e,name:u,id:g,type:m,disabled:b,readonly:x,tabindex:C,autofocus:O,value:P,required:S}=t,_=R(t,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:j,onFocus:B,onBlur:N,onKeydown:K,onKeypress:w,onKeyup:A}=c,v=o(o({},_),c),D=Object.keys(v).reduce((p,r)=>((r.startsWith("data-")||r.startsWith("aria-")||r==="role")&&(p[r]=v[r]),p),{}),E=W(e,j,{[`${e}-checked`]:d.value,[`${e}-disabled`]:b}),$=o(o({name:u,id:g,type:m,readonly:x,disabled:b,tabindex:C,class:`${e}-input`,checked:!!d.value,autofocus:O,value:P},D),{onChange:y,onClick:k,onFocus:B,onBlur:N,onKeydown:K,onKeypress:w,onKeyup:A,required:S});return h("span",{class:E},[h("input",F({ref:s},$),null),h("span",{class:`${e}-inner`},null)])}}});export{H as V};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
.placeholder-view[data-v-baa4efd2]{display:flex;align-items:center;justify-content:center;height:100%}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{c as i,I as u}from"./index-Ci55MVrK.js";var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"};function c(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){s(r,a,e[a])})}return r}function s(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var o=function(t,e){var n=c({},t,e.attrs);return i(u,c({},n,{icon:l}),null)};o.displayName="DesktopOutlined";o.inheritAttrs=!1;export{o as D};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{u}from"./responsiveObserve-CDxZiPRN.js";import{B as s,$ as i,G as c,H as f,c as p,I as v}from"./index-Ci55MVrK.js";const h=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});function g(){const e=c({});let t=null;const r=u();return s(()=>{t=r.value.subscribe(n=>{e.value=n})}),i(()=>{r.value.unsubscribe(t)}),e}function H(e){const t=c();return f(()=>{t.value=e()},{flush:"sync"}),t}var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};function a(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){O(e,o,r[o])})}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(t,r){var n=a({},t,r.attrs);return p(v,a({},n,{icon:d}),null)};l.displayName="FolderOpenOutlined";l.inheritAttrs=!1;export{l as F,H as e,h as o,g as u};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{_ as I,Q as p,x as i,d as c,ao as C,A as f,g as F,r as x,y as a}from"./index-Ci55MVrK.js";import{e as y}from"./index-Dr_Qcbdk.js";function w(n,o){const e=I({},n);for(let t=0;t<o.length;t+=1){const l=o[t];delete e[l]}return e}const r=Symbol("ContextProps"),s=Symbol("InternalContextProps"),S=function(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F(()=>!0);const e=x(new Map),t=(m,v)=>{e.value.set(m,v),e.value=new Map(e.value)},l=m=>{e.value.delete(m),e.value=new Map(e.value)};f([o,e],()=>{}),a(r,n),a(s,{addFormItemField:t,removeFormItemField:l})},d={id:F(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},u={addFormItemField:()=>{},removeFormItemField:()=>{}},b=()=>{const n=i(s,u),o=Symbol("FormItemFieldKey"),e=C();return n.addFormItemField(o,e.type),p(()=>{n.removeFormItemField(o)}),a(s,u),a(r,d),i(r,d)},K=c({compatConfig:{MODE:3},name:"AFormItemRest",setup(n,o){let{slots:e}=o;return a(s,u),a(r,d),()=>{var t;return(t=e.default)===null||t===void 0?void 0:t.call(e)}}}),g=y({}),M=c({name:"NoFormStatus",setup(n,o){let{slots:e}=o;return g.useProvide({}),()=>{var t;return(t=e.default)===null||t===void 0?void 0:t.call(e)}}});export{g as F,M as N,S as a,K as b,w as o,b as u};
|
||||
|
|
@ -0,0 +1 @@
|
|||
.document-upload[data-v-55410552]{padding:8px 0}.upload-spin[data-v-55410552]{display:block;text-align:center;padding:16px}.document-list[data-v-55410552]{margin-top:16px}.source-config[data-v-752313e6]{padding:8px 0}.source-config__header[data-v-752313e6]{margin-bottom:16px;display:flex;justify-content:flex-end}.search-test[data-v-bfaf0801]{padding:8px 0}.advanced-options[data-v-bfaf0801]{margin-top:12px}.advanced-form[data-v-bfaf0801]{flex-wrap:wrap;gap:8px}.search-results[data-v-bfaf0801]{margin-top:16px}.search-result-item[data-v-bfaf0801]{background:var(--bg-secondary);border:1px solid var(--border-color-split);border-radius:6px;padding:12px 16px;margin-bottom:12px}.search-result-item__header[data-v-bfaf0801]{display:flex;align-items:center;gap:8px;margin-bottom:8px}.search-result-item__index[data-v-bfaf0801]{font-weight:600;color:var(--color-primary)}.search-result-item__score[data-v-bfaf0801]{margin-left:auto;font-size:12px;color:var(--text-placeholder)}.search-result-item__content[data-v-bfaf0801]{font-size:14px;line-height:1.6;color:var(--text-primary);white-space:pre-wrap;max-height:200px;overflow-y:auto}.search-result-item__meta[data-v-bfaf0801]{margin-top:8px;display:flex;flex-wrap:wrap;gap:4px}.kb-view[data-v-e4e6375c]{height:100%;padding:var(--space-4) var(--space-6);overflow-y:auto;background:var(--bg-primary)}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{c,I as u}from"./index-Ci55MVrK.js";var s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};function i(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){O(r,a,e[a])})}return r}function O(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var f=function(t,e){var n=i({},t,e.attrs);return c(u,i({},n,{icon:s}),null)};f.displayName="RightOutlined";f.inheritAttrs=!1;var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};function l(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){p(r,a,e[a])})}return r}function p(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var o=function(t,e){var n=l({},t,e.attrs);return c(u,l({},n,{icon:g}),null)};o.displayName="LeftOutlined";o.inheritAttrs=!1;export{o as L,f as R};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{c as l,I as c}from"./index-Ci55MVrK.js";var p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z"}}]},name:"apartment",theme:"outlined"};function i(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){v(r,a,e[a])})}return r}function v(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var f=function(t,e){var n=i({},t,e.attrs);return l(c,i({},n,{icon:p}),null)};f.displayName="ApartmentOutlined";f.inheritAttrs=!1;var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"};function u(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){g(r,a,e[a])})}return r}function g(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var s=function(t,e){var n=u({},t,e.attrs);return l(c,u({},n,{icon:O}),null)};s.displayName="BookOutlined";s.inheritAttrs=!1;var b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};function o(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){d(r,a,e[a])})}return r}function d(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var m=function(t,e){var n=o({},t,e.attrs);return l(c,o({},n,{icon:b}),null)};m.displayName="SettingOutlined";m.inheritAttrs=!1;export{f as A,s as B,m as S};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
.settings-view[data-v-69defdaa]{height:100%;padding:var(--space-4) var(--space-6);overflow-y:auto;background:var(--bg-primary)}.settings-tabs[data-v-69defdaa]{height:100%}.settings-form[data-v-69defdaa]{max-width:600px}.settings-form__hint[data-v-69defdaa]{margin-left:var(--space-2);color:var(--text-tertiary);font-size:var(--font-sm)}.settings-view__alert[data-v-69defdaa]{margin-top:var(--space-3);max-width:600px}
|
||||
|
|
@ -0,0 +1 @@
|
|||
.skill-card[data-v-f7a7f9c2]{cursor:pointer}.skill-card__title[data-v-f7a7f9c2]{display:flex;align-items:center;gap:6px}.skill-card__icon[data-v-f7a7f9c2]{color:var(--color-primary)}.skill-card__desc[data-v-f7a7f9c2]{font-size:13px;color:var(--text-secondary);margin-bottom:8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.skill-card__tags[data-v-f7a7f9c2]{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}.skill-card__deps[data-v-f7a7f9c2]{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.skill-card__deps-label[data-v-f7a7f9c2],.skill-card__more[data-v-f7a7f9c2]{font-size:12px;color:var(--text-placeholder)}.skill-card__footer[data-v-f7a7f9c2]{margin-top:8px;display:flex;justify-content:flex-end}.skill-card__version[data-v-f7a7f9c2]{font-size:12px;color:var(--text-placeholder)}.skill-detail__tags[data-v-3ddcc970]{display:flex;flex-wrap:wrap;gap:6px}.skill-detail__empty[data-v-3ddcc970]{color:var(--text-placeholder);font-size:13px}.skill-detail__config[data-v-3ddcc970]{background:var(--bg-tertiary);border-radius:6px;padding:12px;overflow-x:auto}.skill-detail__config pre[data-v-3ddcc970]{margin:0;font-size:12px;line-height:1.5}.skill-detail__actions[data-v-3ddcc970]{margin-top:24px;display:flex;gap:12px}.skills-view[data-v-50d34770]{height:100%;padding:var(--space-4) var(--space-6);overflow-y:auto;background:var(--bg-primary)}.skills-view__header[data-v-50d34770]{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-4)}.skills-view__grid[data-v-50d34770]{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--space-4)}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
.terminal-emulator[data-v-364ffc0a]{display:flex;flex-direction:column;height:100%;background:var(--code-bg);border-radius:var(--radius-md);overflow:hidden;font-family:SF Mono,Fira Code,Cascadia Code,Menlo,Consolas,monospace}.terminal-emulator__output[data-v-364ffc0a]{flex:1;overflow-y:auto;padding:var(--space-3);font-size:var(--font-sm);line-height:var(--leading-normal);color:var(--code-fg)}.terminal-emulator__welcome[data-v-364ffc0a]{color:var(--code-comment);font-style:italic}.terminal-emulator__input[data-v-364ffc0a]{display:flex;align-items:center;padding:var(--space-2) var(--space-3);border-top:1px solid rgba(255,255,255,.1);background:#0003}.terminal-emulator__prompt[data-v-364ffc0a]{color:var(--code-string);margin-right:var(--space-2);font-size:var(--font-sm);white-space:nowrap}.terminal-emulator__input-field[data-v-364ffc0a]{flex:1;background:transparent;border:none;outline:none;color:var(--code-fg);font-family:inherit;font-size:var(--font-sm)}.terminal-emulator__input-field[data-v-364ffc0a]::placeholder{color:var(--code-comment)}.terminal-line[data-v-364ffc0a]{white-space:pre-wrap;word-break:break-all}.terminal-line[data-v-364ffc0a] .ansi-green{color:var(--code-string)}.terminal-line[data-v-364ffc0a] .ansi-yellow{color:var(--code-number)}.terminal-line[data-v-364ffc0a] .ansi-red{color:var(--code-variable)}.terminal-line[data-v-364ffc0a] .ansi-cyan,.terminal-line[data-v-364ffc0a] .ansi-blue{color:var(--code-function)}.terminal-line[data-v-364ffc0a] .ansi-magenta{color:var(--code-keyword)}.command-history[data-v-d8bc7055]{display:flex;flex-direction:column;height:100%;background:var(--bg-primary)}.command-history__header[data-v-d8bc7055]{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3) var(--space-4);font-weight:var(--font-weight-semibold);font-size:var(--font-base);border-bottom:1px solid var(--border-color)}.command-history__list[data-v-d8bc7055]{flex:1;overflow-y:auto;padding:var(--space-2)}.command-history__item[data-v-d8bc7055]{padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);cursor:pointer;margin-bottom:var(--space-1);transition:background var(--transition-fast)}.command-history__item[data-v-d8bc7055]:hover{background:var(--color-primary-light)}.command-history__item-header[data-v-d8bc7055]{display:flex;align-items:center;gap:var(--space-1)}.command-history__exit-code[data-v-d8bc7055]{font-size:var(--font-xs);font-weight:var(--font-weight-semibold)}.command-history__exit-code--success[data-v-d8bc7055]{color:var(--color-success)}.command-history__exit-code--error[data-v-d8bc7055]{color:var(--color-error)}.command-history__command[data-v-d8bc7055]{font-family:SF Mono,Fira Code,Cascadia Code,Menlo,Consolas,monospace;font-size:var(--font-xs);color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-history__item-meta[data-v-d8bc7055]{display:flex;gap:var(--space-2);margin-top:2px;font-size:11px;color:var(--text-placeholder)}.command-history__duration[data-v-d8bc7055]{color:var(--color-primary)}.command-history__empty[data-v-d8bc7055]{text-align:center;padding:var(--space-6);color:var(--text-placeholder);font-size:var(--font-sm)}.terminal-view[data-v-e0e2611b]{display:flex;height:100%;overflow:hidden}.terminal-view__main[data-v-e0e2611b]{flex:1;overflow:hidden;padding:var(--space-2);position:relative}.terminal-view__sidebar[data-v-e0e2611b]{display:flex;border-left:1px solid var(--border-color);background:var(--bg-primary);transition:width var(--transition-normal);overflow:hidden}.terminal-view__sidebar--collapsed[data-v-e0e2611b]{width:32px}.terminal-view__sidebar[data-v-e0e2611b]:not(.terminal-view__sidebar--collapsed){width:240px}.terminal-view__sidebar-toggle[data-v-e0e2611b]{display:flex;align-items:center;justify-content:center;width:32px;height:100%;border:none;background:transparent;color:var(--text-tertiary);cursor:pointer;flex-shrink:0;transition:all var(--transition-fast)}.terminal-view__sidebar-toggle[data-v-e0e2611b]:hover{color:var(--text-primary);background:var(--bg-tertiary)}.terminal-view__sidebar-content[data-v-e0e2611b]{flex:1;overflow:hidden;min-width:0}.terminal-view__modal-command[data-v-e0e2611b]{font-family:SF Mono,Fira Code,Cascadia Code,Menlo,Consolas,monospace;font-size:var(--font-sm);color:var(--text-primary);background:var(--bg-tertiary);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);margin-bottom:var(--space-3);word-break:break-all}.terminal-view__modal-reason[data-v-e0e2611b]{font-size:var(--font-sm);color:var(--text-secondary);margin-bottom:var(--space-3)}
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{c as u,I as i}from"./index-Ci55MVrK.js";var s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"};function c(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),n.forEach(function(a){d(r,a,t[a])})}return r}function d(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var o=function(e,t){var n=c({},e,t.attrs);return u(i,c({},n,{icon:s}),null)};o.displayName="ThunderboltOutlined";o.inheritAttrs=!1;var b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};function l(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),n.forEach(function(a){O(r,a,t[a])})}return r}function O(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var f=function(e,t){var n=l({},e,t.attrs);return u(i,l({},n,{icon:b}),null)};f.displayName="UserOutlined";f.inheritAttrs=!1;export{o as T,f as U};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{p as y,q as S,_ as d,s as w,aF as B,d as T,R as k,z as A,N,c as f,E as P,aH as _,r as z,g as D,aP as $,F as I,a6 as C}from"./index-Ci55MVrK.js";import{g as W,P as E,A as H,t as R,a as M}from"./base-B4siOKZE.js";import{o as j}from"./FormItemContext-D_7H_KA_.js";import{i as F}from"./zoom-C2fVs05p.js";import{i as L}from"./_plugin-vue_export-helper-CBXJ7-XR.js";const O=t=>{const{componentCls:o,popoverBg:r,popoverColor:e,width:a,fontWeightStrong:s,popoverPadding:l,boxShadowSecondary:c,colorTextHeading:g,borderRadiusLG:u,zIndexPopup:p,marginXS:m,colorBgElevated:n}=t;return[{[o]:d(d({},w(t)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:p,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":n,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:r,backgroundClip:"padding-box",borderRadius:u,boxShadow:c,padding:l},[`${o}-title`]:{minWidth:a,marginBottom:m,color:g,fontWeight:s},[`${o}-inner-content`]:{color:e}})},W(t,{colorBg:"var(--antd-arrow-background-color)"}),{[`${o}-pure`]:{position:"relative",maxWidth:"none",[`${o}-content`]:{display:"inline-block"}}}]},q=t=>{const{componentCls:o}=t;return{[o]:E.map(r=>{const e=t[`${r}-6`];return{[`&${o}-${r}`]:{"--antd-arrow-background-color":e,[`${o}-inner`]:{backgroundColor:e},[`${o}-arrow`]:{background:"transparent"}}}})}},G=t=>{const{componentCls:o,lineWidth:r,lineType:e,colorSplit:a,paddingSM:s,controlHeight:l,fontSize:c,lineHeight:g,padding:u}=t,p=l-Math.round(c*g),m=p/2,n=p/2-r,i=u;return{[o]:{[`${o}-inner`]:{padding:0},[`${o}-title`]:{margin:0,padding:`${m}px ${i}px ${n}px`,borderBottom:`${r}px ${e} ${a}`},[`${o}-inner-content`]:{padding:`${s}px ${i}px`}}}},V=y("Popover",t=>{const{colorBgElevated:o,colorText:r,wireframe:e}=t,a=S(t,{popoverBg:o,popoverColor:r,popoverPadding:12});return[O(a),q(a),e&&G(a),F(a,"zoom-big")]},t=>{let{zIndexPopupBase:o}=t;return{zIndexPopup:o+30,width:177}}),X=()=>d(d({},M()),{content:C(),title:C()}),Z=T({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:L(X(),d(d({},R()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(t,o){let{expose:r,slots:e,attrs:a}=o;const s=z();k(t.visible===void 0),r({getPopupDomNode:()=>{var n,i;return(i=(n=s.value)===null||n===void 0?void 0:n.getPopupDomNode)===null||i===void 0?void 0:i.call(n)}});const{prefixCls:l,configProvider:c}=A("popover",t),[g,u]=V(l),p=D(()=>c.getPrefixCls()),m=()=>{var n,i;const{title:v=$((n=e.title)===null||n===void 0?void 0:n.call(e)),content:h=$((i=e.content)===null||i===void 0?void 0:i.call(e))}=t,x=!!(Array.isArray(v)?v.length:v),b=!!(Array.isArray(h)?h.length:v);return!x&&!b?null:f(I,null,[x&&f("div",{class:`${l.value}-title`},[v]),f("div",{class:`${l.value}-inner-content`},[h])])};return()=>{const n=N(t.overlayClassName,u.value);return g(f(H,P(P(P({},j(t,["title","content"])),a),{},{prefixCls:l.value,ref:s,overlayClassName:n,transitionName:_(p.value,"zoom-big",t.transitionName),"data-popover-inject":!0}),{title:m,default:e.default}))}}}),oo=B(Z);export{oo as P};
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
import{p as J,q as K,_ as B,s as Q,aF as U,d as Y,z as oo,bm as eo,bn as no,bo as lo,aa as to,ab as io,ac as ao,bf as so,ad as ro,N as co,c as s,Z as uo,aD as go,aN as po,m as mo,v as fo,E as R,aE as vo,G as w,g as $o,P as v,af as yo}from"./index-Ci55MVrK.js";import{c as ho}from"./zoom-C2fVs05p.js";const _=(o,e,n,i,a)=>({backgroundColor:o,border:`${i.lineWidth}px ${i.lineType} ${e}`,[`${a}-icon`]:{color:n}}),Co=o=>{const{componentCls:e,motionDurationSlow:n,marginXS:i,marginSM:a,fontSize:u,fontSizeLG:r,lineHeight:g,borderRadiusLG:$,motionEaseInOutCirc:c,alertIconSizeLG:d,colorText:m,paddingContentVerticalSM:f,alertPaddingHorizontal:y,paddingMD:C,paddingContentHorizontalLG:S}=o;return{[e]:B(B({},Q(o)),{position:"relative",display:"flex",alignItems:"center",padding:`${f}px ${y}px`,wordWrap:"break-word",borderRadius:$,[`&${e}-rtl`]:{direction:"rtl"},[`${e}-content`]:{flex:1,minWidth:0},[`${e}-icon`]:{marginInlineEnd:i,lineHeight:0},"&-description":{display:"none",fontSize:u,lineHeight:g},"&-message":{color:m},[`&${e}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c},
|
||||
padding-top ${n} ${c}, padding-bottom ${n} ${c},
|
||||
margin-bottom ${n} ${c}`},[`&${e}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${e}-with-description`]:{alignItems:"flex-start",paddingInline:S,paddingBlock:C,[`${e}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${e}-message`]:{display:"block",marginBottom:i,color:m,fontSize:r},[`${e}-description`]:{display:"block"}},[`${e}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},So=o=>{const{componentCls:e,colorSuccess:n,colorSuccessBorder:i,colorSuccessBg:a,colorWarning:u,colorWarningBorder:r,colorWarningBg:g,colorError:$,colorErrorBorder:c,colorErrorBg:d,colorInfo:m,colorInfoBorder:f,colorInfoBg:y}=o;return{[e]:{"&-success":_(a,i,n,o,e),"&-info":_(y,f,m,o,e),"&-warning":_(g,r,u,o,e),"&-error":B(B({},_(d,c,$,o,e)),{[`${e}-description > pre`]:{margin:0,padding:0}})}}},bo=o=>{const{componentCls:e,iconCls:n,motionDurationMid:i,marginXS:a,fontSizeIcon:u,colorIcon:r,colorIconHover:g}=o;return{[e]:{"&-action":{marginInlineStart:a},[`${e}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:u,lineHeight:`${u}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:r,transition:`color ${i}`,"&:hover":{color:g}}},"&-close-text":{color:r,transition:`color ${i}`,"&:hover":{color:g}}}}},xo=o=>[Co(o),So(o),bo(o)],Io=J("Alert",o=>{const{fontSizeHeading3:e}=o,n=K(o,{alertIconSizeLG:e,alertPaddingHorizontal:12});return[xo(n)]}),wo={success:ro,info:so,error:ao,warning:io},_o={success:to,info:lo,error:no,warning:eo},Bo=yo("success","info","warning","error"),Ho=()=>({type:v.oneOf(Bo),closable:{type:Boolean,default:void 0},closeText:v.any,message:v.any,description:v.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:v.any,closeIcon:v.any,onClose:Function}),To=Y({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:Ho(),setup(o,e){let{slots:n,emit:i,attrs:a,expose:u}=e;const{prefixCls:r,direction:g}=oo("alert",o),[$,c]=Io(r),d=w(!1),m=w(!1),f=w(),y=t=>{t.preventDefault();const p=f.value;p.style.height=`${p.offsetHeight}px`,p.style.height=`${p.offsetHeight}px`,d.value=!0,i("close",t)},C=()=>{var t;d.value=!1,m.value=!0,(t=o.afterClose)===null||t===void 0||t.call(o)},S=$o(()=>{const{type:t}=o;return t!==void 0?t:o.banner?"warning":"info"});u({animationEnd:C});const V=w({});return()=>{var t,p,H,T,E,z,A,O,F,L;const{banner:P,closeIcon:G=(t=n.closeIcon)===null||t===void 0?void 0:t.call(n)}=o;let{closable:D,showIcon:h}=o;const M=(p=o.closeText)!==null&&p!==void 0?p:(H=n.closeText)===null||H===void 0?void 0:H.call(n),b=(T=o.description)!==null&&T!==void 0?T:(E=n.description)===null||E===void 0?void 0:E.call(n),N=(z=o.message)!==null&&z!==void 0?z:(A=n.message)===null||A===void 0?void 0:A.call(n),x=(O=o.icon)!==null&&O!==void 0?O:(F=n.icon)===null||F===void 0?void 0:F.call(n),W=(L=n.action)===null||L===void 0?void 0:L.call(n);h=P&&h===void 0?!0:h;const j=(b?_o:wo)[S.value]||null;M&&(D=!0);const l=r.value,k=co(l,{[`${l}-${S.value}`]:!0,[`${l}-closing`]:d.value,[`${l}-with-description`]:!!b,[`${l}-no-icon`]:!h,[`${l}-banner`]:!!P,[`${l}-closable`]:D,[`${l}-rtl`]:g.value==="rtl",[c.value]:!0}),X=D?s("button",{type:"button",onClick:y,class:`${l}-close-icon`,tabindex:0},[M?s("span",{class:`${l}-close-text`},[M]):G===void 0?s(uo,null,null):G]):null,q=x&&(go(x)?ho(x,{class:`${l}-icon`}):s("span",{class:`${l}-icon`},[x]))||s(j,{class:`${l}-icon`},null),Z=po(`${l}-motion`,{appear:!1,css:!0,onAfterLeave:C,onBeforeLeave:I=>{I.style.maxHeight=`${I.offsetHeight}px`},onLeave:I=>{I.style.maxHeight="0px"}});return $(m.value?null:s(vo,Z,{default:()=>[mo(s("div",R(R({role:"alert"},a),{},{style:[a.style,V.value],class:[a.class,k],"data-show":!d.value,ref:f}),[h?q:null,s("div",{class:`${l}-content`},[N?s("div",{class:`${l}-message`},[N]):null,b?s("div",{class:`${l}-description`},[b]):null]),W?s("div",{class:`${l}-action`},[W]):null,X]),[[fo,!d.value]])]}))}}}),Ao=U(To);export{Ao as _};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{d as k,z as L,A as M,aP as W,c as m,_ as p,F as q,E as F,r as G,g as s,a4 as H,P as I,af as P,N as J}from"./index-Ci55MVrK.js";import{u as K}from"./index-Cec7QIaL.js";import{a as Q,C as z}from"./index-Dr_Qcbdk.js";const U={small:8,middle:16,large:24},X=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:I.oneOf(P("horizontal","vertical")).def("horizontal"),align:I.oneOf(P("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?U[e]:e||0}const d=k({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:X(),slots:Object,setup(e,j){let{slots:o,attrs:f}=j;const{prefixCls:l,space:g,direction:x}=L("space",e),[B,E]=Q(l),h=K(),n=s(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=g==null?void 0:g.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),y=G(),r=G();M(n,()=>{[y.value,r.value]=(Array.isArray(n.value)?n.value:[n.value,n.value]).map(a=>Y(a))},{immediate:!0});const C=s(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),D=s(()=>J(l.value,E.value,`${l.value}-${e.direction}`,{[`${l.value}-rtl`]:x.value==="rtl",[`${l.value}-align-${C.value}`]:C.value})),R=s(()=>x.value==="rtl"?"marginLeft":"marginRight"),T=s(()=>{const a={};return h.value&&(a.columnGap=`${y.value}px`,a.rowGap=`${r.value}px`),p(p({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-r.value}px`})});return()=>{var a,t;const{wrap:i,direction:V="horizontal"}=e,b=(a=o.default)===null||a===void 0?void 0:a.call(o),_=W(b),w=_.length;if(w===0)return null;const c=(t=o.split)===null||t===void 0?void 0:t.call(o),A=`${l.value}-item`,N=y.value,S=w-1;return m("div",F(F({},f),{},{class:[D.value,f.class],style:[T.value,f.style]}),[_.map((O,u)=>{let $=b.indexOf(O);$===-1&&($=`$$space-${u}`);let v={};return h.value||(V==="vertical"?u<S&&(v={marginBottom:`${N/(c?2:1)}px`}):v=p(p({},u<S&&{[R.value]:`${N/(c?2:1)}px`}),i&&{paddingBottom:`${r.value}px`})),B(m(q,{key:$},[m("div",{class:A,style:v},[O]),u<S&&c&&m("span",{class:`${A}-split`,style:v},[c])]))})])}}});d.Compact=z;d.install=function(e){return e.component(d.name,d),e.component(z.name,z),e};export{d as S};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{p as b,q as w,_ as s,s as z,aF as y,d as C,z as M,J as B,c as u,E as f,g as d}from"./index-Ci55MVrK.js";const I=t=>{const{componentCls:e,sizePaddingEdgeHorizontal:o,colorSplit:r,lineWidth:i}=t;return{[e]:s(s({},z(t)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${t.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${t.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${e}-with-text`]:{display:"flex",alignItems:"center",margin:`${t.dividerHorizontalWithTextGutterMargin}px 0`,color:t.colorTextHeading,fontWeight:500,fontSize:t.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${e}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${e}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${e}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${e}-with-text${e}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${e}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${e}-with-text`]:{color:t.colorText,fontWeight:"normal",fontSize:t.fontSize},[`&-horizontal${e}-with-text-left${e}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${e}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${e}-with-text-right${e}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${e}-inner-text`]:{paddingInlineEnd:o}}})}},_=b("Divider",t=>{const e=w(t,{dividerVerticalGutterMargin:t.marginXS,dividerHorizontalWithTextGutterMargin:t.margin,dividerHorizontalGutterMargin:t.marginLG});return[I(e)]},{sizePaddingEdgeHorizontal:0}),E=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),G=C({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:E(),setup(t,e){let{slots:o,attrs:r}=e;const{prefixCls:i,direction:m}=M("divider",t),[v,h]=_(i),g=d(()=>t.orientation==="left"&&t.orientationMargin!=null),c=d(()=>t.orientation==="right"&&t.orientationMargin!=null),$=d(()=>{const{type:n,dashed:l,plain:S}=t,a=i.value;return{[a]:!0,[h.value]:!!h.value,[`${a}-${n}`]:!0,[`${a}-dashed`]:!!l,[`${a}-plain`]:!!S,[`${a}-rtl`]:m.value==="rtl",[`${a}-no-default-orientation-margin-left`]:g.value,[`${a}-no-default-orientation-margin-right`]:c.value}}),p=d(()=>{const n=typeof t.orientationMargin=="number"?`${t.orientationMargin}px`:t.orientationMargin;return s(s({},g.value&&{marginLeft:n}),c.value&&{marginRight:n})}),x=d(()=>t.orientation.length>0?"-"+t.orientation:t.orientation);return()=>{var n;const l=B((n=o.default)===null||n===void 0?void 0:n.call(o));return v(u("div",f(f({},r),{},{class:[$.value,l.length?`${i.value}-with-text ${i.value}-with-text${x.value}`:"",r.class],role:"separator"}),[l.length?u("span",{class:`${i.value}-inner-text`,style:p.value},[l]):null]))}}}),W=y(G);export{W as _};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{p as L,q as R,_ as P,s as O,bl as j,d as z,z as F,c as d,E as b,g as m,N as H,H as X,F as U,Z as q,P as B,aW as G,G as V}from"./index-Ci55MVrK.js";import{W as Z}from"./index-Dr_Qcbdk.js";import{e as J,i as K,h as Q}from"./base-B4siOKZE.js";const h=(o,t,l)=>{const r=j(l);return{[`${o.componentCls}-${t}`]:{color:o[`color${l}`],background:o[`color${r}Bg`],borderColor:o[`color${r}Border`],[`&${o.componentCls}-borderless`]:{borderColor:"transparent"}}}},Y=o=>J(o,(t,l)=>{let{textColor:r,lightBorderColor:a,lightColor:e,darkColor:c}=l;return{[`${o.componentCls}-${t}`]:{color:r,background:e,borderColor:a,"&-inverse":{color:o.colorTextLightSolid,background:c,borderColor:c},[`&${o.componentCls}-borderless`]:{borderColor:"transparent"}}}}),oo=o=>{const{paddingXXS:t,lineWidth:l,tagPaddingHorizontal:r,componentCls:a}=o,e=r-l,c=t-l;return{[a]:P(P({},O(o)),{display:"inline-block",height:"auto",marginInlineEnd:o.marginXS,paddingInline:e,fontSize:o.tagFontSize,lineHeight:`${o.tagLineHeight}px`,whiteSpace:"nowrap",background:o.tagDefaultBg,border:`${o.lineWidth}px ${o.lineType} ${o.colorBorder}`,borderRadius:o.borderRadiusSM,opacity:1,transition:`all ${o.motionDurationMid}`,textAlign:"start",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:o.tagDefaultColor},[`${a}-close-icon`]:{marginInlineStart:c,color:o.colorTextDescription,fontSize:o.tagIconSize,cursor:"pointer",transition:`all ${o.motionDurationMid}`,"&:hover":{color:o.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${o.iconCls}-close, ${o.iconCls}-close:hover`]:{color:o.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:o.colorPrimary,backgroundColor:o.colorFillSecondary},"&:active, &-checked":{color:o.colorTextLightSolid},"&-checked":{backgroundColor:o.colorPrimary,"&:hover":{backgroundColor:o.colorPrimaryHover}},"&:active":{backgroundColor:o.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${o.iconCls} + span, > span + ${o.iconCls}`]:{marginInlineStart:e}}),[`${a}-borderless`]:{borderColor:"transparent",background:o.tagBorderlessBg}}},D=L("Tag",o=>{const{fontSize:t,lineHeight:l,lineWidth:r,fontSizeIcon:a}=o,e=Math.round(t*l),c=o.fontSizeSM,g=e-r*2,C=o.colorFillAlter,i=o.colorText,n=R(o,{tagFontSize:c,tagLineHeight:g,tagDefaultBg:C,tagDefaultColor:i,tagIconSize:a-2*r,tagPaddingHorizontal:8,tagBorderlessBg:o.colorFillTertiary});return[oo(n),Y(n),h(n,"success","Success"),h(n,"processing","Info"),h(n,"error","Error"),h(n,"warning","Warning")]}),eo=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),S=z({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:eo(),setup(o,t){let{slots:l,emit:r,attrs:a}=t;const{prefixCls:e}=F("tag",o),[c,g]=D(e),C=n=>{const{checked:u}=o;r("update:checked",!u),r("change",!u),r("click",n)},i=m(()=>H(e.value,g.value,{[`${e.value}-checkable`]:!0,[`${e.value}-checkable-checked`]:o.checked}));return()=>{var n;return c(d("span",b(b({},a),{},{class:[i.value,a.class],onClick:C}),[(n=l.default)===null||n===void 0?void 0:n.call(l)]))}}}),lo=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:B.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:G(),"onUpdate:visible":Function,icon:B.any,bordered:{type:Boolean,default:!0}}),v=z({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:lo(),slots:Object,setup(o,t){let{slots:l,emit:r,attrs:a}=t;const{prefixCls:e,direction:c}=F("tag",o),[g,C]=D(e),i=V(!0);X(()=>{o.visible!==void 0&&(i.value=o.visible)});const n=s=>{s.stopPropagation(),r("update:visible",!1),r("close",s),!s.defaultPrevented&&o.visible===void 0&&(i.value=!1)},u=m(()=>K(o.color)||Q(o.color)),M=m(()=>H(e.value,C.value,{[`${e.value}-${o.color}`]:u.value,[`${e.value}-has-color`]:o.color&&!u.value,[`${e.value}-hidden`]:!i.value,[`${e.value}-rtl`]:c.value==="rtl",[`${e.value}-borderless`]:!o.bordered})),W=s=>{r("click",s)};return()=>{var s,p,f;const{icon:w=(s=l.icon)===null||s===void 0?void 0:s.call(l),color:$,closeIcon:y=(p=l.closeIcon)===null||p===void 0?void 0:p.call(l),closable:A=!1}=o,N=()=>A?y?d("span",{class:`${e.value}-close-icon`,onClick:n},[y]):d(q,{class:`${e.value}-close-icon`,onClick:n},null):null,_={backgroundColor:$&&!u.value?$:void 0},T=w||null,I=(f=l.default)===null||f===void 0?void 0:f.call(l),k=T?d(U,null,[T,d("span",null,[I])]):I,E=o.onClick!==void 0,x=d("span",b(b({},a),{},{onClick:W,class:[M.value,a.class],style:[_,a.style]}),[k,N()]);return g(E?d(Z,null,{default:()=>[x]}):x)}}});v.CheckableTag=S;v.install=function(o){return o.component(v.name,v),o.component(S.name,S),o};export{v as T};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,18 @@
|
|||
import{_ as i}from"./index-Ci55MVrK.js";const l=`accept acceptcharset accesskey action allowfullscreen allowtransparency
|
||||
alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
|
||||
charset checked classid classname colspan cols content contenteditable contextmenu
|
||||
controls coords crossorigin data datetime default defer dir disabled download draggable
|
||||
enctype form formaction formenctype formmethod formnovalidate formtarget frameborder
|
||||
headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity
|
||||
is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media
|
||||
mediagroup method min minlength multiple muted name novalidate nonce open
|
||||
optimum pattern placeholder poster preload radiogroup readonly rel required
|
||||
reversed role rowspan rows sandbox scope scoped scrolling seamless selected
|
||||
shape size sizes span spellcheck src srcdoc srclang srcset start step style
|
||||
summary tabindex target title type usemap value width wmode wrap`,c=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
|
||||
onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
|
||||
onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
|
||||
onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
|
||||
onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
|
||||
onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
|
||||
onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,r=`${l} ${c}`.split(/[\s\n]+/),d="aria-",u="data-";function s(a,n){return a.indexOf(n)===0}function m(a){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o;n===!1?o={aria:!0,data:!0,attr:!0}:n===!0?o={aria:!0}:o=i({},n);const t={};return Object.keys(a).forEach(e=>{(o.aria&&(e==="role"||s(e,d))||o.data&&s(e,u)||o.attr&&(r.includes(e)||r.includes(e.toLowerCase())))&&(t[e]=a[e])}),t}export{m as p};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{bt as m,g as o,_ as l}from"./index-Ci55MVrK.js";const b=["xxxl","xxl","xl","lg","md","sm","xs"],u=r=>({xs:`(max-width: ${r.screenXSMax}px)`,sm:`(min-width: ${r.screenSM}px)`,md:`(min-width: ${r.screenMD}px)`,lg:`(min-width: ${r.screenLG}px)`,xl:`(min-width: ${r.screenXL}px)`,xxl:`(min-width: ${r.screenXXL}px)`,xxxl:`{min-width: ${r.screenXXXL}px}`});function v(){const[,r]=m();return o(()=>{const n=u(r.value),t=new Map;let a=-1,c={};return{matchHandlers:{},dispatch(e){return c=e,t.forEach(i=>i(c)),t.size>=1},subscribe(e){return t.size||this.register(),a+=1,t.set(a,e),e(c),a},unsubscribe(e){t.delete(e),t.size||this.unregister()},unregister(){Object.keys(n).forEach(e=>{const i=n[e],s=this.matchHandlers[i];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),t.clear()},register(){Object.keys(n).forEach(e=>{const i=n[e],s=h=>{let{matches:x}=h;this.dispatch(l(l({},c),{[e]:x}))},d=window.matchMedia(i);d.addListener(s),this.matchHandlers[i]={mql:d,listener:s},s(d)})},responsiveMap:n}})}export{b as r,v as u};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{b6 as d}from"./index-Ci55MVrK.js";const i=()=>d()&&window.document.documentElement,c=e=>{if(d()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(r=>r in n.style)}return!1},u=(e,t)=>{if(!c(e))return!1;const n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function s(e,t){return!Array.isArray(e)&&t!==void 0?u(e,t):c(e)}let o;const p=()=>{if(!i())return!1;if(o!==void 0)return o;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),o=e.scrollHeight===1,document.body.removeChild(e),o};export{i as c,p as d,s as i};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
import{aP as B,b8 as U,_ as c,R as Z,b3 as _,bE as W,F as x,bg as H,H as V,b6 as g,bF as G,bG as $,g as R,d as j,P as Q,a9 as Y,B as q,A as X,C as k,Q as J,c as ee,bH as te,a4 as ne,G as p,aL as s}from"./index-Ci55MVrK.js";import{w as z}from"./_plugin-vue_export-helper-CBXJ7-XR.js";let T=!1;try{const e=Object.defineProperty({},"passive",{get(){T=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Se(e,n,o,t){if(e&&e.addEventListener){let r=t;r===void 0&&T&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(r={passive:!1}),e.addEventListener(n,o,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(n,o)}}}function oe(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=e;if(Array.isArray(e)&&(r=B(e)[0]),!r)return null;const a=U(r,n,t);return a.props=o?c(c({},a.props),n):a.props,Z(typeof a.props.class!="object"),a}function Le(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(t=>oe(t,n,o))}function $e(e,n,o){H(U(e,c({},n)),o)}const D=e=>(e||[]).some(n=>_(n)?!(n.type===W||n.type===x&&!D(n.children)):!0)?e:null;function ze(e,n,o,t){var r;const a=(r=e[n])===null||r===void 0?void 0:r.call(e,o);return D(a)?a:t==null?void 0:t()}let b;function M(e){if(typeof document>"u")return 0;if(b===void 0){const n=document.createElement("div");n.style.width="100%",n.style.height="200px";const o=document.createElement("div"),t=o.style;t.position="absolute",t.top="0",t.left="0",t.pointerEvents="none",t.visibility="hidden",t.width="200px",t.height="150px",t.overflow="hidden",o.appendChild(n),document.body.appendChild(o);const r=n.offsetWidth;o.style.overflow="scroll";let a=n.offsetWidth;r===a&&(a=o.clientWidth),document.body.removeChild(o),b=r-a}return b}function N(e){const n=e.match(/^(.*)px$/),o=Number(n==null?void 0:n[1]);return Number.isNaN(o)?M():o}function Ne(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};const{width:n,height:o}=getComputedStyle(e,"::-webkit-scrollbar");return{width:N(n),height:N(o)}}const ae=`vc-util-locker-${Date.now()}`;let P=0;function re(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function ie(e){const n=R(()=>!!e&&!!e.value);P+=1;const o=`${ae}_${P}`;V(t=>{if(g()){if(n.value){const r=M(),a=re();G(`
|
||||
html body {
|
||||
overflow-y: hidden;
|
||||
${a?`width: calc(100% - ${r}px);`:""}
|
||||
}`,o)}else $(o);t(()=>{$(o)})}},{flush:"post"})}let m=0;const v=g(),F=e=>{if(!v)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},Pe=j({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:Q.any,visible:{type:Boolean,default:void 0},autoLock:ne(),didUpdate:Function},setup(e,n){let{slots:o}=n;const t=p(),r=p(),a=p(),E=p(1),y=g()&&document.createElement("div"),C=()=>{var i,l;t.value===y&&((l=(i=t.value)===null||i===void 0?void 0:i.parentNode)===null||l===void 0||l.removeChild(t.value)),t.value=null};let f=null;const h=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||t.value&&!t.value.parentNode?(f=F(e.getContainer),f?(f.appendChild(t.value),!0):!1):!0},S=()=>v?(t.value||(t.value=y,h(!0)),L(),t.value):null,L=()=>{const{wrapperClassName:i}=e;t.value&&i&&i!==t.value.className&&(t.value.className=i)};return Y(()=>{L(),h()}),ie(R(()=>e.autoLock&&e.visible&&g()&&(t.value===document.body||t.value===y))),q(()=>{let i=!1;X([()=>e.visible,()=>e.getContainer],(l,d)=>{let[w,u]=l,[A,O]=d;v&&(f=F(e.getContainer),f===document.body&&(w&&!A?m+=1:i&&(m-=1))),i&&(typeof u=="function"&&typeof O=="function"?u.toString()!==O.toString():u!==O)&&C(),i=!0},{immediate:!0,flush:"post"}),k(()=>{h()||(a.value=z(()=>{E.value+=1}))})}),J(()=>{const{visible:i}=e;v&&f===document.body&&(m=i&&m?m-1:m),C(),z.cancel(a.value)}),()=>{const{forceRender:i,visible:l}=e;let d=null;const w={getOpenCount:()=>m,getContainer:S};return E.value&&(i||l||r.value)&&(d=ee(te,{getContainer:S,ref:r,didUpdate:e.didUpdate},{default:()=>{var u;return(u=o.default)===null||u===void 0?void 0:u.call(o,w)}})),d}}}),Fe={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,N:78,P:80,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,SEMICOLON:186,EQUALS:187,WIN_KEY:224},se=e=>({animationDuration:e,animationFillMode:"both"}),le=e=>({animationDuration:e,animationFillMode:"both"}),ue=function(e,n,o,t){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
|
||||
${a}${e}-enter,
|
||||
${a}${e}-appear
|
||||
`]:c(c({},se(t)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:c(c({},le(t)),{animationPlayState:"paused"}),[`
|
||||
${a}${e}-enter${e}-enter-active,
|
||||
${a}${e}-appear${e}-appear-active
|
||||
`]:{animationName:n,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}},me=new s("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),ce=new s("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),I=new s("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),K=new s("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),fe=new s("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),de=new s("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),pe=new s("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),ve=new s("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),ge=new s("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),ye=new s("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),he=new s("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),we=new s("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Oe={zoom:{inKeyframes:me,outKeyframes:ce},"zoom-big":{inKeyframes:I,outKeyframes:K},"zoom-big-fast":{inKeyframes:I,outKeyframes:K},"zoom-left":{inKeyframes:pe,outKeyframes:ve},"zoom-right":{inKeyframes:ge,outKeyframes:ye},"zoom-up":{inKeyframes:fe,outKeyframes:de},"zoom-down":{inKeyframes:he,outKeyframes:we}},Ie=(e,n)=>{const{antCls:o}=e,t=`${o}-${n}`,{inKeyframes:r,outKeyframes:a}=Oe[n];return[ue(t,r,a,n==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
||||
${t}-enter,
|
||||
${t}-appear
|
||||
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${t}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};export{Fe as K,Pe as P,Le as a,ze as b,oe as c,Se as d,Ne as e,ue as f,M as g,Ie as i,T as s,$e as t,me as z};
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Fischer AgentKit</title>
|
||||
<script type="module" crossorigin src="/assets/index-C33ddnd0.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-Ci55MVrK.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-vR_mL1Yy.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue