amis 1.5.2 → 1.5.6-beta.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.
Files changed (171) hide show
  1. package/README.md +5 -0
  2. package/lib/RootRenderer.d.ts +1 -1
  3. package/lib/RootRenderer.js +4 -3
  4. package/lib/RootRenderer.js.map +2 -2
  5. package/lib/components/Card.d.ts +96 -0
  6. package/lib/components/Card.js +85 -0
  7. package/lib/components/Card.js.map +13 -0
  8. package/lib/components/Collapse.js +1 -1
  9. package/lib/components/Collapse.js.map +2 -2
  10. package/lib/components/DatePicker.d.ts +179 -84
  11. package/lib/components/DatePicker.js +25 -4
  12. package/lib/components/DatePicker.js.map +2 -2
  13. package/lib/components/DateRangePicker.d.ts +84 -84
  14. package/lib/components/MonthRangePicker.d.ts +84 -84
  15. package/lib/components/Picker.d.ts +503 -0
  16. package/lib/components/Picker.js +65 -0
  17. package/lib/components/Picker.js.map +13 -0
  18. package/lib/components/PickerColumn.d.ts +29 -459
  19. package/lib/components/PickerColumn.js +35 -44
  20. package/lib/components/PickerColumn.js.map +2 -2
  21. package/lib/components/Progress.js +1 -1
  22. package/lib/components/Progress.js.map +2 -2
  23. package/lib/components/Select.d.ts +238 -238
  24. package/lib/components/Select.js +9 -2
  25. package/lib/components/Select.js.map +2 -2
  26. package/lib/components/Selection.js +1 -4
  27. package/lib/components/Selection.js.map +2 -2
  28. package/lib/components/Switch.d.ts +6 -6
  29. package/lib/components/Switch.js.map +2 -2
  30. package/lib/components/calendar/Calendar.d.ts +8 -0
  31. package/lib/components/calendar/Calendar.js +19 -1
  32. package/lib/components/calendar/Calendar.js.map +2 -2
  33. package/lib/components/calendar/DaysView.d.ts +8 -0
  34. package/lib/components/calendar/DaysView.js +71 -0
  35. package/lib/components/calendar/DaysView.js.map +2 -2
  36. package/lib/components/calendar/TimeView.d.ts +10 -0
  37. package/lib/components/calendar/TimeView.js +55 -2
  38. package/lib/components/calendar/TimeView.js.map +2 -2
  39. package/lib/components/calendar/YearsView.d.ts +9 -0
  40. package/lib/components/calendar/YearsView.js +19 -0
  41. package/lib/components/calendar/YearsView.js.map +2 -2
  42. package/lib/index.js +1 -1
  43. package/lib/renderers/CRUD.d.ts +1 -1
  44. package/lib/renderers/CRUD.js +4 -3
  45. package/lib/renderers/CRUD.js.map +2 -2
  46. package/lib/renderers/Card.d.ts +81 -13
  47. package/lib/renderers/Card.js +178 -81
  48. package/lib/renderers/Card.js.map +2 -2
  49. package/lib/renderers/Dialog.d.ts +2 -2
  50. package/lib/renderers/Dialog.js +7 -7
  51. package/lib/renderers/Dialog.js.map +2 -2
  52. package/lib/renderers/Drawer.js +2 -2
  53. package/lib/renderers/Drawer.js.map +2 -2
  54. package/lib/renderers/Form/DiffEditor.d.ts +145 -37
  55. package/lib/renderers/Form/Editor.d.ts +144 -36
  56. package/lib/renderers/Form/Formula.js +5 -5
  57. package/lib/renderers/Form/Formula.js.map +2 -2
  58. package/lib/renderers/Form/InputCity.d.ts +84 -84
  59. package/lib/renderers/Form/InputDate.d.ts +25 -0
  60. package/lib/renderers/Form/InputDate.js +48 -3
  61. package/lib/renderers/Form/InputDate.js.map +2 -2
  62. package/lib/renderers/Form/InputFile.js +3 -3
  63. package/lib/renderers/Form/InputFile.js.map +2 -2
  64. package/lib/renderers/Form/InputImage.js +1 -1
  65. package/lib/renderers/Form/InputImage.js.map +2 -2
  66. package/lib/renderers/Form/Item.d.ts +1 -1
  67. package/lib/renderers/Form/Item.js +4 -3
  68. package/lib/renderers/Form/Item.js.map +2 -2
  69. package/lib/renderers/Form/index.d.ts +1 -1
  70. package/lib/renderers/Form/index.js +13 -2
  71. package/lib/renderers/Form/index.js.map +2 -2
  72. package/lib/renderers/Form/wrapControl.js +3 -2
  73. package/lib/renderers/Form/wrapControl.js.map +2 -2
  74. package/lib/renderers/Page.d.ts +3 -3
  75. package/lib/renderers/Page.js +4 -3
  76. package/lib/renderers/Page.js.map +2 -2
  77. package/lib/renderers/Status.js +1 -1
  78. package/lib/renderers/Status.js.map +2 -2
  79. package/lib/renderers/Wizard.d.ts +1 -1
  80. package/lib/renderers/Wizard.js +93 -36
  81. package/lib/renderers/Wizard.js.map +2 -2
  82. package/lib/store/combo.d.ts +160 -40
  83. package/lib/store/form.d.ts +64 -16
  84. package/lib/store/formItem.d.ts +4 -2
  85. package/lib/store/formItem.js +11 -6
  86. package/lib/store/formItem.js.map +2 -2
  87. package/lib/store/table.d.ts +128 -32
  88. package/lib/themes/ang-ie11.css +255 -31
  89. package/lib/themes/ang.css +255 -31
  90. package/lib/themes/ang.css.map +1 -1
  91. package/lib/themes/antd-ie11.css +255 -32
  92. package/lib/themes/antd.css +255 -32
  93. package/lib/themes/antd.css.map +1 -1
  94. package/lib/themes/cxd-ie11.css +263 -31
  95. package/lib/themes/cxd.css +263 -31
  96. package/lib/themes/cxd.css.map +1 -1
  97. package/lib/themes/dark-ie11.css +255 -31
  98. package/lib/themes/dark.css +255 -31
  99. package/lib/themes/dark.css.map +1 -1
  100. package/lib/themes/default.css +263 -31
  101. package/lib/themes/default.css.map +1 -1
  102. package/lib/utils/helper.d.ts +7 -0
  103. package/lib/utils/helper.js +33 -1
  104. package/lib/utils/helper.js.map +2 -2
  105. package/package.json +2 -2
  106. package/schema.json +209 -20
  107. package/scss/_properties.scss +14 -3
  108. package/scss/components/_calendar.scss +81 -0
  109. package/scss/components/_card.scss +155 -15
  110. package/scss/components/_nav.scss +1 -1
  111. package/scss/components/_picker-columns.scss +20 -14
  112. package/scss/components/_toast.scss +3 -0
  113. package/scss/components/form/_file.scss +2 -2
  114. package/scss/components/form/_selection.scss +4 -0
  115. package/scss/components/form/_switch.scss +6 -0
  116. package/scss/themes/_antd-variables.scss +0 -2
  117. package/scss/themes/_common.scss +1 -0
  118. package/scss/themes/_cxd-variables.scss +9 -0
  119. package/sdk/ang-ie11.css +296 -33
  120. package/sdk/ang.css +306 -33
  121. package/sdk/antd-ie11.css +295 -32
  122. package/sdk/antd.css +306 -34
  123. package/sdk/charts.js +13 -13
  124. package/sdk/color-picker.js +65 -65
  125. package/sdk/cropperjs.js +2 -2
  126. package/sdk/cxd-ie11.css +296 -33
  127. package/sdk/cxd.css +314 -33
  128. package/sdk/dark-ie11.css +296 -33
  129. package/sdk/dark.css +306 -33
  130. package/sdk/exceljs.js +1 -1
  131. package/sdk/markdown.js +69 -69
  132. package/sdk/papaparse.js +1 -1
  133. package/sdk/renderers/Form/CityDB.js +1 -1
  134. package/sdk/rest.js +18 -18
  135. package/sdk/rich-text.js +62 -62
  136. package/sdk/sdk-ie11.css +296 -33
  137. package/sdk/sdk.css +314 -33
  138. package/sdk/sdk.js +1190 -1186
  139. package/sdk/thirds/hls.js/hls.js +1 -1
  140. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  141. package/sdk/tinymce.js +57 -57
  142. package/src/RootRenderer.tsx +3 -3
  143. package/src/components/Card.tsx +203 -0
  144. package/src/components/Collapse.tsx +1 -1
  145. package/src/components/DatePicker.tsx +44 -3
  146. package/src/components/Picker.tsx +145 -0
  147. package/src/components/PickerColumn.tsx +58 -95
  148. package/src/components/Progress.tsx +1 -1
  149. package/src/components/Select.tsx +17 -12
  150. package/src/components/Selection.tsx +1 -4
  151. package/src/components/Switch.tsx +7 -7
  152. package/src/components/calendar/Calendar.tsx +30 -1
  153. package/src/components/calendar/DaysView.tsx +91 -0
  154. package/src/components/calendar/TimeView.tsx +80 -5
  155. package/src/components/calendar/YearsView.tsx +44 -1
  156. package/src/renderers/CRUD.tsx +3 -3
  157. package/src/renderers/Card.tsx +299 -191
  158. package/src/renderers/Dialog.tsx +8 -8
  159. package/src/renderers/Drawer.tsx +2 -2
  160. package/src/renderers/Form/Formula.tsx +7 -5
  161. package/src/renderers/Form/InputDate.tsx +83 -2
  162. package/src/renderers/Form/InputFile.tsx +7 -3
  163. package/src/renderers/Form/InputImage.tsx +1 -1
  164. package/src/renderers/Form/Item.tsx +2 -2
  165. package/src/renderers/Form/index.tsx +14 -2
  166. package/src/renderers/Form/wrapControl.tsx +5 -2
  167. package/src/renderers/Page.tsx +11 -10
  168. package/src/renderers/Status.tsx +3 -1
  169. package/src/renderers/Wizard.tsx +52 -12
  170. package/src/store/formItem.ts +12 -6
  171. package/src/utils/helper.ts +34 -0
