@wibetter/json-editor 5.1.8 → 5.1.9
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/lib/index.css +2 -2
- package/lib/index.js +6 -4
- package/package.json +1 -1
- package/sdk/index.css +2 -2
- package/sdk/index.js +8 -6
package/lib/index.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @wibetter/json-editor v5.1.
|
|
2
|
+
* @wibetter/json-editor v5.1.9
|
|
3
3
|
* author: wibetter
|
|
4
4
|
* build tool: AKFun
|
|
5
|
-
* build time:
|
|
5
|
+
* build time: Mon Jan 13 2025 19:32:30 GMT+0800 (中国标准时间)
|
|
6
6
|
* build tool info: https://github.com/wibetter/akfun
|
|
7
7
|
*/
|
|
8
8
|
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
package/lib/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @wibetter/json-editor v5.1.
|
|
2
|
+
* @wibetter/json-editor v5.1.9
|
|
3
3
|
* author: wibetter
|
|
4
4
|
* build tool: AKFun
|
|
5
|
-
* build time:
|
|
5
|
+
* build time: Mon Jan 13 2025 19:32:30 GMT+0800 (中国标准时间)
|
|
6
6
|
* build tool info: https://github.com/wibetter/akfun
|
|
7
7
|
*/
|
|
8
8
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -4000,14 +4000,16 @@ var InputImageSchema = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
4000
4000
|
name: 'file',
|
|
4001
4001
|
// targetJsonSchema.name || jsonKey || 'imgFile',
|
|
4002
4002
|
action: targetJsonSchema.uploadAction || options.uploadAction,
|
|
4003
|
-
accept: targetJsonSchema.accept || options.uploadAccept,
|
|
4003
|
+
accept: targetJsonSchema.accept || options.uploadAccept || '.jpeg,.jpg,.png',
|
|
4004
4004
|
// multiple: targetJsonSchema.multiple ?? false,
|
|
4005
4005
|
maxCount: targetJsonSchema.multiple ? targetJsonSchema.maxCount || 1 : 1,
|
|
4006
4006
|
defaultFileList: defaultFileList,
|
|
4007
4007
|
// showUploadList: false,
|
|
4008
4008
|
listType: (_targetJsonSchema$lis = targetJsonSchema.listType) != null ? _targetJsonSchema$lis : 'picture-card',
|
|
4009
|
+
withCredentials: true,
|
|
4010
|
+
method: targetJsonSchema.uploadMethod || options.uploadMethod || 'POST',
|
|
4009
4011
|
headers: {
|
|
4010
|
-
authorization: targetJsonSchema.authorization || 'authorization-content'
|
|
4012
|
+
// authorization: targetJsonSchema.authorization || 'authorization-content', // 会影响默认的图片上传
|
|
4011
4013
|
},
|
|
4012
4014
|
onChange: this.handleImageChange,
|
|
4013
4015
|
onRemove: this.handleDeleteChange
|
package/package.json
CHANGED
package/sdk/index.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @wibetter/json-editor v5.1.
|
|
2
|
+
* @wibetter/json-editor v5.1.9
|
|
3
3
|
* author: wibetter
|
|
4
4
|
* build tool: AKFun
|
|
5
|
-
* build time:
|
|
5
|
+
* build time: Mon Jan 13 2025 19:32:50 GMT+0800 (中国标准时间)
|
|
6
6
|
* build tool info: https://github.com/wibetter/akfun
|
|
7
7
|
*/
|
|
8
8
|
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
package/sdk/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @wibetter/json-editor v5.1.
|
|
2
|
+
* @wibetter/json-editor v5.1.9
|
|
3
3
|
* author: wibetter
|
|
4
4
|
* build tool: AKFun
|
|
5
|
-
* build time:
|
|
5
|
+
* build time: Mon Jan 13 2025 19:32:50 GMT+0800 (中国标准时间)
|
|
6
6
|
* build tool info: https://github.com/wibetter/akfun
|
|
7
7
|
*/
|
|
8
8
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -70385,14 +70385,16 @@ var InputImageSchema = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
70385
70385
|
name: 'file',
|
|
70386
70386
|
// targetJsonSchema.name || jsonKey || 'imgFile',
|
|
70387
70387
|
action: targetJsonSchema.uploadAction || options.uploadAction,
|
|
70388
|
-
accept: targetJsonSchema.accept || options.uploadAccept,
|
|
70388
|
+
accept: targetJsonSchema.accept || options.uploadAccept || '.jpeg,.jpg,.png',
|
|
70389
70389
|
// multiple: targetJsonSchema.multiple ?? false,
|
|
70390
70390
|
maxCount: targetJsonSchema.multiple ? targetJsonSchema.maxCount || 1 : 1,
|
|
70391
70391
|
defaultFileList: defaultFileList,
|
|
70392
70392
|
// showUploadList: false,
|
|
70393
70393
|
listType: (_targetJsonSchema$lis = targetJsonSchema.listType) != null ? _targetJsonSchema$lis : 'picture-card',
|
|
70394
|
+
withCredentials: true,
|
|
70395
|
+
method: targetJsonSchema.uploadMethod || options.uploadMethod || 'POST',
|
|
70394
70396
|
headers: {
|
|
70395
|
-
authorization: targetJsonSchema.authorization || 'authorization-content'
|
|
70397
|
+
// authorization: targetJsonSchema.authorization || 'authorization-content', // 会影响默认的图片上传
|
|
70396
70398
|
},
|
|
70397
70399
|
onChange: this.handleImageChange,
|
|
70398
70400
|
onRemove: this.handleDeleteChange
|
|
@@ -269406,7 +269408,7 @@ var initDynamicConfig = {
|
|
|
269406
269408
|
],
|
|
269407
269409
|
default: 'string',
|
|
269408
269410
|
isConditionProp: true,
|
|
269409
|
-
description: '',
|
|
269411
|
+
description: '在MP后台或资源中心配置时的交互方式,推荐使用"选择"',
|
|
269410
269412
|
onShow: 'type === "ContentStaticConfig" || type === "ResourceCenter"',
|
|
269411
269413
|
},
|
|
269412
269414
|
range: {
|
|
@@ -269697,7 +269699,7 @@ var initSohuSourceData = {
|
|
|
269697
269699
|
default: 1,
|
|
269698
269700
|
minimum: 0,
|
|
269699
269701
|
maximum: 1000,
|
|
269700
|
-
description: '',
|
|
269702
|
+
description: '该位置区块需要的内容条数',
|
|
269701
269703
|
},
|
|
269702
269704
|
TITLE: {
|
|
269703
269705
|
title: '标题',
|