@robot-admin/naive-ui-components 0.28.0 → 0.28.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 +6 -0
- package/README.md +3 -13
- package/README_EN.md +3 -13
- package/dist/C_Table.base.css +109 -109
- package/dist/C_Table.css +109 -109
- package/dist/C_Table2.cjs +3 -3
- package/dist/C_Table2.js +2 -2
- package/dist/constants3.d.cts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.cts +7 -7
- package/dist/constants4.d.ts +7 -7
- package/dist/data2.d.cts +2 -2
- package/dist/data2.d.ts +2 -2
- package/dist/index.vue.d.cts +2 -2
- package/dist/index.vue.d.ts +2 -2
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index16.vue.d.ts +3 -3
- package/dist/index17.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +4 -4
- package/dist/index18.vue.d.cts +4 -4
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index26.vue.d.cts +1 -1
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index30.vue.d.cts +1 -1
- package/dist/index30.vue.d.ts +1 -1
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/style.css +109 -109
- package/dist/useCropperCore.d.cts +5 -5
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +1 -1
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.cts +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTableQuery.d.cts +2 -2
- package/dist/useTableQuery.d.ts +2 -2
- package/dist/useWorkflowValidation.d.cts +2 -2
- package/dist/useWorkflowValidation.d.ts +2 -2
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/data-workflows.md +15 -0
- package/docs/guides/runtime-performance.md +4 -0
- package/docs/guides/usage.en.md +2 -3
- package/docs/guides/usage.md +2 -3
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -12304,7 +12304,7 @@ to {
|
|
|
12304
12304
|
.px[data-v-2120e6fc]{padding-left:1rem;padding-right:1rem;}
|
|
12305
12305
|
.accent-blue-500[data-v-2120e6fc]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
12306
12306
|
|
|
12307
|
-
.c-table-wrapper[data-v-
|
|
12307
|
+
.c-table-wrapper[data-v-e39b054f] {
|
|
12308
12308
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
12309
12309
|
--c-table-bg: var(--body-color, #fff);
|
|
12310
12310
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -12315,55 +12315,55 @@ to {
|
|
|
12315
12315
|
width: 100%;
|
|
12316
12316
|
position: relative;
|
|
12317
12317
|
}
|
|
12318
|
-
.c-table-wrapper--compact[data-v-
|
|
12318
|
+
.c-table-wrapper--compact[data-v-e39b054f] {
|
|
12319
12319
|
--c-table-gap: 8px;
|
|
12320
12320
|
--c-table-button-font-size: 14px;
|
|
12321
12321
|
--c-table-cell-min-height: 28px;
|
|
12322
12322
|
--c-table-cell-padding: 2px 4px;
|
|
12323
12323
|
}
|
|
12324
|
-
.c-table-wrapper--default[data-v-
|
|
12324
|
+
.c-table-wrapper--default[data-v-e39b054f] {
|
|
12325
12325
|
--c-table-gap: 16px;
|
|
12326
12326
|
--c-table-button-font-size: 14px;
|
|
12327
12327
|
--c-table-cell-min-height: 36px;
|
|
12328
12328
|
--c-table-cell-padding: 6px 8px;
|
|
12329
12329
|
}
|
|
12330
|
-
.c-table-wrapper--comfortable[data-v-
|
|
12330
|
+
.c-table-wrapper--comfortable[data-v-e39b054f] {
|
|
12331
12331
|
--c-table-gap: 20px;
|
|
12332
12332
|
--c-table-button-font-size: 15px;
|
|
12333
12333
|
--c-table-cell-min-height: 40px;
|
|
12334
12334
|
--c-table-cell-padding: 8px 10px;
|
|
12335
12335
|
}
|
|
12336
|
-
.c-table-wrapper--flex[data-v-
|
|
12336
|
+
.c-table-wrapper--flex[data-v-e39b054f] {
|
|
12337
12337
|
display: flex;
|
|
12338
12338
|
flex-direction: column;
|
|
12339
12339
|
height: 100%;
|
|
12340
12340
|
min-height: 0;
|
|
12341
12341
|
}
|
|
12342
|
-
.c-table-wrapper--flex[data-v-
|
|
12343
|
-
.c-table-wrapper--flex > .table-error-state[data-v-
|
|
12342
|
+
.c-table-wrapper--flex[data-v-e39b054f] > .n-data-table,
|
|
12343
|
+
.c-table-wrapper--flex > .table-error-state[data-v-e39b054f] {
|
|
12344
12344
|
flex: 1;
|
|
12345
12345
|
min-height: 0;
|
|
12346
12346
|
}
|
|
12347
|
-
.c-table-wrapper--flex > .table-toolbar[data-v-
|
|
12348
|
-
.c-table-wrapper--flex > .batch-actions-bar[data-v-
|
|
12349
|
-
.c-table-wrapper--flex > .pagination-wrapper[data-v-
|
|
12347
|
+
.c-table-wrapper--flex > .table-toolbar[data-v-e39b054f],
|
|
12348
|
+
.c-table-wrapper--flex > .batch-actions-bar[data-v-e39b054f],
|
|
12349
|
+
.c-table-wrapper--flex > .pagination-wrapper[data-v-e39b054f] {
|
|
12350
12350
|
flex-shrink: 0;
|
|
12351
12351
|
}
|
|
12352
|
-
.column-drag-ghost[data-v-
|
|
12352
|
+
.column-drag-ghost[data-v-e39b054f] {
|
|
12353
12353
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
12354
12354
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
12355
12355
|
}
|
|
12356
|
-
.drag-handle[data-v-
|
|
12356
|
+
.drag-handle[data-v-e39b054f] {
|
|
12357
12357
|
cursor: grab;
|
|
12358
12358
|
}
|
|
12359
|
-
.drag-handle[data-v-
|
|
12359
|
+
.drag-handle[data-v-e39b054f]:active {
|
|
12360
12360
|
cursor: grabbing;
|
|
12361
12361
|
}
|
|
12362
|
-
.c-table-wrapper[data-v-
|
|
12362
|
+
.c-table-wrapper[data-v-e39b054f] .n-data-table-tfoot {
|
|
12363
12363
|
background: var(--c-table-summary-bg);
|
|
12364
12364
|
font-weight: var(--c-table-summary-font-weight);
|
|
12365
12365
|
}
|
|
12366
|
-
.table-toolbar[data-v-
|
|
12366
|
+
.table-toolbar[data-v-e39b054f] {
|
|
12367
12367
|
display: flex;
|
|
12368
12368
|
justify-content: space-between;
|
|
12369
12369
|
align-items: center;
|
|
@@ -12371,29 +12371,29 @@ to {
|
|
|
12371
12371
|
gap: var(--c-table-gap, 12px);
|
|
12372
12372
|
flex-wrap: wrap;
|
|
12373
12373
|
}
|
|
12374
|
-
.table-toolbar .toolbar-left[data-v-
|
|
12374
|
+
.table-toolbar .toolbar-left[data-v-e39b054f] {
|
|
12375
12375
|
display: flex;
|
|
12376
12376
|
align-items: center;
|
|
12377
12377
|
gap: var(--c-table-gap, 12px);
|
|
12378
12378
|
flex-wrap: wrap;
|
|
12379
12379
|
min-width: 0;
|
|
12380
12380
|
}
|
|
12381
|
-
.table-toolbar .toolbar-right[data-v-
|
|
12381
|
+
.table-toolbar .toolbar-right[data-v-e39b054f] {
|
|
12382
12382
|
display: flex;
|
|
12383
12383
|
align-items: center;
|
|
12384
12384
|
gap: var(--c-table-gap, 8px);
|
|
12385
12385
|
flex-wrap: wrap;
|
|
12386
12386
|
}
|
|
12387
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
12387
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-e39b054f] {
|
|
12388
12388
|
opacity: 0.6;
|
|
12389
12389
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
12390
12390
|
cursor: pointer;
|
|
12391
12391
|
}
|
|
12392
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
12392
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-e39b054f]:hover {
|
|
12393
12393
|
opacity: 1;
|
|
12394
12394
|
transform: scale(1.1);
|
|
12395
12395
|
}
|
|
12396
|
-
.dynamic-rows-toolbar[data-v-
|
|
12396
|
+
.dynamic-rows-toolbar[data-v-e39b054f] {
|
|
12397
12397
|
margin-bottom: var(--c-table-gap, 16px);
|
|
12398
12398
|
padding: var(--c-table-gap, 16px);
|
|
12399
12399
|
border-radius: 8px;
|
|
@@ -12402,35 +12402,35 @@ to {
|
|
|
12402
12402
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
12403
12403
|
transition: all 0.2s ease;
|
|
12404
12404
|
}
|
|
12405
|
-
.dynamic-rows-toolbar[data-v-
|
|
12405
|
+
.dynamic-rows-toolbar[data-v-e39b054f]:hover {
|
|
12406
12406
|
border-color: var(--n-primary-color-suppl);
|
|
12407
12407
|
}
|
|
12408
|
-
[data-v-
|
|
12408
|
+
[data-v-e39b054f] .n-data-table {
|
|
12409
12409
|
table-layout: auto !important;
|
|
12410
12410
|
width: 100% !important;
|
|
12411
12411
|
border-radius: 8px;
|
|
12412
12412
|
overflow: hidden;
|
|
12413
12413
|
}
|
|
12414
|
-
[data-v-
|
|
12414
|
+
[data-v-e39b054f] .n-data-table-wrapper {
|
|
12415
12415
|
overflow-x: auto !important;
|
|
12416
12416
|
}
|
|
12417
|
-
.pagination-wrapper[data-v-
|
|
12417
|
+
.pagination-wrapper[data-v-e39b054f] {
|
|
12418
12418
|
margin-top: var(--c-table-gap, 16px);
|
|
12419
12419
|
display: flex;
|
|
12420
12420
|
justify-content: flex-end;
|
|
12421
12421
|
}
|
|
12422
|
-
[data-v-
|
|
12422
|
+
[data-v-e39b054f] .c-table-index-column {
|
|
12423
12423
|
padding-inline: 8px;
|
|
12424
12424
|
}
|
|
12425
|
-
[data-v-
|
|
12425
|
+
[data-v-e39b054f] .c-table-actions-column {
|
|
12426
12426
|
text-align: center !important;
|
|
12427
12427
|
padding: 8px 12px !important;
|
|
12428
12428
|
}
|
|
12429
|
-
[data-v-
|
|
12429
|
+
[data-v-e39b054f] .c-table-actions-column .n-space {
|
|
12430
12430
|
justify-content: center !important;
|
|
12431
12431
|
align-items: center !important;
|
|
12432
12432
|
}
|
|
12433
|
-
[data-v-
|
|
12433
|
+
[data-v-e39b054f] .cell-edit-wrapper {
|
|
12434
12434
|
display: flex;
|
|
12435
12435
|
align-items: center;
|
|
12436
12436
|
justify-content: space-between;
|
|
@@ -12442,18 +12442,18 @@ to {
|
|
|
12442
12442
|
cursor: pointer;
|
|
12443
12443
|
position: relative;
|
|
12444
12444
|
}
|
|
12445
|
-
[data-v-
|
|
12445
|
+
[data-v-e39b054f] .cell-edit-wrapper:hover {
|
|
12446
12446
|
background-color: var(--n-color-target);
|
|
12447
12447
|
}
|
|
12448
|
-
[data-v-
|
|
12448
|
+
[data-v-e39b054f] .cell-edit-wrapper:hover .cell-edit-icon {
|
|
12449
12449
|
opacity: 1;
|
|
12450
12450
|
color: var(--n-color-success);
|
|
12451
12451
|
transform: scale(1.05);
|
|
12452
12452
|
}
|
|
12453
|
-
[data-v-
|
|
12453
|
+
[data-v-e39b054f] .cell-edit-wrapper:active {
|
|
12454
12454
|
transform: translateY(1px);
|
|
12455
12455
|
}
|
|
12456
|
-
[data-v-
|
|
12456
|
+
[data-v-e39b054f] .cell-value {
|
|
12457
12457
|
flex: 1;
|
|
12458
12458
|
overflow: hidden;
|
|
12459
12459
|
text-overflow: ellipsis;
|
|
@@ -12462,7 +12462,7 @@ to {
|
|
|
12462
12462
|
line-height: 1.4;
|
|
12463
12463
|
font-size: 13px;
|
|
12464
12464
|
}
|
|
12465
|
-
.c-table-wrapper[data-v-
|
|
12465
|
+
.c-table-wrapper[data-v-e39b054f] .cell-edit-icon {
|
|
12466
12466
|
flex-shrink: 0;
|
|
12467
12467
|
width: 24px;
|
|
12468
12468
|
height: 24px;
|
|
@@ -12477,20 +12477,20 @@ to {
|
|
|
12477
12477
|
opacity: 0;
|
|
12478
12478
|
position: relative;
|
|
12479
12479
|
}
|
|
12480
|
-
.c-table-wrapper[data-v-
|
|
12480
|
+
.c-table-wrapper[data-v-e39b054f] .cell-edit-icon:hover {
|
|
12481
12481
|
opacity: 1 !important;
|
|
12482
12482
|
color: var(--n-color-success-hover) !important;
|
|
12483
12483
|
background-color: var(--n-color-success-pressed);
|
|
12484
12484
|
transform: scale(1.1);
|
|
12485
12485
|
}
|
|
12486
|
-
.c-table-wrapper[data-v-
|
|
12486
|
+
.c-table-wrapper[data-v-e39b054f] .cell-edit-icon:active {
|
|
12487
12487
|
transform: scale(0.95);
|
|
12488
12488
|
}
|
|
12489
|
-
.c-table-wrapper[data-v-
|
|
12489
|
+
.c-table-wrapper[data-v-e39b054f] .cell-edit-icon svg {
|
|
12490
12490
|
width: 14px;
|
|
12491
12491
|
height: 14px;
|
|
12492
12492
|
}
|
|
12493
|
-
.cell-editing-container[data-v-
|
|
12493
|
+
.cell-editing-container[data-v-e39b054f],[data-v-e39b054f] .cell-editing-container {
|
|
12494
12494
|
display: flex !important;
|
|
12495
12495
|
align-items: center !important;
|
|
12496
12496
|
width: 100% !important;
|
|
@@ -12502,35 +12502,35 @@ to {
|
|
|
12502
12502
|
box-shadow: 0 0 0 2px var(--n-primary-color-suppl) !important;
|
|
12503
12503
|
gap: 8px !important;
|
|
12504
12504
|
}
|
|
12505
|
-
.cell-editing-input[data-v-
|
|
12505
|
+
.cell-editing-input[data-v-e39b054f],[data-v-e39b054f] .cell-editing-input {
|
|
12506
12506
|
flex: 1 !important;
|
|
12507
12507
|
min-width: 0 !important;
|
|
12508
12508
|
}
|
|
12509
|
-
[data-v-
|
|
12509
|
+
[data-v-e39b054f] .cell-editing-input .n-input {
|
|
12510
12510
|
border: none !important;
|
|
12511
12511
|
box-shadow: none !important;
|
|
12512
12512
|
background: transparent !important;
|
|
12513
12513
|
}
|
|
12514
|
-
[data-v-
|
|
12514
|
+
[data-v-e39b054f] .cell-editing-input .n-input.n-input--focus {
|
|
12515
12515
|
border: none !important;
|
|
12516
12516
|
box-shadow: none !important;
|
|
12517
12517
|
}
|
|
12518
|
-
[data-v-
|
|
12518
|
+
[data-v-e39b054f] .cell-editing-input .n-input-number {
|
|
12519
12519
|
border: none !important;
|
|
12520
12520
|
box-shadow: none !important;
|
|
12521
12521
|
background: transparent !important;
|
|
12522
12522
|
}
|
|
12523
|
-
[data-v-
|
|
12523
|
+
[data-v-e39b054f] .cell-editing-input .n-select {
|
|
12524
12524
|
border: none !important;
|
|
12525
12525
|
box-shadow: none !important;
|
|
12526
12526
|
background: transparent !important;
|
|
12527
12527
|
}
|
|
12528
|
-
[data-v-
|
|
12528
|
+
[data-v-e39b054f] .cell-editing-input .n-select .n-base-selection {
|
|
12529
12529
|
border: none !important;
|
|
12530
12530
|
box-shadow: none !important;
|
|
12531
12531
|
background: transparent !important;
|
|
12532
12532
|
}
|
|
12533
|
-
.cell-editing-actions[data-v-
|
|
12533
|
+
.cell-editing-actions[data-v-e39b054f],[data-v-e39b054f] .cell-editing-actions {
|
|
12534
12534
|
display: flex !important;
|
|
12535
12535
|
flex-shrink: 0 !important;
|
|
12536
12536
|
align-items: center !important;
|
|
@@ -12541,7 +12541,7 @@ to {
|
|
|
12541
12541
|
padding: 2px !important;
|
|
12542
12542
|
box-shadow: var(--n-box-shadow) !important;
|
|
12543
12543
|
}
|
|
12544
|
-
.cell-action-btn[data-v-
|
|
12544
|
+
.cell-action-btn[data-v-e39b054f],[data-v-e39b054f] .cell-action-btn {
|
|
12545
12545
|
display: flex !important;
|
|
12546
12546
|
align-items: center !important;
|
|
12547
12547
|
justify-content: center !important;
|
|
@@ -12553,25 +12553,25 @@ to {
|
|
|
12553
12553
|
transition: all 0.2s ease !important;
|
|
12554
12554
|
background: transparent !important;
|
|
12555
12555
|
}
|
|
12556
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
12556
|
+
.cell-action-btn.cell-action-save[data-v-e39b054f],[data-v-e39b054f] .cell-action-btn.cell-action-save {
|
|
12557
12557
|
color: var(--n-color-success) !important;
|
|
12558
12558
|
}
|
|
12559
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
12559
|
+
.cell-action-btn.cell-action-save[data-v-e39b054f]:hover,[data-v-e39b054f] .cell-action-btn.cell-action-save:hover {
|
|
12560
12560
|
background: var(--n-color-success-pressed) !important;
|
|
12561
12561
|
transform: scale(1.1) !important;
|
|
12562
12562
|
}
|
|
12563
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
12563
|
+
.cell-action-btn.cell-action-cancel[data-v-e39b054f],[data-v-e39b054f] .cell-action-btn.cell-action-cancel {
|
|
12564
12564
|
color: var(--n-color-error) !important;
|
|
12565
12565
|
}
|
|
12566
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
12566
|
+
.cell-action-btn.cell-action-cancel[data-v-e39b054f]:hover,[data-v-e39b054f] .cell-action-btn.cell-action-cancel:hover {
|
|
12567
12567
|
background: var(--n-color-error-pressed) !important;
|
|
12568
12568
|
transform: scale(1.1) !important;
|
|
12569
12569
|
}
|
|
12570
|
-
.cell-action-btn svg[data-v-
|
|
12570
|
+
.cell-action-btn svg[data-v-e39b054f],[data-v-e39b054f] .cell-action-btn svg {
|
|
12571
12571
|
width: 11px !important;
|
|
12572
12572
|
height: 11px !important;
|
|
12573
12573
|
}
|
|
12574
|
-
[data-v-
|
|
12574
|
+
[data-v-e39b054f] .n-button {
|
|
12575
12575
|
white-space: nowrap;
|
|
12576
12576
|
font-size: var(--c-table-button-font-size, 12px) !important;
|
|
12577
12577
|
flex-shrink: 0 !important;
|
|
@@ -12579,106 +12579,106 @@ to {
|
|
|
12579
12579
|
transition: all 0.2s ease;
|
|
12580
12580
|
font-weight: 500;
|
|
12581
12581
|
}
|
|
12582
|
-
[data-v-
|
|
12582
|
+
[data-v-e39b054f] .n-button .n-icon {
|
|
12583
12583
|
margin-right: 4px !important;
|
|
12584
12584
|
}
|
|
12585
|
-
[data-v-
|
|
12585
|
+
[data-v-e39b054f] .n-button.n-button--small-type {
|
|
12586
12586
|
padding: 4px 8px;
|
|
12587
12587
|
height: 28px;
|
|
12588
12588
|
line-height: 20px;
|
|
12589
12589
|
}
|
|
12590
|
-
[data-v-
|
|
12590
|
+
[data-v-e39b054f] .n-button.n-button--quaternary-type:hover {
|
|
12591
12591
|
transform: translateY(-1px);
|
|
12592
12592
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
12593
12593
|
}
|
|
12594
|
-
[data-v-
|
|
12594
|
+
[data-v-e39b054f] .n-button.n-button--quaternary-type:active {
|
|
12595
12595
|
transform: translateY(0);
|
|
12596
12596
|
}
|
|
12597
|
-
[data-v-
|
|
12597
|
+
[data-v-e39b054f] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
12598
12598
|
margin-right: 6px !important;
|
|
12599
12599
|
}
|
|
12600
|
-
[data-v-
|
|
12600
|
+
[data-v-e39b054f] .n-modal .n-card {
|
|
12601
12601
|
border-radius: 12px;
|
|
12602
12602
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
12603
12603
|
}
|
|
12604
|
-
[data-v-
|
|
12604
|
+
[data-v-e39b054f] .n-modal .n-card__header {
|
|
12605
12605
|
padding: 20px 24px 16px;
|
|
12606
12606
|
font-weight: 600;
|
|
12607
12607
|
font-size: 16px;
|
|
12608
12608
|
}
|
|
12609
|
-
[data-v-
|
|
12609
|
+
[data-v-e39b054f] .n-modal .n-card__content {
|
|
12610
12610
|
padding: 0 24px 16px;
|
|
12611
12611
|
}
|
|
12612
|
-
[data-v-
|
|
12612
|
+
[data-v-e39b054f] .n-modal .n-card__action {
|
|
12613
12613
|
padding: 16px 24px 20px;
|
|
12614
12614
|
border-top: 1px solid var(--n-divider-color);
|
|
12615
12615
|
}
|
|
12616
|
-
[data-v-
|
|
12616
|
+
[data-v-e39b054f] .n-descriptions .n-descriptions-item-label {
|
|
12617
12617
|
font-weight: 500;
|
|
12618
12618
|
color: var(--n-text-color-2);
|
|
12619
12619
|
}
|
|
12620
|
-
[data-v-
|
|
12620
|
+
[data-v-e39b054f] .n-descriptions .n-descriptions-item-content {
|
|
12621
12621
|
color: var(--n-text-color-1);
|
|
12622
12622
|
word-break: break-all;
|
|
12623
12623
|
}
|
|
12624
12624
|
@media (max-width: 768px) {
|
|
12625
|
-
.c-table-wrapper[data-v-
|
|
12625
|
+
.c-table-wrapper[data-v-e39b054f] {
|
|
12626
12626
|
overflow-x: auto;
|
|
12627
12627
|
}
|
|
12628
|
-
[data-v-
|
|
12628
|
+
[data-v-e39b054f] .n-button {
|
|
12629
12629
|
font-size: 11px !important;
|
|
12630
12630
|
padding: 3px 6px;
|
|
12631
12631
|
}
|
|
12632
|
-
[data-v-
|
|
12632
|
+
[data-v-e39b054f] .n-button .n-icon {
|
|
12633
12633
|
margin-right: 2px !important;
|
|
12634
12634
|
}
|
|
12635
|
-
.cell-edit-icon[data-v-
|
|
12635
|
+
.cell-edit-icon[data-v-e39b054f] {
|
|
12636
12636
|
opacity: 0.6;
|
|
12637
12637
|
}
|
|
12638
12638
|
}
|
|
12639
12639
|
@media (max-width: 768px) {
|
|
12640
|
-
.cell-editing-container[data-v-
|
|
12640
|
+
.cell-editing-container[data-v-e39b054f],[data-v-e39b054f] .cell-editing-container {
|
|
12641
12641
|
gap: 6px !important;
|
|
12642
12642
|
}
|
|
12643
|
-
.cell-editing-actions[data-v-
|
|
12643
|
+
.cell-editing-actions[data-v-e39b054f],[data-v-e39b054f] .cell-editing-actions {
|
|
12644
12644
|
gap: 3px !important;
|
|
12645
12645
|
padding: 2px !important;
|
|
12646
12646
|
}
|
|
12647
|
-
.cell-action-btn[data-v-
|
|
12647
|
+
.cell-action-btn[data-v-e39b054f],[data-v-e39b054f] .cell-action-btn {
|
|
12648
12648
|
width: 18px !important;
|
|
12649
12649
|
height: 18px !important;
|
|
12650
12650
|
}
|
|
12651
|
-
.cell-action-btn svg[data-v-
|
|
12651
|
+
.cell-action-btn svg[data-v-e39b054f],[data-v-e39b054f] .cell-action-btn svg {
|
|
12652
12652
|
width: 10px !important;
|
|
12653
12653
|
height: 10px !important;
|
|
12654
12654
|
}
|
|
12655
|
-
.cell-edit-icon[data-v-
|
|
12655
|
+
.cell-edit-icon[data-v-e39b054f] {
|
|
12656
12656
|
opacity: 0.6 !important;
|
|
12657
12657
|
}
|
|
12658
|
-
[data-v-
|
|
12658
|
+
[data-v-e39b054f] .cell-value {
|
|
12659
12659
|
margin-right: 12px !important;
|
|
12660
12660
|
}
|
|
12661
12661
|
}
|
|
12662
|
-
[data-v-
|
|
12662
|
+
[data-v-e39b054f] .cell-edit-wrapper:focus-within,[data-v-e39b054f] .cell-editing-container:focus-within {
|
|
12663
12663
|
outline: 2px solid var(--n-primary-color);
|
|
12664
12664
|
outline-offset: 2px;
|
|
12665
12665
|
}
|
|
12666
12666
|
@media (prefers-contrast: high) {
|
|
12667
|
-
.cell-edit-icon[data-v-
|
|
12667
|
+
.cell-edit-icon[data-v-e39b054f] {
|
|
12668
12668
|
opacity: 0.8;
|
|
12669
12669
|
}
|
|
12670
|
-
.cell-editing-actions[data-v-
|
|
12670
|
+
.cell-editing-actions[data-v-e39b054f] {
|
|
12671
12671
|
border-width: 2px;
|
|
12672
12672
|
}
|
|
12673
12673
|
}
|
|
12674
|
-
.row-drag-ghost[data-v-
|
|
12674
|
+
.row-drag-ghost[data-v-e39b054f] {
|
|
12675
12675
|
opacity: 0.4;
|
|
12676
12676
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
12677
12677
|
}
|
|
12678
|
-
.row-drag-chosen[data-v-
|
|
12678
|
+
.row-drag-chosen[data-v-e39b054f] {
|
|
12679
12679
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
12680
12680
|
}
|
|
12681
|
-
.batch-actions-bar[data-v-
|
|
12681
|
+
.batch-actions-bar[data-v-e39b054f] {
|
|
12682
12682
|
display: flex;
|
|
12683
12683
|
align-items: center;
|
|
12684
12684
|
justify-content: space-between;
|
|
@@ -12688,60 +12688,60 @@ to {
|
|
|
12688
12688
|
border-radius: 6px;
|
|
12689
12689
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
12690
12690
|
}
|
|
12691
|
-
.batch-actions-bar .batch-info[data-v-
|
|
12691
|
+
.batch-actions-bar .batch-info[data-v-e39b054f] {
|
|
12692
12692
|
font-size: 13px;
|
|
12693
12693
|
color: var(--n-text-color-2);
|
|
12694
12694
|
font-weight: 500;
|
|
12695
12695
|
}
|
|
12696
|
-
.table-error-state[data-v-
|
|
12696
|
+
.table-error-state[data-v-e39b054f] {
|
|
12697
12697
|
padding: 48px 24px;
|
|
12698
12698
|
text-align: center;
|
|
12699
12699
|
}
|
|
12700
|
-
.table-error-state .error-content[data-v-
|
|
12700
|
+
.table-error-state .error-content[data-v-e39b054f] {
|
|
12701
12701
|
display: flex;
|
|
12702
12702
|
flex-direction: column;
|
|
12703
12703
|
align-items: center;
|
|
12704
12704
|
gap: 12px;
|
|
12705
12705
|
color: var(--n-text-color-3, #999);
|
|
12706
12706
|
}
|
|
12707
|
-
.table-error-state .error-message[data-v-
|
|
12707
|
+
.table-error-state .error-message[data-v-e39b054f] {
|
|
12708
12708
|
font-size: 14px;
|
|
12709
12709
|
margin: 0;
|
|
12710
12710
|
color: var(--n-text-color-2, #666);
|
|
12711
12711
|
}
|
|
12712
|
-
.c-table-wrapper[data-v-
|
|
12713
|
-
.c-table-wrapper[data-v-
|
|
12712
|
+
.c-table-wrapper[data-v-e39b054f] .n-data-table-th__ellipsis,
|
|
12713
|
+
.c-table-wrapper[data-v-e39b054f] .n-data-table-th__title .n-ellipsis {
|
|
12714
12714
|
overflow: visible;
|
|
12715
12715
|
text-overflow: clip;
|
|
12716
12716
|
max-width: none;
|
|
12717
12717
|
}
|
|
12718
12718
|
|
|
12719
12719
|
/* layer: default */
|
|
12720
|
-
.visible[data-v-
|
|
12721
|
-
.fixed[data-v-
|
|
12722
|
-
.grid[data-v-
|
|
12723
|
-
.mb-2[data-v-
|
|
12724
|
-
.mb-4[data-v-
|
|
12725
|
-
.ml-2[data-v-
|
|
12726
|
-
.flex[data-v-
|
|
12727
|
-
.table[data-v-
|
|
12728
|
-
.scale-110[data-v-
|
|
12729
|
-
.cursor-pointer[data-v-
|
|
12730
|
-
.items-center[data-v-
|
|
12731
|
-
.justify-end[data-v-
|
|
12732
|
-
.justify-center[data-v-
|
|
12733
|
-
.rd[data-v-
|
|
12734
|
-
.bg-gray-50[data-v-
|
|
12735
|
-
.p-4[data-v-
|
|
12736
|
-
.px[data-v-
|
|
12737
|
-
.py-8[data-v-
|
|
12738
|
-
.text-center[data-v-
|
|
12739
|
-
.text-sm[data-v-
|
|
12740
|
-
.text-gray-400[data-v-
|
|
12741
|
-
.text-gray-500[data-v-
|
|
12742
|
-
.text-gray-600[data-v-
|
|
12743
|
-
.accent-blue-500[data-v-
|
|
12744
|
-
.filter[data-v-
|
|
12720
|
+
.visible[data-v-e39b054f]{visibility:visible;}
|
|
12721
|
+
.fixed[data-v-e39b054f]{position:fixed;}
|
|
12722
|
+
.grid[data-v-e39b054f]{display:grid;}
|
|
12723
|
+
.mb-2[data-v-e39b054f]{margin-bottom:0.5rem;}
|
|
12724
|
+
.mb-4[data-v-e39b054f]{margin-bottom:1rem;}
|
|
12725
|
+
.ml-2[data-v-e39b054f]{margin-left:0.5rem;}
|
|
12726
|
+
.flex[data-v-e39b054f]{display:flex;}
|
|
12727
|
+
.table[data-v-e39b054f]{display:table;}
|
|
12728
|
+
.scale-110[data-v-e39b054f]{--un-scale-x:1.1;--un-scale-y:1.1;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
|
|
12729
|
+
.cursor-pointer[data-v-e39b054f]{cursor:pointer;}
|
|
12730
|
+
.items-center[data-v-e39b054f]{align-items:center;}
|
|
12731
|
+
.justify-end[data-v-e39b054f]{justify-content:flex-end;}
|
|
12732
|
+
.justify-center[data-v-e39b054f]{justify-content:center;}
|
|
12733
|
+
.rd[data-v-e39b054f]{border-radius:0.25rem;}
|
|
12734
|
+
.bg-gray-50[data-v-e39b054f]{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}
|
|
12735
|
+
.p-4[data-v-e39b054f]{padding:1rem;}
|
|
12736
|
+
.px[data-v-e39b054f]{padding-left:1rem;padding-right:1rem;}
|
|
12737
|
+
.py-8[data-v-e39b054f]{padding-top:2rem;padding-bottom:2rem;}
|
|
12738
|
+
.text-center[data-v-e39b054f]{text-align:center;}
|
|
12739
|
+
.text-sm[data-v-e39b054f]{font-size:0.875rem;line-height:1.25rem;}
|
|
12740
|
+
.text-gray-400[data-v-e39b054f]{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity));}
|
|
12741
|
+
.text-gray-500[data-v-e39b054f]{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity));}
|
|
12742
|
+
.text-gray-600[data-v-e39b054f]{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}
|
|
12743
|
+
.accent-blue-500[data-v-e39b054f]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
12744
|
+
.filter[data-v-e39b054f]{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
12745
12745
|
|
|
12746
12746
|
|
|
12747
12747
|
/* --- C_Tabs --- */
|
|
@@ -52,28 +52,28 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
|
-
confirm: (result: CropResult) => any;
|
|
56
55
|
ready: () => any;
|
|
56
|
+
confirm: (result: CropResult) => any;
|
|
57
57
|
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
62
61
|
onReady?: (() => any) | undefined;
|
|
62
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
|
-
|
|
68
|
+
src: string;
|
|
69
|
+
showToolbar: boolean;
|
|
69
70
|
showPreview: boolean;
|
|
70
71
|
modalTitle: string;
|
|
71
|
-
|
|
72
|
+
aspectRatio: number;
|
|
72
73
|
outputFormat: CropOutputFormat;
|
|
73
74
|
outputQuality: number;
|
|
74
75
|
maxOutputWidth: number;
|
|
75
76
|
maxOutputHeight: number;
|
|
76
|
-
showToolbar: boolean;
|
|
77
77
|
circular: boolean;
|
|
78
78
|
modal: boolean;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -52,28 +52,28 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
|
-
confirm: (result: CropResult) => any;
|
|
56
55
|
ready: () => any;
|
|
56
|
+
confirm: (result: CropResult) => any;
|
|
57
57
|
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
62
61
|
onReady?: (() => any) | undefined;
|
|
62
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
|
-
|
|
68
|
+
src: string;
|
|
69
|
+
showToolbar: boolean;
|
|
69
70
|
showPreview: boolean;
|
|
70
71
|
modalTitle: string;
|
|
71
|
-
|
|
72
|
+
aspectRatio: number;
|
|
72
73
|
outputFormat: CropOutputFormat;
|
|
73
74
|
outputQuality: number;
|
|
74
75
|
maxOutputWidth: number;
|
|
75
76
|
maxOutputHeight: number;
|
|
76
|
-
showToolbar: boolean;
|
|
77
77
|
circular: boolean;
|
|
78
78
|
modal: boolean;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -93,9 +93,9 @@ interface DraggableExpose<T extends object = DraggableItem> {
|
|
|
93
93
|
//#region src/components/C_Draggable/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
95
95
|
props: vue.PublicProps & __VLS_PrettifyLocal<DraggableProps<T> & {
|
|
96
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
97
96
|
"onDrag-start"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
97
|
"onDrag-end"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
99
99
|
"onItem-add"?: ((item: T, index: number) => any) | undefined;
|
|
100
100
|
"onItem-remove"?: ((item: T, index: number) => any) | undefined;
|
|
101
101
|
"onList-change"?: ((list: T[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonN
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: DraggableSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "drag-start", event: DragEvent<T>) => void) & ((evt: "drag-end", event: DragEvent<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "item-add", item: T, index: number) => void) & ((evt: "item-remove", item: T, index: number) => void) & ((evt: "list-change", list: T[]) => void);
|
|
120
120
|
}>) => vue.VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -93,9 +93,9 @@ interface DraggableExpose<T extends object = DraggableItem> {
|
|
|
93
93
|
//#region src/components/C_Draggable/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
95
95
|
props: vue.PublicProps & __VLS_PrettifyLocal<DraggableProps<T> & {
|
|
96
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
97
96
|
"onDrag-start"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
97
|
"onDrag-end"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
99
99
|
"onItem-add"?: ((item: T, index: number) => any) | undefined;
|
|
100
100
|
"onItem-remove"?: ((item: T, index: number) => any) | undefined;
|
|
101
101
|
"onList-change"?: ((list: T[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonN
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: DraggableSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "drag-start", event: DragEvent<T>) => void) & ((evt: "drag-end", event: DragEvent<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "item-add", item: T, index: number) => void) & ((evt: "item-remove", item: T, index: number) => void) & ((evt: "list-change", list: T[]) => void);
|
|
120
120
|
}>) => vue.VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -264,10 +264,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
readonly: boolean;
|
|
268
267
|
height: string | number;
|
|
269
|
-
theme: "light" | "dark";
|
|
270
268
|
width: string | number;
|
|
269
|
+
readonly: boolean;
|
|
270
|
+
theme: "light" | "dark";
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -264,10 +264,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
readonly: boolean;
|
|
268
267
|
height: string | number;
|
|
269
|
-
theme: "light" | "dark";
|
|
270
268
|
width: string | number;
|
|
269
|
+
readonly: boolean;
|
|
270
|
+
theme: "light" | "dark";
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|