@lljj/vjsf-utils
Version:
vue json schema form 使用的基础utils工具类
308 lines (95 loc) • 10.5 kB
Markdown
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.19.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.18.0...v1.19.0) (2023-10-05)
### Bug Fixes
* 合并 from 'vueCommonUtils' ([a42ffb8](https://github.com/lljj-x/vue-json-schema-form/commit/a42ffb8716efa80014085744c9c84f1bdb860738))
### Features
* **lib:** 支持配置 fui 自定义function ([955308d](https://github.com/lljj-x/vue-json-schema-form/commit/955308d0c13df87ff7cfcefa1ce104af756c29fe)), closes [#323](https://github.com/lljj-x/vue-json-schema-form/issues/323)
* **lib:** 支持配置 ui:required ([84adc7f](https://github.com/lljj-x/vue-json-schema-form/commit/84adc7ffeee9a4cb431db5a890a3f2fdc84d75a5)), closes [#175](https://github.com/lljj-x/vue-json-schema-form/issues/175)
* **utils:** 合并公共配置 ([37c051c](https://github.com/lljj-x/vue-json-schema-form/commit/37c051c994e996bf9c3520a605ed558597aad2d0))
* 分离公共 Vue 工具 js ([80d3f56](https://github.com/lljj-x/vue-json-schema-form/commit/80d3f56596a1557e1e9a2dcbb8e17d4e4a7aa0db))
# [1.18.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.17.1...v1.18.0) (2023-08-05)
### Bug Fixes
* **lib:** 修复 match anyOf option未重新retrieve schema 导致无法正确match index的问题 ([44dd77b](https://github.com/lljj-x/vue-json-schema-form/commit/44dd77bd44b2009aac43b57786a8701c4e8c1abc)), closes [#317](https://github.com/lljj-x/vue-json-schema-form/issues/317)
## [1.17.1](https://github.com/lljj-x/vue-json-schema-form/compare/v1.17.0...v1.17.1) (2023-05-14)
### Bug Fixes
* **lib:** 优化默认formData 计算逻辑,覆盖无效数据 ([f650884](https://github.com/lljj-x/vue-json-schema-form/commit/f650884ff0b454e423521d7bf41f17e1fc2de9a0)), closes [#299](https://github.com/lljj-x/vue-json-schema-form/issues/299)
# [1.17.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.14.2...v1.17.0) (2023-05-01)
**Note:** Version bump only for package @lljj/vjsf-utils
# [1.16.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.14.2...v1.16.0) (2023-05-01)
**Note:** Version bump only for package @lljj/vjsf-utils
# [1.15.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.14.2...v1.15.0) (2023-05-01)
**Note:** Version bump only for package @lljj/vjsf-utils
# [1.14.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.13.1...v1.14.0) (2022-08-07)
### Bug Fixes
* **lib:** 修复color 校验 ([2b49753](https://github.com/lljj-x/vue-json-schema-form/commit/2b4975375ba6f322d8dbdac08a1870bbd7335d22))
* **lib:** 宽松color format 校验 ([d32d079](https://github.com/lljj-x/vue-json-schema-form/commit/d32d079cd73fe16234ef30ae693f0bd3ab1b75fe))
### Features
* 修复fallbackLabel的错误判断 && 优化代码 ([d23da39](https://github.com/lljj-x/vue-json-schema-form/commit/d23da39dbf51a017e0a439512164f3977b520ff6))
* **vue3 core:** 修复provide警告 ([711c932](https://github.com/lljj-x/vue-json-schema-form/commit/711c932e71ead9667f65777e6b65578c76087ce1))
* **vue3core:** 整理代码 ([54e9db4](https://github.com/lljj-x/vue-json-schema-form/commit/54e9db4090155e0e6a78788dccb5c6208f9cb812))
## [1.12.2](https://github.com/lljj-x/vue-json-schema-form/compare/v1.12.1...v1.12.2) (2022-04-11)
### Bug Fixes
* **lib:** ui:hidden 透传到widget组件 ([f63094e](https://github.com/lljj-x/vue-json-schema-form/commit/f63094ee85659d1fea45bd789321817c08664ffa)), closes [#170](https://github.com/lljj-x/vue-json-schema-form/issues/170)
# [1.12.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.11.0...v1.12.0) (2022-03-08)
### Bug Fixes
* **lib:** 添加严格模式配置,更精准计算anyOf 默认值 ([10cdc08](https://github.com/lljj-x/vue-json-schema-form/commit/10cdc089087d83d8fe08e1fd379b7a1aaad0cd5d)), closes [#152](https://github.com/lljj-x/vue-json-schema-form/issues/152)
### Features
* **lib:** 优化样式 ([e53291b](https://github.com/lljj-x/vue-json-schema-form/commit/e53291b8395fdceb971f15f72c9e809cdee8ec7e))
# [1.11.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.10.0...v1.11.0) (2022-02-19)
### Bug Fixes
* **lib:** 添加严格模式配置,更精准计算anyOf 默认值 ([2cd65bb](https://github.com/lljj-x/vue-json-schema-form/commit/2cd65bb5f275a021f1cc368e4c63387163c94d57)), closes [#157](https://github.com/lljj-x/vue-json-schema-form/issues/157)
## [1.9.5](https://github.com/lljj-x/vue-json-schema-form/compare/v1.9.4...v1.9.5) (2021-11-21)
### Bug Fixes
* **lib:** 修复inline 布局样式问题 ([65a7143](https://github.com/lljj-x/vue-json-schema-form/commit/65a7143fc19105f9096afc24a25107c0ef27ac5f)), closes [#122](https://github.com/lljj-x/vue-json-schema-form/issues/122)
## [1.9.3](https://github.com/lljj-x/vue-json-schema-form/compare/v1.9.2...v1.9.3) (2021-10-10)
### Bug Fixes
* **lib:** allOf merge 相同类型直接使用左边 ([c0bd0cd](https://github.com/lljj-x/vue-json-schema-form/commit/c0bd0cde9f15b4ca928fec84b4831a5cb459aa43)), closes [#116](https://github.com/lljj-x/vue-json-schema-form/issues/116)
## [1.9.2](https://github.com/lljj-x/vue-json-schema-form/compare/v1.9.1...v1.9.2) (2021-09-25)
### Bug Fixes
* **lib:** 修复anyof 默认值计算可能丢失属性 ([44bcb44](https://github.com/lljj-x/vue-json-schema-form/commit/44bcb44af63a37847cd3df5614fad2f26bdf307d)), closes [#108](https://github.com/lljj-x/vue-json-schema-form/issues/108)
* **lib:** 修复anyOf嵌套object 可能丢失部分校验规则的问题 ([5c06294](https://github.com/lljj-x/vue-json-schema-form/commit/5c06294d9a9c978bda1c3724710cfd4ba478af5b))
## [1.9.1](https://github.com/lljj-x/vue-json-schema-form/compare/v1.9.0...v1.9.1) (2021-09-22)
**Note:** Version bump only for package @lljj/vjsf-utils
# [1.9.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.7.0...v1.9.0) (2021-09-06)
### Features
* **vue2:** vue2 添加 widgetListeners 配置 ([50348c2](https://github.com/lljj-x/vue-json-schema-form/commit/50348c27e72813ea16fdcfcea46e6450ccf06018)), closes [#45](https://github.com/lljj-x/vue-json-schema-form/issues/45)
# [1.8.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.7.0...v1.8.0) (2021-09-06)
### Features
* **vue2:** vue2 添加 widgetListeners 配置 ([50348c2](https://github.com/lljj-x/vue-json-schema-form/commit/50348c27e72813ea16fdcfcea46e6450ccf06018)), closes [#45](https://github.com/lljj-x/vue-json-schema-form/issues/45)
# [1.7.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.6.4...v1.7.0) (2021-08-29)
### Features
* **lib:** 支持配置 slots ([27f1501](https://github.com/lljj-x/vue-json-schema-form/commit/27f1501eda01eabd4a723656be56904e9cb0f069)), closes [#45](https://github.com/lljj-x/vue-json-schema-form/issues/45)
## [1.6.3](https://github.com/lljj-x/vue-json-schema-form/compare/v1.6.2...v1.6.3) (2021-07-12)
**Note:** Version bump only for package @lljj/vjsf-utils
## [1.6.2](https://github.com/lljj-x/vue-json-schema-form/compare/v1.6.1...v1.6.2) (2021-05-31)
**Note:** Version bump only for package @lljj/vjsf-utils
# [1.3.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.2.1...v1.3.0) (2021-04-15)
### Bug Fixes
* **core:** 修复 anyof 后代存在 $ref可能无法回填的问题 ([4dd046b](https://github.com/lljj-x/vue-json-schema-form/commit/4dd046bee0e5c3589f2bfa64ba0d90ed7869067a)), closes [#59](https://github.com/lljj-x/vue-json-schema-form/issues/59)
### Features
* **core:** widget 节点直接配置onChange ([2d2264b](https://github.com/lljj-x/vue-json-schema-form/commit/2d2264b004c3b6586e225c563bf03ca52fc5e53a))
## [1.2.1](https://github.com/lljj-x/vue-json-schema-form/compare/v1.2.0...v1.2.1) (2021-04-11)
### Bug Fixes
* **lib:** 修复anyOf下多级对象初始值计算错误问题 ([6dd9780](https://github.com/lljj-x/vue-json-schema-form/commit/6dd97804573aa55001c2715da4a6ffcc5ee897b9)), closes [#57](https://github.com/lljj-x/vue-json-schema-form/issues/57)
# [1.2.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.1.3...v1.2.0) (2021-03-30)
### Features
* **lib:** 添加 fallback-label 参数 ([cd2d8c3](https://github.com/lljj-x/vue-json-schema-form/commit/cd2d8c3ed72b9bc03e44eb5b86eb1b18fe67c34c)), closes [#45](https://github.com/lljj-x/vue-json-schema-form/issues/45)
## [1.1.3](https://github.com/lljj-x/vue-json-schema-form/compare/v1.1.2...v1.1.3) (2021-03-18)
**Note:** Version bump only for package @lljj/vjsf-utils
# [1.1.0](https://github.com/lljj-x/vue-json-schema-form/compare/v1.0.2...v1.1.0) (2021-03-06)
### Features
* **vue3-ant:** 更新初始化 ([71a2810](https://github.com/lljj-x/vue-json-schema-form/commit/71a281045af11f215333050396aa546dd5e78b88)), closes [#27](https://github.com/lljj-x/vue-json-schema-form/issues/27) [#27](https://github.com/lljj-x/vue-json-schema-form/issues/27) [#27](https://github.com/lljj-x/vue-json-schema-form/issues/27) [#40](https://github.com/lljj-x/vue-json-schema-form/issues/40)
## [1.0.2](https://github.com/lljj-x/vue-json-schema-form/compare/v1.0.1...v1.0.2) (2021-01-31)
### Bug Fixes
* **style:** 修复p标签等自带边距导致的样式问题 ([7b7e43e](https://github.com/lljj-x/vue-json-schema-form/commit/7b7e43eaa06c14a436b34c38d6d69aad27d67512))
## [0.6.1](https://github.com/lljj-x/vue-json-schema-form/compare/v0.6.0...v0.6.1) (2021-01-19)
**Note:** Version bump only for package @lljj/vjsf-utils
# [0.6.0](https://github.com/lljj-x/vue-json-schema-form/compare/v0.5.0...v0.6.0) (2021-01-19)
### Bug Fixes
* **lib:** 修复 anyOf 类型,编辑时不能匹配正确选项 ([d747722](https://github.com/lljj-x/vue-json-schema-form/commit/d7477227d004e47c2b186c3eb956e4c83d7077ad)), closes [#31](https://github.com/lljj-x/vue-json-schema-form/issues/31)
* **lib:** 解决打包后包含es6代码问题 ([f03352e](https://github.com/lljj-x/vue-json-schema-form/commit/f03352eb129c45963ad41e3e91eebe102c303913)), closes [#29](https://github.com/lljj-x/vue-json-schema-form/issues/29)
### Features
* **iview:** 添加iview i-switch 组件转换 ([8fae70c](https://github.com/lljj-x/vue-json-schema-form/commit/8fae70cb28f7fd02073d6d4318861b7f08f6199b))
* **vue3:** 完成 vue3 form组件 ([1c5deba](https://github.com/lljj-x/vue-json-schema-form/commit/1c5debae4cb92f3f54de64d8f38c98396022a344))