amis 1.8.0-beta.16 → 1.8.0-beta.17

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.
Files changed (75) hide show
  1. package/lib/components/TabsTransfer.d.ts +22 -3
  2. package/lib/components/TabsTransfer.js +149 -42
  3. package/lib/components/TabsTransfer.js.map +2 -2
  4. package/lib/components/formula/Editor.js +4 -4
  5. package/lib/components/formula/Editor.js.map +2 -2
  6. package/lib/components/formula/VariableList.d.ts +63 -4
  7. package/lib/components/formula/VariableList.js +23 -8
  8. package/lib/components/formula/VariableList.js.map +2 -2
  9. package/lib/index.js +1 -1
  10. package/lib/renderers/Form/NestedSelect.d.ts +1 -1
  11. package/lib/renderers/Form/NestedSelect.js +7 -2
  12. package/lib/renderers/Form/NestedSelect.js.map +2 -2
  13. package/lib/renderers/Form/TabsTransfer.d.ts +6 -1
  14. package/lib/renderers/Form/TabsTransfer.js +155 -6
  15. package/lib/renderers/Form/TabsTransfer.js.map +2 -2
  16. package/lib/renderers/Form/TabsTransferPicker.d.ts +2 -2
  17. package/lib/renderers/Form/TabsTransferPicker.js +4 -4
  18. package/lib/renderers/Form/TabsTransferPicker.js.map +2 -2
  19. package/lib/renderers/Form/index.js +6 -2
  20. package/lib/renderers/Form/index.js.map +2 -2
  21. package/lib/renderers/Markdown.js +4 -3
  22. package/lib/renderers/Markdown.js.map +2 -2
  23. package/lib/themes/ang-ie11.css +92 -14
  24. package/lib/themes/ang.css +94 -14
  25. package/lib/themes/ang.css.map +1 -1
  26. package/lib/themes/antd-ie11.css +92 -14
  27. package/lib/themes/antd.css +94 -14
  28. package/lib/themes/antd.css.map +1 -1
  29. package/lib/themes/cxd-ie11.css +92 -14
  30. package/lib/themes/cxd.css +94 -14
  31. package/lib/themes/cxd.css.map +1 -1
  32. package/lib/themes/dark-ie11.css +92 -14
  33. package/lib/themes/dark.css +94 -14
  34. package/lib/themes/dark.css.map +1 -1
  35. package/lib/themes/default-ie11.css +92 -14
  36. package/lib/themes/default.css +94 -14
  37. package/lib/themes/default.css.map +1 -1
  38. package/package.json +1 -1
  39. package/schema.json +1 -1
  40. package/scss/_properties.scss +3 -0
  41. package/scss/components/_formula.scss +77 -12
  42. package/scss/components/form/_transfer.scss +21 -0
  43. package/sdk/ang-ie11.css +109 -14
  44. package/sdk/ang.css +111 -14
  45. package/sdk/antd-ie11.css +109 -14
  46. package/sdk/antd.css +111 -14
  47. package/sdk/barcode.js +51 -51
  48. package/sdk/charts.js +14 -14
  49. package/sdk/codemirror.js +7 -7
  50. package/sdk/color-picker.js +65 -65
  51. package/sdk/cropperjs.js +2 -2
  52. package/sdk/cxd-ie11.css +109 -14
  53. package/sdk/cxd.css +111 -14
  54. package/sdk/dark-ie11.css +109 -14
  55. package/sdk/dark.css +111 -14
  56. package/sdk/exceljs.js +1 -1
  57. package/sdk/markdown.js +69 -69
  58. package/sdk/papaparse.js +1 -1
  59. package/sdk/renderers/Form/CityDB.js +1 -1
  60. package/sdk/rest.js +17 -17
  61. package/sdk/rich-text.js +62 -62
  62. package/sdk/sdk-ie11.css +109 -14
  63. package/sdk/sdk.css +111 -14
  64. package/sdk/sdk.js +1268 -1268
  65. package/sdk/thirds/hls.js/hls.js +1 -1
  66. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  67. package/sdk/tinymce.js +57 -57
  68. package/src/components/TabsTransfer.tsx +253 -143
  69. package/src/components/formula/Editor.tsx +12 -5
  70. package/src/components/formula/VariableList.tsx +55 -21
  71. package/src/renderers/Form/NestedSelect.tsx +11 -2
  72. package/src/renderers/Form/TabsTransfer.tsx +174 -11
  73. package/src/renderers/Form/TabsTransferPicker.tsx +5 -10
  74. package/src/renderers/Form/index.tsx +37 -16
  75. package/src/renderers/Markdown.tsx +4 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amis",
