@form-create/element-ui 3.2.32 → 3.2.33

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 CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  **FormCreate 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的低代码表单生成组件。支持6个UI框架,适配移动端,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。**
26
26
 
27
- [![FcDesigner](https://static.form-create.com/file/img/banner-m2.jpg)](https://pro.form-create.com/view)
27
+ [![FcDesigner](https://static.form-create.com/file/img/banner-m2.jpg?20251027)](https://pro.form-create.com/view)
28
28
 
29
29
  ## 特点
30
30
  - 使用JSON数据生成表单
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @form-create/element-ui v3.2.32
2
+ * @form-create/element-ui v3.2.33
3
3
  * (c) 2018-2025 xaboy
4
4
  * Github https://github.com/xaboy/form-create
5
5
  * Released under the MIT License.
@@ -4589,7 +4589,7 @@ function useRender$1(Render) {
4589
4589
  var slotBag = makeSlotBag();
4590
4590
  children.map(function (child) {
4591
4591
  if (!child) return;
4592
- if (is.String(child)) return slotBag.setSlot(null, child);
4592
+ if (is.String(child) || is.Number(child)) return slotBag.setSlot(null, "".concat(child));
4593
4593
 
4594
4594
  if (child.__fc__) {
4595
4595
  return _this8.renderSlot(slotBag, child.__fc__, ctx);
@@ -4641,7 +4641,7 @@ function useRender$1(Render) {
4641
4641
  var _this9 = this;
4642
4642
 
4643
4643
  if (!rule) return undefined;
4644
- if (is.String(rule)) return rule;
4644
+ if (is.String(rule) || is.Number(rule)) return "".concat(rule);
4645
4645
  var type;
4646
4646
 
4647
4647
  if (origin) {
@@ -6195,7 +6195,7 @@ function useContext(Handler) {
6195
6195
  });
6196
6196
  }
6197
6197
 
6198
- if (key === 'ignore' && ctx.input || key === 'hidden' && ctx.input && (ctx.rule.ignore === 'hidden' || _this.options.ignoreHiddenFields)) {
6198
+ if (key === 'ignore' && ctx.input || key === 'hidden' && (ctx.rule.ignore === 'hidden' || _this.options.ignoreHiddenFields)) {
6199
6199
  _this.syncForm();
6200
6200
  } else if (key === 'link') {
6201
6201
  ctx.link();
@@ -6709,12 +6709,6 @@ function useContext(Handler) {
6709
6709
  };
6710
6710
  }
6711
6711
 
6712
- if (!one.variable && !one.field) {
6713
- return {
6714
- v: false
6715
- };
6716
- }
6717
-
6718
6712
  var compare = one.compare;
6719
6713
 
6720
6714
  if (compare) {
@@ -9381,7 +9375,18 @@ var manager = {
9381
9375
  props: tidyRule(titleProp),
9382
9376
  key: "".concat(uni, "tit"),
9383
9377
  "class": 'fc-form-title',
9384
- type: titleProp.type || 'span'
9378
+ type: titleProp.type || 'span',
9379
+ on: {
9380
+ click: function click() {
9381
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9382
+ args[_key] = arguments[_key];
9383
+ }
9384
+
9385
+ _this5.$handle.targetHook(ctx, 'titleClick', {
9386
+ args: args
9387
+ });
9388
+ }
9389
+ }
9385
9390
  }]);
9386
9391
 
9387
9392
  delete _prop.props.show;
@@ -9850,7 +9855,7 @@ function install(FormCreate) {
9850
9855
  function elmFormCreate() {
9851
9856
  return FormCreateFactory({
9852
9857
  ui: 'element-ui',
9853
- version: '3.2.32',
9858
+ version: '3.2.33',
9854
9859
  manager: manager,
9855
9860
  extendApi: extendApi,
9856
9861
  install: install,