amis 1.5.5 → 1.5.6

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 (220) hide show
  1. package/lib/Root.js +1 -1
  2. package/lib/Root.js.map +2 -2
  3. package/lib/Schema.d.ts +1 -1
  4. package/lib/Schema.js.map +1 -1
  5. package/lib/SchemaRenderer.js +4 -4
  6. package/lib/SchemaRenderer.js.map +2 -2
  7. package/lib/components/AsideNav.d.ts +1 -1
  8. package/lib/components/AsideNav.js.map +1 -1
  9. package/lib/components/Card.d.ts +20 -20
  10. package/lib/components/Card.js +1 -1
  11. package/lib/components/Card.js.map +2 -2
  12. package/lib/components/CodeMirror.d.ts +26 -0
  13. package/lib/components/CodeMirror.js +104 -0
  14. package/lib/components/CodeMirror.js.map +13 -0
  15. package/lib/components/Collapse.d.ts +22 -21
  16. package/lib/components/Collapse.js +5 -7
  17. package/lib/components/Collapse.js.map +2 -2
  18. package/lib/components/CollapseGroup.d.ts +20 -20
  19. package/lib/components/CollapseGroup.js +5 -3
  20. package/lib/components/CollapseGroup.js.map +2 -2
  21. package/lib/components/ColorPicker.d.ts +85 -84
  22. package/lib/components/ColorPicker.js +15 -3
  23. package/lib/components/ColorPicker.js.map +2 -2
  24. package/lib/components/DatePicker.d.ts +84 -84
  25. package/lib/components/DatePicker.js +7 -3
  26. package/lib/components/DatePicker.js.map +2 -2
  27. package/lib/components/DateRangePicker.d.ts +85 -84
  28. package/lib/components/DateRangePicker.js +5 -3
  29. package/lib/components/DateRangePicker.js.map +2 -2
  30. package/lib/components/LocationPicker.d.ts +84 -84
  31. package/lib/components/MonthRangePicker.d.ts +85 -84
  32. package/lib/components/MonthRangePicker.js +5 -3
  33. package/lib/components/MonthRangePicker.js.map +2 -2
  34. package/lib/components/PickerContainer.d.ts +2 -1
  35. package/lib/components/PickerContainer.js +3 -3
  36. package/lib/components/PickerContainer.js.map +2 -2
  37. package/lib/components/PopUp.d.ts +93 -0
  38. package/lib/components/PopUp.js +58 -0
  39. package/lib/components/PopUp.js.map +13 -0
  40. package/lib/components/Rating.d.ts +203 -73
  41. package/lib/components/Rating.js +147 -31
  42. package/lib/components/Rating.js.map +2 -2
  43. package/lib/components/Select.d.ts +237 -237
  44. package/lib/components/Steps.d.ts +1 -0
  45. package/lib/components/Steps.js +5 -3
  46. package/lib/components/Steps.js.map +2 -2
  47. package/lib/components/Tabs.d.ts +20 -20
  48. package/lib/components/TabsTransferPicker.js +1 -1
  49. package/lib/components/TabsTransferPicker.js.map +2 -2
  50. package/lib/components/TransferPicker.d.ts +0 -1
  51. package/lib/components/TransferPicker.js +2 -15
  52. package/lib/components/TransferPicker.js.map +2 -2
  53. package/lib/components/formula/Editor.d.ts +560 -0
  54. package/lib/components/formula/Editor.js +186 -0
  55. package/lib/components/formula/Editor.js.map +13 -0
  56. package/lib/components/formula/FuncList.d.ts +67 -0
  57. package/lib/components/formula/FuncList.js +35 -0
  58. package/lib/components/formula/FuncList.js.map +13 -0
  59. package/lib/components/formula/Picker.d.ts +493 -0
  60. package/lib/components/formula/Picker.js +48 -0
  61. package/lib/components/formula/Picker.js.map +13 -0
  62. package/lib/components/formula/VariableList.d.ts +9 -0
  63. package/lib/components/formula/VariableList.js +15 -0
  64. package/lib/components/formula/VariableList.js.map +13 -0
  65. package/lib/components/formula/plugin.d.ts +18 -0
  66. package/lib/components/formula/plugin.js +136 -0
  67. package/lib/components/formula/plugin.js.map +13 -0
  68. package/lib/components/icons.js +2 -0
  69. package/lib/components/icons.js.map +2 -2
  70. package/lib/components/index.d.ts +2 -1
  71. package/lib/components/index.js +4 -2
  72. package/lib/components/index.js.map +2 -2
  73. package/lib/helper.css +57 -57
  74. package/lib/helper.css.map +1 -1
  75. package/lib/icons/star.js +12 -0
  76. package/lib/index.d.ts +1 -0
  77. package/lib/index.js +2 -1
  78. package/lib/index.js.map +2 -2
  79. package/lib/renderers/Collapse.js +8 -2
  80. package/lib/renderers/Collapse.js.map +2 -2
  81. package/lib/renderers/CollapseGroup.js.map +2 -2
  82. package/lib/renderers/Form/InputCity.d.ts +84 -84
  83. package/lib/renderers/Form/InputColor.d.ts +84 -84
  84. package/lib/renderers/Form/InputColor.js +2 -2
  85. package/lib/renderers/Form/InputColor.js.map +2 -2
  86. package/lib/renderers/Form/InputDate.js +2 -2
  87. package/lib/renderers/Form/InputDate.js.map +2 -2
  88. package/lib/renderers/Form/InputDateRange.js +2 -2
  89. package/lib/renderers/Form/InputDateRange.js.map +2 -2
  90. package/lib/renderers/Form/InputFile.js +1 -1
  91. package/lib/renderers/Form/InputFile.js.map +2 -2
  92. package/lib/renderers/Form/InputFormula.d.ts +35 -0
  93. package/lib/renderers/Form/InputFormula.js +25 -0
  94. package/lib/renderers/Form/InputFormula.js.map +13 -0
  95. package/lib/renderers/Form/InputImage.js +1 -1
  96. package/lib/renderers/Form/InputImage.js.map +2 -2
  97. package/lib/renderers/Form/InputMonthRange.js +2 -2
  98. package/lib/renderers/Form/InputMonthRange.js.map +2 -2
  99. package/lib/renderers/Form/InputQuarterRange.js +2 -2
  100. package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
  101. package/lib/renderers/Form/InputRating.d.ts +37 -0
  102. package/lib/renderers/Form/InputRating.js +6 -2
  103. package/lib/renderers/Form/InputRating.js.map +2 -2
  104. package/lib/renderers/Form/InputYearRange.js +2 -2
  105. package/lib/renderers/Form/InputYearRange.js.map +2 -2
  106. package/lib/renderers/Form/TreeSelect.d.ts +1 -0
  107. package/lib/renderers/Form/TreeSelect.js +11 -8
  108. package/lib/renderers/Form/TreeSelect.js.map +2 -2
  109. package/lib/renderers/Json.js +7 -0
  110. package/lib/renderers/Json.js.map +2 -2
  111. package/lib/renderers/Steps.js +2 -2
  112. package/lib/renderers/Steps.js.map +2 -2
  113. package/lib/store/formItem.js +11 -1
  114. package/lib/store/formItem.js.map +2 -2
  115. package/lib/themes/ang-ie11.css +305 -10
  116. package/lib/themes/ang.css +305 -10
  117. package/lib/themes/ang.css.map +1 -1
  118. package/lib/themes/antd-ie11.css +305 -10
  119. package/lib/themes/antd.css +305 -10
  120. package/lib/themes/antd.css.map +1 -1
  121. package/lib/themes/cxd-ie11.css +306 -10
  122. package/lib/themes/cxd.css +306 -10
  123. package/lib/themes/cxd.css.map +1 -1
  124. package/lib/themes/dark-ie11.css +305 -10
  125. package/lib/themes/dark.css +305 -10
  126. package/lib/themes/dark.css.map +1 -1
  127. package/lib/themes/default.css +306 -10
  128. package/lib/themes/default.css.map +1 -1
  129. package/lib/utils/api.js +2 -2
  130. package/lib/utils/api.js.map +2 -2
  131. package/lib/utils/helper.js +2 -7
  132. package/lib/utils/helper.js.map +2 -2
  133. package/package.json +5 -3
  134. package/schema.json +59 -7
  135. package/scss/_properties.scss +3 -1
  136. package/scss/_variables.scss +1 -1
  137. package/scss/components/_formula.scss +122 -0
  138. package/scss/components/_popup.scss +123 -0
  139. package/scss/components/_steps.scss +60 -0
  140. package/scss/components/form/_color.scss +4 -0
  141. package/scss/components/form/_date-range.scss +4 -0
  142. package/scss/components/form/_date.scss +3 -0
  143. package/scss/components/form/_rating.scss +60 -21
  144. package/scss/components/form/_tree-select.scss +4 -0
  145. package/scss/helper/background/_background-color.scss +1 -1
  146. package/scss/helper/border/_border-color.scss +1 -1
  147. package/scss/helper/typography/_text-color.scss +1 -1
  148. package/scss/themes/_common.scss +2 -0
  149. package/scss/themes/_cxd-variables.scss +2 -0
  150. package/sdk/ang-ie11.css +922 -8
  151. package/sdk/ang.css +926 -10
  152. package/sdk/antd-ie11.css +922 -8
  153. package/sdk/antd.css +926 -10
  154. package/sdk/charts.js +17 -17
  155. package/sdk/codemirror.js +14 -0
  156. package/sdk/color-picker.js +65 -69
  157. package/sdk/cropperjs.js +3 -3
  158. package/sdk/cxd-ie11.css +922 -8
  159. package/sdk/cxd.css +927 -10
  160. package/sdk/dark-ie11.css +922 -8
  161. package/sdk/dark.css +926 -10
  162. package/sdk/exceljs.js +1 -1
  163. package/sdk/helper.css +57 -57
  164. package/sdk/helper.css.map +1 -1
  165. package/sdk/markdown.js +69 -69
  166. package/sdk/papaparse.js +1 -1
  167. package/sdk/renderers/Form/CityDB.js +1 -1
  168. package/sdk/rest.js +20 -16
  169. package/sdk/rich-text.js +62 -62
  170. package/sdk/sdk-ie11.css +922 -8
  171. package/sdk/sdk.css +927 -10
  172. package/sdk/sdk.js +1345 -1235
  173. package/sdk/thirds/hls.js/hls.js +18 -18
  174. package/sdk/thirds/mpegts.js/mpegts.js +2 -2
  175. package/sdk/tinymce.js +57 -57
  176. package/src/Root.tsx +1 -0
  177. package/src/Schema.ts +1 -0
  178. package/src/SchemaRenderer.tsx +4 -0
  179. package/src/components/AsideNav.tsx +1 -1
  180. package/src/components/Card.tsx +2 -2
  181. package/src/components/CodeMirror.tsx +99 -0
  182. package/src/components/Collapse.tsx +22 -14
  183. package/src/components/CollapseGroup.tsx +9 -11
  184. package/src/components/ColorPicker.tsx +45 -3
  185. package/src/components/DatePicker.tsx +33 -3
  186. package/src/components/DateRangePicker.tsx +17 -3
  187. package/src/components/MonthRangePicker.tsx +18 -4
  188. package/src/components/PickerContainer.tsx +10 -6
  189. package/src/components/PopUp.tsx +133 -0
  190. package/src/components/Rating.tsx +235 -47
  191. package/src/components/Steps.tsx +8 -3
  192. package/src/components/TabsTransferPicker.tsx +1 -1
  193. package/src/components/TransferPicker.tsx +1 -11
  194. package/src/components/formula/Editor.tsx +261 -0
  195. package/src/components/formula/FuncList.tsx +82 -0
  196. package/src/components/formula/Picker.tsx +86 -0
  197. package/src/components/formula/VariableList.tsx +49 -0
  198. package/src/components/formula/plugin.ts +177 -0
  199. package/src/components/icons.tsx +2 -0
  200. package/src/components/index.tsx +2 -0
  201. package/src/icons/star.svg +12 -0
  202. package/src/index.tsx +1 -0
  203. package/src/renderers/Collapse.tsx +27 -27
  204. package/src/renderers/CollapseGroup.tsx +13 -12
  205. package/src/renderers/Form/InputColor.tsx +2 -3
  206. package/src/renderers/Form/InputDate.tsx +2 -0
  207. package/src/renderers/Form/InputDateRange.tsx +2 -0
  208. package/src/renderers/Form/InputFile.tsx +1 -1
  209. package/src/renderers/Form/InputFormula.tsx +75 -0
  210. package/src/renderers/Form/InputImage.tsx +1 -1
  211. package/src/renderers/Form/InputMonthRange.tsx +2 -0
  212. package/src/renderers/Form/InputQuarterRange.tsx +2 -0
  213. package/src/renderers/Form/InputRating.tsx +66 -3
  214. package/src/renderers/Form/InputYearRange.tsx +2 -0
  215. package/src/renderers/Form/TreeSelect.tsx +82 -63
  216. package/src/renderers/Json.tsx +5 -0
  217. package/src/renderers/Steps.tsx +4 -2
  218. package/src/store/formItem.ts +15 -0
  219. package/src/utils/api.ts +5 -2
  220. package/src/utils/helper.ts +5 -14