3
- "version": "1.8.0-beta.16",
3
+ "version": "1.8.0-beta.17",
4
4
  "description": "一种MIS页面生成工具",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
package/schema.json CHANGED
@@ -48659,7 +48659,7 @@
48659
48659
  },
48660
48660
  "onlyLeaf": {
48661
48661
  "type": "boolean",
48662
- "description": "单选时只允许选择叶子节点"
48662
+ "description": "只允许选择叶子节点"
48663
48663
  },
48664
48664
  "hideNodePathLabel": {
48665
48665
  "type": "boolean",
@@ -1492,6 +1492,9 @@
1492
1492
  --Transfer-title-bg: #f6f8f8;
1493
1493
  --Transfer-selection-maxHeight: #{px2rem(350px)};
1494
1494
 
1495
+ --TabsTransfer-title-bg: #f7f7f9;
1496
+ --TabsTransfer-border-color: #e8e9eb;
1497
+
1495
1498
  --Tree-indent: var(--gap-md);
1496
1499
  --Tree-inputHeight: calc(var(--Form-input-height) * 0.85);
1497
1500
  --Tree-item-onHover-bg: rgba(0, 126, 255, 0.08);
@@ -23,8 +23,7 @@
23
23
  box-sizing: border-box;
24
24
  background: var(--InputFormula-header-bgColor);
25
25
  border-radius: var(--borderRadius) var(--borderRadius) 0 0;
26
- border-bottom: var(--Form-input-borderWidth) solid
27
- var(--Form-input-borderColor);
26
+ border-bottom: none;
28
27
  font-weight: 500;
29
28
  }
30
29
 
@@ -68,11 +67,11 @@
68
67
 
69
68
  &-panel {
70
69
  display: flex;
70
+ flex: 1;
71
71
  flex-flow: column nowrap;
72
72
  justify-content: space-between;
73
73
  align-items: stretch;
74
74
  height: #{px2rem(250px)};
75
- width: #{px2rem(220px)};
76
75
  border-radius: var(--borderRadius);
77
76
  border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
78
77
 
@@ -93,38 +92,100 @@
93
92
  display: flex;
94
93
  flex-flow: column nowrap;
95
94
  max-height: #{px2rem(220px)};
95
+
96
+ &--tabs {
97
+ max-height: #{px2rem(250px)};
98
+ }
96
99
  }
97
100
  }
98
101
 
99
102
  /* 变量列表 */
