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
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  var api_1 = require("./api");
7
7
  function handleAction(e, action, props, data) {
8
8
  // https://reactjs.org/docs/legacy-event-pooling.html
9
- e.persist();
9
+ // e.persist(); // react 17之后去掉 event pooling 了,这个应该没用了
10
10
  var onAction = props.onAction;
11
11
  var onClick = action.onClick;
12
12
  if (typeof onClick === 'string') {
@@ -6,8 +6,8 @@
6
6
  "/src/utils/handleAction.ts"
7
7
  ],
8
8
  "names": [],
9
- "mappings": ";AAAA;;GAEG;;AAIH,6BAAiD;AAEjD,SAAwB,YAAY,CAClC,CAAwB,EACxB,MAAoB,EACpB,KAAoB,EACpB,IAAU;IAEV,qDAAqD;IACrD,CAAC,CAAC,OAAO,EAAE,CAAC;IAEZ,IAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IAChC,IAAI,OAAO,GAAQ,MAAM,CAAC,OAAO,CAAC;IAElC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,GAAG,IAAA,kBAAY,EAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;KAC3D;IACD,IAAM,MAAM,GAAQ,OAAO,IAAI,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC;IAErE,IAAI,CAAC,CAAC,kBAAkB,EAAE,IAAI,MAAM,KAAK,KAAK,IAAI,CAAC,QAAQ,EAAE;QAC3D,OAAO;KACR;IAED,CAAC,CAAC,cAAc,EAAE,CAAC;IAEnB,wBAAwB;IACxB,IAAI,MAAM,CAAC,UAAU,KAAK,UAAU,EAAE;QACpC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;QAC3B,IAAM,GAAG,GAAG,IAAA,kBAAY,EAAE,MAA2B,CAAC,GAAG,CAAC,CAAC;QAC3D,GAAG,CAAC,YAAY,GAAG,MAAM,CAAC;QACzB,MAA2B,CAAC,GAAG,GAAG,GAAG,CAAC;KACxC;IAED,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAhCD,+BAgCC",
9
+ "mappings": ";AAAA;;GAEG;;AAIH,6BAAiD;AAEjD,SAAwB,YAAY,CAClC,CAAwB,EACxB,MAAoB,EACpB,KAAoB,EACpB,IAAU;IAEV,qDAAqD;IACrD,uDAAuD;IAEvD,IAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IAChC,IAAI,OAAO,GAAQ,MAAM,CAAC,OAAO,CAAC;IAElC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,GAAG,IAAA,kBAAY,EAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;KAC3D;IACD,IAAM,MAAM,GAAQ,OAAO,IAAI,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC;IAErE,IAAI,CAAC,CAAC,kBAAkB,EAAE,IAAI,MAAM,KAAK,KAAK,IAAI,CAAC,QAAQ,EAAE;QAC3D,OAAO;KACR;IAED,CAAC,CAAC,cAAc,EAAE,CAAC;IAEnB,wBAAwB;IACxB,IAAI,MAAM,CAAC,UAAU,KAAK,UAAU,EAAE;QACpC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;QAC3B,IAAM,GAAG,GAAG,IAAA,kBAAY,EAAE,MAA2B,CAAC,GAAG,CAAC,CAAC;QAC3D,GAAG,CAAC,YAAY,GAAG,MAAM,CAAC;QACzB,MAA2B,CAAC,GAAG,GAAG,GAAG,CAAC;KACxC;IAED,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAhCD,+BAgCC",
10
10
  "sourcesContent": [
11
- "/**\n * 后续好多地方可能都要支持 action,所以提取公共功能\n */\n\nimport {RendererProps} from '../factory';\nimport {ActionSchema, AjaxActionSchema} from '../renderers/Action';\nimport {normalizeApi, str2function} from './api';\n\nexport default function handleAction(\n e: React.MouseEvent<any>,\n action: ActionSchema,\n props: RendererProps,\n data?: any\n) {\n // https://reactjs.org/docs/legacy-event-pooling.html\n e.persist();\n\n const onAction = props.onAction;\n let onClick: any = action.onClick;\n\n if (typeof onClick === 'string') {\n onClick = str2function(onClick, 'event', 'props', 'data');\n }\n const result: any = onClick && onClick(e, props, data || props.data);\n\n if (e.isDefaultPrevented() || result === false || !onAction) {\n return;\n }\n\n e.preventDefault();\n\n // download 是一种 ajax 的简写\n if (action.actionType === 'download') {\n action.actionType = 'ajax';\n const api = normalizeApi((action as AjaxActionSchema).api);\n api.responseType = 'blob';\n (action as AjaxActionSchema).api = api;\n }\n\n onAction(e, action, data || props.data);\n}\n"
11
+ "/**\n * 后续好多地方可能都要支持 action,所以提取公共功能\n */\n\nimport {RendererProps} from '../factory';\nimport {ActionSchema, AjaxActionSchema} from '../renderers/Action';\nimport {normalizeApi, str2function} from './api';\n\nexport default function handleAction(\n e: React.MouseEvent<any>,\n action: ActionSchema,\n props: RendererProps,\n data?: any\n) {\n // https://reactjs.org/docs/legacy-event-pooling.html\n // e.persist(); // react 17之后去掉 event pooling 了,这个应该没用了\n\n const onAction = props.onAction;\n let onClick: any = action.onClick;\n\n if (typeof onClick === 'string') {\n onClick = str2function(onClick, 'event', 'props', 'data');\n }\n const result: any = onClick && onClick(e, props, data || props.data);\n\n if (e.isDefaultPrevented() || result === false || !onAction) {\n return;\n }\n\n e.preventDefault();\n\n // download 是一种 ajax 的简写\n if (action.actionType === 'download') {\n action.actionType = 'ajax';\n const api = normalizeApi((action as AjaxActionSchema).api);\n api.responseType = 'blob';\n (action as AjaxActionSchema).api = api;\n }\n\n onAction(e, action, data || props.data);\n}\n"
12
12
  ]
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amis",
3
- "version": "1.9.0-beta.13",
3
+ "version": "1.9.0-beta.14",
4
4
  "description": "一种MIS页面生成工具",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -162,7 +162,7 @@
162
162
  "prismjs": "^1.25.0",
163
163
  "react": "^18.0.0",
164
164
  "react-dom": "^18.0.0",
165
- "react-router": "^5.2.1",
165
+ "react-router": "5.2.1",
166
166
  "react-router-dom": "5.3.0",
167
167
  "react-test-renderer": "^18.0.0",
168
168
  "ts-jest": "^27.1.4",
@@ -241,6 +241,7 @@
241
241
  --Button--light-onHover-color: var(--Button--light-color);
242
242
  --Button--link-color: var(--primary);
243
243
  --Button--link-onDisabled-color: #{$gray600};
244
+ --Button--link-onDisabled-backgroundColor: transparent;
244
245
  --Button--link-onHover-color: var(--primary-onHover);
245
246
  --Button--link-onActive-color: var(--primary-onActive);
246
247
  --Button--md-fontSize: var(--Button-fontSize);
@@ -48,7 +48,6 @@
48
48
  box-shadow: none;
49
49
  cursor: not-allowed;
50
50
  color: var(--text--muted-color);
51
- pointer-events: auto;
52
51
  border: var(--Button-borderWidth) solid var(--Button-onDisabled-borderColor);
53
52
  background: var(--Button-onDisabled-bg);
54
53
 
@@ -62,9 +61,44 @@
62
61
  cursor: pointer;
63
62
  }
