amis 1.9.0-beta.13 → 1.9.0-beta.14

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 (102) hide show
  1. package/lib/actions/AjaxAction.d.ts +8 -5
  2. package/lib/actions/AjaxAction.js +27 -21
  3. package/lib/actions/AjaxAction.js.map +2 -2
  4. package/lib/actions/BroadcastAction.js +1 -1
  5. package/lib/actions/BroadcastAction.js.map +2 -2
  6. package/lib/actions/CmptAction.js +7 -9
  7. package/lib/actions/CmptAction.js.map +2 -2
  8. package/lib/actions/CopyAction.d.ts +5 -2
  9. package/lib/actions/CopyAction.js +8 -6
  10. package/lib/actions/CopyAction.js.map +2 -2
  11. package/lib/actions/DialogAction.d.ts +9 -3
  12. package/lib/actions/DialogAction.js +6 -6
  13. package/lib/actions/DialogAction.js.map +2 -2
  14. package/lib/actions/EmailAction.d.ts +8 -5
  15. package/lib/actions/EmailAction.js +4 -5
  16. package/lib/actions/EmailAction.js.map +2 -2
  17. package/lib/actions/LinkAction.d.ts +17 -11
  18. package/lib/actions/LinkAction.js +6 -5
  19. package/lib/actions/LinkAction.js.map +2 -2
  20. package/lib/actions/LoopAction.d.ts +4 -1
  21. package/lib/actions/LoopAction.js +22 -20
  22. package/lib/actions/LoopAction.js.map +2 -2
  23. package/lib/actions/PageAction.d.ts +4 -1
  24. package/lib/actions/PageAction.js +3 -2
  25. package/lib/actions/PageAction.js.map +2 -2
  26. package/lib/actions/ToastAction.js +6 -6
  27. package/lib/actions/ToastAction.js.map +2 -2
  28. package/lib/index.js +1 -1
  29. package/lib/renderers/Action.js +0 -2
  30. package/lib/renderers/Action.js.map +2 -2
  31. package/lib/renderers/Form/Combo.js +22 -3
  32. package/lib/renderers/Form/Combo.js.map +2 -2
  33. package/lib/renderers/Form/InputTree.js +1 -1
  34. package/lib/renderers/Form/InputTree.js.map +2 -2
  35. package/lib/renderers/Wizard.js +3 -3
  36. package/lib/renderers/Wizard.js.map +2 -2
  37. package/lib/schemaExtend.js +11 -24
  38. package/lib/schemaExtend.js.map +2 -2
  39. package/lib/store/table.js +1 -1
  40. package/lib/store/table.js.map +2 -2
  41. package/lib/themes/ang-ie11.css +30 -34
  42. package/lib/themes/ang.css +31 -34
  43. package/lib/themes/ang.css.map +1 -1
  44. package/lib/themes/antd-ie11.css +30 -34
  45. package/lib/themes/antd.css +31 -34
  46. package/lib/themes/antd.css.map +1 -1
  47. package/lib/themes/cxd-ie11.css +30 -34
  48. package/lib/themes/cxd.css +31 -34
  49. package/lib/themes/cxd.css.map +1 -1
  50. package/lib/themes/dark-ie11.css +30 -34
  51. package/lib/themes/dark.css +31 -34
  52. package/lib/themes/dark.css.map +1 -1
  53. package/lib/themes/default-ie11.css +30 -34
  54. package/lib/themes/default.css +31 -34
  55. package/lib/themes/default.css.map +1 -1
  56. package/lib/utils/handleAction.js +1 -1
  57. package/lib/utils/handleAction.js.map +2 -2
  58. package/package.json +2 -2
  59. package/scss/_properties.scss +1 -0
  60. package/scss/components/_button.scss +37 -39
  61. package/sdk/ang-ie11.css +38 -39
  62. package/sdk/ang.css +39 -39
  63. package/sdk/antd-ie11.css +38 -39
  64. package/sdk/antd.css +39 -39
  65. package/sdk/barcode.js +51 -51
  66. package/sdk/charts.js +14 -14
  67. package/sdk/codemirror.js +7 -7
  68. package/sdk/color-picker.js +65 -65
  69. package/sdk/cropperjs.js +2 -2
  70. package/sdk/cxd-ie11.css +38 -39
  71. package/sdk/cxd.css +39 -39
  72. package/sdk/dark-ie11.css +38 -39
  73. package/sdk/dark.css +39 -39
  74. package/sdk/exceljs.js +1 -1
  75. package/sdk/markdown.js +69 -69
  76. package/sdk/papaparse.js +1 -1
  77. package/sdk/renderers/Form/CityDB.js +1 -1
  78. package/sdk/rest.js +16 -16
  79. package/sdk/rich-text.js +62 -62
  80. package/sdk/sdk-ie11.css +38 -39
  81. package/sdk/sdk.css +39 -39
  82. package/sdk/sdk.js +1248 -1248
  83. package/sdk/thirds/hls.js/hls.js +1 -1
  84. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  85. package/sdk/tinymce.js +57 -57
  86. package/src/actions/AjaxAction.ts +31 -22
  87. package/src/actions/BroadcastAction.ts +1 -1
  88. package/src/actions/CmptAction.ts +2 -3
  89. package/src/actions/CopyAction.ts +12 -6
  90. package/src/actions/DialogAction.ts +11 -5
  91. package/src/actions/EmailAction.ts +10 -10
  92. package/src/actions/LinkAction.ts +31 -14
  93. package/src/actions/LoopAction.ts +11 -6
  94. package/src/actions/PageAction.ts +5 -2
  95. package/src/actions/ToastAction.ts +9 -2
  96. package/src/renderers/Action.tsx +1 -1
  97. package/src/renderers/Form/Combo.tsx +19 -3
  98. package/src/renderers/Form/InputTree.tsx +1 -1
  99. package/src/renderers/Wizard.tsx +3 -3
  100. package/src/schemaExtend.ts +12 -23
  101. package/src/store/table.ts +1 -1
  102. package/src/utils/handleAction.ts +1 -1