package/sdk/antd.css CHANGED
@@ -249,6 +249,575 @@
249
249
  cursor: default;
250
250
  }
251
251
 
252
+ /* BASICS */
253
+
254
+ .amis-scope .CodeMirror {
255
+ /* Set height, width, borders, and global font properties here */
256
+ font-family: monospace;
257
+ height: 300px;
258
+ color: black;
259
+ direction: ltr;
260
+ }
261
+
262
+ /* PADDING */
263
+
264
+ .amis-scope .CodeMirror-lines {
265
+ padding: 4px 0;
266
+ /* Vertical padding around content */
267
+ }
268
+
269
+ .amis-scope .CodeMirror pre.CodeMirror-line,
270
+ .amis-scope .CodeMirror pre.CodeMirror-line-like {
271
+ padding: 0 4px;
272
+ /* Horizontal padding of content */
273
+ }
274
+
275
+ .amis-scope .CodeMirror-scrollbar-filler,
276
+ .amis-scope .CodeMirror-gutter-filler {
277
+ background-color: white;
278
+ /* The little square between H and V scrollbars */
279
+ }
280
+
281
+ /* GUTTER */
282
+
283
+ .amis-scope .CodeMirror-gutters {
284
+ border-right: 1px solid #ddd;
285
+ background-color: #f7f7f7;
286
+ white-space: nowrap;
287
+ }
288
+
289
+
290
+
291
+ .amis-scope .CodeMirror-linenumber {
292
+ padding: 0 3px 0 5px;
293
+ min-width: 20px;
294
+ text-align: right;
295
+ color: #999;
296
+ white-space: nowrap;
297
+ }
298
+
299
+ .amis-scope .CodeMirror-guttermarker {
300
+ color: black;
301
+ }
302
+
303
+ .amis-scope .CodeMirror-guttermarker-subtle {
304
+ color: #999;
305
+ }
306
+
307
+ /* CURSOR */
308
+
309
+ .amis-scope .CodeMirror-cursor {
310
+ border-left: 1px solid black;
311
+ border-right: none;
312
+ width: 0;
313
+ }
314
+
315
+ /* Shown when moving in bi-directional text */
316
+
317
+ .amis-scope .CodeMirror div.CodeMirror-secondarycursor {
318
+ border-left: 1px solid silver;
319
+ }
320
+
321
+ .amis-scope .cm-fat-cursor .CodeMirror-cursor {
322
+ width: auto;
323
+ border: 0 !important;
324
+ background: #7e7;
325
+ }
326
+
327
+ .amis-scope .cm-fat-cursor div.CodeMirror-cursors {
328
+ z-index: 1;
329
+ }
330
+
331
+ .amis-scope .cm-fat-cursor .CodeMirror-line::selection,
332
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span::selection,
333
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span > span::selection {
334
+ background: transparent;
335
+ }
336
+
337
+ .amis-scope .cm-fat-cursor .CodeMirror-line::-moz-selection,
338
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span::-moz-selection,
339
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
340
+ background: transparent;
341
+ }
342
+
343
+ .amis-scope .cm-fat-cursor {
344
+ caret-color: transparent;
345
+ }
346
+
347
+ @-moz-keyframes blink {
348
+ 0% {
349
+
350
+ }
351
+
352
+ 50% {
353
+ background-color: transparent;
354
+ }
355
+
356
+ 100% {
357
+
358
+ }
359
+ }
360
+
361
+ @-webkit-keyframes blink {
362
+ 0% {
363
+
364
+ }
365
+
366
+ 50% {
367
+ background-color: transparent;
368
+ }
369
+
370
+ 100% {
371
+
372
+ }
373
+ }
374
+
375
+ @keyframes blink {
376
+ 0% {
377
+
378
+ }
379
+
380
+ 50% {
381
+ background-color: transparent;
382
+ }
383
+
384
+ 100% {
385
+
386
+ }
387
+ }
388
+
389
+ /* Can style cursor different in overwrite (non-insert) mode */
390
+
391
+
392
+
393
+ .amis-scope .cm-tab {
394
+ display: inline-block;
395
+ text-decoration: inherit;
396
+ }
397
+
398
+ .amis-scope .CodeMirror-rulers {
399
+ position: absolute;
400
+ left: 0;
401
+ right: 0;
402
+ top: -50px;
403
+ bottom: 0;
404
+ overflow: hidden;
405
+ }
406
+
407
+ .amis-scope .CodeMirror-ruler {
408
+ border-left: 1px solid #ccc;
409
+ top: 0;
410
+ bottom: 0;
411
+ position: absolute;
412
+ }
413
+
414
+ /* DEFAULT THEME */
415
+
416
+ .amis-scope .cm-s-default .cm-header {
417
+ color: blue;
418
+ }
419
+
420
+ .amis-scope .cm-s-default .cm-quote {
421
+ color: #090;
422
+ }
423
+
424
+ .amis-scope .cm-negative {
425
+ color: #d44;
426
+ }
427
+
428
+ .amis-scope .cm-positive {
429
+ color: #292;
430
+ }
431
+
432
+ .amis-scope .cm-header,
433
+ .amis-scope .cm-strong {
434
+ font-weight: bold;
435
+ }
436
+
437
+ .amis-scope .cm-em {
438
+ font-style: italic;
439
+ }
440
+
441
+ .amis-scope .cm-link {
442
+ text-decoration: underline;
443
+ }
444
+
445
+ .amis-scope .cm-strikethrough {
446
+ text-decoration: line-through;
447
+ }
448
+
449
+ .amis-scope .cm-s-default .cm-keyword {
450
+ color: #708;
451
+ }
452
+
453
+ .amis-scope .cm-s-default .cm-atom {
454
+ color: #219;
455
+ }
456
+
457
+ .amis-scope .cm-s-default .cm-number {
458
+ color: #164;
459
+ }
460
+
461
+ .amis-scope .cm-s-default .cm-def {
462
+ color: #00f;
463
+ }
464
+
465
+
466
+
467
+ .amis-scope .cm-s-default .cm-variable-2 {
468
+ color: #05a;
469
+ }
470
+
471
+ .amis-scope .cm-s-default .cm-variable-3,
472
+ .amis-scope .cm-s-default .cm-type {
473
+ color: #085;
474
+ }
475
+
476
+ .amis-scope .cm-s-default .cm-comment {
477
+ color: #a50;
478
+ }
479
+
480
+ .amis-scope .cm-s-default .cm-string {
481
+ color: #a11;
482
+ }
483
+
484
+ .amis-scope .cm-s-default .cm-string-2 {
485
+ color: #f50;
486
+ }
487
+
488
+ .amis-scope .cm-s-default .cm-meta {
489
+ color: #555;
490
+ }
491
+
492
+ .amis-scope .cm-s-default .cm-qualifier {
493
+ color: #555;
494
+ }
495
+
496
+ .amis-scope .cm-s-default .cm-builtin {
497
+ color: #30a;
498
+ }
499
+
500
+ .amis-scope .cm-s-default .cm-bracket {
501
+ color: #997;
502
+ }
503
+
504
+ .amis-scope .cm-s-default .cm-tag {
505
+ color: #170;
506
+ }
507
+
508
+ .amis-scope .cm-s-default .cm-attribute {
509
+ color: #00c;
510
+ }
511
+
512
+ .amis-scope .cm-s-default .cm-hr {
513
+ color: #999;
514
+ }
515
+
516
+ .amis-scope .cm-s-default .cm-link {
517
+ color: #00c;
518
+ }
519
+
520
+ .amis-scope .cm-s-default .cm-error {
521
+ color: #f00;
522
+ }
523
+
524
+ .amis-scope .cm-invalidchar {
525
+ color: #f00;
526
+ }
527
+
528
+ .amis-scope .CodeMirror-composing {
529
+ border-bottom: 2px solid;
530
+ }
531
+
532
+ /* Default styles for common addons */
533
+
534
+ .amis-scope div.CodeMirror span.CodeMirror-matchingbracket {
535
+ color: #0b0;
536
+ }
537
+
538
+ .amis-scope div.CodeMirror span.CodeMirror-nonmatchingbracket {
539
+ color: #a22;
540
+ }
541
+
542
+ .amis-scope .CodeMirror-matchingtag {
543
+ background: rgba(255, 150, 0, .3);
544
+ }
545
+
546
+ .amis-scope .CodeMirror-activeline-background {
547
+ background: #e8f2ff;
548
+ }
549
+
550
+ /* STOP */
551
+
552
+ /* The rest of this file contains styles related to the mechanics of
553
+ the editor. You probably shouldn't touch them. */
554
+
555
+ .amis-scope .CodeMirror {
556
+ position: relative;
557
+ overflow: hidden;
558
+ background: white;
559
+ }
560
+
561
+ .amis-scope .CodeMirror-scroll {
562
+ overflow: scroll !important;
563
+ /* Things will break if this is overridden */
564
+ /* 50px is the magic margin used to hide the element's real scrollbars */
565
+ /* See overflow: hidden in .CodeMirror */
566
+ margin-bottom: -50px;
567
+ margin-right: -50px;
568
+ padding-bottom: 50px;
569
+ height: 100%;
570
+ outline: none;
571
+ /* Prevent dragging from highlighting the element */
572
+ position: relative;
573
+ }
574
+
575
+ .amis-scope .CodeMirror-sizer {
576
+ position: relative;
577
+ border-right: 50px solid transparent;
578
+ }
579
+
580
+ /* The fake, visible scrollbars. Used to force redraw during scrolling
581
+ before actual scrolling happens, thus preventing shaking and
582
+ flickering artifacts. */
583
+
584
+ .amis-scope .CodeMirror-vscrollbar,
585
+ .amis-scope .CodeMirror-hscrollbar,
586
+ .amis-scope .CodeMirror-scrollbar-filler,
587
+ .amis-scope .CodeMirror-gutter-filler {
588
+ position: absolute;
589
+ z-index: 6;
590
+ display: none;
591
+ outline: none;
592
+ }
593
+
594
+ .amis-scope .CodeMirror-vscrollbar {
595
+ right: 0;
596
+ top: 0;
597
+ overflow-x: hidden;
598
+ overflow-y: scroll;
599
+ }
600
+
601
+ .amis-scope .CodeMirror-hscrollbar {
602
+ bottom: 0;
603
+ left: 0;
604
+ overflow-y: hidden;
605
+ overflow-x: scroll;
606
+ }
607
+
608
+ .amis-scope .CodeMirror-scrollbar-filler {
609
+ right: 0;
610
+ bottom: 0;
611
+ }
612
+
613
+ .amis-scope .CodeMirror-gutter-filler {
614
+ left: 0;
615
+ bottom: 0;
616
+ }
617
+
618
+ .amis-scope .CodeMirror-gutters {
619
+ position: absolute;
620
+ left: 0;
621
+ top: 0;
622
+ min-height: 100%;
623
+ z-index: 3;
624
+ }
625
+
626
+ .amis-scope .CodeMirror-gutter {
627
+ white-space: normal;
628
+ height: 100%;
629
+ display: inline-block;
630
+ vertical-align: top;
631
+ margin-bottom: -50px;
632
+ }
633
+
634
+ .amis-scope .CodeMirror-gutter-wrapper {
635
+ position: absolute;
636
+ z-index: 4;
637
+ background: none !important;
638
+ border: none !important;
639
+ }
640
+
641
+ .amis-scope .CodeMirror-gutter-background {
642
+ position: absolute;
643
+ top: 0;
644
+ bottom: 0;
645
+ z-index: 4;
646
+ }
647
+
648
+ .amis-scope .CodeMirror-gutter-elt {
649
+ position: absolute;
650
+ cursor: default;
651
+ z-index: 4;
652
+ }
653
+
654
+ .amis-scope .CodeMirror-gutter-wrapper ::selection {
655
+ background-color: transparent;
656
+ }
657
+
658
+ .amis-scope .CodeMirror-gutter-wrapper ::-moz-selection {
659
+ background-color: transparent;
660
+ }
661
+
662
+ .amis-scope .CodeMirror-lines {
663
+ cursor: text;
664
+ min-height: 1px;
665
+ /* prevents collapsing before first draw */
666
+ }
667
+
668
+ .amis-scope .CodeMirror pre.CodeMirror-line,
669
+ .amis-scope .CodeMirror pre.CodeMirror-line-like {
670
+ /* Reset some styles that the rest of the page might have set */
671
+ -moz-border-radius: 0;
672
+ -webkit-border-radius: 0;
673
+ border-radius: 0;
674
+ border-width: 0;
675
+ background: transparent;
676
+ font-family: inherit;
677
+ font-size: inherit;
678
+ margin: 0;
679
+ white-space: pre;
680
+ word-wrap: normal;
681
+ line-height: inherit;
682
+ color: inherit;
683
+ z-index: 2;
684
+ position: relative;
685
+ overflow: visible;
686
+ -webkit-tap-highlight-color: transparent;
687
+ -webkit-font-variant-ligatures: contextual;
688
+ font-variant-ligatures: contextual;
689
+ }
690
+
691
+ .amis-scope .CodeMirror-wrap pre.CodeMirror-line,
692
+ .amis-scope .CodeMirror-wrap pre.CodeMirror-line-like {
693
+ word-wrap: break-word;
694
+ white-space: pre-wrap;
695
+ word-break: normal;
696
+ }
697
+
698
+ .amis-scope .CodeMirror-linebackground {
699
+ position: absolute;
700
+ left: 0;
701
+ right: 0;
702
+ top: 0;
703
+ bottom: 0;
704
+ z-index: 0;
705
+ }
706
+
707
+ .amis-scope .CodeMirror-linewidget {
708
+ position: relative;
709
+ z-index: 2;
710
+ padding: 0.1px;
711
+ /* Force widget margins to stay inside of the container */
712
+ }
713
+
714
+
715
+
716
+ .amis-scope .CodeMirror-rtl pre {
717
+ direction: rtl;
718
+ }
719
+
720
+ .amis-scope .CodeMirror-code {
721
+ outline: none;
722
+ }
723
+
724
+ /* Force content-box sizing for the elements where we expect it */
725
+
726
+ .amis-scope .CodeMirror-scroll,
727
+ .amis-scope .CodeMirror-sizer,
728
+ .amis-scope .CodeMirror-gutter,
729
+ .amis-scope .CodeMirror-gutters,
730
+ .amis-scope .CodeMirror-linenumber {
731
+ -moz-box-sizing: content-box;
732
+ box-sizing: content-box;
733
+ }
734
+
735
+ .amis-scope .CodeMirror-measure {
736
+ position: absolute;
737
+ width: 100%;
738
+ height: 0;
739
+ overflow: hidden;
740
+ visibility: hidden;
741
+ }
742
+
743
+ .amis-scope .CodeMirror-cursor {
744
+ position: absolute;
745
+ pointer-events: none;
746
+ }
747
+
748
+ .amis-scope .CodeMirror-measure pre {
749
+ position: static;
750
+ }
751
+
752
+ .amis-scope div.CodeMirror-cursors {
753
+ visibility: hidden;
754
+ position: relative;
755
+ z-index: 3;
756
+ }
757
+
758
+ .amis-scope div.CodeMirror-dragcursors {
759
+ visibility: visible;
760
+ }
761
+
762
+ .amis-scope .CodeMirror-focused div.CodeMirror-cursors {
763
+ visibility: visible;
764
+ }
765
+
766
+ .amis-scope .CodeMirror-selected {
767
+ background: #d9d9d9;
768
+ }
769
+
770
+ .amis-scope .CodeMirror-focused .CodeMirror-selected {
771
+ background: #d7d4f0;
772
+ }
773
+
774
+ .amis-scope .CodeMirror-crosshair {
775
+ cursor: crosshair;
776
+ }
777
+
778
+ .amis-scope .CodeMirror-line::selection,
779
+ .amis-scope .CodeMirror-line > span::selection,
780
+ .amis-scope .CodeMirror-line > span > span::selection {
781
+ background: #d7d4f0;
782
+ }
783
+
784
+ .amis-scope .CodeMirror-line::-moz-selection,
785
+ .amis-scope .CodeMirror-line > span::-moz-selection,
786
+ .amis-scope .CodeMirror-line > span > span::-moz-selection {
787
+ background: #d7d4f0;
788
+ }
789
+
790
+ .amis-scope .cm-searching {
791
+ background-color: #ffa;
792
+ background-color: rgba(255, 255, 0, .4);
793
+ }
794
+
795
+ /* Used to force a border model for a node */
796
+
797
+ .amis-scope .cm-force-border {
798
+ padding-right: .1px;
799
+ }
800
+
801
+ @media print {
802
+ /* Hide the cursor when printing */
803
+
804
+ .amis-scope .CodeMirror div.CodeMirror-cursors {
805
+ visibility: hidden;
806
+ }
807
+ }
808
+
809
+ /* See issue #2901 */
810
+
811
+ .amis-scope .cm-tab-wrap-hack:after {
812
+ content: '';
813
+ }
814
+
815
+ /* Help users use markselection to safely style text background */
816
+
817
+ .amis-scope span.CodeMirror-selectedtext {
818
+ background: none;
819
+ }
820
+
252
821
  /*!
253
822
  * Cropper.js v1.5.12
254
823
  * https://fengyuanchen.github.io/cropperjs
@@ -20183,7 +20752,9 @@ readers do not read off random characters that represent icons */
20183
20752
  --ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