64
63
 
65
- &.cxd-Button--link.is-disabled {
66
- background: transparent;
64
+ &--link {
65
+ width: auto;
66
+ min-width: auto;
67
+ font-weight: var(--fontWeightNormal);
68
+ color: var(--Button--link-color);
69
+ text-decoration: var(--link-decoration);
67
70
  border: none;
71
+ height: auto;
72
+
73
+ @include hover-focus {
74
+ color: var(--Button--link-onHover-color);
75
+ box-shadow: none;
76
+ }
77
+
78
+ @include hover-active {
79
+ color: var(--Button--link-onActive-color);
80
+ box-shadow: none;
81
+ }
82
+
83
+ &:disabled,
84
+ &.is-disabled {
85
+ color: var(--text--muted-color);
86
+ border: none;
87
+ background: var(--Button--link-onDisabled-backgroundColor);
88
+
89
+ @include hover-active {
90
+ color: var(--text--muted-color);
91
+ }
92
+ }
93
+ }
94
+
95
+ &--block {
96
+ display: block;
97
+ width: 100%;
98
+
99
+ + .#{$ns}Button--block {
100
+ margin-top: var(--gap-base);
101
+ }
68
102
  }
69
103
 
70
104
  > .pull-left,
@@ -317,42 +351,6 @@ fieldset:disabled a.#{$ns}Button {
317
351
  @include button-loading-icon();
