@robot-admin/naive-ui-components 0.4.5 → 0.5.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/CHANGELOG.md +12 -0
- package/dist/C_ActionBar-jZPsiXtT.css.map +1 -0
- package/dist/C_ActionBar.css +205 -0
- package/dist/C_AntV-D2Zp2qQF.css.map +1 -0
- package/dist/C_AntV.css +398 -0
- package/dist/C_Barcode-Do1Ozsmh.css.map +1 -0
- package/dist/C_Barcode.css +39 -0
- package/dist/C_Captcha-CZmAETly.css.map +1 -0
- package/dist/C_Captcha.css +109 -0
- package/dist/C_Cascade-Dq0S5Jkm.css.map +1 -0
- package/dist/C_Cascade.css +10 -0
- package/dist/C_City-DNKv4MpH.css.map +1 -0
- package/dist/C_City.css +132 -0
- package/dist/C_Code-avZjAnHD.css.map +1 -0
- package/dist/C_Code.css +8 -0
- package/dist/C_CollapsePanel-BpofCDyl.css.map +1 -0
- package/dist/C_CollapsePanel.css +171 -0
- package/dist/C_Cron-DqHQ92LN.css.map +1 -0
- package/dist/C_Cron.css +307 -0
- package/dist/C_Draggable-r6nhx3yM.css.map +1 -0
- package/dist/C_Draggable.css +238 -0
- package/dist/C_Editor-D0_6UhIa.css.map +1 -0
- package/dist/C_Editor.css +52 -0
- package/dist/C_FilePreview-BVarVvnD.css.map +1 -0
- package/dist/C_FilePreview.css +507 -0
- package/dist/C_Form-BciQUPpS.css.map +1 -0
- package/dist/C_Form.css +976 -0
- package/dist/C_FormSearch-Bmd2CmG6.css.map +1 -0
- package/dist/C_FormSearch.css +177 -0
- package/dist/C_FormulaEditor-3WG2vtQl.css.map +1 -0
- package/dist/C_FormulaEditor.css +502 -0
- package/dist/C_FullCalendar-1U4VlG7X.css.map +1 -0
- package/dist/C_FullCalendar.css +7 -0
- package/dist/C_GlobalSearch-B6wK3m3k.css.map +1 -0
- package/dist/C_GlobalSearch.css +616 -0
- package/dist/C_ImageCropper-D3L2-J_J.css.map +1 -0
- package/dist/C_ImageCropper.css +129 -0
- package/dist/C_Map-BCJmDnJT.css.map +1 -0
- package/dist/C_Map.css +29 -0
- package/dist/C_Markdown-7iBnLDtL.css.map +1 -0
- package/dist/C_Markdown.css +112 -0
- package/dist/C_NotificationCenter-DT6fQ79O.css.map +1 -0
- package/dist/C_NotificationCenter.css +466 -0
- package/dist/C_QRCode-DMxSyogU.css.map +1 -0
- package/dist/C_QRCode.css +51 -0
- package/dist/C_Signature-B5fFz6RD.css.map +1 -0
- package/dist/C_Signature.css +79 -0
- package/dist/C_SplitPane-DuyzUhKB.css.map +1 -0
- package/dist/C_SplitPane.css +152 -0
- package/dist/C_Steps-DGwXxS2Y.css.map +1 -0
- package/dist/C_Steps.css +171 -0
- package/dist/C_Table-Dcam_tRs.css.map +1 -0
- package/dist/C_Table.css +527 -0
- package/dist/C_Time-CKb_fwdm.css.map +1 -0
- package/dist/C_Time.css +23 -0
- package/dist/C_Tree-B-Le4hjQ.css.map +1 -0
- package/dist/C_Tree.css +142 -0
- package/dist/C_Upload-S30RmC9t.css.map +1 -0
- package/dist/C_Upload.css +251 -0
- package/dist/C_VideoPlayer-Cdgv4Zq0.css.map +1 -0
- package/dist/C_VideoPlayer.css +355 -0
- package/dist/C_VideoPlayer.d.ts +1 -1
- package/dist/C_VtableGantt-DB87-jdS.css.map +1 -0
- package/dist/C_VtableGantt.css +89 -0
- package/dist/C_WaterFall-C4HDqf-a.css.map +1 -0
- package/dist/C_WaterFall.css +73 -0
- package/dist/C_WorkFlow-Cy3HWA6A.css.map +1 -0
- package/dist/C_WorkFlow.css +1166 -0
- package/dist/chunk.js +1 -1
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.ts +3 -3
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.ts +8 -3816
- package/dist/data.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +4 -4
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.ts +1 -1
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index3.vue.d.ts +5 -5
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +4 -4
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +2 -2
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.d.cts +7 -0
- package/dist/resolver.d.ts +7 -0
- package/dist/resolver.js +1 -1
- package/dist/resolver.js.map +1 -1
- package/dist/style.css +46 -46
- package/dist/useCollapsePanel.d.ts +1 -1
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useDynamicFormState.d.ts +4 -4
- package/dist/useEdgeInteraction.d.ts +2 -7283
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useModalEdit.d.ts +4 -4
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.ts +1 -1
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.ts +3 -3
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +2 -2
- package/dist/useWorkflowValidation.d.ts +2 -2
- package/package.json +32 -32
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @robot-admin/naive-ui-components
|
|
2
|
+
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 依赖架构优化 + CSS 按需导入 + Changesets 集成
|
|
8
|
+
- 将 optionalDependencies 迁移至 dependencies,消费端自动传递安装
|
|
9
|
+
- 新增按组件 CSS 导出 (`C_*/style.css`),支持样式按需导入
|
|
10
|
+
- 修复 merge-css.js 中 esm/cjs CSS 重复合并问题
|
|
11
|
+
- Resolver 新增 `importStyle` 选项,自动注入组件样式
|
|
12
|
+
- 集成 @changesets/cli 自动化版本管理
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"C_ActionBar-jZPsiXtT.css","names":[],"sources":["../src/components/C_ActionBar/index.vue?vue&type=style&index=0&scoped=c7b6bc21&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled *//* 通用操作按钮组件样式 */\n/* ================= 主容器 ================= */\n.c-action-bar[data-v-c7b6bc21] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n margin-bottom: 16px;\n background: var(--c-bg-card);\n border-radius: var(--c-radius);\n border: 1px solid var(--c-border);\n transition: all 0.3s ease;\n}\n.c-action-bar.is-align-left[data-v-c7b6bc21] {\n justify-content: flex-start;\n}\n.c-action-bar.is-align-center[data-v-c7b6bc21] {\n justify-content: center;\n}\n.c-action-bar.is-align-right[data-v-c7b6bc21] {\n justify-content: flex-end;\n}\n.c-action-bar.is-align-space-between[data-v-c7b6bc21] {\n justify-content: space-between;\n}\n.c-action-bar.is-align-space-around[data-v-c7b6bc21] {\n justify-content: space-around;\n}\n.c-action-bar.is-compact[data-v-c7b6bc21] {\n padding: 12px;\n margin-bottom: 12px;\n}\n.c-action-bar.is-inline[data-v-c7b6bc21] {\n padding: 0;\n margin-bottom: 0;\n background: transparent;\n border: none;\n border-radius: 0;\n box-shadow: none;\n}\n.c-action-bar.is-wrap[data-v-c7b6bc21] {\n flex-wrap: wrap;\n gap: 12px;\n}\n@media (max-width: 768px) {\n.c-action-bar[data-v-c7b6bc21] {\n flex-direction: column;\n gap: 12px;\n}\n.c-action-bar .actions-group[data-v-c7b6bc21] {\n width: 100%;\n justify-content: center;\n}\n}\n\n/* ================= 按钮组 ================= */\n.actions-group[data-v-c7b6bc21] {\n display: flex;\n align-items: center;\n gap: 12px;\n flex-wrap: nowrap;\n}\n.actions-group.actions-left[data-v-c7b6bc21] {\n justify-content: flex-start;\n}\n.actions-group.actions-right[data-v-c7b6bc21] {\n justify-content: flex-end;\n}\n.c-action-bar.has-only-left.is-align-center .actions-group.actions-left[data-v-c7b6bc21], .c-action-bar.has-only-right.is-align-center .actions-group.actions-right[data-v-c7b6bc21] {\n width: 100%;\n justify-content: center;\n}\n.c-action-bar.has-only-left.is-align-space-between .actions-group.actions-left[data-v-c7b6bc21], .c-action-bar.has-only-right.is-align-space-between .actions-group.actions-right[data-v-c7b6bc21] {\n width: 100%;\n justify-content: space-between;\n}\n.c-action-bar.has-only-left.is-align-space-around .actions-group.actions-left[data-v-c7b6bc21], .c-action-bar.has-only-right.is-align-space-around .actions-group.actions-right[data-v-c7b6bc21] {\n width: 100%;\n justify-content: space-around;\n}\n.c-action-bar.has-only-left.is-align-right .actions-group.actions-left[data-v-c7b6bc21] {\n width: 100%;\n justify-content: flex-end;\n}\n.c-action-bar.has-only-right.is-align-left .actions-group.actions-right[data-v-c7b6bc21] {\n width: 100%;\n justify-content: flex-start;\n}\n.actions-group[data-v-c7b6bc21] .n-button {\n transition: all 0.3s ease;\n font-weight: 500;\n}\n.actions-group[data-v-c7b6bc21] .n-button .n-icon {\n transition: transform 0.3s ease;\n}\n.actions-group[data-v-c7b6bc21] .n-button:hover:not(:disabled) {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n}\n.actions-group[data-v-c7b6bc21] .n-button:hover:not(:disabled) .n-icon {\n transform: scale(1.1);\n}\n.actions-group[data-v-c7b6bc21] .n-button:active:not(:disabled) {\n transform: translateY(0);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n.actions-group[data-v-c7b6bc21] .n-button:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.actions-group[data-v-c7b6bc21] .n-button.n-button--loading {\n pointer-events: none;\n}\n.actions-group[data-v-c7b6bc21] .n-button--primary-type:hover:not(:disabled) {\n box-shadow: 0 4px 12px rgba(24, 160, 88, 0.3);\n}\n.actions-group[data-v-c7b6bc21] .n-button--info-type:hover:not(:disabled) {\n box-shadow: 0 4px 12px rgba(42, 148, 125, 0.3);\n}\n.actions-group[data-v-c7b6bc21] .n-button--success-type:hover:not(:disabled) {\n box-shadow: 0 4px 12px rgba(99, 226, 183, 0.3);\n}\n.actions-group[data-v-c7b6bc21] .n-button--warning-type:hover:not(:disabled) {\n box-shadow: 0 4px 12px rgba(240, 138, 0, 0.3);\n}\n.actions-group[data-v-c7b6bc21] .n-button--error-type:hover:not(:disabled) {\n box-shadow: 0 4px 12px rgba(208, 48, 80, 0.3);\n}\n\n/* ================= 中间插槽区域 ================= */\n.actions-center[data-v-c7b6bc21] {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n padding: 0 24px;\n min-width: 0;\n}\n\n/* ================= 分隔线 ================= */\n.action-divider[data-v-c7b6bc21] {\n margin: 0 8px !important;\n height: 20px;\n opacity: 0.3;\n transition: opacity 0.3s ease;\n}\n.action-divider[data-v-c7b6bc21]:hover {\n opacity: 0.6;\n}\n\n/* ================= 下拉菜单优化 ================= */\n[data-v-c7b6bc21] .n-dropdown-option {\n transition: all 0.2s ease;\n}\n[data-v-c7b6bc21] .n-dropdown-option:hover {\n transform: translateX(4px);\n}\n[data-v-c7b6bc21] .n-dropdown-option .n-icon {\n transition: transform 0.2s ease;\n}\n[data-v-c7b6bc21] .n-dropdown-option:hover .n-icon {\n transform: scale(1.15);\n}\n\n/* ================= 加载动画 ================= */\n@keyframes button-loading-c7b6bc21 {\n0% {\n opacity: 0.6;\n}\n50% {\n opacity: 1;\n}\n100% {\n opacity: 0.6;\n}\n}\n[data-v-c7b6bc21] .n-button--loading {\n animation: button-loading-c7b6bc21 1.5s ease-in-out infinite;\n}\n\n/* ================= Tooltip 样式 ================= */\n[data-v-c7b6bc21] .n-tooltip .n-tooltip__content {\n font-size: 12px;\n padding: 6px 10px;\n border-radius: 4px;\n backdrop-filter: blur(8px);\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n}\n\n/* ================= 暗黑模式适配 ================= */\nhtml.dark .c-action-bar[data-v-c7b6bc21] {\n border-color: rgba(255, 255, 255, 0.09);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);\n}\nhtml.dark .actions-group[data-v-c7b6bc21] .n-button:hover:not(:disabled) {\n box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);\n}\nhtml.dark .action-divider[data-v-c7b6bc21] {\n opacity: 0.15;\n}\nhtml.dark .action-divider[data-v-c7b6bc21]:hover {\n opacity: 0.4;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/* unplugin-vue-components disabled *//* 通用操作按钮组件样式 */
|
|
2
|
+
/* ================= 主容器 ================= */
|
|
3
|
+
.c-action-bar[data-v-c7b6bc21] {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
padding: 16px;
|
|
8
|
+
margin-bottom: 16px;
|
|
9
|
+
background: var(--c-bg-card);
|
|
10
|
+
border-radius: var(--c-radius);
|
|
11
|
+
border: 1px solid var(--c-border);
|
|
12
|
+
transition: all 0.3s ease;
|
|
13
|
+
}
|
|
14
|
+
.c-action-bar.is-align-left[data-v-c7b6bc21] {
|
|
15
|
+
justify-content: flex-start;
|
|
16
|
+
}
|
|
17
|
+
.c-action-bar.is-align-center[data-v-c7b6bc21] {
|
|
18
|
+
justify-content: center;
|
|
19
|
+
}
|
|
20
|
+
.c-action-bar.is-align-right[data-v-c7b6bc21] {
|
|
21
|
+
justify-content: flex-end;
|
|
22
|
+
}
|
|
23
|
+
.c-action-bar.is-align-space-between[data-v-c7b6bc21] {
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
}
|
|
26
|
+
.c-action-bar.is-align-space-around[data-v-c7b6bc21] {
|
|
27
|
+
justify-content: space-around;
|
|
28
|
+
}
|
|
29
|
+
.c-action-bar.is-compact[data-v-c7b6bc21] {
|
|
30
|
+
padding: 12px;
|
|
31
|
+
margin-bottom: 12px;
|
|
32
|
+
}
|
|
33
|
+
.c-action-bar.is-inline[data-v-c7b6bc21] {
|
|
34
|
+
padding: 0;
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
background: transparent;
|
|
37
|
+
border: none;
|
|
38
|
+
border-radius: 0;
|
|
39
|
+
box-shadow: none;
|
|
40
|
+
}
|
|
41
|
+
.c-action-bar.is-wrap[data-v-c7b6bc21] {
|
|
42
|
+
flex-wrap: wrap;
|
|
43
|
+
gap: 12px;
|
|
44
|
+
}
|
|
45
|
+
@media (max-width: 768px) {
|
|
46
|
+
.c-action-bar[data-v-c7b6bc21] {
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
gap: 12px;
|
|
49
|
+
}
|
|
50
|
+
.c-action-bar .actions-group[data-v-c7b6bc21] {
|
|
51
|
+
width: 100%;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* ================= 按钮组 ================= */
|
|
57
|
+
.actions-group[data-v-c7b6bc21] {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 12px;
|
|
61
|
+
flex-wrap: nowrap;
|
|
62
|
+
}
|
|
63
|
+
.actions-group.actions-left[data-v-c7b6bc21] {
|
|
64
|
+
justify-content: flex-start;
|
|
65
|
+
}
|
|
66
|
+
.actions-group.actions-right[data-v-c7b6bc21] {
|
|
67
|
+
justify-content: flex-end;
|
|
68
|
+
}
|
|
69
|
+
.c-action-bar.has-only-left.is-align-center .actions-group.actions-left[data-v-c7b6bc21], .c-action-bar.has-only-right.is-align-center .actions-group.actions-right[data-v-c7b6bc21] {
|
|
70
|
+
width: 100%;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
}
|
|
73
|
+
.c-action-bar.has-only-left.is-align-space-between .actions-group.actions-left[data-v-c7b6bc21], .c-action-bar.has-only-right.is-align-space-between .actions-group.actions-right[data-v-c7b6bc21] {
|
|
74
|
+
width: 100%;
|
|
75
|
+
justify-content: space-between;
|
|
76
|
+
}
|
|
77
|
+
.c-action-bar.has-only-left.is-align-space-around .actions-group.actions-left[data-v-c7b6bc21], .c-action-bar.has-only-right.is-align-space-around .actions-group.actions-right[data-v-c7b6bc21] {
|
|
78
|
+
width: 100%;
|
|
79
|
+
justify-content: space-around;
|
|
80
|
+
}
|
|
81
|
+
.c-action-bar.has-only-left.is-align-right .actions-group.actions-left[data-v-c7b6bc21] {
|
|
82
|
+
width: 100%;
|
|
83
|
+
justify-content: flex-end;
|
|
84
|
+
}
|
|
85
|
+
.c-action-bar.has-only-right.is-align-left .actions-group.actions-right[data-v-c7b6bc21] {
|
|
86
|
+
width: 100%;
|
|
87
|
+
justify-content: flex-start;
|
|
88
|
+
}
|
|
89
|
+
.actions-group[data-v-c7b6bc21] .n-button {
|
|
90
|
+
transition: all 0.3s ease;
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
}
|
|
93
|
+
.actions-group[data-v-c7b6bc21] .n-button .n-icon {
|
|
94
|
+
transition: transform 0.3s ease;
|
|
95
|
+
}
|
|
96
|
+
.actions-group[data-v-c7b6bc21] .n-button:hover:not(:disabled) {
|
|
97
|
+
transform: translateY(-2px);
|
|
98
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
99
|
+
}
|
|
100
|
+
.actions-group[data-v-c7b6bc21] .n-button:hover:not(:disabled) .n-icon {
|
|
101
|
+
transform: scale(1.1);
|
|
102
|
+
}
|
|
103
|
+
.actions-group[data-v-c7b6bc21] .n-button:active:not(:disabled) {
|
|
104
|
+
transform: translateY(0);
|
|
105
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
106
|
+
}
|
|
107
|
+
.actions-group[data-v-c7b6bc21] .n-button:disabled {
|
|
108
|
+
cursor: not-allowed;
|
|
109
|
+
opacity: 0.5;
|
|
110
|
+
}
|
|
111
|
+
.actions-group[data-v-c7b6bc21] .n-button.n-button--loading {
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
}
|
|
114
|
+
.actions-group[data-v-c7b6bc21] .n-button--primary-type:hover:not(:disabled) {
|
|
115
|
+
box-shadow: 0 4px 12px rgba(24, 160, 88, 0.3);
|
|
116
|
+
}
|
|
117
|
+
.actions-group[data-v-c7b6bc21] .n-button--info-type:hover:not(:disabled) {
|
|
118
|
+
box-shadow: 0 4px 12px rgba(42, 148, 125, 0.3);
|
|
119
|
+
}
|
|
120
|
+
.actions-group[data-v-c7b6bc21] .n-button--success-type:hover:not(:disabled) {
|
|
121
|
+
box-shadow: 0 4px 12px rgba(99, 226, 183, 0.3);
|
|
122
|
+
}
|
|
123
|
+
.actions-group[data-v-c7b6bc21] .n-button--warning-type:hover:not(:disabled) {
|
|
124
|
+
box-shadow: 0 4px 12px rgba(240, 138, 0, 0.3);
|
|
125
|
+
}
|
|
126
|
+
.actions-group[data-v-c7b6bc21] .n-button--error-type:hover:not(:disabled) {
|
|
127
|
+
box-shadow: 0 4px 12px rgba(208, 48, 80, 0.3);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* ================= 中间插槽区域 ================= */
|
|
131
|
+
.actions-center[data-v-c7b6bc21] {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
flex: 1;
|
|
136
|
+
padding: 0 24px;
|
|
137
|
+
min-width: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* ================= 分隔线 ================= */
|
|
141
|
+
.action-divider[data-v-c7b6bc21] {
|
|
142
|
+
margin: 0 8px !important;
|
|
143
|
+
height: 20px;
|
|
144
|
+
opacity: 0.3;
|
|
145
|
+
transition: opacity 0.3s ease;
|
|
146
|
+
}
|
|
147
|
+
.action-divider[data-v-c7b6bc21]:hover {
|
|
148
|
+
opacity: 0.6;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* ================= 下拉菜单优化 ================= */
|
|
152
|
+
[data-v-c7b6bc21] .n-dropdown-option {
|
|
153
|
+
transition: all 0.2s ease;
|
|
154
|
+
}
|
|
155
|
+
[data-v-c7b6bc21] .n-dropdown-option:hover {
|
|
156
|
+
transform: translateX(4px);
|
|
157
|
+
}
|
|
158
|
+
[data-v-c7b6bc21] .n-dropdown-option .n-icon {
|
|
159
|
+
transition: transform 0.2s ease;
|
|
160
|
+
}
|
|
161
|
+
[data-v-c7b6bc21] .n-dropdown-option:hover .n-icon {
|
|
162
|
+
transform: scale(1.15);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* ================= 加载动画 ================= */
|
|
166
|
+
@keyframes button-loading-c7b6bc21 {
|
|
167
|
+
0% {
|
|
168
|
+
opacity: 0.6;
|
|
169
|
+
}
|
|
170
|
+
50% {
|
|
171
|
+
opacity: 1;
|
|
172
|
+
}
|
|
173
|
+
100% {
|
|
174
|
+
opacity: 0.6;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
[data-v-c7b6bc21] .n-button--loading {
|
|
178
|
+
animation: button-loading-c7b6bc21 1.5s ease-in-out infinite;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* ================= Tooltip 样式 ================= */
|
|
182
|
+
[data-v-c7b6bc21] .n-tooltip .n-tooltip__content {
|
|
183
|
+
font-size: 12px;
|
|
184
|
+
padding: 6px 10px;
|
|
185
|
+
border-radius: 4px;
|
|
186
|
+
backdrop-filter: blur(8px);
|
|
187
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* ================= 暗黑模式适配 ================= */
|
|
191
|
+
html.dark .c-action-bar[data-v-c7b6bc21] {
|
|
192
|
+
border-color: rgba(255, 255, 255, 0.09);
|
|
193
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
194
|
+
}
|
|
195
|
+
html.dark .actions-group[data-v-c7b6bc21] .n-button:hover:not(:disabled) {
|
|
196
|
+
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
|
|
197
|
+
}
|
|
198
|
+
html.dark .action-divider[data-v-c7b6bc21] {
|
|
199
|
+
opacity: 0.15;
|
|
200
|
+
}
|
|
201
|
+
html.dark .action-divider[data-v-c7b6bc21]:hover {
|
|
202
|
+
opacity: 0.4;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/*# sourceMappingURL=C_ActionBar-jZPsiXtT.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"C_AntV-D2Zp2qQF.css","names":[],"sources":["../src/components/C_AntV/layout/ER/index.vue?vue&type=style&index=0&scoped=beb83641&lang.scss","../src/components/C_AntV/layout/BPMN/index.vue?vue&type=style&index=0&scoped=c27dede7&lang.scss","../src/components/C_AntV/layout/UML/components/UMLClassEditor.vue?vue&type=style&index=0&scoped=e47033f6&lang.scss","../src/components/C_AntV/layout/UML/index.vue?vue&type=style&index=0&scoped=1092fbdb&lang.scss","../src/components/C_AntV/index.vue?vue&type=style&index=0&scoped=f1ab77ea&lang.css"],"sourcesContent":["/* unplugin-vue-components disabled *//* ER 图布局样式 */\n/* AntV X6 图形编辑器公共样式 */\n/* 用于 ER、UML、BPMN 等布局的共享样式 */\n/* 通用布局容器 */\n/* 工具栏样式 */\n/* 图形容器样式 */\n/* 表单项样式 */\n/* 卡片样式 */\n/* 滚动条样式 */\n/* 编辑器容器样式 */\n.er-layout[data-v-beb83641] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 400px;\n}\n.er-layout .toolbar[data-v-beb83641] {\n padding: 12px;\n background: var(--n-color-embedded);\n border-bottom: 1px solid var(--c-border);\n flex-shrink: 0;\n}\n.er-layout .graph-container[data-v-beb83641] {\n flex: 1;\n position: relative;\n min-height: 300px;\n width: 100%;\n border: 1px solid var(--c-border);\n overflow: hidden;\n}\n.er-layout .graph-container[data-v-beb83641] .x6-graph,\n.er-layout .graph-container[data-v-beb83641] .x6-graph-svg {\n width: 100% !important;\n height: 100% !important;\n display: block;\n}\n.er-layout .graph-container[data-v-beb83641] .x6-graph-svg-stage {\n outline: none;\n}\n.er-layout .table-editor[data-v-beb83641] {\n height: 100%;\n overflow-y: auto;\n padding: 0 4px;\n}\n.er-layout .table-editor[data-v-beb83641]::-webkit-scrollbar {\n width: 6px;\n}\n.er-layout .table-editor[data-v-beb83641]::-webkit-scrollbar-thumb {\n background: var(--n-scrollbar-color);\n border-radius: 3px;\n}\n.er-layout .table-editor .fields-container[data-v-beb83641] {\n max-height: calc(100vh - 400px);\n overflow-y: auto;\n}\n.er-layout .table-editor .fields-container[data-v-beb83641]::-webkit-scrollbar {\n width: 6px;\n}\n.er-layout .table-editor .fields-container[data-v-beb83641]::-webkit-scrollbar-thumb {\n background: var(--n-scrollbar-color);\n border-radius: 3px;\n}\n.er-layout .table-editor .fields-container .field-card[data-v-beb83641] {\n margin-bottom: 16px;\n}\n.er-layout .table-editor .fields-container .field-card .field-header[data-v-beb83641] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 13px;\n font-weight: 500;\n}\n.er-layout .table-editor .fields-container .field-card[data-v-beb83641] .n-card-header {\n padding: 10px 16px 8px;\n}\n.er-layout .table-editor .fields-container .field-card[data-v-beb83641] .n-card__content {\n padding: 12px 16px 16px;\n}\n.er-layout .table-editor .fields-container[data-v-beb83641] .n-select {\n min-width: 140px;\n}\n.er-layout .table-editor .fields-container[data-v-beb83641] .n-select .n-select-menu {\n max-height: 200px;\n z-index: 9999;\n}\n.er-layout .table-editor .fields-container .n-form-item[data-v-beb83641] {\n margin-bottom: 8px;\n}\n.er-layout .table-editor .fields-container .n-form-item .n-form-item-label[data-v-beb83641] {\n font-size: 12px;\n color: #666;\n margin-bottom: 4px;\n white-space: nowrap;\n}\n.er-layout .table-editor .fields-container[data-v-beb83641] .n-input {\n min-width: 100px;\n}","/* unplugin-vue-components disabled *//* BPMN 布局样式 */\n/* AntV X6 图形编辑器公共样式 */\n/* 用于 ER、UML、BPMN 等布局的共享样式 */\n/* 通用布局容器 */\n/* 工具栏样式 */\n/* 图形容器样式 */\n/* 表单项样式 */\n/* 卡片样式 */\n/* 滚动条样式 */\n/* 编辑器容器样式 */\n.bpmn-layout[data-v-c27dede7] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 400px;\n background: var(--n-color-embedded);\n border-radius: 6px;\n overflow: hidden;\n}\n.bpmn-layout .top-toolbar[data-v-c27dede7] {\n background: var(--c-bg-card);\n border-bottom: 1px solid var(--c-border);\n padding: 10px 16px;\n flex-shrink: 0;\n}\n.bpmn-layout .top-toolbar .toolbar-section[data-v-c27dede7] {\n display: flex;\n align-items: center;\n gap: 16px;\n}\n.bpmn-layout .top-toolbar .toolbar-section .toolbar-group[data-v-c27dede7] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.bpmn-layout .main-content[data-v-c27dede7] {\n display: flex;\n flex: 1;\n height: 0;\n}\n.bpmn-layout .main-content .left-panel[data-v-c27dede7] {\n width: 180px;\n background: var(--c-bg-card);\n border-right: 1px solid var(--c-border);\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n.bpmn-layout .main-content .left-panel .panel-title[data-v-c27dede7] {\n padding: 16px;\n font-weight: 600;\n font-size: 14px;\n color: var(--c-text-1);\n border-bottom: 1px solid var(--c-border);\n}\n.bpmn-layout .main-content .left-panel .element-grid[data-v-c27dede7] {\n padding: 16px 12px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 12px;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item[data-v-c27dede7] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n padding: 16px 8px;\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: var(--c-text-2);\n transition: all 0.2s ease;\n border: 1px solid transparent;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item[data-v-c27dede7]:hover {\n background: rgba(24, 144, 255, 0.1);\n border-color: rgba(24, 144, 255, 0.4);\n color: var(--c-primary);\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon[data-v-c27dede7] {\n flex-shrink: 0;\n border: 2px solid var(--c-border);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.circle[data-v-c27dede7] {\n width: 24px;\n height: 24px;\n border-radius: 50%;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.rect[data-v-c27dede7] {\n width: 32px;\n height: 20px;\n border-radius: 4px;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.diamond[data-v-c27dede7] {\n width: 24px;\n height: 24px;\n transform: rotate(45deg);\n border-radius: 3px;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.start-event[data-v-c27dede7] {\n border-color: #52c41a;\n background: #f6ffed;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.end-event[data-v-c27dede7] {\n border-color: #ff4d4f;\n background: #fff2f0;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.activity[data-v-c27dede7] {\n border-color: #1890ff;\n background: #e6f7ff;\n}\n.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.gateway[data-v-c27dede7] {\n border-color: #722ed1;\n background: #f9f0ff;\n}\n.bpmn-layout .main-content .graph-wrapper[data-v-c27dede7] {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] {\n flex: 1;\n position: relative;\n min-height: 300px;\n width: 100%;\n border: 1px solid var(--c-border);\n overflow: hidden;\n border-radius: 4px;\n}\n.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] .x6-graph,\n.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] .x6-graph-svg {\n width: 100% !important;\n height: 100% !important;\n display: block;\n}\n.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] .x6-graph-svg-stage {\n outline: none;\n}\n.n-drawer .property-panel[data-v-c27dede7] {\n padding: 16px;\n}\n.n-drawer .property-panel .property-item[data-v-c27dede7] {\n margin-bottom: 16px;\n}\n.n-drawer .property-panel .property-item .property-label[data-v-c27dede7] {\n font-size: 14px;\n font-weight: 500;\n color: var(--c-text-1);\n margin-bottom: 8px;\n}\n.n-drawer .property-panel .form-actions[data-v-c27dede7] {\n margin-top: 24px;\n padding-top: 16px;\n border-top: 1px solid var(--c-border);\n}","/* unplugin-vue-components disabled */.class-editor[data-v-e47033f6] {\n padding: 20px;\n height: calc(100vh - 60px);\n overflow-y: auto;\n}\n.section[data-v-e47033f6] {\n max-height: 300px;\n overflow-y: auto;\n padding-right: 4px;\n}\n.section[data-v-e47033f6]::-webkit-scrollbar {\n width: 6px;\n}\n.section[data-v-e47033f6]::-webkit-scrollbar-thumb {\n background: #d4d4d4;\n border-radius: 3px;\n}\n.section-header[data-v-e47033f6] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.item[data-v-e47033f6] {\n margin-bottom: 8px;\n}\n.section .n-card[data-v-e47033f6] {\n border: 1px solid #e8e8e8;\n}\n.section .n-card-header[data-v-e47033f6] {\n padding: 8px 12px;\n background: #fafafa;\n border-bottom: 1px solid #e8e8e8;\n}\n.section .n-card__content[data-v-e47033f6] {\n padding: 12px;\n}\n.section .n-form-item[data-v-e47033f6] {\n margin-bottom: 0;\n}\n.section .n-form-item-label[data-v-e47033f6] {\n font-size: 12px;\n margin-bottom: 4px;\n color: #666;\n}","/* unplugin-vue-components disabled *//* UML 类图布局样式 */\n/* AntV X6 图形编辑器公共样式 */\n/* 用于 ER、UML、BPMN 等布局的共享样式 */\n/* 通用布局容器 */\n/* 工具栏样式 */\n/* 图形容器样式 */\n/* 表单项样式 */\n/* 卡片样式 */\n/* 滚动条样式 */\n/* 编辑器容器样式 */\n.uml-layout[data-v-1092fbdb] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 400px;\n}\n.uml-layout .toolbar[data-v-1092fbdb] {\n padding: 12px;\n background: var(--n-color-embedded);\n border-bottom: 1px solid var(--c-border);\n flex-shrink: 0;\n}\n.uml-layout .graph-container[data-v-1092fbdb] {\n flex: 1;\n position: relative;\n min-height: 300px;\n width: 100%;\n border: 1px solid var(--c-border);\n overflow: hidden;\n}\n.uml-layout .graph-container[data-v-1092fbdb] .x6-graph,\n.uml-layout .graph-container[data-v-1092fbdb] .x6-graph-svg {\n width: 100% !important;\n height: 100% !important;\n display: block;\n}\n.uml-layout .graph-container[data-v-1092fbdb] .x6-graph-svg-stage {\n outline: none;\n}\n\n/* 抽屉编辑器样式 - 使用单独的样式块避免 scoped 问题 */\n.class-editor[data-v-1092fbdb] {\n padding: 20px;\n height: calc(100vh - 60px);\n overflow-y: auto;\n}\n.class-editor[data-v-1092fbdb]::-webkit-scrollbar {\n width: 6px;\n}\n.class-editor[data-v-1092fbdb]::-webkit-scrollbar-thumb {\n background: var(--n-scrollbar-color);\n border-radius: 3px;\n}\n.class-editor .section[data-v-1092fbdb] {\n max-height: 300px;\n overflow-y: auto;\n padding-right: 4px;\n}\n.class-editor .section[data-v-1092fbdb]::-webkit-scrollbar {\n width: 6px;\n}\n.class-editor .section[data-v-1092fbdb]::-webkit-scrollbar-thumb {\n background: var(--n-scrollbar-color);\n border-radius: 3px;\n}\n.class-editor .section .item[data-v-1092fbdb] {\n margin-bottom: 8px;\n}\n.class-editor .section .n-card[data-v-1092fbdb] {\n border: 1px solid var(--c-border);\n}\n.class-editor .section .n-card .n-card-header[data-v-1092fbdb] {\n padding: 8px 12px;\n background: var(--n-color-embedded);\n border-bottom: 1px solid var(--c-border);\n}\n.class-editor .section .n-card .n-card__content[data-v-1092fbdb] {\n padding: 12px;\n}\n.class-editor .section .n-form-item[data-v-1092fbdb] {\n margin-bottom: 8px;\n}\n.class-editor .section .n-form-item .n-form-item-label[data-v-1092fbdb] {\n font-size: 12px;\n color: #666;\n margin-bottom: 4px;\n white-space: nowrap;\n}","/* unplugin-vue-components disabled */\n.c-antv-container[data-v-f1ab77ea] {\r\n width: 100%;\r\n height: 100%;\n}\r\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACxFA;AACA;AACA;AACA;AACA"}
|
package/dist/C_AntV.css
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
/* unplugin-vue-components disabled *//* ER 图布局样式 */
|
|
2
|
+
/* AntV X6 图形编辑器公共样式 */
|
|
3
|
+
/* 用于 ER、UML、BPMN 等布局的共享样式 */
|
|
4
|
+
/* 通用布局容器 */
|
|
5
|
+
/* 工具栏样式 */
|
|
6
|
+
/* 图形容器样式 */
|
|
7
|
+
/* 表单项样式 */
|
|
8
|
+
/* 卡片样式 */
|
|
9
|
+
/* 滚动条样式 */
|
|
10
|
+
/* 编辑器容器样式 */
|
|
11
|
+
.er-layout[data-v-beb83641] {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
min-height: 400px;
|
|
17
|
+
}
|
|
18
|
+
.er-layout .toolbar[data-v-beb83641] {
|
|
19
|
+
padding: 12px;
|
|
20
|
+
background: var(--n-color-embedded);
|
|
21
|
+
border-bottom: 1px solid var(--c-border);
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
}
|
|
24
|
+
.er-layout .graph-container[data-v-beb83641] {
|
|
25
|
+
flex: 1;
|
|
26
|
+
position: relative;
|
|
27
|
+
min-height: 300px;
|
|
28
|
+
width: 100%;
|
|
29
|
+
border: 1px solid var(--c-border);
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
.er-layout .graph-container[data-v-beb83641] .x6-graph,
|
|
33
|
+
.er-layout .graph-container[data-v-beb83641] .x6-graph-svg {
|
|
34
|
+
width: 100% !important;
|
|
35
|
+
height: 100% !important;
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
.er-layout .graph-container[data-v-beb83641] .x6-graph-svg-stage {
|
|
39
|
+
outline: none;
|
|
40
|
+
}
|
|
41
|
+
.er-layout .table-editor[data-v-beb83641] {
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow-y: auto;
|
|
44
|
+
padding: 0 4px;
|
|
45
|
+
}
|
|
46
|
+
.er-layout .table-editor[data-v-beb83641]::-webkit-scrollbar {
|
|
47
|
+
width: 6px;
|
|
48
|
+
}
|
|
49
|
+
.er-layout .table-editor[data-v-beb83641]::-webkit-scrollbar-thumb {
|
|
50
|
+
background: var(--n-scrollbar-color);
|
|
51
|
+
border-radius: 3px;
|
|
52
|
+
}
|
|
53
|
+
.er-layout .table-editor .fields-container[data-v-beb83641] {
|
|
54
|
+
max-height: calc(100vh - 400px);
|
|
55
|
+
overflow-y: auto;
|
|
56
|
+
}
|
|
57
|
+
.er-layout .table-editor .fields-container[data-v-beb83641]::-webkit-scrollbar {
|
|
58
|
+
width: 6px;
|
|
59
|
+
}
|
|
60
|
+
.er-layout .table-editor .fields-container[data-v-beb83641]::-webkit-scrollbar-thumb {
|
|
61
|
+
background: var(--n-scrollbar-color);
|
|
62
|
+
border-radius: 3px;
|
|
63
|
+
}
|
|
64
|
+
.er-layout .table-editor .fields-container .field-card[data-v-beb83641] {
|
|
65
|
+
margin-bottom: 16px;
|
|
66
|
+
}
|
|
67
|
+
.er-layout .table-editor .fields-container .field-card .field-header[data-v-beb83641] {
|
|
68
|
+
display: flex;
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
align-items: center;
|
|
71
|
+
font-size: 13px;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
}
|
|
74
|
+
.er-layout .table-editor .fields-container .field-card[data-v-beb83641] .n-card-header {
|
|
75
|
+
padding: 10px 16px 8px;
|
|
76
|
+
}
|
|
77
|
+
.er-layout .table-editor .fields-container .field-card[data-v-beb83641] .n-card__content {
|
|
78
|
+
padding: 12px 16px 16px;
|
|
79
|
+
}
|
|
80
|
+
.er-layout .table-editor .fields-container[data-v-beb83641] .n-select {
|
|
81
|
+
min-width: 140px;
|
|
82
|
+
}
|
|
83
|
+
.er-layout .table-editor .fields-container[data-v-beb83641] .n-select .n-select-menu {
|
|
84
|
+
max-height: 200px;
|
|
85
|
+
z-index: 9999;
|
|
86
|
+
}
|
|
87
|
+
.er-layout .table-editor .fields-container .n-form-item[data-v-beb83641] {
|
|
88
|
+
margin-bottom: 8px;
|
|
89
|
+
}
|
|
90
|
+
.er-layout .table-editor .fields-container .n-form-item .n-form-item-label[data-v-beb83641] {
|
|
91
|
+
font-size: 12px;
|
|
92
|
+
color: #666;
|
|
93
|
+
margin-bottom: 4px;
|
|
94
|
+
white-space: nowrap;
|
|
95
|
+
}
|
|
96
|
+
.er-layout .table-editor .fields-container[data-v-beb83641] .n-input {
|
|
97
|
+
min-width: 100px;
|
|
98
|
+
}
|
|
99
|
+
/* unplugin-vue-components disabled *//* BPMN 布局样式 */
|
|
100
|
+
/* AntV X6 图形编辑器公共样式 */
|
|
101
|
+
/* 用于 ER、UML、BPMN 等布局的共享样式 */
|
|
102
|
+
/* 通用布局容器 */
|
|
103
|
+
/* 工具栏样式 */
|
|
104
|
+
/* 图形容器样式 */
|
|
105
|
+
/* 表单项样式 */
|
|
106
|
+
/* 卡片样式 */
|
|
107
|
+
/* 滚动条样式 */
|
|
108
|
+
/* 编辑器容器样式 */
|
|
109
|
+
.bpmn-layout[data-v-c27dede7] {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
min-height: 400px;
|
|
115
|
+
background: var(--n-color-embedded);
|
|
116
|
+
border-radius: 6px;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
}
|
|
119
|
+
.bpmn-layout .top-toolbar[data-v-c27dede7] {
|
|
120
|
+
background: var(--c-bg-card);
|
|
121
|
+
border-bottom: 1px solid var(--c-border);
|
|
122
|
+
padding: 10px 16px;
|
|
123
|
+
flex-shrink: 0;
|
|
124
|
+
}
|
|
125
|
+
.bpmn-layout .top-toolbar .toolbar-section[data-v-c27dede7] {
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: 16px;
|
|
129
|
+
}
|
|
130
|
+
.bpmn-layout .top-toolbar .toolbar-section .toolbar-group[data-v-c27dede7] {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: 8px;
|
|
134
|
+
}
|
|
135
|
+
.bpmn-layout .main-content[data-v-c27dede7] {
|
|
136
|
+
display: flex;
|
|
137
|
+
flex: 1;
|
|
138
|
+
height: 0;
|
|
139
|
+
}
|
|
140
|
+
.bpmn-layout .main-content .left-panel[data-v-c27dede7] {
|
|
141
|
+
width: 180px;
|
|
142
|
+
background: var(--c-bg-card);
|
|
143
|
+
border-right: 1px solid var(--c-border);
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
flex-shrink: 0;
|
|
147
|
+
}
|
|
148
|
+
.bpmn-layout .main-content .left-panel .panel-title[data-v-c27dede7] {
|
|
149
|
+
padding: 16px;
|
|
150
|
+
font-weight: 600;
|
|
151
|
+
font-size: 14px;
|
|
152
|
+
color: var(--c-text-1);
|
|
153
|
+
border-bottom: 1px solid var(--c-border);
|
|
154
|
+
}
|
|
155
|
+
.bpmn-layout .main-content .left-panel .element-grid[data-v-c27dede7] {
|
|
156
|
+
padding: 16px 12px;
|
|
157
|
+
display: grid;
|
|
158
|
+
grid-template-columns: 1fr 1fr;
|
|
159
|
+
gap: 12px;
|
|
160
|
+
}
|
|
161
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item[data-v-c27dede7] {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
align-items: center;
|
|
165
|
+
gap: 8px;
|
|
166
|
+
padding: 16px 8px;
|
|
167
|
+
border-radius: 6px;
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
font-size: 12px;
|
|
170
|
+
color: var(--c-text-2);
|
|
171
|
+
transition: all 0.2s ease;
|
|
172
|
+
border: 1px solid transparent;
|
|
173
|
+
}
|
|
174
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item[data-v-c27dede7]:hover {
|
|
175
|
+
background: rgba(24, 144, 255, 0.1);
|
|
176
|
+
border-color: rgba(24, 144, 255, 0.4);
|
|
177
|
+
color: var(--c-primary);
|
|
178
|
+
}
|
|
179
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon[data-v-c27dede7] {
|
|
180
|
+
flex-shrink: 0;
|
|
181
|
+
border: 2px solid var(--c-border);
|
|
182
|
+
display: flex;
|
|
183
|
+
align-items: center;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
}
|
|
186
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.circle[data-v-c27dede7] {
|
|
187
|
+
width: 24px;
|
|
188
|
+
height: 24px;
|
|
189
|
+
border-radius: 50%;
|
|
190
|
+
}
|
|
191
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.rect[data-v-c27dede7] {
|
|
192
|
+
width: 32px;
|
|
193
|
+
height: 20px;
|
|
194
|
+
border-radius: 4px;
|
|
195
|
+
}
|
|
196
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.diamond[data-v-c27dede7] {
|
|
197
|
+
width: 24px;
|
|
198
|
+
height: 24px;
|
|
199
|
+
transform: rotate(45deg);
|
|
200
|
+
border-radius: 3px;
|
|
201
|
+
}
|
|
202
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.start-event[data-v-c27dede7] {
|
|
203
|
+
border-color: #52c41a;
|
|
204
|
+
background: #f6ffed;
|
|
205
|
+
}
|
|
206
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.end-event[data-v-c27dede7] {
|
|
207
|
+
border-color: #ff4d4f;
|
|
208
|
+
background: #fff2f0;
|
|
209
|
+
}
|
|
210
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.activity[data-v-c27dede7] {
|
|
211
|
+
border-color: #1890ff;
|
|
212
|
+
background: #e6f7ff;
|
|
213
|
+
}
|
|
214
|
+
.bpmn-layout .main-content .left-panel .element-grid .element-item .element-icon.gateway[data-v-c27dede7] {
|
|
215
|
+
border-color: #722ed1;
|
|
216
|
+
background: #f9f0ff;
|
|
217
|
+
}
|
|
218
|
+
.bpmn-layout .main-content .graph-wrapper[data-v-c27dede7] {
|
|
219
|
+
flex: 1;
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
}
|
|
223
|
+
.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] {
|
|
224
|
+
flex: 1;
|
|
225
|
+
position: relative;
|
|
226
|
+
min-height: 300px;
|
|
227
|
+
width: 100%;
|
|
228
|
+
border: 1px solid var(--c-border);
|
|
229
|
+
overflow: hidden;
|
|
230
|
+
border-radius: 4px;
|
|
231
|
+
}
|
|
232
|
+
.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] .x6-graph,
|
|
233
|
+
.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] .x6-graph-svg {
|
|
234
|
+
width: 100% !important;
|
|
235
|
+
height: 100% !important;
|
|
236
|
+
display: block;
|
|
237
|
+
}
|
|
238
|
+
.bpmn-layout .main-content .graph-wrapper .graph-container[data-v-c27dede7] .x6-graph-svg-stage {
|
|
239
|
+
outline: none;
|
|
240
|
+
}
|
|
241
|
+
.n-drawer .property-panel[data-v-c27dede7] {
|
|
242
|
+
padding: 16px;
|
|
243
|
+
}
|
|
244
|
+
.n-drawer .property-panel .property-item[data-v-c27dede7] {
|
|
245
|
+
margin-bottom: 16px;
|
|
246
|
+
}
|
|
247
|
+
.n-drawer .property-panel .property-item .property-label[data-v-c27dede7] {
|
|
248
|
+
font-size: 14px;
|
|
249
|
+
font-weight: 500;
|
|
250
|
+
color: var(--c-text-1);
|
|
251
|
+
margin-bottom: 8px;
|
|
252
|
+
}
|
|
253
|
+
.n-drawer .property-panel .form-actions[data-v-c27dede7] {
|
|
254
|
+
margin-top: 24px;
|
|
255
|
+
padding-top: 16px;
|
|
256
|
+
border-top: 1px solid var(--c-border);
|
|
257
|
+
}
|
|
258
|
+
/* unplugin-vue-components disabled */.class-editor[data-v-e47033f6] {
|
|
259
|
+
padding: 20px;
|
|
260
|
+
height: calc(100vh - 60px);
|
|
261
|
+
overflow-y: auto;
|
|
262
|
+
}
|
|
263
|
+
.section[data-v-e47033f6] {
|
|
264
|
+
max-height: 300px;
|
|
265
|
+
overflow-y: auto;
|
|
266
|
+
padding-right: 4px;
|
|
267
|
+
}
|
|
268
|
+
.section[data-v-e47033f6]::-webkit-scrollbar {
|
|
269
|
+
width: 6px;
|
|
270
|
+
}
|
|
271
|
+
.section[data-v-e47033f6]::-webkit-scrollbar-thumb {
|
|
272
|
+
background: #d4d4d4;
|
|
273
|
+
border-radius: 3px;
|
|
274
|
+
}
|
|
275
|
+
.section-header[data-v-e47033f6] {
|
|
276
|
+
display: flex;
|
|
277
|
+
justify-content: space-between;
|
|
278
|
+
align-items: center;
|
|
279
|
+
}
|
|
280
|
+
.item[data-v-e47033f6] {
|
|
281
|
+
margin-bottom: 8px;
|
|
282
|
+
}
|
|
283
|
+
.section .n-card[data-v-e47033f6] {
|
|
284
|
+
border: 1px solid #e8e8e8;
|
|
285
|
+
}
|
|
286
|
+
.section .n-card-header[data-v-e47033f6] {
|
|
287
|
+
padding: 8px 12px;
|
|
288
|
+
background: #fafafa;
|
|
289
|
+
border-bottom: 1px solid #e8e8e8;
|
|
290
|
+
}
|
|
291
|
+
.section .n-card__content[data-v-e47033f6] {
|
|
292
|
+
padding: 12px;
|
|
293
|
+
}
|
|
294
|
+
.section .n-form-item[data-v-e47033f6] {
|
|
295
|
+
margin-bottom: 0;
|
|
296
|
+
}
|
|
297
|
+
.section .n-form-item-label[data-v-e47033f6] {
|
|
298
|
+
font-size: 12px;
|
|
299
|
+
margin-bottom: 4px;
|
|
300
|
+
color: #666;
|
|
301
|
+
}
|
|
302
|
+
/* unplugin-vue-components disabled *//* UML 类图布局样式 */
|
|
303
|
+
/* AntV X6 图形编辑器公共样式 */
|
|
304
|
+
/* 用于 ER、UML、BPMN 等布局的共享样式 */
|
|
305
|
+
/* 通用布局容器 */
|
|
306
|
+
/* 工具栏样式 */
|
|
307
|
+
/* 图形容器样式 */
|
|
308
|
+
/* 表单项样式 */
|
|
309
|
+
/* 卡片样式 */
|
|
310
|
+
/* 滚动条样式 */
|
|
311
|
+
/* 编辑器容器样式 */
|
|
312
|
+
.uml-layout[data-v-1092fbdb] {
|
|
313
|
+
display: flex;
|
|
314
|
+
flex-direction: column;
|
|
315
|
+
width: 100%;
|
|
316
|
+
height: 100%;
|
|
317
|
+
min-height: 400px;
|
|
318
|
+
}
|
|
319
|
+
.uml-layout .toolbar[data-v-1092fbdb] {
|
|
320
|
+
padding: 12px;
|
|
321
|
+
background: var(--n-color-embedded);
|
|
322
|
+
border-bottom: 1px solid var(--c-border);
|
|
323
|
+
flex-shrink: 0;
|
|
324
|
+
}
|
|
325
|
+
.uml-layout .graph-container[data-v-1092fbdb] {
|
|
326
|
+
flex: 1;
|
|
327
|
+
position: relative;
|
|
328
|
+
min-height: 300px;
|
|
329
|
+
width: 100%;
|
|
330
|
+
border: 1px solid var(--c-border);
|
|
331
|
+
overflow: hidden;
|
|
332
|
+
}
|
|
333
|
+
.uml-layout .graph-container[data-v-1092fbdb] .x6-graph,
|
|
334
|
+
.uml-layout .graph-container[data-v-1092fbdb] .x6-graph-svg {
|
|
335
|
+
width: 100% !important;
|
|
336
|
+
height: 100% !important;
|
|
337
|
+
display: block;
|
|
338
|
+
}
|
|
339
|
+
.uml-layout .graph-container[data-v-1092fbdb] .x6-graph-svg-stage {
|
|
340
|
+
outline: none;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* 抽屉编辑器样式 - 使用单独的样式块避免 scoped 问题 */
|
|
344
|
+
.class-editor[data-v-1092fbdb] {
|
|
345
|
+
padding: 20px;
|
|
346
|
+
height: calc(100vh - 60px);
|
|
347
|
+
overflow-y: auto;
|
|
348
|
+
}
|
|
349
|
+
.class-editor[data-v-1092fbdb]::-webkit-scrollbar {
|
|
350
|
+
width: 6px;
|
|
351
|
+
}
|
|
352
|
+
.class-editor[data-v-1092fbdb]::-webkit-scrollbar-thumb {
|
|
353
|
+
background: var(--n-scrollbar-color);
|
|
354
|
+
border-radius: 3px;
|
|
355
|
+
}
|
|
356
|
+
.class-editor .section[data-v-1092fbdb] {
|
|
357
|
+
max-height: 300px;
|
|
358
|
+
overflow-y: auto;
|
|
359
|
+
padding-right: 4px;
|
|
360
|
+
}
|
|
361
|
+
.class-editor .section[data-v-1092fbdb]::-webkit-scrollbar {
|
|
362
|
+
width: 6px;
|
|
363
|
+
}
|
|
364
|
+
.class-editor .section[data-v-1092fbdb]::-webkit-scrollbar-thumb {
|
|
365
|
+
background: var(--n-scrollbar-color);
|
|
366
|
+
border-radius: 3px;
|
|
367
|
+
}
|
|
368
|
+
.class-editor .section .item[data-v-1092fbdb] {
|
|
369
|
+
margin-bottom: 8px;
|
|
370
|
+
}
|
|
371
|
+
.class-editor .section .n-card[data-v-1092fbdb] {
|
|
372
|
+
border: 1px solid var(--c-border);
|
|
373
|
+
}
|
|
374
|
+
.class-editor .section .n-card .n-card-header[data-v-1092fbdb] {
|
|
375
|
+
padding: 8px 12px;
|
|
376
|
+
background: var(--n-color-embedded);
|
|
377
|
+
border-bottom: 1px solid var(--c-border);
|
|
378
|
+
}
|
|
379
|
+
.class-editor .section .n-card .n-card__content[data-v-1092fbdb] {
|
|
380
|
+
padding: 12px;
|
|
381
|
+
}
|
|
382
|
+
.class-editor .section .n-form-item[data-v-1092fbdb] {
|
|
383
|
+
margin-bottom: 8px;
|
|
384
|
+
}
|
|
385
|
+
.class-editor .section .n-form-item .n-form-item-label[data-v-1092fbdb] {
|
|
386
|
+
font-size: 12px;
|
|
387
|
+
color: #666;
|
|
388
|
+
margin-bottom: 4px;
|
|
389
|
+
white-space: nowrap;
|
|
390
|
+
}
|
|
391
|
+
/* unplugin-vue-components disabled */
|
|
392
|
+
.c-antv-container[data-v-f1ab77ea] {
|
|
393
|
+
width: 100%;
|
|
394
|
+
height: 100%;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
/*# sourceMappingURL=C_AntV-A3NXx_sF.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"C_Barcode-Do1Ozsmh.css","names":[],"sources":["../src/components/C_Barcode/index.vue?vue&type=style&index=0&scoped=e44c361d&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.c-barcode[data-v-e44c361d] {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n max-width: 100%;\n}\n.c-barcode .barcode-wrapper[data-v-e44c361d] {\n display: inline-block;\n padding: 8px;\n background: #ffffff;\n border-radius: 4px;\n transition: all 0.3s ease;\n overflow: hidden;\n max-width: 100%;\n}\n.c-barcode .barcode-wrapper.with-border[data-v-e44c361d] {\n border: 1px dashed #e0e0e0;\n}\n.c-barcode .barcode-wrapper[data-v-e44c361d]:hover {\n border-color: var(--c-primary, #409eff);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n}\n.c-barcode .barcode-wrapper[data-v-e44c361d] svg {\n max-width: 100%;\n height: auto;\n display: block;\n overflow: visible;\n}\n.c-barcode .barcode-label[data-v-e44c361d] {\n font-size: 14px;\n color: #666;\n text-align: center;\n font-weight: 500;\n word-break: break-all;\n max-width: 100%;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|