Skip to content

Commit 38b853e

Browse files
build(lib): lib build
1 parent 51600f2 commit 38b853e

20 files changed

+91
-51
lines changed

packages/lib/vue2/vue2-form-element/dist/vueJsonSchemaForm.esm.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8490,7 +8490,8 @@ function getUiField(FIELDS_MAP, _ref3) {
84908490
} // 不支持的类型
84918491

84928492

8493-
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B ".concat(schema.type));
8493+
console.error('当前schema:', schema);
8494+
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B, type: ".concat(schema.type));
84948495
} // 解析用户配置的 uiSchema options
84958496

84968497
function getUserUiOptions(_ref4) {
@@ -10255,6 +10256,8 @@ var Widget = {
1025510256
}
1025610257
},
1025710258
render: function render(h) {
10259+
var _self$formProps;
10260+
1025810261
var self = this;
1025910262
var curNodePath = this.$props.curNodePath; // 判断是否为根节点
1026010263

@@ -10277,10 +10280,10 @@ var Widget = {
1027710280
fontSize: '16px',
1027810281
cursor: 'pointer'
1027910282
},
10280-
props: {
10283+
props: _objectSpread2({
1028110284
placement: 'top',
1028210285
trigger: 'hover'
10283-
}
10286+
}, (_self$formProps = self.formProps) === null || _self$formProps === void 0 ? void 0 : _self$formProps.popover)
1028410287
}, [descriptionVNode, h(__vue_component__$5, {
1028510288
slot: 'reference'
1028610289
})]) : null; // form-item style
@@ -11829,7 +11832,8 @@ function createForm() {
1182911832
_self$$props$formProp.labelSuffix;
1183011833
_self$$props$formProp.isMiniDes;
1183111834
_self$$props$formProp.defaultSelectFirstOption;
11832-
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption"]);
11835+
_self$$props$formProp.popover;
11836+
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption", "popover"]);
1183311837

1183411838
var _uiFormProps$inline = uiFormProps.inline,
1183511839
inline = _uiFormProps$inline === void 0 ? false : _uiFormProps$inline,

packages/lib/vue2/vue2-form-element/dist/vueJsonSchemaForm.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/lib/vue2/vue2-form-element/dist/vueJsonSchemaForm.umd.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8498,7 +8498,8 @@
84988498
} // 不支持的类型
84998499

85008500

8501-
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B ".concat(schema.type));
8501+
console.error('当前schema:', schema);
8502+
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B, type: ".concat(schema.type));
85028503
} // 解析用户配置的 uiSchema options
85038504

85048505
function getUserUiOptions(_ref4) {
@@ -10263,6 +10264,8 @@
1026310264
}
1026410265
},
1026510266
render: function render(h) {
10267+
var _self$formProps;
10268+
1026610269
var self = this;
1026710270
var curNodePath = this.$props.curNodePath; // 判断是否为根节点
1026810271

@@ -10285,10 +10288,10 @@
1028510288
fontSize: '16px',
1028610289
cursor: 'pointer'
1028710290
},
10288-
props: {
10291+
props: _objectSpread2({
1028910292
placement: 'top',
1029010293
trigger: 'hover'
10291-
}
10294+
}, (_self$formProps = self.formProps) === null || _self$formProps === void 0 ? void 0 : _self$formProps.popover)
1029210295
}, [descriptionVNode, h(__vue_component__$5, {
1029310296
slot: 'reference'
1029410297
})]) : null; // form-item style
@@ -11837,7 +11840,8 @@
1183711840
_self$$props$formProp.labelSuffix;
1183811841
_self$$props$formProp.isMiniDes;
1183911842
_self$$props$formProp.defaultSelectFirstOption;
11840-
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption"]);
11843+
_self$$props$formProp.popover;
11844+
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption", "popover"]);
1184111845

1184211846
var _uiFormProps$inline = uiFormProps.inline,
1184311847
inline = _uiFormProps$inline === void 0 ? false : _uiFormProps$inline,

packages/lib/vue2/vue2-form-element/dist/vueJsonSchemaForm.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/lib/vue2/vue2-form-iview3/dist/vue2-form-iview3.esm.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8490,7 +8490,8 @@ function getUiField(FIELDS_MAP, _ref3) {
84908490
} // 不支持的类型
84918491

84928492

8493-
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B ".concat(schema.type));
8493+
console.error('当前schema:', schema);
8494+
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B, type: ".concat(schema.type));
84948495
} // 解析用户配置的 uiSchema options
84958496