100
103
  &-VariableList {
101
104
  &-root {
102
- max-height: #{px2rem(220px)};
105
+ max-height: 100%;
106
+ }
107
+
108
+ &-body {
109
+ display: flex;
110
+ flex-flow: column nowrap;
111
+ max-height: 100%;
112
+ }
113
+
114
+ &-base {
115
+ --Form-input-fontSize: var(--fontSizeSm);
116
+ --gap-sm: #{px2rem(10px)};
117
+ flex: 1;
118
+ max-height: 100%;
103
119
  }
104
120
 
105
- &-root.is-scrollable {
121
+ &-base.is-scrollable {
106
122
  @include scrollbar();
107
123
  overflow-x: hidden;
108
124
  overflow-y: auto;
109
125
  }
110
126
 
111
- &-base {
112
- --Form-input-fontSize: var(--fontSizeSm);
113
- max-width: inherit;
114
- overflow: hidden;
127
+ &-searchBox {
128
+ display: flex;
129
+ width: auto;
130
+ flex-shrink: 0;
131
+ padding: #{px2rem(8px)};
132
+
133
+ & > div {
134
+ flex: 1;
135
+ font-size: var(--fontSizeSm);
136
+ height: var(--gap-xl);
137
+ }
115
138
  }
116
139
 
117
140
  &-tabs {
118
141
  --Tabs-linkFontSize: var(--fontSizeSm);
119
142
  --Tabs--card-linkPadding: #{px2rem(5px)};
120
143
 
121
- max-height: #{px2rem(220px)};
144
+ max-height: 100%;
122
145
  display: flex;
123
146
  flex-flow: column nowrap;
124
147
  justify-content: space-between;
125
148
 
126
- & > ul {
127
- border-top: none;
149
+ .#{$ns}Tabs {
150
+ &-content {
151
+ padding: 0;
152
+ .#{$ns}FormulaEditor-VariableList {
153
+ &-sub {
154
+ .#{$ns}FormulaEditor-VariableList-body {
155
+ max-height: #{px2rem(220px)};
156
+ overflow-y: hidden;
157
+ }
158
+ &-FormulaEditor-VariableList-base {
159
+ @include scrollbar();
160
+ overflow-x: hidden;
161
+ overflow-y: auto;
162
+ }
163
+ }
164
+ }
165
+ }
166
+ &-linksContainer {
167
+ &-wrapper {
168
+ @include panel-header();
169
+ max-height: px2rem(30px);
170
+ min-height: px2rem(30px);
171
+ ul.#{$ns}Tabs-links {
172
+ > li {
173
+ height: 30px;
174
+ line-height: 30px;
175
+ > a {
176
+ margin: 0;
177
+ padding: 0;
178
+ }
179
+ }
180
+ }
181
+ }
182
+
183
+ &--overflow {
184
+ > div {
185
+ margin: 0;
186
+ }
187
+ }
188
+ }
128
189
  }
129
190
 
130
191
  & > div {
@@ -170,6 +231,10 @@
170
231
  align-items: stretch;
171
232
  flex: 1;
172
233
 
234
+ .#{$ns}FormulaEditor-panel {
235
+ width: #{px2rem(188px)};
236
+ }
237
+
173
238
  &:not(:last-child) {
174
239
  margin-right: #{px2rem(10px)};
175
240
  }
@@ -115,6 +115,27 @@
115
115
  .#{$ns}Transfer-title {
116
116
  height: 40px;
117
117
  }
118
+ &-tabs {
119
+ .#{$ns}Tabs-linksContainer {
120
+ padding-left: px2rem(20px);
121
+ padding-top: px2rem(8px);
122
+ background-color: var(--TabsTransfer-title-bg);
123
+ }
124
+ }
125
+
126
+ &-search {
127
+ margin: var(--gap-sm) var(--gap-sm);
128
+ .#{$ns}InputBox {
129
+ border: 1px solid var(--TabsTransfer-border-color);
130
+ }
131
+ }
132
+
133
+ .#{$ns}Transfer-result {
134
+ .#{$ns}Transfer-title {
135
+ height: px2rem(40px);
136
+ line-height: px2rem(40px);
137
+ }
138
+ }
118
139
 
119
140
  // .#{$ns}Transfer-result {
120
141
  // flex-grow: unset;
package/sdk/ang-ie11.css CHANGED
@@ -43005,6 +43005,25 @@ readers do not read off random characters that represent icons */
43005
43005
  height: 40px;
43006
43006
  }
43007
43007
 
43008
+ .amis-scope .a-TabsTransfer-tabs .a-Tabs-linksContainer {
43009
+ padding-left: 1.25rem;
43010
+ padding-top: 0.5rem;
43011
+ background-color: #f7f7f9;
43012
+ }
43013
+
43014
+ .amis-scope .a-TabsTransfer-search {
43015
+ margin: 0.5rem 0.5rem;
43016
+ }
43017
+
43018
+ .amis-scope .a-TabsTransfer-search .a-InputBox {
43019
+ border: 1px solid #e8e9eb;
43020
+ }
43021
+
43022
+ .amis-scope .a-TabsTransfer .a-Transfer-result .a-Transfer-title {
43023
+ height: 2.5rem;
43024
+ line-height: 2.5rem;
43025
+ }
43026
+
43008
43027
  .amis-scope .a-TabsTransfer-placeholder {
43009
43028
  height: 1.875rem;
43010
43029
  line-height: 1.4285714286;
@@ -44701,7 +44720,7 @@ readers do not read off random characters that represent icons */
44701
44720
  box-sizing: border-box;
44702
44721
  background: #fafafa;
44703
44722
  border-radius: 0.142rem 0.142rem 0 0;
44704
- border-bottom: 0.0625rem solid #d1d5db;
44723
+ border-bottom: none;
44705
44724
  font-weight: 500;
44706
44725
  }