package/sdk/ang.css CHANGED
@@ -19184,6 +19184,7 @@ readers do not read off random characters that represent icons */
19184
19184
  --borderWidth: 0.0625rem;
19185
19185
  --fontWeightNormal: 400;
19186
19186
  --fontWeightBase: var(--fontWeightNormal);
19187
+ --fontWeightMd: 500;
19187
19188
  --fontWeightBold: 700;
19188
19189
  --background: var(--white);
19189
19190
  --code-color: var(--danger);
@@ -19501,6 +19502,14 @@ readers do not read off random characters that represent icons */
19501
19502
  --Calendar-shortcuts-bg: transparent;
19502
19503
  --Calendar-shortcuts-height: 1.875rem;
19503
19504
  --Calendar-wLabel-color: #999;
19505
+ --Calendar-icon-bottom: -0.25rem;
19506
+ --Calendar-icon-width: 0.625rem;
19507
+ --Calendar-icon-height: 0.625rem;
19508
+ --Calendar-borderWidth: 0.0625rem;
19509
+ --Calendar-rdt-day: 6.25rem;
19510
+ --Calendar-schedule-content-padding: 0 0.25rem;
19511
+ --Calendar-schedule-content-height: 1.25rem;
19512
+ --Calendar-schedule-content-color: #fff;
19504
19513
  --Card-actions-borderColor: #dfe2e6;
