@next-bricks/basic-bricks 1.255.0 → 1.256.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +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:///./bricks/basic-bricks/src/property-editors/_/public-path.js","webpack:///external \"dll\"","webpack:///./bricks/basic-bricks/src/property-editors/general-button/general-button.schema.ts","webpack:///./bricks/basic-bricks/src/property-editors/general-button/index.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-drawer/generalDrawer.schema.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-drawer/index.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-text/generalText.schema.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-text/index.tsx","webpack:///./bricks/basic-bricks/src/property-editors/popover-container/popoverContainer.schema.tsx","webpack:///./bricks/basic-bricks/src/property-editors/popover-container/index.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-modal/generalModal.schema.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-modal/index.tsx","webpack:///./bricks/basic-bricks/src/property-editors/general-card/general-card.schema.ts","webpack:///./bricks/basic-bricks/src/property-editors/general-card/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","__webpack_public_path__","window","PUBLIC_ROOT","dll","generalButtonSchema","type","component","props","layout","children","decorator","text","title","descorator","options","label","placeholder","allowClear","map","item","enum","size","optionType","getRuntime","customEditors","define","React","SchemaFieldComponent","formilySchemaFormatter","advancedMode","scope","createElement","schema","generalDrawerSchema","defaultValue","target","fulfill","state","visible","tooltip","form","useEffect","setInitialValues","mask","generalTextSchema","popoverContainerSchema","required","generalModalSchema","dataList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AA8BnB,GACnC,IAAM,qBAAEoB,EAAoB,uBAAEC,EAAsB,KAAEY,EAAI,MAAEV,GAAUvB,EAQtE,OANAmB,EAAMe,UAAU,KACdD,EAAKE,iBAAiB,CACpBY,WAAW,KAEZ,CAACd,IAEGd,EAAMK,cAAcJ,EAAsB,CAC/CK,OAAQJ,EAAuByB,GAC/BvB","file":"property-editors.290f6608.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 = 3);\n","module.exports = (__webpack_require__(2))(\"tYg3\");","__webpack_public_path__ = `${window.PUBLIC_ROOT ?? \"\"}bricks/basic-bricks/dist/property-editors/`;","module.exports = dll;","const generalButtonSchema = {\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: \"buttonName\",\n title: \"文本\",\n type: \"string\",\n },\n {\n name: \"disabled\",\n title: \"禁用\",\n type: \"boolean\",\n },\n {\n name: \"buttonUrl\",\n title: \"内链地址\",\n type: \"string\",\n },\n {\n name: \"buttonHref\",\n title: \"外链地址\",\n type: \"string\",\n },\n {\n name: \"target\",\n title: \"链接类型\",\n type: \"string\",\n descorator: \"FormItem\",\n component: {\n name: \"Select\",\n props: {\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: \"string\",\n name: \"buttonType\",\n title: \"按钮类型\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择按钮类型\",\n allowClear: true,\n options: [\n \"primary\",\n \"default\",\n \"dashed\",\n \"ghost\",\n \"link\",\n \"text\",\n \"icon\",\n ].map((item) => ({\n label: item,\n value: item,\n })),\n },\n },\n },\n {\n name: \"buttonSize\",\n title: \"大小\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"大\",\n value: \"large\",\n },\n {\n label: \"标准\",\n value: \"medium\",\n },\n {\n label: \"小\",\n value: \"small\",\n },\n {\n label: \"超小\",\n value: \"xs\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n },\n },\n },\n {\n name: \"buttonDanger\",\n title: \"危险模式\",\n type: \"boolean\",\n },\n {\n name: \"buttonIcon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n {\n name: \"buttonShape\",\n title: \"形状\",\n type: \"string\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择按钮形状\",\n allowClear: true,\n options: [\n { label: \"圆形\", value: \"circle\" },\n { label: \"圆弧形\", value: \"round\" },\n { label: \"默认\", value: \"default\" },\n ],\n },\n },\n },\n ],\n};\n\nexport { generalButtonSchema };\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { generalButtonSchema } from \"./general-button.schema\";\n\nfunction GeneralButtonComponentFactory(React: typeof _React) {\n return function GeneralButtonComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n } = props;\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(generalButtonSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.general-button\",\n GeneralButtonComponentFactory\n);\n","export const generalDrawerSchema = {\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: \"customTitle\",\n title: \"标题\",\n type: \"string\",\n },\n {\n name: \"hasFooter\",\n title: \"支持footer插槽\",\n type: \"boolean\",\n },\n {\n name: \"width\",\n title: \"宽度\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: \"FormItem\",\n },\n {\n name: \"mask\",\n title: \"显示蒙层\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n \"x-reactions\": [\n {\n target: \"maskClosable\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"maskClosable\",\n title: \"点击蒙层允许关闭\",\n type: \"boolean\",\n },\n {\n name: \"closable\",\n title: \"显示右上角关闭按钮\",\n type: \"boolean\",\n },\n {\n name: \"loading\",\n title: \"显示加载中效果\",\n type: \"boolean\",\n },\n {\n name: \"isFloat\",\n title: \"浮层样式\",\n type: \"boolean\",\n },\n {\n name: \"scrollToTopWhenOpen\",\n title: \"打开抽屉时内容区自动滚动到顶部\",\n type: \"boolean\",\n },\n {\n name: \"bodyStyle\",\n title: \"抽屉内容样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"drawerStyle\",\n title: \"抽屉弹出层样式\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"headerStyle\",\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: {\n name: \"FormItemWithoutAdvanced\",\n props: {\n tooltip: \"直接透传给antd的Drawer属性\",\n },\n },\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { generalDrawerSchema } from \"./generalDrawer.schema\";\n\nfunction GeneralDrawerComponentFactory(React: typeof _React) {\n return function GeneralDrawerComponent(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 mask: true,\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(generalDrawerSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.general-drawer\",\n GeneralDrawerComponentFactory\n);\n","export const generalTextSchema = {\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: \"textContent\",\n title: \"文本\",\n type: \"string\",\n },\n {\n name: \"fontSize\",\n title: \"字体大小\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"14px\",\n },\n },\n },\n {\n name: \"fontWeight\",\n title: \"字体粗细\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"normal\",\n },\n },\n },\n {\n name: \"color\",\n title: \"字体颜色\",\n type: \"string\",\n component: \"ColorPicker\",\n },\n {\n name: \"lineHeight\",\n title: \"字体行高\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"14px\",\n },\n },\n },\n {\n name: \"textAlign\",\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: \"left\",\n },\n },\n },\n {\n name: \"display\",\n title: \"显示类型\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"inline\",\n },\n },\n },\n {\n name: \"customStyle\",\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 { generalTextSchema } from \"./generalText.schema\";\n\nfunction GeneralTextComponentFactory(React: typeof _React) {\n return function GeneralTextComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n } = props;\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(generalTextSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.general-text\",\n GeneralTextComponentFactory\n);\n","export const popoverContainerSchema = {\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: \"displayBrick\",\n title: \"展示构件\",\n type: \"string\",\n required: true,\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"popoverBrick\",\n title: \"弹框构件\",\n type: \"string\",\n required: true,\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"popoverTitleBrick\",\n title: \"弹框标题构件\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"data\",\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: \"visible\",\n title: \"显示弹框\",\n type: \"boolean\",\n },\n {\n name: \"transferVisible\",\n title: \"透传visiable给弹框构件\",\n type: \"boolean\",\n },\n {\n name: \"triggerByIcon\",\n title: \"由图标触发\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n \"x-reactions\": [\n {\n target: \"popoverIcon\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n {\n target: \"showIcon\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n {\n target: \"trigger\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"popoverIcon\",\n title: \"触发弹框图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n {\n name: \"showIcon\",\n title: \"图标显示时机\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"总是显示\",\n value: \"always\",\n },\n {\n label: \"悬浮显示\",\n value: \"hover\",\n },\n {\n label: \"不显示\",\n value: \"never\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"hover\",\n },\n },\n },\n {\n name: \"trigger\",\n title: \"触发弹框方式\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"点击\",\n value: \"click\",\n },\n {\n label: \"悬浮\",\n value: \"hover\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n defaultValue: \"click\",\n },\n },\n },\n {\n name: \"placement\",\n title: \"弹框位置\",\n type: \"string\",\n descorator: \"FormItem\",\n component: {\n name: \"Select\",\n props: {\n allowClear: true,\n placeholder: \"bottom\",\n options: [\n \"top\",\n \"topLeft\",\n \"topRight\",\n \"bottom\",\n \"bottomLeft\",\n \"bottomRight\",\n \"right\",\n \"rightTop\",\n \"rightBottom\",\n \"left\",\n \"leftTop\",\n \"leftBottom\",\n ].map((item) => ({\n label: item,\n value: item,\n })),\n },\n },\n },\n {\n name: \"showPopoverBg\",\n title: \"显示弹框背景\",\n type: \"boolean\",\n component: {\n props: {\n defaultValue: true,\n size: \"small\",\n },\n },\n },\n {\n name: \"zIndex\",\n title: \"弹框Z轴顺序\",\n decorator: \"FormItem\",\n type: \"number\",\n component: {\n name: \"NumberPicker\",\n props: {\n placeholder: \"1030\",\n },\n },\n },\n {\n name: \"getPopupContainer\",\n title: \"弹框挂载父节点\",\n type: \"string\",\n component: \"CodeEditor\",\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"popoverContentStyle\",\n title: \"弹框内容样式\",\n type: \"string\",\n component: {\n name: \"CodeEditor\",\n props: {\n placeholder: \"{width: 200px}\",\n },\n },\n decorator: \"FormItemWithoutAdvanced\",\n },\n {\n name: \"categoryTitle_topo\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"拓扑\",\n },\n },\n },\n {\n name: \"highlighted\",\n title: \"是否高亮\",\n type: \"boolean\",\n },\n {\n name: \"related\",\n title: \"是否被关联\",\n type: \"boolean\",\n },\n {\n name: \"faded\",\n title: \"是否弱化\",\n type: \"boolean\",\n },\n {\n name: \"transferGraphAttrs\",\n title: \"透传拓扑属性给子展示构件\",\n type: \"boolean\",\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { popoverContainerSchema } from \"./popoverContainer.schema\";\n\nfunction PopoverContainerComponentFactory(React: typeof _React) {\n return function PopoverContainerComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n } = props;\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(\n popoverContainerSchema as any,\n advancedMode!\n ),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.popover-container\",\n PopoverContainerComponentFactory\n);\n","export const generalModalSchema = {\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: \"modalTitle\",\n title: \"标题\",\n type: \"string\",\n },\n {\n name: \"titleIcon\",\n title: \"标题图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n {\n name: \"titleAlign\",\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 },\n },\n },\n {\n name: \"width\",\n title: \"模态框宽度\",\n type: \"number\",\n component: \"NumberPicker\",\n decorator: \"FormItem\",\n },\n {\n name: \"enableFooterSlot\",\n title: \"启用底部插槽\",\n type: \"boolean\",\n },\n {\n name: \"maskClosable\",\n title: \"点击蒙层可关闭弹框\",\n type: \"boolean\",\n component: {\n props: {\n size: \"small\",\n defaultValue: true,\n },\n },\n },\n {\n name: \"categoryTitle_style\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"样式\",\n },\n },\n },\n {\n name: \"isHiddenBodyPadding\",\n title: \"隐藏内容区内边距\",\n type: \"boolean\",\n },\n {\n name: \"isHiddenHeaderBorder\",\n title: \"隐藏头部分割线\",\n type: \"boolean\",\n },\n {\n name: \"isHiddenFooterColor\",\n title: \"隐藏底部背景颜色\",\n type: \"boolean\",\n },\n {\n name: \"fullscreen\",\n title: \"启用全屏模式\",\n type: \"boolean\",\n },\n {\n name: \"footerPosition\",\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 },\n },\n },\n {\n name: \"categoryTitle_confirm\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"确认按钮\",\n },\n },\n },\n {\n name: \"okText\",\n title: \"确认按钮文字\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"确认\",\n },\n },\n },\n {\n name: \"okType\",\n title: \"确认按钮类型\",\n type: \"string\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"Primary\",\n allowClear: true,\n options: [\n { label: \"Link\", value: \"link\" },\n { label: \"Default\", value: \"default\" },\n { label: \"Primary\", value: \"primary\" },\n { label: \"Ghost\", value: \"ghost\" },\n { label: \"Dashed\", value: \"dashed\" },\n { label: \"Danger\", value: \"danger\" },\n ],\n },\n },\n },\n {\n name: \"okDisabled\",\n title: \"禁用确认按钮\",\n type: \"boolean\",\n },\n {\n name: \"confirmLoading\",\n title: \"确认按钮显示加载中\",\n type: \"boolean\",\n },\n {\n name: \"closeWhenOk\",\n title: \"确认时自动关闭弹框\",\n type: \"boolean\",\n decorator: {\n props: {\n tooltip: \"值为false时,点击确认后需要自行关闭弹框\",\n },\n },\n component: {\n props: {\n defaultValue: true,\n },\n },\n },\n {\n name: \"categoryTitle_cancel\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"取消按钮\",\n },\n },\n },\n {\n name: \"cancelText\",\n title: \"取消按钮文字\",\n type: \"string\",\n component: {\n props: {\n placeholder: \"取消\",\n },\n },\n },\n {\n name: \"hideCancelButton\",\n title: \"隐藏取消按钮\",\n type: \"boolean\",\n },\n {\n name: \"closeWhenCancel\",\n title: \"取消时自动关闭弹框\",\n type: \"boolean\",\n component: {\n props: {\n defaultValue: true,\n },\n },\n },\n {\n name: \"categoryTitle_advaneced\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"高级\",\n },\n },\n },\n {\n name: \"dataSource\",\n title: \"数据源\",\n type: \"string\",\n decorator: {\n props: {\n tooltip: \"将作为确认和取消事件中detail的值\",\n },\n },\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择数据源\",\n allowClear: 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的Modal属性\",\n },\n },\n },\n ],\n};\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { generalModalSchema } from \"./generalModal.schema\";\n\nfunction GeneralModalComponentFactory(React: typeof _React) {\n return function GeneralModalComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n form,\n } = props;\n\n React.useEffect(() => {\n const { dataList = [] } = scope;\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 }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(generalModalSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.general-modal\",\n GeneralModalComponentFactory\n);\n","const generalCardSchema = {\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: \"cardTitle\",\n title: \"卡片标题\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n },\n {\n type: \"string\",\n title: \"头部图标\",\n name: \"headerIcon\",\n component: \"IconSelect\",\n },\n {\n name: \"fillVertical\",\n title: \"撑满父容器\",\n type: \"boolean\",\n },\n {\n name: \"hideSplit\",\n title: \"是否隐藏分割线\",\n type: \"boolean\",\n },\n {\n name: \"hasFooter\",\n title: \"是否开启footer插槽\",\n type: \"boolean\",\n \"x-reactions\": [\n {\n target: \"isFixedFooter\",\n fulfill: {\n state: {\n visible: \"{{$self.value}}\",\n },\n },\n },\n ],\n },\n {\n name: \"isFixedFooter\",\n title: \"footer是否绝对定位\",\n type: \"boolean\",\n },\n ],\n};\n\nexport { generalCardSchema };\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { generalCardSchema } from \"./general-card.schema\";\n\nfunction GeneralCardComponentFactory(React: typeof _React) {\n return function GeneralCardComponent(props: any): React.ReactElement {\n const { SchemaFieldComponent, formilySchemaFormatter, form, scope } = props;\n\n React.useEffect(() => {\n form.setInitialValues({\n hasFooter: false,\n });\n }, [form]);\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(generalCardSchema as any),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.general-card\",\n GeneralCardComponentFactory\n);\n"],"sourceRoot":""}