@@ -12008,7 +12008,7 @@ var WIDGET_MAP = {
1200812008 widgetComponents : widgetComponents
1200912009} ;
1201012010
12011- var css_248z$1 = ".genFromComponent.ant-form-vertical .ant-form-item-label{line-height:26px;padding-bottom:6px;font-size:14px}.genFromComponent .ant-form-item{margin-bottom:22px}.genFromComponent .ant-form-item.ant-form-item-with-help{margin-bottom:2px}.genFromComponent .ant-form-explain{padding-top:2px;display:-webkit-box!important;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;text-align:left;line-height:1.2;font-size:12px}.genFromComponent .validateWidget .ant-form-explain{padding:5px 0;position:relative}.genFromComponent .ant-form-item-label>label.ant-form-item-no-colon:after{display:none}" ;
12011+ var css_248z$1 = ".genFromComponent.ant-form-vertical .ant-form-item-label{line-height:26px;padding-bottom:6px;font-size:14px}.genFromComponent .ant-form-item{margin-bottom:22px}.genFromComponent .ant-form-item.ant-form-item-with-help{margin-bottom:2px}.genFromComponent .ant-form-explain{padding-top:2px;display:-webkit-box!important;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;text-align:left;line-height:1.2;font-size:12px}.genFromComponent .validateWidget .ant-form-explain{padding:5px 0;position:relative}.genFromComponent .ant-form-item-label>label.ant-form-item-no-colon:after{display:none}.genFromComponent .validateWidget>.ant-form-item{margin-bottom:0!important;padding:0!important}.genFromComponent .validateWidget>.ant-form-item .formItemErrorBox{padding:5px 0;position:relative} " ;
1201212012styleInject ( css_248z$1 ) ;
1201312013
1201412014var globalOptions = {
@@ -12143,6 +12143,27 @@ var globalOptions = {
1214312143 }
1214412144} ;
1214512145var JsonSchemaForm = createForm ( globalOptions ) ;
12146+ var JsonSchemaFormAntdV4 = createForm ( _objectSpread2 ( _objectSpread2 ( { } , globalOptions ) , { } , {
12147+ COMPONENT_MAP : _objectSpread2 ( _objectSpread2 ( { } , globalOptions . COMPONENT_MAP ) , { } , {
12148+ formItem : defineComponent ( {
12149+ inheritAttrs : false ,
12150+ setup : function setup ( props , _ref4 ) {
12151+ var attrs = _ref4 . attrs ,
12152+ slots = _ref4 . slots ;
12153+ return function ( ) {
12154+ var style = attrs . style ,
12155+ className = attrs . class ,
12156+ originAttrs = _objectWithoutProperties ( attrs , [ "style" , "class" ] ) ;
12157+
12158+ return h ( 'div' , {
12159+ style : style ,
12160+ class : className
12161+ } , [ h ( globalOptions . COMPONENT_MAP . formItem , originAttrs , slots ) ] ) ;
12162+ } ;
12163+ }
12164+ } )
12165+ } )
12166+ } ) ) ;
1214612167
1214712168export default JsonSchemaForm ;
12148- export { SchemaField , vueProps$1 as fieldProps , formUtils , getDefaultFormState , globalOptions , i18n , modelValueComponent , validate$2 as schemaValidate , vue3Utils as vueUtils } ;
12169+ export { JsonSchemaFormAntdV4 , SchemaField , vueProps$1 as fieldProps , formUtils , getDefaultFormState , globalOptions , i18n , modelValueComponent , validate$2 as schemaValidate , vue3Utils as vueUtils } ;
0 commit comments