19505
19514
  --Card-actions-fontSize: var(--fontSizeBase);
19506
19515
  --Card-actions-onChecked-onHover-bg: #c2ecf9;
@@ -19511,6 +19520,7 @@ readers do not read off random characters that represent icons */
19511
19520
  --Card-borderColor: var(--borderColor);
19512
19521
  --Card-borderRadius: var(--borderRadius);
19513
19522
  --Card-borderWidth: var(--borderWidth);
19523
+ --Card-secondary-color: #83868c;
19514
19524
  --Card-onChecked-bg: #d9f3fb;
19515
19525
  --Card-onChecked-borderColor: #abe4f6;
19516
19526
  --Card-onChecked-color: #20b9e8;
@@ -19661,7 +19671,7 @@ readers do not read off random characters that represent icons */
19661
19671
  );
19662
19672
  --DatePicker-placeholderColor: var(--Form-input-placeholderColor);
19663
19673
  --LocationPicker-borderRadius: var(--Form-input-borderWidth);
19664
- --Divider-borderStyle: dashed;
19674
+ --Divider-borderStyle: solid;
19665
19675
  --Drawer-bg: var(--background);
19666
19676
  --Drawer-body-padding: var(--gap-base);
19667
19677
  --Drawer-close-color: rgba(255, 255, 255, 0.8);
