@chenchaolong/plugin-trade-compliance-workbench 1.0.31 → 1.0.33

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.
@@ -696,7 +696,34 @@
696
696
  }
697
697
 
698
698
  .tcw-contract-prototype-surface .tcw-filter-grid {
699
- grid-template-columns: 1fr 1.05fr .95fr .95fr 1.25fr auto;
699
+ grid-template-columns: minmax(190px, 1.15fr) minmax(210px, 1.25fr) minmax(260px, 1.5fr) minmax(220px, 1.25fr) minmax(96px, .65fr) auto;
700
+ }
701
+
702
+ .tcw-contract-prototype-surface .tcw-filter-panel {
703
+ padding: 12px;
704
+ }
705
+
706
+ .tcw-contract-prototype-surface .tcw-filter-grid {
707
+ align-items: end;
708
+ gap: 8px 10px;
709
+ }
710
+
711
+ .tcw-contract-prototype-surface .tcw-filter-control--range > div {
712
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
713
+ }
714
+
715
+ .tcw-contract-prototype-surface .tcw-filter-control input,
716
+ .tcw-contract-prototype-surface .tcw-filter-control select {
717
+ padding-inline: 10px;
718
+ }
719
+
720
+ .tcw-contract-prototype-surface .tcw-filter-actions {
721
+ flex-wrap: nowrap;
722
+ }
723
+
724
+ .tcw-contract-prototype-surface .tcw-filter-actions .tcw-button {
725
+ min-width: 80px;
726
+ padding-inline: 12px;
700
727
  }
701
728
 
