@robot-admin/naive-ui-components 0.11.0 → 0.11.2
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_Table.base.css +86 -86
- package/dist/C_Table.css +86 -86
- package/dist/constants.d.cts +4 -4
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.cts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.cts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.cts +3 -3
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +3 -3
- package/dist/data.d.ts +3 -3
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index11.vue.d.ts +4 -4
- package/dist/index12.vue.d.cts +4 -4
- package/dist/index12.vue.d.ts +3 -3
- package/dist/index13.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index14.vue.d.ts +7 -7
- package/dist/index15.vue.d.cts +7 -7
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +5 -5
- package/dist/index18.vue.d.cts +5 -5
- package/dist/index18.vue.d.ts +3 -3
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +1 -1
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +3 -3
- package/dist/index21.vue.d.ts +3 -3
- package/dist/index22.vue.d.cts +4 -4
- package/dist/index22.vue.d.ts +4 -4
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +1 -1
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +3 -3
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index4.vue.d.cts +3 -3
- package/dist/index4.vue.d.ts +3 -3
- package/dist/index5.vue.d.cts +3 -3
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index7.vue.d.ts +4 -4
- package/dist/index8.vue.d.cts +4 -4
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/style.css +86 -86
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +6 -6
- package/dist/useCropperCore.d.ts +6 -6
- package/dist/useDraggableLayout.d.cts +5 -5
- package/dist/useDraggableLayout.d.ts +5 -5
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.cts +21 -21
- package/dist/useSearchState.d.ts +21 -21
- package/dist/useSignatureHistory.d.cts +2 -2
- package/dist/useSignatureHistory.d.ts +2 -2
- package/dist/useSplitResize.d.cts +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTableQuery.cjs +1 -1
- package/dist/useTableQuery.d.cts +122 -159
- package/dist/useTableQuery.d.ts +122 -159
- package/dist/useTableQuery.js +1 -1
- package/dist/useTimeSelection.d.cts +4 -4
- package/dist/useTimeSelection.d.ts +4 -4
- package/dist/useTreeOperations.d.cts +6 -6
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/package.json +3 -2
package/dist/C_Table.css
CHANGED
|
@@ -1197,7 +1197,7 @@ to {
|
|
|
1197
1197
|
transform: scale(1.15);
|
|
1198
1198
|
}
|
|
1199
1199
|
/* unplugin-vue-components disabled *//* ================= 1. 组件根容器 ================= */
|
|
1200
|
-
.c-table-wrapper[data-v-
|
|
1200
|
+
.c-table-wrapper[data-v-cb3ea22c] {
|
|
1201
1201
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
1202
1202
|
--c-table-bg: var(--body-color, #fff);
|
|
1203
1203
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -1210,52 +1210,52 @@ to {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
1212
|
/* ================= 列拖拽排序 ================= */
|
|
1213
|
-
.column-drag-ghost[data-v-
|
|
1213
|
+
.column-drag-ghost[data-v-cb3ea22c] {
|
|
1214
1214
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
1215
1215
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1216
1216
|
}
|
|
1217
|
-
.drag-handle[data-v-
|
|
1217
|
+
.drag-handle[data-v-cb3ea22c] {
|
|
1218
1218
|
cursor: grab;
|
|
1219
1219
|
}
|
|
1220
|
-
.drag-handle[data-v-
|
|
1220
|
+
.drag-handle[data-v-cb3ea22c]:active {
|
|
1221
1221
|
cursor: grabbing;
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
1224
|
/* ================= 合计行强调 ================= */
|
|
1225
|
-
.c-table-wrapper[data-v-
|
|
1225
|
+
.c-table-wrapper[data-v-cb3ea22c] .n-data-table-tfoot {
|
|
1226
1226
|
background: var(--c-table-summary-bg);
|
|
1227
1227
|
font-weight: var(--c-table-summary-font-weight);
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
1230
|
/* ================= 2. 表格工具栏 ================= */
|
|
1231
|
-
.table-toolbar[data-v-
|
|
1231
|
+
.table-toolbar[data-v-cb3ea22c] {
|
|
1232
1232
|
display: flex;
|
|
1233
1233
|
justify-content: space-between;
|
|
1234
1234
|
align-items: center;
|
|
1235
1235
|
margin-bottom: 16px;
|
|
1236
1236
|
}
|
|
1237
|
-
.table-toolbar .toolbar-left[data-v-
|
|
1237
|
+
.table-toolbar .toolbar-left[data-v-cb3ea22c] {
|
|
1238
1238
|
display: flex;
|
|
1239
1239
|
align-items: center;
|
|
1240
1240
|
gap: 12px;
|
|
1241
1241
|
}
|
|
1242
|
-
.table-toolbar .toolbar-right[data-v-
|
|
1242
|
+
.table-toolbar .toolbar-right[data-v-cb3ea22c] {
|
|
1243
1243
|
display: flex;
|
|
1244
1244
|
align-items: center;
|
|
1245
1245
|
gap: 8px;
|
|
1246
1246
|
}
|
|
1247
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1247
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-cb3ea22c] {
|
|
1248
1248
|
opacity: 0.6;
|
|
1249
1249
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
1250
1250
|
cursor: pointer;
|
|
1251
1251
|
}
|
|
1252
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1252
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-cb3ea22c]:hover {
|
|
1253
1253
|
opacity: 1;
|
|
1254
1254
|
transform: scale(1.1);
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
/* ================= 3. 动态行工具栏 ================= */
|
|
1258
|
-
.dynamic-rows-toolbar[data-v-
|
|
1258
|
+
.dynamic-rows-toolbar[data-v-cb3ea22c] {
|
|
1259
1259
|
margin-bottom: 16px;
|
|
1260
1260
|
padding: 16px;
|
|
1261
1261
|
border-radius: 8px;
|
|
@@ -1264,12 +1264,12 @@ to {
|
|
|
1264
1264
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1265
1265
|
transition: all 0.2s ease;
|
|
1266
1266
|
}
|
|
1267
|
-
.dynamic-rows-toolbar[data-v-
|
|
1267
|
+
.dynamic-rows-toolbar[data-v-cb3ea22c]:hover {
|
|
1268
1268
|
border-color: var(--n-primary-color-suppl);
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
1271
|
/* ================= 4. 表格布局基础 ================= */
|
|
1272
|
-
[data-v-
|
|
1272
|
+
[data-v-cb3ea22c] .n-data-table {
|
|
1273
1273
|
table-layout: auto !important;
|
|
1274
1274
|
width: 100% !important;
|
|
1275
1275
|
border-radius: 8px;
|
|
@@ -1277,12 +1277,12 @@ to {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
1279
|
/* 确保表格容器允许横向滚动(固定列必需) */
|
|
1280
|
-
[data-v-
|
|
1280
|
+
[data-v-cb3ea22c] .n-data-table-wrapper {
|
|
1281
1281
|
overflow-x: auto !important;
|
|
1282
1282
|
}
|
|
1283
1283
|
|
|
1284
1284
|
/* 分页组件样式 */
|
|
1285
|
-
.pagination-wrapper[data-v-
|
|
1285
|
+
.pagination-wrapper[data-v-cb3ea22c] {
|
|
1286
1286
|
margin-top: 16px;
|
|
1287
1287
|
display: flex;
|
|
1288
1288
|
justify-content: flex-end;
|
|
@@ -1290,12 +1290,12 @@ to {
|
|
|
1290
1290
|
|
|
1291
1291
|
/* ================= 5. 表格列宽度管理 ================= */
|
|
1292
1292
|
/* 普通列的最小宽度保护 */
|
|
1293
|
-
[data-v-
|
|
1293
|
+
[data-v-cb3ea22c] .n-data-table-th:not(:last-child) {
|
|
1294
1294
|
min-width: 80px !important;
|
|
1295
1295
|
}
|
|
1296
1296
|
|
|
1297
1297
|
/* 操作列固定宽度(适应4个按钮的布局) */
|
|
1298
|
-
[data-v-
|
|
1298
|
+
[data-v-cb3ea22c] .c-table-actions-column {
|
|
1299
1299
|
width: 180px !important;
|
|
1300
1300
|
min-width: 160px !important;
|
|
1301
1301
|
max-width: 200px !important;
|
|
@@ -1304,14 +1304,14 @@ to {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
1306
|
/* 操作按钮容器居中 */
|
|
1307
|
-
[data-v-
|
|
1307
|
+
[data-v-cb3ea22c] .c-table-actions-column .n-space {
|
|
1308
1308
|
justify-content: center !important;
|
|
1309
1309
|
align-items: center !important;
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
/* ================= 6. 可编辑单元格样式 ================= */
|
|
1313
1313
|
/* 单元格编辑容器 - 精致化设计 */
|
|
1314
|
-
.cell-edit-wrapper[data-v-
|
|
1314
|
+
.cell-edit-wrapper[data-v-cb3ea22c] {
|
|
1315
1315
|
display: flex;
|
|
1316
1316
|
align-items: center;
|
|
1317
1317
|
justify-content: space-between;
|
|
@@ -1324,23 +1324,23 @@ to {
|
|
|
1324
1324
|
position: relative;
|
|
1325
1325
|
/* 悬停效果 */
|
|
1326
1326
|
}
|
|
1327
|
-
.cell-edit-wrapper[data-v-
|
|
1327
|
+
.cell-edit-wrapper[data-v-cb3ea22c]:hover {
|
|
1328
1328
|
background-color: var(--n-color-target);
|
|
1329
1329
|
}
|
|
1330
|
-
.cell-edit-wrapper:hover .cell-edit-icon[data-v-
|
|
1330
|
+
.cell-edit-wrapper:hover .cell-edit-icon[data-v-cb3ea22c] {
|
|
1331
1331
|
opacity: 1;
|
|
1332
1332
|
color: var(--n-color-success);
|
|
1333
1333
|
transform: scale(1.05);
|
|
1334
1334
|
}
|
|
1335
|
-
.cell-edit-wrapper[data-v-
|
|
1335
|
+
.cell-edit-wrapper[data-v-cb3ea22c] {
|
|
1336
1336
|
/* 激活状态 */
|
|
1337
1337
|
}
|
|
1338
|
-
.cell-edit-wrapper[data-v-
|
|
1338
|
+
.cell-edit-wrapper[data-v-cb3ea22c]:active {
|
|
1339
1339
|
transform: translateY(1px);
|
|
1340
1340
|
}
|
|
1341
1341
|
|
|
1342
1342
|
/* 单元格内容 */
|
|
1343
|
-
.cell-value[data-v-
|
|
1343
|
+
.cell-value[data-v-cb3ea22c] {
|
|
1344
1344
|
flex: 1;
|
|
1345
1345
|
overflow: hidden;
|
|
1346
1346
|
text-overflow: ellipsis;
|
|
@@ -1351,7 +1351,7 @@ to {
|
|
|
1351
1351
|
}
|
|
1352
1352
|
|
|
1353
1353
|
/* 编辑图标 - 使用全局选择器确保动态创建的元素也能被选中 */
|
|
1354
|
-
.cell-edit-icon[data-v-
|
|
1354
|
+
.cell-edit-icon[data-v-cb3ea22c],.cell-edit-icon {
|
|
1355
1355
|
flex-shrink: 0;
|
|
1356
1356
|
width: 24px;
|
|
1357
1357
|
height: 24px;
|
|
@@ -1367,29 +1367,29 @@ to {
|
|
|
1367
1367
|
position: relative;
|
|
1368
1368
|
/* 悬停效果 */
|
|
1369
1369
|
}
|
|
1370
|
-
.cell-edit-icon[data-v-
|
|
1370
|
+
.cell-edit-icon[data-v-cb3ea22c]:hover,.cell-edit-icon {
|
|
1371
1371
|
opacity: 1 !important;
|
|
1372
1372
|
color: var(--n-color-success-hover) !important;
|
|
1373
1373
|
background-color: var(--n-color-success-pressed);
|
|
1374
1374
|
transform: scale(1.1);
|
|
1375
1375
|
}
|
|
1376
|
-
.cell-edit-icon[data-v-
|
|
1376
|
+
.cell-edit-icon[data-v-cb3ea22c],.cell-edit-icon {
|
|
1377
1377
|
/* 激活效果 */
|
|
1378
1378
|
}
|
|
1379
|
-
.cell-edit-icon[data-v-
|
|
1379
|
+
.cell-edit-icon[data-v-cb3ea22c]:active,.cell-edit-icon {
|
|
1380
1380
|
transform: scale(0.95);
|
|
1381
1381
|
}
|
|
1382
|
-
.cell-edit-icon[data-v-
|
|
1382
|
+
.cell-edit-icon[data-v-cb3ea22c],.cell-edit-icon {
|
|
1383
1383
|
/* 图标尺寸 */
|
|
1384
1384
|
}
|
|
1385
|
-
.cell-edit-icon svg[data-v-
|
|
1385
|
+
.cell-edit-icon svg[data-v-cb3ea22c],.cell-edit-icon {
|
|
1386
1386
|
width: 14px;
|
|
1387
1387
|
height: 14px;
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
1390
|
/* ================= 7. 单元格编辑状态样式 ================= */
|
|
1391
1391
|
/* 编辑容器 - 确保水平布局不换行 */
|
|
1392
|
-
.cell-editing-container[data-v-
|
|
1392
|
+
.cell-editing-container[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-editing-container {
|
|
1393
1393
|
display: flex !important;
|
|
1394
1394
|
align-items: center !important;
|
|
1395
1395
|
width: 100% !important;
|
|
@@ -1403,39 +1403,39 @@ to {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
/* 编辑输入区域 - 占据剩余空间 */
|
|
1406
|
-
.cell-editing-input[data-v-
|
|
1406
|
+
.cell-editing-input[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-editing-input {
|
|
1407
1407
|
flex: 1 !important;
|
|
1408
1408
|
min-width: 0 !important;
|
|
1409
1409
|
}
|
|
1410
1410
|
|
|
1411
1411
|
/* 深度选择器处理输入框样式 */
|
|
1412
|
-
[data-v-
|
|
1412
|
+
[data-v-cb3ea22c] .cell-editing-input .n-input {
|
|
1413
1413
|
border: none !important;
|
|
1414
1414
|
box-shadow: none !important;
|
|
1415
1415
|
background: transparent !important;
|
|
1416
1416
|
}
|
|
1417
|
-
[data-v-
|
|
1417
|
+
[data-v-cb3ea22c] .cell-editing-input .n-input.n-input--focus {
|
|
1418
1418
|
border: none !important;
|
|
1419
1419
|
box-shadow: none !important;
|
|
1420
1420
|
}
|
|
1421
|
-
[data-v-
|
|
1421
|
+
[data-v-cb3ea22c] .cell-editing-input .n-input-number {
|
|
1422
1422
|
border: none !important;
|
|
1423
1423
|
box-shadow: none !important;
|
|
1424
1424
|
background: transparent !important;
|
|
1425
1425
|
}
|
|
1426
|
-
[data-v-
|
|
1426
|
+
[data-v-cb3ea22c] .cell-editing-input .n-select {
|
|
1427
1427
|
border: none !important;
|
|
1428
1428
|
box-shadow: none !important;
|
|
1429
1429
|
background: transparent !important;
|
|
1430
1430
|
}
|
|
1431
|
-
[data-v-
|
|
1431
|
+
[data-v-cb3ea22c] .cell-editing-input .n-select .n-base-selection {
|
|
1432
1432
|
border: none !important;
|
|
1433
1433
|
box-shadow: none !important;
|
|
1434
1434
|
background: transparent !important;
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
1437
|
/* 编辑操作按钮容器 */
|
|
1438
|
-
.cell-editing-actions[data-v-
|
|
1438
|
+
.cell-editing-actions[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-editing-actions {
|
|
1439
1439
|
display: flex !important;
|
|
1440
1440
|
flex-shrink: 0 !important;
|
|
1441
1441
|
align-items: center !important;
|
|
@@ -1448,7 +1448,7 @@ to {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
1450
|
/* 编辑操作按钮 */
|
|
1451
|
-
.cell-action-btn[data-v-
|
|
1451
|
+
.cell-action-btn[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn {
|
|
1452
1452
|
display: flex !important;
|
|
1453
1453
|
align-items: center !important;
|
|
1454
1454
|
justify-content: center !important;
|
|
@@ -1461,34 +1461,34 @@ to {
|
|
|
1461
1461
|
background: transparent !important;
|
|
1462
1462
|
/* 保存按钮 */
|
|
1463
1463
|
}
|
|
1464
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1464
|
+
.cell-action-btn.cell-action-save[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn.cell-action-save {
|
|
1465
1465
|
color: var(--n-color-success) !important;
|
|
1466
1466
|
}
|
|
1467
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1467
|
+
.cell-action-btn.cell-action-save[data-v-cb3ea22c]:hover,[data-v-cb3ea22c] .cell-action-btn.cell-action-save:hover {
|
|
1468
1468
|
background: var(--n-color-success-pressed) !important;
|
|
1469
1469
|
transform: scale(1.1) !important;
|
|
1470
1470
|
}
|
|
1471
|
-
.cell-action-btn[data-v-
|
|
1471
|
+
.cell-action-btn[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn {
|
|
1472
1472
|
/* 取消按钮 */
|
|
1473
1473
|
}
|
|
1474
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1474
|
+
.cell-action-btn.cell-action-cancel[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn.cell-action-cancel {
|
|
1475
1475
|
color: var(--n-color-error) !important;
|
|
1476
1476
|
}
|
|
1477
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1477
|
+
.cell-action-btn.cell-action-cancel[data-v-cb3ea22c]:hover,[data-v-cb3ea22c] .cell-action-btn.cell-action-cancel:hover {
|
|
1478
1478
|
background: var(--n-color-error-pressed) !important;
|
|
1479
1479
|
transform: scale(1.1) !important;
|
|
1480
1480
|
}
|
|
1481
|
-
.cell-action-btn[data-v-
|
|
1481
|
+
.cell-action-btn[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn {
|
|
1482
1482
|
/* 图标尺寸 */
|
|
1483
1483
|
}
|
|
1484
|
-
.cell-action-btn svg[data-v-
|
|
1484
|
+
.cell-action-btn svg[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn svg {
|
|
1485
1485
|
width: 11px !important;
|
|
1486
1486
|
height: 11px !important;
|
|
1487
1487
|
}
|
|
1488
1488
|
|
|
1489
1489
|
/* ================= 7. 操作按钮样式 ================= */
|
|
1490
1490
|
/* 通用按钮样式 */
|
|
1491
|
-
[data-v-
|
|
1491
|
+
[data-v-cb3ea22c] .n-button {
|
|
1492
1492
|
white-space: nowrap;
|
|
1493
1493
|
font-size: 12px !important;
|
|
1494
1494
|
flex-shrink: 0 !important;
|
|
@@ -1497,60 +1497,60 @@ to {
|
|
|
1497
1497
|
font-weight: 500;
|
|
1498
1498
|
/* 图标间距 */
|
|
1499
1499
|
}
|
|
1500
|
-
[data-v-
|
|
1500
|
+
[data-v-cb3ea22c] .n-button .n-icon {
|
|
1501
1501
|
margin-right: 4px !important;
|
|
1502
1502
|
}
|
|
1503
|
-
[data-v-
|
|
1503
|
+
[data-v-cb3ea22c] .n-button {
|
|
1504
1504
|
/* 小尺寸按钮优化 */
|
|
1505
1505
|
}
|
|
1506
|
-
[data-v-
|
|
1506
|
+
[data-v-cb3ea22c] .n-button.n-button--small-type {
|
|
1507
1507
|
padding: 4px 8px;
|
|
1508
1508
|
height: 28px;
|
|
1509
1509
|
line-height: 20px;
|
|
1510
1510
|
}
|
|
1511
|
-
[data-v-
|
|
1511
|
+
[data-v-cb3ea22c] .n-button {
|
|
1512
1512
|
/* 四元按钮样式 */
|
|
1513
1513
|
}
|
|
1514
|
-
[data-v-
|
|
1514
|
+
[data-v-cb3ea22c] .n-button.n-button--quaternary-type:hover {
|
|
1515
1515
|
transform: translateY(-1px);
|
|
1516
1516
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
1517
1517
|
}
|
|
1518
|
-
[data-v-
|
|
1518
|
+
[data-v-cb3ea22c] .n-button.n-button--quaternary-type:active {
|
|
1519
1519
|
transform: translateY(0);
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
1522
|
/* ================= 8. 按钮组间距优化 ================= */
|
|
1523
1523
|
/* 操作按钮组 */
|
|
1524
|
-
[data-v-
|
|
1524
|
+
[data-v-cb3ea22c] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
1525
1525
|
margin-right: 6px !important;
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
/* ================= 9. 模态框样式优化 ================= */
|
|
1529
1529
|
/* 编辑模态框 */
|
|
1530
|
-
[data-v-
|
|
1530
|
+
[data-v-cb3ea22c] .n-modal .n-card {
|
|
1531
1531
|
border-radius: 12px;
|
|
1532
1532
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
1533
1533
|
}
|
|
1534
|
-
[data-v-
|
|
1534
|
+
[data-v-cb3ea22c] .n-modal .n-card__header {
|
|
1535
1535
|
padding: 20px 24px 16px;
|
|
1536
1536
|
font-weight: 600;
|
|
1537
1537
|
font-size: 16px;
|
|
1538
1538
|
}
|
|
1539
|
-
[data-v-
|
|
1539
|
+
[data-v-cb3ea22c] .n-modal .n-card__content {
|
|
1540
1540
|
padding: 0 24px 16px;
|
|
1541
1541
|
}
|
|
1542
|
-
[data-v-
|
|
1542
|
+
[data-v-cb3ea22c] .n-modal .n-card__action {
|
|
1543
1543
|
padding: 16px 24px 20px;
|
|
1544
1544
|
border-top: 1px solid var(--n-divider-color);
|
|
1545
1545
|
}
|
|
1546
1546
|
|
|
1547
1547
|
/* ================= 10. 描述列表样式 ================= */
|
|
1548
1548
|
/* 详情模态框描述列表 */
|
|
1549
|
-
[data-v-
|
|
1549
|
+
[data-v-cb3ea22c] .n-descriptions .n-descriptions-item-label {
|
|
1550
1550
|
font-weight: 500;
|
|
1551
1551
|
color: var(--n-text-color-2);
|
|
1552
1552
|
}
|
|
1553
|
-
[data-v-
|
|
1553
|
+
[data-v-cb3ea22c] .n-descriptions .n-descriptions-item-content {
|
|
1554
1554
|
color: var(--n-text-color-1);
|
|
1555
1555
|
word-break: break-all;
|
|
1556
1556
|
}
|
|
@@ -1558,99 +1558,99 @@ to {
|
|
|
1558
1558
|
/* ================= 11. 响应式设计 ================= */
|
|
1559
1559
|
/* 移动端适配 */
|
|
1560
1560
|
@media (max-width: 768px) {
|
|
1561
|
-
.c-table-wrapper[data-v-
|
|
1561
|
+
.c-table-wrapper[data-v-cb3ea22c] {
|
|
1562
1562
|
overflow-x: auto;
|
|
1563
1563
|
}
|
|
1564
1564
|
/* 操作列在移动端的适配 */
|
|
1565
|
-
[data-v-
|
|
1565
|
+
[data-v-cb3ea22c] .n-data-table-th:last-child {
|
|
1566
1566
|
width: 160px !important;
|
|
1567
1567
|
min-width: 160px !important;
|
|
1568
1568
|
}
|
|
1569
1569
|
/* 按钮在移动端的优化 */
|
|
1570
|
-
[data-v-
|
|
1570
|
+
[data-v-cb3ea22c] .n-button {
|
|
1571
1571
|
font-size: 11px !important;
|
|
1572
1572
|
padding: 3px 6px;
|
|
1573
1573
|
}
|
|
1574
|
-
[data-v-
|
|
1574
|
+
[data-v-cb3ea22c] .n-button .n-icon {
|
|
1575
1575
|
margin-right: 2px !important;
|
|
1576
1576
|
}
|
|
1577
1577
|
/* 单元格编辑图标在移动端始终显示 */
|
|
1578
|
-
.cell-edit-icon[data-v-
|
|
1578
|
+
.cell-edit-icon[data-v-cb3ea22c] {
|
|
1579
1579
|
opacity: 0.6;
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
1582
|
/* ================= 12. 主题适配 ================= */
|
|
1583
1583
|
/* 暗色主题适配 - 已通过 CSS 变量自动适配 */
|
|
1584
|
-
[data-theme=dark][data-v-
|
|
1584
|
+
[data-theme=dark][data-v-cb3ea22c] {
|
|
1585
1585
|
/* CSS 变量已自动适配,如有特殊需求可在此添加 */
|
|
1586
1586
|
}
|
|
1587
1587
|
|
|
1588
1588
|
/* ================= 13. 响应式优化 ================= */
|
|
1589
1589
|
/* 小屏幕下的单元格编辑优化 */
|
|
1590
1590
|
@media (max-width: 768px) {
|
|
1591
|
-
.cell-editing-container[data-v-
|
|
1591
|
+
.cell-editing-container[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-editing-container {
|
|
1592
1592
|
gap: 6px !important;
|
|
1593
1593
|
}
|
|
1594
|
-
.cell-editing-actions[data-v-
|
|
1594
|
+
.cell-editing-actions[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-editing-actions {
|
|
1595
1595
|
gap: 3px !important;
|
|
1596
1596
|
padding: 2px !important;
|
|
1597
1597
|
}
|
|
1598
|
-
.cell-action-btn[data-v-
|
|
1598
|
+
.cell-action-btn[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn {
|
|
1599
1599
|
width: 18px !important;
|
|
1600
1600
|
height: 18px !important;
|
|
1601
1601
|
}
|
|
1602
|
-
.cell-action-btn svg[data-v-
|
|
1602
|
+
.cell-action-btn svg[data-v-cb3ea22c],[data-v-cb3ea22c] .cell-action-btn svg {
|
|
1603
1603
|
width: 10px !important;
|
|
1604
1604
|
height: 10px !important;
|
|
1605
1605
|
}
|
|
1606
1606
|
/* 移动端编辑图标 */
|
|
1607
|
-
.cell-edit-icon[data-v-
|
|
1607
|
+
.cell-edit-icon[data-v-cb3ea22c] {
|
|
1608
1608
|
opacity: 0.6 !important;
|
|
1609
1609
|
}
|
|
1610
|
-
.cell-value[data-v-
|
|
1610
|
+
.cell-value[data-v-cb3ea22c] {
|
|
1611
1611
|
margin-right: 12px !important;
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
1614
|
/* ================= 14. 性能优化 ================= */
|
|
1615
1615
|
/* 使用 GPU 加速的动画 */
|
|
1616
|
-
.cell-edit-icon[data-v-
|
|
1617
|
-
.cell-action-btn[data-v-
|
|
1616
|
+
.cell-edit-icon[data-v-cb3ea22c],
|
|
1617
|
+
.cell-action-btn[data-v-cb3ea22c] {
|
|
1618
1618
|
will-change: transform;
|
|
1619
1619
|
backface-visibility: hidden;
|
|
1620
1620
|
}
|
|
1621
|
-
[data-v-
|
|
1621
|
+
[data-v-cb3ea22c] .n-button {
|
|
1622
1622
|
will-change: transform;
|
|
1623
1623
|
backface-visibility: hidden;
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
1626
1626
|
/* ================= 15. 可访问性优化 ================= */
|
|
1627
1627
|
/* 聚焦状态 */
|
|
1628
|
-
.cell-edit-wrapper[data-v-
|
|
1629
|
-
.cell-editing-container[data-v-
|
|
1628
|
+
.cell-edit-wrapper[data-v-cb3ea22c]:focus-within,
|
|
1629
|
+
.cell-editing-container[data-v-cb3ea22c]:focus-within {
|
|
1630
1630
|
outline: 2px solid var(--n-primary-color);
|
|
1631
1631
|
outline-offset: 2px;
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
1634
1634
|
/* 高对比度模式支持 */
|
|
1635
1635
|
@media (prefers-contrast: high) {
|
|
1636
|
-
.cell-edit-icon[data-v-
|
|
1636
|
+
.cell-edit-icon[data-v-cb3ea22c] {
|
|
1637
1637
|
opacity: 0.8;
|
|
1638
1638
|
}
|
|
1639
|
-
.cell-editing-actions[data-v-
|
|
1639
|
+
.cell-editing-actions[data-v-cb3ea22c] {
|
|
1640
1640
|
border-width: 2px;
|
|
1641
1641
|
}
|
|
1642
1642
|
}
|
|
1643
1643
|
/* ================= 11. 行拖拽排序 ================= */
|
|
1644
|
-
.row-drag-ghost[data-v-
|
|
1644
|
+
.row-drag-ghost[data-v-cb3ea22c] {
|
|
1645
1645
|
opacity: 0.4;
|
|
1646
1646
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1647
1647
|
}
|
|
1648
|
-
.row-drag-chosen[data-v-
|
|
1648
|
+
.row-drag-chosen[data-v-cb3ea22c] {
|
|
1649
1649
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
1652
|
/* ================= 12. 批量操作栏 ================= */
|
|
1653
|
-
.batch-actions-bar[data-v-
|
|
1653
|
+
.batch-actions-bar[data-v-cb3ea22c] {
|
|
1654
1654
|
display: flex;
|
|
1655
1655
|
align-items: center;
|
|
1656
1656
|
justify-content: space-between;
|
|
@@ -1660,25 +1660,25 @@ to {
|
|
|
1660
1660
|
border-radius: 6px;
|
|
1661
1661
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
1662
1662
|
}
|
|
1663
|
-
.batch-actions-bar .batch-info[data-v-
|
|
1663
|
+
.batch-actions-bar .batch-info[data-v-cb3ea22c] {
|
|
1664
1664
|
font-size: 13px;
|
|
1665
1665
|
color: var(--n-text-color-2);
|
|
1666
1666
|
font-weight: 500;
|
|
1667
1667
|
}
|
|
1668
1668
|
|
|
1669
1669
|
/* ================= 13. 错误状态 ================= */
|
|
1670
|
-
.table-error-state[data-v-
|
|
1670
|
+
.table-error-state[data-v-cb3ea22c] {
|
|
1671
1671
|
padding: 48px 24px;
|
|
1672
1672
|
text-align: center;
|
|
1673
1673
|
}
|
|
1674
|
-
.table-error-state .error-content[data-v-
|
|
1674
|
+
.table-error-state .error-content[data-v-cb3ea22c] {
|
|
1675
1675
|
display: flex;
|
|
1676
1676
|
flex-direction: column;
|
|
1677
1677
|
align-items: center;
|
|
1678
1678
|
gap: 12px;
|
|
1679
1679
|
color: var(--n-text-color-3, #999);
|
|
1680
1680
|
}
|
|
1681
|
-
.table-error-state .error-message[data-v-
|
|
1681
|
+
.table-error-state .error-message[data-v-cb3ea22c] {
|
|
1682
1682
|
font-size: 14px;
|
|
1683
1683
|
margin: 0;
|
|
1684
1684
|
color: var(--n-text-color-2, #666);
|
package/dist/constants.d.cts
CHANGED
|
@@ -110,20 +110,20 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
110
110
|
reset: typeof handleReset;
|
|
111
111
|
validate: () => CronValidation;
|
|
112
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
113
|
-
"update:modelValue": (value: string) => any;
|
|
114
113
|
change: (value: string) => any;
|
|
114
|
+
"update:modelValue": (value: string) => any;
|
|
115
115
|
"validation-change": (result: CronValidation) => any;
|
|
116
116
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
117
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
118
117
|
onChange?: ((value: string) => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
|
-
modelValue: string;
|
|
122
121
|
disabled: boolean;
|
|
122
|
+
modelValue: string;
|
|
123
123
|
height: string | number;
|
|
124
|
+
showPreview: boolean;
|
|
124
125
|
previewCount: number;
|
|
125
126
|
showTemplates: boolean;
|
|
126
|
-
showPreview: boolean;
|
|
127
127
|
showSecond: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
package/dist/constants.d.ts
CHANGED
|
@@ -110,20 +110,20 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
110
110
|
reset: typeof handleReset;
|
|
111
111
|
validate: () => CronValidation;
|
|
112
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
113
|
-
"update:modelValue": (value: string) => any;
|
|
114
113
|
change: (value: string) => any;
|
|
114
|
+
"update:modelValue": (value: string) => any;
|
|
115
115
|
"validation-change": (result: CronValidation) => any;
|
|
116
116
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
117
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
118
117
|
onChange?: ((value: string) => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
|
-
modelValue: string;
|
|
122
121
|
disabled: boolean;
|
|
122
|
+
modelValue: string;
|
|
123
123
|
height: string | number;
|
|
124
|
+
showPreview: boolean;
|
|
124
125
|
previewCount: number;
|
|
125
126
|
showTemplates: boolean;
|
|
126
|
-
showPreview: boolean;
|
|
127
127
|
showSecond: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
package/dist/constants2.d.cts
CHANGED
|
@@ -112,22 +112,22 @@ interface FormulaEditorExpose {
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
114
114
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
115
|
-
"update:modelValue": (value: string) => any;
|
|
116
115
|
change: (value: string) => any;
|
|
116
|
+
"update:modelValue": (value: string) => any;
|
|
117
117
|
"validation-change": (result: FormulaValidation) => any;
|
|
118
118
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
119
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
119
|
onChange?: ((value: string) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
+
disabled: boolean;
|
|
123
124
|
modelValue: string;
|
|
124
125
|
placeholder: string;
|
|
125
|
-
disabled: boolean;
|
|
126
126
|
height: string | number;
|
|
127
|
-
showPreview: boolean;
|
|
128
127
|
variables: FormulaVariable[];
|
|
129
128
|
functions: FormulaFunction[];
|
|
130
129
|
sampleData: Record<string, number | string | boolean>;
|
|
130
|
+
showPreview: boolean;
|
|
131
131
|
showKeyboard: boolean;
|
|
132
132
|
showVariablePanel: boolean;
|
|
133
133
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -112,22 +112,22 @@ interface FormulaEditorExpose {
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
114
114
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
115
|
-
"update:modelValue": (value: string) => any;
|
|
116
115
|
change: (value: string) => any;
|
|
116
|
+
"update:modelValue": (value: string) => any;
|
|
117
117
|
"validation-change": (result: FormulaValidation) => any;
|
|
118
118
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
119
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
119
|
onChange?: ((value: string) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
+
disabled: boolean;
|
|
123
124
|
modelValue: string;
|
|
124
125
|
placeholder: string;
|
|
125
|
-
disabled: boolean;
|
|
126
126
|
height: string | number;
|
|
127
|
-
showPreview: boolean;
|
|
128
127
|
variables: FormulaVariable[];
|
|
129
128
|
functions: FormulaFunction[];
|
|
130
129
|
sampleData: Record<string, number | string | boolean>;
|
|
130
|
+
showPreview: boolean;
|
|
131
131
|
showKeyboard: boolean;
|
|
132
132
|
showVariablePanel: boolean;
|
|
133
133
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/constants3.d.cts
CHANGED
|
@@ -154,29 +154,29 @@ interface NotificationCenterExpose {
|
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/components/C_NotificationCenter/index.vue.d.ts
|
|
156
156
|
declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
157
|
-
itemClick: (message: NotificationMessage) => any;
|
|
158
157
|
delete: (ids: string[]) => any;
|
|
159
158
|
read: (ids: string[]) => any;
|
|
159
|
+
itemClick: (message: NotificationMessage) => any;
|
|
160
160
|
allRead: (category?: NotificationCategory | undefined) => any;
|
|
161
161
|
unreadChange: (count: number) => any;
|
|
162
162
|
wsStatusChange: (status: string) => any;
|
|
163
163
|
newMessage: (message: NotificationMessage) => any;
|
|
164
164
|
navigate: (url: string) => any;
|
|
165
165
|
}, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
|
|
166
|
-
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
167
166
|
onDelete?: ((ids: string[]) => any) | undefined;
|
|
168
167
|
onRead?: ((ids: string[]) => any) | undefined;
|
|
168
|
+
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
169
169
|
onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
|
|
170
170
|
onUnreadChange?: ((count: number) => any) | undefined;
|
|
171
171
|
onWsStatusChange?: ((status: string) => any) | undefined;
|
|
172
172
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
173
173
|
onNavigate?: ((url: string) => any) | undefined;
|
|
174
174
|
}>, {
|
|
175
|
-
storageKey: string;
|
|
176
|
-
pageSize: number;
|
|
177
175
|
desktopNotification: boolean;
|
|
178
176
|
maxBadgeCount: number;
|
|
179
177
|
pollingInterval: number;
|
|
178
|
+
pageSize: number;
|
|
179
|
+
storageKey: string;
|
|
180
180
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
181
181
|
declare const _default: typeof __VLS_export;
|
|
182
182
|
//#endregion
|