amis 1.5.6-beta.4 → 1.5.6-beta.5

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 (159) hide show
  1. package/lib/Schema.d.ts +1 -1
  2. package/lib/Schema.js.map +1 -1
  3. package/lib/components/AsideNav.d.ts +1 -1
  4. package/lib/components/AsideNav.js.map +1 -1
  5. package/lib/components/CodeMirror.d.ts +26 -0
  6. package/lib/components/CodeMirror.js +104 -0
  7. package/lib/components/CodeMirror.js.map +13 -0
  8. package/lib/components/Collapse.d.ts +22 -21
  9. package/lib/components/Collapse.js.map +2 -2
  10. package/lib/components/ColorPicker.d.ts +85 -84
  11. package/lib/components/ColorPicker.js +15 -3
  12. package/lib/components/ColorPicker.js.map +2 -2
  13. package/lib/components/DatePicker.js +7 -3
  14. package/lib/components/DatePicker.js.map +2 -2
  15. package/lib/components/DateRangePicker.d.ts +85 -84
  16. package/lib/components/DateRangePicker.js +5 -3
  17. package/lib/components/DateRangePicker.js.map +2 -2
  18. package/lib/components/MonthRangePicker.d.ts +85 -84
  19. package/lib/components/MonthRangePicker.js +5 -3
  20. package/lib/components/MonthRangePicker.js.map +2 -2
  21. package/lib/components/PickerContainer.d.ts +2 -1
  22. package/lib/components/PickerContainer.js +3 -3
  23. package/lib/components/PickerContainer.js.map +2 -2
  24. package/lib/components/PopUp.d.ts +93 -0
  25. package/lib/components/PopUp.js +58 -0
  26. package/lib/components/PopUp.js.map +13 -0
  27. package/lib/components/Steps.d.ts +1 -0
  28. package/lib/components/Steps.js +5 -3
  29. package/lib/components/Steps.js.map +2 -2
  30. package/lib/components/TabsTransferPicker.js +1 -1
  31. package/lib/components/TabsTransferPicker.js.map +2 -2
  32. package/lib/components/TransferPicker.d.ts +0 -1
  33. package/lib/components/TransferPicker.js +2 -15
  34. package/lib/components/TransferPicker.js.map +2 -2
  35. package/lib/components/formula/Editor.d.ts +560 -0
  36. package/lib/components/formula/Editor.js +186 -0
  37. package/lib/components/formula/Editor.js.map +13 -0
  38. package/lib/components/formula/FuncList.d.ts +67 -0
  39. package/lib/components/formula/FuncList.js +35 -0
  40. package/lib/components/formula/FuncList.js.map +13 -0
  41. package/lib/components/formula/Picker.d.ts +493 -0
  42. package/lib/components/formula/Picker.js +48 -0
  43. package/lib/components/formula/Picker.js.map +13 -0
  44. package/lib/components/formula/VariableList.d.ts +9 -0
  45. package/lib/components/formula/VariableList.js +15 -0
  46. package/lib/components/formula/VariableList.js.map +13 -0
  47. package/lib/components/formula/plugin.d.ts +18 -0
  48. package/lib/components/formula/plugin.js +136 -0
  49. package/lib/components/formula/plugin.js.map +13 -0
  50. package/lib/helper.css +57 -57
  51. package/lib/helper.css.map +1 -1
  52. package/lib/index.d.ts +1 -0
  53. package/lib/index.js +2 -1
  54. package/lib/index.js.map +2 -2
  55. package/lib/renderers/Form/InputColor.d.ts +84 -84
  56. package/lib/renderers/Form/InputColor.js +2 -2
  57. package/lib/renderers/Form/InputColor.js.map +2 -2
  58. package/lib/renderers/Form/InputDate.js +2 -2
  59. package/lib/renderers/Form/InputDate.js.map +2 -2
  60. package/lib/renderers/Form/InputDateRange.js +2 -2
  61. package/lib/renderers/Form/InputDateRange.js.map +2 -2
  62. package/lib/renderers/Form/InputFormula.d.ts +35 -0
  63. package/lib/renderers/Form/InputFormula.js +25 -0
  64. package/lib/renderers/Form/InputFormula.js.map +13 -0
  65. package/lib/renderers/Form/InputMonthRange.js +2 -2
  66. package/lib/renderers/Form/InputMonthRange.js.map +2 -2
  67. package/lib/renderers/Form/InputQuarterRange.js +2 -2
  68. package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
  69. package/lib/renderers/Form/InputYearRange.js +2 -2
  70. package/lib/renderers/Form/InputYearRange.js.map +2 -2
  71. package/lib/renderers/Form/TreeSelect.d.ts +1 -0
  72. package/lib/renderers/Form/TreeSelect.js +11 -8
  73. package/lib/renderers/Form/TreeSelect.js.map +2 -2
  74. package/lib/renderers/Steps.js +2 -2
  75. package/lib/renderers/Steps.js.map +2 -2
  76. package/lib/themes/ang-ie11.css +261 -0
  77. package/lib/themes/ang.css +261 -0
  78. package/lib/themes/ang.css.map +1 -1
  79. package/lib/themes/antd-ie11.css +261 -0
  80. package/lib/themes/antd.css +261 -0
  81. package/lib/themes/antd.css.map +1 -1
  82. package/lib/themes/cxd-ie11.css +261 -0
  83. package/lib/themes/cxd.css +261 -0
  84. package/lib/themes/cxd.css.map +1 -1
  85. package/lib/themes/dark-ie11.css +261 -0
  86. package/lib/themes/dark.css +261 -0
  87. package/lib/themes/dark.css.map +1 -1
  88. package/lib/themes/default.css +261 -0
  89. package/lib/themes/default.css.map +1 -1
  90. package/lib/utils/api.js +2 -2
  91. package/lib/utils/api.js.map +2 -2
  92. package/package.json +4 -2
  93. package/scss/_variables.scss +1 -1
  94. package/scss/components/_formula.scss +122 -0
  95. package/scss/components/_popup.scss +123 -0
  96. package/scss/components/_steps.scss +60 -0
  97. package/scss/components/form/_color.scss +4 -0
  98. package/scss/components/form/_date-range.scss +4 -0
  99. package/scss/components/form/_date.scss +3 -0
  100. package/scss/components/form/_tree-select.scss +4 -0
  101. package/scss/helper/background/_background-color.scss +1 -1
  102. package/scss/helper/border/_border-color.scss +1 -1
  103. package/scss/helper/typography/_text-color.scss +1 -1
  104. package/scss/themes/_common.scss +2 -0
  105. package/sdk/ang-ie11.css +875 -0
  106. package/sdk/ang.css +875 -0
  107. package/sdk/antd-ie11.css +875 -0
  108. package/sdk/antd.css +875 -0
  109. package/sdk/charts.js +15 -15
  110. package/sdk/codemirror.js +14 -0
  111. package/sdk/color-picker.js +65 -65
  112. package/sdk/cropperjs.js +2 -2
  113. package/sdk/cxd-ie11.css +875 -0
  114. package/sdk/cxd.css +875 -0
  115. package/sdk/dark-ie11.css +875 -0
  116. package/sdk/dark.css +875 -0
  117. package/sdk/exceljs.js +1 -1
  118. package/sdk/helper.css +57 -57
  119. package/sdk/helper.css.map +1 -1
  120. package/sdk/markdown.js +69 -69
  121. package/sdk/papaparse.js +1 -1
  122. package/sdk/renderers/Form/CityDB.js +1 -1
  123. package/sdk/rest.js +18 -18
  124. package/sdk/rich-text.js +62 -62
  125. package/sdk/sdk-ie11.css +875 -0
  126. package/sdk/sdk.css +875 -0
  127. package/sdk/sdk.js +1219 -1201
  128. package/sdk/thirds/hls.js/hls.js +1 -1
  129. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  130. package/sdk/tinymce.js +57 -57
  131. package/src/Schema.ts +1 -0
  132. package/src/components/AsideNav.tsx +1 -1
  133. package/src/components/CodeMirror.tsx +99 -0
  134. package/src/components/Collapse.tsx +2 -1
  135. package/src/components/ColorPicker.tsx +45 -3
  136. package/src/components/DatePicker.tsx +33 -3
  137. package/src/components/DateRangePicker.tsx +17 -3
  138. package/src/components/MonthRangePicker.tsx +18 -4
  139. package/src/components/PickerContainer.tsx +10 -6
  140. package/src/components/PopUp.tsx +133 -0
  141. package/src/components/Steps.tsx +8 -3
  142. package/src/components/TabsTransferPicker.tsx +1 -1
  143. package/src/components/TransferPicker.tsx +1 -11
  144. package/src/components/formula/Editor.tsx +261 -0
  145. package/src/components/formula/FuncList.tsx +82 -0
  146. package/src/components/formula/Picker.tsx +86 -0
  147. package/src/components/formula/VariableList.tsx +49 -0
  148. package/src/components/formula/plugin.ts +177 -0
  149. package/src/index.tsx +1 -0
  150. package/src/renderers/Form/InputColor.tsx +2 -3
  151. package/src/renderers/Form/InputDate.tsx +2 -0
  152. package/src/renderers/Form/InputDateRange.tsx +2 -0
  153. package/src/renderers/Form/InputFormula.tsx +75 -0
  154. package/src/renderers/Form/InputMonthRange.tsx +2 -0
  155. package/src/renderers/Form/InputQuarterRange.tsx +2 -0
  156. package/src/renderers/Form/InputYearRange.tsx +2 -0
  157. package/src/renderers/Form/TreeSelect.tsx +82 -63
  158. package/src/renderers/Steps.tsx +4 -2
  159. package/src/utils/api.ts +5 -2