20184
20753
  --ResultBox-value-bg: #f5f5f5;
20185
20754
  --ResultBox-value-color: #000;
20186
- --Rating-onActive-color: var(--info);
20755
+ --Rating-inactive-color: #e6e6e8;
20756
+ --Rating-star-margin: 0.5rem;
20757
+ --Rating-star-size: 1.5rem;
20187
20758
  --Satus-icon-width: var(--gap-lg);
20188
20759
  --Satus-icon-height: var(--Satus-icon-width);
20189
20760
  --Sparkline-line-color: var(--info);
@@ -24161,6 +24732,135 @@ readers do not read off random characters that represent icons */
24161
24732
  margin-top: -0.25rem;
24162
24733
  }
24163
24734
 
24735
+ @keyframes PopUpIn {
24736
+ from {
24737
+ height: 0;
24738
+ }
24739
+ }
24740
+
24741
+ @keyframes PopUpOut {
24742
+ to {
24743
+ height: 0;
24744
+ }
24745
+ }
24746
+
24747
+ @keyframes PopUpOpacityIn {
24748
+ from {
24749
+ opacity: 0;
24750
+ }
24751
+ }
24752
+
24753
+ @keyframes PopUpOpacityOut {
24754
+ to {
24755
+ opacity: 0;
24756
+ }
24757
+ }
24758
+
24759
+ .amis-scope .antd-PopUp {
24760
+ width: 100%;
24761
+ position: fixed;
24762
+ background: var(--PopOver-bg);
24763
+ left: 0;
24764
+ bottom: 0;
24765
+ z-index: 1300;
24766
+ padding: 0;
24767
+ margin: 0;
24768
+ font-weight: var(--fontWeightNormal);
24769
+ letter-spacing: normal;
24770
+ line-height: var(--lineHeightBase);
24771
+ text-align: left;
24772
+ text-align: start;
24773
+ text-decoration: none;
24774
+ text-shadow: none;
24775
+ text-transform: none;
24776
+ white-space: normal;
24777
+ word-break: normal;
24778
+ word-spacing: normal;
24779
+ word-wrap: normal;
24780
+ font-size: var(--fontSizeBase);
24781
+ box-shadow: var(--boxShadow);
24782
+ border: var(--borderWidth) solid var(--borderColor);
24783
+ border-radius: var(--borderRadius);
24784
+ overflow: hidden;
24785
+ }
24786
+
24787
+ .amis-scope .antd-PopUp.in,
24788
+ .amis-scope .antd-PopUp.out {
24789
+ animation-duration: var(--animation-duration);
24790
+ animation-fill-mode: both;
24791
+ }
24792
+
24793
+ .amis-scope .antd-PopUp.in {
24794
+ animation-name: PopUpIn;
24795
+ }
24796
+
24797
+ .amis-scope .antd-PopUp.in .antd-PopUp-overlay {
24798
+ animation-name: PopUpOpacityIn;
24799
+ }
24800
+
24801
+ .amis-scope .antd-PopUp.out {
24802
+ animation-name: PopUpOut;
24803
+ }
24804
+
24805
+ .amis-scope .antd-PopUp.out .antd-PopUp-overlay {
24806
+ animation-name: PopUpOpacityOut;
24807
+ }
24808
+
24809
+ .amis-scope .antd-PopUp-inner {
24810
+ position: relative;
24811
+ overflow: hidden;
24812
+ height: 100%;
24813
+ box-sizing: border-box;
24814
+ background: #fff;
24815
+ padding-top: 2.25rem;
24816
+ }
24817
+
24818
+ .amis-scope .antd-PopUp-closeWrap {
24819
+ width: 100%;
24820
+ position: absolute !important;
24821
+ left: 0;
24822
+ top: 0;
24823
+ }
24824
+
24825
+ .amis-scope .antd-PopUp-close {
24826
+ width: 2.125rem !important;
24827
+ height: 2.125rem !important;
24828
+ padding: 0.75rem;
24829
+ cursor: pointer;
24830
+ }
24831
+
24832
+ .amis-scope .antd-PopUp-content {
24833
+ overflow-y: auto;
24834
+ height: 100%;
24835
+ display: flex;
24836
+ }
24837
+
24838
+ .amis-scope .antd-PopUp > * {
24839
+ position: relative;
24840
+ z-index: 2;
24841
+ }
24842
+
24843
+ .amis-scope .antd-PopUp-overlay {
24844
+ position: fixed !important;
24845
+ top: 0;
24846
+ left: 0;
24847
+ right: 0;
24848
+ z-index: 1;
24849
+ bottom: 0;
24850
+ background: rgba(0, 0, 0, 0.3);
24851
+ opacity: 1;
24852
+ animation-duration: var(--animation-duration);
24853
+ animation-fill-mode: both;
24854
+ }
24855
+
24856
+ .amis-scope .antd-PopUp--leftBottomLeftTop {
24857
+ margin-top: 0.25rem;
24858
+ }
24859
+
24860
+ .amis-scope .antd-PopUp--leftTopLeftBottom {
24861
+ margin-top: -0.25rem;
24862
+ }
24863
+
24164
24864
  .amis-scope .antd-PickerColumns {
24165
24865
  position: relative;
24166
24866
  background-color: var(--PickerColumns-bg);
@@ -32241,6 +32941,42 @@ readers do not read off random characters that represent icons */
32241
32941
  border: 1px solid var(--Steps-status-success);
32242
32942
  }
