amis 1.3.2 → 1.3.3

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 (62) hide show
  1. package/lib/compat.js +3 -1
  2. package/lib/compat.js.map +2 -2
  3. package/lib/components/Overlay.js +6 -3
  4. package/lib/components/Overlay.js.map +2 -2
  5. package/lib/components/Transfer.js +3 -2
  6. package/lib/components/Transfer.js.map +2 -2
  7. package/lib/index.js +1 -1
  8. package/lib/renderers/Carousel.js +5 -2
  9. package/lib/renderers/Carousel.js.map +2 -2
  10. package/lib/renderers/Form/Transfer.d.ts +4 -0
  11. package/lib/renderers/Form/Transfer.js +2 -2
  12. package/lib/renderers/Form/Transfer.js.map +2 -2
  13. package/lib/renderers/Image.d.ts +12 -0
  14. package/lib/renderers/Image.js +9 -4
  15. package/lib/renderers/Image.js.map +2 -2
  16. package/lib/themes/ang-ie11.css +19 -16
  17. package/lib/themes/ang.css +19 -16
  18. package/lib/themes/ang.css.map +1 -1
  19. package/lib/themes/antd-ie11.css +19 -16
  20. package/lib/themes/antd.css +19 -16
  21. package/lib/themes/antd.css.map +1 -1
  22. package/lib/themes/cxd-ie11.css +19 -16
  23. package/lib/themes/cxd.css +19 -16
  24. package/lib/themes/cxd.css.map +1 -1
  25. package/lib/themes/dark-ie11.css +19 -16
  26. package/lib/themes/dark.css +19 -16
  27. package/lib/themes/dark.css.map +1 -1
  28. package/lib/themes/default.css +19 -16
  29. package/lib/themes/default.css.map +1 -1
  30. package/package.json +1 -1
  31. package/schema.json +31 -14
  32. package/scss/components/_carousel.scss +23 -21
  33. package/scss/components/_images.scss +0 -1
  34. package/sdk/ang-ie11.css +20 -17
  35. package/sdk/ang.css +20 -17
  36. package/sdk/antd-ie11.css +20 -17
  37. package/sdk/antd.css +20 -17
  38. package/sdk/charts.js +13 -13
  39. package/sdk/color-picker.js +65 -65
  40. package/sdk/cropperjs.js +2 -2
  41. package/sdk/cxd-ie11.css +20 -17
  42. package/sdk/cxd.css +20 -17
  43. package/sdk/dark-ie11.css +20 -17
  44. package/sdk/dark.css +20 -17
  45. package/sdk/exceljs.js +1 -1
  46. package/sdk/markdown.js +69 -69
  47. package/sdk/papaparse.js +1 -1
  48. package/sdk/renderers/Form/CityDB.js +1 -1
  49. package/sdk/rest.js +25 -25
  50. package/sdk/rich-text.js +63 -63
  51. package/sdk/sdk-ie11.css +20 -17
  52. package/sdk/sdk.css +20 -17
  53. package/sdk/sdk.js +1115 -1113
  54. package/sdk/thirds/hls.js/hls.js +1 -1
  55. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  56. package/sdk/tinymce.js +57 -57
  57. package/src/compat.ts +5 -1
  58. package/src/components/Overlay.tsx +9 -6
  59. package/src/components/Transfer.tsx +3 -1
  60. package/src/renderers/Carousel.tsx +13 -1
  61. package/src/renderers/Form/Transfer.tsx +7 -0
  62. package/src/renderers/Image.tsx +38 -1
package/sdk/sdk-ie11.css CHANGED
@@ -28412,28 +28412,20 @@ readers do not read off random characters that represent icons */
28412
28412
  opacity: 1;
28413
28413
  }
28414
28414
 
