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