@@ -20124,8 +20134,8 @@ readers do not read off random characters that represent icons */
20124
20134
  --PickerColumns-title-lineHeight: 1.5;
20125
20135
  --PickerColumns-action-padding: 0 var(--gap-sm);
20126
20136
  --PickerColumns-action-fontSize: var(--fontSizeMd);
20127
- --PickerColumns-confirmAction-color: var(--Button--info-bg);
20128
- --PickerColumns-cancelAction-color: var(--Button--light-bg);
20137
+ --PickerColumns-confirmAction-color: #99a6ad;
20138
+ --PickerColumns-cancelAction-color: #dfe3e6;
20129
20139
  --PickerColumns-option-fontSize: var(--fontSizeLg);
20130
20140
  --PickerColumns-optionText-color: var(--text-color);
20131
20141
  --PickerColumns-optionDisabled-opacity: 0.3;
@@ -24048,14 +24058,9 @@ readers do not read off random characters that represent icons */
24048
24058
  position: relative;
24049
24059
  background-color: var(--PickerColumns-bg);
24050
24060
  user-select: none;
24051
- }
24052
-
24053
- .amis-scope .a-PickerColumns-popOver {
24054
- position: fixed;
24055
- bottom: 0;
24056
- left: 0;
24057
- width: 100%;
24058
- padding: 0 var(--gap-sm);
24061
+ flex: 1;
24062
+ overflow: hidden;
24063
+ font-size: var(--PickerColumns-option-fontSize);
24059
24064
  }
24060
24065
 
24061
24066
  .amis-scope .a-PickerColumns-toolbar {
@@ -24080,6 +24085,11 @@ readers do not read off random characters that represent icons */
24080
24085
  opacity: 0.7;
24081
24086
  }
24082
24087
 
24088
+ .amis-scope .a-PickerColumns-cancel:hover,
24089
+ .amis-scope .a-PickerColumns-confirm:hover {
24090
+ background-color: none !important;
24091
+ }
24092
+
24083
24093
  .amis-scope .a-PickerColumns-confirm {
24084
24094
  color: var(--PickerColumns-confirmAction-color);
24085
24095
  }
@@ -24127,6 +24137,18 @@ readers do not read off random characters that represent icons */
24127
24137
  pointer-events: none;
24128
24138
  }
24129
24139
 
24140
+ .amis-scope .a-PickerColumns-frame::after {
24141
+ position: absolute;
24142
+ content: "";
24143
+ border-bottom: 1px solid var(--borderColor);
24144
+ border-top: 1px solid var(--borderColor);
24145
+ top: -50%;
24146
+ right: -50%;
24147
+ left: -50%;
24148
+ bottom: -50%;
24149
+ transform: scale(0.5);
24150
+ }
24151
+
24130
24152
  .amis-scope .a-PickerColumns-mask {
24131
24153
  position: absolute;
24132
24154
  top: 0;
@@ -24141,12 +24163,6 @@ readers do not read off random characters that represent icons */
24141
24163
  pointer-events: none;
24142
24164
  }
24143
24165
 
24144
- .amis-scope .a-PickerColumns-column {
24145
- flex: 1;
24146
- overflow: hidden;
24147
- font-size: var(--PickerColumns-option-fontSize);
24148
- }
24149
-
24150
24166
  .amis-scope .a-PickerColumns-columnWrapper {
24151
24167
  margin: 0;
24152
24168
  padding: 0;
@@ -24301,6 +24317,10 @@ readers do not read off random characters that represent icons */
24301
24317
  line-height: var(--gap-xl);
24302
24318
  }
24303
24319
 
