@wibetter/json-utils 5.0.2 → 5.0.6
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/README.md +1 -5
- package/dist/index.esm.js +4721 -704
- package/dist/index.esm.min.js +15 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,15 +54,11 @@
|
|
|
54
54
|
|
|
55
55
|
### 业务相关的json工具方法
|
|
56
56
|
> 主要在JSON数据可视化组件中使用([JSONSchema](https://github.com/wibetter/json-schema-editor)、[JSONEditor](https://github.com/wibetter/json-editor))
|
|
57
|
-
- isEmptyWidgetSchema: 判断是否为空的WidgetSchema
|
|
58
|
-
- isUsedToWidgetConfig: 判断是否为用于区块配置的jsonSchema数据
|
|
59
57
|
- isNewSchemaData: 判断是否是最新版的schema数据
|
|
60
58
|
- oldSchemaToNewSchema: 旧版jsonSchema转新版jsonSchema
|
|
61
59
|
- schemaMetaList: 目前JSON数据可视化组件(JSONSchema、JSONEditor)提供的元数据类型清单
|
|
62
60
|
- dynamicDataAnalyzer: 根据当前的json和对应的schema,统计当前json里面用到的动态数据源情况
|
|
63
|
-
-
|
|
64
|
-
- isBoxSchemaData: 根据format判断是否为容器类型字段(func、style、data、object)
|
|
65
|
-
- getCurrentFormat: 获取当前字段的类型(format)
|
|
61
|
+
- isContainerSchema: 判断是否是容器类型元素,用于确认是否能添加子元素
|
|
66
62
|
- isEmptySchema: 判断是否为空的Schema
|
|
67
63
|
|
|
68
64
|
## 快速使用
|