@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/dist/C_Table.css
ADDED
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
/* unplugin-vue-components disabled */.column-management-tab .search-row[data-v-1a3d4df6] {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
margin-bottom: 12px;
|
|
6
|
+
}
|
|
7
|
+
.column-management-tab .search-row .search-input[data-v-1a3d4df6] {
|
|
8
|
+
flex: 1;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
11
|
+
.column-management-tab .search-row .resizable-control[data-v-1a3d4df6] {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
padding: 0 10px;
|
|
16
|
+
height: 34px;
|
|
17
|
+
background: var(--n-color-target);
|
|
18
|
+
border-radius: 6px;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
}
|
|
21
|
+
.column-management-tab .top-actions-bar[data-v-1a3d4df6] {
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
align-items: center;
|
|
25
|
+
margin-bottom: 16px;
|
|
26
|
+
padding: 10px 12px;
|
|
27
|
+
background: var(--n-color-target);
|
|
28
|
+
border-radius: 6px;
|
|
29
|
+
}
|
|
30
|
+
.column-management-tab .top-actions-bar .stats-info[data-v-1a3d4df6] {
|
|
31
|
+
flex: 1;
|
|
32
|
+
}
|
|
33
|
+
.column-management-tab .top-actions-bar .quick-actions[data-v-1a3d4df6] {
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
}
|
|
36
|
+
.column-management-tab .column-list .column-item[data-v-1a3d4df6] {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
padding: 6px 4px;
|
|
41
|
+
margin-bottom: 4px;
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
background: transparent;
|
|
44
|
+
cursor: move;
|
|
45
|
+
transition: all 0.2s ease;
|
|
46
|
+
}
|
|
47
|
+
.column-management-tab .column-list .column-item[data-v-1a3d4df6]:hover {
|
|
48
|
+
background: var(--n-color-target);
|
|
49
|
+
}
|
|
50
|
+
.column-management-tab .column-list .column-item.disabled[data-v-1a3d4df6] {
|
|
51
|
+
opacity: 0.6;
|
|
52
|
+
cursor: not-allowed;
|
|
53
|
+
}
|
|
54
|
+
.column-management-tab .column-list .column-item.fixed-left[data-v-1a3d4df6] {
|
|
55
|
+
background: rgba(24, 160, 88, 0.08);
|
|
56
|
+
}
|
|
57
|
+
.column-management-tab .column-list .column-item.fixed-right[data-v-1a3d4df6] {
|
|
58
|
+
background: rgba(240, 138, 0, 0.08);
|
|
59
|
+
}
|
|
60
|
+
.column-management-tab .column-list .column-item .column-info[data-v-1a3d4df6] {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
flex: 1;
|
|
64
|
+
gap: 10px;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
}
|
|
67
|
+
.column-management-tab .column-list .column-item .column-info .column-controls[data-v-1a3d4df6] {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: 8px;
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
}
|
|
73
|
+
.column-management-tab .column-list .column-item .column-info .column-controls .drag-handle[data-v-1a3d4df6] {
|
|
74
|
+
color: var(--n-text-color-3);
|
|
75
|
+
cursor: grab;
|
|
76
|
+
}
|
|
77
|
+
.column-management-tab .column-list .column-item .column-info .column-controls .drag-handle[data-v-1a3d4df6]:active {
|
|
78
|
+
cursor: grabbing;
|
|
79
|
+
}
|
|
80
|
+
.column-management-tab .column-list .column-item .column-info .column-controls .drag-handle.disabled[data-v-1a3d4df6] {
|
|
81
|
+
cursor: not-allowed;
|
|
82
|
+
opacity: 0.3;
|
|
83
|
+
}
|
|
84
|
+
.column-management-tab .column-list .column-item .column-info .column-details[data-v-1a3d4df6] {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
gap: 4px;
|
|
88
|
+
flex: 1;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
}
|
|
92
|
+
.column-management-tab .column-list .column-item .column-actions[data-v-1a3d4df6] {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
gap: 6px;
|
|
96
|
+
flex-shrink: 0;
|
|
97
|
+
}
|
|
98
|
+
.column-management-tab .column-list .column-item .column-actions .drag-controls[data-v-1a3d4df6] {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
gap: 2px;
|
|
102
|
+
}
|
|
103
|
+
.column-management-tab .column-list .column-item .column-actions .drag-controls .c-icon[data-v-1a3d4df6] {
|
|
104
|
+
opacity: 0.6;
|
|
105
|
+
transition: all 0.2s ease;
|
|
106
|
+
}
|
|
107
|
+
.column-management-tab .column-list .column-item .column-actions .drag-controls .c-icon[data-v-1a3d4df6]:not(.disabled):hover {
|
|
108
|
+
opacity: 1;
|
|
109
|
+
transform: scale(1.15);
|
|
110
|
+
}
|
|
111
|
+
.column-management-tab .column-list .column-item .column-actions .drag-controls .c-icon.disabled[data-v-1a3d4df6] {
|
|
112
|
+
opacity: 0.3;
|
|
113
|
+
cursor: not-allowed;
|
|
114
|
+
}
|
|
115
|
+
.column-management-tab .column-list .column-item .column-actions .c-icon[data-v-1a3d4df6] {
|
|
116
|
+
transition: all 0.2s ease;
|
|
117
|
+
}
|
|
118
|
+
.column-management-tab .column-list .column-item .column-actions .c-icon[data-v-1a3d4df6]:hover {
|
|
119
|
+
transform: scale(1.15);
|
|
120
|
+
}
|
|
121
|
+
/* unplugin-vue-components disabled *//* ================= 1. 组件根容器 ================= */
|
|
122
|
+
.c-table-wrapper[data-v-18a2952a] {
|
|
123
|
+
width: 100%;
|
|
124
|
+
position: relative;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* ================= 2. 表格工具栏 ================= */
|
|
128
|
+
.table-toolbar[data-v-18a2952a] {
|
|
129
|
+
display: flex;
|
|
130
|
+
justify-content: space-between;
|
|
131
|
+
align-items: center;
|
|
132
|
+
margin-bottom: 16px;
|
|
133
|
+
}
|
|
134
|
+
.table-toolbar .toolbar-left[data-v-18a2952a] {
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
gap: 12px;
|
|
138
|
+
}
|
|
139
|
+
.table-toolbar .toolbar-right[data-v-18a2952a] {
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
gap: 8px;
|
|
143
|
+
}
|
|
144
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-18a2952a] {
|
|
145
|
+
opacity: 0.6;
|
|
146
|
+
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
}
|
|
149
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-18a2952a]:hover {
|
|
150
|
+
opacity: 1;
|
|
151
|
+
transform: scale(1.1);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* ================= 3. 动态行工具栏 ================= */
|
|
155
|
+
.dynamic-rows-toolbar[data-v-18a2952a] {
|
|
156
|
+
margin-bottom: 16px;
|
|
157
|
+
padding: 16px;
|
|
158
|
+
border-radius: 8px;
|
|
159
|
+
border: 1px solid var(--n-border-color);
|
|
160
|
+
background-color: var(--n-card-color);
|
|
161
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
162
|
+
transition: all 0.2s ease;
|
|
163
|
+
}
|
|
164
|
+
.dynamic-rows-toolbar[data-v-18a2952a]:hover {
|
|
165
|
+
border-color: var(--n-primary-color-suppl);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* ================= 4. 表格布局基础 ================= */
|
|
169
|
+
[data-v-18a2952a] .n-data-table {
|
|
170
|
+
table-layout: auto !important;
|
|
171
|
+
width: 100% !important;
|
|
172
|
+
border-radius: 8px;
|
|
173
|
+
overflow: hidden;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* 确保表格容器允许横向滚动(固定列必需) */
|
|
177
|
+
[data-v-18a2952a] .n-data-table-wrapper {
|
|
178
|
+
overflow-x: auto !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* 分页组件样式 */
|
|
182
|
+
.pagination-wrapper[data-v-18a2952a] {
|
|
183
|
+
margin-top: 16px;
|
|
184
|
+
display: flex;
|
|
185
|
+
justify-content: flex-end;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* ================= 5. 表格列宽度管理 ================= */
|
|
189
|
+
/* 普通列的最小宽度保护 */
|
|
190
|
+
[data-v-18a2952a] .n-data-table-th:not(:last-child) {
|
|
191
|
+
min-width: 80px !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* 操作列固定宽度(适应4个按钮的布局) */
|
|
195
|
+
[data-v-18a2952a] .n-data-table-th:last-child {
|
|
196
|
+
width: 180px !important;
|
|
197
|
+
min-width: 160px !important;
|
|
198
|
+
max-width: 200px !important;
|
|
199
|
+
text-align: center !important;
|
|
200
|
+
padding: 8px 12px !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* 操作按钮容器居中 */
|
|
204
|
+
[data-v-18a2952a] .n-data-table-td:last-child .n-space {
|
|
205
|
+
justify-content: center !important;
|
|
206
|
+
align-items: center !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* ================= 6. 可编辑单元格样式 ================= */
|
|
210
|
+
/* 单元格编辑容器 - 精致化设计 */
|
|
211
|
+
.cell-edit-wrapper[data-v-18a2952a] {
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
justify-content: space-between;
|
|
215
|
+
width: 100%;
|
|
216
|
+
padding: 6px 8px;
|
|
217
|
+
min-height: 36px;
|
|
218
|
+
border-radius: 4px;
|
|
219
|
+
transition: all 0.2s ease;
|
|
220
|
+
cursor: pointer;
|
|
221
|
+
position: relative;
|
|
222
|
+
/* 悬停效果 */
|
|
223
|
+
/* 激活状态 */
|
|
224
|
+
}
|
|
225
|
+
.cell-edit-wrapper[data-v-18a2952a]:hover {
|
|
226
|
+
background-color: var(--n-color-target);
|
|
227
|
+
}
|
|
228
|
+
.cell-edit-wrapper:hover .cell-edit-icon[data-v-18a2952a] {
|
|
229
|
+
opacity: 1;
|
|
230
|
+
color: var(--n-color-success);
|
|
231
|
+
transform: scale(1.05);
|
|
232
|
+
}
|
|
233
|
+
.cell-edit-wrapper[data-v-18a2952a]:active {
|
|
234
|
+
transform: translateY(1px);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/* 单元格内容 */
|
|
238
|
+
.cell-value[data-v-18a2952a] {
|
|
239
|
+
flex: 1;
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
white-space: nowrap;
|
|
243
|
+
margin-right: 16px;
|
|
244
|
+
line-height: 1.4;
|
|
245
|
+
font-size: 13px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* 编辑图标 - 使用全局选择器确保动态创建的元素也能被选中 */
|
|
249
|
+
.cell-edit-icon[data-v-18a2952a],.cell-edit-icon {
|
|
250
|
+
flex-shrink: 0;
|
|
251
|
+
width: 24px;
|
|
252
|
+
height: 24px;
|
|
253
|
+
display: flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
justify-content: center;
|
|
256
|
+
border-radius: 50%;
|
|
257
|
+
cursor: pointer;
|
|
258
|
+
margin-left: 4px;
|
|
259
|
+
transition: all 0.25s ease;
|
|
260
|
+
color: var(--n-color-success);
|
|
261
|
+
opacity: 0;
|
|
262
|
+
position: relative;
|
|
263
|
+
/* 悬停效果 */
|
|
264
|
+
/* 激活效果 */
|
|
265
|
+
/* 图标尺寸 */
|
|
266
|
+
}
|
|
267
|
+
.cell-edit-icon[data-v-18a2952a]:hover,.cell-edit-icon {
|
|
268
|
+
opacity: 1 !important;
|
|
269
|
+
color: var(--n-color-success-hover) !important;
|
|
270
|
+
background-color: var(--n-color-success-pressed);
|
|
271
|
+
transform: scale(1.1);
|
|
272
|
+
}
|
|
273
|
+
.cell-edit-icon[data-v-18a2952a]:active,.cell-edit-icon {
|
|
274
|
+
transform: scale(0.95);
|
|
275
|
+
}
|
|
276
|
+
.cell-edit-icon svg[data-v-18a2952a],.cell-edit-icon {
|
|
277
|
+
width: 14px;
|
|
278
|
+
height: 14px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* ================= 7. 单元格编辑状态样式 ================= */
|
|
282
|
+
/* 编辑容器 - 确保水平布局不换行 */
|
|
283
|
+
.cell-editing-container[data-v-18a2952a],[data-v-18a2952a] .cell-editing-container {
|
|
284
|
+
display: flex !important;
|
|
285
|
+
align-items: center !important;
|
|
286
|
+
width: 100% !important;
|
|
287
|
+
min-height: 36px !important;
|
|
288
|
+
background-color: var(--n-input-color) !important;
|
|
289
|
+
border: 1px solid var(--n-primary-color) !important;
|
|
290
|
+
border-radius: 6px !important;
|
|
291
|
+
padding: 4px 6px !important;
|
|
292
|
+
box-shadow: 0 0 0 2px var(--n-primary-color-suppl) !important;
|
|
293
|
+
gap: 8px !important;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* 编辑输入区域 - 占据剩余空间 */
|
|
297
|
+
.cell-editing-input[data-v-18a2952a],[data-v-18a2952a] .cell-editing-input {
|
|
298
|
+
flex: 1 !important;
|
|
299
|
+
min-width: 0 !important;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* 深度选择器处理输入框样式 */
|
|
303
|
+
[data-v-18a2952a] .cell-editing-input .n-input {
|
|
304
|
+
border: none !important;
|
|
305
|
+
box-shadow: none !important;
|
|
306
|
+
background: transparent !important;
|
|
307
|
+
}
|
|
308
|
+
[data-v-18a2952a] .cell-editing-input .n-input.n-input--focus {
|
|
309
|
+
border: none !important;
|
|
310
|
+
box-shadow: none !important;
|
|
311
|
+
}
|
|
312
|
+
[data-v-18a2952a] .cell-editing-input .n-input-number {
|
|
313
|
+
border: none !important;
|
|
314
|
+
box-shadow: none !important;
|
|
315
|
+
background: transparent !important;
|
|
316
|
+
}
|
|
317
|
+
[data-v-18a2952a] .cell-editing-input .n-select {
|
|
318
|
+
border: none !important;
|
|
319
|
+
box-shadow: none !important;
|
|
320
|
+
background: transparent !important;
|
|
321
|
+
}
|
|
322
|
+
[data-v-18a2952a] .cell-editing-input .n-select .n-base-selection {
|
|
323
|
+
border: none !important;
|
|
324
|
+
box-shadow: none !important;
|
|
325
|
+
background: transparent !important;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* 编辑操作按钮容器 */
|
|
329
|
+
.cell-editing-actions[data-v-18a2952a],[data-v-18a2952a] .cell-editing-actions {
|
|
330
|
+
display: flex !important;
|
|
331
|
+
flex-shrink: 0 !important;
|
|
332
|
+
align-items: center !important;
|
|
333
|
+
gap: 4px !important;
|
|
334
|
+
background: var(--n-color-popover) !important;
|
|
335
|
+
border: 1px solid var(--n-border-color) !important;
|
|
336
|
+
border-radius: 4px !important;
|
|
337
|
+
padding: 2px !important;
|
|
338
|
+
box-shadow: var(--n-box-shadow) !important;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* 编辑操作按钮 */
|
|
342
|
+
.cell-action-btn[data-v-18a2952a],[data-v-18a2952a] .cell-action-btn {
|
|
343
|
+
display: flex !important;
|
|
344
|
+
align-items: center !important;
|
|
345
|
+
justify-content: center !important;
|
|
346
|
+
width: 20px !important;
|
|
347
|
+
height: 20px !important;
|
|
348
|
+
border: none !important;
|
|
349
|
+
border-radius: 3px !important;
|
|
350
|
+
cursor: pointer !important;
|
|
351
|
+
transition: all 0.2s ease !important;
|
|
352
|
+
background: transparent !important;
|
|
353
|
+
/* 保存按钮 */
|
|
354
|
+
/* 取消按钮 */
|
|
355
|
+
/* 图标尺寸 */
|
|
356
|
+
}
|
|
357
|
+
.cell-action-btn.cell-action-save[data-v-18a2952a],[data-v-18a2952a] .cell-action-btn.cell-action-save {
|
|
358
|
+
color: var(--n-color-success) !important;
|
|
359
|
+
}
|
|
360
|
+
.cell-action-btn.cell-action-save[data-v-18a2952a]:hover,[data-v-18a2952a] .cell-action-btn.cell-action-save:hover {
|
|
361
|
+
background: var(--n-color-success-pressed) !important;
|
|
362
|
+
transform: scale(1.1) !important;
|
|
363
|
+
}
|
|
364
|
+
.cell-action-btn.cell-action-cancel[data-v-18a2952a],[data-v-18a2952a] .cell-action-btn.cell-action-cancel {
|
|
365
|
+
color: var(--n-color-error) !important;
|
|
366
|
+
}
|
|
367
|
+
.cell-action-btn.cell-action-cancel[data-v-18a2952a]:hover,[data-v-18a2952a] .cell-action-btn.cell-action-cancel:hover {
|
|
368
|
+
background: var(--n-color-error-pressed) !important;
|
|
369
|
+
transform: scale(1.1) !important;
|
|
370
|
+
}
|
|
371
|
+
.cell-action-btn svg[data-v-18a2952a],[data-v-18a2952a] .cell-action-btn svg {
|
|
372
|
+
width: 11px !important;
|
|
373
|
+
height: 11px !important;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/* ================= 7. 操作按钮样式 ================= */
|
|
377
|
+
/* 通用按钮样式 */
|
|
378
|
+
[data-v-18a2952a] .n-button {
|
|
379
|
+
white-space: nowrap;
|
|
380
|
+
font-size: 12px !important;
|
|
381
|
+
flex-shrink: 0 !important;
|
|
382
|
+
border-radius: 6px;
|
|
383
|
+
transition: all 0.2s ease;
|
|
384
|
+
font-weight: 500;
|
|
385
|
+
/* 图标间距 */
|
|
386
|
+
/* 小尺寸按钮优化 */
|
|
387
|
+
/* 四元按钮样式 */
|
|
388
|
+
}
|
|
389
|
+
[data-v-18a2952a] .n-button .n-icon {
|
|
390
|
+
margin-right: 4px !important;
|
|
391
|
+
}
|
|
392
|
+
[data-v-18a2952a] .n-button.n-button--small-type {
|
|
393
|
+
padding: 4px 8px;
|
|
394
|
+
height: 28px;
|
|
395
|
+
line-height: 20px;
|
|
396
|
+
}
|
|
397
|
+
[data-v-18a2952a] .n-button.n-button--quaternary-type:hover {
|
|
398
|
+
transform: translateY(-1px);
|
|
399
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
400
|
+
}
|
|
401
|
+
[data-v-18a2952a] .n-button.n-button--quaternary-type:active {
|
|
402
|
+
transform: translateY(0);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/* ================= 8. 按钮组间距优化 ================= */
|
|
406
|
+
/* 操作按钮组 */
|
|
407
|
+
[data-v-18a2952a] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
408
|
+
margin-right: 6px !important;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* ================= 9. 模态框样式优化 ================= */
|
|
412
|
+
/* 编辑模态框 */
|
|
413
|
+
[data-v-18a2952a] .n-modal .n-card {
|
|
414
|
+
border-radius: 12px;
|
|
415
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
416
|
+
}
|
|
417
|
+
[data-v-18a2952a] .n-modal .n-card__header {
|
|
418
|
+
padding: 20px 24px 16px;
|
|
419
|
+
font-weight: 600;
|
|
420
|
+
font-size: 16px;
|
|
421
|
+
}
|
|
422
|
+
[data-v-18a2952a] .n-modal .n-card__content {
|
|
423
|
+
padding: 0 24px 16px;
|
|
424
|
+
}
|
|
425
|
+
[data-v-18a2952a] .n-modal .n-card__action {
|
|
426
|
+
padding: 16px 24px 20px;
|
|
427
|
+
border-top: 1px solid var(--n-divider-color);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/* ================= 10. 描述列表样式 ================= */
|
|
431
|
+
/* 详情模态框描述列表 */
|
|
432
|
+
[data-v-18a2952a] .n-descriptions .n-descriptions-item-label {
|
|
433
|
+
font-weight: 500;
|
|
434
|
+
color: var(--n-text-color-2);
|
|
435
|
+
}
|
|
436
|
+
[data-v-18a2952a] .n-descriptions .n-descriptions-item-content {
|
|
437
|
+
color: var(--n-text-color-1);
|
|
438
|
+
word-break: break-all;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/* ================= 11. 响应式设计 ================= */
|
|
442
|
+
/* 移动端适配 */
|
|
443
|
+
@media (max-width: 768px) {
|
|
444
|
+
.c-table-wrapper[data-v-18a2952a] {
|
|
445
|
+
overflow-x: auto;
|
|
446
|
+
}
|
|
447
|
+
/* 操作列在移动端的适配 */
|
|
448
|
+
[data-v-18a2952a] .n-data-table-th:last-child {
|
|
449
|
+
width: 160px !important;
|
|
450
|
+
min-width: 160px !important;
|
|
451
|
+
}
|
|
452
|
+
/* 按钮在移动端的优化 */
|
|
453
|
+
[data-v-18a2952a] .n-button {
|
|
454
|
+
font-size: 11px !important;
|
|
455
|
+
padding: 3px 6px;
|
|
456
|
+
}
|
|
457
|
+
[data-v-18a2952a] .n-button .n-icon {
|
|
458
|
+
margin-right: 2px !important;
|
|
459
|
+
}
|
|
460
|
+
/* 单元格编辑图标在移动端始终显示 */
|
|
461
|
+
.cell-edit-icon[data-v-18a2952a] {
|
|
462
|
+
opacity: 0.6;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
/* ================= 12. 主题适配 ================= */
|
|
466
|
+
/* 暗色主题适配 - 已通过 CSS 变量自动适配 */
|
|
467
|
+
[data-theme=dark][data-v-18a2952a] {
|
|
468
|
+
/* CSS 变量已自动适配,如有特殊需求可在此添加 */
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/* ================= 13. 响应式优化 ================= */
|
|
472
|
+
/* 小屏幕下的单元格编辑优化 */
|
|
473
|
+
@media (max-width: 768px) {
|
|
474
|
+
.cell-editing-container[data-v-18a2952a],[data-v-18a2952a] .cell-editing-container {
|
|
475
|
+
gap: 6px !important;
|
|
476
|
+
}
|
|
477
|
+
.cell-editing-actions[data-v-18a2952a],[data-v-18a2952a] .cell-editing-actions {
|
|
478
|
+
gap: 3px !important;
|
|
479
|
+
padding: 2px !important;
|
|
480
|
+
}
|
|
481
|
+
.cell-action-btn[data-v-18a2952a],[data-v-18a2952a] .cell-action-btn {
|
|
482
|
+
width: 18px !important;
|
|
483
|
+
height: 18px !important;
|
|
484
|
+
}
|
|
485
|
+
.cell-action-btn svg[data-v-18a2952a],[data-v-18a2952a] .cell-action-btn svg {
|
|
486
|
+
width: 10px !important;
|
|
487
|
+
height: 10px !important;
|
|
488
|
+
}
|
|
489
|
+
/* 移动端编辑图标 */
|
|
490
|
+
.cell-edit-icon[data-v-18a2952a] {
|
|
491
|
+
opacity: 0.6 !important;
|
|
492
|
+
}
|
|
493
|
+
.cell-value[data-v-18a2952a] {
|
|
494
|
+
margin-right: 12px !important;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
/* ================= 14. 性能优化 ================= */
|
|
498
|
+
/* 使用 GPU 加速的动画 */
|
|
499
|
+
.cell-edit-icon[data-v-18a2952a],
|
|
500
|
+
.cell-action-btn[data-v-18a2952a] {
|
|
501
|
+
will-change: transform;
|
|
502
|
+
backface-visibility: hidden;
|
|
503
|
+
}
|
|
504
|
+
[data-v-18a2952a] .n-button {
|
|
505
|
+
will-change: transform;
|
|
506
|
+
backface-visibility: hidden;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* ================= 15. 可访问性优化 ================= */
|
|
510
|
+
/* 聚焦状态 */
|
|
511
|
+
.cell-edit-wrapper[data-v-18a2952a]:focus-within,
|
|
512
|
+
.cell-editing-container[data-v-18a2952a]:focus-within {
|
|
513
|
+
outline: 2px solid var(--n-primary-color);
|
|
514
|
+
outline-offset: 2px;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/* 高对比度模式支持 */
|
|
518
|
+
@media (prefers-contrast: high) {
|
|
519
|
+
.cell-edit-icon[data-v-18a2952a] {
|
|
520
|
+
opacity: 0.8;
|
|
521
|
+
}
|
|
522
|
+
.cell-editing-actions[data-v-18a2952a] {
|
|
523
|
+
border-width: 2px;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/*# sourceMappingURL=C_Table-Dcam_tRs.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"C_Time-CKb_fwdm.css","names":[],"sources":["../src/components/C_Time/index.vue?vue&type=style&index=0&scoped=beaeb169&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled *//* 时间选择器组件样式 */\n.c-time-wrapper[data-v-beaeb169] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n.time-range-container[data-v-beaeb169] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.time-single-container[data-v-beaeb169] {\n display: flex;\n align-items: center;\n}\n.range-separator[data-v-beaeb169] {\n color: var(--c-text-3, #666);\n font-size: 14px;\n white-space: nowrap;\n user-select: none;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/dist/C_Time.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* unplugin-vue-components disabled *//* 时间选择器组件样式 */
|
|
2
|
+
.c-time-wrapper[data-v-beaeb169] {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
}
|
|
7
|
+
.time-range-container[data-v-beaeb169] {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 8px;
|
|
11
|
+
}
|
|
12
|
+
.time-single-container[data-v-beaeb169] {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
.range-separator[data-v-beaeb169] {
|
|
17
|
+
color: var(--c-text-3, #666);
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
user-select: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/*# sourceMappingURL=C_Time-Bd_e1YDN.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"C_Tree-B-Le4hjQ.css","names":[],"sources":["../src/components/C_Tree/index.vue?vue&type=style&index=0&scoped=2c548e72&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.c-tree[data-v-2c548e72] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.c-tree .c-tree-toolbar[data-v-2c548e72] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 16px;\n background: #fafafa;\n border-radius: 6px;\n margin-bottom: 12px;\n flex-shrink: 0;\n}\n.c-tree .c-tree-toolbar .toolbar-left .search-input[data-v-2c548e72] {\n width: 260px;\n}\n.c-tree .c-tree-toolbar .toolbar-right[data-v-2c548e72] {\n display: flex;\n gap: 8px;\n}\n.c-tree .c-tree-container[data-v-2c548e72] {\n flex: 1;\n min-height: 0;\n border: 1px solid #e0e0e6;\n border-radius: 6px;\n padding: 12px;\n overflow-y: auto;\n scrollbar-width: thin;\n scrollbar-color: rgba(0, 0, 0, 0.12) transparent;\n}\n.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar {\n width: 6px;\n}\n.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.12);\n border-radius: 3px;\n transition: background 0.2s;\n}\n.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar-thumb:hover {\n background: rgba(0, 0, 0, 0.25);\n}\n.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar-track {\n background: transparent;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node {\n margin-bottom: 4px;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-wrapper {\n padding: 2px 0;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content {\n padding: 12px 8px;\n border-radius: 6px;\n transition: all 0.2s ease;\n align-items: center;\n min-height: 44px;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content:hover {\n background-color: #f0f9ff;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content:hover .tree-actions {\n opacity: 1 !important;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__prefix {\n margin-right: 0;\n display: flex;\n align-items: center;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__text {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__suffix {\n margin-left: auto;\n display: flex;\n align-items: center;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-switcher {\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 8px;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-switcher .n-tree-node-switcher__icon {\n font-size: 14px;\n transition: transform 0.2s ease;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node.n-tree-node--selected .n-tree-node-content {\n background-color: #e6f3ff;\n border: 1px solid #1890ff;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node.n-tree-node--disabled .n-tree-node-content {\n opacity: 0.6;\n cursor: not-allowed;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node-indent {\n width: 24px;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree-node:hover .tree-actions {\n opacity: 1 !important;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .tree-actions {\n opacity: 0;\n transition: opacity 0.2s ease;\n}\n.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .tree-actions:hover {\n opacity: 1 !important;\n}\n.c-tree[data-v-2c548e72] .n-tree-node-content:hover .tree-actions,\n.c-tree[data-v-2c548e72] .n-tree-node:hover .tree-actions {\n opacity: 1 !important;\n}\n.c-tree[data-v-2c548e72] .tree-actions {\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n/* responsive */\n@media (max-width: 768px) {\n.c-tree .c-tree-toolbar[data-v-2c548e72] {\n flex-direction: column;\n gap: 12px;\n}\n.c-tree .c-tree-toolbar .toolbar-left .search-input[data-v-2c548e72] {\n width: 100%;\n}\n.c-tree .c-tree-toolbar .toolbar-right[data-v-2c548e72] {\n width: 100%;\n justify-content: center;\n}\n.c-tree[data-v-2c548e72] .tree-actions {\n opacity: 1 !important;\n}\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;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"}
|
package/dist/C_Tree.css
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/* unplugin-vue-components disabled */.c-tree[data-v-2c548e72] {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
.c-tree .c-tree-toolbar[data-v-2c548e72] {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
10
|
+
padding: 12px 16px;
|
|
11
|
+
background: #fafafa;
|
|
12
|
+
border-radius: 6px;
|
|
13
|
+
margin-bottom: 12px;
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
}
|
|
16
|
+
.c-tree .c-tree-toolbar .toolbar-left .search-input[data-v-2c548e72] {
|
|
17
|
+
width: 260px;
|
|
18
|
+
}
|
|
19
|
+
.c-tree .c-tree-toolbar .toolbar-right[data-v-2c548e72] {
|
|
20
|
+
display: flex;
|
|
21
|
+
gap: 8px;
|
|
22
|
+
}
|
|
23
|
+
.c-tree .c-tree-container[data-v-2c548e72] {
|
|
24
|
+
flex: 1;
|
|
25
|
+
min-height: 0;
|
|
26
|
+
border: 1px solid #e0e0e6;
|
|
27
|
+
border-radius: 6px;
|
|
28
|
+
padding: 12px;
|
|
29
|
+
overflow-y: auto;
|
|
30
|
+
scrollbar-width: thin;
|
|
31
|
+
scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
|
|
32
|
+
}
|
|
33
|
+
.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar {
|
|
34
|
+
width: 6px;
|
|
35
|
+
}
|
|
36
|
+
.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar-thumb {
|
|
37
|
+
background: rgba(0, 0, 0, 0.12);
|
|
38
|
+
border-radius: 3px;
|
|
39
|
+
transition: background 0.2s;
|
|
40
|
+
}
|
|
41
|
+
.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar-thumb:hover {
|
|
42
|
+
background: rgba(0, 0, 0, 0.25);
|
|
43
|
+
}
|
|
44
|
+
.c-tree .c-tree-container[data-v-2c548e72]::-webkit-scrollbar-track {
|
|
45
|
+
background: transparent;
|
|
46
|
+
}
|
|
47
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node {
|
|
48
|
+
margin-bottom: 4px;
|
|
49
|
+
}
|
|
50
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-wrapper {
|
|
51
|
+
padding: 2px 0;
|
|
52
|
+
}
|
|
53
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content {
|
|
54
|
+
padding: 12px 8px;
|
|
55
|
+
border-radius: 6px;
|
|
56
|
+
transition: all 0.2s ease;
|
|
57
|
+
align-items: center;
|
|
58
|
+
min-height: 44px;
|
|
59
|
+
}
|
|
60
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content:hover {
|
|
61
|
+
background-color: #f0f9ff;
|
|
62
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
63
|
+
}
|
|
64
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content:hover .tree-actions {
|
|
65
|
+
opacity: 1 !important;
|
|
66
|
+
}
|
|
67
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__prefix {
|
|
68
|
+
margin-right: 0;
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
}
|
|
72
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__text {
|
|
73
|
+
flex: 1;
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
}
|
|
77
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__suffix {
|
|
78
|
+
margin-left: auto;
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
}
|
|
82
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-switcher {
|
|
83
|
+
width: 24px;
|
|
84
|
+
height: 24px;
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
margin-right: 8px;
|
|
89
|
+
}
|
|
90
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node .n-tree-node-switcher .n-tree-node-switcher__icon {
|
|
91
|
+
font-size: 14px;
|
|
92
|
+
transition: transform 0.2s ease;
|
|
93
|
+
}
|
|
94
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node.n-tree-node--selected .n-tree-node-content {
|
|
95
|
+
background-color: #e6f3ff;
|
|
96
|
+
border: 1px solid #1890ff;
|
|
97
|
+
}
|
|
98
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node.n-tree-node--disabled .n-tree-node-content {
|
|
99
|
+
opacity: 0.6;
|
|
100
|
+
cursor: not-allowed;
|
|
101
|
+
}
|
|
102
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree .n-tree-node-indent {
|
|
103
|
+
width: 24px;
|
|
104
|
+
}
|
|
105
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .n-tree-node:hover .tree-actions {
|
|
106
|
+
opacity: 1 !important;
|
|
107
|
+
}
|
|
108
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .tree-actions {
|
|
109
|
+
opacity: 0;
|
|
110
|
+
transition: opacity 0.2s ease;
|
|
111
|
+
}
|
|
112
|
+
.c-tree .c-tree-container .tree-instance[data-v-2c548e72] .tree-actions:hover {
|
|
113
|
+
opacity: 1 !important;
|
|
114
|
+
}
|
|
115
|
+
.c-tree[data-v-2c548e72] .n-tree-node-content:hover .tree-actions,
|
|
116
|
+
.c-tree[data-v-2c548e72] .n-tree-node:hover .tree-actions {
|
|
117
|
+
opacity: 1 !important;
|
|
118
|
+
}
|
|
119
|
+
.c-tree[data-v-2c548e72] .tree-actions {
|
|
120
|
+
opacity: 0;
|
|
121
|
+
transition: opacity 0.2s ease-in-out;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* responsive */
|
|
125
|
+
@media (max-width: 768px) {
|
|
126
|
+
.c-tree .c-tree-toolbar[data-v-2c548e72] {
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
gap: 12px;
|
|
129
|
+
}
|
|
130
|
+
.c-tree .c-tree-toolbar .toolbar-left .search-input[data-v-2c548e72] {
|
|
131
|
+
width: 100%;
|
|
132
|
+
}
|
|
133
|
+
.c-tree .c-tree-toolbar .toolbar-right[data-v-2c548e72] {
|
|
134
|
+
width: 100%;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
}
|
|
137
|
+
.c-tree[data-v-2c548e72] .tree-actions {
|
|
138
|
+
opacity: 1 !important;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/*# sourceMappingURL=C_Tree-B-Le4hjQ.css.map*/
|