24320
+ .amis-scope .a-Toast-content .a-Toast-body .a-Html {
24321
+ word-break: break-word;
24322
+ }
24323
+
24304
24324
  .amis-scope .a-Toast-icon {
24305
24325
  display: inline-flex;
24306
24326
  text-rendering: auto;
@@ -25349,7 +25369,7 @@ readers do not read off random characters that represent icons */
25349
25369
  .amis-scope .a-Nav .a-Nav-list--stacked .a-Badge.is-active > .a-Badge > a {
25350
25370
  color: var(--Nav-item-onActive-color);
25351
25371
  position: relative;
25352
- background: var(--Nav-item-onActive-bg);
25372
+ background: var(--Nav-item-onActive-bg) !important;
25353
25373
  }
25354
25374
 
25355
25375
  .amis-scope .a-Nav .a-Nav-list--stacked .a-Nav-item.active > a::after,
@@ -26386,6 +26406,91 @@ readers do not read off random characters that represent icons */
26386
26406
  padding: var(--gap-sm);
26387
26407
  }
26388
26408
 
26409
+ .amis-scope .a-ScheduleCalendar-icon {
26410
+ position: absolute;
26411
+ bottom: var(--Calendar-icon-bottom);
26412
+ left: 50%;
26413
+ transform: translateX(-50%);
26414
+ display: block;
26415
+ width: var(--Calendar-icon-width);
26416
+ height: var(--Calendar-icon-height);
26417
+ border-radius: 50%;
26418
+ z-index: 10;
26419
+ }
26420
+
26421
+ .amis-scope .a-ScheduleCalendar-action {
26422
+ display: block;
26423
+ padding: 0;
26424
+ width: 100%;
26425
+ height: 100%;
26426
+ border: none;
26427
+ background: transparent;
26428
+ color: inherit;
26429
+ }
26430
+
26431
+ .amis-scope .a-ScheduleCalendar-action:not(:disabled):not(.is-disabled):hover {
26432
+ color: inherit;
26433
+ background: transparent;
26434
+ border-color: transparent;
26435
+ }
26436
+
26437
+ .amis-scope .a-ScheduleCalendar .rdtDay {
26438
+ position: relative;
26439
+ }
26440
+
26441
+ .amis-scope .a-ScheduleCalendar-text-overflow {
26442
+ white-space: nowrap;
26443
+ overflow: hidden;
26444
+ text-overflow: ellipsis;
26445
+ position: absolute;
26446
+ width: 100%;
26447
+ }
26448
+
26449
+ .amis-scope .a-ScheduleCalendar-large {
26450
+ width: 100%;
26451
+ }
26452
+
26453
+ .amis-scope .a-ScheduleCalendar-large .rdtPicker {
26454
+ width: 100%;
26455
+ }
26456
+
26457
+ .amis-scope .a-ScheduleCalendar-large .rdtPicker table {
26458
+ border-collapse: collapse;
26459
+ border-spacing: 0;
26460
+ }
26461
+
26462
+ .amis-scope .a-ScheduleCalendar-large .rdtPicker table td {
26463
+ border: var(--Calendar-borderWidth) solid var(--borderColor);
26464
+ }
26465
+
26466
+ .amis-scope .a-ScheduleCalendar-large .rdtDay {
26467
+ height: var(--Calendar-rdt-day);
26468
+ vertical-align: top;
26469
+ }
26470
+
26471
+ .amis-scope .a-ScheduleCalendar-large .a-ScheduleCalendar-large-day-wrap {
26472
+ position: absolute;
26473
+ top: 0;
26474
+ left: 0;
26475
+ min-width: 100%;
26476
+ height: 100%;
26477
+ }
26478
+
26479
+ .amis-scope .a-ScheduleCalendar-large .a-ScheduleCalendar-large-day-wrap .a-ScheduleCalendar-large-schedule-content {
26480
+ position: relative;
26481
+ z-index: 10;
26482
+ border-radius: var(--borderRadius);
26483
+ text-align: left;
26484
+ padding: var(--Calendar-schedule-content-padding);
26485
+ height: var(--Calendar-schedule-content-height);
26486
+ color: var(--Calendar-schedule-content-color);
26487
+ }
26488
+
26489
+ .amis-scope .a-ScheduleCalendar-large .a-ScheduleCalendar-action {
26490
+ z-index: 20;
26491
+ position: relative;
26492
+ }
26493
+
26389
26494
  .amis-scope .a-Collapse {
26390
26495
  border: var(--Collapse-border);
26391
26496
  padding: 0;
@@ -29825,8 +29930,9 @@ readers do not read off random characters that represent icons */
29825
29930
  }