318
352
  }
319
353
 
320
- .#{$ns}Button--link {
321
- width: auto;
322
- min-width: auto;
323
- font-weight: var(--fontWeightNormal);
324
- color: var(--Button--link-color);
325
- text-decoration: var(--link-decoration);
326
- border: none;
327
- height: auto;
328
-
329
- @include hover-focus {
330
- color: var(--Button--link-onHover-color);
331
- box-shadow: none;
332
- }
333
-
334
- @include hover-active {
335
- color: var(--Button--link-onActive-color);
336
- box-shadow: none;
337
- }
338
-
339
- &:disabled,
340
- &.is-disabled {
341
- color: var(--text--muted-color);
342
- pointer-events: none;
343
- background: var(--Button-onDisabled-bg);
344
- }
345
- }
346
-
347
- .#{$ns}Button--block {
348
- display: block;
349
- width: 100%;
350
-
351
- + .#{$ns}Button--block {
352
- margin-top: var(--gap-base);
353
- }
354
- }
355
-
356
354
  input[type='submit'],
357
355
  input[type='reset'],
358
356
  input[type='button'] {
package/sdk/ang-ie11.css CHANGED
@@ -25915,7 +25915,6 @@ readers do not read off random characters that represent icons */
25915
25915
  box-shadow: none;
25916
25916
  cursor: not-allowed;
25917
25917
  color: #99a6ad;
25918
- pointer-events: auto;
25919
25918
  border: 0.0625rem solid #dee2e6;
25920
25919
  background: #f2f3f3;
25921
25920
  }
@@ -25931,9 +25930,45 @@ readers do not read off random characters that represent icons */
25931
25930
  cursor: pointer;
25932
25931
  }
25933
25932
 
25934
- .amis-scope .a-Button.cxd-Button--link.is-disabled {
25935
- background: transparent;
25933
+ .amis-scope .a-Button--link {
25934
+ width: auto;
25935
+ min-width: auto;
25936
+ font-weight: 400;
25937
+ color: #7266ba;
25938
+ text-decoration: none;
25936
25939
  border: none;
25940
+ height: auto;
25941
+ }
25942
+
25943
+ .amis-scope .a-Button--link:hover:focus {
25944
+ color: #4f86f4;
25945
+ box-shadow: none;
25946
+ }
25947
+
25948
+ .amis-scope .a-Button--link:hover:active {
25949
+ color: #1c53c1;
25950
+ box-shadow: none;
25951
+ }
25952
+
25953
+ .amis-scope .a-Button--link:disabled,
25954
+ .amis-scope .a-Button--link.is-disabled {
25955
+ color: #99a6ad;
25956
+ border: none;
25957
+ background: transparent;
25958
+ }
25959
+
25960
+ .amis-scope .a-Button--link:disabled:hover:active,
25961
+ .amis-scope .a-Button--link.is-disabled:hover:active {
25962
+ color: #99a6ad;
25963
+ }
25964
+
25965
+ .amis-scope .a-Button--block {
25966
+ display: block;
25967
+ width: 100%;
25968
+ }
25969
+
25970
+ .amis-scope .a-Button--block + .a-Button--block {
25971
+ margin-top: 0.75rem;
25937
25972
  }
25938
25973
 
25939
25974
  .amis-scope .a-Button > .pull-left,
@@ -26415,42 +26450,6 @@ readers do not read off random characters that represent icons */
26415
26450
  animation: spin 1s infinite linear;
26416
26451
  }
26417
26452
 
26418
- .amis-scope .a-Button--link {
26419
- width: auto;
26420
- min-width: auto;
26421
- font-weight: 400;
26422
- color: #7266ba;
26423
- text-decoration: none;
26424
- border: none;
26425
- height: auto;
26426
- }
26427
-
26428
- .amis-scope .a-Button--link:hover:focus {
26429
- color: #4f86f4;
26430
- box-shadow: none;
26431
- }
26432
-
26433
- .amis-scope .a-Button--link:hover:active {
26434
- color: #1c53c1;
26435
- box-shadow: none;
26436
- }
26437
-
26438
- .amis-scope .a-Button--link:disabled,
26439
- .amis-scope .a-Button--link.is-disabled {
26440
- color: #99a6ad;
26441
- pointer-events: none;
26442
- background: #f2f3f3;
26443
- }
26444
-
26445
- .amis-scope .a-Button--block {
26446
- display: block;
26447
- width: 100%;
26448
- }
26449
-
26450
- .amis-scope .a-Button--block + .a-Button--block {
26451
- margin-top: 0.75rem;
26452
- }
26453
-
26454
26453
  .amis-scope input[type=submit].a-Button--block,
