@steedos-widgets/amis-object 6.10.49 → 6.10.52-beta.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.
@@ -20,9 +20,25 @@ export declare const AmisInputTable: (props: any) => Promise<{
20
20
  pipeOut: (value: any, data: any) => any;
21
21
  required: any;
22
22
  description: any;
23
+ onEvent: {
24
+ change: {
25
+ actions: {
26
+ actionType: string;
27
+ script: (context: any, doAction: any, event: any) => void;
28
+ }[];
29
+ };
30
+ };
23
31
  }[];
24
32
  id: string;
25
33
  className: string;
34
+ onEvent: {
35
+ init: {
36
+ actions: {
37
+ actionType: string;
38
+ script: (context: any, doAction: any, event: any) => void;
39
+ }[];
40
+ };
41
+ };
26
42
  };
27
43
  label: any;
28
44
  labelClassName: any;
@@ -14,7 +14,6 @@ export * from './AmisLogo';
14
14
  export * from './AmisAppMenu';
15
15
  export * from './AmisGlobalFooter';
16
16
  export * from './AmisGlobalHeaderToolbar';
17
- export * from './AmisGlobalHeader';
18
17
  export * from './AmisSteedosField';
19
18
  export * from './AmisSelectFlow';
20
19
  export * from './AmisInstanceDetail';
@@ -491,149 +491,6 @@ fieldset.antd-Collapse > legend{
491
491
  margin-left: 1rem !important;
492
492
  }
493
493
 
494
- :root, .antd-Nav-Menu {
495
- --Menu-width--collapsed: 32px;
496
- --Menu-light-fontColor: var(--Layout-light-fontColor);
497
- --Menu-light-fontColor-onHover: var(--link-color);
498
- --Menu-light-fontColor-onActive: var(--link-color);
499
- --Menu-light-active-backgroundColor: rgb(240, 240, 240);
500
- --Menu-light-backgroundColor-onHover: rgb(240, 240, 240);
501
- --Menu-light-selectedIndicator-color: transparent;
502
- --Nav-Item-height: 2.25rem;
503
- /* --Nav-Item-height--horizontal: 2.5rem; */
504
- --Nav-item-borderRadius: 0.5rem;
505
- --Nav-item-onHover-bg: rgba(21,137,238,.1);
506
- --Nav-item-onActive-bg: rgba(21,137,238,.1);
507
- --Nav-item-onActive-color: var(--link-color);
508
- --Nav-Item-maxWidth--tabs: 200px;
509
- }
510
- .antd-Nav-Menu.antd-Nav-Menu-horizontal {
511
- --Menu-light-backgroundColor-onHover: rgba(151, 151, 151, 0.1);
512
- --Menu-light-fontColor-onHover: var(--Layout-fontColor--onHover);
513
- }
514
-
515
- .antd-Nav-Menu-item {
516
- border-radius: 0.375rem;
517
- margin-top: 3px;
518
- margin-left: 0rem;
519
- }
520
-
521
- .antd-Nav-Menu-collapsed
522
- .antd-Nav-Menu-item {
523
- border-radius: 0;
524
- margin-top: 0;
525
- margin-left: 0rem;
526
- }
527
-
528
- .antd-Nav-Menu-item-dragBar {
529
- left: 0px;
530
- height: 16px;
531
- }
532
-
533
- .antd-Nav-Menu-item-active {
534
- /* line-height: var(--Nav-Item-height); */
535
- background: var(--Menu-light-backgroundColor-onHover);
536
- }
537
-
538
- .antd-Nav-item.is-active {
539
- box-shadow:var(--link-color) 4px 0 0 inset;
540
- }
541
-
542
-
543
- .antd-Nav-Menu-submenu-arrow > svg {
544
- display: initial;
545
- }
546
-
547
- .antd-Nav-Menu-horizontal .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
548
- height: 8px;
549
- top: 0;
550
- bottom: unset;
551
- background: rgb(14 165 233);
552
- }
553
-
554
- .antd-Nav-Menu-light .antd-Nav-Menu-item, .antd-Nav-Menu-light .antd-Nav-Menu-submenu-title {
555
- padding-right: 4px;
556
- }
557
-
558
- .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
559
- background: rgba(21,137,238,.1);
560
- }
561
-
562
- .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected.antd-Nav-Menu-item-active {
563
- background: var(--Menu-light-backgroundColor-onHover);
564
- }
565
-
566
- .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected .antd-Nav-Menu-item-label{
567
- color: var(--Menu-light-fontColor-onHover);
568
- }
569
-
570
- .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-active .antd-Nav-Menu-item-label{
571
- color: var(--Menu-light-fontColor-onHover);
572
- }
573
-
574
- .antd-Nav-Menu-horizontal > .antd-Nav-Menu-item-tooltip-wrap > .antd-Nav-Menu-item {
575
- padding: 0 15px;
576
- }
577
-
578
-
579
- /* nav下配置itemBadge属性后item不会自动撑开 */
580
- .antd-Nav-Menu-item-wrap .antd-Badge{
581
- width: -webkit-fill-available;
582
- }
583
-
584
-
585
-
586
- /* TODO: amis3.2.0 .antd-Nav-Menu-item-link类中缺少flex,影响nav样式 */
587
- .antd-Nav-Menu-item-link{
588
- display: flex;
589
- align-items: center;
590
- }
591
-
592
- /* TODO: amis3.2.0 .antd-Nav类中多了background属性,影响nav样式 */
593
- .antd-Nav {
594
- background-color: unset;
595
- }
596
-
597
- /*
598
- .steedos-header-container .antd-Nav-Menu {
599
- --Menu-light-backgroundColor: transparent;
600
- } */
601
- .antd-Nav-Menu .antd-Nav-Menu-submenu > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
602
- color: var(--Menu-light-fontColor);
603
- }
604
- /*
605
- .antd-Nav-Menu .antd-Nav-Menu-submenu-selected > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
606
- color: var(--Menu-light-fontColor);
607
- padding-left: 6px;
608
- }
609
- .antd-Nav-Menu .antd-Nav-Menu-submenu-active > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
610
- color: var(--Menu-light-fontColor);
611
- padding-left: 6px;
612
- } */
613
- /*
614
- .antd-Nav-Menu a, a:hover, a:active, a:focus {
615
- color: var(--Menu-light-fontColor);
616
- }
617
- .antd-Nav-Menu-item-active .antd-Nav-Menu-item-label, .antd-Nav-Menu-item-active .antd-Nav-Menu-item-icon, .antd-Nav-Menu-item-active .antd-Nav-Menu-item-icon-after, .antd-Nav-Menu-item-active .antd-Nav-Menu-submenu-arrow {
618
- color: var(--Menu-light-fontColor);
619
- } */
620
-
621
- /* .antd-Nav-Menu .antd-Nav-Menu-submenu-title a, .antd-Nav-Menu .antd-Nav-Menu-submenu-title a:hover {
622
- padding-left: 6px;
623
- font-weight: bold;
624
- } */
625
-
626
- .antd-Nav .antd-Nav-dropIndicator {
627
- position: absolute;
628
- background: gray;
629
- height: 0.125rem;
630
- }
631
-
632
-
633
- .antd-Nav .antd-Nav-Menu-item-link{
634
- min-height:var(--Nav-Item-height);
635
- height: unset;
636
- }
637
494
  .ant-dropdown{
638
495
  z-index: 1400;
639
496
  }
