@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.
@@ -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.
@@ -4593,7 +4593,7 @@
4593
4593
  var slotBag = makeSlotBag();
4594
4594
  children.map(function (child) {
4595
4595
  if (!child) return;
4596
- if (is.String(child)) return slotBag.setSlot(null, child);
4596
+ if (is.String(child) || is.Number(child)) return slotBag.setSlot(null, "".concat(child));
4597
4597
 
4598
4598
  if (child.__fc__) {
4599
4599
  return _this8.renderSlot(slotBag, child.__fc__, ctx);
@@ -4645,7 +4645,7 @@
4645
4645
  var _this9 = this;
4646
4646
 
4647
4647
  if (!rule) return undefined;
4648
- if (is.String(rule)) return rule;
4648
+ if (is.String(rule) || is.Number(rule)) return "".concat(rule);
4649
4649
  var type;
4650
4650
 
4651
4651
  if (origin) {
@@ -6199,7 +6199,7 @@
6199
6199
  });
6200
6200
  }
6201
6201
 
6202
- if (key === 'ignore' && ctx.input || key === 'hidden' && ctx.input && (ctx.rule.ignore === 'hidden' || _this.options.ignoreHiddenFields)) {
6202
+ if (key === 'ignore' && ctx.input || key === 'hidden' && (ctx.rule.ignore === 'hidden' || _this.options.ignoreHiddenFields)) {
6203
6203
  _this.syncForm();
6204
6204
  } else if (key === 'link') {
6205
6205
  ctx.link();
@@ -6713,12 +6713,6 @@
6713
6713
  };
6714
6714
  }
6715
6715
 
6716
- if (!one.variable && !one.field) {
6717
- return {
6718
- v: false
6719
- };
6720
- }
6721
-
6722
6716
  var compare = one.compare;
6723
6717
 
6724
6718
  if (compare) {
@@ -9385,7 +9379,18 @@
9385
9379
  props: tidyRule(titleProp),
9386
9380
  key: "".concat(uni, "tit"),
9387
9381
  "class": 'fc-form-title',
9388
- type: titleProp.type || 'span'
9382
+ type: titleProp.type || 'span',
9383
+ on: {
9384
+ click: function click() {
9385
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9386
+ args[_key] = arguments[_key];
9387
+ }
9388
+
9389
+ _this5.$handle.targetHook(ctx, 'titleClick', {
9390
+ args: args
9391
+ });
9392
+ }
9393
+ }
9389
9394
  }]);
9390
9395
 
9391
9396
  delete _prop.props.show;
@@ -9854,7 +9859,7 @@
9854
9859
  function elmFormCreate() {
9855
9860
  return FormCreateFactory({
9856
9861
  ui: 'element-ui',
9857
- version: '3.2.32',
9862
+ version: '3.2.33',
9858
9863
  manager: manager,
9859
9864
  extendApi: extendApi,
9860
9865
  install: install,