epic-designer-gold 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ETable-adkZzXhI.cjs +1 -0
- package/dist/ETable-ogvH56w7.js +50 -0
- package/dist/ETd-BCM7zA8V.cjs +1 -0
- package/dist/{row-DAy14ve9.js → ETd-CRUvOVnZ.js} +13 -13
- package/dist/ETr-BqGghav2.cjs +1 -0
- package/dist/ETr-nIjGkdzO.js +43 -0
- package/dist/{attributeView-C_rnFDGo.js → attributeView-4j---k7X.js} +7 -7
- package/dist/attributeView-DOL6IUO8.cjs +1 -0
- package/dist/axios-CXDYiOMX.js +1704 -0
- package/dist/axios-tuVKNgv9.cjs +6 -0
- package/dist/card-C9ua0f7r.cjs +1 -0
- package/dist/card-CI6L3YKU.js +33 -0
- package/dist/cell-AML-qIH9.cjs +1 -0
- package/dist/cell-B_q5hgzb.js +35 -0
- package/dist/col-C4lVVBzC.cjs +1 -0
- package/dist/col-DcVPBKEc.js +31 -0
- package/dist/core/components/builder/src/builder.vue.d.ts +2 -2
- package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
- package/dist/core/components/node/src/node.vue.d.ts +3 -2
- package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +10 -0
- package/dist/core/extensions/EColumnEditor/index.vue.d.ts +18 -0
- package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +10 -0
- package/dist/eventView-5fa6mfSD.cjs +1 -0
- package/dist/eventView-C2wKhfU_.js +63 -0
- package/dist/{form-CthzLIgs.cjs → form-Bofkrmkd.cjs} +1 -1
- package/dist/{form-6cUK-Ari.js → form-VbfBmb63.js} +5 -5
- package/dist/iframe-CRF3GSRv.cjs +1 -0
- package/dist/iframe-Fgbk3vqJ.js +48 -0
- package/dist/{index-CeVV_SOj.js → index--PWf2Ut2.js} +3 -3
- package/dist/{index-CoCyrWM2.js → index-B0OgKtuT.js} +72 -71
- package/dist/{index-DWxy0GSJ.js → index-B1s67XDZ.js} +11 -15
- package/dist/index-B4sqskGf.cjs +1 -0
- package/dist/{index-DaJuXp0q.cjs → index-BBVUGri_.cjs} +1 -1
- package/dist/index-BEUYVwRA.cjs +1 -0
- package/dist/index-BHZbtFEF.cjs +1 -0
- package/dist/index-BJHU3Dzu.js +839 -0
- package/dist/{index-BpROfyMH.cjs → index-BoL2PSBk.cjs} +1 -1
- package/dist/index-CCCx1tbF.cjs +1 -0
- package/dist/index-CPkRsFQ7.cjs +1 -0
- package/dist/index-CXI_7l7O.js +1422 -0
- package/dist/{index-DK4PrvRF.cjs → index-CYxg6AdN.cjs} +1 -1
- package/dist/{index-P13z5c0g.js → index-Cctdx_Vq.js} +3 -3
- package/dist/index-CdnV7DS4.js +265 -0
- package/dist/{index-BfdYrl-Q.js → index-Cln9MN7u.js} +1 -1
- package/dist/{index-BEMPXyNN.js → index-CpTA2IRB.js} +2 -2
- package/dist/index-CpevxZqj.cjs +1 -0
- package/dist/{index-AH-Lj15r.js → index-CraRg8wh.js} +6 -6
- package/dist/{index-cElDeAm2.js → index-Cx7gKpkD.js} +2 -2
- package/dist/index-DOZPyH6X.cjs +10 -0
- package/dist/index-DYQi05p8.cjs +1 -0
- package/dist/index-Dftp7CV4.cjs +1 -0
- package/dist/index-DiQ4ZTF7.js +142 -0
- package/dist/index-DqLjoo13.cjs +1 -0
- package/dist/index-Dz59dUur.cjs +1 -0
- package/dist/{index-Ce470l1n.js → index-DzC3poxn.js} +3 -3
- package/dist/index-FgdbKgb5.cjs +1 -0
- package/dist/{index-CFZioB1O.js → index-IGxCNti8.js} +48 -28
- package/dist/index-JlyEcj-r.js +4 -0
- package/dist/index-R2r9Rw5O.cjs +1 -0
- package/dist/{index-DENcRmIy.js → index-WkZdU_zw.js} +2 -2
- package/dist/index-v2u1WTMm.cjs +1 -0
- package/dist/{index-DpF9E6J8.js → index-zxyA8Keq.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/modal-DCBqsiP2.cjs +1 -0
- package/dist/modal-DZRBS-Mt.js +58 -0
- package/dist/outline-BE98qFHQ.cjs +1 -0
- package/dist/{outline-DQ8wgGyH.js → outline-Ch5PHy3c.js} +2 -2
- package/dist/pluginManager-BCnrHPYv.js +660 -0
- package/dist/pluginManager-DWHAX8kP.cjs +1 -0
- package/dist/sign-BS-9u6is.cjs +1 -0
- package/dist/{sign-Dfqcv4Fg.js → sign-l63EYvVo.js} +21 -20
- package/dist/style.css +1 -1
- package/dist/styleView-CNmD046X.cjs +1 -0
- package/dist/styleView-DLmxP2vS.js +140 -0
- package/dist/tabPanel-CXZYMEwi.cjs +1 -0
- package/dist/{col-D4hvKfJ6.js → tabPanel-DAw7ENrC.js} +7 -7
- package/dist/table-75K2lqjD.js +65 -0
- package/dist/table-CN2LNWqY.cjs +1 -0
- package/dist/tabs-CYH9lAUk.cjs +1 -0
- package/dist/tabs-DCyifACM.js +41 -0
- package/dist/text-B92ioaoV.cjs +1 -0
- package/dist/text-C-b94tBH.js +47 -0
- package/dist/{tree.vue_vue_type_script_setup_true_lang-B-8wkdQS.js → tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js} +2 -2
- package/dist/tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs +1 -0
- package/dist/ui/elementPlus/ETable/ETable.d.ts +20 -0
- package/dist/ui/elementPlus/ETd/ETd.d.ts +20 -0
- package/dist/ui/elementPlus/ETr/ETr.d.ts +20 -0
- package/dist/ui/elementPlus/ETr/index.d.ts +3 -0
- package/dist/ui/elementPlus/iframe/iframe.d.ts +29 -0
- package/dist/ui/elementPlus/iframe/index.d.ts +3 -0
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +904 -403
- package/dist/ui/elementPlus/rate/index.d.ts +3 -0
- package/dist/ui/elementPlus/tab-panel/index.d.ts +3 -0
- package/dist/ui/elementPlus/table/table.d.ts +9 -0
- package/dist/ui/elementPlus/table-cell/index.d.ts +3 -0
- package/dist/ui/elementPlus/tabs/index.d.ts +2 -0
- package/dist/ui/elementPlus/tabs/tabs.d.ts +29 -0
- package/dist/ui/elementPlus/text/text.d.ts +9 -0
- package/dist/ui/naiveUi/index.cjs +1 -1
- package/dist/ui/naiveUi/index.js +1 -1
- package/dist/uploadFile-pgvj4Lm9.cjs +1 -0
- package/dist/uploadFile-qCbXuHfd.js +81 -0
- package/dist/uploadImage-B3sOX-5F.cjs +1 -0
- package/dist/{uploadImage-B3tV49Mm.cjs → uploadImage-CNMsK4Lh.cjs} +1 -1
- package/dist/uploadImage-DQmVV0jl.js +121 -0
- package/dist/{uploadImage-Z6Y6KN1R.js → uploadImage-VFICaVgX.js} +1 -1
- package/package.json +1 -1
- package/vite.config.ts.timestamp-1748427578982-d7ce374e905ab.mjs +78 -0
- package/dist/attributeView-CEFjPemt.cjs +0 -1
- package/dist/axios-B5oA4AjJ.cjs +0 -6
- package/dist/axios-awtfJhsA.js +0 -2362
- package/dist/card-BowzD9vN.cjs +0 -1
- package/dist/card-CNGNDzPp.js +0 -31
- package/dist/col-B1GUMkMK.cjs +0 -1
- package/dist/col-BNNn9Yx8.cjs +0 -1
- package/dist/col-u5YiB-UK.js +0 -41
- package/dist/index-B0rUZfG_.js +0 -742
- package/dist/index-BOUKAGKU.cjs +0 -1
- package/dist/index-B_BKVTct.cjs +0 -1
- package/dist/index-Ba8KVYrQ.cjs +0 -1
- package/dist/index-BnLI5N3M.cjs +0 -1
- package/dist/index-BxCrqMkz.cjs +0 -1
- package/dist/index-CBBK4Aze.cjs +0 -1
- package/dist/index-CDTcUcwY.cjs +0 -1
- package/dist/index-Cq5wbnmA.cjs +0 -1
- package/dist/index-D8olMR4m.cjs +0 -10
- package/dist/index-DfRZtELz.js +0 -4
- package/dist/index-J9twEwWw.cjs +0 -1
- package/dist/index-oMkqg9Zb.js +0 -1367
- package/dist/index-tR-Y01R8.cjs +0 -1
- package/dist/index-vzxiD3pz.cjs +0 -1
- package/dist/modal-BLOgN3us.cjs +0 -1
- package/dist/modal-UFu4bD6x.js +0 -57
- package/dist/outline-JJ0IbSzs.cjs +0 -1
- package/dist/row-BWnbt6dh.cjs +0 -1
- package/dist/sign-BBoshwS_.cjs +0 -1
- package/dist/styleView-CZEOSq2l.cjs +0 -1
- package/dist/styleView-CajgzMOm.js +0 -106
- package/dist/table-CnBJm7Bx.js +0 -43
- package/dist/table-DM2-xHlv.cjs +0 -1
- package/dist/text-C-52xLjs.js +0 -33
- package/dist/text-X9fl5oe8.cjs +0 -1
- package/dist/tree.vue_vue_type_script_setup_true_lang-BS6Anq-8.cjs +0 -1
- package/dist/uploadFile-BHn9oVA8.cjs +0 -1
- package/dist/uploadFile-D_0_6ghp.js +0 -77
- package/dist/uploadImage-4U4YGGfK.js +0 -96
- package/dist/uploadImage-C-OyUMFn.cjs +0 -1
- /package/dist/ui/elementPlus/{table-col → ETable}/index.d.ts +0 -0
- /package/dist/ui/elementPlus/{table-row → ETd}/index.d.ts +0 -0
- /package/dist/ui/elementPlus/{table-col/col.d.ts → tab-panel/tabPanel.d.ts} +0 -0
- /package/dist/ui/elementPlus/{table-row/row.d.ts → table-cell/cell.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("vue"),C={component:"Component",outline:"Outline",style:"Style",attribute:"Attribute",searchComponent:"Search Component",noComponentFound:"No Component Found",all:"All",form:"Form",labelPosition:"Label Position",left:"Left",right:"Right",top:"Top",labelWidth:"Label Width",labelSuffix:"Label Suffix",pleaseEnter:"Please Enter",formSize:"Form Size",pleaseSelect:"Please Select",large:"Large",medium:"Medium",small:"Small",asteriskPosition:"Asterisk Position",inlineValidationMessage:"Inline Validation Message",validationFeedbackIcon:"Validation Feedback Icon",scrollToValidationError:"Scroll to Validation Error",inlineMode:"Inline Mode",getFormData:"Get Form Data",setFormData:"Set Form Data",validateForm:"Validate Form",layout:"Layout",fieldName:"Field Name",title:"Title",defaultValue:"Default Value",placeholder:"Placeholder",size:"Size",maxInputLength:"Max Input Length",countWords:"Count Words",inputType:"Input Type",showToggleIcon:"Show Toggle Icon",clearable:"Clearable",formValidation:"Form Validation",validationRuleRequiresForm:"Validation Rule Requires Form",onInput:"On Input",onChange:"On Change",onFocus:"On Focus",onBlur:"On Blur",onClear:"On Clear",focusInput:"Focus Input",blurInput:"Blur Input",clearInput:"Clear Input",selectInputText:"Select Input Text",input:"Input",cardLayout:"Card Layout",shadowTiming:"Shadow Timing",textarea:"Textarea",minRows:"Min Rows",maxRows:"Max Rows",inputValue:"Input Value",valueChange:"Value Change",focus:"Focus",blur:"Blur",signaturePad:"Signature Pad",lineWidth:"Line Width",rewriteWillClearCanvas:"Rewrite will clear the canvas. Are you sure you want to rewrite?",clearSuccess:"Clear Success",uploadSuccess:"Upload Success",uploadFailed:"Upload Failed",confirmAbandonSignature:"Are you sure you want to abandon this signature?",warning:"Warning",cancel:"Cancel",rewrite:"Rewrite",confirm:"Confirm",numberInput:"Number Input",maxValue:"Max Value",minValue:"Min Value",step:"Step",controlButtonPosition:"Control Button Position",precision:"Precision",inputControlIsMultipleOfStep:"Input Control Is Multiple of Step",onValueChange:"On Value Change",gridLayout:"Grid Layout",verticalAlignment:"Vertical Alignment",horizontalArrangement:"Horizontal Arrangement",gridSpacing:"Grid Spacing",gridWidth:"Grid Width (24 per row)",radio:"Radio",option1:"Option 1",option2:"Option 2",buttonMode:"Button Mode",optionTextColor:"Option Text Color",effectiveInButtonMode:"Effective in Button Mode",optionButtonColor:"Option Button Color",optionManagement:"Option Management",s:"DataSource",dataSourceConfig:"DataSource Configuration",checkbox:"Checkbox",maxSelected:"Max Selected",minSelected:"Min Selected",select:"Select",multiple:"Multiple",hideMultiple:"Hide Multiple",hideHint:"Hide Hint",retainSearchKeyword:"Retain Search Keyword",tagType:"Tag Type",multipleLimit:"Multiple Limit",hintTheme:"Hint Theme",filterable:"Filterable",allowCreate:"Allow Create",dropdownPosition:"Dropdown Position",dropdownWidthSameAsInput:"Dropdown Width Same as Input",noDataText:"No Data Text",configureOptions:"Configure Options",cascader:"Cascader",separator:"Separator",subMenuExpandMode:"Sub Menu Expand Mode",searchable:"Searchable",collapseTags:"Collapse Tags",showCollapsedTags:"Show Collapsed Tags",hidePath:"Hide Path",parentSelectable:"Parent Selectable",parentChildNotLinked:"Parent and Child Nodes Not Linked",onlyGetSelectedNodes:"Only Get Selected Nodes",onSelectedNodeChange:"On Selected Node Change",onBlurs:"On Blur",onFocu:"On Focus",getCurrentSelectedNodes:"Get Current Selected Nodes",togglePopperVisibility:"Toggle Popper Visibility",datePicker:"Date Picker",dateType:"Date Type",date:"Date",week:"Week",month:"Month",year:"Year",time:"Time",timeRange:"Time Range",dateRange:"Date Range",monthRange:"Month Range",multipleDates:"Multiple Dates",startPlaceholder:"Start Placeholder",endPlaceholder:"End Placeholder",editable:"Editable",displayFormat:"Display Format",dataFormat:"Data Format",fileUpload:"File Upload",requestUrl:"Request URL",uploadFileField:"Upload File Field",multiples:"Multiple",showFileList:"Show File List",dragUpload:"Drag Upload",maxUploadCount:"Max Upload Count",imageUpload:"Image Upload",switch:"Switch",onValue:"ON Value",offValue:"OFF Value",onDescription:"ON Description",offDescription:"OFF Description",width:"Width",textInside:"Text Inside",onChangeSwitch:"On Change",slider:"Slider",showStops:"Show Stops",tooltip:"Tooltip",range:"Range",vertical:"Vertical",height:"Height",showInput:"Show Input",controlButtons:"Control Buttons",tooltipPosition:"Tooltip Position",realTimeTrigger:"Real-time Trigger",onChangeEnd:"On Change End",colorPicker:"Color Picker",format:"Format",alpha:"Alpha",staticText:"Static Text",leftAlign:"Left Align",centerAlign:"Center Align",rightAlign:"Right Align",fontSize:"Font Size",button:"Button",type:"Type",actionType:"Action Type",customColor:"Custom Color",plainButton:"Plain Button",roundButton:"Round Button",circleButton:"Circle Button",textButton:"Text Button",loadingState:"Loading State",onClick:"On Click",onDoubleClick:"On Double Click",componentId:"Component ID",canvasWidth:"Canvas Width",canvasHeight:"Canvas Height",editComponentProperties:"Edit Component Properties",page:"Page",pageName:"Page Name",padding:"Padding",margin:"Margin",backgroundColor:"Background Color",fontColor:"Font Color",addOption:"Add Option",dataSources:"Data Source",pleaseSelectDataSource:"Please Select Data Source",pleaseCheckDataSourceConfig:"Please Check Data Source Configuration",dynamic:"Dynamic",static:"Static",noOptions:"No Options",configuration:"Configuration",addDataSource:"Add Data Source",apiName:"API Name",pleaseEnterApiName:"Please Enter API Name",pleaseEnterRequestUrl:"Please Enter Request URL",requestMethod:"Request Method",labelKey:"Label Key",pleaseEnterLabelKey:"Please Enter Label Key",valueKey:"Value Key",pleaseEnterValueKey:"Please Enter Value Key",dataPath:"Data Path",nestedPath:"Use '.' for Nested Path",requestParams:"Request Parameters",add:"Add",paramName:"Parameter Name",paramValue:"Parameter Value",requestHeaders:"Request Headers",requestBody:"Request Body",requestTest:"Request Test",save:"Save",configError:"Configuration Error",requestFailed:"Request Failed",fillRequiredFields:"Please Fill Required Fields",completeFormFirst:"Please Complete the Form First",addRule:"Add Rule",required:"Required",validationTrigger:"Validation Trigger",validationMessage:"Validation Message",customRule:"Custom Rule",validationFunction:"Validation Function",regexValidation:"Regex Validation",fieldLength:"Field Length",minLength:"Min Length",maxLength:"Max Length",saveForm:"Save Form",clickToUpload:"Click to Upload",row:"Row",column:"Column",searchNode:"Search Node",noDataFound:"No Data Found"},f={component:"组件",outline:"大纲",style:"样式",attribute:"属性",searchComponent:"搜索组件",noComponentFound:"没有查询到的组件",all:"全部",form:"表单",labelPosition:"标签位置",left:"左边",right:"右边",top:"顶部",labelWidth:"标签宽度",labelSuffix:"标签后缀",pleaseEnter:"请输入",formSize:"表单尺寸",pleaseSelect:"请选择",large:"大号",medium:"中等",small:"小型",asteriskPosition:"星号位置",inlineValidationMessage:"行内展示校验信息",validationFeedbackIcon:"校验反馈图标",scrollToValidationError:"滚动校验错误处",inlineMode:"行内模式",getFormData:"获取表单数据",setFormData:"设置表单数据",validateForm:"校验表单",layout:"布局",fieldName:"字段名",title:"标题",defaultValue:"默认值",placeholder:"占位内容",size:"尺寸",maxInputLength:"最大输入长度",countWords:"统计字数",inputType:"输入类型",showToggleIcon:"显示切换图标",clearable:"可清空",formValidation:"表单校验",validationRuleRequiresForm:"校验规则需要配合表单使用",onInput:"输入值时",onChange:"值修改时",onFocus:"获取焦点时",onBlur:"失去焦点时",onClear:"点击清空按钮时",focusInput:"使 input 获取焦点",blurInput:"使 input 失去焦点",clearInput:"清除 input 值",selectInputText:"选中 input 中的文字",input:"输入框",cardLayout:"卡片布局",shadowTiming:"阴影时机",textarea:"文本域",minRows:"最小行数",maxRows:"最大行数",inputValue:"输入值",valueChange:"值修改",focus:"获取焦点",blur:"失去焦点",signaturePad:"签名板",lineWidth:"线条宽度",rewriteWillClearCanvas:"重写将清空画布,请确定是否重写?",clearSuccess:"清空成功",uploadSuccess:"上传成功",uploadFailed:"上传失败",confirmAbandonSignature:"是否放弃本次签字?",warning:"警告",cancel:"取消",rewrite:"重写",confirm:"确定",numberInput:"数字输入框",maxValue:"最大值",minValue:"最小值",step:"步长",controlButtonPosition:"控制按钮位置",precision:"精度",inputControlIsMultipleOfStep:"输入控制为步长的倍数",onValueChange:"值变化时",gridLayout:"栅格布局",verticalAlignment:"垂直对齐方式",horizontalArrangement:"水平排列方式",gridSpacing:"栅格间距",gridWidth:"栅格宽度(一行为24)",radio:"单选框",option1:"选项1",option2:"选项2",buttonMode:"按钮模式",optionTextColor:"选项文本颜色",effectiveInButtonMode:"按钮模式下生效",optionButtonColor:"选项按钮颜色",optionManagement:"选项管理",dataSource:"数据源",dataSourceConfig:"数据源配置",checkbox:"复选框",maxSelected:"最大选中数",minSelected:"最小选中数",select:"选择框",multiple:"可多选",hideMultiple:"多选隐藏",hideHint:"隐藏提示",retainSearchKeyword:"保留搜索关键字",tagType:"标签类型",multipleLimit:"多选限制",hintTheme:"提示主题",filterable:"可筛选",allowCreate:"允许创建条目",dropdownPosition:"下拉框位置",dropdownWidthSameAsInput:"下拉框宽度与输入框相同",noDataText:"无数据时文本",configureOptions:"配置选项",cascader:"级联选择器",separator:"分割符",subMenuExpandMode:"次级菜单展开方式",searchable:"可搜索",collapseTags:"折叠Tag",showCollapsedTags:"显示被折叠标签",hidePath:"不显示路径",parentSelectable:"父级可选",parentChildNotLinked:"父子节点不互相关联",onlyGetSelectedNodes:"只获取选中节点",onSelectedNodeChange:"选中节点变化时",onBlurs:"当失去焦点时触发",onFocu:"当获得焦点时触发",getCurrentSelectedNodes:"获取当前选中节点",togglePopperVisibility:"切换 popper 可见状态",datePicker:"日期选择器",dateType:"日期类型",date:"日期",week:"周",month:"月份",year:"年份",time:"时间",timeRange:"时间范围",dateRange:"日期范围",monthRange:"月份范围",multipleDates:"多个日期",startPlaceholder:"开始占位符",endPlaceholder:"结束占位符",editable:"可输入",displayFormat:"显示格式",dataFormat:"数据格式",fileUpload:"上传文件",requestUrl:"请求地址",uploadFileField:"上传文件字段",multiples:"多选",showFileList:"展示文件列表",dragUpload:"拖拽上传",maxUploadCount:"允许上传最大数量",imageUpload:"上传图片",switch:"开关",onValue:"ON状态值",offValue:"OFF状态值",onDescription:"ON状态描述",offDescription:"OFF状态描述",width:"宽度",textInside:"文本点内显示",onChangeSwitch:"状态发生变化时",slider:"滑块",showStops:"显示间断点",tooltip:"提示信息",range:"开启选择范围",vertical:"垂直模式",height:"高度",showInput:"显示数字框",controlButtons:"控制按钮",tooltipPosition:"提示框位置",realTimeTrigger:"拖拽实时触发",onChangeEnd:"拖拽结束改变值时",colorPicker:"颜色选择器",format:"格式",alpha:"透明度选择",staticText:"静态文字",leftAlign:"居左",centerAlign:"居中",rightAlign:"居右",fontSize:"字体大小",button:"按钮",type:"类型",actionType:"操作类型",customColor:"自定义颜色",plainButton:"朴素按钮",roundButton:"圆角按钮",circleButton:"圆形按钮",textButton:"文字按钮",loadingState:"加载状态",onClick:"点击按钮时",onDoubleClick:"双击按钮时",componentId:"组件ID",canvasWidth:"画布宽度",canvasHeight:"画布高度",page:"页面",editComponentProperties:"编辑组件属性",pageName:"页面名称",padding:"内边距",margin:"外边距",backgroundColor:"背景色",fontColor:"字体颜色",addOption:"添加选项",dataSources:"数据源",pleaseSelectDataSource:"请选择数据源",pleaseCheckDataSourceConfig:"请检查数据位置是否配置准确",dynamic:"动态",static:"静态",noOptions:"暂无选项",configuration:"配置",addDataSource:"新增数据源",apiName:"接口名称",pleaseEnterApiName:"请输入接口名称",pleaseEnterRequestUrl:"请输入完整的请求地址",requestMethod:"请求方法",labelKey:"标签键名",pleaseEnterLabelKey:"请输入标签键名",valueKey:"值键名",pleaseEnterValueKey:"请输入值键名",dataPath:"数据位置",nestedPath:"多层嵌套使用.分隔",requestParams:"请求参数",add:"添加",paramName:"参数名",paramValue:"参数值",requestHeaders:"请求头",requestBody:"请求体",requestTest:"请求测试",save:"保存",configError:"配置错误",requestFailed:"请求失败",fillRequiredFields:"请填写必填项",completeFormFirst:"请先完善表单",addRule:"添加规则",required:"必填项",validationTrigger:"校验时机",validationMessage:"校验信息",customRule:"自定义规则",validationFunction:"校验函数",regexValidation:"正则校验",fieldLength:"字段长度",minLength:"最小长度",maxLength:"最大长度",saveForm:"保存表单",clickToUpload:"点击上传",row:"行",column:"列",searchNode:"搜索节点",noDataFound:"没有查询到的数据"};/*! js-cookie v3.0.5 | MIT */function s(e){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var r in n)e[r]=n[r]}return e}var S={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function g(e,a){function n(o,d,t){if(!(typeof document>"u")){t=s({},a,t),typeof t.expires=="number"&&(t.expires=new Date(Date.now()+t.expires*864e5)),t.expires&&(t.expires=t.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var l in t)t[l]&&(i+="; "+l,t[l]!==!0&&(i+="="+t[l].split(";")[0]));return document.cookie=o+"="+e.write(d,o)+i}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var d=document.cookie?document.cookie.split("; "):[],t={},i=0;i<d.length;i++){var l=d[i].split("="),h=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(t[c]=e.read(h,c),o===c)break}catch{}}return o?t[o]:t}}return Object.create({set:n,get:r,remove:function(o,d){n(o,"",s({},d,{expires:-1}))},withAttributes:function(o){return g(this.converter,s({},this.attributes,o))},withConverter:function(o){return g(s({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(a)},converter:{value:Object.freeze(e)}})}var u=g(S,{path:"/"});const m={"en-US":C,"zh-CN":f},F=u.get("saas-locale")||"zh-CN",y=()=>{const e=p.ref(F),a=()=>{document.visibilityState==="visible"&&e.value!==u.get("saas-locale")&&Object.keys(m).includes(u.get("saas-locale"))&&(e.value=u.get("saas-locale"))},n=r=>m[e.value][r];return p.onMounted(()=>{document.addEventListener("visibilitychange",a)}),p.onUnmounted(()=>{document.removeEventListener("visibilitychange",a)}),a(),{locale:e,t:n}};exports.api=u;exports.useLocale=y;
|
|
1
|
+
"use strict";const h=require("vue"),C={component:"Component",outline:"Outline",style:"Style",attribute:"Attribute",searchComponent:"Search Component",noComponentFound:"No Component Found",all:"All",form:"Form",labelPosition:"Label Position",left:"Left",right:"Right",top:"Top",labelWidth:"Label Width",labelSuffix:"Label Suffix",pleaseEnter:"Please Enter",formSize:"Form Size",pleaseSelect:"Please Select",large:"Large",medium:"Medium",small:"Small",asteriskPosition:"Asterisk Position",inlineValidationMessage:"Inline Validation Message",validationFeedbackIcon:"Validation Feedback Icon",scrollToValidationError:"Scroll to Validation Error",inlineMode:"Inline Mode",getFormData:"Get Form Data",setFormData:"Set Form Data",validateForm:"Validate Form",layout:"Layout",fieldName:"Field Name",title:"Title",defaultValue:"Default Value",placeholder:"Placeholder",size:"Size",maxInputLength:"Max Input Length",countWords:"Count Words",inputType:"Input Type",showToggleIcon:"Show Toggle Icon",clearable:"Clearable",formValidation:"Form Validation",validationRuleRequiresForm:"Validation Rule Requires Form",onInput:"On Input",onChange:"On Change",onFocus:"On Focus",onBlur:"On Blur",onClear:"On Clear",focusInput:"Focus Input",blurInput:"Blur Input",clearInput:"Clear Input",selectInputText:"Select Input Text",input:"Input",cardLayout:"Card Layout",shadowTiming:"Shadow Timing",textarea:"Textarea",minRows:"Min Rows",maxRows:"Max Rows",inputValue:"Input Value",valueChange:"Value Change",focus:"Focus",blur:"Blur",signaturePad:"Signature Pad",lineWidth:"Line Width",rewriteWillClearCanvas:"Rewrite will clear the canvas. Are you sure you want to rewrite?",clearSuccess:"Clear Success",uploadSuccess:"Upload Success",uploadFailed:"Upload Failed",confirmAbandonSignature:"Are you sure you want to abandon this signature?",warning:"Warning",cancel:"Cancel",rewrite:"Rewrite",confirm:"Confirm",numberInput:"Number Input",maxValue:"Max Value",minValue:"Min Value",step:"Step",controlButtonPosition:"Control Button Position",precision:"Precision",inputControlIsMultipleOfStep:"Input Control Is Multiple of Step",onValueChange:"On Value Change",gridLayout:"Grid Layout",verticalAlignment:"Vertical Alignment",horizontalArrangement:"Horizontal Arrangement",gridSpacing:"Grid Spacing",gridWidth:"Grid Width (24 per row)",radio:"Radio",option1:"Option 1",option2:"Option 2",buttonMode:"Button Mode",optionTextColor:"Option Text Color",effectiveInButtonMode:"Effective in Button Mode",optionButtonColor:"Option Button Color",optionManagement:"Option Management",s:"DataSource",dataSourceConfig:"DataSource Configuration",checkbox:"Checkbox",maxSelected:"Max Selected",minSelected:"Min Selected",select:"Select",multiple:"Multiple",hideMultiple:"Hide Multiple",hideHint:"Hide Hint",retainSearchKeyword:"Retain Search Keyword",tagType:"Tag Type",multipleLimit:"Multiple Limit",hintTheme:"Hint Theme",filterable:"Filterable",allowCreate:"Allow Create",dropdownPosition:"Dropdown Position",dropdownWidthSameAsInput:"Dropdown Width Same as Input",noDataText:"No Data Text",configureOptions:"Configure Options",cascader:"Cascader",separator:"Separator",subMenuExpandMode:"Sub Menu Expand Mode",searchable:"Searchable",collapseTags:"Collapse Tags",showCollapsedTags:"Show Collapsed Tags",hidePath:"Hide Path",parentSelectable:"Parent Selectable",parentChildNotLinked:"Parent and Child Nodes Not Linked",onlyGetSelectedNodes:"Only Get Selected Nodes",onSelectedNodeChange:"On Selected Node Change",onBlurs:"On Blur",onFocu:"On Focus",getCurrentSelectedNodes:"Get Current Selected Nodes",togglePopperVisibility:"Toggle Popper Visibility",datePicker:"Date Picker",dateType:"Date Type",date:"Date",week:"Week",month:"Month",year:"Year",time:"Time",timeRange:"Time Range",dateRange:"Date Range",monthRange:"Month Range",multipleDates:"Multiple Dates",startPlaceholder:"Start Placeholder",endPlaceholder:"End Placeholder",editable:"Editable",displayFormat:"Display Format",dataFormat:"Data Format",fileUpload:"File Upload",requestUrl:"Request URL",uploadFileField:"Upload File Field",multiples:"Multiple",showFileList:"Show File List",dragUpload:"Drag Upload",maxUploadCount:"Max Upload Count",imageUpload:"Image Upload",switch:"Switch",onValue:"ON Value",offValue:"OFF Value",onDescription:"ON Description",offDescription:"OFF Description",width:"Width",textInside:"Text Inside",onChangeSwitch:"On Change",slider:"Slider",showStops:"Show Stops",tooltip:"Tooltip",range:"Range",vertical:"Vertical",height:"Height",showInput:"Show Input",controlButtons:"Control Buttons",tooltipPosition:"Tooltip Position",realTimeTrigger:"Real-time Trigger",onChangeEnd:"On Change End",colorPicker:"Color Picker",format:"Format",alpha:"Alpha",staticText:"Static Text",leftAlign:"Left Align",centerAlign:"Center Align",rightAlign:"Right Align",fontSize:"Font Size",button:"Button",type:"Type",actionType:"Action Type",customColor:"Custom Color",plainButton:"Plain Button",roundButton:"Round Button",circleButton:"Circle Button",textButton:"Text Button",loadingState:"Loading State",onClick:"On Click",onDoubleClick:"On Double Click",componentId:"Component ID",canvasWidth:"Canvas Width",canvasHeight:"Canvas Height",editComponentProperties:"Edit Component Properties",page:"Page",pageName:"Page Name",padding:"Padding",margin:"Margin",backgroundColor:"Background Color",fontColor:"Font Color",addOption:"Add Option",dataSources:"Data Source",pleaseSelectDataSource:"Please Select Data Source",pleaseCheckDataSourceConfig:"Please Check Data Source Configuration",dynamic:"Dynamic",static:"Static",noOptions:"No Options",configuration:"Configuration",addDataSource:"Add Data Source",apiName:"API Name",pleaseEnterApiName:"Please Enter API Name",pleaseEnterRequestUrl:"Please Enter Request URL",requestMethod:"Request Method",labelKey:"Label Key",pleaseEnterLabelKey:"Please Enter Label Key",valueKey:"Value Key",pleaseEnterValueKey:"Please Enter Value Key",dataPath:"Data Path",nestedPath:"Use '.' for Nested Path",requestParams:"Request Parameters",add:"Add",paramName:"Parameter Name",paramValue:"Parameter Value",requestHeaders:"Request Headers",requestBody:"Request Body",requestTest:"Request Test",save:"Save",configError:"Configuration Error",requestFailed:"Request Failed",fillRequiredFields:"Please Fill Required Fields",completeFormFirst:"Please Complete the Form First",addRule:"Add Rule",required:"Required",validationTrigger:"Validation Trigger",validationMessage:"Validation Message",customRule:"Custom Rule",validationFunction:"Validation Function",regexValidation:"Regex Validation",fieldLength:"Field Length",minLength:"Min Length",maxLength:"Max Length",saveForm:"Save Form",clickToUpload:"Click to Upload",row:"Row",column:"Column",searchNode:"Search Node",noDataFound:"No Data Found"},f={component:"组件",outline:"大纲",style:"样式",attribute:"属性",searchComponent:"搜索组件",noComponentFound:"没有查询到的组件",all:"全部",form:"表单",labelPosition:"标签位置",left:"左边",right:"右边",top:"顶部",labelWidth:"标签宽度",labelSuffix:"标签后缀",pleaseEnter:"请输入",formSize:"表单尺寸",pleaseSelect:"请选择",large:"大号",medium:"中等",small:"小型",asteriskPosition:"星号位置",inlineValidationMessage:"行内展示校验信息",validationFeedbackIcon:"校验反馈图标",scrollToValidationError:"滚动校验错误处",inlineMode:"行内模式",getFormData:"获取表单数据",setFormData:"设置表单数据",validateForm:"校验表单",layout:"布局",fieldName:"字段名",title:"标题",defaultValue:"默认值",placeholder:"占位内容",size:"尺寸",maxInputLength:"最大输入长度",countWords:"统计字数",inputType:"输入类型",showToggleIcon:"显示切换图标",clearable:"可清空",formValidation:"表单校验",validationRuleRequiresForm:"校验规则需要配合表单使用",onInput:"输入值时",onChange:"值修改时",onFocus:"获取焦点时",onBlur:"失去焦点时",onClear:"点击清空按钮时",focusInput:"使 input 获取焦点",blurInput:"使 input 失去焦点",clearInput:"清除 input 值",selectInputText:"选中 input 中的文字",input:"输入框",cardLayout:"卡片布局",shadowTiming:"阴影时机",textarea:"文本域",minRows:"最小行数",maxRows:"最大行数",inputValue:"输入值",valueChange:"值修改",focus:"获取焦点",blur:"失去焦点",signaturePad:"签名板",lineWidth:"线条宽度",rewriteWillClearCanvas:"重写将清空画布,请确定是否重写?",clearSuccess:"清空成功",uploadSuccess:"上传成功",uploadFailed:"上传失败",confirmAbandonSignature:"是否放弃本次签字?",warning:"警告",cancel:"取消",rewrite:"重写",confirm:"确定",numberInput:"数字输入框",maxValue:"最大值",minValue:"最小值",step:"步长",controlButtonPosition:"控制按钮位置",precision:"精度",inputControlIsMultipleOfStep:"输入控制为步长的倍数",onValueChange:"值变化时",gridLayout:"栅格布局",verticalAlignment:"垂直对齐方式",horizontalArrangement:"水平排列方式",gridSpacing:"栅格间距",gridWidth:"栅格宽度(一行为24)",radio:"单选框",option1:"选项1",option2:"选项2",buttonMode:"按钮模式",optionTextColor:"选项文本颜色",effectiveInButtonMode:"按钮模式下生效",optionButtonColor:"选项按钮颜色",optionManagement:"选项管理",dataSource:"数据源",dataSourceConfig:"数据源配置",checkbox:"复选框",maxSelected:"最大选中数",minSelected:"最小选中数",select:"选择框",multiple:"可多选",hideMultiple:"多选隐藏",hideHint:"隐藏提示",retainSearchKeyword:"保留搜索关键字",tagType:"标签类型",multipleLimit:"多选限制",hintTheme:"提示主题",filterable:"可筛选",allowCreate:"允许创建条目",dropdownPosition:"下拉框位置",dropdownWidthSameAsInput:"下拉框宽度与输入框相同",noDataText:"无数据时文本",configureOptions:"配置选项",cascader:"级联选择器",separator:"分割符",subMenuExpandMode:"次级菜单展开方式",searchable:"可搜索",collapseTags:"折叠Tag",showCollapsedTags:"显示被折叠标签",hidePath:"不显示路径",parentSelectable:"父级可选",parentChildNotLinked:"父子节点不互相关联",onlyGetSelectedNodes:"只获取选中节点",onSelectedNodeChange:"选中节点变化时",onBlurs:"当失去焦点时触发",onFocu:"当获得焦点时触发",getCurrentSelectedNodes:"获取当前选中节点",togglePopperVisibility:"切换 popper 可见状态",datePicker:"日期选择器",dateType:"日期类型",date:"日期",week:"周",month:"月份",year:"年份",time:"时间",timeRange:"时间范围",dateRange:"日期范围",monthRange:"月份范围",multipleDates:"多个日期",startPlaceholder:"开始占位符",endPlaceholder:"结束占位符",editable:"可输入",displayFormat:"显示格式",dataFormat:"数据格式",fileUpload:"上传文件",requestUrl:"请求地址",uploadFileField:"上传文件字段",multiples:"多选",showFileList:"展示文件列表",dragUpload:"拖拽上传",maxUploadCount:"允许上传最大数量",imageUpload:"上传图片",switch:"开关",onValue:"ON状态值",offValue:"OFF状态值",onDescription:"ON状态描述",offDescription:"OFF状态描述",width:"宽度",textInside:"文本点内显示",onChangeSwitch:"状态发生变化时",slider:"滑块",showStops:"显示间断点",tooltip:"提示信息",range:"开启选择范围",vertical:"垂直模式",height:"高度",showInput:"显示数字框",controlButtons:"控制按钮",tooltipPosition:"提示框位置",realTimeTrigger:"拖拽实时触发",onChangeEnd:"拖拽结束改变值时",colorPicker:"颜色选择器",format:"格式",alpha:"透明度选择",staticText:"静态文字",leftAlign:"居左",centerAlign:"居中",rightAlign:"居右",fontSize:"字体大小",button:"按钮",type:"类型",actionType:"操作类型",customColor:"自定义颜色",plainButton:"朴素按钮",roundButton:"圆角按钮",circleButton:"圆形按钮",textButton:"文字按钮",loadingState:"加载状态",onClick:"点击按钮时",onDoubleClick:"双击按钮时",componentId:"组件ID",canvasWidth:"画布宽度",canvasHeight:"画布高度",page:"页面",editComponentProperties:"编辑组件属性",pageName:"页面名称",padding:"内边距",margin:"外边距",backgroundColor:"背景色",fontColor:"字体颜色",addOption:"添加选项",dataSources:"数据源",pleaseSelectDataSource:"请选择数据源",pleaseCheckDataSourceConfig:"请检查数据位置是否配置准确",dynamic:"动态",static:"静态",noOptions:"暂无选项",configuration:"配置",addDataSource:"新增数据源",apiName:"接口名称",pleaseEnterApiName:"请输入接口名称",pleaseEnterRequestUrl:"请输入完整的请求地址",requestMethod:"请求方法",labelKey:"标签键名",pleaseEnterLabelKey:"请输入标签键名",valueKey:"值键名",pleaseEnterValueKey:"请输入值键名",dataPath:"数据位置",nestedPath:"多层嵌套使用.分隔",requestParams:"请求参数",add:"添加",paramName:"参数名",paramValue:"参数值",requestHeaders:"请求头",requestBody:"请求体",requestTest:"请求测试",save:"保存",configError:"配置错误",requestFailed:"请求失败",fillRequiredFields:"请填写必填项",completeFormFirst:"请先完善表单",addRule:"添加规则",required:"必填项",validationTrigger:"校验时机",validationMessage:"校验信息",customRule:"自定义规则",validationFunction:"校验函数",regexValidation:"正则校验",fieldLength:"字段长度",minLength:"最小长度",maxLength:"最大长度",saveForm:"保存表单",clickToUpload:"点击上传",row:"行",column:"列",searchNode:"搜索节点",noDataFound:"没有查询到的数据"};/*! js-cookie v3.0.5 | MIT */function s(e){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var r in n)e[r]=n[r]}return e}var S={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function p(e,a){function n(o,d,t){if(!(typeof document>"u")){t=s({},a,t),typeof t.expires=="number"&&(t.expires=new Date(Date.now()+t.expires*864e5)),t.expires&&(t.expires=t.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var l in t)t[l]&&(i+="; "+l,t[l]!==!0&&(i+="="+t[l].split(";")[0]));return document.cookie=o+"="+e.write(d,o)+i}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var d=document.cookie?document.cookie.split("; "):[],t={},i=0;i<d.length;i++){var l=d[i].split("="),m=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(t[c]=e.read(m,c),o===c)break}catch{}}return o?t[o]:t}}return Object.create({set:n,get:r,remove:function(o,d){n(o,"",s({},d,{expires:-1}))},withAttributes:function(o){return p(this.converter,s({},this.attributes,o))},withConverter:function(o){return p(s({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(a)},converter:{value:Object.freeze(e)}})}var u=p(S,{path:"/"});const g={"en-US":C,"zh-CN":f},F=u.get("saas-locale")||"zh-CN",P=()=>{const e=h.ref(F),a=()=>{document.visibilityState==="visible"&&e.value!==u.get("saas-locale")&&Object.keys(g).includes(u.get("saas-locale"))&&(e.value=u.get("saas-locale"))},n=r=>g[e.value][r];return a(),{locale:e,t:n}};exports.api=u;exports.useLocale=P;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./pluginManager-DWHAX8kP.cjs"),v=require("./icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs"),d=require("./index-BoL2PSBk.cjs"),p={class:"flex relative"},_={class:"epic-action-bar"},m={class:"epic-actions-container"},f=["title","onClick"],h={class:"epic-sidebar-container"},k=e.defineComponent({name:"EActivityBar",__name:"index",setup(C){const s=e.computed(()=>(d.api.get("saas-locale")||"zh-CN")==="zh-CN"),i=e.computed(()=>u.pluginManager.viewsContainers.activitybars.value.filter(n=>n.visible)),t=e.ref(0),a=e.shallowRef(null);a.value=i.value[0].component;function r(n,c){if(t.value===c)return t.value=null,!1;a.value=n.component,t.value=c}return(n,c)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",_,[e.createElementVNode("ul",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(l,o)=>(e.openBlock(),e.createElementBlock("li",{key:o,class:e.normalizeClass(["epic-action-item",{checked:t.value===o}]),title:l.title,onClick:g=>r(l,o)},[e.createVNode(e.unref(v._sfc_main),{class:"relative",name:l.icon},null,8,["name"]),e.createElementVNode("div",{class:e.normalizeClass([s.value?"text-14px":"text-12px"])},e.toDisplayString(l.title),3)],10,f))),128))])]),e.createElementVNode("div",{class:e.normalizeClass(["epic-left-sidebar",{hide:t.value===null}])},[e.createElementVNode("div",h,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value)))])],2)]))}});exports.default=k;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("./pluginManager-DWHAX8kP.cjs"),I=require("./icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs"),B=require("./vuedraggable.umd-BqhSJIAi.cjs"),S=require("./tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs"),$=require("./index-DOZPyH6X.cjs"),w={class:"epic-event-info"},M=["title"],O={class:"epic-event-btn text-lg flex items-center text-$epic-text-secondary"},A={class:"epic-action-editor-main"},U={class:"epic-editor-item rounded"},D={class:"w-36px flex items-center text-lg"},j={class:"flex-1"},L={key:0},K={key:1},R={key:2},T={class:"epic-action-box text-lg text-$epic-text-medium"},q=["onClick"],F=["onClick"],z=e.defineComponent({__name:"EActionEditorItem",props:{itemEvents:{type:Array,default:()=>[]},allEvents:{type:Array,default:()=>[]},modelValue:{type:Object,default:()=>[]},events:{type:Object,default:()=>({})}},emits:["add","edit","update:modelValue"],setup(k,{emit:E}){const m=k,h=E,v=e.inject("pageSchema");function V(p){h("add",p)}function f(p){return y.findSchemaById(v.schemas,p).label}function u(p,i){var t;const a=o(i);a[i]=m.events[i].filter((N,x)=>p!==x),(t=a[i])!=null&&t.length||delete a[i],h("update:modelValue",a)}function r(p,i,a){h("edit",p,i,a)}function o(p){const i={};return m.allEvents.forEach(a=>{if(!m.events[a.type].length||a.type===p)return!1;i[a.type]=m.events[a.type]}),i}return(p,i)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.itemEvents,a=>(e.openBlock(),e.createElementBlock("div",{key:a.type,class:"epic-event-item"},[e.createElementVNode("div",w,[e.createElementVNode("div",{class:"epic-event-label",title:a.describe},e.toDisplayString(a.describe),9,M),e.createElementVNode("div",O,[e.createVNode(e.unref(I._sfc_main),{name:"icon--epic--add-rounded",onClick:t=>V(a.type)},null,8,["onClick"])])]),e.createElementVNode("div",A,[e.createVNode(e.unref(B.draggable),{modelValue:m.events[a.type],"onUpdate:modelValue":t=>m.events[a.type]=t,"item-key":"id","component-data":{type:"transition-group"},group:"option-list",handle:".handle",animation:200},{item:e.withCtx(({element:t,index:N})=>[e.createElementVNode("div",U,[e.createElementVNode("div",D,[e.createVNode(e.unref(I._sfc_main),{class:"mr-2 text-lg cursor-move handle text-$epic-text-medium",name:"icon--epic--drag"})]),e.createElementVNode("div",j,[t.type==="component"?(e.openBlock(),e.createElementBlock("div",L,e.toDisplayString(f(t.componentId)),1)):t.type==="custom"?(e.openBlock(),e.createElementBlock("div",K," 自定义函数 ")):t.type==="public"?(e.openBlock(),e.createElementBlock("div",R," 公共函数 ")):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.methodName),1)]),e.createElementVNode("div",T,[e.createElementVNode("div",{class:"epic-edit-btn",onClick:x=>r(N,a.type,t)},[e.createVNode(e.unref(I._sfc_main),{name:"icon--epic--page-info-outline-rounded"})],8,q),e.createElementVNode("div",{class:"epic-del-btn",onClick:x=>u(N,a.type)},[e.createVNode(e.unref(I._sfc_main),{name:"icon--epic--delete-outline-rounded"})],8,F)])])]),_:2},1032,["modelValue","onUpdate:modelValue"])])]))),128))}}),J={class:"h-full flex flex-col"},P=e.defineComponent({__name:"EScriptEdit",setup(k){const E=y.pluginManager.getComponent("monacoEditor"),m={theme:"vs-light",selectOnLineNumbers:!0,minimap:{enabled:!1}},h=e.ref(null),v=e.inject("pageSchema");return(V,f)=>(e.openBlock(),e.createElementBlock("div",J,[f[1]||(f[1]=e.createElementVNode("div",{class:"pb-2"}," 自定义函数编辑 ",-1)),e.createVNode(e.unref(E),{ref_key:"monacoEditorRef",ref:h,autoToggleTheme:"",modelValue:e.unref(v).script,"onUpdate:modelValue":f[0]||(f[0]=u=>e.unref(v).script=u),class:"epic-editor flex-1",config:m,language:"javascript"},null,8,["modelValue"])]))}}),G={class:"epic-attribute-view"},H=["title"],Q={class:"epic-attr-input"},W=e.defineComponent({__name:"EArgsEditor",props:{modelValue:{},actionArgsConfigs:{}},emits:["update:modelValue"],setup(k,{emit:E}){const m=k,h=E,v=e.computed(()=>m.modelValue?JSON.parse(m.modelValue):[]);function V(u){var r;return typeof u.show=="boolean"?u.show:typeof u.show=="function"?(r=u.show)==null?void 0:r.call(u,{values:v.value}):!0}function f(u,r){const o=[...JSON.parse(m.modelValue??"[]")];o[r]=u,h("update:modelValue",JSON.stringify(o))}return(u,r)=>(e.openBlock(),e.createElementBlock("div",G,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.actionArgsConfigs,o=>(e.openBlock(),e.createElementBlock("div",{key:o.field+o.type},[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["epic-attr-item",o.layout])},[e.createElementVNode("div",{class:"epic-attr-label",title:o.label},e.toDisplayString(o.label),9,H),e.createElementVNode("div",Q,[e.createVNode(e.unref($._sfc_main),{componentSchema:{...o,componentProps:{...o.componentProps,input:!1,field:void 0,hidden:!1},show:!0,noFormItem:!0},"model-value":v.value[o.field],"onUpdate:modelValue":p=>f(p,o.field)},null,8,["componentSchema","model-value","onUpdate:modelValue"])])],2),[[e.vShow,V(o)]])]))),128))]))}}),X={class:"rounded epic-modal-action-main"},Y={class:"epic-modal-left-panel h-full flex flex-col"},Z={class:"flex flex-1 h-0 flex-col"},ee={class:"flex-1 h-0"},te={class:"epic-action-select h-30/100 flex flex-col"},ne={class:"flex-1 overflow-auto pr-8px"},oe=["onClick"],le={class:"text-center pt-42px text-gray-400"},ae={class:"epic-modal-right-panel"},ce={key:1,class:"text-center pt-42px text-gray-400"},se=e.defineComponent({__name:"EActionModal",emits:["add","edit"],setup(k,{expose:E,emit:m}){const h=y.pluginManager.getComponent("modal"),v=e.ref(!0),V=e.inject("pageSchema"),f=e.inject("pageManager",{}),u=e.ref(!1),r=e.ref([]),o=e.ref(null),p=m,i=e.computed(()=>{var l;return t.actionItem.type==="component"?o.value?(l=y.pluginManager.getComponentConfings()[o.value.type].config.action)==null?void 0:l.map(n=>({label:n.describe,value:n.type})):[]:t.actionItem.type==="custom"?Object.entries(f.funcs.value).filter(([n,_])=>typeof _=="function").map(([n])=>({label:n,value:n})):t.actionItem.type==="public"?Object.entries(y.pluginManager.publicMethods).map(([n])=>({label:n,value:n})):[]}),a=e.computed(()=>{if(t.actionItem.type==="component"&&o.value){const l=y.pluginManager.getComponentConfings()[o.value.type].config.action,n=l==null?void 0:l.find(_=>_.type===t.actionItem.methodName);if(n!=null&&n.argsConfigs){const _=n.argsConfigs.findIndex(g=>g.label==="设置数据");_!==-1&&(n.argsConfigs[_]={...o.value,label:"设置数据",field:"0",id:y.getUUID()})}return(n==null?void 0:n.argsConfigs)??[]}return[]}),t=e.reactive({actionItem:{type:"custom",methodName:"test",componentId:null},cacheData:{}});function N(){var l;u.value=!0,v.value=!0,t.actionItem.type="custom",t.actionItem.componentId=null,(l=i.value)!=null&&l.length&&d(i.value[0].value)}function x(l){if(u.value=!0,v.value=!1,o.value=null,l.componentId){const n=y.findSchemaById(V.schemas,l.componentId);o.value=n,r.value=[l.componentId]}e.nextTick(()=>{t.actionItem.componentId=l.componentId,t.actionItem.methodName=l.methodName,t.actionItem.type=l.type,t.actionItem.args=l.args})}function b(){if(!t.actionItem.methodName){alert("请先选择动作方法");return}p(v.value?"add":"edit",y.deepClone(e.toRaw(t.actionItem))),C()}function C(){u.value=!1,r.value=[],t.cacheData={}}function s(l){var n;t.actionItem.componentId=null,t.actionItem.type=l,o.value=null,t.actionItem.methodName=null,r.value=[],(n=i.value)!=null&&n.length&&d(i.value[0].value)}function c(l){var n;t.actionItem.args&&(t.cacheData[t.actionItem.componentId+t.actionItem.methodName]=t.actionItem.args),t.actionItem.componentId=l.id,t.actionItem.type="component",t.actionItem.methodName=null,o.value=l.componentSchema,(n=i.value)!=null&&n.length&&d(i.value[0].value)}function d(l){t.actionItem.methodName=l,t.actionItem.args=t.cacheData[t.actionItem.componentId+t.actionItem.methodName]}return E({handleOpen:N,handleOpenEdit:x}),(l,n)=>(e.openBlock(),e.createBlock(e.unref(h),{modelValue:u.value,"onUpdate:modelValue":n[4]||(n[4]=_=>u.value=_),class:"w-1200px",width:"1200px",onClose:C,onOk:b,title:"动作配置"},{default:e.withCtx(()=>{var _;return[e.createElementVNode("div",X,[e.createElementVNode("div",Y,[e.createElementVNode("div",Z,[e.createElementVNode("div",{class:e.normalizeClass(["fun-btn",{checked:t.actionItem.type==="custom"}]),onClick:n[0]||(n[0]=g=>s("custom"))}," 自定义函数 ",2),e.createElementVNode("div",{class:e.normalizeClass(["fun-btn",{checked:t.actionItem.type==="public"}]),onClick:n[1]||(n[1]=g=>s("public"))}," 公共函数 ",2),n[5]||(n[5]=e.createTextVNode(" 组件 ")),e.createElementVNode("div",ee,[e.createVNode(e.unref(S._sfc_main),{selectedKeys:r.value,"onUpdate:selectedKeys":n[2]||(n[2]=g=>r.value=g),options:e.unref(V).schemas,onNodeClick:c},null,8,["selectedKeys","options"])])]),e.createElementVNode("div",te,[n[6]||(n[6]=e.createElementVNode("div",{class:"mb-2"},"动作选择",-1)),e.createElementVNode("div",ne,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,g=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([{checked:g.value===t.actionItem.methodName},"epic-action-item"]),onClick:de=>d(g.value),key:g.value},[e.createElementVNode("span",null,e.toDisplayString(g.label),1)],10,oe))),128)),e.withDirectives(e.createElementVNode("div",le," 当前组件暂无动作 ",512),[[e.vShow,!((_=i.value)!=null&&_.length)]])])])]),e.createElementVNode("div",ae,[t.actionItem.type==="custom"?(e.openBlock(),e.createBlock(P,{key:0})):a.value.length===0?(e.openBlock(),e.createElementBlock("div",ce," 暂无配置 ")):(e.openBlock(),e.createBlock(W,{key:2,modelValue:t.actionItem.args,"onUpdate:modelValue":n[3]||(n[3]=g=>t.actionItem.args=g),actionArgsConfigs:a.value},null,8,["modelValue","actionArgsConfigs"]))])])]}),_:1},8,["modelValue"]))}}),ie=e.defineComponent({__name:"index",props:{eventList:{type:Array,default:()=>[]},modelValue:{type:Object}},emits:["update:modelValue"],setup(k,{emit:E}){const m=y.pluginManager.getComponent("Collapse"),h=y.pluginManager.getComponent("CollapseItem"),v=e.ref(null);let V=0;const f=k,u=E,r=e.computed({get(){return f.modelValue},set(s){u("update:modelValue",s)}}),o=e.ref([]),p=e.computed(()=>f.eventList.filter(s=>s.events.length)),i=e.computed(()=>f.eventList.map(s=>s.events).flat()),a=e.ref({});i.value.forEach(s=>{a.value[s.type]=e.computed({get(){var c;return((c=r.value)==null?void 0:c[s.type])??[]},set(c){c&&c.length?r.value[s.type]=c.map(d=>e.toRaw(d)):delete r.value[s.type]}})}),e.watch(()=>p.value,s=>{s.length&&(o.value=s.filter(c=>{for(let d=0;d<c.events.length;d++){const l=c.events[d].type;if(a.value[l].length)return!0}return!1}).map(c=>c.title))},{immediate:!0});let t="";function N(s){var c;(c=v.value)==null||c.handleOpen(),t=s}function x(s,c,d){var l;(l=v.value)==null||l.handleOpenEdit(d),V=s,t=c}function b(s){a.value[t][V]=s,r.value[t]=[...a.value[t]??[]]}function C(s){if(!r.value){r.value={[t]:[...a.value[t]??[],s]};return}r.value[t]=[...a.value[t]??[],s]}return(s,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(m),{modelValue:o.value,"onUpdate:modelValue":c[1]||(c[1]=d=>o.value=d),activeKey:o.value,"onUpdate:activeKey":c[2]||(c[2]=d=>o.value=d),"expanded-names":o.value,"onUpdate:expandedNames":c[3]||(c[3]=d=>o.value=d)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,d=>(e.openBlock(),e.createBlock(e.unref(h),{key:d.title,title:d.title,header:d.title,name:d.title},{default:e.withCtx(()=>[e.createVNode(z,{modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=l=>r.value=l),"item-events":d.events,"all-events":i.value,events:a.value,onAdd:N,onEdit:x},null,8,["modelValue","item-events","all-events","events"])]),_:2},1032,["title","header","name"]))),128))]),_:1},8,["modelValue","activeKey","expanded-names"]),e.createVNode(se,{ref_key:"EActionModalRef",ref:v,onAdd:C,onEdit:b},null,512)],64))}});exports.default=ie;
|