32243
32943
 
32944
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem-containerWrapper .antd-StepsItem-body .antd-StepsItem-title::after {
32945
+ display: none !important;
32946
+ }
32947
+
32948
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem-containerWrapper .antd-StepsItem-body .antd-StepsItem-title .antd-StepsItem-subTitle {
32949
+ padding-left: 0.3125rem;
32950
+ }
32951
+
32952
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem-containerIcon {
32953
+ position: relative;
32954
+ display: block;
32955
+ }
32956
+
32957
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem-containerIcon:after {
32958
+ content: "";
32959
+ position: absolute;
32960
+ right: 0;
32961
+ top: 0.9375rem;
32962
+ height: 1px;
32963
+ left: 2.5rem;
32964
+ width: 99999px;
32965
+ background-color: var(--Steps-line-bg);
32966
+ }
32967
+
32968
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem-containerIcon.is-success:after {
32969
+ background-color: var(--Steps-line-success-bg);
32970
+ }
32971
+
32972
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem:last-child {
32973
+ flex: 1;
32974
+ }
32975
+
32976
+ .amis-scope .antd-Steps-mobile.antd-Steps--horizontal .antd-StepsItem:last-child .antd-StepsItem-containerIcon:after {
32977
+ display: none !important;
32978
+ }
32979
+
32244
32980
  .amis-scope .antd-Portlet {
32245
32981
  border: var(--Portlet-borderWidth) var(--Portlet-borderStyle) var(--Portlet-borderColor);
32246
32982
  border-radius: var(--Portlet-borderRadius);
@@ -34903,6 +35639,10 @@ readers do not read off random characters that represent icons */
34903
35639
  border-radius: var(--borderRadius);
34904
35640
  }