28415
- .amis-scope .cxd-Carousel-arrowsControl {
28416
- position: absolute;
28417
- width: 100%;
28418
- height: 100%;
28419
- top: 0;
28420
- left: 0;
28421
- z-index: 100;
28422
- text-align: center;
28423
- }
28424
-
28425
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-leftArrow {
28415
+ .amis-scope .cxd-Carousel .cxd-Carousel-leftArrow {
28426
28416
  width: 10%;
28427
28417
  min-width: 1.25rem;
28428
28418
  height: 100%;
28429
28419
  cursor: pointer;
28420
+ top: 0;
28421
+ bottom: 0;
28430
28422
  position: absolute;
28431
28423
  transition-duration: 0.2s;
28432
28424
  display: none;
28433
28425
  left: 0;
28434
28426
  }
28435
28427
 
28436
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-leftArrow svg {
28428
+ .amis-scope .cxd-Carousel .cxd-Carousel-leftArrow svg {
28437
28429
  position: absolute;
28438
28430
  top: 50%;
28439
28431
  left: 50%;
@@ -28443,18 +28435,20 @@ readers do not read off random characters that represent icons */
28443
28435
  height: 1.25rem;
28444
28436
  }
28445
28437
 
28446
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-rightArrow {
28438
+ .amis-scope .cxd-Carousel .cxd-Carousel-rightArrow {
28447
28439
  width: 10%;
28448
28440
  min-width: 1.25rem;
28449
28441
  height: 100%;
28450
28442
  cursor: pointer;
28443
+ top: 0;
28444
+ bottom: 0;
28451
28445
  position: absolute;
28452
28446
  transition-duration: 0.2s;
28453
28447
  display: none;
28454
28448
  right: 0;
28455
28449
  }
28456
28450
 
28457
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-rightArrow svg {
28451
+ .amis-scope .cxd-Carousel .cxd-Carousel-rightArrow svg {
28458
28452
  position: absolute;
28459
28453
  top: 50%;
28460
28454
  left: 50%;
@@ -28464,14 +28458,24 @@ readers do not read off random characters that represent icons */
28464
28458
  height: 1.25rem;
28465
28459
  }
28466
28460
 
28467
- .amis-scope .cxd-Carousel-arrowsControl:hover .cxd-Carousel-leftArrow {
28461
+ .amis-scope .cxd-Carousel:hover .cxd-Carousel-leftArrow {
28468
28462
  display: block;
28469
28463
  }
28470
28464
 
28471
- .amis-scope .cxd-Carousel-arrowsControl:hover .cxd-Carousel-rightArrow {
28465
+ .amis-scope .cxd-Carousel:hover .cxd-Carousel-rightArrow {
28472
28466
  display: block;
28473
28467
  }
28474
28468
 
28469
+ .amis-scope .cxd-Carousel-arrowsControl {
28470
+ position: absolute;
28471
+ width: 100%;
28472
+ height: 100%;
28473
+ top: 0;
28474
+ left: 0;
28475
+ z-index: 100;
28476
+ text-align: center;
28477
+ }
28478
+
28475
28479
  @keyframes disappear {
28476
28480
  to {
28477
28481
  opacity: 0;
@@ -28722,7 +28726,6 @@ readers do not read off random characters that represent icons */
28722
28726
  .amis-scope .cxd-Image-thumb {
28723
28727
  width: 6.875rem;
28724
28728
  height: 6.875rem;
28725
- background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwMCIgaGVpZ2h0PSI0MDAiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgICAgICAgIDxyZWN0IGZpbGw9ImJsYWNrIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIG9wYWNpdHk9IjAuMSIgLz4KICAgICAgICAgICAgPHJlY3QgZmlsbD0id2hpdGUiIHg9IjEwIiB5PSIwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIC8+CiAgICAgICAgICAgIDxyZWN0IGZpbGw9ImJsYWNrIiB4PSIxMCIgeT0iMTAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgb3BhY2l0eT0iMC4xIiAvPgogICAgICAgICAgICA8cmVjdCBmaWxsPSJ3aGl0ZSIgeD0iMCIgeT0iMTAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgLz4KICAgICAgICA8L3BhdHRlcm4+CiAgICA8L2RlZnM+CiAgICA8cmVjdCBmaWxsPSJ1cmwoI2dyaWQpIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiAvPgo8L3N2Zz4=");
28726
28729
  position: relative;
28727
28730
  overflow: hidden;
28728
28731
  }
package/sdk/sdk.css CHANGED
@@ -29932,28 +29932,20 @@ readers do not read off random characters that represent icons */
29932
29932
  opacity: 1;
29933
29933
  }
29934
29934
 
29935
- .amis-scope .cxd-Carousel-arrowsControl {
29936
- position: absolute;
29937
- width: 100%;
29938
- height: 100%;
29939
- top: 0;
29940
- left: 0;
29941
- z-index: 100;
29942
- text-align: center;
29943
- }
29944
-
29945
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-leftArrow {
29935
+ .amis-scope .cxd-Carousel .cxd-Carousel-leftArrow {
29946
29936
  width: 10%;
29947
29937
  min-width: var(--Carousel-arrowControl-width);
29948
29938
  height: 100%;
29949
29939
  cursor: pointer;
29940
+ top: 0;
29941
+ bottom: 0;
29950
29942
  position: absolute;
29951
29943
  transition-duration: var(--Carousel-transitionDuration);
29952
29944
  display: none;
29953
29945
  left: 0;
29954
29946
  }
29955
29947
 
29956
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-leftArrow svg {
29948
+ .amis-scope .cxd-Carousel .cxd-Carousel-leftArrow svg {
29957
29949
  position: absolute;
29958
29950
  top: 50%;
29959
29951
  left: 50%;
@@ -29963,18 +29955,20 @@ readers do not read off random characters that represent icons */
29963
29955
  height: var(--Carousel-svg-height);
29964
29956
  }
29965
29957
 
29966
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-rightArrow {
29958
+ .amis-scope .cxd-Carousel .cxd-Carousel-rightArrow {
29967
29959
  width: 10%;
29968
29960
  min-width: var(--Carousel-arrowControl-width);
29969
29961
  height: 100%;
29970
29962
  cursor: pointer;
29963
+ top: 0;
29964
+ bottom: 0;
29971
29965
  position: absolute;
29972
29966
  transition-duration: var(--Carousel-transitionDuration);
29973
29967
  display: none;
29974
29968
  right: 0;
29975
29969
  }
29976
29970
 
29977
- .amis-scope .cxd-Carousel-arrowsControl .cxd-Carousel-rightArrow svg {
29971
+ .amis-scope .cxd-Carousel .cxd-Carousel-rightArrow svg {
29978
29972
  position: absolute;
29979
29973
  top: 50%;
29980
29974
  left: 50%;
@@ -29984,14 +29978,24 @@ readers do not read off random characters that represent icons */
29984
29978
  height: var(--Carousel-svg-height);
29985
29979
  }
29986
29980
 
29987
- .amis-scope .cxd-Carousel-arrowsControl:hover .cxd-Carousel-leftArrow {
29981
+ .amis-scope .cxd-Carousel:hover .cxd-Carousel-leftArrow {
29988
29982
  display: block;
29989
29983
  }
29990
29984
 
29991
- .amis-scope .cxd-Carousel-arrowsControl:hover .cxd-Carousel-rightArrow {
29985
+ .amis-scope .cxd-Carousel:hover .cxd-Carousel-rightArrow {
29992
29986
  display: block;
29993
29987
  }
29994
29988
 
29989
+ .amis-scope .cxd-Carousel-arrowsControl {
29990
+ position: absolute;
29991
+ width: 100%;
29992
+ height: 100%;
29993
+ top: 0;
29994
+ left: 0;
29995
+ z-index: 100;
29996
+ text-align: center;
29997
+ }
29998
+
29995
29999
  @keyframes disappear {
29996
30000
  to {
29997
30001
  opacity: 0;
@@ -30242,7 +30246,6 @@ readers do not read off random characters that represent icons */
30242
30246
  .amis-scope .cxd-Image-thumb {
30243
30247
  width: 6.875rem;
30244
30248
  height: 6.875rem;
30245
- background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwMCIgaGVpZ2h0PSI0MDAiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgICAgICAgIDxyZWN0IGZpbGw9ImJsYWNrIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIG9wYWNpdHk9IjAuMSIgLz4KICAgICAgICAgICAgPHJlY3QgZmlsbD0id2hpdGUiIHg9IjEwIiB5PSIwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIC8+CiAgICAgICAgICAgIDxyZWN0IGZpbGw9ImJsYWNrIiB4PSIxMCIgeT0iMTAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgb3BhY2l0eT0iMC4xIiAvPgogICAgICAgICAgICA8cmVjdCBmaWxsPSJ3aGl0ZSIgeD0iMCIgeT0iMTAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgLz4KICAgICAgICA8L3BhdHRlcm4+CiAgICA8L2RlZnM+CiAgICA8cmVjdCBmaWxsPSJ1cmwoI2dyaWQpIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiAvPgo8L3N2Zz4=");
30246
30249
  position: relative;
30247
30250
  overflow: hidden;
30248
30251
  }