@robot-admin/naive-ui-components 0.11.8 → 0.12.1
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/README.md +145 -28
- package/README_EN.md +145 -28
- package/SECURITY.md +1 -0
- package/dist/C_ActionBar.cjs +1 -1
- package/dist/C_ActionBar.css +53 -53
- package/dist/C_ActionBar.d.cts +2 -2
- package/dist/C_ActionBar.d.ts +2 -2
- package/dist/C_ActionBar.js +1 -1
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +67 -67
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_AudioPlayer.d.cts +1 -1
- package/dist/C_AudioPlayer.d.ts +1 -1
- package/dist/C_AvatarGroup.d.cts +1 -1
- package/dist/C_AvatarGroup.d.ts +1 -1
- package/dist/C_Barcode.d.cts +1 -1
- package/dist/C_Barcode.d.ts +1 -1
- package/dist/C_Breadcrumb.d.cts +1 -1
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Captcha.cjs +1 -1
- package/dist/C_Captcha.css +193 -51
- package/dist/C_Captcha.d.cts +2 -3
- package/dist/C_Captcha.d.ts +2 -3
- package/dist/C_Captcha.js +1 -1
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_FormModal.cjs +1 -0
- package/dist/C_FormModal.css +41 -0
- package/dist/C_FormModal.d.cts +2 -0
- package/dist/C_FormModal.d.ts +3 -0
- package/dist/C_FormModal.js +1 -0
- package/dist/C_FormModal2.cjs +1 -0
- package/dist/C_FormModal2.js +1 -0
- package/dist/C_Login.css +210 -127
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Map.css +3 -3
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_Menu.d.cts +1 -1
- package/dist/C_Table.base.css +86 -86
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +86 -86
- package/dist/C_Table.d.ts +4 -3
- package/dist/C_Table.js +1 -1
- package/dist/C_Tabs.cjs +1 -0
- package/dist/C_Tabs.css +1 -0
- package/dist/C_Tabs.d.cts +2 -0
- package/dist/C_Tabs.d.ts +2 -0
- package/dist/C_Tabs.js +1 -0
- package/dist/C_TagsView.css +38 -38
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.cts +3 -3
- package/dist/constants2.d.ts +3 -3
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +2 -2
- package/dist/constants4.d.ts +2 -2
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +108 -0
- package/dist/data.d.ts +108 -0
- package/dist/data2.cjs +1 -0
- package/dist/data2.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +49 -48
- package/dist/index.d.ts +51 -49
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +72 -69
- package/dist/index.vue.d.ts +72 -69
- package/dist/index10.vue.d.cts +80 -39
- package/dist/index10.vue.d.ts +68 -77
- package/dist/index11.vue.d.cts +68 -77
- package/dist/index11.vue.d.ts +53 -68
- package/dist/index12.vue.d.cts +53 -68
- package/dist/index12.vue.d.ts +52 -58
- package/dist/index13.vue.d.cts +52 -58
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index14.vue.d.ts +4 -4
- package/dist/index15.vue.d.cts +4 -4
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index16.vue.d.ts +15 -12
- package/dist/index17.vue.d.cts +15 -12
- package/dist/index17.vue.d.ts +3 -3
- package/dist/index18.vue.d.cts +3 -3
- package/dist/index2.vue.d.cts +70 -65
- package/dist/index2.vue.d.ts +70 -65
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index26.vue.d.cts +3 -3
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +30 -80
- package/dist/index3.vue.d.ts +30 -80
- package/dist/index4.vue.d.cts +130 -30
- package/dist/index4.vue.d.ts +22 -30
- package/dist/index5.vue.d.cts +18 -126
- package/dist/index5.vue.d.ts +22 -19
- package/dist/index6.vue.d.cts +22 -19
- package/dist/index6.vue.d.ts +117 -22
- package/dist/index7.vue.d.cts +117 -22
- package/dist/index7.vue.d.ts +17 -110
- package/dist/index8.vue.d.cts +17 -110
- package/dist/index8.vue.d.ts +37 -24
- package/dist/index9.vue.d.cts +37 -24
- package/dist/index9.vue.d.ts +80 -39
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/presets.d.cts +96 -0
- package/dist/presets.d.ts +96 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/style.css +501 -374
- package/dist/useCalendarEvents.d.cts +2 -2
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDraggableLayout.d.cts +3 -3
- package/dist/useDraggableLayout.d.ts +3 -3
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -1
- package/dist/useEdgeInteraction.d.ts +2 -1
- package/dist/useInfiniteScroll.d.cts +3 -3
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.cts +9 -9
- package/dist/useSearchState.d.ts +9 -9
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +11 -1
- package/dist/useTableQuery.d.ts +11 -1
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +3 -3
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useTreeOperations.d.cts +6 -6
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +5 -5
- package/dist/useWorkflowValidation.d.ts +5 -5
- package/dist/verification.d.cts +69 -4
- package/dist/verification.d.ts +69 -4
- package/package.json +2 -1
- package/dist/types.d.ts +0 -58
- package/dist/types2.d.cts +0 -58
package/dist/C_Table.css
CHANGED
|
@@ -1256,7 +1256,7 @@ to {
|
|
|
1256
1256
|
transform: scale(1.15);
|
|
1257
1257
|
}
|
|
1258
1258
|
/* unplugin-vue-components disabled *//* ================= 1. 组件根容器 ================= */
|
|
1259
|
-
.c-table-wrapper[data-v-
|
|
1259
|
+
.c-table-wrapper[data-v-4bd8844d] {
|
|
1260
1260
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
1261
1261
|
--c-table-bg: var(--body-color, #fff);
|
|
1262
1262
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -1269,52 +1269,52 @@ to {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
1271
|
/* ================= 列拖拽排序 ================= */
|
|
1272
|
-
.column-drag-ghost[data-v-
|
|
1272
|
+
.column-drag-ghost[data-v-4bd8844d] {
|
|
1273
1273
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
1274
1274
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1275
1275
|
}
|
|
1276
|
-
.drag-handle[data-v-
|
|
1276
|
+
.drag-handle[data-v-4bd8844d] {
|
|
1277
1277
|
cursor: grab;
|
|
1278
1278
|
}
|
|
1279
|
-
.drag-handle[data-v-
|
|
1279
|
+
.drag-handle[data-v-4bd8844d]:active {
|
|
1280
1280
|
cursor: grabbing;
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
/* ================= 合计行强调 ================= */
|
|
1284
|
-
.c-table-wrapper[data-v-
|
|
1284
|
+
.c-table-wrapper[data-v-4bd8844d] .n-data-table-tfoot {
|
|
1285
1285
|
background: var(--c-table-summary-bg);
|
|
1286
1286
|
font-weight: var(--c-table-summary-font-weight);
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
1289
|
/* ================= 2. 表格工具栏 ================= */
|
|
1290
|
-
.table-toolbar[data-v-
|
|
1290
|
+
.table-toolbar[data-v-4bd8844d] {
|
|
1291
1291
|
display: flex;
|
|
1292
1292
|
justify-content: space-between;
|
|
1293
1293
|
align-items: center;
|
|
1294
1294
|
margin-bottom: 16px;
|
|
1295
1295
|
}
|
|
1296
|
-
.table-toolbar .toolbar-left[data-v-
|
|
1296
|
+
.table-toolbar .toolbar-left[data-v-4bd8844d] {
|
|
1297
1297
|
display: flex;
|
|
1298
1298
|
align-items: center;
|
|
1299
1299
|
gap: 12px;
|
|
1300
1300
|
}
|
|
1301
|
-
.table-toolbar .toolbar-right[data-v-
|
|
1301
|
+
.table-toolbar .toolbar-right[data-v-4bd8844d] {
|
|
1302
1302
|
display: flex;
|
|
1303
1303
|
align-items: center;
|
|
1304
1304
|
gap: 8px;
|
|
1305
1305
|
}
|
|
1306
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1306
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-4bd8844d] {
|
|
1307
1307
|
opacity: 0.6;
|
|
1308
1308
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
1309
1309
|
cursor: pointer;
|
|
1310
1310
|
}
|
|
1311
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1311
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-4bd8844d]:hover {
|
|
1312
1312
|
opacity: 1;
|
|
1313
1313
|
transform: scale(1.1);
|
|
1314
1314
|
}
|
|
1315
1315
|
|
|
1316
1316
|
/* ================= 3. 动态行工具栏 ================= */
|
|
1317
|
-
.dynamic-rows-toolbar[data-v-
|
|
1317
|
+
.dynamic-rows-toolbar[data-v-4bd8844d] {
|
|
1318
1318
|
margin-bottom: 16px;
|
|
1319
1319
|
padding: 16px;
|
|
1320
1320
|
border-radius: 8px;
|
|
@@ -1323,12 +1323,12 @@ to {
|
|
|
1323
1323
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1324
1324
|
transition: all 0.2s ease;
|
|
1325
1325
|
}
|
|
1326
|
-
.dynamic-rows-toolbar[data-v-
|
|
1326
|
+
.dynamic-rows-toolbar[data-v-4bd8844d]:hover {
|
|
1327
1327
|
border-color: var(--n-primary-color-suppl);
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
1330
|
/* ================= 4. 表格布局基础 ================= */
|
|
1331
|
-
[data-v-
|
|
1331
|
+
[data-v-4bd8844d] .n-data-table {
|
|
1332
1332
|
table-layout: auto !important;
|
|
1333
1333
|
width: 100% !important;
|
|
1334
1334
|
border-radius: 8px;
|
|
@@ -1336,12 +1336,12 @@ to {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
1338
1338
|
/* 确保表格容器允许横向滚动(固定列必需) */
|
|
1339
|
-
[data-v-
|
|
1339
|
+
[data-v-4bd8844d] .n-data-table-wrapper {
|
|
1340
1340
|
overflow-x: auto !important;
|
|
1341
1341
|
}
|
|
1342
1342
|
|
|
1343
1343
|
/* 分页组件样式 */
|
|
1344
|
-
.pagination-wrapper[data-v-
|
|
1344
|
+
.pagination-wrapper[data-v-4bd8844d] {
|
|
1345
1345
|
margin-top: 16px;
|
|
1346
1346
|
display: flex;
|
|
1347
1347
|
justify-content: flex-end;
|
|
@@ -1349,12 +1349,12 @@ to {
|
|
|
1349
1349
|
|
|
1350
1350
|
/* ================= 5. 表格列宽度管理 ================= */
|
|
1351
1351
|
/* 普通列的最小宽度保护 */
|
|
1352
|
-
[data-v-
|
|
1352
|
+
[data-v-4bd8844d] .n-data-table-th:not(:last-child) {
|
|
1353
1353
|
min-width: 80px !important;
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
1356
|
/* 操作列固定宽度(适应4个按钮的布局) */
|
|
1357
|
-
[data-v-
|
|
1357
|
+
[data-v-4bd8844d] .c-table-actions-column {
|
|
1358
1358
|
width: 180px !important;
|
|
1359
1359
|
min-width: 160px !important;
|
|
1360
1360
|
max-width: 200px !important;
|
|
@@ -1363,14 +1363,14 @@ to {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
|
|
1365
1365
|
/* 操作按钮容器居中 */
|
|
1366
|
-
[data-v-
|
|
1366
|
+
[data-v-4bd8844d] .c-table-actions-column .n-space {
|
|
1367
1367
|
justify-content: center !important;
|
|
1368
1368
|
align-items: center !important;
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
1371
|
/* ================= 6. 可编辑单元格样式 ================= */
|
|
1372
1372
|
/* 单元格编辑容器 - 精致化设计 */
|
|
1373
|
-
.cell-edit-wrapper[data-v-
|
|
1373
|
+
.cell-edit-wrapper[data-v-4bd8844d] {
|
|
1374
1374
|
display: flex;
|
|
1375
1375
|
align-items: center;
|
|
1376
1376
|
justify-content: space-between;
|
|
@@ -1383,23 +1383,23 @@ to {
|
|
|
1383
1383
|
position: relative;
|
|
1384
1384
|
/* 悬停效果 */
|
|
1385
1385
|
}
|
|
1386
|
-
.cell-edit-wrapper[data-v-
|
|
1386
|
+
.cell-edit-wrapper[data-v-4bd8844d]:hover {
|
|
1387
1387
|
background-color: var(--n-color-target);
|
|
1388
1388
|
}
|
|
1389
|
-
.cell-edit-wrapper:hover .cell-edit-icon[data-v-
|
|
1389
|
+
.cell-edit-wrapper:hover .cell-edit-icon[data-v-4bd8844d] {
|
|
1390
1390
|
opacity: 1;
|
|
1391
1391
|
color: var(--n-color-success);
|
|
1392
1392
|
transform: scale(1.05);
|
|
1393
1393
|
}
|
|
1394
|
-
.cell-edit-wrapper[data-v-
|
|
1394
|
+
.cell-edit-wrapper[data-v-4bd8844d] {
|
|
1395
1395
|
/* 激活状态 */
|
|
1396
1396
|
}
|
|
1397
|
-
.cell-edit-wrapper[data-v-
|
|
1397
|
+
.cell-edit-wrapper[data-v-4bd8844d]:active {
|
|
1398
1398
|
transform: translateY(1px);
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
1401
|
/* 单元格内容 */
|
|
1402
|
-
.cell-value[data-v-
|
|
1402
|
+
.cell-value[data-v-4bd8844d] {
|
|
1403
1403
|
flex: 1;
|
|
1404
1404
|
overflow: hidden;
|
|
1405
1405
|
text-overflow: ellipsis;
|
|
@@ -1410,7 +1410,7 @@ to {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
1412
|
/* 编辑图标 - 使用全局选择器确保动态创建的元素也能被选中 */
|
|
1413
|
-
.cell-edit-icon[data-v-
|
|
1413
|
+
.cell-edit-icon[data-v-4bd8844d],.cell-edit-icon {
|
|
1414
1414
|
flex-shrink: 0;
|
|
1415
1415
|
width: 24px;
|
|
1416
1416
|
height: 24px;
|
|
@@ -1426,29 +1426,29 @@ to {
|
|
|
1426
1426
|
position: relative;
|
|
1427
1427
|
/* 悬停效果 */
|
|
1428
1428
|
}
|
|
1429
|
-
.cell-edit-icon[data-v-
|
|
1429
|
+
.cell-edit-icon[data-v-4bd8844d]:hover,.cell-edit-icon {
|
|
1430
1430
|
opacity: 1 !important;
|
|
1431
1431
|
color: var(--n-color-success-hover) !important;
|
|
1432
1432
|
background-color: var(--n-color-success-pressed);
|
|
1433
1433
|
transform: scale(1.1);
|
|
1434
1434
|
}
|
|
1435
|
-
.cell-edit-icon[data-v-
|
|
1435
|
+
.cell-edit-icon[data-v-4bd8844d],.cell-edit-icon {
|
|
1436
1436
|
/* 激活效果 */
|
|
1437
1437
|
}
|
|
1438
|
-
.cell-edit-icon[data-v-
|
|
1438
|
+
.cell-edit-icon[data-v-4bd8844d]:active,.cell-edit-icon {
|
|
1439
1439
|
transform: scale(0.95);
|
|
1440
1440
|
}
|
|
1441
|
-
.cell-edit-icon[data-v-
|
|
1441
|
+
.cell-edit-icon[data-v-4bd8844d],.cell-edit-icon {
|
|
1442
1442
|
/* 图标尺寸 */
|
|
1443
1443
|
}
|
|
1444
|
-
.cell-edit-icon svg[data-v-
|
|
1444
|
+
.cell-edit-icon svg[data-v-4bd8844d],.cell-edit-icon {
|
|
1445
1445
|
width: 14px;
|
|
1446
1446
|
height: 14px;
|
|
1447
1447
|
}
|
|
1448
1448
|
|
|
1449
1449
|
/* ================= 7. 单元格编辑状态样式 ================= */
|
|
1450
1450
|
/* 编辑容器 - 确保水平布局不换行 */
|
|
1451
|
-
.cell-editing-container[data-v-
|
|
1451
|
+
.cell-editing-container[data-v-4bd8844d],[data-v-4bd8844d] .cell-editing-container {
|
|
1452
1452
|
display: flex !important;
|
|
1453
1453
|
align-items: center !important;
|
|
1454
1454
|
width: 100% !important;
|
|
@@ -1462,39 +1462,39 @@ to {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
1464
|
/* 编辑输入区域 - 占据剩余空间 */
|
|
1465
|
-
.cell-editing-input[data-v-
|
|
1465
|
+
.cell-editing-input[data-v-4bd8844d],[data-v-4bd8844d] .cell-editing-input {
|
|
1466
1466
|
flex: 1 !important;
|
|
1467
1467
|
min-width: 0 !important;
|
|
1468
1468
|
}
|
|
1469
1469
|
|
|
1470
1470
|
/* 深度选择器处理输入框样式 */
|
|
1471
|
-
[data-v-
|
|
1471
|
+
[data-v-4bd8844d] .cell-editing-input .n-input {
|
|
1472
1472
|
border: none !important;
|
|
1473
1473
|
box-shadow: none !important;
|
|
1474
1474
|
background: transparent !important;
|
|
1475
1475
|
}
|
|
1476
|
-
[data-v-
|
|
1476
|
+
[data-v-4bd8844d] .cell-editing-input .n-input.n-input--focus {
|
|
1477
1477
|
border: none !important;
|
|
1478
1478
|
box-shadow: none !important;
|
|
1479
1479
|
}
|
|
1480
|
-
[data-v-
|
|
1480
|
+
[data-v-4bd8844d] .cell-editing-input .n-input-number {
|
|
1481
1481
|
border: none !important;
|
|
1482
1482
|
box-shadow: none !important;
|
|
1483
1483
|
background: transparent !important;
|
|
1484
1484
|
}
|
|
1485
|
-
[data-v-
|
|
1485
|
+
[data-v-4bd8844d] .cell-editing-input .n-select {
|
|
1486
1486
|
border: none !important;
|
|
1487
1487
|
box-shadow: none !important;
|
|
1488
1488
|
background: transparent !important;
|
|
1489
1489
|
}
|
|
1490
|
-
[data-v-
|
|
1490
|
+
[data-v-4bd8844d] .cell-editing-input .n-select .n-base-selection {
|
|
1491
1491
|
border: none !important;
|
|
1492
1492
|
box-shadow: none !important;
|
|
1493
1493
|
background: transparent !important;
|
|
1494
1494
|
}
|
|
1495
1495
|
|
|
1496
1496
|
/* 编辑操作按钮容器 */
|
|
1497
|
-
.cell-editing-actions[data-v-
|
|
1497
|
+
.cell-editing-actions[data-v-4bd8844d],[data-v-4bd8844d] .cell-editing-actions {
|
|
1498
1498
|
display: flex !important;
|
|
1499
1499
|
flex-shrink: 0 !important;
|
|
1500
1500
|
align-items: center !important;
|
|
@@ -1507,7 +1507,7 @@ to {
|
|
|
1507
1507
|
}
|
|
1508
1508
|
|
|
1509
1509
|
/* 编辑操作按钮 */
|
|
1510
|
-
.cell-action-btn[data-v-
|
|
1510
|
+
.cell-action-btn[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn {
|
|
1511
1511
|
display: flex !important;
|
|
1512
1512
|
align-items: center !important;
|
|
1513
1513
|
justify-content: center !important;
|
|
@@ -1520,34 +1520,34 @@ to {
|
|
|
1520
1520
|
background: transparent !important;
|
|
1521
1521
|
/* 保存按钮 */
|
|
1522
1522
|
}
|
|
1523
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1523
|
+
.cell-action-btn.cell-action-save[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn.cell-action-save {
|
|
1524
1524
|
color: var(--n-color-success) !important;
|
|
1525
1525
|
}
|
|
1526
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1526
|
+
.cell-action-btn.cell-action-save[data-v-4bd8844d]:hover,[data-v-4bd8844d] .cell-action-btn.cell-action-save:hover {
|
|
1527
1527
|
background: var(--n-color-success-pressed) !important;
|
|
1528
1528
|
transform: scale(1.1) !important;
|
|
1529
1529
|
}
|
|
1530
|
-
.cell-action-btn[data-v-
|
|
1530
|
+
.cell-action-btn[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn {
|
|
1531
1531
|
/* 取消按钮 */
|
|
1532
1532
|
}
|
|
1533
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1533
|
+
.cell-action-btn.cell-action-cancel[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn.cell-action-cancel {
|
|
1534
1534
|
color: var(--n-color-error) !important;
|
|
1535
1535
|
}
|
|
1536
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1536
|
+
.cell-action-btn.cell-action-cancel[data-v-4bd8844d]:hover,[data-v-4bd8844d] .cell-action-btn.cell-action-cancel:hover {
|
|
1537
1537
|
background: var(--n-color-error-pressed) !important;
|
|
1538
1538
|
transform: scale(1.1) !important;
|
|
1539
1539
|
}
|
|
1540
|
-
.cell-action-btn[data-v-
|
|
1540
|
+
.cell-action-btn[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn {
|
|
1541
1541
|
/* 图标尺寸 */
|
|
1542
1542
|
}
|
|
1543
|
-
.cell-action-btn svg[data-v-
|
|
1543
|
+
.cell-action-btn svg[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn svg {
|
|
1544
1544
|
width: 11px !important;
|
|
1545
1545
|
height: 11px !important;
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
1548
|
/* ================= 7. 操作按钮样式 ================= */
|
|
1549
1549
|
/* 通用按钮样式 */
|
|
1550
|
-
[data-v-
|
|
1550
|
+
[data-v-4bd8844d] .n-button {
|
|
1551
1551
|
white-space: nowrap;
|
|
1552
1552
|
font-size: 12px !important;
|
|
1553
1553
|
flex-shrink: 0 !important;
|
|
@@ -1556,60 +1556,60 @@ to {
|
|
|
1556
1556
|
font-weight: 500;
|
|
1557
1557
|
/* 图标间距 */
|
|
1558
1558
|
}
|
|
1559
|
-
[data-v-
|
|
1559
|
+
[data-v-4bd8844d] .n-button .n-icon {
|
|
1560
1560
|
margin-right: 4px !important;
|
|
1561
1561
|
}
|
|
1562
|
-
[data-v-
|
|
1562
|
+
[data-v-4bd8844d] .n-button {
|
|
1563
1563
|
/* 小尺寸按钮优化 */
|
|
1564
1564
|
}
|
|
1565
|
-
[data-v-
|
|
1565
|
+
[data-v-4bd8844d] .n-button.n-button--small-type {
|
|
1566
1566
|
padding: 4px 8px;
|
|
1567
1567
|
height: 28px;
|
|
1568
1568
|
line-height: 20px;
|
|
1569
1569
|
}
|
|
1570
|
-
[data-v-
|
|
1570
|
+
[data-v-4bd8844d] .n-button {
|
|
1571
1571
|
/* 四元按钮样式 */
|
|
1572
1572
|
}
|
|
1573
|
-
[data-v-
|
|
1573
|
+
[data-v-4bd8844d] .n-button.n-button--quaternary-type:hover {
|
|
1574
1574
|
transform: translateY(-1px);
|
|
1575
1575
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
1576
1576
|
}
|
|
1577
|
-
[data-v-
|
|
1577
|
+
[data-v-4bd8844d] .n-button.n-button--quaternary-type:active {
|
|
1578
1578
|
transform: translateY(0);
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
1581
|
/* ================= 8. 按钮组间距优化 ================= */
|
|
1582
1582
|
/* 操作按钮组 */
|
|
1583
|
-
[data-v-
|
|
1583
|
+
[data-v-4bd8844d] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
1584
1584
|
margin-right: 6px !important;
|
|
1585
1585
|
}
|
|
1586
1586
|
|
|
1587
1587
|
/* ================= 9. 模态框样式优化 ================= */
|
|
1588
1588
|
/* 编辑模态框 */
|
|
1589
|
-
[data-v-
|
|
1589
|
+
[data-v-4bd8844d] .n-modal .n-card {
|
|
1590
1590
|
border-radius: 12px;
|
|
1591
1591
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
1592
1592
|
}
|
|
1593
|
-
[data-v-
|
|
1593
|
+
[data-v-4bd8844d] .n-modal .n-card__header {
|
|
1594
1594
|
padding: 20px 24px 16px;
|
|
1595
1595
|
font-weight: 600;
|
|
1596
1596
|
font-size: 16px;
|
|
1597
1597
|
}
|
|
1598
|
-
[data-v-
|
|
1598
|
+
[data-v-4bd8844d] .n-modal .n-card__content {
|
|
1599
1599
|
padding: 0 24px 16px;
|
|
1600
1600
|
}
|
|
1601
|
-
[data-v-
|
|
1601
|
+
[data-v-4bd8844d] .n-modal .n-card__action {
|
|
1602
1602
|
padding: 16px 24px 20px;
|
|
1603
1603
|
border-top: 1px solid var(--n-divider-color);
|
|
1604
1604
|
}
|
|
1605
1605
|
|
|
1606
1606
|
/* ================= 10. 描述列表样式 ================= */
|
|
1607
1607
|
/* 详情模态框描述列表 */
|
|
1608
|
-
[data-v-
|
|
1608
|
+
[data-v-4bd8844d] .n-descriptions .n-descriptions-item-label {
|
|
1609
1609
|
font-weight: 500;
|
|
1610
1610
|
color: var(--n-text-color-2);
|
|
1611
1611
|
}
|
|
1612
|
-
[data-v-
|
|
1612
|
+
[data-v-4bd8844d] .n-descriptions .n-descriptions-item-content {
|
|
1613
1613
|
color: var(--n-text-color-1);
|
|
1614
1614
|
word-break: break-all;
|
|
1615
1615
|
}
|
|
@@ -1617,99 +1617,99 @@ to {
|
|
|
1617
1617
|
/* ================= 11. 响应式设计 ================= */
|
|
1618
1618
|
/* 移动端适配 */
|
|
1619
1619
|
@media (max-width: 768px) {
|
|
1620
|
-
.c-table-wrapper[data-v-
|
|
1620
|
+
.c-table-wrapper[data-v-4bd8844d] {
|
|
1621
1621
|
overflow-x: auto;
|
|
1622
1622
|
}
|
|
1623
1623
|
/* 操作列在移动端的适配 */
|
|
1624
|
-
[data-v-
|
|
1624
|
+
[data-v-4bd8844d] .n-data-table-th:last-child {
|
|
1625
1625
|
width: 160px !important;
|
|
1626
1626
|
min-width: 160px !important;
|
|
1627
1627
|
}
|
|
1628
1628
|
/* 按钮在移动端的优化 */
|
|
1629
|
-
[data-v-
|
|
1629
|
+
[data-v-4bd8844d] .n-button {
|
|
1630
1630
|
font-size: 11px !important;
|
|
1631
1631
|
padding: 3px 6px;
|
|
1632
1632
|
}
|
|
1633
|
-
[data-v-
|
|
1633
|
+
[data-v-4bd8844d] .n-button .n-icon {
|
|
1634
1634
|
margin-right: 2px !important;
|
|
1635
1635
|
}
|
|
1636
1636
|
/* 单元格编辑图标在移动端始终显示 */
|
|
1637
|
-
.cell-edit-icon[data-v-
|
|
1637
|
+
.cell-edit-icon[data-v-4bd8844d] {
|
|
1638
1638
|
opacity: 0.6;
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
1641
|
/* ================= 12. 主题适配 ================= */
|
|
1642
1642
|
/* 暗色主题适配 - 已通过 CSS 变量自动适配 */
|
|
1643
|
-
[data-theme=dark][data-v-
|
|
1643
|
+
[data-theme=dark][data-v-4bd8844d] {
|
|
1644
1644
|
/* CSS 变量已自动适配,如有特殊需求可在此添加 */
|
|
1645
1645
|
}
|
|
1646
1646
|
|
|
1647
1647
|
/* ================= 13. 响应式优化 ================= */
|
|
1648
1648
|
/* 小屏幕下的单元格编辑优化 */
|
|
1649
1649
|
@media (max-width: 768px) {
|
|
1650
|
-
.cell-editing-container[data-v-
|
|
1650
|
+
.cell-editing-container[data-v-4bd8844d],[data-v-4bd8844d] .cell-editing-container {
|
|
1651
1651
|
gap: 6px !important;
|
|
1652
1652
|
}
|
|
1653
|
-
.cell-editing-actions[data-v-
|
|
1653
|
+
.cell-editing-actions[data-v-4bd8844d],[data-v-4bd8844d] .cell-editing-actions {
|
|
1654
1654
|
gap: 3px !important;
|
|
1655
1655
|
padding: 2px !important;
|
|
1656
1656
|
}
|
|
1657
|
-
.cell-action-btn[data-v-
|
|
1657
|
+
.cell-action-btn[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn {
|
|
1658
1658
|
width: 18px !important;
|
|
1659
1659
|
height: 18px !important;
|
|
1660
1660
|
}
|
|
1661
|
-
.cell-action-btn svg[data-v-
|
|
1661
|
+
.cell-action-btn svg[data-v-4bd8844d],[data-v-4bd8844d] .cell-action-btn svg {
|
|
1662
1662
|
width: 10px !important;
|
|
1663
1663
|
height: 10px !important;
|
|
1664
1664
|
}
|
|
1665
1665
|
/* 移动端编辑图标 */
|
|
1666
|
-
.cell-edit-icon[data-v-
|
|
1666
|
+
.cell-edit-icon[data-v-4bd8844d] {
|
|
1667
1667
|
opacity: 0.6 !important;
|
|
1668
1668
|
}
|
|
1669
|
-
.cell-value[data-v-
|
|
1669
|
+
.cell-value[data-v-4bd8844d] {
|
|
1670
1670
|
margin-right: 12px !important;
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
1673
|
/* ================= 14. 性能优化 ================= */
|
|
1674
1674
|
/* 使用 GPU 加速的动画 */
|
|
1675
|
-
.cell-edit-icon[data-v-
|
|
1676
|
-
.cell-action-btn[data-v-
|
|
1675
|
+
.cell-edit-icon[data-v-4bd8844d],
|
|
1676
|
+
.cell-action-btn[data-v-4bd8844d] {
|
|
1677
1677
|
will-change: transform;
|
|
1678
1678
|
backface-visibility: hidden;
|
|
1679
1679
|
}
|
|
1680
|
-
[data-v-
|
|
1680
|
+
[data-v-4bd8844d] .n-button {
|
|
1681
1681
|
will-change: transform;
|
|
1682
1682
|
backface-visibility: hidden;
|
|
1683
1683
|
}
|
|
1684
1684
|
|
|
1685
1685
|
/* ================= 15. 可访问性优化 ================= */
|
|
1686
1686
|
/* 聚焦状态 */
|
|
1687
|
-
.cell-edit-wrapper[data-v-
|
|
1688
|
-
.cell-editing-container[data-v-
|
|
1687
|
+
.cell-edit-wrapper[data-v-4bd8844d]:focus-within,
|
|
1688
|
+
.cell-editing-container[data-v-4bd8844d]:focus-within {
|
|
1689
1689
|
outline: 2px solid var(--n-primary-color);
|
|
1690
1690
|
outline-offset: 2px;
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
1693
|
/* 高对比度模式支持 */
|
|
1694
1694
|
@media (prefers-contrast: high) {
|
|
1695
|
-
.cell-edit-icon[data-v-
|
|
1695
|
+
.cell-edit-icon[data-v-4bd8844d] {
|
|
1696
1696
|
opacity: 0.8;
|
|
1697
1697
|
}
|
|
1698
|
-
.cell-editing-actions[data-v-
|
|
1698
|
+
.cell-editing-actions[data-v-4bd8844d] {
|
|
1699
1699
|
border-width: 2px;
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
1702
|
/* ================= 11. 行拖拽排序 ================= */
|
|
1703
|
-
.row-drag-ghost[data-v-
|
|
1703
|
+
.row-drag-ghost[data-v-4bd8844d] {
|
|
1704
1704
|
opacity: 0.4;
|
|
1705
1705
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1706
1706
|
}
|
|
1707
|
-
.row-drag-chosen[data-v-
|
|
1707
|
+
.row-drag-chosen[data-v-4bd8844d] {
|
|
1708
1708
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
1711
|
/* ================= 12. 批量操作栏 ================= */
|
|
1712
|
-
.batch-actions-bar[data-v-
|
|
1712
|
+
.batch-actions-bar[data-v-4bd8844d] {
|
|
1713
1713
|
display: flex;
|
|
1714
1714
|
align-items: center;
|
|
1715
1715
|
justify-content: space-between;
|
|
@@ -1719,25 +1719,25 @@ to {
|
|
|
1719
1719
|
border-radius: 6px;
|
|
1720
1720
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
1721
1721
|
}
|
|
1722
|
-
.batch-actions-bar .batch-info[data-v-
|
|
1722
|
+
.batch-actions-bar .batch-info[data-v-4bd8844d] {
|
|
1723
1723
|
font-size: 13px;
|
|
1724
1724
|
color: var(--n-text-color-2);
|
|
1725
1725
|
font-weight: 500;
|
|
1726
1726
|
}
|
|
1727
1727
|
|
|
1728
1728
|
/* ================= 13. 错误状态 ================= */
|
|
1729
|
-
.table-error-state[data-v-
|
|
1729
|
+
.table-error-state[data-v-4bd8844d] {
|
|
1730
1730
|
padding: 48px 24px;
|
|
1731
1731
|
text-align: center;
|
|
1732
1732
|
}
|
|
1733
|
-
.table-error-state .error-content[data-v-
|
|
1733
|
+
.table-error-state .error-content[data-v-4bd8844d] {
|
|
1734
1734
|
display: flex;
|
|
1735
1735
|
flex-direction: column;
|
|
1736
1736
|
align-items: center;
|
|
1737
1737
|
gap: 12px;
|
|
1738
1738
|
color: var(--n-text-color-3, #999);
|
|
1739
1739
|
}
|
|
1740
|
-
.table-error-state .error-message[data-v-
|
|
1740
|
+
.table-error-state .error-message[data-v-4bd8844d] {
|
|
1741
1741
|
font-size: 14px;
|
|
1742
1742
|
margin: 0;
|
|
1743
1743
|
color: var(--n-text-color-2, #666);
|
package/dist/C_Table.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./presets.js";
|
|
2
2
|
import "./useEdgeInteraction.js";
|
|
3
3
|
import "./public.js";
|
|
4
|
-
import "./
|
|
5
|
-
import "./useSearchState.js";
|
|
4
|
+
import "./index4.vue.js";
|
|
6
5
|
import "./useDynamicFormState.js";
|
|
6
|
+
import "./index12.vue.js";
|
|
7
|
+
import "./useSearchState.js";
|
|
7
8
|
import "./mapUtils.js";
|
|
8
9
|
import "./index18.vue.js";
|
|
9
10
|
import { $ as applyFormatter, A as EditMode, At as PrintWatermarkOptions, B as TableColumn, C as _default, Ct as RowDragConfig, D as ColumnWithKey, Dt as DynamicRowsOptions, E as ChildSelectionState, Et as useRowDrag, F as RenderFunction, G as TableRowKeyIssue, H as TableInstance, I as RowAction, J as ColumnFormatter, K as UseTableExpandOptions, L as SelectOption, M as NormalTableColumn, Mt as usePrintWatermark, N as PaginationConfig, O as CustomAction, Ot as DynamicRowsReturn, P as ParentChildLinkMode, Q as TableGlobalConfig, R as SimpleTableActions, S as validateTableRowKeys, St as useCrossPageSelection, T as BuiltInTableColumn, Tt as UseRowDragReturn, U as TableProps, V as TableEmits, W as TableRowKey, X as FormatterType, Y as FormatterConfig, Z as TABLE_GLOBAL_CONFIG_KEY, _ as useTableManager, _t as ExportConfig, at as DisplayConfig, b as defineTableColumns, bt as UseCrossPageSelectionOptions, ct as ExpandConfig, dt as TableConfig, et as mergeGlobalConfig, f as useModalEdit, ft as ToolbarConfig, g as useTableExpand, gt as resolveConfig, h as useTableActions, ht as createEditModeChecker, i as useTableQuery, it as CrudBinding, j as MaybeRefLike, jt as printPresets, k as DataRecord, kt as useDynamicRows, lt as SelectionConfig, m as usePagination, mt as VirtualScrollConfig, n as TableQueryResult, nt as BatchActionsConfig, ot as EditConfig, p as useCellEdit, pt as TreeConfig, q as UseTableExpandReturn, r as UseTableQueryOptions, rt as ColumnDragConfig, st as ErrorConfig, t as TableQueryContext, tt as useTableGlobalConfig, ut as SummaryConfig, v as useRowEdit, vt as exportTableData, w as ApiFunction, wt as UseRowDragOptions, x as defineTableConfig, xt as UseCrossPageSelectionReturn, y as useTableColumns, yt as CrossPageSelectionConfig, z as StrictTableColumn } from "./useTableQuery.js";
|
package/dist/C_Table.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./C_Icon2.js";import"./C_Form2.js";import{C as e,S as t,T as n,_ as r,a as i,b as a,c as o,d as s,f as c,g as l,h as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,t as y,u as b,v as x,w as S,x as C,y as w}from"./useTableQuery.js";export{m as C_Table,b as TABLE_GLOBAL_CONFIG_KEY,s as applyFormatter,S as createEditModeChecker,_ as defineTableColumns,d as defineTableConfig,h as exportTableData,c as mergeGlobalConfig,x as printPresets,n as resolveConfig,t as useCellEdit,v as useCrossPageSelection,r as useDynamicRows,C as useModalEdit,u as usePagination,w as usePrintWatermark,o as useRowDrag,e as useRowEdit,p as useTableActions,f as useTableColumns,a as useTableExpand,g as useTableGlobalConfig,l as useTableManager,y as useTableQuery,i as validateTableRowKeys};
|
|
1
|
+
import"./C_Icon2.js";import"./C_ActionBar2.js";import"./C_Form2.js";import{C as e,S as t,T as n,_ as r,a as i,b as a,c as o,d as s,f as c,g as l,h as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,t as y,u as b,v as x,w as S,x as C,y as w}from"./useTableQuery.js";export{m as C_Table,b as TABLE_GLOBAL_CONFIG_KEY,s as applyFormatter,S as createEditModeChecker,_ as defineTableColumns,d as defineTableConfig,h as exportTableData,c as mergeGlobalConfig,x as printPresets,n as resolveConfig,t as useCellEdit,v as useCrossPageSelection,r as useDynamicRows,C as useModalEdit,u as usePagination,w as usePrintWatermark,o as useRowDrag,e as useRowEdit,p as useTableActions,f as useTableColumns,a as useTableExpand,g as useTableGlobalConfig,l as useTableManager,y as useTableQuery,i as validateTableRowKeys};
|
package/dist/C_Tabs.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./C_Icon2.cjs`);const e=require(`./data2.cjs`);exports.C_Tabs=e.n,exports.defineTabs=e.t;
|
package/dist/C_Tabs.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* C_Tabs has no component-specific styles. */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as TabsBadgeType, c as TabsJustifyContent, d as TabsType, f as TabsValue, i as CTabsProps, l as TabsPlacement, n as _default, o as TabsDisplayDirective, r as CTabsEmits, s as TabsItem, t as defineTabs, u as TabsSize } from "./data.cjs";
|
|
2
|
+
export { type CTabsEmits, type CTabsProps, _default as C_Tabs, type TabsBadgeType, type TabsDisplayDirective, type TabsItem, type TabsJustifyContent, type TabsPlacement, type TabsSize, type TabsType, type TabsValue, defineTabs };
|
package/dist/C_Tabs.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as TabsBadgeType, c as TabsJustifyContent, d as TabsType, f as TabsValue, i as CTabsProps, l as TabsPlacement, n as _default, o as TabsDisplayDirective, r as CTabsEmits, s as TabsItem, t as defineTabs, u as TabsSize } from "./data.js";
|
|
2
|
+
export { type CTabsEmits, type CTabsProps, _default as C_Tabs, type TabsBadgeType, type TabsDisplayDirective, type TabsItem, type TabsJustifyContent, type TabsPlacement, type TabsSize, type TabsType, type TabsValue, defineTabs };
|
package/dist/C_Tabs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./C_Icon2.js";import{n as e,t}from"./data2.js";export{e as C_Tabs,t as defineTabs};
|