package/sdk/cxd.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
@@ -24485,6 +25054,135 @@ readers do not read off random characters that represent icons */
24485
25054
  margin-top: -0.25rem;
24486
25055
  }
24487
25056
 
25057
+ @keyframes PopUpIn {
25058
+ from {
25059
+ height: 0;
25060
+ }
25061
+ }
25062
+
25063
+ @keyframes PopUpOut {
25064
+ to {
25065
+ height: 0;
25066
+ }
25067
+ }
25068
+
25069
+ @keyframes PopUpOpacityIn {
25070
+ from {
25071
+ opacity: 0;
25072
+ }
25073
+ }
25074
+
25075
+ @keyframes PopUpOpacityOut {
25076
+ to {
25077
+ opacity: 0;
25078
+ }
25079
+ }
25080
+
25081
+ .amis-scope .cxd-PopUp {
25082
+ width: 100%;
25083
+ position: fixed;
25084
+ background: var(--PopOver-bg);
25085
+ left: 0;
25086
+ bottom: 0;
25087
+ z-index: 1300;
25088
+ padding: 0;
25089
+ margin: 0;
25090
+ font-weight: var(--fontWeightNormal);
25091
+ letter-spacing: normal;
25092
+ line-height: var(--lineHeightBase);
25093
+ text-align: left;
25094
+ text-align: start;
25095
+ text-decoration: none;
25096
+ text-shadow: none;
25097
+ text-transform: none;
25098
+ white-space: normal;
25099
+ word-break: normal;
25100
+ word-spacing: normal;
25101
+ word-wrap: normal;
25102
+ font-size: var(--fontSizeBase);
25103
+ box-shadow: var(--boxShadow);
25104
+ border: var(--borderWidth) solid var(--borderColor);
25105
+ border-radius: var(--borderRadius);
25106
+ overflow: hidden;
25107
+ }
25108
+
25109
+ .amis-scope .cxd-PopUp.in,
25110
+ .amis-scope .cxd-PopUp.out {
25111
+ animation-duration: var(--animation-duration);
25112
+ animation-fill-mode: both;
25113
+ }
25114
+
25115
+ .amis-scope .cxd-PopUp.in {
25116
+ animation-name: PopUpIn;
25117
+ }
25118
+
25119
+ .amis-scope .cxd-PopUp.in .cxd-PopUp-overlay {
25120
+ animation-name: PopUpOpacityIn;
25121
+ }
25122
+
25123
+ .amis-scope .cxd-PopUp.out {
25124
+ animation-name: PopUpOut;
25125
+ }
25126
+
25127
+ .amis-scope .cxd-PopUp.out .cxd-PopUp-overlay {
25128
+ animation-name: PopUpOpacityOut;
25129
+ }
25130
+
25131
+ .amis-scope .cxd-PopUp-inner {
25132
+ position: relative;
25133
+ overflow: hidden;
25134
+ height: 100%;
25135
+ box-sizing: border-box;
25136
+ background: #fff;
25137
+ padding-top: 2.25rem;
25138
+ }
25139
+
25140
+ .amis-scope .cxd-PopUp-closeWrap {
25141
+ width: 100%;
25142
+ position: absolute !important;
25143
+ left: 0;
25144
+ top: 0;
25145
+ }
25146
+
25147
+ .amis-scope .cxd-PopUp-close {
25148
+ width: 2.125rem !important;
25149
+ height: 2.125rem !important;
25150
+ padding: 0.75rem;
25151
+ cursor: pointer;
25152
+ }
25153
+
25154
+ .amis-scope .cxd-PopUp-content {
25155
+ overflow-y: auto;
25156
+ height: 100%;
25157
+ display: flex;
25158
+ }
25159
+
25160
+ .amis-scope .cxd-PopUp > * {
25161
+ position: relative;
25162
+ z-index: 2;
25163
+ }
25164
+
25165
+ .amis-scope .cxd-PopUp-overlay {
25166
+ position: fixed !important;
25167
+ top: 0;
25168
+ left: 0;
25169
+ right: 0;
25170
+ z-index: 1;
25171
+ bottom: 0;
25172
+ background: rgba(0, 0, 0, 0.3);
25173
+ opacity: 1;
25174
+ animation-duration: var(--animation-duration);
25175
+ animation-fill-mode: both;
25176
+ }
25177
+
25178
+ .amis-scope .cxd-PopUp--leftBottomLeftTop {
25179
+ margin-top: 0.25rem;
25180
+ }
25181
+
25182
+ .amis-scope .cxd-PopUp--leftTopLeftBottom {
25183
+ margin-top: -0.25rem;
25184
+ }
25185
+
24488
25186
  .amis-scope .cxd-PickerColumns {
24489
25187
  position: relative;
24490
25188
  background-color: var(--PickerColumns-bg);
@@ -32565,6 +33263,42 @@ readers do not read off random characters that represent icons */
32565
33263
  border: 1px solid var(--Steps-status-success);
32566
33264
  }