702
729
  .tcw-contract-customer-code {
@@ -720,17 +747,17 @@
720
747
  .tcw-contract-sanction-text--clear { color: #168653; }
721
748
 
722
749
  .tcw-contract-prototype-surface .tcw-modal:has(.tcw-contract-review-summary) {
723
- width: min(880px, calc(100vw - 56px));
724
- height: min(620px, calc(100vh - 48px));
750
+ width: min(920px, calc(100vw - 32px));
751
+ height: min(742px, calc(100vh - 20px));
725
752
  max-height: none;
726
- transform: translate(24px, 12px);
753
+ transform: none;
727
754
  }
728
755
 
729
756
  .tcw-contract-review-header {
730
- grid-template-columns: 1.1fr minmax(0, 4fr) auto auto;
757
+ grid-template-columns: minmax(130px, 1.1fr) minmax(420px, 3.5fr) minmax(108px, .9fr) minmax(112px, .9fr);
731
758
  align-items: center;
732
- gap: 16px;
733
- padding: 14px 18px;
759
+ gap: 12px 20px;
760
+ padding: 16px 20px;
734
761
  background: #fff;
735
762
  }
736
763
 
@@ -746,13 +773,13 @@
746
773
  }
747
774
 
748
775
  .tcw-contract-review-toolbar {
749
- min-height: 40px;
750
- margin: 8px 0 0;
776
+ min-height: 44px;
777
+ margin: 0;
751
778
  }
752
779
 
753
780
  .tcw-contract-review-layout {
754
- grid-template-columns: 132px minmax(310px, 1fr) minmax(280px, .9fr);
755
- min-height: 440px;
781
+ grid-template-columns: 140px minmax(360px, 1fr) minmax(306px, .86fr);
782
+ min-height: 0;
756
783
  }
757
784
 
758
785
  .tcw-contract-clause-tabs {
@@ -761,20 +788,41 @@
761
788
  }
762
789
 
763
790
  .tcw-contract-clause-tabs button {
764
- min-height: 46px;
765
- padding: 7px 14px;
791
+ min-height: 44px;
792
+ padding: 0 18px;
766
793
  font-size: 13px;
767
794
  }
768
795
 
769
796
  .tcw-contract-clause-tabs small {
770
- margin-top: 2px;
797
+ position: absolute;
798
+ width: 1px;
799
+ height: 1px;
800
+ margin: -1px;
801
+ padding: 0;
802
+ overflow: hidden;
803
+ clip: rect(0 0 0 0);
804
+ white-space: nowrap;
805
+ border: 0;
806
+ }
807
+
808
+ .tcw-contract-clause-tabs i {
809
+ display: none;
810
+ }
811
+
812
+ .tcw-contract-clause-tabs button.is-active {
813
+ border-left-width: 3px;
814
+ background: #eef4ff;
815
+ }
816
+
817
+ .tcw-contract-clause-tabs small {
771
818
  color: #697386;
772
819
  font-size: 12px;
773
820
  }
774
821
 
775
822
  .tcw-contract-clause-editor,
776
- .tcw-contract-source-preview {
777
- padding: 16px 14px;
823
+ .tcw-contract-source-preview,
824
+ .tcw-contract-basic-info {
825
+ padding: 18px;
778
826
  }
779
827
 
780
828
  .tcw-contract-clause-editor {
@@ -782,7 +830,7 @@
782
830
  }
783
831
 
784
832
  .tcw-contract-clause-editor textarea {
785
- min-height: 80px;
833
+ min-height: 104px;
786
834
  padding: 10px;
787
835
  }
788
836
 
@@ -791,9 +839,13 @@
791
839
  background: #fff;
792
840
  }
793
841
 
794
- .tcw-contract-source-preview > h3 {
795
- padding-bottom: 14px;
796
- border-bottom: 1px solid #e3e9f1;
842
+ .tcw-contract-basic-info {
843
+ display: block;
844
+ background: #fff;
845
+ }
846
+
847
+ .tcw-contract-basic-info .tcw-field-grid {
848
+ padding-top: 2px;
797
849
  }
798
850
 
799
851
  .tcw-contract-analysis {
@@ -802,10 +854,17 @@
802
854
  background: #fff;
803
855
  }
804
856
 
805
- .tcw-contract-analysis h4 {
806
- margin: 0 0 8px;
857
+ .tcw-contract-source-heading {
858
+ min-height: 44px;
859
+ margin: 0 -18px 16px;
860
+ padding: 0 18px;
861
+ border-bottom: 1px solid #e3e9f1;
862
+ }
863
+
864
+ .tcw-contract-source-heading h3 {
865
+ margin: 0;
807
866
  color: #273349;
808
- font-size: 13px;
867
+ font-size: 14px;
809
868
  }
810
869
 
811
870
  .tcw-contract-analysis dt {
@@ -51,7 +51,7 @@ button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: no
51
51
  .tcw-app-frame.is-sidebar-collapsed .tcw-sidebar-toggle { justify-content: center; padding: 0; }
52
52
 
53
53
  .tcw-main { min-width: 0; height: 100%; overflow-y: auto; scrollbar-gutter: stable; }
54
- .tcw-topbar { display: flex; align-items: center; justify-content: space-between; min-height: var(--tcw-topbar-height); padding: 0 32px; border-bottom: 1px solid #e7ebf1; background: var(--tcw-surface); }
54
+ .tcw-topbar { display: flex; align-items: center; justify-content: space-between; min-height: var(--tcw-topbar-height); padding: 0 32px 0 22px; border-bottom: 1px solid #e7ebf1; background: var(--tcw-surface); }
55
55
  .tcw-breadcrumbs { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--tcw-muted); }
56
56
  .tcw-breadcrumbs button { padding: 3px 0; border: 0; color: var(--tcw-muted); background: transparent; }
57
57
  .tcw-breadcrumbs button:hover { color: var(--tcw-primary); }
@@ -463,6 +463,12 @@ button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: no
463
463
  .tcw-contract-summary-customer { display: grid; align-self: stretch; align-content: center; min-width: 0; padding-right: 12px; border-right: 1px solid var(--tcw-border-soft); }
464
464
  .tcw-contract-summary-customer span, .tcw-contract-summary-customer small { color: var(--tcw-muted); font-size: 12px; }
465
465
  .tcw-contract-summary-customer strong { margin: 5px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
466
+ .tcw-contract-summary-cell { display: grid; align-content: center; gap: 10px; min-width: 0; }
467
+ .tcw-contract-summary-cell > span { color: var(--tcw-muted); font-size: 12px; font-weight: 650; }
468
+ .tcw-contract-analysis-task { display: inline-flex; width: fit-content; min-height: 24px; align-items: center; padding: 2px 8px; border: 1px solid; border-radius: 4px; font-size: 12px; }
469
+ .tcw-contract-analysis-task--success { border-color: #add6bf; color: var(--tcw-success); background: #f0faf4; }
470
+ .tcw-contract-analysis-task--running { border-color: #bcd6f2; color: var(--tcw-primary); background: #f0f7ff; }
471
+ .tcw-contract-analysis-task--failed { border-color: #efbaba; color: var(--tcw-danger); background: var(--tcw-danger-soft); }
466
472
  .tcw-contract-customer-master { margin-top: 14px; border: 1px solid var(--tcw-border); border-radius: 5px; }
467
473
  .tcw-contract-customer-master summary { padding: 13px 15px; cursor: pointer; font-weight: 650; }
468
474
  .tcw-contract-customer-master > .tcw-field-grid { padding: 2px 15px 16px; }
@@ -477,6 +483,7 @@ button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: no
477
483
  .tcw-contract-clause-editor > h3, .tcw-contract-source-preview > h3 { margin: 0 0 2px; font-size: 15px; }
478
484
  .tcw-contract-clause-status { max-width: 148px; }
479
485
  .tcw-contract-analysis { padding: 12px; border: 1px solid var(--tcw-border); border-left: 3px solid var(--tcw-primary); background: #f8fafc; }
486
+ .tcw-contract-analysis p { display: flex; align-items: center; gap: 10px; margin: 0; }
480
487
  .tcw-contract-analysis h4 { margin: 0 0 8px; font-size: 14px; }
481
488
  .tcw-contract-analysis dl { margin: 8px 0 0; }
482
489
  .tcw-contract-analysis dt { margin-top: 8px; color: var(--tcw-muted); font-size: 12px; font-weight: 650; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenchaolong/plugin-trade-compliance-workbench",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "外贸合规工作台新版组织级插件",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",