29826
29931
 
29827
29932
  .amis-scope .a-Card-title {
29828
- color: var(--text--loud-color);
29933
+ color: var(--text-color);
29829
29934
  font-size: var(--fontSizeMd);
29935
+ font-weight: var(--fontWeightMd);
29830
29936
  white-space: nowrap;
29831
29937
  overflow: hidden;
29832
29938
  text-overflow: ellipsis;
@@ -29847,15 +29953,14 @@ readers do not read off random characters that represent icons */
29847
29953
  }
29848
29954
 
29849
29955
  .amis-scope .a-Card-dragBtn {
29956
+ display: inline-block;
29850
29957
  cursor: pointer;
29851
- float: right;
29852
- margin: var(--gap-sm);
29958
+ padding: 0 var(--gap-sm);
29853
29959
  }
29854
29960
 
29855
29961
  .amis-scope .a-Card-heading {
29856
29962
  display: flex;
29857
- flex-direction: row;
29858
- padding: var(--gap-sm) var(--gap-base);
29963
+ padding: var(--gap-md);
29859
29964
  flex: 1 0 auto;
29860
29965
  }
29861
29966
 
@@ -29882,7 +29987,7 @@ readers do not read off random characters that represent icons */
29882
29987
  float: left;
29883
29988
  margin-right: var(--gap-base);
29884
29989
  font-size: var(--fontSizeXl);
29885
- text-transform: uppercase;
29990
+ text-transform: uppercase();
29886
29991
  }
29887
29992
 
29888
29993
  .amis-scope .a-Card-meta {
@@ -29890,11 +29995,14 @@ readers do not read off random characters that represent icons */
29890
29995
  flex-grow: 1;
29891
29996
  height: 100%;
29892
29997
  position: relative;
29893
- margin-right: var(--gap-md);
29998
+ }
29999
+
30000
+ .amis-scope .a-Card-meta + .a-Card-toolbar {
30001
+ margin-left: var(--gap-md);
29894
30002
  }
29895
30003
 
29896
30004
  .amis-scope .a-Card-toolbar {
29897
- margin-right: calc(-1 * var(--gap-base));
30005
+ line-height: normal;
29898
30006
  text-align: right;
29899
30007
  }
29900
30008
 
@@ -29904,18 +30012,16 @@ readers do not read off random characters that represent icons */
29904
30012
  height: 0.5rem;
29905
30013
  border-radius: 100%;
29906
30014
  display: inline-block;
29907
- position: absolute;
29908
- top: var(--gap-xs);
29909
- right: 0.125rem;
30015
+ margin: 0 var(--gap-sm);
29910
30016
  }
29911
30017
 
29912
30018
  .amis-scope .a-Card-body {
29913
- padding: var(--gap-base);
30019
+ padding: var(--gap-md);
29914
30020
  flex: 1 0 auto;
29915
30021
  }
29916
30022
 
29917
30023
  .amis-scope .a-Card-heading + .a-Card-body {
29918
- padding-top: var(--gap-xs);
30024
+ padding-top: 0;
29919
30025
  }
29920
30026
 
29921
30027
  .amis-scope .a-Card-field {
@@ -29944,6 +30050,7 @@ readers do not read off random characters that represent icons */
29944
30050
  flex-direction: row;
29945
30051
  width: 100%;
29946
30052
  table-layout: fixed;
30053
+ white-space: nowrap;
29947
30054
  }
29948
30055
 
29949
30056
  .amis-scope .a-Card-actions > a {
@@ -30031,6 +30138,160 @@ readers do not read off random characters that represent icons */
30031
30138
  opacity: var(--Card-onDragging-opacity);
30032
30139
  }
30033
30140
 