32567
33265
 
33266
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem-containerWrapper .cxd-StepsItem-body .cxd-StepsItem-title::after {
33267
+ display: none !important;
33268
+ }
33269
+
33270
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem-containerWrapper .cxd-StepsItem-body .cxd-StepsItem-title .cxd-StepsItem-subTitle {
33271
+ padding-left: 0.3125rem;
33272
+ }
33273
+
33274
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem-containerIcon {
33275
+ position: relative;
33276
+ display: block;
33277
+ }
33278
+
33279
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem-containerIcon:after {
33280
+ content: "";
33281
+ position: absolute;
33282
+ right: 0;
33283
+ top: 0.9375rem;
33284
+ height: 1px;
33285
+ left: 2.5rem;
33286
+ width: 99999px;
33287
+ background-color: var(--Steps-line-bg);
33288
+ }
33289
+
33290
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem-containerIcon.is-success:after {
33291
+ background-color: var(--Steps-line-success-bg);
33292
+ }
33293
+
33294
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem:last-child {
33295
+ flex: 1;
33296
+ }
33297
+
33298
+ .amis-scope .cxd-Steps-mobile.cxd-Steps--horizontal .cxd-StepsItem:last-child .cxd-StepsItem-containerIcon:after {
33299
+ display: none !important;
33300
+ }
33301
+
32568
33302
  .amis-scope .cxd-Portlet {
32569
33303
  border: var(--Portlet-borderWidth) var(--Portlet-borderStyle) var(--Portlet-borderColor);
32570
33304
  border-radius: var(--Portlet-borderRadius);
@@ -35227,6 +35961,10 @@ readers do not read off random characters that represent icons */
35227
35961
  border-radius: var(--borderRadius);
35228
35962
  }
