@next-bricks/presentational-bricks 1.326.2 → 1.326.4
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/deploy/contract.yaml +109 -109
- package/dist/bricks.json +20 -19
- package/dist/{index.89df3c51.js → index.74e17f3c.js} +2 -2
- package/dist/{index.89df3c51.js.map → index.74e17f3c.js.map} +1 -1
- package/dist/property-editors/property-editors.81820257.js +2 -0
- package/dist/property-editors/property-editors.81820257.js.map +1 -0
- package/package.json +3 -2
- package/dist/property-editors/property-editors.8c396327.js +0 -2
- package/dist/property-editors/property-editors.8c396327.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e){var t={};function o(a){if(t[a])return t[a].exports;var l=t[a]={i:a,l:!1,exports:{}};return e[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)o.d(a,l,function(t){return e[t]}.bind(null,l));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=6)}([function(e,t,o){e.exports=o(3)("tYg3")},function(e,t,o){e.exports=o(3)("3tO9")},function(e,t,o){e.exports=o(3)("LvDl")},function(e,t){e.exports=dll},function(e,t,o){e.exports=o(3)("A+yw")},function(e,t,o){var a;o.p="".concat(null!==(a=window.PUBLIC_ROOT)&&void 0!==a?a:"","bricks/presentational-bricks/dist/property-editors/")},function(e,t,o){"use strict";o.r(t);o(5);var a=o(0),l={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"placeholder",title:"占位文本",type:"string"},{name:"q",title:"回填文本",type:"string"},{name:"shouldTrimQuery",title:"自动去除输入的首尾空格",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"disableAutofocus",title:"禁用自动聚焦",type:"boolean"},{name:"allowClear",title:"支持清空",type:"boolean"},{name:"searchTypeEnabled",title:"支持切换搜索类型",type:"boolean","x-reactions":[{target:"searchType",fulfill:{state:{visible:"{{$self.value}}"}}}]},{name:"searchType",title:"默认搜索类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"全文搜索",value:"all"},{label:"IP搜索",value:"ip"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"all"}}},{name:"debounceTime",title:"搜索延迟时间",decorator:"FormItem",type:"number",component:{name:"NumberPicker",props:{placeholder:"0"}}},{name:"shouldUpdateUrlParams",title:"更新URL",type:"boolean",component:{props:{size:"small",defaultValue:!0}},"x-reactions":[{target:"qField",fulfill:{state:{visible:"{{$self.value}}"}}}]},{name:"qField",title:"更新到URL上的Key值",type:"string",component:{props:{placeholder:"q"}}},{name:"defaultArgs",title:"搜索重置默认参数",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"categoryTitle_style",type:"void",decorator:{name:"CategoryTitle",props:{text:"样式"}}},{name:"size",title:"尺寸大小",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"超大",value:"extraLarge"},{label:"大",value:"large"},{label:"标准",value:"default"},{label:"小",value:"small"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"default"}}},{name:"shape",title:"形状",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"默认",value:"default"},{label:"圆角",value:"round"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"default"}}},{name:"inputStyle",title:"输入框样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"buttonStyle",title:"按钮样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-general-search",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:n,scope:i,form:r}=t;return e.useEffect(()=>{r.setInitialValues({searchTypeEnabled:!1})},[r]),e.createElement(o,{schema:a(l,n),scope:i})}}));var n={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"componentType",title:"标签类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"默认",value:"Tag"},{label:"可选标签",value:"CheckableTag"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"Tag"}},"x-reactions":[{target:"multipleCheck",fulfill:{state:{visible:"{{$self.value==='CheckableTag'}}"}}},{dependencies:["multipleCheck"],target:"cancelable",fulfill:{state:{visible:"{{$self.value==='CheckableTag'&&$deps[0]===false}}"}}},{target:"default",fulfill:{state:{visible:"{{$self.value==='CheckableTag'}}"}}},{dependencies:["closable"],target:"color",fulfill:{state:{visible:"{{$self.value==='Tag'&&$deps[0]===false}}"}}},{target:"configProps",fulfill:{state:{visible:"{{$self.value==='Tag'}}"}}}]},{name:"tagList",title:"标签列表",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"multipleCheck",title:"允许多选",type:"boolean",component:{props:{size:"small",defaultValue:!0}},"x-reactions":[{dependencies:["componentType"],target:"cancelable",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='checkableTag'}}"}}}]},{name:"cancelable",title:"允许取消选中",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"default",title:"默认值",type:"string"},{name:"categoryTitle_style",type:"void",decorator:{name:"CategoryTitle",props:{text:"样式"}}},{name:"showTagCircle",title:"标签内显示圆点",type:"boolean"},{name:"showCard",title:"显示卡片容器",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"closable",title:"允许关闭",type:"boolean","x-reactions":[{dependencies:["componentType"],target:"color",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='Tag'}}"}}}]},{name:"textEllipsis",title:"是否溢出省略",type:"boolean"},{name:"label",title:"文案",type:"string"},{name:"color",title:"颜色",type:"string",component:"ColorPicker"},{name:"tagStyle",title:"自定义样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"tagCheckedStyle",title:"选中自定义样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"tagHoverStyle",title:"悬浮自定义样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"categoryTitle_other",type:"void",decorator:{name:"CategoryTitle",props:{text:"其他"}}},{name:"disabledTooltip",title:"禁用提示",type:"string"},{name:"tooltipProps",title:"提示配置",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"configProps",title:"额外配置",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"afterBrick",title:"尾部插入构件",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-tag",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:i,form:r}=t;return e.useEffect(()=>{r.setInitialValues({componentType:"Tag",multipleCheck:!0,closable:!1})},[r]),e.createElement(o,{schema:a(n,l),scope:i})}}));var i={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"type",title:"类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal",tooltip:"Radiation是个特殊的类型,样式是特定的"}},enum:[{label:"Horizontal",value:"horizontal"},{label:"Vertical",value:"vertical"},{label:"Radiation",value:"radiation"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"horizontal"}},"x-reactions":[{target:"proportion",fulfill:{state:{visible:"{{$self.value==='radiation'}}"}}}]},{name:"proportion",title:"数值",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"如需要展示1/3,yaml格式填入数组[1,3]"}}},{name:"dividerTitle",title:"标题",type:"string"},{name:"orientation",title:"标题位置",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"左",value:"left"},{label:"中",value:"center"},{label:"右",value:"right"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"center"}}},{name:"dashed",title:"虚线效果",type:"boolean"},{name:"plain",title:"文字普通正文样式",type:"boolean"},{name:"dividerStyle",title:"分割线样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-divider",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:n,form:r}=t;return e.useEffect(()=>{r.setInitialValues({type:"horizontal"})},[r]),e.createElement(o,{schema:a(i,l),scope:n})}}));var r=o(1),s=o.n(r),p={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"cardLayoutType",title:"布局类型",type:"string",descorator:"FormItem",component:{name:"Select",props:{placeholder:"icon-as-background",allowClear:!0,options:[{label:"icon-as-background",value:"icon-as-background"},{label:"block-icon-align-left",value:"block-icon-align-left"},{label:"icon-align-left",value:"icon-align-left"},{label:"icon-align-middle",value:"icon-align-middle"},{label:"icon-align-right",value:"icon-align-right"},{label:"icon-small-align-left",value:"icon-small-align-left"}]}},"x-reactions":[{target:"useAfterDescriptionSlot",fulfill:{state:{visible:"{{$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconColor",fulfill:{state:{visible:"{{$deps[0]===false&&($self.value==='icon-small-align-left'||$self.value==='icon-align-right'||$self.value==='icon-align-left')}}"}}},{dependencies:["showImg"],target:"iconSize",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconOffsetX",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconOffsetY",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconOpacity",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}}]},{name:"useOldDesc",title:"支持多行描述",type:"boolean","x-reactions":[{target:"cardSubtitle",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"descriptionList",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"descMaxLine",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"hideDescCircle",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"descriptionDataType",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"newDescription",fulfill:{state:{visible:"{{$self.value===false}}"}}}]},{name:"cardTitle",title:"标题",type:"string"},{name:"cardSubtitle",title:"副标题",type:"string"},{name:"descriptionList",title:"描述",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"以字符串或字符串数组的形式填入描述列表"}}},{name:"descMaxLine",title:"描述最大行数",type:"number",component:{name:"NumberPicker",props:{placeholder:3}},decorator:"FormItem"},{name:"hideDescCircle",title:"隐藏描述前的圆点",type:"boolean"},{name:"descriptionDataType",title:"描述类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal",tooltip:"若描述为数组时,应选择list;若描述为字符串时,应选择section"}},enum:[{label:"list",value:"list"},{label:"section",value:"section"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button"}}},{name:"newDescription",title:"描述",type:"string"},{name:"alwaysShowDescription",title:"总是保留描述区",type:"boolean",decorator:{name:"FormItem",props:{layout:"horizontal",tooltip:"保留描述区,则没有描述时也会有相应的空间留白"}}},{name:"topInformation",title:"头部辅助信息",type:"string"},{name:"categoryTitle_style",type:"void",decorator:{name:"CategoryTitle",props:{text:"样式"}}},{name:"bordered",title:"显示外边框",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"hoverable",title:"启用hover样式",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"showOperationAreaWhenHovering",title:"hover时显示操作区",type:"boolean"},{name:"disabled",title:"禁用状态",type:"boolean"},{name:"categoryTitle_link",type:"void",decorator:{name:"CategoryTitle",props:{text:"跳转链接"}}},{name:"href",title:"跳转href",type:"string",decorator:{props:{tooltip:"优先级最高"}}},{name:"url",title:"跳转url",type:"string",decorator:{props:{tooltip:"优先级次于href"}}},{name:"urlTemplate",title:"跳转模板url",type:"string",decorator:{props:{tooltip:"优先级次于url,支持模板变量"}}},{name:"target",title:"跳转目标",type:"string",decorator:{props:{tooltip:"例如可设置为_blank"}}},{name:"categoryTitle_icon",type:"void",decorator:{name:"CategoryTitle",props:{text:"图标"}}},{name:"showImg",title:"使用图片图标",type:"boolean","x-reactions":[{target:"icon",fulfill:{state:{visible:"{{$self.value===false}}"}}},{dependencies:["cardLayoutType"],target:"iconColor",fulfill:{state:{visible:"{{$self.value===false&&($deps[0]==='icon-small-align-left'||$deps[0]==='icon-align-right'||$deps[0]==='icon-align-left')}}"}}},{dependencies:["cardLayoutType"],target:"iconSize",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{dependencies:["cardLayoutType"],target:"iconOffsetX",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{dependencies:["cardLayoutType"],target:"iconOffsetY",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{dependencies:["cardLayoutType"],target:"iconOpacity",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{target:"reverseBgColor",fulfill:{state:{visible:"{{$self.value===false}}"}}},{target:"iconStyle",fulfill:{state:{visible:"{{$self.value===false}}"}}},{target:"imgSrc",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"imgSize",fulfill:{state:{visible:"{{$self.value===true}}"}}}]},{name:"icon",title:"图标",type:"string",component:"IconSelect"},{name:"iconColor",title:"图标颜色",type:"string",component:"ColorPicker"},{name:"iconSize",title:"图标大小",type:"number",component:{name:"NumberPicker",props:{placeholder:100}},decorator:"FormItem"},{name:"iconOffsetX",title:"图标X轴偏移",type:"number",component:"NumberPicker",decorator:"FormItem"},{name:"iconOffsetY",title:"图标Y轴偏移",type:"number",component:"NumberPicker",decorator:"FormItem"},{name:"iconOpacity",title:"图标透明度",type:"number",component:{name:"NumberPicker",props:{placeholder:.45}},decorator:"FormItem"},{name:"reverseBgColor",title:"反转背景色",type:"boolean"},{name:"iconStyle",title:"图标样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"imgSrc",title:"图标链接",type:"string"},{name:"imgSize",title:"图标大小",type:"number",component:"NumberPicker",decorator:{name:"FormItem",props:{tooltip:"默认铺满"}}},{name:"shape",title:"形状",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"圆形",value:"circle"},{label:"方形",value:"square"},{label:"圆角",value:"round-square"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"circle"}}},{name:"categoryTitle_advanced",type:"void",decorator:{name:"CategoryTitle",props:{text:"高级"}}},{name:"tagConfig",title:"右上角标签",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced"}},{name:"dataSource",title:"数据源",type:"string",required:!0,component:{name:"Select",props:{placeholder:"请选择数据源",allowClear:!0}}},{name:"fields",title:"字段映射",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"配合数据源一起使用来获得运行时必要字段"}}},{name:"useAfterDescriptionSlot",title:"支持afterDescription插槽",type:"boolean"},{name:"useLinkBehavior",title:"内部使用a标签实现点击",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"configProps",title:"其他配置",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"完全透传给antd的Card属性"}}}]},c=o(2),m=e=>s()({},Object(c.omit)(e,["useOldDesc"]));Object(a.getRuntime)().customEditors.define("presentational-bricks.card-item",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:n,form:i,effects:r}=t;return e.useEffect(()=>{var{onAdvancedChange:e,onSubmit:t}=r,{dataList:o=[]}=n;i.setInitialValues({cardLayoutType:"icon-as-background",useOldDesc:!1,showImg:!1}),i.query("dataSource").take(e=>{e.setComponentProps({options:null==o?void 0:o.map(e=>({label:null==e?void 0:e.name,value:null==e?void 0:e.value}))})}),i.addEffects("onAdvancedChange",()=>{e((e,t)=>{var o,a,l=null!==(o=null===(a=t.getState())||void 0===a?void 0:a.values)&&void 0!==o?o:{};return e?m(l):(e=>{var t=!!Object(c.get)(e,"descriptionList");return s()(s()({},e),{},{useOldDesc:t})})(l)})}),i.addEffects("onSubmit",()=>{t(e=>m(e))})},[i]),e.createElement(o,{schema:a(p,l),scope:n})}}));var u={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"label",title:"文本",type:"string"},{name:"link",title:"链接",type:"string",component:{name:"InputWithUrl",props:{transform:{url:"url",href:"href"}}}},{type:"boolean",title:"隐藏外链标识",name:"hideExternalIcon"},{name:"type",title:"类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"Radio.Group",props:{size:"small",options:[{label:"链接",value:"link"},{label:"文本",value:"text"}],optionType:"button",defaultValue:"link"}}},{name:"target",title:"跳转方式",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"Radio.Group",props:{size:"small",optionType:"button",options:[{label:"当前页面加载",value:"_self"},{label:"新标签打开",value:"_blank"}],defaultValue:"_self"}}},{name:"tooltip",title:"文字提示",type:"string"},{name:"disabled",title:"禁用",type:"boolean"},{name:"categoryTitle_style",decorator:{name:"CategoryTitle",props:{text:"外观"}}},{name:"icon",title:"图标",type:"string",component:"IconSelect",decorator:{name:"FormItem",props:{layout:"horizontal"}},"x-reactions":[{target:"iconAlign",fulfill:{state:{display:'{{$self.value === undefined ? "none" : "visible"}}'}}}]},{name:"iconAlign",title:"图标位置",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"Radio.Group",props:{size:"small",options:[{label:"文本左侧",value:"left"},{label:"文本右侧",value:"right"}],optionType:"button",defaultValue:"left"}}},{type:"boolean",title:"显示下划线",name:"underLine"},{name:"labelColor",type:"string",title:"文本颜色",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:"ColorPicker"}]},d=o(4);Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-link",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,scope:l,form:n,effects:i}=t;return e.useEffect(()=>{var{onSubmit:e,onFormValuesChange:t,init:o}=i;n.addEffects("submit",()=>{e(e=>Object(c.omit)(e,["link"]))}),n.addEffects("onFormValuesChange",()=>{t(e=>{e.setFieldState("hideExternalIcon",t=>{t.display=Object(d.hasOwnProperty)(e.values,"href")?"visible":"none"})})})},[i,n]),e.useEffect(()=>{n.setInitialValues({hideExternalIcon:!1})},[n]),e.createElement(o,{schema:a(u),scope:l})}}));var f={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"icon",title:"图标",type:"string",component:"IconSelect"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.basic-icon",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,scope:l}=t;return e.createElement(o,{schema:a(f),scope:l})}}));var y=[{label:"自定义插画",value:"illustrations"}],b=[{label:"403",value:"403"},{label:"404",value:"404"},{label:"500",value:"500"},{label:"说明",value:"info"},{label:"成功",value:"success"},{label:"警告",value:"warning"},{label:"错误",value:"error"}],v=[{label:"浏览器版本过低",value:"browser-too-old"},{label:"空内容",value:"empty"},{label:"没有数据",value:"no-data"},{label:"没有历史版本",value:"no-history-version"},{label:"没有浏览记录",value:"no-visit-record"},{label:"搜索为空",value:"search-empty"},{label:"引导创建",value:"welcome-to-create"}],g={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"status",title:"类型",type:"string",decorator:{name:"FormItem",props:{tooltip:"类型决定展示的样式"}},component:{name:"Select",props:{options:[...y,...b,...v]}},"x-reactions":[{target:"icon",fulfill:{state:{visible:"{{BrickResultStatusOptions.some(item => item.value === $self.value)}}"}}},{target:"illustrationsConfig",fulfill:{state:{visible:"{{IllustrationsStatusOptions.some(item => item.value === $self.value)}}"}}},{target:"emptyResultSize",fulfill:{state:{visible:"{{EmptyResultStatusOptions.some(item => item.value === $self.value)}}"}}}]},{name:"useNewIllustration",title:"使用新图标",type:"boolean",component:{props:{size:"small",defaultValue:!0}},decorator:{name:"FormItem",props:{tooltip:"使用新版本的图标替换插画库default分类图标",layout:"horizontal"}}},{name:"customTitle",title:"主标题",type:"string"},{name:"subTitle",title:"副标题",type:"string"},{name:"icon",type:"string",title:"自定义图标",component:"IconSelect"},{name:"illustrationsConfig",title:"自定义插画配置",type:"string",component:{name:"CodeEditor",props:{placeholder:"category: default\nimageStyle: \n backgroundColor: red \nname: search-empty\nsize: large"}},decorator:"FormItemWithoutAdvanced"},{name:"emptyResultSize",title:"空状态插画大小",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"middle",options:[{label:"S",value:"small"},{label:"M",value:"middle"},{label:"L",value:"large"},{label:"XL",value:"xlarge"}]}}}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-result",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:n,form:i}=t;return e.useEffect(()=>{i.setInitialValues({useNewIllustration:!0,status:void 0,emptyResultSize:"middle"})},[i]),e.createElement(o,{schema:a(g,l),scope:s()(s()({},n),{},{IllustrationsStatusOptions:y,BrickResultStatusOptions:b,EmptyResultStatusOptions:v})})}}))}]);
|
|
2
|
+
//# sourceMappingURL=property-editors.81820257.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///delegated ./node_modules/@next-core/brick-kit/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/objectSpread2.js from dll-reference dll","webpack:///delegated ./node_modules/lodash/lodash.js from dll-reference dll","webpack:///external \"dll\"","webpack:///delegated ./node_modules/@next-core/brick-utils/dist/index.esm.js from dll-reference dll","webpack:///./bricks/presentational-bricks/src/property-editors/_/public-path.js","webpack:///./bricks/presentational-bricks/src/property-editors/brick-general-search/brickGeneralSearch.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-general-search/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-tag/brickTag.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-tag/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-divider/brickDivider.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-divider/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/card-item/cardItem.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/card-item/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-link/brickLink.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-link/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/basic-icon/basicIcon.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/basic-icon/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-result/brickResult.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-result/index.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","dll","__webpack_public_path__","window","PUBLIC_ROOT","brickGeneralSearchSchema","type","component","props","layout","children","decorator","text","title","size","defaultValue","target","fulfill","state","visible","enum","label","optionType","placeholder","getRuntime","customEditors","define","React","SchemaFieldComponent","formilySchemaFormatter","advancedMode","scope","form","useEffect","setInitialValues","searchTypeEnabled","createElement","schema","brickTagSchema","dependencies","componentType","multipleCheck","closable","brickDividerSchema","tooltip","cardItemSchema","descorator","allowClear","options","required","transformNormal2Advanced","rawValue","omit","effects","onAdvancedChange","onSubmit","dataList","cardLayoutType","useOldDesc","showImg","query","take","field","setComponentProps","map","item","addEffects","getState","values","transformAdvanced2Normal","eoLinkSchema","transform","url","href","display","onFormValuesChange","init","setFieldState","hideExternalIcon","basicIconSchema","IllustrationsStatusOptions","BrickResultStatusOptions","EmptyResultStatusOptions","brickResultSchema","useNewIllustration","status","undefined","emptyResultSize"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,O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KAAM,cACNgC,MAAO,CACLM,KAAM,QACNQ,WAAY,SACZP,aAAc,SACdiC,QAAS,CACP,CACE3B,MAAO,IACPnC,MAAO,SAET,CACEmC,MAAO,IACPnC,MAAO,UAET,CACEmC,MAAO,IACPnC,MAAO,SAET,CACEmC,MAAO,KACPnC,MAAO,gBClLpBsC,uBAAqBC,cAAcC,OAClC,sCA/BF,SAAqCC,GACnC,OAAO,SAA8BnB,GACnC,IAAM,qBACJoB,EAAoB,uBACpBC,EAAsB,aACtBC,EAAY,MACZC,EAAK,KACLC,GACExB,EAUJ,OARAmB,EAAMM,UAAU,KACdD,EAAKE,iBAAiB,CACpBkD,oBAAoB,EACpBC,YAAQC,EACRC,gBAAiB,YAElB,CAACvD,IAEGL,EAAMS,cAAcR,EAAsB,CAC/CS,OAAQR,EAAuBsD,EAA0BrD,GACzDC,MAAO,WACFA,GAAK,IACRiD,6BACAC,2BACAC","file":"property-editors.81820257.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","module.exports = (__webpack_require__(3))(\"tYg3\");","module.exports = (__webpack_require__(3))(\"3tO9\");","module.exports = (__webpack_require__(3))(\"LvDl\");","module.exports = dll;","module.exports = (__webpack_require__(3))(\"A+yw\");","__webpack_public_path__ = `${window.PUBLIC_ROOT ?? \"\"}bricks/presentational-bricks/dist/property-editors/`;","export const brickGeneralSearchSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"placeholder\",\n title: \"占位文本\",\n type: \"string\",\n },\n {\n name: \"q\",\n title: \"回填文本\",\n type: \"string\",\n },\n {\n name: \"shouldTrimQuery\",\n title: \"自动去除输入的首尾空格\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"disableAutofocus\",\n title: \"禁用自动聚焦\",\n type: \"boolean\",\n },\n {\n name: \"allowClear\",\n title: \"支持清空\",\n type: \"boolean\",\n },\n {\n name: \"searchTypeEnabled\",\n title: \"支持切换搜索类型\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"searchType\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"searchType\",\n title: \"默认搜索类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"全文搜索\",\n value: \"all\",\n },\n {\n label: \"IP搜索\",\n value: \"ip\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"all\",\n },\n },\n },\n {\n name: \"debounceTime\",\n title: \"搜索延迟时间\",\n decorator: \"FormItem\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: \"0\",\n },\n },\n },\n {\n name: \"shouldUpdateUrlParams\",\n title: \"更新URL\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n \"x-reactions\": [\n {\n target: \"qField\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"qField\",\n title: \"更新到URL上的Key值\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"q\",\n },\n },\n },\n {\n name: \"defaultArgs\",\n title: \"搜索重置默认参数\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"size\",\n title: \"尺寸大小\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"超大\",\n value: \"extraLarge\",\n },\n {\n label: \"大\",\n value: \"large\",\n },\n {\n label: \"标准\",\n value: \"default\",\n },\n {\n label: \"小\",\n value: \"small\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"default\",\n },\n },\n },\n {\n name: \"shape\",\n title: \"形状\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"默认\",\n value: \"default\",\n },\n {\n label: \"圆角\",\n value: \"round\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"default\",\n },\n },\n },\n {\n name: \"inputStyle\",\n title: \"输入框样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"buttonStyle\",\n title: \"按钮样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { brickGeneralSearchSchema } from \"./brickGeneralSearch.schema\";\n\nfunction BrickGeneralSearchComponentFactory(React: typeof _React) {\n return function BrickGeneralSearchComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({ searchTypeEnabled: false });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(\n brickGeneralSearchSchema as any,\n advancedMode!\n ),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-general-search\",\n BrickGeneralSearchComponentFactory\n);\n","export const brickTagSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"componentType\",\n title: \"标签类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"默认\",\n value: \"Tag\",\n },\n {\n label: \"可选标签\",\n value: \"CheckableTag\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"Tag\",\n },\n },\n \"x-reactions\": [\n {\n target: \"multipleCheck\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='CheckableTag'}}\",\n },\n },\n },\n {\n dependencies: [\"multipleCheck\"],\n target: \"cancelable\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='CheckableTag'&&$deps[0]===false}}\",\n },\n },\n },\n {\n target: \"default\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='CheckableTag'}}\",\n },\n },\n },\n {\n dependencies: [\"closable\"],\n target: \"color\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='Tag'&&$deps[0]===false}}\",\n },\n },\n },\n {\n target: \"configProps\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='Tag'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"tagList\",\n title: \"标签列表\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"multipleCheck\",\n title: \"允许多选\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n \"x-reactions\": [\n {\n dependencies: [\"componentType\"],\n target: \"cancelable\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false&&$deps[0]==='checkableTag'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"cancelable\",\n title: \"允许取消选中\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"default\",\n title: \"默认值\",\n type: \"string\",\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"showTagCircle\",\n title: \"标签内显示圆点\",\n type: \"boolean\",\n },\n {\n name: \"showCard\",\n title: \"显示卡片容器\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"closable\",\n title: \"允许关闭\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n dependencies: [\"componentType\"],\n target: \"color\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false&&$deps[0]==='Tag'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"textEllipsis\",\n title: \"是否溢出省略\",\n type: \"boolean\",\n },\n {\n name: \"label\",\n title: \"文案\",\n type: \"string\",\n },\n {\n name: \"color\",\n title: \"颜色\",\n type: \"string\",\n component: \"ColorPicker\",\n },\n {\n name: \"tagStyle\",\n title: \"自定义样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"tagCheckedStyle\",\n title: \"选中自定义样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"tagHoverStyle\",\n title: \"悬浮自定义样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"categoryTitle_other\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"其他\",\n },\n },\n },\n {\n name: \"disabledTooltip\",\n title: \"禁用提示\",\n type: \"string\",\n },\n {\n name: \"tooltipProps\",\n title: \"提示配置\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"configProps\",\n title: \"额外配置\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"afterBrick\",\n title: \"尾部插入构件\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { brickTagSchema } from \"./brickTag.schema\";\n\nfunction BrickTagComponentFactory(React: typeof _React) {\n return function BrickTagComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({\n componentType: \"Tag\",\n multipleCheck: true,\n closable: false,\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(brickTagSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-tag\",\n BrickTagComponentFactory\n);\n","export const brickDividerSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"type\",\n title: \"类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n tooltip: \"Radiation是个特殊的类型,样式是特定的\",\n },\n },\n enum: [\n {\n label: \"Horizontal\",\n value: \"horizontal\",\n },\n {\n label: \"Vertical\",\n value: \"vertical\",\n },\n {\n label: \"Radiation\",\n value: \"radiation\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"horizontal\",\n },\n },\n \"x-reactions\": [\n {\n target: \"proportion\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='radiation'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"proportion\",\n title: \"数值\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"如需要展示1/3,yaml格式填入数组[1,3]\",\n },\n },\n },\n {\n name: \"dividerTitle\",\n title: \"标题\",\n type: \"string\",\n },\n {\n name: \"orientation\",\n title: \"标题位置\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"左\",\n value: \"left\",\n },\n {\n label: \"中\",\n value: \"center\",\n },\n {\n label: \"右\",\n value: \"right\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"center\",\n },\n },\n },\n {\n name: \"dashed\",\n title: \"虚线效果\",\n type: \"boolean\",\n },\n {\n name: \"plain\",\n title: \"文字普通正文样式\",\n type: \"boolean\",\n },\n {\n name: \"dividerStyle\",\n title: \"分割线样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { brickDividerSchema } from \"./brickDivider.schema\";\n\nfunction BrickDividerComponentFactory(React: typeof _React) {\n return function BrickDividerComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({\n type: \"horizontal\",\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(brickDividerSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-divider\",\n BrickDividerComponentFactory\n);\n","export const cardItemSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"cardLayoutType\",\n title: \"布局类型\",\n type: \"string\",\n descorator: \"FormItem\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"icon-as-background\",\n allowClear: true,\n options: [\n {\n label: \"icon-as-background\",\n value: \"icon-as-background\",\n },\n {\n label: \"block-icon-align-left\",\n value: \"block-icon-align-left\",\n },\n {\n label: \"icon-align-left\",\n value: \"icon-align-left\",\n },\n {\n label: \"icon-align-middle\",\n value: \"icon-align-middle\",\n },\n {\n label: \"icon-align-right\",\n value: \"icon-align-right\",\n },\n {\n label: \"icon-small-align-left\",\n value: \"icon-small-align-left\",\n },\n ],\n },\n },\n \"x-reactions\": [\n {\n target: \"useAfterDescriptionSlot\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconColor\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&($self.value==='icon-small-align-left'||$self.value==='icon-align-right'||$self.value==='icon-align-left')}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconSize\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconOffsetX\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconOffsetY\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconOpacity\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"useOldDesc\",\n title: \"支持多行描述\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"cardSubtitle\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"descriptionList\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"descMaxLine\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"hideDescCircle\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"descriptionDataType\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"newDescription\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n ],\n },\n {\n name: \"cardTitle\",\n title: \"标题\",\n type: \"string\",\n },\n {\n name: \"cardSubtitle\",\n title: \"副标题\",\n type: \"string\",\n },\n {\n name: \"descriptionList\",\n title: \"描述\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"以字符串或字符串数组的形式填入描述列表\",\n },\n },\n },\n {\n name: \"descMaxLine\",\n title: \"描述最大行数\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: 3,\n },\n },\n decorator: \"FormItem\",\n },\n {\n name: \"hideDescCircle\",\n title: \"隐藏描述前的圆点\",\n type: \"boolean\",\n },\n {\n name: \"descriptionDataType\",\n title: \"描述类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n tooltip:\n \"若描述为数组时,应选择list;若描述为字符串时,应选择section\",\n },\n },\n enum: [\n {\n label: \"list\",\n value: \"list\",\n },\n {\n label: \"section\",\n value: \"section\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n },\n },\n },\n {\n name: \"newDescription\",\n title: \"描述\",\n type: \"string\",\n },\n {\n name: \"alwaysShowDescription\",\n title: \"总是保留描述区\",\n type: \"boolean\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n tooltip: \"保留描述区,则没有描述时也会有相应的空间留白\",\n },\n },\n },\n {\n name: \"topInformation\",\n title: \"头部辅助信息\",\n type: \"string\",\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"bordered\",\n title: \"显示外边框\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"hoverable\",\n title: \"启用hover样式\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"showOperationAreaWhenHovering\",\n title: \"hover时显示操作区\",\n type: \"boolean\",\n },\n {\n name: \"disabled\",\n title: \"禁用状态\",\n type: \"boolean\",\n },\n {\n name: \"categoryTitle_link\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"跳转链接\",\n },\n },\n },\n {\n name: \"href\",\n title: \"跳转href\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"优先级最高\",\n },\n },\n },\n {\n name: \"url\",\n title: \"跳转url\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"优先级次于href\",\n },\n },\n },\n {\n name: \"urlTemplate\",\n title: \"跳转模板url\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"优先级次于url,支持模板变量\",\n },\n },\n },\n {\n name: \"target\",\n title: \"跳转目标\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"例如可设置为_blank\",\n },\n },\n },\n {\n name: \"categoryTitle_icon\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"图标\",\n },\n },\n },\n {\n name: \"showImg\",\n title: \"使用图片图标\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"icon\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconColor\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&($deps[0]==='icon-small-align-left'||$deps[0]==='icon-align-right'||$deps[0]==='icon-align-left')}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconSize\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconOffsetX\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconOffsetY\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconOpacity\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n target: \"reverseBgColor\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n {\n target: \"iconStyle\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n {\n target: \"imgSrc\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"imgSize\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n ],\n },\n {\n name: \"icon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n {\n name: \"iconColor\",\n title: \"图标颜色\",\n type: \"string\",\n component: \"ColorPicker\",\n },\n {\n name: \"iconSize\",\n title: \"图标大小\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: 100,\n },\n },\n decorator: \"FormItem\",\n },\n {\n name: \"iconOffsetX\",\n title: \"图标X轴偏移\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: \"FormItem\",\n },\n {\n name: \"iconOffsetY\",\n title: \"图标Y轴偏移\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: \"FormItem\",\n },\n {\n name: \"iconOpacity\",\n title: \"图标透明度\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: 0.45,\n },\n },\n decorator: \"FormItem\",\n },\n {\n name: \"reverseBgColor\",\n title: \"反转背景色\",\n type: \"boolean\",\n },\n {\n name: \"iconStyle\",\n title: \"图标样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"imgSrc\",\n title: \"图标链接\",\n type: \"string\",\n },\n {\n name: \"imgSize\",\n title: \"图标大小\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: {\n name: \"FormItem\",\n props: {\n tooltip: \"默认铺满\",\n },\n },\n },\n {\n name: \"shape\",\n title: \"形状\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"圆形\",\n value: \"circle\",\n },\n {\n label: \"方形\",\n value: \"square\",\n },\n {\n label: \"圆角\",\n value: \"round-square\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"circle\",\n },\n },\n },\n {\n name: \"categoryTitle_advanced\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"高级\",\n },\n },\n },\n {\n name: \"tagConfig\",\n title: \"右上角标签\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n },\n },\n {\n name: \"dataSource\",\n title: \"数据源\",\n type: \"string\",\n required: true,\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择数据源\",\n allowClear: true,\n },\n },\n },\n {\n name: \"fields\",\n title: \"字段映射\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"配合数据源一起使用来获得运行时必要字段\",\n },\n },\n },\n {\n name: \"useAfterDescriptionSlot\",\n title: \"支持afterDescription插槽\",\n type: \"boolean\",\n },\n {\n name: \"useLinkBehavior\",\n title: \"内部使用a标签实现点击\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"configProps\",\n title: \"其他配置\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"完全透传给antd的Card属性\",\n },\n },\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { cardItemSchema } from \"./cardItem.schema\";\nimport { get, omit } from \"lodash\";\n\nconst transformNormal2Advanced = (rawValue: any) => {\n const res = {\n ...omit(rawValue, [\"useOldDesc\"]),\n };\n return res;\n};\n\nconst transformAdvanced2Normal = (rawValue: any) => {\n const useOldDesc = !!get(rawValue, \"descriptionList\");\n const res = {\n ...rawValue,\n useOldDesc,\n };\n return res;\n};\n\nfunction CardItemComponentFactory(React: typeof _React) {\n return function CardItemComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n effects,\n } = props;\n\n React.useEffect(() => {\n const { onAdvancedChange, onSubmit } = effects;\n const { dataList = [] } = scope;\n // 表单初始化\n\n form.setInitialValues({\n cardLayoutType: \"icon-as-background\",\n useOldDesc: false,\n showImg: false,\n });\n\n // 初始化data\n form.query(\"dataSource\").take((field: any) => {\n field.setComponentProps({\n options: dataList?.map((item: any) => ({\n label: item?.name,\n value: item?.value,\n })),\n });\n });\n\n // 监听模式切换\n form.addEffects(\"onAdvancedChange\", () => {\n onAdvancedChange((advancedMode: boolean, form: any) => {\n const rawValue = form.getState()?.values ?? {};\n return advancedMode\n ? transformNormal2Advanced(rawValue)\n : transformAdvanced2Normal(rawValue);\n });\n });\n\n // 监听表单提交\n form.addEffects(\"onSubmit\", () => {\n onSubmit((value: any) => {\n return transformNormal2Advanced(value);\n });\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(cardItemSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.card-item\",\n CardItemComponentFactory\n);\n","export const eoLinkSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"label\",\n title: \"文本\",\n type: \"string\",\n },\n {\n name: \"link\",\n title: \"链接\",\n type: \"string\",\n component: {\n name: \"InputWithUrl\",\n props: {\n transform: {\n url: \"url\",\n href: \"href\",\n },\n },\n },\n },\n {\n type: \"boolean\",\n title: \"隐藏外链标识\",\n name: \"hideExternalIcon\",\n },\n {\n name: \"type\",\n title: \"类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n options: [\n { label: \"链接\", value: \"link\" },\n { label: \"文本\", value: \"text\" },\n ],\n optionType: \"button\",\n defaultValue: \"link\",\n },\n },\n },\n {\n name: \"target\",\n title: \"跳转方式\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n options: [\n {\n label: \"当前页面加载\",\n value: \"_self\",\n },\n {\n label: \"新标签打开\",\n value: \"_blank\",\n },\n ],\n defaultValue: \"_self\",\n },\n },\n },\n {\n name: \"tooltip\",\n title: \"文字提示\",\n type: \"string\",\n },\n {\n name: \"disabled\",\n title: \"禁用\",\n type: \"boolean\",\n },\n {\n name: \"categoryTitle_style\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"外观\",\n },\n },\n },\n {\n name: \"icon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n \"x-reactions\": [\n {\n target: \"iconAlign\",\n fulfill: {\n state: {\n display: '{{$self.value === undefined ? \"none\" : \"visible\"}}',\n },\n },\n },\n ],\n },\n {\n name: \"iconAlign\",\n title: \"图标位置\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n options: [\n { label: \"文本左侧\", value: \"left\" },\n { label: \"文本右侧\", value: \"right\" },\n ],\n optionType: \"button\",\n defaultValue: \"left\",\n },\n },\n },\n {\n type: \"boolean\",\n title: \"显示下划线\",\n name: \"underLine\",\n },\n {\n name: \"labelColor\",\n type: \"string\",\n title: \"文本颜色\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: \"ColorPicker\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { eoLinkSchema } from \"./brickLink.schema\";\nimport { omit } from \"lodash\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { hasOwnProperty } from \"@next-core/brick-utils\";\n\nfunction BrickLinkComponentFactory(React: typeof _React) {\n return function BrickLinkComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n scope,\n form,\n effects,\n } = props;\n\n React.useEffect(() => {\n const { onSubmit, onFormValuesChange, init } = effects;\n\n form.addEffects(\"submit\", () => {\n onSubmit((value: any) => {\n return omit(value, [\"link\"]);\n });\n });\n form.addEffects(\"onFormValuesChange\", () => {\n onFormValuesChange((form: any) => {\n // 切换外链时(用href而不是url),显示 hideExternalIcon\n form.setFieldState(\"hideExternalIcon\", (state: any) => {\n state.display = hasOwnProperty(form.values, \"href\")\n ? \"visible\"\n : \"none\";\n });\n });\n });\n }, [effects, form]);\n\n React.useEffect(() => {\n form.setInitialValues({\n hideExternalIcon: false,\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(eoLinkSchema as any),\n scope,\n });\n };\n}\n\ngetRuntime().customEditors.define(\n \"presentational-bricks.brick-link\",\n BrickLinkComponentFactory\n);\n","export const basicIconSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"icon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { basicIconSchema } from \"./basicIcon.schema\";\nimport { getRuntime } from \"@next-core/brick-kit\";\n\nfunction BrickIconComponentFactory(React: typeof _React) {\n return function BrickIconComponent(props: any): React.ReactElement {\n const { SchemaFieldComponent, formilySchemaFormatter, scope } = props;\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(basicIconSchema as any),\n scope,\n });\n };\n}\n\ngetRuntime().customEditors.define(\n \"presentational-bricks.basic-icon\",\n BrickIconComponentFactory\n);\n","export const IllustrationsStatusOptions = [\n {\n label: \"自定义插画\",\n value: \"illustrations\",\n },\n];\n\nexport const BrickResultStatusOptions = [\n {\n label: \"403\",\n value: \"403\",\n },\n {\n label: \"404\",\n value: \"404\",\n },\n {\n label: \"500\",\n value: \"500\",\n },\n {\n label: \"说明\",\n value: \"info\",\n },\n {\n label: \"成功\",\n value: \"success\",\n },\n {\n label: \"警告\",\n value: \"warning\",\n },\n {\n label: \"错误\",\n value: \"error\",\n },\n];\n\nexport const EmptyResultStatusOptions = [\n {\n label: \"浏览器版本过低\",\n value: \"browser-too-old\",\n },\n {\n label: \"空内容\",\n value: \"empty\",\n },\n {\n label: \"没有数据\",\n value: \"no-data\",\n },\n {\n label: \"没有历史版本\",\n value: \"no-history-version\",\n },\n {\n label: \"没有浏览记录\",\n value: \"no-visit-record\",\n },\n {\n label: \"搜索为空\",\n value: \"search-empty\",\n },\n {\n label: \"引导创建\",\n value: \"welcome-to-create\",\n },\n];\n\nexport const brickResultSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"status\",\n title: \"类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n tooltip: \"类型决定展示的样式\",\n },\n },\n component: {\n name: \"Select\",\n props: {\n options: [\n ...IllustrationsStatusOptions,\n ...BrickResultStatusOptions,\n ...EmptyResultStatusOptions,\n ],\n },\n },\n \"x-reactions\": [\n {\n target: \"icon\",\n fulfill: {\n state: {\n visible:\n \"{{BrickResultStatusOptions.some(item => item.value === $self.value)}}\",\n },\n },\n },\n {\n target: \"illustrationsConfig\",\n fulfill: {\n state: {\n visible:\n \"{{IllustrationsStatusOptions.some(item => item.value === $self.value)}}\",\n },\n },\n },\n {\n target: \"emptyResultSize\",\n fulfill: {\n state: {\n visible:\n \"{{EmptyResultStatusOptions.some(item => item.value === $self.value)}}\",\n },\n },\n },\n ],\n },\n {\n name: \"useNewIllustration\",\n title: \"使用新图标\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n decorator: {\n name: \"FormItem\",\n props: {\n tooltip: \"使用新版本的图标替换插画库default分类图标\",\n layout: \"horizontal\",\n },\n },\n },\n {\n name: \"customTitle\",\n title: \"主标题\",\n type: \"string\",\n },\n {\n name: \"subTitle\",\n title: \"副标题\",\n type: \"string\",\n },\n {\n name: \"icon\",\n type: \"string\",\n title: \"自定义图标\",\n component: \"IconSelect\",\n },\n {\n name: \"illustrationsConfig\",\n title: \"自定义插画配置\",\n type: \"string\",\n component: {\n name: \"CodeEditor\",\n props: {\n placeholder:\n \"category: default\\nimageStyle: \\n backgroundColor: red \\nname: search-empty\\nsize: large\",\n },\n },\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"emptyResultSize\",\n title: \"空状态插画大小\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"middle\",\n options: [\n {\n label: \"S\",\n value: \"small\",\n },\n {\n label: \"M\",\n value: \"middle\",\n },\n {\n label: \"L\",\n value: \"large\",\n },\n {\n label: \"XL\",\n value: \"xlarge\",\n },\n ],\n },\n },\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport {\n brickResultSchema,\n IllustrationsStatusOptions,\n BrickResultStatusOptions,\n EmptyResultStatusOptions,\n} from \"./brickResult.schema\";\n\nfunction BrickResultComponentFactory(React: typeof _React) {\n return function BrickResultComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({\n useNewIllustration: true,\n status: undefined,\n emptyResultSize: \"middle\",\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(brickResultSchema as any, advancedMode!),\n scope: {\n ...scope,\n IllustrationsStatusOptions,\n BrickResultStatusOptions,\n EmptyResultStatusOptions,\n },\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-result\",\n BrickResultComponentFactory\n);\n"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.326.
|
|
3
|
+
"version": "1.326.4",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"prestart": "node scripts/pre-build.js",
|
|
29
29
|
"start": "cross-env NODE_ENV='development' webpack --config webpack.config.js --watch",
|
|
30
30
|
"start:editors": "cross-env NODE_ENV='development' webpack --config webpack.editors.js --watch",
|
|
31
|
+
"start:property-editors": "cross-env NODE_ENV='development' webpack --config webpack.property-editors.js --watch",
|
|
31
32
|
"start:both": "concurrently -k -n main,editors \"npm run start\" \"npm run start:editors\"",
|
|
32
33
|
"prebuild": "node scripts/pre-build.js",
|
|
33
34
|
"build": "cross-env NODE_ENV='production' npm run build:webpack && npm run build:stories && npm run build:webpack:property-editors",
|
|
@@ -74,5 +75,5 @@
|
|
|
74
75
|
"@next-dll/ace": "*",
|
|
75
76
|
"@next-dll/react-dnd": "*"
|
|
76
77
|
},
|
|
77
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "61eafa326ace9b6ac27e1cb63a62fb067da28c15"
|
|
78
79
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e){var t={};function o(a){if(t[a])return t[a].exports;var l=t[a]={i:a,l:!1,exports:{}};return e[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)o.d(a,l,function(t){return e[t]}.bind(null,l));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=5)}([function(e,t,o){e.exports=o(3)("tYg3")},function(e,t,o){e.exports=o(3)("LvDl")},function(e,t,o){e.exports=o(3)("3tO9")},function(e,t){e.exports=dll},function(e,t,o){var a;o.p="".concat(null!==(a=window.PUBLIC_ROOT)&&void 0!==a?a:"","bricks/presentational-bricks/dist/property-editors/")},function(e,t,o){"use strict";o.r(t);o(4);var a=o(0),l={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"placeholder",title:"占位文本",type:"string"},{name:"q",title:"回填文本",type:"string"},{name:"shouldTrimQuery",title:"自动去除输入的首尾空格",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"disableAutofocus",title:"禁用自动聚焦",type:"boolean"},{name:"allowClear",title:"支持清空",type:"boolean"},{name:"searchTypeEnabled",title:"支持切换搜索类型",type:"boolean","x-reactions":[{target:"searchType",fulfill:{state:{visible:"{{$self.value}}"}}}]},{name:"searchType",title:"默认搜索类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"全文搜索",value:"all"},{label:"IP搜索",value:"ip"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"all"}}},{name:"debounceTime",title:"搜索延迟时间",decorator:"FormItem",type:"number",component:{name:"NumberPicker",props:{placeholder:"0"}}},{name:"shouldUpdateUrlParams",title:"更新URL",type:"boolean",component:{props:{size:"small",defaultValue:!0}},"x-reactions":[{target:"qField",fulfill:{state:{visible:"{{$self.value}}"}}}]},{name:"qField",title:"更新到URL上的Key值",type:"string",component:{props:{placeholder:"q"}}},{name:"defaultArgs",title:"搜索重置默认参数",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"categoryTitle_style",type:"void",decorator:{name:"CategoryTitle",props:{text:"样式"}}},{name:"size",title:"尺寸大小",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"超大",value:"extraLarge"},{label:"大",value:"large"},{label:"标准",value:"default"},{label:"小",value:"small"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"default"}}},{name:"shape",title:"形状",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"默认",value:"default"},{label:"圆角",value:"round"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"default"}}},{name:"inputStyle",title:"输入框样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"buttonStyle",title:"按钮样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-general-search",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:n,scope:i,form:r}=t;return e.useEffect(()=>{r.setInitialValues({searchTypeEnabled:!1})},[r]),e.createElement(o,{schema:a(l,n),scope:i})}}));var n={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"componentType",title:"标签类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"默认",value:"Tag"},{label:"可选标签",value:"CheckableTag"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"Tag"}},"x-reactions":[{target:"multipleCheck",fulfill:{state:{visible:"{{$self.value==='CheckableTag'}}"}}},{dependencies:["multipleCheck"],target:"cancelable",fulfill:{state:{visible:"{{$self.value==='CheckableTag'&&$deps[0]===false}}"}}},{target:"default",fulfill:{state:{visible:"{{$self.value==='CheckableTag'}}"}}},{dependencies:["closable"],target:"color",fulfill:{state:{visible:"{{$self.value==='Tag'&&$deps[0]===false}}"}}},{target:"configProps",fulfill:{state:{visible:"{{$self.value==='Tag'}}"}}}]},{name:"tagList",title:"标签列表",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"multipleCheck",title:"允许多选",type:"boolean",component:{props:{size:"small",defaultValue:!0}},"x-reactions":[{dependencies:["componentType"],target:"cancelable",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='checkableTag'}}"}}}]},{name:"cancelable",title:"允许取消选中",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"default",title:"默认值",type:"string"},{name:"categoryTitle_style",type:"void",decorator:{name:"CategoryTitle",props:{text:"样式"}}},{name:"showTagCircle",title:"标签内显示圆点",type:"boolean"},{name:"showCard",title:"显示卡片容器",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"closable",title:"允许关闭",type:"boolean","x-reactions":[{dependencies:["componentType"],target:"color",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='Tag'}}"}}}]},{name:"textEllipsis",title:"是否溢出省略",type:"boolean"},{name:"label",title:"文案",type:"string"},{name:"color",title:"颜色",type:"string",component:"ColorPicker"},{name:"tagStyle",title:"自定义样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"tagCheckedStyle",title:"选中自定义样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"tagHoverStyle",title:"悬浮自定义样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"categoryTitle_other",type:"void",decorator:{name:"CategoryTitle",props:{text:"其他"}}},{name:"disabledTooltip",title:"禁用提示",type:"string"},{name:"tooltipProps",title:"提示配置",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"configProps",title:"额外配置",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"afterBrick",title:"尾部插入构件",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-tag",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:i,form:r}=t;return e.useEffect(()=>{r.setInitialValues({componentType:"Tag",multipleCheck:!0,closable:!1})},[r]),e.createElement(o,{schema:a(n,l),scope:i})}}));var i={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"type",title:"类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal",tooltip:"Radiation是个特殊的类型,样式是特定的"}},enum:[{label:"Horizontal",value:"horizontal"},{label:"Vertical",value:"vertical"},{label:"Radiation",value:"radiation"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"horizontal"}},"x-reactions":[{target:"proportion",fulfill:{state:{visible:"{{$self.value==='radiation'}}"}}}]},{name:"proportion",title:"数值",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"如需要展示1/3,yaml格式填入数组[1,3]"}}},{name:"dividerTitle",title:"标题",type:"string"},{name:"orientation",title:"标题位置",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"左",value:"left"},{label:"中",value:"center"},{label:"右",value:"right"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"center"}}},{name:"dashed",title:"虚线效果",type:"boolean"},{name:"plain",title:"文字普通正文样式",type:"boolean"},{name:"dividerStyle",title:"分割线样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-divider",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:n,form:r}=t;return e.useEffect(()=>{r.setInitialValues({type:"horizontal"})},[r]),e.createElement(o,{schema:a(i,l),scope:n})}}));var r=o(2),s=o.n(r),p={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"cardLayoutType",title:"布局类型",type:"string",descorator:"FormItem",component:{name:"Select",props:{placeholder:"icon-as-background",allowClear:!0,options:[{label:"icon-as-background",value:"icon-as-background"},{label:"block-icon-align-left",value:"block-icon-align-left"},{label:"icon-align-left",value:"icon-align-left"},{label:"icon-align-middle",value:"icon-align-middle"},{label:"icon-align-right",value:"icon-align-right"},{label:"icon-small-align-left",value:"icon-small-align-left"}]}},"x-reactions":[{target:"useAfterDescriptionSlot",fulfill:{state:{visible:"{{$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconColor",fulfill:{state:{visible:"{{$deps[0]===false&&($self.value==='icon-small-align-left'||$self.value==='icon-align-right'||$self.value==='icon-align-left')}}"}}},{dependencies:["showImg"],target:"iconSize",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconOffsetX",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconOffsetY",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}},{dependencies:["showImg"],target:"iconOpacity",fulfill:{state:{visible:"{{$deps[0]===false&&$self.value==='icon-as-background'}}"}}}]},{name:"useOldDesc",title:"支持多行描述",type:"boolean","x-reactions":[{target:"cardSubtitle",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"descriptionList",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"descMaxLine",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"hideDescCircle",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"descriptionDataType",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"newDescription",fulfill:{state:{visible:"{{$self.value===false}}"}}}]},{name:"cardTitle",title:"标题",type:"string"},{name:"cardSubtitle",title:"副标题",type:"string"},{name:"descriptionList",title:"描述",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"以字符串或字符串数组的形式填入描述列表"}}},{name:"descMaxLine",title:"描述最大行数",type:"number",component:{name:"NumberPicker",props:{placeholder:3}},decorator:"FormItem"},{name:"hideDescCircle",title:"隐藏描述前的圆点",type:"boolean"},{name:"descriptionDataType",title:"描述类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal",tooltip:"若描述为数组时,应选择list;若描述为字符串时,应选择section"}},enum:[{label:"list",value:"list"},{label:"section",value:"section"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button"}}},{name:"newDescription",title:"描述",type:"string"},{name:"alwaysShowDescription",title:"总是保留描述区",type:"boolean",decorator:{name:"FormItem",props:{layout:"horizontal",tooltip:"保留描述区,则没有描述时也会有相应的空间留白"}}},{name:"topInformation",title:"头部辅助信息",type:"string"},{name:"categoryTitle_style",type:"void",decorator:{name:"CategoryTitle",props:{text:"样式"}}},{name:"bordered",title:"显示外边框",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"hoverable",title:"启用hover样式",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"showOperationAreaWhenHovering",title:"hover时显示操作区",type:"boolean"},{name:"disabled",title:"禁用状态",type:"boolean"},{name:"categoryTitle_link",type:"void",decorator:{name:"CategoryTitle",props:{text:"跳转链接"}}},{name:"href",title:"跳转href",type:"string",decorator:{props:{tooltip:"优先级最高"}}},{name:"url",title:"跳转url",type:"string",decorator:{props:{tooltip:"优先级次于href"}}},{name:"urlTemplate",title:"跳转模板url",type:"string",decorator:{props:{tooltip:"优先级次于url,支持模板变量"}}},{name:"target",title:"跳转目标",type:"string",decorator:{props:{tooltip:"例如可设置为_blank"}}},{name:"categoryTitle_icon",type:"void",decorator:{name:"CategoryTitle",props:{text:"图标"}}},{name:"showImg",title:"使用图片图标",type:"boolean","x-reactions":[{target:"icon",fulfill:{state:{visible:"{{$self.value===false}}"}}},{dependencies:["cardLayoutType"],target:"iconColor",fulfill:{state:{visible:"{{$self.value===false&&($deps[0]==='icon-small-align-left'||$deps[0]==='icon-align-right'||$deps[0]==='icon-align-left')}}"}}},{dependencies:["cardLayoutType"],target:"iconSize",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{dependencies:["cardLayoutType"],target:"iconOffsetX",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{dependencies:["cardLayoutType"],target:"iconOffsetY",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{dependencies:["cardLayoutType"],target:"iconOpacity",fulfill:{state:{visible:"{{$self.value===false&&$deps[0]==='icon-as-background'}}"}}},{target:"reverseBgColor",fulfill:{state:{visible:"{{$self.value===false}}"}}},{target:"iconStyle",fulfill:{state:{visible:"{{$self.value===false}}"}}},{target:"imgSrc",fulfill:{state:{visible:"{{$self.value===true}}"}}},{target:"imgSize",fulfill:{state:{visible:"{{$self.value===true}}"}}}]},{name:"icon",title:"图标",type:"string",component:"IconSelect"},{name:"iconColor",title:"图标颜色",type:"string",component:"ColorPicker"},{name:"iconSize",title:"图标大小",type:"number",component:{name:"NumberPicker",props:{placeholder:100}},decorator:"FormItem"},{name:"iconOffsetX",title:"图标X轴偏移",type:"number",component:"NumberPicker",decorator:"FormItem"},{name:"iconOffsetY",title:"图标Y轴偏移",type:"number",component:"NumberPicker",decorator:"FormItem"},{name:"iconOpacity",title:"图标透明度",type:"number",component:{name:"NumberPicker",props:{placeholder:.45}},decorator:"FormItem"},{name:"reverseBgColor",title:"反转背景色",type:"boolean"},{name:"iconStyle",title:"图标样式",type:"string",component:"CodeEditor",decorator:"FormItemWithoutAdvanced"},{name:"imgSrc",title:"图标链接",type:"string"},{name:"imgSize",title:"图标大小",type:"number",component:"NumberPicker",decorator:{name:"FormItem",props:{tooltip:"默认铺满"}}},{name:"shape",title:"形状",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"圆形",value:"circle"},{label:"方形",value:"square"},{label:"圆角",value:"round-square"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button",defaultValue:"circle"}}},{name:"categoryTitle_advanced",type:"void",decorator:{name:"CategoryTitle",props:{text:"高级"}}},{name:"tagConfig",title:"右上角标签",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced"}},{name:"dataSource",title:"数据源",type:"string",required:!0,component:{name:"Select",props:{placeholder:"请选择数据源",allowClear:!0}}},{name:"fields",title:"字段映射",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"配合数据源一起使用来获得运行时必要字段"}}},{name:"useAfterDescriptionSlot",title:"支持afterDescription插槽",type:"boolean"},{name:"useLinkBehavior",title:"内部使用a标签实现点击",type:"boolean",component:{props:{size:"small",defaultValue:!0}}},{name:"configProps",title:"其他配置",type:"string",component:"CodeEditor",decorator:{name:"FormItemWithoutAdvanced",props:{tooltip:"完全透传给antd的Card属性"}}}]},c=o(1),m=e=>s()({},Object(c.omit)(e,["useOldDesc"]));Object(a.getRuntime)().customEditors.define("presentational-bricks.card-item",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,advancedMode:l,scope:n,form:i,effects:r}=t;return e.useEffect(()=>{var{onAdvancedChange:e,onSubmit:t}=r,{dataList:o=[]}=n;i.setInitialValues({cardLayoutType:"icon-as-background",useOldDesc:!1,showImg:!1}),i.query("dataSource").take(e=>{e.setComponentProps({options:null==o?void 0:o.map(e=>({label:null==e?void 0:e.name,value:null==e?void 0:e.value}))})}),i.addEffects("onAdvancedChange",()=>{e((e,t)=>{var o,a,l=null!==(o=null===(a=t.getState())||void 0===a?void 0:a.values)&&void 0!==o?o:{};return e?m(l):(e=>{var t=!!Object(c.get)(e,"descriptionList");return s()(s()({},e),{},{useOldDesc:t})})(l)})}),i.addEffects("onSubmit",()=>{t(e=>m(e))})},[i]),e.createElement(o,{schema:a(p,l),scope:n})}}));var u={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"label",title:"文本",type:"string"},{name:"link",title:"链接",type:"string",component:{name:"InputWithUrl",props:{transform:{url:"url",href:"href"}}}},{name:"disabled",title:"禁用",type:"boolean"},{name:"type",title:"类型",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"Radio.Group",props:{size:"small",options:[{label:"链接",value:"link"},{label:"文本",value:"text"}],optionType:"button",defaultValue:"link"}}},{name:"target",title:"跳转方式",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"Radio.Group",props:{size:"small",optionType:"button",options:[{label:"当前页面加载",value:"_self"},{label:"新标签打开",value:"_blank"}]}}},{name:"tooltip",title:"按钮提示",type:"string"},{name:"categoryTitle_style",decorator:{name:"CategoryTitle",props:{text:"外观"}}},{type:"boolean",title:"隐藏跳转图标",name:"hideExternalIcon","x-reactions":[{target:"iconAlign",fulfill:{state:{visible:"{{!$self.value}}"}}}]},{name:"iconAlign",title:"图标位置",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},component:{name:"TextAlignRadio",props:{hideCenter:!0}}},{type:"boolean",title:"显示下划线",name:"underLine"},{name:"labelColor",type:"string",title:"文本颜色",compponent:"ColorPicker"},{name:"icon",title:"图标",type:"string",component:"IconSelect"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.brick-link",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,scope:l,form:n,effects:i}=t;return e.useEffect(()=>{var{onSubmit:e,init:t}=i;n.addEffects("submit",()=>{e(e=>Object(c.omit)(e,["link"]))})},[i,n]),e.useEffect(()=>{n.setInitialValues({hideExternalIcon:!1})},[n]),e.createElement(o,{schema:a(u),scope:l})}}));var d={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"icon",title:"图标",type:"string",component:"IconSelect"}]};Object(a.getRuntime)().customEditors.define("presentational-bricks.basic-icon",(function(e){return function(t){var{SchemaFieldComponent:o,formilySchemaFormatter:a,scope:l}=t;return e.createElement(o,{schema:a(d),scope:l})}}))}]);
|
|
2
|
-
//# sourceMappingURL=property-editors.8c396327.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///delegated ./node_modules/@next-core/brick-kit/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/lodash/lodash.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/objectSpread2.js from dll-reference dll","webpack:///external \"dll\"","webpack:///./bricks/presentational-bricks/src/property-editors/_/public-path.js","webpack:///./bricks/presentational-bricks/src/property-editors/brick-general-search/brickGeneralSearch.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-general-search/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-tag/brickTag.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-tag/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-divider/brickDivider.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-divider/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/card-item/cardItem.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/card-item/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-link/brickLink.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/brick-link/index.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/basic-icon/basicIcon.schema.tsx","webpack:///./bricks/presentational-bricks/src/property-editors/basic-icon/index.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","dll","__webpack_public_path__","window","PUBLIC_ROOT","brickGeneralSearchSchema","type","component","props","layout","children","decorator","text","title","size","defaultValue","target","fulfill","state","visible","enum","label","optionType","placeholder","getRuntime","customEditors","define","React","SchemaFieldComponent","formilySchemaFormatter","advancedMode","scope","form","useEffect","setInitialValues","searchTypeEnabled","createElement","schema","brickTagSchema","dependencies","componentType","multipleCheck","closable","brickDividerSchema","tooltip","cardItemSchema","descorator","allowClear","options","required","transformNormal2Advanced","rawValue","omit","effects","onAdvancedChange","onSubmit","dataList","cardLayoutType","useOldDesc","showImg","query","take","field","setComponentProps","map","item","addEffects","getState","values","transformAdvanced2Normal","eoLinkSchema","transform","url","href","hideCenter","compponent","init","hideExternalIcon","basicIconSchema"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAm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,CACLkE,YAAY,KAIlB,CACEpE,KAAM,UACNO,MAAO,QACPrC,KAAM,aAER,CACEA,KAAM,aACN8B,KAAM,SACNO,MAAO,OACP8D,WAAY,eAEd,CACEnG,KAAM,OACNqC,MAAO,KACPP,KAAM,SACNC,UAAW,gBCtHjBiB,uBAAaC,cAAcC,OACzB,oCAlCF,SAAmCC,GACjC,OAAO,SAA4BnB,GACjC,IAAM,qBACJoB,EAAoB,uBACpBC,EAAsB,MACtBE,EAAK,KACLC,EAAI,QACJqB,GACE7C,EAkBJ,OAhBAmB,EAAMM,UAAU,KACd,IAAM,SAAEsB,EAAQ,KAAEqB,GAASvB,EAE3BrB,EAAKkC,WAAW,SAAU,KACxBX,EAAUrE,GACDkE,eAAKlE,EAAO,CAAC,aAGvB,CAACmE,EAASrB,IAEbL,EAAMM,UAAU,KACdD,EAAKE,iBAAiB,CACpB2C,kBAAkB,KAEnB,CAAC7C,IAEGL,EAAMS,cAAcR,EAAsB,CAC/CS,OAAQR,EAAuByC,GAC/BvC,cCjCC,IAAM+C,EAAkB,CAC7BtG,KAAM,SACN8B,KAAM,OACNC,UAAW,CACT/B,KAAM,aACNgC,MAAO,CACLC,OAAQ,aAGZC,SAAU,CACR,CACElC,KAAM,sBACN8B,KAAM,OACNK,UAAW,CACTnC,KAAM,gBACNgC,MAAO,CACLI,KAAM,QAIZ,CACEpC,KAAM,OACNqC,MAAO,KACPP,KAAM,SACNC,UAAW,gBCTjBiB,uBAAaC,cAAcC,OACzB,oCAZF,SAAmCC,GACjC,OAAO,SAA4BnB,GACjC,IAAM,qBAAEoB,EAAoB,uBAAEC,EAAsB,MAAEE,GAAUvB,EAEhE,OAAOmB,EAAMS,cAAcR,EAAsB,CAC/CS,OAAQR,EAAuBiD,GAC/B/C","file":"property-editors.8c396327.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n","module.exports = (__webpack_require__(3))(\"tYg3\");","module.exports = (__webpack_require__(3))(\"LvDl\");","module.exports = (__webpack_require__(3))(\"3tO9\");","module.exports = dll;","__webpack_public_path__ = `${window.PUBLIC_ROOT ?? \"\"}bricks/presentational-bricks/dist/property-editors/`;","export const brickGeneralSearchSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"placeholder\",\n title: \"占位文本\",\n type: \"string\",\n },\n {\n name: \"q\",\n title: \"回填文本\",\n type: \"string\",\n },\n {\n name: \"shouldTrimQuery\",\n title: \"自动去除输入的首尾空格\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"disableAutofocus\",\n title: \"禁用自动聚焦\",\n type: \"boolean\",\n },\n {\n name: \"allowClear\",\n title: \"支持清空\",\n type: \"boolean\",\n },\n {\n name: \"searchTypeEnabled\",\n title: \"支持切换搜索类型\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"searchType\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"searchType\",\n title: \"默认搜索类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"全文搜索\",\n value: \"all\",\n },\n {\n label: \"IP搜索\",\n value: \"ip\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"all\",\n },\n },\n },\n {\n name: \"debounceTime\",\n title: \"搜索延迟时间\",\n decorator: \"FormItem\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: \"0\",\n },\n },\n },\n {\n name: \"shouldUpdateUrlParams\",\n title: \"更新URL\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n \"x-reactions\": [\n {\n target: \"qField\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"qField\",\n title: \"更新到URL上的Key值\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"q\",\n },\n },\n },\n {\n name: \"defaultArgs\",\n title: \"搜索重置默认参数\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"size\",\n title: \"尺寸大小\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"超大\",\n value: \"extraLarge\",\n },\n {\n label: \"大\",\n value: \"large\",\n },\n {\n label: \"标准\",\n value: \"default\",\n },\n {\n label: \"小\",\n value: \"small\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"default\",\n },\n },\n },\n {\n name: \"shape\",\n title: \"形状\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"默认\",\n value: \"default\",\n },\n {\n label: \"圆角\",\n value: \"round\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"default\",\n },\n },\n },\n {\n name: \"inputStyle\",\n title: \"输入框样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"buttonStyle\",\n title: \"按钮样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { brickGeneralSearchSchema } from \"./brickGeneralSearch.schema\";\n\nfunction BrickGeneralSearchComponentFactory(React: typeof _React) {\n return function BrickGeneralSearchComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({ searchTypeEnabled: false });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(\n brickGeneralSearchSchema as any,\n advancedMode!\n ),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-general-search\",\n BrickGeneralSearchComponentFactory\n);\n","export const brickTagSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"componentType\",\n title: \"标签类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"默认\",\n value: \"Tag\",\n },\n {\n label: \"可选标签\",\n value: \"CheckableTag\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"Tag\",\n },\n },\n \"x-reactions\": [\n {\n target: \"multipleCheck\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='CheckableTag'}}\",\n },\n },\n },\n {\n dependencies: [\"multipleCheck\"],\n target: \"cancelable\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='CheckableTag'&&$deps[0]===false}}\",\n },\n },\n },\n {\n target: \"default\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='CheckableTag'}}\",\n },\n },\n },\n {\n dependencies: [\"closable\"],\n target: \"color\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='Tag'&&$deps[0]===false}}\",\n },\n },\n },\n {\n target: \"configProps\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='Tag'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"tagList\",\n title: \"标签列表\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"multipleCheck\",\n title: \"允许多选\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n \"x-reactions\": [\n {\n dependencies: [\"componentType\"],\n target: \"cancelable\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false&&$deps[0]==='checkableTag'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"cancelable\",\n title: \"允许取消选中\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"default\",\n title: \"默认值\",\n type: \"string\",\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"showTagCircle\",\n title: \"标签内显示圆点\",\n type: \"boolean\",\n },\n {\n name: \"showCard\",\n title: \"显示卡片容器\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"closable\",\n title: \"允许关闭\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n dependencies: [\"componentType\"],\n target: \"color\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false&&$deps[0]==='Tag'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"textEllipsis\",\n title: \"是否溢出省略\",\n type: \"boolean\",\n },\n {\n name: \"label\",\n title: \"文案\",\n type: \"string\",\n },\n {\n name: \"color\",\n title: \"颜色\",\n type: \"string\",\n component: \"ColorPicker\",\n },\n {\n name: \"tagStyle\",\n title: \"自定义样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"tagCheckedStyle\",\n title: \"选中自定义样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"tagHoverStyle\",\n title: \"悬浮自定义样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"categoryTitle_other\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"其他\",\n },\n },\n },\n {\n name: \"disabledTooltip\",\n title: \"禁用提示\",\n type: \"string\",\n },\n {\n name: \"tooltipProps\",\n title: \"提示配置\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"configProps\",\n title: \"额外配置\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"afterBrick\",\n title: \"尾部插入构件\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { brickTagSchema } from \"./brickTag.schema\";\n\nfunction BrickTagComponentFactory(React: typeof _React) {\n return function BrickTagComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({\n componentType: \"Tag\",\n multipleCheck: true,\n closable: false,\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(brickTagSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-tag\",\n BrickTagComponentFactory\n);\n","export const brickDividerSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"type\",\n title: \"类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n tooltip: \"Radiation是个特殊的类型,样式是特定的\",\n },\n },\n enum: [\n {\n label: \"Horizontal\",\n value: \"horizontal\",\n },\n {\n label: \"Vertical\",\n value: \"vertical\",\n },\n {\n label: \"Radiation\",\n value: \"radiation\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"horizontal\",\n },\n },\n \"x-reactions\": [\n {\n target: \"proportion\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='radiation'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"proportion\",\n title: \"数值\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"如需要展示1/3,yaml格式填入数组[1,3]\",\n },\n },\n },\n {\n name: \"dividerTitle\",\n title: \"标题\",\n type: \"string\",\n },\n {\n name: \"orientation\",\n title: \"标题位置\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"左\",\n value: \"left\",\n },\n {\n label: \"中\",\n value: \"center\",\n },\n {\n label: \"右\",\n value: \"right\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"center\",\n },\n },\n },\n {\n name: \"dashed\",\n title: \"虚线效果\",\n type: \"boolean\",\n },\n {\n name: \"plain\",\n title: \"文字普通正文样式\",\n type: \"boolean\",\n },\n {\n name: \"dividerStyle\",\n title: \"分割线样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { brickDividerSchema } from \"./brickDivider.schema\";\n\nfunction BrickDividerComponentFactory(React: typeof _React) {\n return function BrickDividerComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n form.setInitialValues({\n type: \"horizontal\",\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(brickDividerSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.brick-divider\",\n BrickDividerComponentFactory\n);\n","export const cardItemSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"cardLayoutType\",\n title: \"布局类型\",\n type: \"string\",\n descorator: \"FormItem\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"icon-as-background\",\n allowClear: true,\n options: [\n {\n label: \"icon-as-background\",\n value: \"icon-as-background\",\n },\n {\n label: \"block-icon-align-left\",\n value: \"block-icon-align-left\",\n },\n {\n label: \"icon-align-left\",\n value: \"icon-align-left\",\n },\n {\n label: \"icon-align-middle\",\n value: \"icon-align-middle\",\n },\n {\n label: \"icon-align-right\",\n value: \"icon-align-right\",\n },\n {\n label: \"icon-small-align-left\",\n value: \"icon-small-align-left\",\n },\n ],\n },\n },\n \"x-reactions\": [\n {\n target: \"useAfterDescriptionSlot\",\n fulfill: {\n state: {\n visible: \"{{$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconColor\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&($self.value==='icon-small-align-left'||$self.value==='icon-align-right'||$self.value==='icon-align-left')}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconSize\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconOffsetX\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconOffsetY\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"showImg\"],\n target: \"iconOpacity\",\n fulfill: {\n state: {\n visible:\n \"{{$deps[0]===false&&$self.value==='icon-as-background'}}\",\n },\n },\n },\n ],\n },\n {\n name: \"useOldDesc\",\n title: \"支持多行描述\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"cardSubtitle\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"descriptionList\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"descMaxLine\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"hideDescCircle\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"descriptionDataType\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"newDescription\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n ],\n },\n {\n name: \"cardTitle\",\n title: \"标题\",\n type: \"string\",\n },\n {\n name: \"cardSubtitle\",\n title: \"副标题\",\n type: \"string\",\n },\n {\n name: \"descriptionList\",\n title: \"描述\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"以字符串或字符串数组的形式填入描述列表\",\n },\n },\n },\n {\n name: \"descMaxLine\",\n title: \"描述最大行数\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: 3,\n },\n },\n decorator: \"FormItem\",\n },\n {\n name: \"hideDescCircle\",\n title: \"隐藏描述前的圆点\",\n type: \"boolean\",\n },\n {\n name: \"descriptionDataType\",\n title: \"描述类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n tooltip:\n \"若描述为数组时,应选择list;若描述为字符串时,应选择section\",\n },\n },\n enum: [\n {\n label: \"list\",\n value: \"list\",\n },\n {\n label: \"section\",\n value: \"section\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n },\n },\n },\n {\n name: \"newDescription\",\n title: \"描述\",\n type: \"string\",\n },\n {\n name: \"alwaysShowDescription\",\n title: \"总是保留描述区\",\n type: \"boolean\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n tooltip: \"保留描述区,则没有描述时也会有相应的空间留白\",\n },\n },\n },\n {\n name: \"topInformation\",\n title: \"头部辅助信息\",\n type: \"string\",\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"bordered\",\n title: \"显示外边框\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"hoverable\",\n title: \"启用hover样式\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"showOperationAreaWhenHovering\",\n title: \"hover时显示操作区\",\n type: \"boolean\",\n },\n {\n name: \"disabled\",\n title: \"禁用状态\",\n type: \"boolean\",\n },\n {\n name: \"categoryTitle_link\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"跳转链接\",\n },\n },\n },\n {\n name: \"href\",\n title: \"跳转href\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"优先级最高\",\n },\n },\n },\n {\n name: \"url\",\n title: \"跳转url\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"优先级次于href\",\n },\n },\n },\n {\n name: \"urlTemplate\",\n title: \"跳转模板url\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"优先级次于url,支持模板变量\",\n },\n },\n },\n {\n name: \"target\",\n title: \"跳转目标\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"例如可设置为_blank\",\n },\n },\n },\n {\n name: \"categoryTitle_icon\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"图标\",\n },\n },\n },\n {\n name: \"showImg\",\n title: \"使用图片图标\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"icon\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconColor\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&($deps[0]==='icon-small-align-left'||$deps[0]==='icon-align-right'||$deps[0]==='icon-align-left')}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconSize\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconOffsetX\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconOffsetY\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n dependencies: [\"cardLayoutType\"],\n target: \"iconOpacity\",\n fulfill: {\n state: {\n visible:\n \"{{$self.value===false&&$deps[0]==='icon-as-background'}}\",\n },\n },\n },\n {\n target: \"reverseBgColor\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n {\n target: \"iconStyle\",\n fulfill: {\n state: {\n visible: \"{{$self.value===false}}\",\n },\n },\n },\n {\n target: \"imgSrc\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n {\n target: \"imgSize\",\n fulfill: {\n state: {\n visible: \"{{$self.value===true}}\",\n },\n },\n },\n ],\n },\n {\n name: \"icon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n {\n name: \"iconColor\",\n title: \"图标颜色\",\n type: \"string\",\n component: \"ColorPicker\",\n },\n {\n name: \"iconSize\",\n title: \"图标大小\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: 100,\n },\n },\n decorator: \"FormItem\",\n },\n {\n name: \"iconOffsetX\",\n title: \"图标X轴偏移\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: \"FormItem\",\n },\n {\n name: \"iconOffsetY\",\n title: \"图标Y轴偏移\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: \"FormItem\",\n },\n {\n name: \"iconOpacity\",\n title: \"图标透明度\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: 0.45,\n },\n },\n decorator: \"FormItem\",\n },\n {\n name: \"reverseBgColor\",\n title: \"反转背景色\",\n type: \"boolean\",\n },\n {\n name: \"iconStyle\",\n title: \"图标样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"imgSrc\",\n title: \"图标链接\",\n type: \"string\",\n },\n {\n name: \"imgSize\",\n title: \"图标大小\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: {\n name: \"FormItem\",\n props: {\n tooltip: \"默认铺满\",\n },\n },\n },\n {\n name: \"shape\",\n title: \"形状\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"圆形\",\n value: \"circle\",\n },\n {\n label: \"方形\",\n value: \"square\",\n },\n {\n label: \"圆角\",\n value: \"round-square\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"circle\",\n },\n },\n },\n {\n name: \"categoryTitle_advanced\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"高级\",\n },\n },\n },\n {\n name: \"tagConfig\",\n title: \"右上角标签\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n },\n },\n {\n name: \"dataSource\",\n title: \"数据源\",\n type: \"string\",\n required: true,\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择数据源\",\n allowClear: true,\n },\n },\n },\n {\n name: \"fields\",\n title: \"字段映射\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"配合数据源一起使用来获得运行时必要字段\",\n },\n },\n },\n {\n name: \"useAfterDescriptionSlot\",\n title: \"支持afterDescription插槽\",\n type: \"boolean\",\n },\n {\n name: \"useLinkBehavior\",\n title: \"内部使用a标签实现点击\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"configProps\",\n title: \"其他配置\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"完全透传给antd的Card属性\",\n },\n },\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { cardItemSchema } from \"./cardItem.schema\";\nimport { get, omit } from \"lodash\";\n\nconst transformNormal2Advanced = (rawValue: any) => {\n const res = {\n ...omit(rawValue, [\"useOldDesc\"]),\n };\n return res;\n};\n\nconst transformAdvanced2Normal = (rawValue: any) => {\n const useOldDesc = !!get(rawValue, \"descriptionList\");\n const res = {\n ...rawValue,\n useOldDesc,\n };\n return res;\n};\n\nfunction CardItemComponentFactory(React: typeof _React) {\n return function CardItemComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n effects,\n } = props;\n\n React.useEffect(() => {\n const { onAdvancedChange, onSubmit } = effects;\n const { dataList = [] } = scope;\n // 表单初始化\n\n form.setInitialValues({\n cardLayoutType: \"icon-as-background\",\n useOldDesc: false,\n showImg: false,\n });\n\n // 初始化data\n form.query(\"dataSource\").take((field: any) => {\n field.setComponentProps({\n options: dataList?.map((item: any) => ({\n label: item?.name,\n value: item?.value,\n })),\n });\n });\n\n // 监听模式切换\n form.addEffects(\"onAdvancedChange\", () => {\n onAdvancedChange((advancedMode: boolean, form: any) => {\n const rawValue = form.getState()?.values ?? {};\n return advancedMode\n ? transformNormal2Advanced(rawValue)\n : transformAdvanced2Normal(rawValue);\n });\n });\n\n // 监听表单提交\n form.addEffects(\"onSubmit\", () => {\n onSubmit((value: any) => {\n return transformNormal2Advanced(value);\n });\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(cardItemSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"presentational-bricks.card-item\",\n CardItemComponentFactory\n);\n","export const eoLinkSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"label\",\n title: \"文本\",\n type: \"string\",\n },\n {\n name: \"link\",\n title: \"链接\",\n type: \"string\",\n component: {\n name: \"InputWithUrl\",\n props: {\n transform: {\n url: \"url\",\n href: \"href\",\n },\n },\n },\n },\n {\n name: \"disabled\",\n title: \"禁用\",\n type: \"boolean\",\n },\n {\n name: \"type\",\n title: \"类型\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n options: [\n { label: \"链接\", value: \"link\" },\n { label: \"文本\", value: \"text\" },\n ],\n optionType: \"button\",\n defaultValue: \"link\",\n },\n },\n },\n {\n name: \"target\",\n title: \"跳转方式\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n options: [\n {\n label: \"当前页面加载\",\n value: \"_self\",\n },\n {\n label: \"新标签打开\",\n value: \"_blank\",\n },\n ],\n },\n },\n },\n {\n name: \"tooltip\",\n title: \"按钮提示\",\n type: \"string\",\n },\n {\n name: \"categoryTitle_style\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"外观\",\n },\n },\n },\n {\n type: \"boolean\",\n title: \"隐藏跳转图标\",\n name: \"hideExternalIcon\",\n \"x-reactions\": [\n {\n target: \"iconAlign\",\n fulfill: {\n state: {\n visible: \"{{!$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"iconAlign\",\n title: \"图标位置\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n component: {\n name: \"TextAlignRadio\",\n props: {\n hideCenter: true,\n },\n },\n },\n {\n type: \"boolean\",\n title: \"显示下划线\",\n name: \"underLine\",\n },\n {\n name: \"labelColor\",\n type: \"string\",\n title: \"文本颜色\",\n compponent: \"ColorPicker\",\n },\n {\n name: \"icon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { eoLinkSchema } from \"./brickLink.schema\";\nimport { omit } from \"lodash\";\nimport { getRuntime } from \"@next-core/brick-kit\";\n\nfunction BrickLinkComponentFactory(React: typeof _React) {\n return function BrickLinkComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n scope,\n form,\n effects,\n } = props;\n\n React.useEffect(() => {\n const { onSubmit, init } = effects;\n\n form.addEffects(\"submit\", () => {\n onSubmit((value: any) => {\n return omit(value, [\"link\"]);\n });\n });\n }, [effects, form]);\n\n React.useEffect(() => {\n form.setInitialValues({\n hideExternalIcon: false,\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(eoLinkSchema as any),\n scope,\n });\n };\n}\n\ngetRuntime().customEditors.define(\n \"presentational-bricks.brick-link\",\n BrickLinkComponentFactory\n);\n","export const basicIconSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"icon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { basicIconSchema } from \"./basicIcon.schema\";\nimport { getRuntime } from \"@next-core/brick-kit\";\n\nfunction BrickIconComponentFactory(React: typeof _React) {\n return function BrickIconComponent(props: any): React.ReactElement {\n const { SchemaFieldComponent, formilySchemaFormatter, scope } = props;\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(basicIconSchema as any),\n scope,\n });\n };\n}\n\ngetRuntime().customEditors.define(\n \"presentational-bricks.basic-icon\",\n BrickIconComponentFactory\n);\n"],"sourceRoot":""}
|