30141
+ .amis-scope .a-Card-footer-wrapper {
30142
+ display: flex;
30143
+ align-items: center;
30144
+ justify-content: space-between;
30145
+ }
30146
+
30147
+ .amis-scope .a-Card-actions-wrapper {
30148
+ flex: 1;
30149
+ display: flex;
30150
+ align-items: center;
30151
+ justify-content: flex-end;
30152
+ flex-wrap: wrap;
30153
+ }
30154
+
30155
+ .amis-scope .a-Card-checkbox {
30156
+ margin: 0 var(--gap-sm) !important;
30157
+ }
30158
+
30159
+ .amis-scope .a-Card-secondary {
30160
+ max-width: 12.5rem;
30161
+ color: var(--Card-secondary-color);
30162
+ padding: 0 var(--gap-md);
30163
+ font-size: var(--fontSizeMd);
30164
+ font-weight: var(--fontWeightBase);
30165
+ white-space: nowrap;
30166
+ overflow: hidden;
30167
+ text-overflow: ellipsis;
30168
+ }
30169
+
30170
+ .amis-scope .a-Card-secondary + .a-Card-actions-wrapper .a-Card-actions {
30171
+ margin-left: unset;
30172
+ border: none;
30173
+ width: unset;
30174
+ }
30175
+
30176
+ .amis-scope .a-Card-secondary + .a-Card-actions-wrapper .a-Card-actions > a {
30177
+ border: none;
30178
+ }
30179
+
30180
+ .amis-scope .a-Card-multiMedia--top .a-Card-actions-wrapper .a-Card-actions,
30181
+ .amis-scope .a-Card-multiMedia--bottom .a-Card-actions-wrapper .a-Card-actions,
30182
+ .amis-scope .a-Card-multiMedia--left .a-Card-actions-wrapper .a-Card-actions,
30183
+ .amis-scope .a-Card-multiMedia--right .a-Card-actions-wrapper .a-Card-actions {
30184
+ margin-left: unset;
30185
+ border: none;
30186
+ width: unset;
30187
+ }
30188
+
30189
+ .amis-scope .a-Card-multiMedia--top .a-Card-actions-wrapper .a-Card-actions > a,
30190
+ .amis-scope .a-Card-multiMedia--bottom .a-Card-actions-wrapper .a-Card-actions > a,
30191
+ .amis-scope .a-Card-multiMedia--left .a-Card-actions-wrapper .a-Card-actions > a,
30192
+ .amis-scope .a-Card-multiMedia--right .a-Card-actions-wrapper .a-Card-actions > a {
30193
+ border: none;
30194
+ }
30195
+
30196
+ .amis-scope .a-Card-multiMedia--top {
30197
+ display: block;
30198
+ }
30199
+
30200
+ .amis-scope .a-Card-multiMedia--top .a-Card-multiMedia-img {
30201
+ border-bottom-left-radius: unset;
30202
+ border-bottom-right-radius: unset;
30203
+ }
30204
+
30205
+ .amis-scope .a-Card-multiMedia--bottom {
30206
+ display: flex;
30207
+ flex-direction: column-reverse;
30208
+ }
30209
+
30210
+ .amis-scope .a-Card-multiMedia--bottom .a-Card-actions {
30211
+ border-bottom: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30212
+ }
30213
+
30214
+ .amis-scope .a-Card-multiMedia--bottom .a-Card-multiMedia-img {
30215
+ border-top-left-radius: unset;
30216
+ border-top-right-radius: unset;
30217
+ }
30218
+
30219
+ .amis-scope .a-Card-multiMedia--top .a-Card-body,
30220
+ .amis-scope .a-Card-multiMedia--bottom .a-Card-body {
30221
+ padding-bottom: var(--gap-md);
30222
+ }
30223
+
30224
+ .amis-scope .a-Card-multiMedia--left {
30225
+ display: flex;
30226
+ align-items: center;
30227
+ }
30228
+
30229
+ .amis-scope .a-Card-multiMedia--left .a-Card-actions {
30230
+ margin-left: var(--gap-md);
30231
+ border-left: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30232
+ }
30233
+
30234
+ .amis-scope .a-Card-multiMedia--left .a-Card-multiMedia-img,
30235
+ .amis-scope .a-Card-multiMedia--left .a-Card-multiMedia-video {
30236
+ margin: var(--gap-md) 0 var(--gap-md) var(--gap-md);
30237
+ }
30238
+
30239
+ .amis-scope .a-Card-multiMedia--right {
30240
+ display: flex;
30241
+ align-items: center;
30242
+ justify-content: space-between;
30243
+ flex-direction: row-reverse;
30244
+ }
30245
+
30246
+ .amis-scope .a-Card-multiMedia--right .a-Card-actions {
30247
+ margin-right: var(--gap-md);
30248
+ border-right: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30249
+ }
30250
+
30251
+ .amis-scope .a-Card-multiMedia--right .a-Card-multiMedia-img,
30252
+ .amis-scope .a-Card-multiMedia--right .a-Card-multiMedia-video {
30253
+ margin: var(--gap-md) var(--gap-md) var(--gap-md) 0;
30254
+ }
30255
+
30256
+ .amis-scope .a-Card-multiMedia-flex {
30257
+ flex: 1;
30258
+ display: flex;
30259
+ flex-direction: column;
30260
+ justify-content: center;
30261
+ }
30262
+
30263
+ .amis-scope .a-Card-multiMedia-img {
30264
+ display: block;
30265
+ width: 100%;
30266
+ height: auto;
30267
+ object-fit: cover;
30268
+ border-radius: var(--Card-borderRadius);
30269
+ }
30270
+
30271
+ .amis-scope .a-Card-multiMedia-video {
30272
+ width: 11.25rem;
30273
+ height: 7.5rem;
30274
+ }
30275
+
30276
+ .amis-scope .a-Card-multiMedia-video .a-Video {
30277
+ width: 100%;
30278
+ height: 100%;
30279
+ min-width: unset;
30280
+ border-radius: var(--Card-borderRadius);
30281
+ overflow: hidden;
30282
+ }
30283
+
30284
+ .amis-scope .a-Card-multiMedia-video .a-Video .a-Video-player {
30285
+ width: 100%;
30286
+ height: 100%;
30287
+ }
30288
+
30289
+ .amis-scope .a-Card-multiMedia-video .a-Video .a-Video-player .video-react {
30290
+ width: 100%;
30291
+ height: 100%;
30292
+ padding-top: unset !important;
30293
+ }
30294
+
30034
30295
  .amis-scope .a-Field-quickEditBtn {
30035
30296
  color: var(--QuickEdit-iconColor);
30036
30297
  margin-left: var(--gap-xs);
@@ -33223,6 +33484,12 @@ readers do not read off random characters that represent icons */
33223
33484
  margin-right: var(--Checkbox-gap);
33224
33485
  }