35229
35963
 
35964
+ .amis-scope .cxd-ColorPicker-popup {
35965
+ height: 80vh;
35966
+ }
35967
+
35230
35968
  .amis-scope .cxd-ColorPicker:not(.is-disabled) {
35231
35969
  cursor: pointer;
35232
35970
  }
@@ -35487,6 +36225,10 @@ readers do not read off random characters that represent icons */
35487
36225
  margin: -0.125rem 0 0;
35488
36226
  }
35489
36227
 
36228
+ .amis-scope .cxd-DatePicker-popup {
36229
+ height: 80vh;
36230
+ }
36231
+
35490
36232
  .amis-scope .rdt {
35491
36233
  user-select: none;
35492
36234
  font-size: var(--Calendar-fontSize);
@@ -36020,6 +36762,10 @@ readers do not read off random characters that represent icons */
36020
36762
  margin: -0.125rem 0 0;
36021
36763
  }
36022
36764
 
36765
+ .amis-scope .cxd-DateRangePicker-popup {
36766
+ height: 90vh;
36767
+ }
36768
+
36023
36769
  @media (min-width: 576px) {
36024
36770
  .amis-scope .cxd-DateRangePicker-wrap {
36025
36771
  white-space: nowrap;
@@ -37348,6 +38094,10 @@ readers do not read off random characters that represent icons */
37348
38094
  background: var(--Form-input-onFocused-bg);
37349
38095
  }
37350
38096
 
38097
+ .amis-scope .cxd-TreeSelect-popup {
38098
+ height: 80vh;
38099
+ }
38100
+
37351
38101
  .amis-scope .cxd-TreeSelect-popover {
37352
38102
  background: transparent;
37353
38103
  border: none;
@@ -39578,6 +40328,131 @@ readers do not read off random characters that represent icons */
39578
40328
  margin-right: 0;
39579
40329
  }
39580
40330
 
40331
+ .amis-scope .cxd-FormulaEditor {
40332
+ overflow: visible;
40333
+ max-width: 100%;
40334
+ box-sizing: content-box;
40335
+ }
40336
+
40337
+ .amis-scope .cxd-FormulaEditor-header {
40338
+ width: 100%;
40339
+ height: 2.5rem;
40340
+ line-height: 2.5rem;
40341
+ padding-left: 0.625rem;
40342
+ box-sizing: border-box;
40343
+ background: #f3f8fb;
40344
+ }
40345
+
40346
+ .amis-scope .cxd-FormulaEditor-editor {
40347
+ min-height: 14.875rem;
40348
+ max-height: 20rem;
40349
+ height: auto;
40350
+ border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
40351
+ }
40352
+
40353
+ .amis-scope .cxd-FormulaEditor.is-error .cxd-FormulaEditor-editor {
40354
+ border-color: var(--Form-input-onError-borderColor);
40355
+ }
40356
+
40357
+ .amis-scope .cxd-FormulaEditor.is-focused .cxd-FormulaEditor-editor {
40358
+ border-color: var(--Form-input-onFocused-borderColor);
40359
+ }
40360
+
40361
+ .amis-scope .cxd-FormulaEditor-settings {
40362
+ display: flex;
40363
+ flex-direction: row;
40364
+ align-items: stretch;
40365
+ justify-content: space-between;
40366
+ max-height: 21.875rem;
40367
+ margin: 0 -5px;
40368
+ }
40369
+
40370
+ .amis-scope .cxd-FormulaEditor-settings > div {
40371
+ flex: 1;
40372
+ padding: 0 5px;
40373
+ display: flex;
40374
+ flex-direction: column;
40375
+ }
40376
+
40377
+ .amis-scope .cxd-FormulaEditor-settings > div > h3 {
40378
+ padding: 10px 0;
40379
+ margin: 0;
40380
+ flex-shrink: 0;
40381
+ }
40382
+
40383
+ .amis-scope .cxd-FormulaEditor-settings > div > div {
40384
+ flex: 1;
40385
+ min-height: 0;
40386
+ }
40387
+
40388
+ .amis-scope .cxd-FormulaEditor .cm-field,
40389
+ .amis-scope .cxd-FormulaEditor .cm-func {
40390
+ border-radius: 2px;
40391
+ color: #fff;
40392
+ margin: 0 1px;
40393
+ padding: 0 2px;
40394
+ }
40395
+
40396
+ .amis-scope .cxd-FormulaEditor .cm-field {
40397
+ background: #007bff;
40398
+ }
40399
+
40400
+ .amis-scope .cxd-FormulaEditor .cm-func {
40401
+ background: #17a2b8;
40402
+ }
40403
+
40404
+ .amis-scope .cxd-FormulaFuncList {
40405
+ display: flex;
40406
+ flex-direction: column;
40407
+ }
40408
+
40409
+ .amis-scope .cxd-FormulaFuncList > .cxd-FormulaFuncList-searchBox {
40410
+ display: flex;
40411
+ width: auto;
40412
+ flex-shrink: 0;
40413
+ margin-bottom: 0.5rem;
40414
+ }
40415
+
40416
+ .amis-scope .cxd-FormulaFuncList-columns {
40417
+ flex: 1;
40418
+ min-height: 0;
40419
+ overflow: auto;
40420
+ display: flex;
40421
+ flex-direction: row;
40422
+ justify-content: flex-start;
40423
+ }
40424
+
40425
+ .amis-scope .cxd-FormulaFuncList-columns > div:first-child {
40426
+ min-width: 200px;
40427
+ flex-shrink: 0;
40428
+ }
40429
+
40430
+ .amis-scope .cxd-FormulaFuncList-funcItem {
40431
+ padding: 0 10px;
40432
+ cursor: pointer;
40433
+ }
40434
+
40435
+ .amis-scope .cxd-FormulaFuncList-funcItem.is-active {
40436
+ color: var(--primary);
40437
+ }
40438
+
40439
+ .amis-scope .cxd-FormulaFuncList-groupTitle {
40440
+ padding: 5px 0;
40441
+ background: transparent;
40442
+ }
40443
+
40444
+ .amis-scope .cxd-FormulaFuncList-groupBody > div {
40445
+ padding: 5px 0;
40446
+ }
40447
+
40448
+ .amis-scope .cxd-FormulaFuncList-funcDetail {
40449
+ padding: 10px 20px;
40450
+ }
40451
+
40452
+ .amis-scope .cxd-FormulaPicker-icon {
40453
+ margin-left: auto;
40454
+ }
40455
+
39581
40456
  /*
39582
40457
  * utilities
39583
40458
  */