26455
26454
  .amis-scope input[type=reset].a-Button--block,
26456
26455
  .amis-scope input[type=button].a-Button--block {
package/sdk/ang.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);
@@ -27404,7 +27405,6 @@ readers do not read off random characters that represent icons */
27404
27405
  box-shadow: none;
27405
27406
  cursor: not-allowed;
27406
27407
  color: var(--text--muted-color);
27407
- pointer-events: auto;
27408
27408
  border: var(--Button-borderWidth) solid var(--Button-onDisabled-borderColor);
27409
27409
  background: var(--Button-onDisabled-bg);
27410
27410
  }
@@ -27420,9 +27420,45 @@ readers do not read off random characters that represent icons */
27420
27420
  cursor: pointer;
27421
27421
  }
27422
27422
 
27423
- .amis-scope .a-Button.cxd-Button--link.is-disabled {
27424
- background: transparent;
27423
+ .amis-scope .a-Button--link {
27424
+ width: auto;
27425
+ min-width: auto;
27426
+ font-weight: var(--fontWeightNormal);
27427
+ color: var(--Button--link-color);
27428
+ text-decoration: var(--link-decoration);
27425
27429
  border: none;
27430
+ height: auto;
27431
+ }
27432
+
27433
+ .amis-scope .a-Button--link:hover:focus {
27434
+ color: var(--Button--link-onHover-color);
27435
+ box-shadow: none;
27436
+ }
27437
+
27438
+ .amis-scope .a-Button--link:hover:active {
27439
+ color: var(--Button--link-onActive-color);
27440
+ box-shadow: none;
27441
+ }
27442
+
27443
+ .amis-scope .a-Button--link:disabled,
27444
+ .amis-scope .a-Button--link.is-disabled {
27445
+ color: var(--text--muted-color);
27446
+ border: none;
27447
+ background: var(--Button--link-onDisabled-backgroundColor);
27448
+ }
27449
+
27450
+ .amis-scope .a-Button--link:disabled:hover:active,
27451
+ .amis-scope .a-Button--link.is-disabled:hover:active {
27452
+ color: var(--text--muted-color);
27453
+ }
27454
+
27455
+ .amis-scope .a-Button--block {
27456
+ display: block;
27457
+ width: 100%;
27458
+ }
27459
+
27460
+ .amis-scope .a-Button--block + .a-Button--block {
27461
+ margin-top: var(--gap-base);
27426
27462
  }
27427
27463
 
27428
27464
  .amis-scope .a-Button > .pull-left,
@@ -27864,42 +27900,6 @@ readers do not read off random characters that represent icons */
27864
27900
  animation: var(--Button-animation-spin);
27865
27901
  }
27866
27902
 
27867
- .amis-scope .a-Button--link {
27868
- width: auto;
27869
- min-width: auto;
27870
- font-weight: var(--fontWeightNormal);
27871
- color: var(--Button--link-color);
27872
- text-decoration: var(--link-decoration);
27873
- border: none;
27874
- height: auto;
27875
- }
27876
-
27877
- .amis-scope .a-Button--link:hover:focus {
27878
- color: var(--Button--link-onHover-color);
27879
- box-shadow: none;
27880
- }
27881
-
27882
- .amis-scope .a-Button--link:hover:active {
27883
- color: var(--Button--link-onActive-color);
27884
- box-shadow: none;
27885
- }
27886
-
27887
- .amis-scope .a-Button--link:disabled,
27888
- .amis-scope .a-Button--link.is-disabled {
27889
- color: var(--text--muted-color);
27890
- pointer-events: none;
27891
- background: var(--Button-onDisabled-bg);
27892
- }
27893
-
27894
- .amis-scope .a-Button--block {
27895
- display: block;
27896
- width: 100%;
27897
- }
27898
-
27899
- .amis-scope .a-Button--block + .a-Button--block {
27900
- margin-top: var(--gap-base);
27901
- }
27902
-
27903
27903
  .amis-scope input[type=submit].a-Button--block,
