@robot-admin/naive-ui-components 0.38.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +7 -2
- package/README_EN.md +7 -2
- package/dist/C_Table.base.css +121 -114
- package/dist/C_Table.css +121 -114
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/component-config.d.ts +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/context.d.cts +1 -1
- package/dist/data2.d.cts +9 -9
- package/dist/data2.d.ts +9 -9
- package/dist/editors.d.cts +4 -4
- package/dist/editors.d.ts +4 -4
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +3 -3
- package/dist/index17.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +6 -6
- package/dist/index18.vue.d.cts +6 -6
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +5 -5
- package/dist/index22.vue.d.cts +5 -5
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index30.vue.d.cts +1 -1
- package/dist/index30.vue.d.ts +1 -1
- package/dist/index31.vue.d.cts +4 -4
- package/dist/index31.vue.d.ts +4 -4
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +6 -6
- package/dist/index4.vue.d.ts +6 -6
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/shared-tokens.css +1 -1
- package/dist/style.css +122 -115
- package/dist/theme.cjs +1 -1
- package/dist/theme.d.cts +5 -0
- package/dist/theme.d.ts +5 -0
- package/dist/theme.js +1 -1
- package/dist/theme2.cjs +1 -1
- package/dist/theme2.js +1 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useComponentTheme.cjs +1 -1
- package/dist/useComponentTheme.js +1 -1
- package/dist/useCropperCore.d.cts +6 -6
- package/dist/useCropperCore.d.ts +6 -6
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useWorkflowValidation.d.cts +86 -86
- package/dist/useWorkflowValidation.d.ts +86 -86
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/docs/guides/table-density.md +12 -0
- package/docs/guides/theme.md +14 -10
- package/package.json +1 -1
package/dist/C_Table.css
CHANGED
|
@@ -531,7 +531,7 @@ to {
|
|
|
531
531
|
.px[data-v-fe9f3a47]{padding-left:1rem;padding-right:1rem;}
|
|
532
532
|
.accent-blue-500[data-v-fe9f3a47]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
533
533
|
|
|
534
|
-
.c-table-wrapper[data-v-
|
|
534
|
+
.c-table-wrapper[data-v-5b9ab188] {
|
|
535
535
|
--c-table-border-color: var(--c-border, var(--c-theme-border, #e5e7eb));
|
|
536
536
|
--c-table-bg: var(--c-bg-body, var(--c-theme-bg-body, #fff));
|
|
537
537
|
--c-table-header-bg: var(--c-bg-muted, var(--c-theme-bg-muted, #fafafc));
|
|
@@ -542,55 +542,62 @@ to {
|
|
|
542
542
|
width: 100%;
|
|
543
543
|
position: relative;
|
|
544
544
|
}
|
|
545
|
-
.c-table-wrapper
|
|
545
|
+
.c-table-wrapper[data-v-5b9ab188] tr:has(
|
|
546
|
+
> .n-data-table-td--selection
|
|
547
|
+
> :is(.n-checkbox--checked, .n-radio--checked)
|
|
548
|
+
)
|
|
549
|
+
> :first-child {
|
|
550
|
+
box-shadow: inset var(--c-table-selected-marker-width, 2px) 0 var(--c-primary, var(--c-theme-primary, #2080f0));
|
|
551
|
+
}
|
|
552
|
+
.c-table-wrapper--compact[data-v-5b9ab188] {
|
|
546
553
|
--c-table-gap: 8px;
|
|
547
554
|
--c-table-button-font-size: 14px;
|
|
548
555
|
--c-table-cell-min-height: 28px;
|
|
549
556
|
--c-table-cell-padding: 2px 4px;
|
|
550
557
|
}
|
|
551
|
-
.c-table-wrapper--default[data-v-
|
|
558
|
+
.c-table-wrapper--default[data-v-5b9ab188] {
|
|
552
559
|
--c-table-gap: 16px;
|
|
553
560
|
--c-table-button-font-size: 14px;
|
|
554
561
|
--c-table-cell-min-height: 36px;
|
|
555
562
|
--c-table-cell-padding: 6px 8px;
|
|
556
563
|
}
|
|
557
|
-
.c-table-wrapper--comfortable[data-v-
|
|
564
|
+
.c-table-wrapper--comfortable[data-v-5b9ab188] {
|
|
558
565
|
--c-table-gap: 20px;
|
|
559
566
|
--c-table-button-font-size: 15px;
|
|
560
567
|
--c-table-cell-min-height: 40px;
|
|
561
568
|
--c-table-cell-padding: 8px 10px;
|
|
562
569
|
}
|
|
563
|
-
.c-table-wrapper--flex[data-v-
|
|
570
|
+
.c-table-wrapper--flex[data-v-5b9ab188] {
|
|
564
571
|
display: flex;
|
|
565
572
|
flex-direction: column;
|
|
566
573
|
height: 100%;
|
|
567
574
|
min-height: 0;
|
|
568
575
|
}
|
|
569
|
-
.c-table-wrapper--flex[data-v-
|
|
570
|
-
.c-table-wrapper--flex > .table-error-state[data-v-
|
|
576
|
+
.c-table-wrapper--flex[data-v-5b9ab188] > .n-data-table,
|
|
577
|
+
.c-table-wrapper--flex > .table-error-state[data-v-5b9ab188] {
|
|
571
578
|
flex: 1;
|
|
572
579
|
min-height: 0;
|
|
573
580
|
}
|
|
574
|
-
.c-table-wrapper--flex > .table-toolbar[data-v-
|
|
575
|
-
.c-table-wrapper--flex > .batch-actions-bar[data-v-
|
|
576
|
-
.c-table-wrapper--flex > .pagination-wrapper[data-v-
|
|
581
|
+
.c-table-wrapper--flex > .table-toolbar[data-v-5b9ab188],
|
|
582
|
+
.c-table-wrapper--flex > .batch-actions-bar[data-v-5b9ab188],
|
|
583
|
+
.c-table-wrapper--flex > .pagination-wrapper[data-v-5b9ab188] {
|
|
577
584
|
flex-shrink: 0;
|
|
578
585
|
}
|
|
579
|
-
.column-drag-ghost[data-v-
|
|
586
|
+
.column-drag-ghost[data-v-5b9ab188] {
|
|
580
587
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
581
588
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
582
589
|
}
|
|
583
|
-
.drag-handle[data-v-
|
|
590
|
+
.drag-handle[data-v-5b9ab188] {
|
|
584
591
|
cursor: grab;
|
|
585
592
|
}
|
|
586
|
-
.drag-handle[data-v-
|
|
593
|
+
.drag-handle[data-v-5b9ab188]:active {
|
|
587
594
|
cursor: grabbing;
|
|
588
595
|
}
|
|
589
|
-
.c-table-wrapper[data-v-
|
|
596
|
+
.c-table-wrapper[data-v-5b9ab188] .n-data-table-tfoot {
|
|
590
597
|
background: var(--c-table-summary-bg);
|
|
591
598
|
font-weight: var(--c-table-summary-font-weight);
|
|
592
599
|
}
|
|
593
|
-
.table-toolbar[data-v-
|
|
600
|
+
.table-toolbar[data-v-5b9ab188] {
|
|
594
601
|
display: flex;
|
|
595
602
|
justify-content: space-between;
|
|
596
603
|
align-items: center;
|
|
@@ -598,29 +605,29 @@ to {
|
|
|
598
605
|
gap: var(--c-table-gap, 12px);
|
|
599
606
|
flex-wrap: wrap;
|
|
600
607
|
}
|
|
601
|
-
.table-toolbar .toolbar-left[data-v-
|
|
608
|
+
.table-toolbar .toolbar-left[data-v-5b9ab188] {
|
|
602
609
|
display: flex;
|
|
603
610
|
align-items: center;
|
|
604
611
|
gap: var(--c-table-gap, 12px);
|
|
605
612
|
flex-wrap: wrap;
|
|
606
613
|
min-width: 0;
|
|
607
614
|
}
|
|
608
|
-
.table-toolbar .toolbar-right[data-v-
|
|
615
|
+
.table-toolbar .toolbar-right[data-v-5b9ab188] {
|
|
609
616
|
display: flex;
|
|
610
617
|
align-items: center;
|
|
611
618
|
gap: var(--c-table-gap, 8px);
|
|
612
619
|
flex-wrap: wrap;
|
|
613
620
|
}
|
|
614
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
621
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-5b9ab188] {
|
|
615
622
|
opacity: 0.6;
|
|
616
623
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
617
624
|
cursor: pointer;
|
|
618
625
|
}
|
|
619
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
626
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-5b9ab188]:hover {
|
|
620
627
|
opacity: 1;
|
|
621
628
|
transform: scale(1.1);
|
|
622
629
|
}
|
|
623
|
-
.dynamic-rows-toolbar[data-v-
|
|
630
|
+
.dynamic-rows-toolbar[data-v-5b9ab188] {
|
|
624
631
|
margin-bottom: var(--c-table-gap, 16px);
|
|
625
632
|
padding: var(--c-table-gap, 16px);
|
|
626
633
|
border-radius: var(--c-radius-panel, var(--c-theme-radius-panel, 8px));
|
|
@@ -629,26 +636,26 @@ to {
|
|
|
629
636
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
630
637
|
transition: all 0.2s ease;
|
|
631
638
|
}
|
|
632
|
-
.dynamic-rows-toolbar[data-v-
|
|
639
|
+
.dynamic-rows-toolbar[data-v-5b9ab188]:hover {
|
|
633
640
|
border-color: color-mix(in srgb, var(--c-primary, var(--c-theme-primary, #2080f0)) 16%, transparent);
|
|
634
641
|
}
|
|
635
|
-
[data-v-
|
|
642
|
+
[data-v-5b9ab188] .n-data-table {
|
|
636
643
|
table-layout: auto !important;
|
|
637
644
|
width: 100% !important;
|
|
638
645
|
border-radius: var(--c-radius-panel, var(--c-theme-radius-panel, 8px));
|
|
639
646
|
overflow: hidden;
|
|
640
647
|
}
|
|
641
|
-
[data-v-
|
|
648
|
+
[data-v-5b9ab188] .n-data-table-wrapper {
|
|
642
649
|
overflow-x: auto !important;
|
|
643
650
|
}
|
|
644
|
-
.c-table-wrapper[data-v-
|
|
651
|
+
.c-table-wrapper[data-v-5b9ab188] .n-data-table-table {
|
|
645
652
|
width: var(--c-table-native-width, 100%);
|
|
646
653
|
}
|
|
647
|
-
[data-v-
|
|
654
|
+
[data-v-5b9ab188] .c-table-layout-gap {
|
|
648
655
|
padding-inline: 0 !important;
|
|
649
656
|
border-inline: 0 !important;
|
|
650
657
|
}
|
|
651
|
-
.c-table-wrapper[data-v-
|
|
658
|
+
.c-table-wrapper[data-v-5b9ab188] .n-data-table-td
|
|
652
659
|
.n-ellipsis:not(.n-ellipsis--line-clamp)
|
|
653
660
|
> span
|
|
654
661
|
> :is(button, a):not(.n-button) {
|
|
@@ -660,23 +667,23 @@ to {
|
|
|
660
667
|
white-space: nowrap;
|
|
661
668
|
vertical-align: bottom;
|
|
662
669
|
}
|
|
663
|
-
.pagination-wrapper[data-v-
|
|
670
|
+
.pagination-wrapper[data-v-5b9ab188] {
|
|
664
671
|
margin-top: var(--c-table-gap, 16px);
|
|
665
672
|
display: flex;
|
|
666
673
|
justify-content: flex-end;
|
|
667
674
|
}
|
|
668
|
-
[data-v-
|
|
675
|
+
[data-v-5b9ab188] .c-table-index-column {
|
|
669
676
|
padding-inline: 8px;
|
|
670
677
|
}
|
|
671
|
-
[data-v-
|
|
678
|
+
[data-v-5b9ab188] .c-table-actions-column {
|
|
672
679
|
text-align: center !important;
|
|
673
|
-
padding: 8px 12px !important;
|
|
680
|
+
padding: var(--c-table-cell-padding, 8px 12px) !important;
|
|
674
681
|
}
|
|
675
|
-
[data-v-
|
|
682
|
+
[data-v-5b9ab188] .c-table-actions-column .n-space {
|
|
676
683
|
justify-content: center !important;
|
|
677
684
|
align-items: center !important;
|
|
678
685
|
}
|
|
679
|
-
[data-v-
|
|
686
|
+
[data-v-5b9ab188] .cell-edit-wrapper {
|
|
680
687
|
display: flex;
|
|
681
688
|
align-items: center;
|
|
682
689
|
justify-content: space-between;
|
|
@@ -688,18 +695,18 @@ to {
|
|
|
688
695
|
cursor: pointer;
|
|
689
696
|
position: relative;
|
|
690
697
|
}
|
|
691
|
-
[data-v-
|
|
698
|
+
[data-v-5b9ab188] .cell-edit-wrapper:hover {
|
|
692
699
|
background-color: var(--c-bg-hover, var(--c-theme-bg-hover, #f3f4f6));
|
|
693
700
|
}
|
|
694
|
-
[data-v-
|
|
701
|
+
[data-v-5b9ab188] .cell-edit-wrapper:hover .cell-edit-icon {
|
|
695
702
|
opacity: 1;
|
|
696
703
|
color: var(--c-success, var(--c-theme-success, #18a058));
|
|
697
704
|
transform: scale(1.05);
|
|
698
705
|
}
|
|
699
|
-
[data-v-
|
|
706
|
+
[data-v-5b9ab188] .cell-edit-wrapper:active {
|
|
700
707
|
transform: translateY(1px);
|
|
701
708
|
}
|
|
702
|
-
[data-v-
|
|
709
|
+
[data-v-5b9ab188] .cell-value {
|
|
703
710
|
flex: 1;
|
|
704
711
|
overflow: hidden;
|
|
705
712
|
text-overflow: ellipsis;
|
|
@@ -708,7 +715,7 @@ to {
|
|
|
708
715
|
line-height: 1.4;
|
|
709
716
|
font-size: 13px;
|
|
710
717
|
}
|
|
711
|
-
.c-table-wrapper[data-v-
|
|
718
|
+
.c-table-wrapper[data-v-5b9ab188] .cell-edit-icon {
|
|
712
719
|
flex-shrink: 0;
|
|
713
720
|
width: 24px;
|
|
714
721
|
height: 24px;
|
|
@@ -723,20 +730,20 @@ to {
|
|
|
723
730
|
opacity: 0;
|
|
724
731
|
position: relative;
|
|
725
732
|
}
|
|
726
|
-
.c-table-wrapper[data-v-
|
|
733
|
+
.c-table-wrapper[data-v-5b9ab188] .cell-edit-icon:hover {
|
|
727
734
|
opacity: 1 !important;
|
|
728
735
|
color: var(--c-success, var(--c-theme-success, #18a058)) !important;
|
|
729
736
|
background-color: color-mix(in srgb, var(--c-success, var(--c-theme-success, #18a058)) 14%, transparent);
|
|
730
737
|
transform: scale(1.1);
|
|
731
738
|
}
|
|
732
|
-
.c-table-wrapper[data-v-
|
|
739
|
+
.c-table-wrapper[data-v-5b9ab188] .cell-edit-icon:active {
|
|
733
740
|
transform: scale(0.95);
|
|
734
741
|
}
|
|
735
|
-
.c-table-wrapper[data-v-
|
|
742
|
+
.c-table-wrapper[data-v-5b9ab188] .cell-edit-icon svg {
|
|
736
743
|
width: 14px;
|
|
737
744
|
height: 14px;
|
|
738
745
|
}
|
|
739
|
-
[data-v-
|
|
746
|
+
[data-v-5b9ab188] .cell-editing-container {
|
|
740
747
|
display: flex !important;
|
|
741
748
|
flex-wrap: wrap;
|
|
742
749
|
align-items: center !important;
|
|
@@ -749,36 +756,36 @@ to {
|
|
|
749
756
|
box-shadow: 0 0 0 2px var(--c-focus-ring, var(--c-theme-focus-ring, color-mix(in srgb, var(--c-primary, var(--c-theme-primary, #2080f0)) 30%, transparent))) !important;
|
|
750
757
|
gap: 8px !important;
|
|
751
758
|
}
|
|
752
|
-
[data-v-
|
|
759
|
+
[data-v-5b9ab188] .cell-editing-input {
|
|
753
760
|
flex: 1 0 6rem !important;
|
|
754
761
|
min-width: 0 !important;
|
|
755
762
|
max-width: 100%;
|
|
756
763
|
}
|
|
757
|
-
[data-v-
|
|
764
|
+
[data-v-5b9ab188] .cell-editing-input .n-input {
|
|
758
765
|
border: none !important;
|
|
759
766
|
box-shadow: none !important;
|
|
760
767
|
background: transparent !important;
|
|
761
768
|
}
|
|
762
|
-
[data-v-
|
|
769
|
+
[data-v-5b9ab188] .cell-editing-input .n-input.n-input--focus {
|
|
763
770
|
border: none !important;
|
|
764
771
|
box-shadow: none !important;
|
|
765
772
|
}
|
|
766
|
-
[data-v-
|
|
773
|
+
[data-v-5b9ab188] .cell-editing-input .n-input-number {
|
|
767
774
|
border: none !important;
|
|
768
775
|
box-shadow: none !important;
|
|
769
776
|
background: transparent !important;
|
|
770
777
|
}
|
|
771
|
-
[data-v-
|
|
778
|
+
[data-v-5b9ab188] .cell-editing-input .n-select {
|
|
772
779
|
border: none !important;
|
|
773
780
|
box-shadow: none !important;
|
|
774
781
|
background: transparent !important;
|
|
775
782
|
}
|
|
776
|
-
[data-v-
|
|
783
|
+
[data-v-5b9ab188] .cell-editing-input .n-select .n-base-selection {
|
|
777
784
|
border: none !important;
|
|
778
785
|
box-shadow: none !important;
|
|
779
786
|
background: transparent !important;
|
|
780
787
|
}
|
|
781
|
-
[data-v-
|
|
788
|
+
[data-v-5b9ab188] .cell-editing-actions {
|
|
782
789
|
display: flex !important;
|
|
783
790
|
flex-shrink: 0 !important;
|
|
784
791
|
align-items: center !important;
|
|
@@ -789,7 +796,7 @@ to {
|
|
|
789
796
|
padding: 2px !important;
|
|
790
797
|
box-shadow: var(--c-shadow-sm, var(--c-theme-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08))) !important;
|
|
791
798
|
}
|
|
792
|
-
[data-v-
|
|
799
|
+
[data-v-5b9ab188] .cell-action-btn {
|
|
793
800
|
display: flex !important;
|
|
794
801
|
align-items: center !important;
|
|
795
802
|
justify-content: center !important;
|
|
@@ -801,25 +808,25 @@ to {
|
|
|
801
808
|
transition: all 0.2s ease !important;
|
|
802
809
|
background: transparent !important;
|
|
803
810
|
}
|
|
804
|
-
[data-v-
|
|
811
|
+
[data-v-5b9ab188] .cell-action-btn.cell-action-save {
|
|
805
812
|
color: var(--c-success, var(--c-theme-success, #18a058)) !important;
|
|
806
813
|
}
|
|
807
|
-
[data-v-
|
|
814
|
+
[data-v-5b9ab188] .cell-action-btn.cell-action-save:hover {
|
|
808
815
|
background: color-mix(in srgb, var(--c-success, var(--c-theme-success, #18a058)) 14%, transparent) !important;
|
|
809
816
|
transform: scale(1.1) !important;
|
|
810
817
|
}
|
|
811
|
-
[data-v-
|
|
818
|
+
[data-v-5b9ab188] .cell-action-btn.cell-action-cancel {
|
|
812
819
|
color: var(--c-error, var(--c-theme-error, #d03050)) !important;
|
|
813
820
|
}
|
|
814
|
-
[data-v-
|
|
821
|
+
[data-v-5b9ab188] .cell-action-btn.cell-action-cancel:hover {
|
|
815
822
|
background: color-mix(in srgb, var(--c-error, var(--c-theme-error, #d03050)) 14%, transparent) !important;
|
|
816
823
|
transform: scale(1.1) !important;
|
|
817
824
|
}
|
|
818
|
-
[data-v-
|
|
825
|
+
[data-v-5b9ab188] .cell-action-btn svg {
|
|
819
826
|
width: 11px !important;
|
|
820
827
|
height: 11px !important;
|
|
821
828
|
}
|
|
822
|
-
[data-v-
|
|
829
|
+
[data-v-5b9ab188] .n-button {
|
|
823
830
|
white-space: nowrap;
|
|
824
831
|
font-size: var(--c-table-button-font-size, 12px) !important;
|
|
825
832
|
flex-shrink: 0 !important;
|
|
@@ -827,108 +834,108 @@ to {
|
|
|
827
834
|
transition: all 0.2s ease;
|
|
828
835
|
font-weight: 500;
|
|
829
836
|
}
|
|
830
|
-
[data-v-
|
|
837
|
+
[data-v-5b9ab188] .n-button .n-icon {
|
|
831
838
|
margin-right: 4px !important;
|
|
832
839
|
}
|
|
833
|
-
[data-v-
|
|
840
|
+
[data-v-5b9ab188] .n-button.n-button--small-type:not(.c-table-inline-action) {
|
|
834
841
|
padding: 4px 8px;
|
|
835
842
|
height: 28px;
|
|
836
843
|
line-height: 20px;
|
|
837
844
|
}
|
|
838
|
-
[data-v-
|
|
845
|
+
[data-v-5b9ab188] .n-button.n-button--quaternary-type:hover {
|
|
839
846
|
transform: translateY(-1px);
|
|
840
847
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
841
848
|
}
|
|
842
|
-
[data-v-
|
|
849
|
+
[data-v-5b9ab188] .n-button.n-button--quaternary-type:active {
|
|
843
850
|
transform: translateY(0);
|
|
844
851
|
}
|
|
845
|
-
[data-v-
|
|
852
|
+
[data-v-5b9ab188] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
846
853
|
margin-right: 6px !important;
|
|
847
854
|
}
|
|
848
|
-
[data-v-
|
|
855
|
+
[data-v-5b9ab188] .n-modal .n-card {
|
|
849
856
|
border-radius: var(--c-radius-lg, var(--c-theme-radius-lg, 12px));
|
|
850
857
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
851
858
|
}
|
|
852
|
-
[data-v-
|
|
859
|
+
[data-v-5b9ab188] .n-modal .n-card__header {
|
|
853
860
|
padding: 20px 24px 16px;
|
|
854
861
|
font-weight: 600;
|
|
855
862
|
font-size: 16px;
|
|
856
863
|
}
|
|
857
|
-
[data-v-
|
|
864
|
+
[data-v-5b9ab188] .n-modal .n-card__content {
|
|
858
865
|
padding: 0 24px 16px;
|
|
859
866
|
}
|
|
860
|
-
[data-v-
|
|
867
|
+
[data-v-5b9ab188] .n-modal .n-card__action {
|
|
861
868
|
padding: 16px 24px 20px;
|
|
862
869
|
border-top: 1px solid var(--c-border, var(--c-theme-border, #e5e7eb));
|
|
863
870
|
}
|
|
864
|
-
[data-v-
|
|
871
|
+
[data-v-5b9ab188] .n-descriptions .n-descriptions-item-label {
|
|
865
872
|
font-weight: 500;
|
|
866
873
|
color: var(--c-text-2, var(--c-theme-text-2, #525252));
|
|
867
874
|
}
|
|
868
|
-
[data-v-
|
|
875
|
+
[data-v-5b9ab188] .n-descriptions .n-descriptions-item-content {
|
|
869
876
|
color: var(--c-text-1, var(--c-theme-text-1, #262626));
|
|
870
877
|
word-break: break-all;
|
|
871
878
|
}
|
|
872
879
|
@media (max-width: 768px) {
|
|
873
|
-
.c-table-wrapper[data-v-
|
|
880
|
+
.c-table-wrapper[data-v-5b9ab188] {
|
|
874
881
|
overflow-x: auto;
|
|
875
882
|
}
|
|
876
|
-
[data-v-
|
|
883
|
+
[data-v-5b9ab188] .n-button {
|
|
877
884
|
font-size: 11px !important;
|
|
878
885
|
}
|
|
879
|
-
[data-v-
|
|
886
|
+
[data-v-5b9ab188] .n-button:not(.c-table-inline-action) {
|
|
880
887
|
padding: 3px 6px;
|
|
881
888
|
}
|
|
882
|
-
[data-v-
|
|
889
|
+
[data-v-5b9ab188] .n-button .n-icon {
|
|
883
890
|
margin-right: 2px !important;
|
|
884
891
|
}
|
|
885
|
-
.cell-edit-icon[data-v-
|
|
892
|
+
.cell-edit-icon[data-v-5b9ab188] {
|
|
886
893
|
opacity: 0.6;
|
|
887
894
|
}
|
|
888
895
|
}
|
|
889
896
|
@media (max-width: 768px) {
|
|
890
|
-
[data-v-
|
|
897
|
+
[data-v-5b9ab188] .cell-editing-container {
|
|
891
898
|
gap: 6px !important;
|
|
892
899
|
}
|
|
893
|
-
[data-v-
|
|
900
|
+
[data-v-5b9ab188] .cell-editing-actions {
|
|
894
901
|
gap: 3px !important;
|
|
895
902
|
padding: 2px !important;
|
|
896
903
|
}
|
|
897
|
-
[data-v-
|
|
904
|
+
[data-v-5b9ab188] .cell-action-btn {
|
|
898
905
|
width: 18px !important;
|
|
899
906
|
height: 18px !important;
|
|
900
907
|
}
|
|
901
|
-
[data-v-
|
|
908
|
+
[data-v-5b9ab188] .cell-action-btn svg {
|
|
902
909
|
width: 10px !important;
|
|
903
910
|
height: 10px !important;
|
|
904
911
|
}
|
|
905
|
-
.cell-edit-icon[data-v-
|
|
912
|
+
.cell-edit-icon[data-v-5b9ab188] {
|
|
906
913
|
opacity: 0.6 !important;
|
|
907
914
|
}
|
|
908
|
-
[data-v-
|
|
915
|
+
[data-v-5b9ab188] .cell-value {
|
|
909
916
|
margin-right: 12px !important;
|
|
910
917
|
}
|
|
911
918
|
}
|
|
912
|
-
[data-v-
|
|
919
|
+
[data-v-5b9ab188] .cell-edit-wrapper:focus-within,[data-v-5b9ab188] .cell-editing-container:focus-within {
|
|
913
920
|
outline: 2px solid var(--c-primary, var(--c-theme-primary, #2080f0));
|
|
914
921
|
outline-offset: 2px;
|
|
915
922
|
}
|
|
916
923
|
@media (prefers-contrast: high) {
|
|
917
|
-
.cell-edit-icon[data-v-
|
|
924
|
+
.cell-edit-icon[data-v-5b9ab188] {
|
|
918
925
|
opacity: 0.8;
|
|
919
926
|
}
|
|
920
|
-
.cell-editing-actions[data-v-
|
|
927
|
+
.cell-editing-actions[data-v-5b9ab188] {
|
|
921
928
|
border-width: 2px;
|
|
922
929
|
}
|
|
923
930
|
}
|
|
924
|
-
.row-drag-ghost[data-v-
|
|
931
|
+
.row-drag-ghost[data-v-5b9ab188] {
|
|
925
932
|
opacity: 0.4;
|
|
926
933
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
927
934
|
}
|
|
928
|
-
.row-drag-chosen[data-v-
|
|
935
|
+
.row-drag-chosen[data-v-5b9ab188] {
|
|
929
936
|
background: var(--c-bg-hover, var(--c-theme-bg-hover, #f5f5f5)) !important;
|
|
930
937
|
}
|
|
931
|
-
.batch-actions-bar[data-v-
|
|
938
|
+
.batch-actions-bar[data-v-5b9ab188] {
|
|
932
939
|
display: flex;
|
|
933
940
|
align-items: center;
|
|
934
941
|
justify-content: space-between;
|
|
@@ -938,57 +945,57 @@ to {
|
|
|
938
945
|
border-radius: var(--c-radius, var(--c-theme-radius, 6px));
|
|
939
946
|
border: 1px solid color-mix(in srgb, var(--c-primary, var(--c-theme-primary, #2080f0)) 16%, transparent);
|
|
940
947
|
}
|
|
941
|
-
.batch-actions-bar .batch-info[data-v-
|
|
948
|
+
.batch-actions-bar .batch-info[data-v-5b9ab188] {
|
|
942
949
|
font-size: 13px;
|
|
943
950
|
color: var(--c-text-2, var(--c-theme-text-2, #525252));
|
|
944
951
|
font-weight: 500;
|
|
945
952
|
}
|
|
946
|
-
.table-error-state[data-v-
|
|
953
|
+
.table-error-state[data-v-5b9ab188] {
|
|
947
954
|
padding: 48px 24px;
|
|
948
955
|
text-align: center;
|
|
949
956
|
}
|
|
950
|
-
.table-error-state .error-content[data-v-
|
|
957
|
+
.table-error-state .error-content[data-v-5b9ab188] {
|
|
951
958
|
display: flex;
|
|
952
959
|
flex-direction: column;
|
|
953
960
|
align-items: center;
|
|
954
961
|
gap: 12px;
|
|
955
962
|
color: var(--c-text-3, var(--c-theme-text-3, #999));
|
|
956
963
|
}
|
|
957
|
-
.table-error-state .error-message[data-v-
|
|
964
|
+
.table-error-state .error-message[data-v-5b9ab188] {
|
|
958
965
|
font-size: 14px;
|
|
959
966
|
margin: 0;
|
|
960
967
|
color: var(--c-text-2, var(--c-theme-text-2, #525252));
|
|
961
968
|
}
|
|
962
|
-
.c-table-wrapper[data-v-
|
|
963
|
-
.c-table-wrapper[data-v-
|
|
969
|
+
.c-table-wrapper[data-v-5b9ab188] .n-data-table-th__ellipsis,
|
|
970
|
+
.c-table-wrapper[data-v-5b9ab188] .n-data-table-th__title .n-ellipsis {
|
|
964
971
|
overflow: visible;
|
|
965
972
|
text-overflow: clip;
|
|
966
973
|
max-width: none;
|
|
967
974
|
}
|
|
968
975
|
|
|
969
976
|
/* layer: default */
|
|
970
|
-
.visible[data-v-
|
|
971
|
-
.fixed[data-v-
|
|
972
|
-
.grid[data-v-
|
|
973
|
-
.mb-2[data-v-
|
|
974
|
-
.mb-4[data-v-
|
|
975
|
-
.ml-2[data-v-
|
|
976
|
-
.flex[data-v-
|
|
977
|
-
.table[data-v-
|
|
978
|
-
.scale-110[data-v-
|
|
979
|
-
.cursor-pointer[data-v-
|
|
980
|
-
.items-center[data-v-
|
|
981
|
-
.justify-end[data-v-
|
|
982
|
-
.justify-center[data-v-
|
|
983
|
-
.rd[data-v-
|
|
984
|
-
.bg-gray-50[data-v-
|
|
985
|
-
.p-4[data-v-
|
|
986
|
-
.px[data-v-
|
|
987
|
-
.py-8[data-v-
|
|
988
|
-
.text-center[data-v-
|
|
989
|
-
.text-sm[data-v-
|
|
990
|
-
.text-gray-400[data-v-
|
|
991
|
-
.text-gray-500[data-v-
|
|
992
|
-
.text-gray-600[data-v-
|
|
993
|
-
.accent-blue-500[data-v-
|
|
994
|
-
.filter[data-v-
|
|
977
|
+
.visible[data-v-5b9ab188]{visibility:visible;}
|
|
978
|
+
.fixed[data-v-5b9ab188]{position:fixed;}
|
|
979
|
+
.grid[data-v-5b9ab188]{display:grid;}
|
|
980
|
+
.mb-2[data-v-5b9ab188]{margin-bottom:0.5rem;}
|
|
981
|
+
.mb-4[data-v-5b9ab188]{margin-bottom:1rem;}
|
|
982
|
+
.ml-2[data-v-5b9ab188]{margin-left:0.5rem;}
|
|
983
|
+
.flex[data-v-5b9ab188]{display:flex;}
|
|
984
|
+
.table[data-v-5b9ab188]{display:table;}
|
|
985
|
+
.scale-110[data-v-5b9ab188]{--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));}
|
|
986
|
+
.cursor-pointer[data-v-5b9ab188]{cursor:pointer;}
|
|
987
|
+
.items-center[data-v-5b9ab188]{align-items:center;}
|
|
988
|
+
.justify-end[data-v-5b9ab188]{justify-content:flex-end;}
|
|
989
|
+
.justify-center[data-v-5b9ab188]{justify-content:center;}
|
|
990
|
+
.rd[data-v-5b9ab188]{border-radius:0.25rem;}
|
|
991
|
+
.bg-gray-50[data-v-5b9ab188]{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}
|
|
992
|
+
.p-4[data-v-5b9ab188]{padding:1rem;}
|
|
993
|
+
.px[data-v-5b9ab188]{padding-left:1rem;padding-right:1rem;}
|
|
994
|
+
.py-8[data-v-5b9ab188]{padding-top:2rem;padding-bottom:2rem;}
|
|
995
|
+
.text-center[data-v-5b9ab188]{text-align:center;}
|
|
996
|
+
.text-sm[data-v-5b9ab188]{font-size:0.875rem;line-height:1.25rem;}
|
|
997
|
+
.text-gray-400[data-v-5b9ab188]{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity));}
|
|
998
|
+
.text-gray-500[data-v-5b9ab188]{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity));}
|
|
999
|
+
.text-gray-600[data-v-5b9ab188]{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}
|
|
1000
|
+
.accent-blue-500[data-v-5b9ab188]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
1001
|
+
.filter[data-v-5b9ab188]{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);}
|