44707
44726
 
@@ -44745,11 +44764,11 @@ readers do not read off random characters that represent icons */
44745
44764
 
44746
44765
  .amis-scope .a-FormulaEditor-panel {
44747
44766
  display: flex;
44767
+ flex: 1;
44748
44768
  flex-flow: column nowrap;
44749
44769
  justify-content: space-between;
44750
44770
  align-items: stretch;
44751
44771
  height: 15.625rem;
44752
- width: 13.75rem;
44753
44772
  border-radius: 0.142rem;
44754
44773
  border: 0.0625rem solid #d1d5db;
44755
44774
  }
@@ -44770,7 +44789,7 @@ readers do not read off random characters that represent icons */
44770
44789
  box-sizing: border-box;
44771
44790
  background: #fafafa;
44772
44791
  border-radius: 0.142rem 0.142rem 0 0;
44773
- border-bottom: 0.0625rem solid #d1d5db;
44792
+ border-bottom: none;
44774
44793
  font-weight: 500;
44775
44794
  }
44776
44795
 
@@ -44781,42 +44800,114 @@ readers do not read off random characters that represent icons */
44781
44800
  max-height: 13.75rem;
44782
44801
  }
44783
44802
 
44803
+ .amis-scope .a-FormulaEditor-panel-body--tabs {
44804
+ max-height: 15.625rem;
44805
+ }
44806
+
44784
44807
  .amis-scope .a-FormulaEditor-VariableList-root {
44785
- max-height: 13.75rem;
44808
+ max-height: 100%;
44809
+ }
44810
+
44811
+ .amis-scope .a-FormulaEditor-VariableList-body {
44812
+ display: flex;
44813
+ flex-flow: column nowrap;
44814
+ max-height: 100%;
44786
44815
  }
44787
44816
 