27904
27904
  .amis-scope input[type=reset].a-Button--block,
27905
27905
  .amis-scope input[type=button].a-Button--block {
package/sdk/antd-ie11.css CHANGED
@@ -25915,7 +25915,6 @@ readers do not read off random characters that represent icons */
25915
25915
  box-shadow: none;
25916
25916
  cursor: not-allowed;
25917
25917
  color: #999;
25918
- pointer-events: auto;
25919
25918
  border: 0.0625rem solid #d9d9d9;
25920
25919
  background: #f2f3f3;
25921
25920
  }
@@ -25931,9 +25930,45 @@ readers do not read off random characters that represent icons */
25931
25930
  cursor: pointer;
25932
25931
  }
25933
25932
 
25934
- .amis-scope .antd-Button.cxd-Button--link.is-disabled {
25935
- background: transparent;
25933
+ .amis-scope .antd-Button--link {
25934
+ width: auto;
25935
+ min-width: auto;
25936
+ font-weight: 400;
25937
+ color: #1890ff;
25938
+ text-decoration: none;
25936
25939
  border: none;
25940
+ height: auto;
25941
+ }
25942
+
25943
+ .amis-scope .antd-Button--link:hover:focus {
25944
+ color: #4f86f4;
25945
+ box-shadow: none;
25946
+ }
25947
+
25948
+ .amis-scope .antd-Button--link:hover:active {
25949
+ color: #1c53c1;
25950
+ box-shadow: none;
25951
+ }
25952
+
25953
+ .amis-scope .antd-Button--link:disabled,
25954
+ .amis-scope .antd-Button--link.is-disabled {
25955
+ color: #999;
25956
+ border: none;
25957
+ background: transparent;
25958
+ }
25959
+
25960
+ .amis-scope .antd-Button--link:disabled:hover:active,
25961
+ .amis-scope .antd-Button--link.is-disabled:hover:active {
25962
+ color: #999;
25963
+ }
25964
+
25965
+ .amis-scope .antd-Button--block {
25966
+ display: block;
25967
+ width: 100%;
25968
+ }
25969
+
25970
+ .amis-scope .antd-Button--block + .antd-Button--block {
25971
+ margin-top: 0.75rem;
25937
25972
  }
25938
25973
 
25939
25974
  .amis-scope .antd-Button > .pull-left,
@@ -26395,42 +26430,6 @@ readers do not read off random characters that represent icons */
26395
26430
  animation: spin 1s infinite linear;
26396
26431
  }
26397
26432
 
26398
- .amis-scope .antd-Button--link {
26399
- width: auto;
26400
- min-width: auto;
26401
- font-weight: 400;
26402
- color: #1890ff;
26403
- text-decoration: none;
26404
- border: none;
26405
- height: auto;
26406
- }
26407
-
26408
- .amis-scope .antd-Button--link:hover:focus {
26409
- color: #4f86f4;
26410
- box-shadow: none;
26411
- }
26412
-
26413
- .amis-scope .antd-Button--link:hover:active {
26414
- color: #1c53c1;
26415
- box-shadow: none;
26416
- }
26417
-
26418
- .amis-scope .antd-Button--link:disabled,
26419
- .amis-scope .antd-Button--link.is-disabled {
26420
- color: #999;
26421
- pointer-events: none;
26422
- background: #f2f3f3;
26423
- }
26424
-
26425
- .amis-scope .antd-Button--block {
26426
- display: block;
26427
- width: 100%;
26428
- }
26429
-
26430
- .amis-scope .antd-Button--block + .antd-Button--block {
26431
- margin-top: 0.75rem;
26432
- }
26433
-
26434
26433
  .amis-scope input[type=submit].antd-Button--block,
26435
26434
  .amis-scope input[type=reset].antd-Button--block,