33225
33486
 
33487
+ .amis-scope .a-GroupedSelection {
33488
+ max-height: 18.75rem;
33489
+ overflow: auto;
33490
+ user-select: none;
33491
+ }
33492
+
33226
33493
  .amis-scope .a-GroupedSelection-group:not(:first-child) > .a-GroupedSelection-itemLabel {
33227
33494
  border-top: 0.0625rem solid var(--ListMenu-divider-color);
33228
33495
  }
@@ -33586,6 +33853,12 @@ readers do not read off random characters that represent icons */
33586
33853
  transition: all var(--animation-duration);
33587
33854
  }
33588
33855
 
33856
+ .amis-scope .a-Switch .text > svg {
33857
+ width: var(--fontSizeSm);
33858
+ height: var(--fontSizeSm);
33859
+ margin-top: calc((var(--Switch-height) - var(--fontSizeSm)) / 2);
33860
+ }
33861
+
33589
33862
  .amis-scope .a-Switch .slider:before {
33590
33863
  content: "";
33591
33864
  position: absolute;
@@ -35598,8 +35871,9 @@ readers do not read off random characters that represent icons */
35598
35871
  }
35599
35872
 
35600
35873
  .amis-scope .a-FileControl-selectBtn {
35601
- display: flex;
35874
+ display: inline-flex;
35602
35875
  align-items: center;
35876
+ margin-right: 10px;
35603
35877
  }
35604
35878
 
35605
35879
  .amis-scope .a-FileControl-selectBtn > svg {
@@ -35608,7 +35882,6 @@ readers do not read off random characters that represent icons */
35608
35882
  }
35609
35883
 
35610
35884
  .amis-scope .a-FileControl-description {
35611
- margin-left: 10px;
35612
35885
  color: #999;
35613
35886
  font-size: 12px;
35614
35887
  }