44788
- .amis-scope .a-FormulaEditor-VariableList-root.is-scrollable {
44817
+ .amis-scope .a-FormulaEditor-VariableList-base {
44818
+ --Form-input-fontSize: var(--fontSizeSm);
44819
+ --gap-sm: 0.625rem;
44820
+ flex: 1;
44821
+ max-height: 100%;
44822
+ }
44823
+
44824
+ .amis-scope .a-FormulaEditor-VariableList-base.is-scrollable {
44789
44825
  overflow-x: hidden;
44790
44826
  overflow-y: auto;
44791
44827
  }
44792
44828
 
44793
- .amis-scope .a-FormulaEditor-VariableList-root.is-scrollable::-webkit-scrollbar {
44829
+ .amis-scope .a-FormulaEditor-VariableList-base.is-scrollable::-webkit-scrollbar {
44794
44830
  width: 6px;
44795
44831
  height: 6px;
44796
44832
  }
44797
44833
 
44798
- .amis-scope .a-FormulaEditor-VariableList-root.is-scrollable::-webkit-scrollbar-thumb {
44834
+ .amis-scope .a-FormulaEditor-VariableList-base.is-scrollable::-webkit-scrollbar-thumb {
44799
44835
  border-radius: 3px;
44800
44836
  background: rgba(0, 0, 0, 0.3);
44801
44837
  }
44802
44838
 
44803
- .amis-scope .a-FormulaEditor-VariableList-base {
44804
- --Form-input-fontSize: var(--fontSizeSm);
44805
- max-width: inherit;
44806
- overflow: hidden;
44839
+ .amis-scope .a-FormulaEditor-VariableList-searchBox {
44840
+ display: flex;
44841
+ width: auto;
44842
+ flex-shrink: 0;
44843
+ padding: 0.5rem;
44844
+ }
44845
+
44846
+ .amis-scope .a-FormulaEditor-VariableList-searchBox > div {
44847
+ flex: 1;
44848
+ font-size: 0.75rem;
44849
+ height: 1.5rem;
44807
44850
  }
44808
44851
 
44809
44852
  .amis-scope .a-FormulaEditor-VariableList-tabs {
44810
44853
  --Tabs-linkFontSize: var(--fontSizeSm);
44811
44854
  --Tabs--card-linkPadding: 0.3125rem;
44812
- max-height: 13.75rem;
44855
+ max-height: 100%;
44813
44856
  display: flex;
44814
44857
  flex-flow: column nowrap;
44815
44858
  justify-content: space-between;
44816
44859
  }
44817
44860
 
44818
- .amis-scope .a-FormulaEditor-VariableList-tabs > ul {
44819
- border-top: none;
44861
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content {
44862
+ padding: 0;
44863
+ }
44864
+
44865
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub .a-FormulaEditor-VariableList-body {
44866
+ max-height: 13.75rem;
44867
+ overflow-y: hidden;
44868
+ }
44869
+
44870
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub-FormulaEditor-VariableList-base {
44871
+ overflow-x: hidden;
44872
+ overflow-y: auto;
44873
+ }
44874
+
44875
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub-FormulaEditor-VariableList-base::-webkit-scrollbar {
44876
+ width: 6px;
44877
+ height: 6px;
44878
+ }
44879
+
44880
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub-FormulaEditor-VariableList-base::-webkit-scrollbar-thumb {
44881
+ border-radius: 3px;
44882
+ background: rgba(0, 0, 0, 0.3);
44883
+ }
44884
+
44885
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer-wrapper {
44886
+ width: 100%;
44887
+ height: 1.875rem;
44888
+ line-height: 1.875rem;
44889
+ padding: 0 0.625rem;
44890
+ box-sizing: border-box;
44891
+ background: #fafafa;
44892
+ border-radius: 0.142rem 0.142rem 0 0;
44893
+ border-bottom: none;
44894
+ font-weight: 500;
44895
+ max-height: 1.875rem;
44896
+ min-height: 1.875rem;
44897
+ }
44898
+
44899
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer-wrapper ul.a-Tabs-links > li {
44900
+ height: 30px;
44901
+ line-height: 30px;
44902
+ }
44903
+
44904
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer-wrapper ul.a-Tabs-links > li > a {
44905
+ margin: 0;
44906
+ padding: 0;
44907
+ }
44908
+
44909
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer--overflow > div {
44910
+ margin: 0;
44820
44911
  }
44821
44912
 
44822
44913
  .amis-scope .a-FormulaEditor-VariableList-tabs > div {
@@ -44869,6 +44960,10 @@ readers do not read off random characters that represent icons */
44869
44960
  flex: 1;
44870
44961
  }
44871
44962
 
44963
+ .amis-scope .a-FormulaEditor-FuncList .a-FormulaEditor-panel {
44964
+ width: 11.75rem;
44965
+ }
44966
+
44872
44967
  .amis-scope .a-FormulaEditor-FuncList:not(:last-child) {
44873
44968
  margin-right: 0.625rem;
44874
44969
  }
package/sdk/ang.css CHANGED
@@ -13442,6 +13442,8 @@ readers do not read off random characters that represent icons */
13442
13442
  --Tooltip-title-paddingY: var(--gap-sm);
13443
13443
  --Transfer-title-bg: #f6f8f8;
13444
13444
  --Transfer-selection-maxHeight: 21.875rem;
13445
+ --TabsTransfer-title-bg: #f7f7f9;
13446
+ --TabsTransfer-border-color: #e8e9eb;
13445
13447
  --Tree-indent: var(--gap-md);
13446
13448
  --Tree-inputHeight: calc(var(--Form-input-height) * 0.85);
13447
13449
  --Tree-item-onHover-bg: rgba(0, 126, 255, 0.08);
@@ -44220,6 +44222,25 @@ readers do not read off random characters that represent icons */
44220
44222
  height: 40px;
44221
44223
  }
44222
44224
 
44225
+ .amis-scope .a-TabsTransfer-tabs .a-Tabs-linksContainer {
44226
+ padding-left: 1.25rem;
44227
+ padding-top: 0.5rem;
44228
+ background-color: var(--TabsTransfer-title-bg);
44229
+ }
44230
+
44231
+ .amis-scope .a-TabsTransfer-search {
44232
+ margin: var(--gap-sm) var(--gap-sm);
44233
+ }
44234
+
44235
+ .amis-scope .a-TabsTransfer-search .a-InputBox {
44236
+ border: 1px solid var(--TabsTransfer-border-color);
44237
+ }
44238
+
44239
+ .amis-scope .a-TabsTransfer .a-Transfer-result .a-Transfer-title {
44240
+ height: 2.5rem;
44241
+ line-height: 2.5rem;
44242
+ }
44243
+
44223
44244
  .amis-scope .a-TabsTransfer-placeholder {
44224
44245
  height: var(--Form-input-height);
44225
44246
  line-height: var(--Form-input-lineHeight);
@@ -45851,7 +45872,7 @@ readers do not read off random characters that represent icons */
45851
45872
  box-sizing: border-box;
45852
45873
  background: var(--InputFormula-header-bgColor);
45853
45874
  border-radius: var(--borderRadius) var(--borderRadius) 0 0;
45854
- border-bottom: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
45875
+ border-bottom: none;
45855
45876
  font-weight: 500;
45856
45877
  }
45857
45878
 
@@ -45895,11 +45916,11 @@ readers do not read off random characters that represent icons */
45895
45916
 
45896
45917
  .amis-scope .a-FormulaEditor-panel {
45897
45918
  display: flex;
45919
+ flex: 1;
45898
45920
  flex-flow: column nowrap;
45899
45921
  justify-content: space-between;
45900
45922
  align-items: stretch;
45901
45923
  height: 15.625rem;
45902
- width: 13.75rem;
45903
45924
  border-radius: var(--borderRadius);
45904
45925
  border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
45905
45926
  }
@@ -45920,7 +45941,7 @@ readers do not read off random characters that represent icons */
45920
45941
  box-sizing: border-box;
45921
45942
  background: var(--InputFormula-header-bgColor);
45922
45943
  border-radius: var(--borderRadius) var(--borderRadius) 0 0;
45923
- border-bottom: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
45944
+ border-bottom: none;
45924
45945
  font-weight: 500;
45925
45946
  }
45926
45947
 
@@ -45931,42 +45952,114 @@ readers do not read off random characters that represent icons */
45931
45952
  max-height: 13.75rem;
45932
45953
  }
45933
45954
 
45955
+ .amis-scope .a-FormulaEditor-panel-body--tabs {
45956
+ max-height: 15.625rem;
45957
+ }
45958
+
45934
45959
  .amis-scope .a-FormulaEditor-VariableList-root {
45935
- max-height: 13.75rem;
45960
+ max-height: 100%;
45936
45961
  }
45937
45962
 
45938
- .amis-scope .a-FormulaEditor-VariableList-root.is-scrollable {
45963
+ .amis-scope .a-FormulaEditor-VariableList-body {
45964
+ display: flex;
45965
+ flex-flow: column nowrap;
45966
+ max-height: 100%;
45967
+ }
45968
+
45969
+ .amis-scope .a-FormulaEditor-VariableList-base {
45970
+ --Form-input-fontSize: var(--fontSizeSm);
45971
+ --gap-sm: 0.625rem;
45972
+ flex: 1;
45973
+ max-height: 100%;
45974
+ }
45975
+
45976
+ .amis-scope .a-FormulaEditor-VariableList-base.is-scrollable {
45939
45977
  overflow-x: hidden;
45940
45978
  overflow-y: auto;
45941
45979
  }
45942
45980
 
45943
- .amis-scope .a-FormulaEditor-VariableList-root.is-scrollable::-webkit-scrollbar {
45981
+ .amis-scope .a-FormulaEditor-VariableList-base.is-scrollable::-webkit-scrollbar {
45944
45982
  width: 6px;
45945
45983
  height: 6px;
45946
45984
  }
45947
45985
 
45948
- .amis-scope .a-FormulaEditor-VariableList-root.is-scrollable::-webkit-scrollbar-thumb {
45986
+ .amis-scope .a-FormulaEditor-VariableList-base.is-scrollable::-webkit-scrollbar-thumb {
45949
45987
  border-radius: 3px;
45950
45988
  background: rgba(0, 0, 0, 0.3);
45951
45989
  }
45952
45990
 
45953
- .amis-scope .a-FormulaEditor-VariableList-base {
45954
- --Form-input-fontSize: var(--fontSizeSm);
45955
- max-width: inherit;
45956
- overflow: hidden;
45991
+ .amis-scope .a-FormulaEditor-VariableList-searchBox {
45992
+ display: flex;
45993
+ width: auto;
45994
+ flex-shrink: 0;
45995
+ padding: 0.5rem;
45996
+ }
45997
+
45998
+ .amis-scope .a-FormulaEditor-VariableList-searchBox > div {
45999
+ flex: 1;
46000
+ font-size: var(--fontSizeSm);
46001
+ height: var(--gap-xl);
45957
46002
  }
45958
46003
 
45959
46004
  .amis-scope .a-FormulaEditor-VariableList-tabs {
45960
46005
  --Tabs-linkFontSize: var(--fontSizeSm);
45961
46006
  --Tabs--card-linkPadding: 0.3125rem;
45962
- max-height: 13.75rem;
46007
+ max-height: 100%;
45963
46008
  display: flex;
45964
46009
  flex-flow: column nowrap;
45965
46010
  justify-content: space-between;
45966
46011
  }
45967
46012
 
45968
- .amis-scope .a-FormulaEditor-VariableList-tabs > ul {
45969
- border-top: none;
46013
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content {
46014
+ padding: 0;
46015
+ }
46016
+
46017
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub .a-FormulaEditor-VariableList-body {
46018
+ max-height: 13.75rem;
46019
+ overflow-y: hidden;
46020
+ }
46021
+
46022
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub-FormulaEditor-VariableList-base {
46023
+ overflow-x: hidden;
46024
+ overflow-y: auto;
46025
+ }
46026
+
46027
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub-FormulaEditor-VariableList-base::-webkit-scrollbar {
46028
+ width: 6px;
46029
+ height: 6px;
46030
+ }
46031
+
46032
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-content .a-FormulaEditor-VariableList-sub-FormulaEditor-VariableList-base::-webkit-scrollbar-thumb {
46033
+ border-radius: 3px;
46034
+ background: rgba(0, 0, 0, 0.3);
46035
+ }
46036
+
46037
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer-wrapper {
46038
+ width: 100%;
46039
+ height: 1.875rem;
46040
+ line-height: 1.875rem;
46041
+ padding: 0 0.625rem;
46042
+ box-sizing: border-box;
46043
+ background: var(--InputFormula-header-bgColor);
46044
+ border-radius: var(--borderRadius) var(--borderRadius) 0 0;
46045
+ border-bottom: none;
46046
+ font-weight: 500;
46047
+ max-height: 1.875rem;
46048
+ min-height: 1.875rem;
46049
+ }
46050
+
46051
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer-wrapper ul.a-Tabs-links > li {
46052
+ height: 30px;
46053
+ line-height: 30px;
46054
+ }
46055
+
46056
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer-wrapper ul.a-Tabs-links > li > a {
46057
+ margin: 0;
46058
+ padding: 0;
46059
+ }
46060
+
46061
+ .amis-scope .a-FormulaEditor-VariableList-tabs .a-Tabs-linksContainer--overflow > div {
46062
+ margin: 0;
45970
46063
  }
45971
46064
 
45972
46065
  .amis-scope .a-FormulaEditor-VariableList-tabs > div {
@@ -46019,6 +46112,10 @@ readers do not read off random characters that represent icons */
46019
46112
  flex: 1;
46020
46113
  }
46021
46114
 
46115
+ .amis-scope .a-FormulaEditor-FuncList .a-FormulaEditor-panel {
46116
+ width: 11.75rem;
46117
+ }
46118
+
46022
46119
  .amis-scope .a-FormulaEditor-FuncList:not(:last-child) {
46023
46120
  margin-right: 0.625rem;
46024
46121
  }