26436
26435
  .amis-scope input[type=button].antd-Button--block {
package/sdk/antd.css CHANGED
@@ -13391,6 +13391,7 @@ readers do not read off random characters that represent icons */
13391
13391
  --Button--light-onHover-color: var(--Button--light-color);
13392
13392
  --Button--link-color: var(--primary);
13393
13393
  --Button--link-onDisabled-color: #4b5563;
13394
+ --Button--link-onDisabled-backgroundColor: transparent;
13394
13395
  --Button--link-onHover-color: var(--primary-onHover);
13395
13396
  --Button--link-onActive-color: var(--primary-onActive);
13396
13397
  --Button--md-fontSize: var(--Button-fontSize);
@@ -27513,7 +27514,6 @@ readers do not read off random characters that represent icons */
27513
27514
  box-shadow: none;
27514
27515
  cursor: not-allowed;
27515
27516
  color: var(--text--muted-color);
27516
- pointer-events: auto;
27517
27517
  border: var(--Button-borderWidth) solid var(--Button-onDisabled-borderColor);
27518
27518
  background: var(--Button-onDisabled-bg);
27519
27519
  }
@@ -27529,9 +27529,45 @@ readers do not read off random characters that represent icons */
27529
27529
  cursor: pointer;
27530
27530
  }
27531
27531
 
27532
- .amis-scope .antd-Button.cxd-Button--link.is-disabled {
27533
- background: transparent;
27532
+ .amis-scope .antd-Button--link {
27533
+ width: auto;
27534
+ min-width: auto;
27535
+ font-weight: var(--fontWeightNormal);
27536
+ color: var(--Button--link-color);
27537
+ text-decoration: var(--link-decoration);
27534
27538
  border: none;
27539
+ height: auto;
27540
+ }
27541
+
27542
+ .amis-scope .antd-Button--link:hover:focus {
27543
+ color: var(--Button--link-onHover-color);
27544
+ box-shadow: none;
27545
+ }
27546
+
27547
+ .amis-scope .antd-Button--link:hover:active {
27548
+ color: var(--Button--link-onActive-color);
27549
+ box-shadow: none;
27550
+ }
27551
+
27552
+ .amis-scope .antd-Button--link:disabled,
27553
+ .amis-scope .antd-Button--link.is-disabled {
27554
+ color: var(--text--muted-color);
27555
+ border: none;
27556
+ background: var(--Button--link-onDisabled-backgroundColor);
27557
+ }
27558
+
27559
+ .amis-scope .antd-Button--link:disabled:hover:active,
27560
+ .amis-scope .antd-Button--link.is-disabled:hover:active {
27561
+ color: var(--text--muted-color);
27562
+ }
27563
+
27564
+ .amis-scope .antd-Button--block {
27565
+ display: block;
27566
+ width: 100%;
27567
+ }
27568
+
27569
+ .amis-scope .antd-Button--block + .antd-Button--block {
27570
+ margin-top: var(--gap-base);
27535
27571
  }
27536
27572
 
27537
27573
  .amis-scope .antd-Button > .pull-left,
@@ -27973,42 +28009,6 @@ readers do not read off random characters that represent icons */
27973
28009
  animation: var(--Button-animation-spin);
27974
28010
  }
27975
28011
 
27976
- .amis-scope .antd-Button--link {
27977
- width: auto;
27978
- min-width: auto;
27979
- font-weight: var(--fontWeightNormal);
27980
- color: var(--Button--link-color);
27981
- text-decoration: var(--link-decoration);
27982
- border: none;
27983
- height: auto;
27984
- }
27985
-
27986
- .amis-scope .antd-Button--link:hover:focus {
27987
- color: var(--Button--link-onHover-color);
27988
- box-shadow: none;
27989
- }
27990
-
27991
- .amis-scope .antd-Button--link:hover:active {
27992
- color: var(--Button--link-onActive-color);
27993
- box-shadow: none;
27994
- }
27995
-
27996
- .amis-scope .antd-Button--link:disabled,
27997
- .amis-scope .antd-Button--link.is-disabled {
27998
- color: var(--text--muted-color);
27999
- pointer-events: none;
28000
- background: var(--Button-onDisabled-bg);
28001
- }
28002
-
28003
- .amis-scope .antd-Button--block {
28004
- display: block;
28005
- width: 100%;
28006
- }
28007
-
28008
- .amis-scope .antd-Button--block + .antd-Button--block {
28009
- margin-top: var(--gap-base);
28010
- }
28011
-
28012
28012
  .amis-scope input[type=submit].antd-Button--block,
28013
28013
  .amis-scope input[type=reset].antd-Button--block,
28014
28014
  .amis-scope input[type=button].antd-Button--block {