34905
35641
 
35642
+ .amis-scope .antd-ColorPicker-popup {
35643
+ height: 80vh;
35644
+ }
35645
+
34906
35646
  .amis-scope .antd-ColorPicker:not(.is-disabled) {
34907
35647
  cursor: pointer;
34908
35648
  }
@@ -35163,6 +35903,10 @@ readers do not read off random characters that represent icons */
35163
35903
  margin: -0.125rem 0 0;
35164
35904
  }
35165
35905
 
35906
+ .amis-scope .antd-DatePicker-popup {
35907
+ height: 80vh;
35908
+ }
35909
+
35166
35910
  .amis-scope .rdt {
35167
35911
  user-select: none;
35168
35912
  font-size: var(--Calendar-fontSize);
@@ -35696,6 +36440,10 @@ readers do not read off random characters that represent icons */
35696
36440
  margin: -0.125rem 0 0;
35697
36441
  }
35698
36442
 
36443
+ .amis-scope .antd-DateRangePicker-popup {
36444
+ height: 90vh;
36445
+ }
36446
+
35699
36447
  @media (min-width: 576px) {
35700
36448
  .amis-scope .antd-DateRangePicker-wrap {
35701
36449
  white-space: nowrap;
@@ -37024,6 +37772,10 @@ readers do not read off random characters that represent icons */
37024
37772
  background: var(--Form-input-onFocused-bg);
37025
37773
  }
37026
37774
 
37775
+ .amis-scope .antd-TreeSelect-popup {
37776
+ height: 80vh;
37777
+ }
37778
+
37027
37779
  .amis-scope .antd-TreeSelect-popover {
37028
37780
  background: transparent;
37029
37781
  border: none;
@@ -37842,25 +38594,52 @@ readers do not read off random characters that represent icons */
37842
38594
  }
37843
38595
 
37844
38596
  .amis-scope .antd-Rating {
38597
+ display: flex;
38598
+ position: relative;
38599
+ align-items: center;
38600
+ justify-content: flex-start;
38601
+ flex-flow: row wrap;
38602
+ }
38603
+
38604
+ .amis-scope .antd-Rating > ul {
38605
+ display: flex;
38606
+ padding: unset;
38607
+ margin: unset;
38608
+ align-items: center;
38609
+ justify-content: flex-start;
38610
+ flex-flow: row wrap;
38611
+ }
38612
+
38613
+ .amis-scope .antd-Rating-star {
37845
38614
  position: relative;
38615
+ margin-right: var(--Rating-star-margin);
37846
38616
  overflow: hidden;
37847
38617
  display: block;
37848
- float: left;
37849
- font-size: 1.5rem;
37850
- color: var(--dark);
38618
+ font-size: var(--Rating-star-size);
38619
+ line-height: 1;
37851
38620
  cursor: pointer;
38621
+ user-select: none;
38622
+ color: var(--Rating-inactive-color);
37852
38623
  }
37853
38624
 
37854
- .amis-scope .antd-Rating.is-active {
37855
- color: var(--Rating-onActive-color);
38625
+ .amis-scope .antd-Rating-star-half > svg.icon,
38626
+ .amis-scope .antd-Rating-star > svg.icon {
38627
+ display: block;
38628
+ width: 1.5rem;
38629
+ height: 1.5rem;
38630
+ top: 0;
38631
+ }
38632
+
38633
+ .amis-scope .antd-Rating-star:last-of-type {
38634
+ margin-right: 0;
37856
38635
  }
37857
38636
 
37858
- .amis-scope .antd-Rating.is-disabled {
38637
+ .amis-scope .antd-Rating-star.is-disabled {
37859
38638
  cursor: not-allowed;
37860
38639
  pointer-events: none;
37861
38640
  }
37862
38641
 
37863
- .amis-scope .antd-Rating-half:before {
38642
+ .amis-scope .antd-Rating-star-half {
37864
38643
  position: absolute;
37865
38644
  overflow: hidden;
37866
38645
  display: block;
@@ -37868,8 +38647,20 @@ readers do not read off random characters that represent icons */
37868
38647
  top: 0;
37869
38648
  left: 0;
37870
38649
  width: 50%;
37871
- content: attr(data-forhalf);
37872
- color: var(--Rating-onActive-color);
38650
+ }
38651
+
38652
+ .amis-scope .antd-Rating-text {
38653
+ font-size: var(--fontSizeSm);
38654
+ color: var(--text-color);
38655
+ font-weight: var(--fontWeightNormal);
38656
+ }
38657
+
38658
+ .amis-scope .antd-Rating-text--left {
38659
+ margin-right: var(--Rating-star-margin);
38660
+ }
38661
+
38662
+ .amis-scope .antd-Rating-text--right {
38663
+ margin-left: var(--Rating-star-margin);
37873
38664
  }
37874
38665
 
37875
38666
  .amis-scope .antd-RatingControl {
@@ -39254,6 +40045,131 @@ readers do not read off random characters that represent icons */
39254
40045
  margin-right: 0;
39255
40046
  }
39256
40047
 
40048
+ .amis-scope .antd-FormulaEditor {
40049
+ overflow: visible;
40050
+ max-width: 100%;
40051
+ box-sizing: content-box;
40052
+ }
40053
+
40054
+ .amis-scope .antd-FormulaEditor-header {
40055
+ width: 100%;
40056
+ height: 2.5rem;
40057
+ line-height: 2.5rem;
40058
+ padding-left: 0.625rem;
40059
+ box-sizing: border-box;
40060
+ background: #f3f8fb;
40061
+ }
40062
+
40063
+ .amis-scope .antd-FormulaEditor-editor {
40064
+ min-height: 14.875rem;
40065
+ max-height: 20rem;
40066
+ height: auto;
40067
+ border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
40068
+ }
40069
+
40070
+ .amis-scope .antd-FormulaEditor.is-error .antd-FormulaEditor-editor {
40071
+ border-color: var(--Form-input-onError-borderColor);
40072
+ }
40073
+
40074
+ .amis-scope .antd-FormulaEditor.is-focused .antd-FormulaEditor-editor {
40075
+ border-color: var(--Form-input-onFocused-borderColor);
40076
+ }
40077
+
40078
+ .amis-scope .antd-FormulaEditor-settings {
40079
+ display: flex;
40080
+ flex-direction: row;
40081
+ align-items: stretch;
40082
+ justify-content: space-between;
40083
+ max-height: 21.875rem;
40084
+ margin: 0 -5px;
40085
+ }
40086
+
40087
+ .amis-scope .antd-FormulaEditor-settings > div {
40088
+ flex: 1;
40089
+ padding: 0 5px;
40090
+ display: flex;
40091
+ flex-direction: column;
40092
+ }
40093
+
40094
+ .amis-scope .antd-FormulaEditor-settings > div > h3 {
40095
+ padding: 10px 0;
40096
+ margin: 0;
40097
+ flex-shrink: 0;
40098
+ }
40099
+
40100
+ .amis-scope .antd-FormulaEditor-settings > div > div {
40101
+ flex: 1;
40102
+ min-height: 0;
40103
+ }
40104
+
40105
+ .amis-scope .antd-FormulaEditor .cm-field,
40106
+ .amis-scope .antd-FormulaEditor .cm-func {
40107
+ border-radius: 2px;
40108
+ color: #fff;
40109
+ margin: 0 1px;
40110
+ padding: 0 2px;
40111
+ }
40112
+
40113
+ .amis-scope .antd-FormulaEditor .cm-field {
40114
+ background: #007bff;
40115
+ }
40116
+
40117
+ .amis-scope .antd-FormulaEditor .cm-func {
40118
+ background: #17a2b8;
40119
+ }
40120
+
40121
+ .amis-scope .antd-FormulaFuncList {
40122
+ display: flex;
40123
+ flex-direction: column;
40124
+ }
40125
+
40126
+ .amis-scope .antd-FormulaFuncList > .antd-FormulaFuncList-searchBox {
40127
+ display: flex;
40128
+ width: auto;
40129
+ flex-shrink: 0;
40130
+ margin-bottom: 0.5rem;
40131
+ }
40132
+
40133
+ .amis-scope .antd-FormulaFuncList-columns {
40134
+ flex: 1;
40135
+ min-height: 0;
40136
+ overflow: auto;
40137
+ display: flex;
40138
+ flex-direction: row;
40139
+ justify-content: flex-start;
40140
+ }
40141
+
40142
+ .amis-scope .antd-FormulaFuncList-columns > div:first-child {
40143
+ min-width: 200px;
40144
+ flex-shrink: 0;
40145
+ }
40146
+
40147
+ .amis-scope .antd-FormulaFuncList-funcItem {
40148
+ padding: 0 10px;
40149
+ cursor: pointer;
40150
+ }
40151
+
40152
+ .amis-scope .antd-FormulaFuncList-funcItem.is-active {
40153
+ color: var(--primary);
40154
+ }
40155
+
40156
+ .amis-scope .antd-FormulaFuncList-groupTitle {
40157
+ padding: 5px 0;
40158
+ background: transparent;
40159
+ }
40160
+
40161
+ .amis-scope .antd-FormulaFuncList-groupBody > div {
40162
+ padding: 5px 0;
40163
+ }
40164
+
40165
+ .amis-scope .antd-FormulaFuncList-funcDetail {
40166
+ padding: 10px 20px;
40167
+ }
40168
+
40169
+ .amis-scope .antd-FormulaPicker-icon {
40170
+ margin-left: auto;
40171
+ }
40172
+
39257
40173
  /*
39258
40174
  * utilities
39259
40175
  */