@form-create/element-ui 3.2.24 → 3.2.25
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/dist/form-create.esm.js +31 -15
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +31 -15
- package/dist/form-create.min.js +2 -2
- package/package.json +3 -3
package/dist/form-create.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @form-create/element-ui v3.2.
|
|
2
|
+
* @form-create/element-ui v3.2.25
|
|
3
3
|
* (c) 2018-2025 xaboy
|
|
4
4
|
* Github https://github.com/xaboy/form-create
|
|
5
5
|
* Released under the MIT License.
|
|
@@ -6757,19 +6757,34 @@ function useLifecycle(Handler) {
|
|
|
6757
6757
|
|
|
6758
6758
|
var hook = (_ctx$prop = ctx.prop) === null || _ctx$prop === void 0 ? void 0 : (_ctx$prop$hook = _ctx$prop.hook) === null || _ctx$prop$hook === void 0 ? void 0 : _ctx$prop$hook[name];
|
|
6759
6759
|
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6760
|
+
var run = function run(on, p) {
|
|
6761
|
+
if (on) {
|
|
6762
|
+
on = Array.isArray(on) ? on : [on];
|
|
6763
|
+
on.forEach(function (fn) {
|
|
6764
|
+
invoke(function () {
|
|
6765
|
+
return fn(_objectSpread2(_objectSpread2({}, args || {}), {}, {
|
|
6766
|
+
self: ctx.rule,
|
|
6767
|
+
rule: ctx.rule,
|
|
6768
|
+
parent: p === null || p === void 0 ? void 0 : p.rule,
|
|
6769
|
+
$f: _this2.api,
|
|
6770
|
+
api: _this2.api,
|
|
6771
|
+
option: _this2.vm.props.option
|
|
6772
|
+
}));
|
|
6773
|
+
});
|
|
6771
6774
|
});
|
|
6772
|
-
}
|
|
6775
|
+
}
|
|
6776
|
+
};
|
|
6777
|
+
|
|
6778
|
+
run(hook);
|
|
6779
|
+
var deepName = 'deep' + upper(name);
|
|
6780
|
+
var parent = ctx.parent;
|
|
6781
|
+
|
|
6782
|
+
while (parent) {
|
|
6783
|
+
var _parent$prop, _parent$prop$hook;
|
|
6784
|
+
|
|
6785
|
+
var deepHook = (_parent$prop = parent.prop) === null || _parent$prop === void 0 ? void 0 : (_parent$prop$hook = _parent$prop.hook) === null || _parent$prop$hook === void 0 ? void 0 : _parent$prop$hook[deepName];
|
|
6786
|
+
run(deepHook, parent);
|
|
6787
|
+
parent = parent.parent;
|
|
6773
6788
|
}
|
|
6774
6789
|
}
|
|
6775
6790
|
});
|
|
@@ -7147,7 +7162,8 @@ function CreateNodeFactory() {
|
|
|
7147
7162
|
}
|
|
7148
7163
|
},
|
|
7149
7164
|
h: function h(tag, data, children) {
|
|
7150
|
-
var
|
|
7165
|
+
var vm = this.vm || getCurrentInstance();
|
|
7166
|
+
var isNativeTag = vm.appContext.config.isNativeTag(tag);
|
|
7151
7167
|
|
|
7152
7168
|
if (isNativeTag) {
|
|
7153
7169
|
delete data.formCreateInject;
|
|
@@ -9603,7 +9619,7 @@ function install(FormCreate) {
|
|
|
9603
9619
|
function elmFormCreate() {
|
|
9604
9620
|
return FormCreateFactory({
|
|
9605
9621
|
ui: 'element-ui',
|
|
9606
|
-
version: '3.2.
|
|
9622
|
+
version: '3.2.25',
|
|
9607
9623
|
manager: manager,
|
|
9608
9624
|
extendApi: extendApi,
|
|
9609
9625
|
install: install,
|