package/sdk/sdk-ie11.css CHANGED
@@ -25914,7 +25914,6 @@ readers do not read off random characters that represent icons */
25914
25914
  box-shadow: none;
25915
25915
  cursor: not-allowed;
25916
25916
  color: #b8babf;
25917
- pointer-events: auto;
25918
25917
  border: 0.0625rem solid #f2f2f4;
25919
25918
  background: #f2f2f4;
25920
25919
  }
@@ -25930,9 +25929,45 @@ readers do not read off random characters that represent icons */
25930
25929
  cursor: pointer;
25931
25930
  }
25932
25931
 
25933
- .amis-scope .cxd-Button.cxd-Button--link.is-disabled {
25934
- background: transparent;
25932
+ .amis-scope .cxd-Button--link {
25933
+ width: auto;
25934
+ min-width: auto;
25935
+ font-weight: 400;
25936
+ color: #2468f2;
25937
+ text-decoration: none;
25935
25938
  border: none;
25939
+ height: auto;
25940
+ }
25941
+
25942
+ .amis-scope .cxd-Button--link:hover:focus {
25943
+ color: #209bfd;
25944
+ box-shadow: none;
25945
+ }
25946
+
25947
+ .amis-scope .cxd-Button--link:hover:active {
25948
+ color: #1c53c1;
25949
+ box-shadow: none;
25950
+ }
25951
+
25952
+ .amis-scope .cxd-Button--link:disabled,
25953
+ .amis-scope .cxd-Button--link.is-disabled {
25954
+ color: #b8babf;
25955
+ border: none;
25956
+ background: transparent;
25957
+ }
25958
+
25959
+ .amis-scope .cxd-Button--link:disabled:hover:active,
25960
+ .amis-scope .cxd-Button--link.is-disabled:hover:active {
25961
+ color: #b8babf;
25962
+ }
25963
+
25964
+ .amis-scope .cxd-Button--block {
25965
+ display: block;
25966
+ width: 100%;
25967
+ }
25968
+
25969
+ .amis-scope .cxd-Button--block + .cxd-Button--block {
25970
+ margin-top: 0.75rem;
25936
25971
  }
25937
25972
 
25938
25973
  .amis-scope .cxd-Button > .pull-left,
@@ -26394,42 +26429,6 @@ readers do not read off random characters that represent icons */
26394
26429
  animation: spin 1s infinite linear;
26395
26430
  }
26396
26431
 
26397
- .amis-scope .cxd-Button--link {
26398
- width: auto;
26399
- min-width: auto;
26400
- font-weight: 400;
26401
- color: #2468f2;
26402
- text-decoration: none;
26403
- border: none;
26404
- height: auto;
26405
- }
26406
-
26407
- .amis-scope .cxd-Button--link:hover:focus {
26408
- color: #209bfd;
26409
- box-shadow: none;
26410
- }
26411
-
26412
- .amis-scope .cxd-Button--link:hover:active {
26413
- color: #1c53c1;
26414
- box-shadow: none;
26415
- }
26416
-
26417
- .amis-scope .cxd-Button--link:disabled,
26418
- .amis-scope .cxd-Button--link.is-disabled {
26419
- color: #b8babf;
26420
- pointer-events: none;
26421
- background: #f2f2f4;
26422
- }
26423
-
26424
- .amis-scope .cxd-Button--block {
26425
- display: block;
26426
- width: 100%;
26427
- }
26428
-
26429
- .amis-scope .cxd-Button--block + .cxd-Button--block {
26430
- margin-top: 0.75rem;
26431
- }
26432
-
26433
26432
  .amis-scope input[type=submit].cxd-Button--block,
