vue-agent-start 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +30 -0
- package/pnpm-workspace.yaml +3 -0
- package/src/agent-flow/adapter/backend.ts +99 -0
- package/src/agent-flow/components/ChatIframePanel.vue +773 -0
- package/src/agent-flow/components/DatasetItemCard.vue +313 -0
- package/src/agent-flow/components/MemoryWindow.vue +104 -0
- package/src/agent-flow/components/PromptEditor.vue +804 -0
- package/src/agent-flow/components/PromptEditorTagPanel.vue +460 -0
- package/src/agent-flow/components/SvgIcon.vue +32 -0
- package/src/agent-flow/components/ToolItemCard.vue +169 -0
- package/src/agent-flow/components/VariableCard.vue +161 -0
- package/src/agent-flow/components/VariableSelector.vue +162 -0
- package/src/agent-flow/components/chat-iframe-types.ts +35 -0
- package/src/agent-flow/components/stubs/DatasetChooser.vue +70 -0
- package/src/agent-flow/components/stubs/Embedding.vue +22 -0
- package/src/agent-flow/components/stubs/ModelSelect.vue +24 -0
- package/src/agent-flow/components/stubs/RestfulSelectCard.vue +24 -0
- package/src/agent-flow/components/stubs/ToolChooser.vue +96 -0
- package/src/agent-flow/components/stubs/TriggersItemCard.vue +126 -0
- package/src/agent-flow/components/stubs/VariableModal.vue +115 -0
- package/src/agent-flow/index.ts +73 -0
- package/src/agent-flow/stores/workflow.ts +72 -0
- package/src/agent-flow/utils/langUtils.ts +173 -0
- package/src/agent-flow/workflow/Ability.vue +65 -0
- package/src/agent-flow/workflow/AuthorizationItem.vue +101 -0
- package/src/agent-flow/workflow/ConversationVar.vue +42 -0
- package/src/agent-flow/workflow/CustomEdge.vue +94 -0
- package/src/agent-flow/workflow/EnvironmentVar.vue +40 -0
- package/src/agent-flow/workflow/FlowDesigner.vue +2802 -0
- package/src/agent-flow/workflow/Icon.vue +179 -0
- package/src/agent-flow/workflow/NodeConfig.vue +509 -0
- package/src/agent-flow/workflow/NodeConfigCard.vue +460 -0
- package/src/agent-flow/workflow/NodeHandle.vue +147 -0
- package/src/agent-flow/workflow/NodeHeaderToolbar.vue +77 -0
- package/src/agent-flow/workflow/NodeHoverToolbar.vue +176 -0
- package/src/agent-flow/workflow/OutputItemCard.vue +668 -0
- package/src/agent-flow/workflow/ParamTableItem.vue +200 -0
- package/src/agent-flow/workflow/StructTable.vue +202 -0
- package/src/agent-flow/workflow/VarInsertField.vue +517 -0
- package/src/agent-flow/workflow/VarSelectField.vue +223 -0
- package/src/agent-flow/workflow/VariableSelectorItem.vue +48 -0
- package/src/agent-flow/workflow/WfField.vue +206 -0
- package/src/agent-flow/workflow/_config-base.css +470 -0
- package/src/agent-flow/workflow/composables/useNode.js +55 -0
- package/src/agent-flow/workflow/index.vue +53 -0
- package/src/agent-flow/workflow/nodeCard/AgentNodeCard.vue +180 -0
- package/src/agent-flow/workflow/nodeCard/AnswerNodeCard.vue +65 -0
- package/src/agent-flow/workflow/nodeCard/ClassifierCard.vue +152 -0
- package/src/agent-flow/workflow/nodeCard/CodeNodeCard.vue +139 -0
- package/src/agent-flow/workflow/nodeCard/ConditionNodeCard.vue +323 -0
- package/src/agent-flow/workflow/nodeCard/DocumentExtractorCard.vue +83 -0
- package/src/agent-flow/workflow/nodeCard/EndNodeCard.vue +123 -0
- package/src/agent-flow/workflow/nodeCard/HttpNodeCard.vue +451 -0
- package/src/agent-flow/workflow/nodeCard/HumanInputCard.vue +152 -0
- package/src/agent-flow/workflow/nodeCard/IterationCard.vue +66 -0
- package/src/agent-flow/workflow/nodeCard/KnowledgeRetrievalCard.vue +48 -0
- package/src/agent-flow/workflow/nodeCard/LLMNodeCard.vue +206 -0
- package/src/agent-flow/workflow/nodeCard/ListOperatorCard.vue +188 -0
- package/src/agent-flow/workflow/nodeCard/ParameterExtractorCard.vue +352 -0
- package/src/agent-flow/workflow/nodeCard/ServiceApiNodeCard.vue +188 -0
- package/src/agent-flow/workflow/nodeCard/StartNodeCard.vue +216 -0
- package/src/agent-flow/workflow/nodeCard/VariableAssignerCard.vue +125 -0
- package/src/agent-flow/workflow/nodeCard/VariableNodeCard.vue +121 -0
- package/src/agent-flow/workflow/nodes/AgentNode.vue +122 -0
- package/src/agent-flow/workflow/nodes/AnswerNode.vue +99 -0
- package/src/agent-flow/workflow/nodes/ClassifierNode.vue +199 -0
- package/src/agent-flow/workflow/nodes/CodeNode.vue +152 -0
- package/src/agent-flow/workflow/nodes/ConditionNode.vue +232 -0
- package/src/agent-flow/workflow/nodes/DocumentExtractorNode.vue +96 -0
- package/src/agent-flow/workflow/nodes/EndNode.vue +119 -0
- package/src/agent-flow/workflow/nodes/FileUploadNode.vue +97 -0
- package/src/agent-flow/workflow/nodes/HttpNode.vue +204 -0
- package/src/agent-flow/workflow/nodes/HumanInputNode.vue +110 -0
- package/src/agent-flow/workflow/nodes/IterationNode.vue +98 -0
- package/src/agent-flow/workflow/nodes/KnowledgeRetrievalNode.vue +253 -0
- package/src/agent-flow/workflow/nodes/LLMNode.vue +134 -0
- package/src/agent-flow/workflow/nodes/ListOperatorNode.vue +111 -0
- package/src/agent-flow/workflow/nodes/LoopNode.vue +94 -0
- package/src/agent-flow/workflow/nodes/ParameterExtractorNode.vue +147 -0
- package/src/agent-flow/workflow/nodes/ServiceApiNode.vue +161 -0
- package/src/agent-flow/workflow/nodes/StartNode.vue +199 -0
- package/src/agent-flow/workflow/nodes/TemplateNode.vue +103 -0
- package/src/agent-flow/workflow/nodes/UserInputNode.vue +92 -0
- package/src/agent-flow/workflow/nodes/VariableAssignerNode.vue +145 -0
- package/src/agent-flow/workflow/nodes/VariableNode.vue +130 -0
- package/src/agent-flow/workflow/nodes/_node-base.css +338 -0
- package/src/agent-flow/workflow/utils/node_card_form.ts +335 -0
- package/src/agent-flow/workflow/utils/node_config.ts +63 -0
- package/src/agent-flow/workflow/utils/workflow_utils.ts +151 -0
- package/src/agent-studio/adapters/springAgentStart.ts +390 -0
- package/src/agent-studio/api/index.ts +1 -0
- package/src/agent-studio/api/types.ts +173 -0
- package/src/agent-studio/components/AgentApiDocs.vue +500 -0
- package/src/agent-studio/components/AgentAppsPage.vue +1601 -0
- package/src/agent-studio/components/AgentCardGrid.vue +259 -0
- package/src/agent-studio/components/AgentChatPage.vue +553 -0
- package/src/agent-studio/components/AgentDebugPanel.vue +350 -0
- package/src/agent-studio/components/AgentLogsPanel.vue +391 -0
- package/src/agent-studio/components/AgentMonitorPanel.vue +204 -0
- package/src/agent-studio/components/AgentOrchestrate.vue +505 -0
- package/src/agent-studio/components/AgentPromptEditor.vue +237 -0
- package/src/agent-studio/components/AgentStudioShell.vue +227 -0
- package/src/agent-studio/components/AgentToolsPanel.vue +394 -0
- package/src/agent-studio/components/AgentVariablesPanel.vue +205 -0
- package/src/agent-studio/components/ApiKeyManager.vue +251 -0
- package/src/agent-studio/components/AppDesignDrawer.vue +3391 -0
- package/src/agent-studio/components/CreateAppModal.vue +737 -0
- package/src/agent-studio/components/SparkChart.vue +200 -0
- package/src/agent-studio/components/VariableEditorModal.vue +499 -0
- package/src/agent-studio/composables/useAgentStudio.ts +347 -0
- package/src/agent-studio/index.ts +60 -0
- package/src/agent-studio/panels/DrawerFlowDesigner.vue +203 -0
- package/src/agent-studio/panels/LogAnnotationPanel.vue +490 -0
- package/src/agent-studio/panels/MonitorPanel.vue +535 -0
- package/src/agent-studio/types.ts +242 -0
- package/src/index.ts +155 -0
- package/src/knowledge-hub/adapters/springAgentStart.ts +472 -0
- package/src/knowledge-hub/components/AddDocumentsWizard.vue +1452 -0
- package/src/knowledge-hub/components/CreateDatasetWizard.vue +1723 -0
- package/src/knowledge-hub/components/DatasetCardGrid.vue +467 -0
- package/src/knowledge-hub/components/DatasetDetailDrawer.vue +888 -0
- package/src/knowledge-hub/components/DatasetPicker.vue +65 -0
- package/src/knowledge-hub/components/DatasetPickerModal.vue +526 -0
- package/src/knowledge-hub/components/DatasetSettingsPanel.vue +908 -0
- package/src/knowledge-hub/components/DatasetSidebar.vue +781 -0
- package/src/knowledge-hub/components/DocumentChunksView.vue +802 -0
- package/src/knowledge-hub/components/DocumentTable.vue +552 -0
- package/src/knowledge-hub/components/HitTestingPanel.vue +74 -0
- package/src/knowledge-hub/components/KnowledgeApp.vue +66 -0
- package/src/knowledge-hub/components/KnowledgeHubApp.vue +504 -0
- package/src/knowledge-hub/components/RecallTestingPanelV2.vue +515 -0
- package/src/knowledge-hub/components/RetrievalConfigPopover.vue +270 -0
- package/src/knowledge-hub/components/RetrievalMethodPicker.vue +547 -0
- package/src/knowledge-hub/components/RetrievedList.vue +24 -0
- package/src/knowledge-hub/components/internal/KhDialog.vue +195 -0
- package/src/knowledge-hub/composables/useKnowledge.ts +89 -0
- package/src/knowledge-hub/i18n/index.ts +2 -0
- package/src/knowledge-hub/i18n/messages.ts +422 -0
- package/src/knowledge-hub/i18n/useKhI18n.ts +107 -0
- package/src/knowledge-hub/index.ts +46 -0
- package/src/knowledge-hub/styles/index.css +4 -0
- package/src/knowledge-hub/styles/tokens.css +138 -0
- package/src/knowledge-hub/types/api.ts +213 -0
- package/src/knowledge-hub/types/dataset.ts +88 -0
- package/src/knowledge-hub/types/document.ts +45 -0
- package/src/knowledge-hub/types/index.ts +9 -0
- package/src/knowledge-hub/types/retrieval.ts +46 -0
- package/src/provider-hub/components/CredentialForm.vue +103 -0
- package/src/provider-hub/components/DefaultModelsPanel.vue +270 -0
- package/src/provider-hub/components/GroupedModelSelect.vue +445 -0
- package/src/provider-hub/components/ModelCardGrid.vue +332 -0
- package/src/provider-hub/components/ModelParameterDrawer.vue +739 -0
- package/src/provider-hub/components/ModelPickerPopover.vue +1282 -0
- package/src/provider-hub/components/ProviderApp.vue +159 -0
- package/src/provider-hub/components/ProviderCredentialModal.vue +321 -0
- package/src/provider-hub/components/ProviderGallery.vue +131 -0
- package/src/provider-hub/components/ProviderHubShell.vue +1992 -0
- package/src/provider-hub/components/ProviderIcon.vue +130 -0
- package/src/provider-hub/composables/useProviderHub.ts +358 -0
- package/src/provider-hub/index.ts +43 -0
- package/src/provider-hub/svg/MiniMax.svg +1 -0
- package/src/provider-hub/svg/Volcengine.svg +1 -0
- package/src/provider-hub/svg/Zhipu.svg +1 -0
- package/src/provider-hub/svg/deepseek.svg +1 -0
- package/src/provider-hub/svg/moonshot.svg +1 -0
- package/src/provider-hub/svg/openai.svg +1 -0
- package/src/provider-hub/svg/qwen.svg +1 -0
- package/src/provider-hub/svg/siliconflow.svg +1 -0
- package/src/provider-hub/types.ts +256 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* RetrievalConfigPopover — floating card that wraps a
|
|
4
|
+
* {@link RetrievalMethodPicker} for surfaces where a drawer would be too
|
|
5
|
+
* heavy (recall testing's "混合检索" button, header quick-config etc.).
|
|
6
|
+
*
|
|
7
|
+
* ┌─ trigger button ─┐ ┌───────────── popover ─────────────┐
|
|
8
|
+
* │ 混合检索 ▾ │ ───── │ 检索方法 │
|
|
9
|
+
* └──────────────────┘ │ [向量] [全文] [混合] │
|
|
10
|
+
* │ ... TopK / Score / Rerank ... │
|
|
11
|
+
* │ [取消] [保存] │
|
|
12
|
+
* └────────────────────────────────────┘
|
|
13
|
+
*
|
|
14
|
+
* Behaviours:
|
|
15
|
+
* • Anchored beneath the {@code triggerEl} by a small `getBoundingClientRect()`
|
|
16
|
+
* calc — no floating-ui dep just for one popover.
|
|
17
|
+
* • Click-outside and Escape close.
|
|
18
|
+
* • Local draft state so 取消 restores the pre-open config.
|
|
19
|
+
*/
|
|
20
|
+
import { computed, nextTick, onBeforeUnmount, ref, watch } from 'vue';
|
|
21
|
+
|
|
22
|
+
import type {
|
|
23
|
+
IndexingTechnique,
|
|
24
|
+
RetrievalConfig,
|
|
25
|
+
} from '../types/dataset';
|
|
26
|
+
import RetrievalMethodPicker from './RetrievalMethodPicker.vue';
|
|
27
|
+
|
|
28
|
+
interface Props {
|
|
29
|
+
open: boolean;
|
|
30
|
+
/** Element the popover anchors to. */
|
|
31
|
+
triggerEl?: HTMLElement | null;
|
|
32
|
+
modelValue: RetrievalConfig;
|
|
33
|
+
rerankModels?: Array<{ id: string; label: string }>;
|
|
34
|
+
indexingTechnique?: IndexingTechnique;
|
|
35
|
+
/** Popover width in px. Default: 380 (Dify parity). */
|
|
36
|
+
width?: number;
|
|
37
|
+
/** Which corner of the trigger the popover aligns to. */
|
|
38
|
+
placement?: 'bottom-end' | 'bottom-start';
|
|
39
|
+
}
|
|
40
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
41
|
+
triggerEl: null,
|
|
42
|
+
rerankModels: () => [],
|
|
43
|
+
width: 380,
|
|
44
|
+
placement: 'bottom-end',
|
|
45
|
+
});
|
|
46
|
+
const emit = defineEmits<{
|
|
47
|
+
(e: 'update:open', v: boolean): void;
|
|
48
|
+
(e: 'update:modelValue', v: RetrievalConfig): void;
|
|
49
|
+
/**
|
|
50
|
+
* Fired when the user hits "保存". Popover doesn't do the persistence
|
|
51
|
+
* itself — the parent's own PUT / state-flip handler does — this just
|
|
52
|
+
* signals "commit whatever's in modelValue".
|
|
53
|
+
*/
|
|
54
|
+
(e: 'save', v: RetrievalConfig): void;
|
|
55
|
+
}>();
|
|
56
|
+
|
|
57
|
+
/** Snapshot on open so 取消 can restore. */
|
|
58
|
+
const snapshot = ref<RetrievalConfig | null>(null);
|
|
59
|
+
/** Local draft; picker v-models this so it doesn't touch the parent's ref
|
|
60
|
+
* until 保存 is clicked. */
|
|
61
|
+
const draft = ref<RetrievalConfig>({ ...props.modelValue });
|
|
62
|
+
|
|
63
|
+
watch(
|
|
64
|
+
() => props.open,
|
|
65
|
+
(v) => {
|
|
66
|
+
if (v) {
|
|
67
|
+
snapshot.value = { ...props.modelValue };
|
|
68
|
+
draft.value = { ...props.modelValue };
|
|
69
|
+
nextTick(positionPopover);
|
|
70
|
+
document.addEventListener('mousedown', onDocMouseDown, true);
|
|
71
|
+
document.addEventListener('keydown', onKeydown);
|
|
72
|
+
} else {
|
|
73
|
+
document.removeEventListener('mousedown', onDocMouseDown, true);
|
|
74
|
+
document.removeEventListener('keydown', onKeydown);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{ immediate: true },
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
onBeforeUnmount(() => {
|
|
81
|
+
document.removeEventListener('mousedown', onDocMouseDown, true);
|
|
82
|
+
document.removeEventListener('keydown', onKeydown);
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// ---- positioning
|
|
86
|
+
const popoverRef = ref<HTMLElement | null>(null);
|
|
87
|
+
const pos = ref<{ top: number; left: number }>({ top: 0, left: 0 });
|
|
88
|
+
|
|
89
|
+
function positionPopover() {
|
|
90
|
+
if (!props.triggerEl) return;
|
|
91
|
+
const r = props.triggerEl.getBoundingClientRect();
|
|
92
|
+
const w = props.width;
|
|
93
|
+
const gap = 6;
|
|
94
|
+
const winW = window.innerWidth;
|
|
95
|
+
const winH = window.innerHeight;
|
|
96
|
+
let left =
|
|
97
|
+
props.placement === 'bottom-start' ? r.left : r.right - w;
|
|
98
|
+
// Clamp so it stays fully on-screen.
|
|
99
|
+
left = Math.max(8, Math.min(left, winW - w - 8));
|
|
100
|
+
let top = r.bottom + gap;
|
|
101
|
+
// If not enough room below, flip above.
|
|
102
|
+
if (top + 480 > winH && r.top > 480) {
|
|
103
|
+
top = r.top - gap - 480;
|
|
104
|
+
}
|
|
105
|
+
pos.value = { top, left };
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// ---- outside close
|
|
109
|
+
function onDocMouseDown(e: MouseEvent) {
|
|
110
|
+
if (!props.open) return;
|
|
111
|
+
const target = e.target as Node | null;
|
|
112
|
+
if (
|
|
113
|
+
popoverRef.value &&
|
|
114
|
+
!popoverRef.value.contains(target) &&
|
|
115
|
+
props.triggerEl &&
|
|
116
|
+
!props.triggerEl.contains(target)
|
|
117
|
+
) {
|
|
118
|
+
emit('update:open', false);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function onKeydown(e: KeyboardEvent) {
|
|
122
|
+
if (e.key === 'Escape') emit('update:open', false);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// ---- actions
|
|
126
|
+
function cancel() {
|
|
127
|
+
if (snapshot.value) draft.value = { ...snapshot.value };
|
|
128
|
+
emit('update:open', false);
|
|
129
|
+
}
|
|
130
|
+
function save() {
|
|
131
|
+
emit('update:modelValue', { ...draft.value });
|
|
132
|
+
emit('save', { ...draft.value });
|
|
133
|
+
emit('update:open', false);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const style = computed(() => ({
|
|
137
|
+
top: `${pos.value.top}px`,
|
|
138
|
+
left: `${pos.value.left}px`,
|
|
139
|
+
width: `${props.width}px`,
|
|
140
|
+
}));
|
|
141
|
+
</script>
|
|
142
|
+
|
|
143
|
+
<template>
|
|
144
|
+
<Teleport to="body" :disabled="!open">
|
|
145
|
+
<div
|
|
146
|
+
v-if="open"
|
|
147
|
+
ref="popoverRef"
|
|
148
|
+
class="rcp"
|
|
149
|
+
:style="style"
|
|
150
|
+
>
|
|
151
|
+
<div class="rcp-head">
|
|
152
|
+
<div>
|
|
153
|
+
<div class="rcp-title">检索设置</div>
|
|
154
|
+
<div class="rcp-sub">了解更多关于检索方法。</div>
|
|
155
|
+
</div>
|
|
156
|
+
<button class="rcp-close" @click="cancel" aria-label="close">×</button>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<div class="rcp-body">
|
|
160
|
+
<div class="rcp-section-label">检索方法</div>
|
|
161
|
+
<RetrievalMethodPicker
|
|
162
|
+
v-model="draft"
|
|
163
|
+
:rerank-models="rerankModels"
|
|
164
|
+
:indexing-technique="indexingTechnique"
|
|
165
|
+
variant="compact"
|
|
166
|
+
/>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<div class="rcp-actions">
|
|
170
|
+
<button class="rcp-btn rcp-btn-secondary" @click="cancel">
|
|
171
|
+
取消
|
|
172
|
+
</button>
|
|
173
|
+
<button class="rcp-btn rcp-btn-primary" @click="save">
|
|
174
|
+
保存
|
|
175
|
+
</button>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</Teleport>
|
|
179
|
+
</template>
|
|
180
|
+
|
|
181
|
+
<style scoped>
|
|
182
|
+
.rcp {
|
|
183
|
+
position: fixed;
|
|
184
|
+
z-index: 1500;
|
|
185
|
+
max-height: 84vh;
|
|
186
|
+
display: flex;
|
|
187
|
+
flex-direction: column;
|
|
188
|
+
background: #fff;
|
|
189
|
+
border: 1px solid #e2e8f0;
|
|
190
|
+
border-radius: 12px;
|
|
191
|
+
box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
|
|
192
|
+
overflow: hidden;
|
|
193
|
+
}
|
|
194
|
+
.rcp-head {
|
|
195
|
+
display: flex;
|
|
196
|
+
justify-content: space-between;
|
|
197
|
+
align-items: flex-start;
|
|
198
|
+
padding: 12px 16px;
|
|
199
|
+
border-bottom: 1px solid #f1f5f9;
|
|
200
|
+
}
|
|
201
|
+
.rcp-title {
|
|
202
|
+
font-size: 14px;
|
|
203
|
+
font-weight: 600;
|
|
204
|
+
color: #0f172a;
|
|
205
|
+
}
|
|
206
|
+
.rcp-sub {
|
|
207
|
+
margin-top: 2px;
|
|
208
|
+
font-size: 11px;
|
|
209
|
+
color: #94a3b8;
|
|
210
|
+
}
|
|
211
|
+
.rcp-close {
|
|
212
|
+
width: 24px;
|
|
213
|
+
height: 24px;
|
|
214
|
+
padding: 0;
|
|
215
|
+
border: none;
|
|
216
|
+
border-radius: 6px;
|
|
217
|
+
background: transparent;
|
|
218
|
+
color: #94a3b8;
|
|
219
|
+
font-size: 18px;
|
|
220
|
+
line-height: 1;
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
}
|
|
223
|
+
.rcp-close:hover {
|
|
224
|
+
background: #f1f5f9;
|
|
225
|
+
color: #475569;
|
|
226
|
+
}
|
|
227
|
+
.rcp-body {
|
|
228
|
+
padding: 12px 16px;
|
|
229
|
+
overflow-y: auto;
|
|
230
|
+
flex: 1;
|
|
231
|
+
}
|
|
232
|
+
.rcp-section-label {
|
|
233
|
+
margin-bottom: 8px;
|
|
234
|
+
font-size: 12px;
|
|
235
|
+
font-weight: 600;
|
|
236
|
+
color: #475569;
|
|
237
|
+
}
|
|
238
|
+
.rcp-actions {
|
|
239
|
+
display: flex;
|
|
240
|
+
justify-content: flex-end;
|
|
241
|
+
gap: 8px;
|
|
242
|
+
padding: 10px 16px;
|
|
243
|
+
border-top: 1px solid #f1f5f9;
|
|
244
|
+
background: #fafafa;
|
|
245
|
+
}
|
|
246
|
+
.rcp-btn {
|
|
247
|
+
padding: 6px 14px;
|
|
248
|
+
font-size: 12px;
|
|
249
|
+
font-weight: 500;
|
|
250
|
+
border: none;
|
|
251
|
+
border-radius: 6px;
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
transition: background 0.15s;
|
|
254
|
+
}
|
|
255
|
+
.rcp-btn-secondary {
|
|
256
|
+
background: #f1f5f9;
|
|
257
|
+
color: #475569;
|
|
258
|
+
}
|
|
259
|
+
.rcp-btn-secondary:hover {
|
|
260
|
+
background: #e2e8f0;
|
|
261
|
+
}
|
|
262
|
+
.rcp-btn-primary {
|
|
263
|
+
background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
|
|
264
|
+
color: #fff;
|
|
265
|
+
box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
|
|
266
|
+
}
|
|
267
|
+
.rcp-btn-primary:hover {
|
|
268
|
+
filter: brightness(1.05);
|
|
269
|
+
}
|
|
270
|
+
</style>
|