@@ -766,7 +623,7 @@ fieldset.antd-Collapse > legend{
766
623
  height: 1rem !important;
767
624
  }
768
625
  .steedos-record-related-list .min-w-56 {
769
- min-width: 220px;
626
+ min-width: 250px;
770
627
  }
771
628
  .steedos-record-related-list .textarea span {
772
629
  -webkit-line-clamp: 3;
@@ -786,7 +643,7 @@ fieldset.antd-Collapse > legend{
786
643
  }
787
644
  .steedos-listview .min-w-56,
788
645
  .steedos-object-table .min-w-56 {
789
- min-width: 220px;
646
+ min-width: 250px;
790
647
  }
791
648
  .steedos-listview .textarea span,
792
649
  .steedos-object-table .textarea span {
@@ -2028,7 +1885,7 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2028
1885
  width: 50px;
2029
1886
  }
2030
1887
  .sidebar.sidebar-open .sidebar-wrapper {
2031
- width: 220px;
1888
+ width: 250px;
2032
1889
  }
2033
1890
  .sidebar .toggle-sidebar {
2034
1891
  display: block;
@@ -2055,7 +1912,7 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2055
1912
  }
2056
1913
  @media (min-width: 768px) {
2057
1914
  body.sidebar.sidebar-open #main {
2058
- margin-left: 220px;
1915
+ margin-left: 250px;
2059
1916
  }
2060
1917
  body.sidebar #main {
2061
1918
  margin-left: 50px;
@@ -2108,10 +1965,10 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2108
1965
  position: fixed;
2109
1966
  top: 50px;
2110
1967
  bottom: 0;
2111
- width: 220px;
1968
+ width: 250px;
2112
1969
  background: #fff;
2113
1970
  z-index: 1001;
2114
- left: -220px;
1971
+ left: -250px;
2115
1972
  }
2116
1973
  }
2117
1974
  .antd-Nav .antd-Nav-list--stacked .antd-Nav-item .antd-Nav-itemToggler,
@@ -2133,6 +1990,10 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2133
1990
  .antd-Nav-Menu-submenu-active .antd-Nav-Menu-item .hover-inline-flex {
2134
1991
  display: none !important;
2135
1992
  }
1993
+ .steedos-app-service.steedos-app-service-readonly .steedos-app-menu.stacked {
1994
+ margin-top: -8px;
1995
+ min-height: 0px;
1996
+ }
2136
1997
 
2137
1998
  #steedosGlobalFooterRoot .steedos-global-footer {
2138
1999
  height: 4rem;