@fonixtree/magic-design 2.0.128 → 2.0.129
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.
- package/es/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +3 -1
- package/es/meta-comp/config-panels/ButtonConfig/index.js +2 -0
- package/es/utils/businessUtil.js +1 -0
- package/lib/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +3 -1
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +2 -0
- package/lib/utils/businessUtil.js +1 -0
- package/package.json +1 -1
|
@@ -29,7 +29,8 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
29
29
|
fontFamily: 'Open Sans',
|
|
30
30
|
fontWeight: 600,
|
|
31
31
|
fontSize: 16,
|
|
32
|
-
color: '#000'
|
|
32
|
+
color: '#000',
|
|
33
|
+
urlDisabled: true
|
|
33
34
|
},
|
|
34
35
|
underline: {
|
|
35
36
|
open: false,
|
|
@@ -45,6 +46,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
45
46
|
text: 'Follow',
|
|
46
47
|
content: {
|
|
47
48
|
url: '',
|
|
49
|
+
urlDisabled: true,
|
|
48
50
|
backgroundColor: '#FF8650'
|
|
49
51
|
},
|
|
50
52
|
buttonText: {
|
|
@@ -148,6 +148,7 @@ function (_super) {
|
|
|
148
148
|
split: true,
|
|
149
149
|
title: (0, _locale.i18n)('URL')
|
|
150
150
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
151
|
+
disabled: data.content.urlDisabled,
|
|
151
152
|
onChange: function onChange(value) {
|
|
152
153
|
_this.updateAttr(data.content, 'url', value);
|
|
153
154
|
},
|
|
@@ -362,6 +363,7 @@ function (_super) {
|
|
|
362
363
|
data: {
|
|
363
364
|
content: {
|
|
364
365
|
url: '',
|
|
366
|
+
urlDisabled: false,
|
|
365
367
|
backgroundColor: '#2F54EB'
|
|
366
368
|
},
|
|
367
369
|
buttonText: {
|
package/es/utils/businessUtil.js
CHANGED
|
@@ -29,7 +29,8 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
29
29
|
fontFamily: 'Open Sans',
|
|
30
30
|
fontWeight: 600,
|
|
31
31
|
fontSize: 16,
|
|
32
|
-
color: '#000'
|
|
32
|
+
color: '#000',
|
|
33
|
+
urlDisabled: true
|
|
33
34
|
},
|
|
34
35
|
underline: {
|
|
35
36
|
open: false,
|
|
@@ -45,6 +46,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
45
46
|
text: 'Follow',
|
|
46
47
|
content: {
|
|
47
48
|
url: '',
|
|
49
|
+
urlDisabled: true,
|
|
48
50
|
backgroundColor: '#FF8650'
|
|
49
51
|
},
|
|
50
52
|
buttonText: {
|
|
@@ -148,6 +148,7 @@ function (_super) {
|
|
|
148
148
|
split: true,
|
|
149
149
|
title: (0, _locale.i18n)('URL')
|
|
150
150
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
151
|
+
disabled: data.content.urlDisabled,
|
|
151
152
|
onChange: function onChange(value) {
|
|
152
153
|
_this.updateAttr(data.content, 'url', value);
|
|
153
154
|
},
|
|
@@ -362,6 +363,7 @@ function (_super) {
|
|
|
362
363
|
data: {
|
|
363
364
|
content: {
|
|
364
365
|
url: '',
|
|
366
|
+
urlDisabled: false,
|
|
365
367
|
backgroundColor: '#2F54EB'
|
|
366
368
|
},
|
|
367
369
|
buttonText: {
|