26434
26433
  .amis-scope input[type=reset].cxd-Button--block,
26435
26434
  .amis-scope input[type=button].cxd-Button--block {
package/sdk/sdk.css CHANGED
@@ -13387,6 +13387,7 @@ readers do not read off random characters that represent icons */
13387
13387
  --Button--light-onHover-color: var(--Button--light-color);
13388
13388
  --Button--link-color: var(--primary);
13389
13389
  --Button--link-onDisabled-color: #4b5563;
13390
+ --Button--link-onDisabled-backgroundColor: transparent;
13390
13391
  --Button--link-onHover-color: var(--primary-onHover);
13391
13392
  --Button--link-onActive-color: var(--primary-onActive);
13392
13393
  --Button--md-fontSize: var(--Button-fontSize);
@@ -27868,7 +27869,6 @@ readers do not read off random characters that represent icons */
27868
27869
  box-shadow: none;
27869
27870
  cursor: not-allowed;
27870
27871
  color: var(--text--muted-color);
27871
- pointer-events: auto;
27872
27872
  border: var(--Button-borderWidth) solid var(--Button-onDisabled-borderColor);
27873
27873
  background: var(--Button-onDisabled-bg);
27874
27874
  }
@@ -27884,9 +27884,45 @@ readers do not read off random characters that represent icons */
27884
27884
  cursor: pointer;
27885
27885
  }
27886
27886
 
27887
- .amis-scope .cxd-Button.cxd-Button--link.is-disabled {
27888
- background: transparent;
27887
+ .amis-scope .cxd-Button--link {
27888
+ width: auto;
27889
+ min-width: auto;
27890
+ font-weight: var(--fontWeightNormal);
27891
+ color: var(--Button--link-color);
27892
+ text-decoration: var(--link-decoration);
27889
27893
  border: none;
27894
+ height: auto;
27895
+ }
27896
+
27897
+ .amis-scope .cxd-Button--link:hover:focus {
27898
+ color: var(--Button--link-onHover-color);
27899
+ box-shadow: none;
27900
+ }
27901
+
27902
+ .amis-scope .cxd-Button--link:hover:active {
27903
+ color: var(--Button--link-onActive-color);
27904
+ box-shadow: none;
27905
+ }
27906
+
27907
+ .amis-scope .cxd-Button--link:disabled,
27908
+ .amis-scope .cxd-Button--link.is-disabled {
27909
+ color: var(--text--muted-color);
27910
+ border: none;
27911
+ background: var(--Button--link-onDisabled-backgroundColor);
27912
+ }
27913
+
27914
+ .amis-scope .cxd-Button--link:disabled:hover:active,
27915
+ .amis-scope .cxd-Button--link.is-disabled:hover:active {
27916
+ color: var(--text--muted-color);
27917
+ }
27918
+
27919
+ .amis-scope .cxd-Button--block {
27920
+ display: block;
27921
+ width: 100%;
27922
+ }
27923
+
27924
+ .amis-scope .cxd-Button--block + .cxd-Button--block {
27925
+ margin-top: var(--gap-base);
27890
27926
  }
27891
27927
 
27892
27928
  .amis-scope .cxd-Button > .pull-left,
@@ -28328,42 +28364,6 @@ readers do not read off random characters that represent icons */
28328
28364
  animation: var(--Button-animation-spin);
28329
28365
  }
28330
28366
 
28331
- .amis-scope .cxd-Button--link {
28332
- width: auto;
28333
- min-width: auto;
28334
- font-weight: var(--fontWeightNormal);
28335
- color: var(--Button--link-color);
28336
- text-decoration: var(--link-decoration);
28337
- border: none;
28338
- height: auto;
28339
- }
28340
-
28341
- .amis-scope .cxd-Button--link:hover:focus {
28342
- color: var(--Button--link-onHover-color);
28343
- box-shadow: none;
28344
- }
28345
-
28346
- .amis-scope .cxd-Button--link:hover:active {
28347
- color: var(--Button--link-onActive-color);
28348
- box-shadow: none;
28349
- }
28350
-
28351
- .amis-scope .cxd-Button--link:disabled,
28352
- .amis-scope .cxd-Button--link.is-disabled {
28353
- color: var(--text--muted-color);
28354
- pointer-events: none;
28355
- background: var(--Button-onDisabled-bg);
28356
- }
28357
-
28358
- .amis-scope .cxd-Button--block {
28359
- display: block;
28360
- width: 100%;
28361
- }
28362
-
28363
- .amis-scope .cxd-Button--block + .cxd-Button--block {
28364
- margin-top: var(--gap-base);
28365
- }
28366
-
28367
28367
  .amis-scope input[type=submit].cxd-Button--block,
28368
28368
  .amis-scope input[type=reset].cxd-Button--block,
28369
28369
  .amis-scope input[type=button].cxd-Button--block {