84968497
function getUserUiOptions(_ref4) {
@@ -10255,6 +10256,8 @@ var Widget = {
1025510256
}
1025610257
},
1025710258
render: function render(h) {
10259+
var _self$formProps;
10260+
1025810261
var self = this;
1025910262
var curNodePath = this.$props.curNodePath; // 判断是否为根节点
1026010263

@@ -10277,10 +10280,10 @@ var Widget = {
1027710280
fontSize: '16px',
1027810281
cursor: 'pointer'
1027910282
},
10280-
props: {
10283+
props: _objectSpread2({
1028110284
placement: 'top',
1028210285
trigger: 'hover'
10283-
}
10286+
}, (_self$formProps = self.formProps) === null || _self$formProps === void 0 ? void 0 : _self$formProps.popover)
1028410287
}, [descriptionVNode, h(__vue_component__$5, {
1028510288
slot: 'reference'
1028610289
})]) : null; // form-item style
@@ -11829,7 +11832,8 @@ function createForm() {
1182911832
_self$$props$formProp.labelSuffix;
1183011833
_self$$props$formProp.isMiniDes;
1183111834
_self$$props$formProp.defaultSelectFirstOption;
11832-
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption"]);
11835+
_self$$props$formProp.popover;
11836+
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption", "popover"]);
1183311837

1183411838
var _uiFormProps$inline = uiFormProps.inline,
1183511839
inline = _uiFormProps$inline === void 0 ? false : _uiFormProps$inline,

packages/lib/vue2/vue2-form-iview3/dist/vue2-form-iview3.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/lib/vue2/vue2-form-iview3/dist/vue2-form-iview3.umd.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8498,7 +8498,8 @@
84988498
} // 不支持的类型
84998499

85008500

8501-
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B ".concat(schema.type));
8501+
console.error('当前schema:', schema);
8502+
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B, type: ".concat(schema.type));
85028503
} // 解析用户配置的 uiSchema options
85038504

85048505
function getUserUiOptions(_ref4) {
@@ -10263,6 +10264,8 @@
1026310264
}
1026410265
},
1026510266
render: function render(h) {
10267+
var _self$formProps;
10268+
1026610269
var self = this;
1026710270
var curNodePath = this.$props.curNodePath; // 判断是否为根节点
1026810271

@@ -10285,10 +10288,10 @@
1028510288
fontSize: '16px',
1028610289
cursor: 'pointer'
1028710290
},
10288-
props: {
10291+
props: _objectSpread2({
1028910292
placement: 'top',
1029010293
trigger: 'hover'
10291-
}
10294+
}, (_self$formProps = self.formProps) === null || _self$formProps === void 0 ? void 0 : _self$formProps.popover)
1029210295
}, [descriptionVNode, h(__vue_component__$5, {
1029310296
slot: 'reference'
1029410297
})]) : null; // form-item style
@@ -11837,7 +11840,8 @@
1183711840
_self$$props$formProp.labelSuffix;
1183811841
_self$$props$formProp.isMiniDes;
1183911842
_self$$props$formProp.defaultSelectFirstOption;
11840-
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption"]);
11843+
_self$$props$formProp.popover;
11844+
var uiFormProps = _objectWithoutProperties(_self$$props$formProp, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption", "popover"]);
1184111845

1184211846
var _uiFormProps$inline = uiFormProps.inline,
1184311847
inline = _uiFormProps$inline === void 0 ? false : _uiFormProps$inline,

packages/lib/vue2/vue2-form-iview3/dist/vue2-form-iview3.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/lib/vue3/vue3-form-ant/dist/vue3-form-ant.esm.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8509,7 +8509,8 @@ function getUiField(FIELDS_MAP, _ref3) {
85098509
} // 不支持的类型
85108510

85118511

8512-
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B ".concat(schema.type));
8512+
console.error('当前schema:', schema);
8513+
throw new Error("\u4E0D\u652F\u6301\u7684field\u7C7B\u578B, type: ".concat(schema.type));
85138514
} // 解析用户配置的 uiSchema options
85148515

85158516
function getUserUiOptions(_ref4) {
@@ -10007,6 +10008,8 @@ var Widget = {
1000710008
}
1000810009

1000910010
return function () {
10011+
var _props$formProps;
10012+
1001010013
// 判断是否为根节点
1001110014
var isRootNode = isRootNodePath(props.curNodePath);
1001210015
var isMiniDes = props.formProps && props.formProps.isMiniDes;
@@ -10019,15 +10022,15 @@ var Widget = {
1001910022
}
1002010023
}) : null;
1002110024
var COMPONENT_MAP = props.globalOptions.COMPONENT_MAP;
10022-
var miniDescriptionVNode = miniDesModel && descriptionVNode ? h(resolveComponent(COMPONENT_MAP.popover), {
10025+
var miniDescriptionVNode = miniDesModel && descriptionVNode ? h(resolveComponent(COMPONENT_MAP.popover), _objectSpread2({
1002310026
style: {
1002410027
margin: '0 2px',
1002510028
fontSize: '16px',
1002610029
cursor: 'pointer'
1002710030
},
1002810031
placement: 'top',
1002910032
trigger: 'hover'
10030-
}, {
10033+
}, (_props$formProps = props.formProps) === null || _props$formProps === void 0 ? void 0 : _props$formProps.popover), {
1003110034
default: function _default() {
1003210035
return descriptionVNode;
1003310036
},
@@ -11491,7 +11494,8 @@ function createForm() {
1149111494
_props$formProps.labelSuffix;
1149211495
_props$formProps.isMiniDes;
1149311496
_props$formProps.defaultSelectFirstOption;
11494-
var uiFormProps = _objectWithoutProperties(_props$formProps, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption"]);
11497+
_props$formProps.popover;
11498+
var uiFormProps = _objectWithoutProperties(_props$formProps, ["layoutColumn", "inlineFooter", "labelSuffix", "isMiniDes", "defaultSelectFirstOption", "popover"]);
1149511499

1149611500
var _uiFormProps$inline = uiFormProps.inline,
1149711501
inline = _uiFormProps$inline === void 0 ? false : _uiFormProps$inline,

0 commit comments

Comments
 (0)