@vipl520/dk-ui 1.0.17 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +907 -428
  3. package/dist/index.min.js +7 -7
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +7 -7
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/index.mjs +907 -428
  8. package/dist/web-types.json +1 -1
  9. package/es/api/diy.d.ts +8 -0
  10. package/es/api/diy.mjs +64 -0
  11. package/es/api/diy.mjs.map +1 -0
  12. package/es/form/src/form.vue2.mjs +9 -0
  13. package/es/form/src/form.vue2.mjs.map +1 -1
  14. package/es/page-diy/index.d.ts +2 -0
  15. package/es/page-diy/src/components/DiyCloud.vue.d.ts +51 -0
  16. package/es/page-diy/src/components/DiyCloud.vue.mjs +413 -0
  17. package/es/page-diy/src/components/DiyCloud.vue.mjs.map +1 -0
  18. package/es/page-diy/src/page-diy.vue.d.ts +2 -0
  19. package/es/page-diy/src/page-diy.vue.mjs +28 -10
  20. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  21. package/es/page-diy/style/cloud.css +1 -0
  22. package/es/page-diy/style/cloud.scss +100 -0
  23. package/es/page-diy/style/index.css +1 -1
  24. package/es/page-diy/style/index.scss +1 -0
  25. package/lib/api/diy.d.ts +8 -0
  26. package/lib/api/diy.js +73 -0
  27. package/lib/api/diy.js.map +1 -0
  28. package/lib/form/src/form.vue2.js +9 -0
  29. package/lib/form/src/form.vue2.js.map +1 -1
  30. package/lib/page-diy/index.d.ts +2 -0
  31. package/lib/page-diy/src/components/DiyCloud.vue.d.ts +51 -0
  32. package/lib/page-diy/src/components/DiyCloud.vue.js +417 -0
  33. package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -0
  34. package/lib/page-diy/src/page-diy.vue.d.ts +2 -0
  35. package/lib/page-diy/src/page-diy.vue.js +28 -10
  36. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  37. package/lib/page-diy/style/cloud.css +1 -0
  38. package/lib/page-diy/style/cloud.scss +100 -0
  39. package/lib/page-diy/style/index.css +1 -1
  40. package/lib/page-diy/style/index.scss +1 -0
  41. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiyCloud.vue.mjs","sources":["../../../../src/page-diy/src/components/DiyCloud.vue"],"sourcesContent":["<template>\n <div class=\"diy-cloud\">\n <div class=\"diy-header\">\n <div class=\"diy-search\">\n <el-select v-model=\"search.state\" placeholder=\"状态\">\n <el-option label=\"全部状态\" value=\"\" />\n <el-option v-if=\"site.level > 0\" label=\"未通过\" value=\"-1\" />\n <el-option v-if=\"site.level > 0\" label=\"未审核\" value=\"0\" />\n <el-option label=\"已审核\" value=\"1\" />\n <el-option label=\"已推荐\" value=\"2\" />\n </el-select>\n <el-select v-model=\"search.look\" placeholder=\"查看\" class=\"u-m-l-10\">\n <el-option label=\"全部模板\" value=\"\" />\n <el-option label=\"我的模板\" value=\"me\" />\n <el-option label=\"他人模板\" value=\"other\" />\n </el-select>\n <el-input v-model=\"search['name like']\" placeholder=\"请输入模板名称\" clearable @clear=\"getDiyList(0)\">\n <template #append>\n <el-button icon=\"Search\" @click=\"getDiyList(1)\" />\n </template>\n </el-input>\n </div>\n <div>\n <el-button v-if=\"site.level > 0\" type=\"warning\" :disabled=\"!chooseDiy.id\" @click=\"getCheckForm\"\n >审核\n </el-button>\n <el-button v-if=\"site.level > 1\" type=\"danger\" :disabled=\"!chooseDiy.id\" @click=\"delDiy\">删除</el-button>\n <el-button\n v-if=\"site.level > 0 || site.site_id === chooseDiy.site_id\"\n type=\"info\"\n :disabled=\"!chooseDiy.id\"\n @click=\"getDiyForm(chooseDiy.id)\"\n >编辑\n </el-button>\n <el-button type=\"primary\" icon=\"Upload\" @click=\"getDiyForm()\">上传新模板</el-button>\n </div>\n </div>\n <!---------------模板列表-------------------------->\n <div v-loading=\"loading\" class=\"diy-content\">\n <ul v-if=\"!loading && list.length > 0\" class=\"cl\">\n <li\n v-for=\"(item, key) in list\"\n :key=\"key\"\n :class=\"{ choose: chooseDiy.id === item.id }\"\n @click=\"onChooseDiy(item)\"\n >\n <el-image :src=\"item.cover_image\" class=\"cover\" fit=\"contain\" />\n <div v-if=\"item.state <= 0\" class=\"mask\" />\n <div class=\"type\">\n <el-tag v-if=\"item.state === '0'\" effect=\"dark\">审核中</el-tag>\n <el-tag v-if=\"item.state === '-1'\" type=\"danger\" effect=\"dark\">审核未通过</el-tag>\n </div>\n <div v-if=\"item.state > 0\" class=\"tag-list\">\n <span v-if=\"item.state >= 2\" class=\"tag\"><van-icon name=\"good-job\" />推荐</span>\n <span v-if=\"item.down_count > 100\" class=\"tag\"><van-icon name=\"fire\" />热门</span>\n </div>\n <div class=\"title over\">{{ item.name }}</div>\n </li>\n </ul>\n <div v-else style=\"display: flex; align-items: center; justify-content: center; height: 500px\">\n <el-empty v-if=\"errCode === 0\" description=\"当前还没模板,点击右上角上传自己的模板吧\" />\n <el-empty v-else :description=\"errMsg\" />\n </div>\n <el-pagination\n background\n layout=\"total,prev, pager, next\"\n :total=\"total\"\n :current-page=\"page\"\n :page-size=\"pageSize\"\n hide-on-single-page\n @current-change=\"getDiyList\"\n />\n </div>\n <div class=\"diy-footer\">\n <el-button type=\"primary\" style=\"width: 300px\" :disabled=\"!chooseDiy.id\" @click=\"submit\">确定</el-button>\n </div>\n <dk-form ref=\"formRef\" :is-dialog=\"true\" :form-data=\"formData\" @submit=\"onSubmit\" />\n </div>\n</template>\n\n<script>\nimport { getList, down, getDiyForm, getSiteMsg, getCheckForm, delDiy } from '../../../api/diy'\nexport default {\n name: 'DiyCloud',\n props: {\n pageName: {\n default: '',\n type: String,\n },\n diyData: {\n default: () => {\n return {}\n },\n type: Object,\n },\n },\n emits: ['submit'],\n data() {\n return {\n total: 0,\n pageSize: 12,\n keyword: '',\n search: {\n state: '',\n look: '',\n },\n chooseDiy: {},\n page: 1,\n formData: null,\n site: {},\n width: '800px',\n list: [],\n loading: true,\n errMsg: '',\n errCode: 0,\n }\n },\n computed: {},\n mounted() {\n this.getDiyList()\n this.getSiteMsg()\n },\n methods: {\n submit() {\n this.$confirm('确定选择此diy模板?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n })\n .then(() => {\n down(this.chooseDiy.id).then((res) => {\n this.$emit('submit', res.data)\n })\n })\n .catch(() => {})\n },\n onChooseDiy(item) {\n this.chooseDiy = item\n },\n getDiyList(page) {\n this.page = page || this.page\n this.loading = true\n getList(this.pageName, this.page, this.search, this.pageSize)\n .then((res) => {\n this.list = res.data\n this.total = res.msg\n this.loading = false\n })\n .catch((res) => {\n this.errMsg = res.msg\n this.errCode = -1\n this.loading = false\n })\n },\n getSiteMsg() {\n getSiteMsg().then((res) => {\n this.site = res.data\n })\n },\n getDiyForm(id = 0) {\n getDiyForm(id, this.pageName, this.diyData)\n .then((res) => {\n console.log('getDiyForm', res)\n this.formData = res.data\n this.width = '600px'\n this.$refs.formRef.show()\n })\n .catch((res) => {\n this.$message.error(res.msg)\n })\n },\n getCheckForm() {\n getCheckForm(this.chooseDiy.id, this.chooseDiy.state)\n .then((res) => {\n this.formData = res.data\n this.width = '400px'\n this.$refs.formRef.show()\n })\n .catch((res) => {\n this.$message.error(res.msg)\n })\n },\n delDiy() {\n this.$confirm('确定要删除当前模板,删除后不可恢复?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n })\n .then(() => {\n delDiy(this.chooseDiy.id)\n .then((res) => {\n this.$message.success(res.msg)\n this.getDiyList(1)\n })\n .catch((res) => {\n this.$message.error(res.msg)\n })\n })\n .catch(() => {})\n },\n onSubmit() {\n this.getDiyList(0)\n },\n },\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_createVNode","_createBlock","_createCommentVNode","_withDirectives","_Fragment","_renderList","_toDisplayString"],"mappings":";;;;AAkFA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,UAAU;AAChB,EAAA,KAAK,EAAE;AAC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A,CAGM,OAHN,WAGM,EAAA;aAFY,KAAO,CAAA,OAAA,KAAA,CAAA;8BAAvBG,WAAoE,CAAA,mBAAA,EAAA;;AAArC,kBAAA,WAAW,EAAC,sBAAsB;;8BACjEA,WAAyC,CAAA,mBAAA,EAAA;;AAAvB,kBAAA,WAAW,EAAE,KAAM,CAAA,MAAA;;;MAEvCD,WAQE,CAAA,wBAAA,EAAA;AAPA,QAAA,UAAU,EAAV,EAAU;AACV,QAAA,MAAM,EAAC,yBAAyB;AAC/B,QAAA,KAAK,EAAE,KAAK,CAAA,KAAA;AACZ,QAAA,cAAY,EAAE,KAAI,CAAA,IAAA;AAClB,QAAA,WAAS,EAAE,KAAQ,CAAA,QAAA;AACpB,QAAA,qBAAmB,EAAnB,EAAmB;AAClB,QAAA,eAAc,EAAE,QAAU,CAAA,UAAA;;;2BAhCf,KAAO,CAAA,OAAA,CAAA;;AAmCvB,IAAAD,kBAAA,CAEM,OAFN,WAEM,EAAA;MADJC,WAAuG,CAAA,oBAAA,EAAA;AAA5F,QAAA,IAAI,EAAC,SAAS;AAAC,QAAA,KAAoB,EAApB,CAAoB,OAAA,CAAA,OAAA,CAAA;QAAE,QAAQ,EAAA,CAAG,KAAS,CAAA,SAAA,CAAC,EAAE;AAAG,QAAA,OAAK,EAAE,QAAM,CAAA,MAAA;;yBAAE,MAAE;0BAAF,IAAE,CAAA;;;;;IAE7FA,WAAoF,CAAA,kBAAA,EAAA;AAA3E,MAAA,GAAG,EAAC,SAAS;AAAE,MAAA,WAAS,EAAE,IAAI;AAAG,MAAA,WAAS,EAAE,KAAQ,CAAA,QAAA;AAAG,MAAA,QAAM,EAAE,QAAQ,CAAA,QAAA;;;;;;;;"}
@@ -83,6 +83,8 @@ declare const _default: import("vue").DefineComponent<{
83
83
  previewFc(): void;
84
84
  getPageConfig(): {};
85
85
  setPageConfig(pageConfig: any): void;
86
+ showDiyCloud(pageName: any): void;
87
+ downCloudConfig(config: any): void;
86
88
  getRule(): any;
87
89
  getJson(): string;
88
90
  setRule(rules: any): void;
@@ -13,6 +13,7 @@ import { ElNotification } from 'element-plus';
13
13
  import { pageDiyProps } from './props.mjs';
14
14
  import views$1 from './views/min/index.mjs';
15
15
  import views from './views/web/index.mjs';
16
+ import DiyCloud from './components/DiyCloud.vue.mjs';
16
17
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
17
18
  import { designerForm } from './utils/form.mjs';
18
19
  import dkSetting from './config/base/dkSetting.mjs';
@@ -37,6 +38,7 @@ designerForm.register({
37
38
  const _sfc_main = defineComponent({
38
39
  name: 'DkPageDiy',
39
40
  components: {
41
+ DiyCloud,
40
42
  draggable,
41
43
  PreviewPhone,
42
44
  DragForm: designerForm.$form(),
@@ -435,6 +437,18 @@ const _sfc_main = defineComponent({
435
437
  }
436
438
  data.dkPageForm.api.coverValue(pageConfig);
437
439
  },
440
+ // 显示云端DIY
441
+ showDiyCloud(pageName) {
442
+ console.log('123');
443
+ const diyData = methods.get();
444
+ data.diyCloud.pageName = pageName;
445
+ data.diyCloud.show = true;
446
+ data.diyCloud.diy_data = diyData;
447
+ },
448
+ downCloudConfig(config) {
449
+ methods.set(config);
450
+ data.diyCloud.show = false;
451
+ },
438
452
  getRule() {
439
453
  return methods.parseRule(deepCopy(data.dragForm.api.rule[0].children))
440
454
  },
@@ -1082,6 +1096,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1082
1096
  const _component_el_tab_pane = resolveComponent("el-tab-pane");
1083
1097
  const _component_el_tabs = resolveComponent("el-tabs");
1084
1098
  const _component_el_dialog = resolveComponent("el-dialog");
1099
+ const _component_diy_cloud = resolveComponent("diy-cloud");
1100
+ const _component_dk_dialog = resolveComponent("dk-dialog");
1085
1101
  const _directive_loading = resolveDirective("loading");
1086
1102
 
1087
1103
  return (openBlock(), createBlock(_component_el_container, { class: "_fc-designer dk-page-diy" }, {
@@ -1343,24 +1359,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1343
1359
  ]),
1344
1360
  _: 1 /* STABLE */
1345
1361
  }, 8 /* PROPS */, ["visible"]),
1346
- createVNode(_component_el_dialog, {
1347
- visible: _ctx.diyCloud.show,
1348
- "onUpdate:visible": _cache[18] || (_cache[18] = $event => ((_ctx.diyCloud.show) = $event)),
1362
+ createVNode(_component_dk_dialog, {
1363
+ modelValue: _ctx.diyCloud.show,
1364
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = $event => ((_ctx.diyCloud.show) = $event)),
1349
1365
  width: "1200px",
1350
1366
  "append-to-body": "",
1351
1367
  title: "DIY模板市场",
1352
1368
  top: "10vh"
1353
1369
  }, {
1354
1370
  default: withCtx(() => [
1355
- createCommentVNode(" <diy-cloud"),
1356
- createCommentVNode(" v-if=\"diyCloud.show\""),
1357
- createCommentVNode(" :page-name=\"diyCloud.pageName\""),
1358
- createCommentVNode(" :diy-data=\"diyCloud.diy_data\""),
1359
- createCommentVNode(" @submit=\"downCloudConfig\""),
1360
- createCommentVNode(" />")
1371
+ (_ctx.diyCloud.show)
1372
+ ? (openBlock(), createBlock(_component_diy_cloud, {
1373
+ key: 0,
1374
+ "page-name": _ctx.diyCloud.pageName,
1375
+ "diy-data": _ctx.diyCloud.diy_data,
1376
+ onSubmit: _ctx.downCloudConfig
1377
+ }, null, 8 /* PROPS */, ["page-name", "diy-data", "onSubmit"]))
1378
+ : createCommentVNode("v-if", true)
1361
1379
  ]),
1362
1380
  _: 1 /* STABLE */
1363
- }, 8 /* PROPS */, ["visible"])
1381
+ }, 8 /* PROPS */, ["modelValue"])
1364
1382
  ]),
1365
1383
  _: 3 /* FORWARDED */
1366
1384
  }))
@@ -1 +1 @@
1
- {"version":3,"file":"page-diy.vue.mjs","sources":["../../../src/page-diy/src/page-diy.vue"],"sourcesContent":["<template>\n <el-container class=\"_fc-designer dk-page-diy\">\n <!-- 左边-->\n <el-aside class=\"_fc-l item-box\" :style=\"leftAside.style\">\n <div class=\"_fc-l-groups\">\n <template v-for=\"(item, index) in menuList\" :key=\"index\">\n <div class=\"_fc-l-group\">\n <h4 class=\"_fc-l-title\">{{ item.title }}</h4>\n <draggable\n :group=\"{ name: 'default', pull: 'clone', put: false }\"\n :sort=\"false\"\n :list=\"item.list\"\n item-key=\"icon\"\n filter=\".not-drag\"\n class=\"_fc-l-items\"\n >\n <template #item=\"{ element }\">\n <div\n :key=\"element.id\"\n class=\"_fc-l-item\"\n :class=\"element.count - (countObj[element.name] || 0) <= 0 ? 'not-drag' : ''\"\n >\n <div class=\"_fc-l-icon\">\n <dk-icon :icon=\"element.icon\" :size=\"24\"></dk-icon>\n </div>\n <span class=\"_fc-l-name\">{{ element.label }}</span>\n <span v-if=\"element.count\" class=\"_fc-l-count\" style=\"\">\n {{ element.count - (countObj[element.name] || 0) }}\n </span>\n </div>\n </template>\n </draggable>\n </div>\n </template>\n </div>\n <div class=\"children-list\" :style=\"treeAside.style\">\n <div class=\"child-title\" @click=\"hideAside('tree')\">\n <span>结构</span>\n <dk-icon :icon=\"treeAside.hide ? 'ArrowUp' : 'ArrowDown'\"></dk-icon>\n </div>\n <!-- <textarea style=\"width: 100%\">{{ treeAside.treeData }}</textarea>-->\n <el-tree\n draggable\n highlight-current\n :data=\"treeAside.treeData\"\n :props=\"{ value: 'type', label: 'type' }\"\n :allow-drop=\"allowDrop\"\n :default-expand-all=\"true\"\n @node-drop=\"nodeDrop\"\n @node-click=\"nodeClick\"\n >\n <template #default=\"{ data }\">\n <div :style=\"activeRule && activeRule._id === data._id ? 'color:red' : ''\">\n {{ data.type }}\n <span v-if=\"data.config?.config.label\">\n {{ data.config?.config.label }}\n </span>\n <dk-icon icon=\"Close\" class=\"close-rule\" @click.stop=\"delRule(data._id)\"></dk-icon>\n </div>\n </template>\n </el-tree>\n <div\n v-if=\"!treeAside.hide\"\n class=\"aside-resizer\"\n @mousedown=\"onResizerMouseDown('tree', $event)\"\n @mouseup=\"onResizerMouseUp('tree')\"\n @mousemove=\"onResizerMouseMove('tree')\"\n ></div>\n </div>\n <div\n v-if=\"!leftAside.hide\"\n class=\"aside-resizer\"\n @mousedown=\"onResizerMouseDown('left', $event)\"\n @mouseup=\"onResizerMouseUp('left')\"\n @mousemove=\"onResizerMouseMove('left')\"\n ></div>\n <div class=\"aside-toggle left-99%\" :style=\"leftAside.hide ? 'display:block' : ''\" @click=\"hideAside('left')\">\n <dk-icon :icon=\"leftAside.hide ? 'ArrowRight' : 'ArrowLeft'\"></dk-icon>\n </div>\n </el-aside>\n <!-- 左边结束-->\n <!-- 预览区-->\n <el-container class=\"_fc-m\">\n <el-header class=\"_fc-m-tools\" height=\"45\">\n <slot />\n </el-header>\n <preview-phone :page-config=\"dkPageForm.options.formData\">\n <DragForm v-model:api=\"dragForm.api\" v-loading=\"loading\" :rule=\"dragForm.rule\" :option=\"dragForm.option\" />\n </preview-phone>\n </el-container>\n <!-- 预览区结束-->\n <!-- 右边操作区-->\n <el-aside class=\"_fc-r\" :style=\"rightAside.style\">\n <el-tabs v-show=\"!rightAside.hide\" v-model=\"activeTab\">\n <el-tab-pane\n v-if=\"!!activeRule\"\n :key=\"activeRule ? 'props_' + activeRule._id6 : ''\"\n label=\"组件设置\"\n name=\"props\"\n >\n <DragForm\n v-model:api=\"propsForm.api\"\n :rule=\"propsForm.rule\"\n :option=\"propsForm.options\"\n :model-value=\"propsForm.value\"\n @change=\"propChange\"\n @removeField=\"propRemoveField\"\n ></DragForm>\n </el-tab-pane>\n <el-tab-pane\n v-if=\"!!activeRule\"\n :key=\"activeRule ? 'style_' + activeRule._id : ''\"\n label=\"样式设置\"\n name=\"style\"\n >\n <DragForm\n v-show=\"showDkSettingRule\"\n v-model:api=\"dkSettingForm.api\"\n :rule=\"dkSettingForm.rule\"\n :option=\"dkSettingForm.options\"\n :model-value=\"dkSettingForm.value\"\n @change=\"dkSettingChange\"\n />\n </el-tab-pane>\n <el-tab-pane label=\"页面配置\" name=\"page\">\n <DragForm\n v-model:api=\"dkPageForm.api\"\n :rule=\"dkPageForm.rule\"\n :option=\"dkPageForm.options\"\n @change=\"dkPageChange\"\n />\n </el-tab-pane>\n </el-tabs>\n <div\n v-if=\"!rightAside.hide\"\n class=\"aside-resizer left-0\"\n @mousedown=\"onResizerMouseDown('right', $event)\"\n @mouseup=\"onResizerMouseUp('right')\"\n @mousemove=\"onResizerMouseMove('right')\"\n ></div>\n <div class=\"aside-toggle right-99%\" :style=\"rightAside.hide ? 'display:block' : ''\" @click=\"hideAside('right')\">\n <dk-icon :icon=\"rightAside.hide ? 'ArrowLeft' : 'ArrowRight'\"></dk-icon>\n </div>\n </el-aside>\n <!-- 右边操作区结束-->\n <el-dialog v-model:visible=\"preview.state\" width=\"375px\" append-to-body style=\"min-height: 700px\">\n <!-- <form-create-->\n <!-- v-if=\"preview.state\"-->\n <!-- :rule=\"preview.rule\"-->\n <!-- :option=\"preview.option\"-->\n <!-- />-->\n </el-dialog>\n <el-dialog v-model:visible=\"diyCloud.show\" width=\"1200px\" append-to-body title=\"DIY模板市场\" top=\"10vh\">\n <!-- <diy-cloud-->\n <!-- v-if=\"diyCloud.show\"-->\n <!-- :page-name=\"diyCloud.pageName\"-->\n <!-- :diy-data=\"diyCloud.diy_data\"-->\n <!-- @submit=\"downCloudConfig\"-->\n <!-- />-->\n </el-dialog>\n </el-container>\n</template>\n\n<script>\nimport { deepCopy } from '@form-create/utils/lib/deepextend'\nimport is, { hasProperty } from '@form-create/utils/lib/type'\nimport { lower } from '@form-create/utils/lib/tocase'\nimport draggable from 'vuedraggable/src/vuedraggable'\nimport PreviewPhone from './components/PreviewPhone.vue'\nimport { createWebMenu, webRuleList } from './config/rule/web'\nimport { createMinMenu, minRuleList } from './config/rule/min'\nimport { upper, designerForm } from './utils/index'\nimport {\n computed,\n reactive,\n toRefs,\n toRef,\n ref,\n getCurrentInstance,\n provide,\n nextTick,\n watch,\n defineComponent,\n markRaw,\n} from 'vue'\nimport { dkPage, dkSetting } from './config/base'\nimport { isArray } from '@vipl520/utils'\nimport { ElNotification } from 'element-plus'\nimport { pageDiyProps } from './props'\nimport minViews from './views/min/index'\nimport webViews from './views/web/index'\n\ndesignerForm.register({\n name: 'help',\n init({ value }, rule) {\n // 判断value是字符串还是数组,如果是字符串则转换为数组,如果是数组则不变\n if (!isArray(value)) {\n value = [value]\n }\n rule.suffix = {\n type: 'p',\n children: value,\n class: 'form-help',\n }\n },\n})\n\nexport default defineComponent({\n name: 'DkPageDiy',\n components: {\n draggable,\n PreviewPhone,\n DragForm: designerForm.$form(),\n },\n props: pageDiyProps,\n setup(props) {\n const { menu, height, mask, locale } = toRefs(props)\n const vm = getCurrentInstance()\n const fcx = ref({ active: null })\n provide('fcx', fcx)\n provide('diy', vm)\n const config = toRef(props, 'config', {})\n // 区别小程序和网页\n const ruleList = props.type === 'web' ? webRuleList : minRuleList\n const createMenu = props.type === 'web' ? createWebMenu : createMinMenu\n // 导入不同的view\n if (props.type === 'web') {\n for (const name in webViews) {\n designerForm.component(name, webViews[name])\n }\n } else {\n for (const name in minViews) {\n designerForm.component(name, minViews[name])\n }\n }\n\n const getRuleItems = (item) => {\n const gl = ['DragTool', 'DragBox']\n const items = []\n if (gl.indexOf(item.type) > -1) {\n if (item.children.length > 0) {\n item.children.forEach((v) => {\n items.push(...getRuleItems(v))\n })\n return items\n } else {\n return []\n }\n }\n return [item]\n }\n\n const transformData = (originalData) => {\n const transformedData = []\n originalData.forEach((Data) => {\n const items = getRuleItems(Data)\n items.forEach((item) => {\n if (item._id) {\n const newItem = {\n id: item._id, // 使用原始数据的 _id 属性作为 id\n type: item.type,\n name: item.config?.config?.label || '', // 从 config 属性中获取 label 作为 name\n children: [],\n }\n if (item.children && item.children.length > 0) {\n newItem.children = transformData(item.children)\n }\n transformedData.push(newItem)\n }\n })\n })\n return transformedData\n }\n\n const diyTree = computed(() => {\n return transformData(data.children)\n })\n const countObj = computed(() => {\n const obj = {}\n let name\n for (let i = 0; i < data.children.length; i++) {\n if (data.children[i].children.length > 0) {\n name = data.children[i].children[0].type\n if (!obj[name]) {\n obj[name] = 1\n } else {\n obj[name] = obj[name] + 1\n }\n }\n }\n return obj\n })\n const data = reactive({\n cacheProps: {},\n moveRule: null,\n addRule: null,\n added: null,\n activeTab: 'page',\n activeRule: null,\n children: ref([]),\n menuList: menu.value || createMenu(),\n showBaseRule: false,\n showDkSettingRule: false,\n visible: {\n preview: false,\n },\n preview: {\n state: false,\n rule: [],\n option: {},\n },\n diyCloud: {\n pageName: '',\n show: false,\n },\n dragForm: ref({\n rule: [],\n api: {},\n option: {\n form: {},\n submitBtn: false,\n },\n }),\n dkSettingForm: {\n // 设置表单\n rule: dkSetting(),\n api: {},\n options: {\n form: {\n labelPosition: 'left',\n size: 'small',\n labelWidth: '82px',\n },\n submitBtn: false,\n mounted: (fapi) => {\n fapi.activeRule = data.activeRule\n fapi.setValue(fapi.options.formData || {})\n },\n },\n },\n dkPageForm: {\n // 页面表单\n rule: dkPage(),\n api: {},\n options: {\n formData: {},\n form: {\n labelPosition: 'left',\n size: 'small',\n labelWidth: '82px',\n },\n submitBtn: false,\n mounted: (fapi) => {\n fapi.setValue(fapi.options.formData || {})\n },\n },\n },\n propsForm: {\n rule: [],\n api: {},\n value: {},\n options: {\n form: {\n labelPosition: 'left',\n size: 'small',\n labelWidth: '70px',\n },\n submitBtn: false,\n mounted: (fapi) => {\n fapi.activeRule = data.activeRule\n fapi.setValue(fapi.options.formData || {})\n },\n },\n },\n // 拖拽的data\n isDragging: false,\n startValue: 0,\n dragName: '',\n asideValue: 0,\n trackMouseBound: null,\n stopChangeBound: null,\n rightAside: {\n style: {\n width: props.rightAsideWidth,\n },\n hide: false,\n },\n leftAside: {\n style: { width: props.leftAsideWidth },\n hide: false,\n },\n treeAside: {\n style: {\n height: '500px',\n minHeight: '30px',\n maxHeight: '30px',\n },\n hide: true,\n treeData: [],\n },\n })\n\n function cleanTreeData(node) {\n if (Array.isArray(node)) {\n // 遍历数组中的每个元素\n return node.map((childNode) => cleanTreeData(childNode))\n } else if (typeof node === 'object' && node !== null) {\n // 处理对象节点\n if (Array.isArray(node.children)) {\n // 只保留 children 数组中的对象类型元素\n node.children = node.children.filter((child) => typeof child === 'object' && child !== null)\n // 递归处理每个子节点\n node.children = cleanTreeData(node.children)\n }\n return node\n }\n // 对于非对象和非数组类型,直接返回\n return node\n }\n\n watch(\n () => data.dragForm,\n () => {\n data.treeAside.treeData = methods.parseRule(deepCopy(data.dragForm.api.rule[0].children), true)\n data.treeAside.treeData = cleanTreeData(data.treeAside.treeData)\n },\n {\n deep: true,\n }\n )\n watch(\n () => data.preview.state,\n function (n) {\n if (!n) {\n nextTick(() => {\n data.preview.rule = data.preview.option = null\n })\n }\n }\n )\n\n let unWatchActiveRule = null\n\n const methods = {\n // 清除所有配置项\n clear(type = 'all') {\n if (type === 'all' || type === 'rule') {\n methods.setRule([])\n }\n if (type === 'all' || type === 'page') {\n methods.setPageConfig({})\n }\n },\n // 获取所有配置项\n get() {\n return {\n rule: methods.getRule(),\n config: methods.getPageConfig(),\n }\n },\n // 设置配置项\n set(value) {\n if (!value) return\n const pageConfig = value.config ? value.config : {}\n methods.setPageConfig(pageConfig)\n methods.setRule(value.rule)\n },\n unWatchActiveRule() {\n unWatchActiveRule && unWatchActiveRule()\n unWatchActiveRule = null\n },\n watchActiveRule() {\n methods.unWatchActiveRule()\n unWatchActiveRule = watch(\n () => data.activeRule,\n function (n) {\n n && methods.updateRuleFormData()\n },\n { deep: true, flush: 'post' }\n )\n },\n makeChildren(children) {\n return reactive({ children }).children\n },\n addMenu(config) {\n if (!config.name || !config.list) return\n let flag = true\n data.menuList.forEach((v, i) => {\n if (v.name === config.name) {\n data.menuList[i] = config\n flag = false\n }\n })\n if (flag) {\n data.menuList.push(config)\n }\n },\n removeMenu(name) {\n ;[...data.menuList].forEach((v, i) => {\n if (v.name === name) {\n data.menuList.splice(i, 1)\n }\n })\n },\n setMenuItem(name, list) {\n data.menuList.forEach((v) => {\n if (v.name === name) {\n v.list = list\n }\n })\n },\n appendMenuItem(name, item) {\n data.menuList.forEach((v) => {\n if (v.name === name) {\n v.list.push(...(Array.isArray(item) ? item : [item]))\n }\n })\n },\n removeMenuItem(item) {\n data.menuList.forEach((v) => {\n let idx\n if (is.String(item)) {\n ;[...v.list].forEach((menu, idx) => {\n if (menu.name === item) {\n v.list.splice(idx, 1)\n }\n })\n } else {\n if ((idx = v.list.indexOf(item)) > -1) {\n v.list.splice(idx, 1)\n }\n }\n })\n },\n addComponent(component) {\n if (Array.isArray(component)) {\n component.forEach((v) => {\n ruleList[v.name] = v\n })\n } else {\n ruleList[component.name] = component\n }\n },\n getParent(rule) {\n let parent = rule.__fc__.parent.rule\n const config = parent.config\n if (config && config.config.inside) {\n rule = parent\n parent = parent.__fc__.parent.rule\n }\n return { root: parent, parent: rule }\n },\n makeDrag(group, tag, children, on) {\n return {\n type: 'DragBox',\n wrap: {\n show: false,\n },\n col: {\n show: false,\n },\n inject: true,\n props: {\n rule: {\n props: {\n tag: 'el-col',\n group: group === true ? 'default' : group,\n ghostClass: 'ghost',\n animation: 150,\n // 拖拽class\n // handle: '._fc-drag-btn',\n emptyInsertThreshold: 0,\n direction: 'vertical',\n itemKey: 'type',\n },\n },\n tag,\n },\n children,\n on,\n }\n },\n\n makeDragRule(children) {\n return methods.makeChildren([\n methods.makeDrag(true, 'draggable', children, {\n add: (inject, evt) => methods.dragAdd(children, evt),\n end: (inject, evt) => methods.dragEnd(children, evt),\n start: (inject, evt) => methods.dragStart(children, evt),\n unchoose: (inject, evt) => methods.dragUnchoose(children, evt),\n }),\n ])\n },\n previewFc() {\n data.preview.state = true\n data.preview.rule = methods.getRule()\n data.preview.option = methods.getOption()\n },\n\n getPageConfig() {\n return data.dkPageForm.options.formData\n },\n setPageConfig(pageConfig) {\n if (!pageConfig || isArray(pageConfig)) {\n pageConfig = {}\n }\n data.dkPageForm.api.coverValue(pageConfig)\n },\n getRule() {\n return methods.parseRule(deepCopy(data.dragForm.api.rule[0].children))\n },\n getJson() {\n return designerForm.toJson(methods.getRule())\n },\n setRule(rules) {\n if (!rules) {\n rules = []\n }\n data.children = methods.makeChildren(\n methods.loadRule(is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules))\n )\n methods.clearActiveRule()\n data.dragForm.rule = methods.makeDragRule(data.children)\n },\n clearActiveRule() {\n data.activeRule = null\n data.activeTab = 'page'\n },\n loadRule(rules) {\n const loadRule = []\n rules.forEach((rule) => {\n if (is.String(rule)) {\n return loadRule.push(rule)\n }\n const config = ruleList[rule._fc_drag_tag] || ruleList[rule.type]\n const _children = rule.children\n rule.children = []\n if (rule.control) {\n rule._control = rule.control\n delete rule.control\n }\n if (config) {\n rule = methods.makeRule(config, rule)\n if (_children) {\n let children = rule.children[0].children\n\n if (config.drag) {\n children = children[0].children\n }\n children.push(...methods.loadRule(_children))\n }\n } else if (_children) {\n rule.children = methods.loadRule(_children)\n }\n loadRule.push(rule)\n })\n return loadRule\n },\n parseRule(children, isTree = false) {\n return [...children].reduce((initial, rule) => {\n if (is.String(rule)) {\n initial.push(rule)\n return initial\n } else if (rule.type === 'DragBox') {\n initial.push(...methods.parseRule(rule.children, isTree))\n return initial\n } else if (rule.type === 'DragTool') {\n rule = rule.children[0]\n if (rule.type === 'DragBox') {\n initial.push(...methods.parseRule(rule.children, isTree))\n return initial\n }\n }\n if (!rule) return initial\n rule = { ...rule }\n if (rule.children && rule.children.length) {\n rule.children = methods.parseRule(rule.children, isTree)\n }\n\n delete rule.key\n delete rule.component\n\n if (!isTree) {\n delete rule._id\n if (rule.config) {\n delete rule.config.config\n }\n }\n if (rule.effect) {\n delete rule.effect._fc\n delete rule.effect._fc_tool\n }\n if (rule._control) {\n rule.control = rule._control\n delete rule._control\n }\n Object.keys(rule)\n .filter(\n (k) =>\n (Array.isArray(rule[k]) && rule[k].length === 0) ||\n (is.Object(rule[k]) && Object.keys(rule[k]).length === 0)\n )\n .forEach((k) => {\n delete rule[k]\n })\n initial.push(rule)\n return initial\n }, [])\n },\n baseChange(field, value, _, fapi) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n methods.unWatchActiveRule()\n data.activeRule[field] = value\n methods.watchActiveRule()\n data.activeRule.config.config?.watch?.['$' + field]?.({\n field,\n value,\n api: fapi,\n rule: data.activeRule,\n })\n }\n },\n dkSettingChange(field, value, _, fapi, flag) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n data.activeRule.setting[field] = value\n }\n },\n propRemoveField(field, _, fapi) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n methods.unWatchActiveRule()\n const org = field\n data.dragForm.api.sync(data.activeRule)\n if (field.indexOf('formCreate') === 0) {\n field = field.replace('formCreate', '')\n if (!field) return\n field = lower(field)\n if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {\n delete data.activeRule.effect[field.split('>')[1]]\n } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {\n delete data.activeRule.props[field.split('>')[1]]\n } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {\n data.activeRule.attrs[field.split('>')[1]] = value\n } else if (field === 'child') {\n delete data.activeRule.children[0]\n } else if (field) {\n data.activeRule[field] = undefined\n }\n } else {\n delete data.activeRule.props[field]\n }\n methods.watchActiveRule()\n data.activeRule.config.config?.watch?.[org]?.({\n field: org,\n value: undefined,\n api: fapi,\n rule: data.activeRule,\n })\n }\n },\n propChange(field, value, _, fapi) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n methods.unWatchActiveRule()\n const org = field\n if (field.indexOf('formCreate') === 0) {\n field = field.replace('formCreate', '')\n if (!field) return\n field = lower(field)\n if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {\n data.activeRule.effect[field.split('>')[1]] = value\n } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {\n data.activeRule.props[field.split('>')[1]] = value\n } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {\n data.activeRule.attrs[field.split('>')[1]] = value\n } else if (field === 'child') {\n data.activeRule.children[0] = value\n } else {\n data.activeRule[field] = value\n }\n } else {\n data.activeRule.props[field] = value\n }\n methods.watchActiveRule()\n data.activeRule.config.config?.watch?.[org]?.({\n field: org,\n value,\n api: fapi,\n rule: data.activeRule,\n })\n }\n },\n dkPageChange(field, value, _, fapi, flag) {\n data.dkPageForm.options.formData[field] = value\n },\n nodeClick(row) {\n methods.chooseRule(row._id)\n },\n delRule(id, children = null) {\n children = children || data.children\n children.forEach((item) => {\n if (item._id === id) {\n if (item.config.config.inside) {\n item.__fc__.rm()\n vm.emit('delete', item)\n } else {\n const parent = methods.getParent(item)\n vm.emit('delete', parent.root.children[0])\n parent.root.__fc__.rm()\n }\n methods.clearActiveRule()\n } else if (item.children && item.children.length > 0) {\n methods.delRule(id, item.children)\n }\n })\n },\n chooseRule(id, children = null) {\n children = children || data.children\n children.forEach((item) => {\n if (item._id === id) {\n vm.emit('active', item)\n methods.toolActive(item)\n if (item.config.config.inside) {\n fcx.value.active = item.children[0]?.props.unique || null\n } else {\n const p = methods.getParent(item)\n fcx.value.active = p.root?.props?.unique || null\n }\n } else if (item.children && item.children.length > 0) {\n methods.chooseRule(id, item.children)\n }\n })\n },\n toolActive(rule) {\n methods.unWatchActiveRule()\n if (data.activeRule) {\n delete data.propsForm.api[data.activeRule._id]\n delete data.dragForm.api.activeRule\n }\n data.activeRule = rule\n data.dragForm.api.activeRule = rule\n\n nextTick(() => {\n data.activeTab = 'props'\n nextTick(() => {\n data.propsForm.api[data.activeRule._id] = data.activeRule\n data.dkSettingForm.api[data.activeRule._id] = data.activeRule\n })\n })\n if (!data.cacheProps[rule._id]) {\n data.cacheProps[rule._id] = rule.config.config.props(rule)\n }\n data.propsForm.rule = data.cacheProps[rule._id]\n methods.updateRuleFormData()\n methods.watchActiveRule()\n methods.updateShowStyle(rule)\n },\n updateShowStyle(rule) {\n data.showDkSettingRule = rule.showStyle\n if (data.showDkSettingRule) {\n data.dkSettingForm.rule = dkSetting(rule)\n if (Object.values(rule.setting).length > 0) {\n data.dkSettingForm.options.formData = rule.setting\n } else {\n const settingFormData = {}\n dkSetting(rule).forEach((k) => {\n settingFormData[k.field] = k.value\n })\n data.dkSettingForm.options.formData = settingFormData\n }\n }\n },\n updateRuleFormData() {\n const rule = data.activeRule\n const formData = {\n ...rule.props,\n formCreateChild: deepCopy(rule.children[0]),\n }\n Object.keys(rule).forEach((k) => {\n if (['effect', 'config', 'payload', 'id', 'type'].indexOf(k) < 0)\n formData['formCreate' + upper(k)] = deepCopy(rule[k])\n })\n ;['props', 'effect', 'attrs'].forEach((name) => {\n rule[name] &&\n Object.keys(rule[name]).forEach((k) => {\n formData['formCreate' + upper(name) + '>' + k] = deepCopy(rule[name][k])\n })\n })\n // console.log('formData', formData)\n data.propsForm.value = formData\n\n data.showBaseRule =\n hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false)\n if (data.showBaseRule) {\n data.dragForm.api.refreshValidate()\n }\n },\n dragStart(children) {\n data.moveRule = children\n data.added = false\n },\n dragUnchoose(children, evt) {\n data.addRule = {\n children,\n oldIndex: evt.oldIndex,\n }\n },\n dragAdd(children, evt) {\n const newIndex = evt.newIndex\n const menu = evt.item._underlying_vm_\n if (!menu || menu.__fc__) {\n if (data.addRule) {\n const rule = data.addRule.children.splice(data.addRule.oldIndex, 1)\n children.splice(newIndex, 0, rule[0])\n }\n } else {\n const rule = methods.makeRule(ruleList[menu.name])\n const config = rule.children[0].config.config\n const count = config.count ? config.count : 99\n const _count = countObj.value[config.name] ? countObj.value[config.name] : 0\n if (_count >= count) {\n ElNotification({\n title: '警告',\n message: '当前模块只能添加' + config.count + '个',\n type: 'warning',\n })\n return false\n }\n children.splice(newIndex, 0, rule)\n }\n data.added = true\n },\n dragEnd(children, { newIndex, oldIndex }) {\n if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {\n const rule = data.moveRule.splice(oldIndex, 1)\n children.splice(newIndex, 0, rule[0])\n }\n data.moveRule = null\n data.addRule = null\n data.added = false\n // data.dragForm.api.refresh();\n },\n makeRule(config, _rule) {\n const rule = _rule || config.rule()\n rule.config = { config }\n if (config.component) {\n rule.component = markRaw(config.component)\n }\n if (!rule.effect) rule.effect = {}\n rule.effect._fc = true\n rule._fc_drag_tag = config.name\n rule.setting = rule.setting || {}\n let drag\n if (config.drag) {\n rule.children.push(\n (drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {\n end: (inject, evt) => methods.dragEnd(inject.self.children, evt),\n add: (inject, evt) => methods.dragAdd(inject.self.children, evt),\n start: (inject, evt) => methods.dragStart(inject.self.children, evt),\n unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),\n }))\n )\n }\n if (config.children && !_rule) {\n for (let i = 0; i < (config.childrenLen || 1); i++) {\n const child = methods.makeRule(ruleList[config.children])\n ;(drag || rule).children.push(child)\n }\n }\n\n const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false\n if (config.inside) {\n rule.children = methods.makeChildren([\n {\n type: 'DragTool',\n props: {\n dragBtn: config.dragBtn !== false,\n children: config.children,\n mask: dragMask,\n setting: rule.setting,\n },\n effect: {\n _fc_tool: true,\n },\n inject: true,\n on: {\n delete: ({ self }) => {\n const parent = methods.getParent(self).parent\n parent.__fc__.rm()\n vm.emit('delete', parent)\n methods.clearActiveRule()\n },\n create: ({ self }) => {\n const top = methods.getParent(self)\n vm.emit('create', top.parent)\n top.root.children.splice(\n top.root.children.indexOf(top.parent) + 1,\n 0,\n methods.makeRule(top.parent.config.config)\n )\n },\n addChild: ({ self }) => {\n const top = methods.getParent(self)\n const config = top.parent.config.config\n const item = ruleList[config.children]\n if (!item) return\n ;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(\n methods.makeRule(item)\n )\n },\n copy: ({ self }) => {\n const top = methods.getParent(self)\n vm.emit('copy', top.parent)\n top.root.children.splice(\n top.root.children.indexOf(top.parent) + 1,\n 0,\n designerForm.copyRule(top.parent)\n )\n },\n active: ({ self }) => {\n const top = methods.getParent(self)\n vm.emit('active', top.parent)\n methods.toolActive(top.parent)\n },\n },\n children: rule.children,\n },\n ])\n return rule\n } else {\n return {\n type: 'DragTool',\n props: {\n dragBtn: config.dragBtn !== false,\n children: config.children,\n mask: dragMask,\n setting: rule.setting,\n },\n effect: {\n _fc_tool: true,\n },\n inject: true,\n on: {\n delete: ({ self }) => {\n vm.emit('delete', self.children[0])\n self.__fc__.rm()\n methods.clearActiveRule()\n },\n create: ({ self }) => {\n vm.emit('create', self.children[0])\n const top = methods.getParent(self)\n top.root.children.splice(\n top.root.children.indexOf(top.parent) + 1,\n 0,\n methods.makeRule(self.children[0].config.config)\n )\n },\n addChild: ({ self }) => {\n const config = self.children[0].config.config\n const item = ruleList[config.children]\n if (!item) return\n ;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item))\n },\n copy: ({ self }) => {\n vm.emit('copy', self.children[0])\n const top = methods.getParent(self)\n const copyRule = designerForm.copyRule(top.parent)\n // 解决复制后,组件的setting配置失效\n copyRule.props.setting = copyRule.children[0].setting\n top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule)\n },\n active: ({ self }) => {\n vm.emit('active', self.children[0])\n methods.toolActive(self.children[0])\n },\n },\n children: methods.makeChildren([rule]),\n }\n }\n },\n // 滑动改变尺寸\n onResizerMouseDown(name, e) {\n data.isDragging = true\n data.startValue = e.clientX\n data.dragName = name\n if (name === 'left') {\n // 获取._fc-l的宽度\n data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth\n }\n if (name === 'right') {\n data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth\n }\n document.body.style.cursor = 'ew-resize'\n if (name === 'tree') {\n data.startValue = e.clientY\n data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight\n console.log('data.startValue', data.startValue)\n console.log('data.asideValue', data.asideValue)\n document.body.style.cursor = 'n-resize'\n }\n data.trackMouseBound = methods.onResizerMouseMove.bind(e)\n data.stopChangeBound = methods.onResizerMouseUp.bind(e)\n document.addEventListener('mousemove', data.trackMouseBound)\n document.addEventListener('mouseup', data.stopChangeBound)\n },\n onResizerMouseUp() {\n document.removeEventListener('mousemove', data.trackMouseBound)\n document.removeEventListener('mouseup', data.stopChangeBound)\n document.body.style.cursor = 'default'\n data.isDragging = false\n data.dragName = ''\n },\n onResizerMouseMove(e) {\n if (data.isDragging) {\n // 获取鼠标位置\n if (data.dragName === 'left') {\n let width = e.clientX - data.startValue + data.asideValue\n if (width > 455) {\n width = 455\n }\n if (width < 200) {\n width = 200\n }\n data.leftAside.style.width = width + 'px'\n }\n if (data.dragName === 'right') {\n let width = data.startValue - e.clientX + data.asideValue\n if (width > 800) {\n width = 800\n }\n if (width < 300) {\n width = 300\n }\n data.rightAside.style.width = width + 'px'\n }\n\n if (data.dragName === 'tree') {\n let height = data.startValue - e.clientY + data.asideValue\n if (height > 800) {\n height = 800\n }\n if (height < 30) {\n height = 30\n }\n data.treeAside.style.height = height + 'px'\n }\n }\n },\n hideAside(name) {\n if (name === 'left') {\n if (data.leftAside.hide) {\n data.leftAside.hide = false\n delete data.leftAside.style.minWidth\n delete data.leftAside.style.maxWidth\n } else {\n data.leftAside.hide = true\n data.leftAside.style.minWidth = '0px'\n data.leftAside.style.maxWidth = '0px'\n }\n } else if (name === 'right') {\n if (data.rightAside.hide) {\n data.rightAside.hide = false\n delete data.rightAside.style.minWidth\n delete data.rightAside.style.maxWidth\n } else {\n data.rightAside.hide = true\n data.rightAside.style.minWidth = '0px'\n data.rightAside.style.maxWidth = '0px'\n }\n } else if (name === 'tree') {\n if (data.treeAside.hide) {\n data.treeAside.hide = false\n const height = data.treeAside.style.height\n data.treeAside.style = { height }\n } else {\n data.treeAside.hide = true\n data.treeAside.style.minHeight = '30px'\n data.treeAside.style.maxHeight = '30px'\n }\n }\n },\n allowDrop(draggingNode, dropNode, type) {\n // console.log('draggingNode', draggingNode.data.config.config.inside)\n\n const draggingRule = draggingNode.data.config.config\n const dropRule = dropNode.data.config.config\n // 内部元素放到指定的外部才可以放置\n if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {\n return true\n }\n // 同样父级\n if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {\n return true\n }\n\n if (type !== 'inner' && !draggingRule.inside && !dropRule.inside) {\n return true\n }\n\n if (type === 'inner' && !draggingRule.inside && dropRule.inside) {\n // console.log(draggingRule, dropRule)\n return true\n }\n\n return false\n },\n allowDrag(draggingNode) {\n console.log('allowDrag', draggingNode)\n if (draggingNode.data.type === 'DragTool') {\n return true\n }\n },\n nodeDrop(node, dropNode, type, event) {\n // 拖拽成功完成时触发的事件\n methods.setRule(data.treeAside.treeData)\n },\n }\n data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children))\n return {\n ...toRefs(data),\n ...methods,\n countObj,\n diyTree,\n }\n },\n created() {\n document.body.ondrop = (e) => {\n e.preventDefault()\n e.stopPropagation()\n }\n },\n})\n</script>\n"],"names":["webViews","minViews","_createElementVNode","_createBlock","_createCommentVNode","_createVNode","_normalizeStyle","_openBlock","_createElementBlock","_Fragment","_renderList","_toDisplayString","_withCtx","_normalizeClass","_withModifiers","_renderSlot","_vShow"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAgMA,YAAY,CAAC,QAAQ,CAAC;EACpB,IAAI,EAAE,MAAM;AACZ,EAAA,IAAI,CAAC,EAAE,KAAI,EAAG,EAAE,IAAI,EAAE;AACpB;AACA,IAAA,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;MACnB,KAAM,GAAE,CAAC,KAAK,EAAA;AAChB,KAAA;IACA,IAAI,CAAC,MAAK,GAAI;AACZ,MAAA,IAAI,EAAE,GAAG;AACT,MAAA,QAAQ,EAAE,KAAK;AACf,MAAA,KAAK,EAAE,WAAW;AACpB,MAAA;GACD;AACH,CAAC,EAAA;;AAED,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,WAAW;EACjB,UAAU,EAAE;AACV,IAAA,SAAS;IACT,YAAY;IACZ,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE;GAC/B;A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,QAAA,KAAK,EAAC,SAAS;AAAC,QAAA,GAAG,EAAC,MAAM;;yBACjG,MAAuB;UAAvBD,kBAAuB,CAAA,kBAAA,CAAA;UACvBA,kBAAmC,CAAA,gCAAA,CAAA;UACnCA,kBAA6C,CAAA,0CAAA,CAAA;UAC7CA,kBAA4C,CAAA,yCAAA,CAAA;UAC5CA,kBAAwC,CAAA,qCAAA,CAAA;UACxCA,kBAAe,CAAA,UAAA,CAAA;;;;;;;;;;;;"}
1
+ {"version":3,"file":"page-diy.vue.mjs","sources":["../../../src/page-diy/src/page-diy.vue"],"sourcesContent":["<template>\n <el-container class=\"_fc-designer dk-page-diy\">\n <!-- 左边-->\n <el-aside class=\"_fc-l item-box\" :style=\"leftAside.style\">\n <div class=\"_fc-l-groups\">\n <template v-for=\"(item, index) in menuList\" :key=\"index\">\n <div class=\"_fc-l-group\">\n <h4 class=\"_fc-l-title\">{{ item.title }}</h4>\n <draggable\n :group=\"{ name: 'default', pull: 'clone', put: false }\"\n :sort=\"false\"\n :list=\"item.list\"\n item-key=\"icon\"\n filter=\".not-drag\"\n class=\"_fc-l-items\"\n >\n <template #item=\"{ element }\">\n <div\n :key=\"element.id\"\n class=\"_fc-l-item\"\n :class=\"element.count - (countObj[element.name] || 0) <= 0 ? 'not-drag' : ''\"\n >\n <div class=\"_fc-l-icon\">\n <dk-icon :icon=\"element.icon\" :size=\"24\"></dk-icon>\n </div>\n <span class=\"_fc-l-name\">{{ element.label }}</span>\n <span v-if=\"element.count\" class=\"_fc-l-count\" style=\"\">\n {{ element.count - (countObj[element.name] || 0) }}\n </span>\n </div>\n </template>\n </draggable>\n </div>\n </template>\n </div>\n <div class=\"children-list\" :style=\"treeAside.style\">\n <div class=\"child-title\" @click=\"hideAside('tree')\">\n <span>结构</span>\n <dk-icon :icon=\"treeAside.hide ? 'ArrowUp' : 'ArrowDown'\"></dk-icon>\n </div>\n <!-- <textarea style=\"width: 100%\">{{ treeAside.treeData }}</textarea>-->\n <el-tree\n draggable\n highlight-current\n :data=\"treeAside.treeData\"\n :props=\"{ value: 'type', label: 'type' }\"\n :allow-drop=\"allowDrop\"\n :default-expand-all=\"true\"\n @node-drop=\"nodeDrop\"\n @node-click=\"nodeClick\"\n >\n <template #default=\"{ data }\">\n <div :style=\"activeRule && activeRule._id === data._id ? 'color:red' : ''\">\n {{ data.type }}\n <span v-if=\"data.config?.config.label\">\n {{ data.config?.config.label }}\n </span>\n <dk-icon icon=\"Close\" class=\"close-rule\" @click.stop=\"delRule(data._id)\"></dk-icon>\n </div>\n </template>\n </el-tree>\n <div\n v-if=\"!treeAside.hide\"\n class=\"aside-resizer\"\n @mousedown=\"onResizerMouseDown('tree', $event)\"\n @mouseup=\"onResizerMouseUp('tree')\"\n @mousemove=\"onResizerMouseMove('tree')\"\n ></div>\n </div>\n <div\n v-if=\"!leftAside.hide\"\n class=\"aside-resizer\"\n @mousedown=\"onResizerMouseDown('left', $event)\"\n @mouseup=\"onResizerMouseUp('left')\"\n @mousemove=\"onResizerMouseMove('left')\"\n ></div>\n <div class=\"aside-toggle left-99%\" :style=\"leftAside.hide ? 'display:block' : ''\" @click=\"hideAside('left')\">\n <dk-icon :icon=\"leftAside.hide ? 'ArrowRight' : 'ArrowLeft'\"></dk-icon>\n </div>\n </el-aside>\n <!-- 左边结束-->\n <!-- 预览区-->\n <el-container class=\"_fc-m\">\n <el-header class=\"_fc-m-tools\" height=\"45\">\n <slot />\n </el-header>\n <preview-phone :page-config=\"dkPageForm.options.formData\">\n <DragForm v-model:api=\"dragForm.api\" v-loading=\"loading\" :rule=\"dragForm.rule\" :option=\"dragForm.option\" />\n </preview-phone>\n </el-container>\n <!-- 预览区结束-->\n <!-- 右边操作区-->\n <el-aside class=\"_fc-r\" :style=\"rightAside.style\">\n <el-tabs v-show=\"!rightAside.hide\" v-model=\"activeTab\">\n <el-tab-pane\n v-if=\"!!activeRule\"\n :key=\"activeRule ? 'props_' + activeRule._id6 : ''\"\n label=\"组件设置\"\n name=\"props\"\n >\n <DragForm\n v-model:api=\"propsForm.api\"\n :rule=\"propsForm.rule\"\n :option=\"propsForm.options\"\n :model-value=\"propsForm.value\"\n @change=\"propChange\"\n @removeField=\"propRemoveField\"\n ></DragForm>\n </el-tab-pane>\n <el-tab-pane\n v-if=\"!!activeRule\"\n :key=\"activeRule ? 'style_' + activeRule._id : ''\"\n label=\"样式设置\"\n name=\"style\"\n >\n <DragForm\n v-show=\"showDkSettingRule\"\n v-model:api=\"dkSettingForm.api\"\n :rule=\"dkSettingForm.rule\"\n :option=\"dkSettingForm.options\"\n :model-value=\"dkSettingForm.value\"\n @change=\"dkSettingChange\"\n />\n </el-tab-pane>\n <el-tab-pane label=\"页面配置\" name=\"page\">\n <DragForm\n v-model:api=\"dkPageForm.api\"\n :rule=\"dkPageForm.rule\"\n :option=\"dkPageForm.options\"\n @change=\"dkPageChange\"\n />\n </el-tab-pane>\n </el-tabs>\n <div\n v-if=\"!rightAside.hide\"\n class=\"aside-resizer left-0\"\n @mousedown=\"onResizerMouseDown('right', $event)\"\n @mouseup=\"onResizerMouseUp('right')\"\n @mousemove=\"onResizerMouseMove('right')\"\n ></div>\n <div class=\"aside-toggle right-99%\" :style=\"rightAside.hide ? 'display:block' : ''\" @click=\"hideAside('right')\">\n <dk-icon :icon=\"rightAside.hide ? 'ArrowLeft' : 'ArrowRight'\"></dk-icon>\n </div>\n </el-aside>\n <!-- 右边操作区结束-->\n <el-dialog v-model:visible=\"preview.state\" width=\"375px\" append-to-body style=\"min-height: 700px\">\n <!-- <form-create-->\n <!-- v-if=\"preview.state\"-->\n <!-- :rule=\"preview.rule\"-->\n <!-- :option=\"preview.option\"-->\n <!-- />-->\n </el-dialog>\n <dk-dialog v-model=\"diyCloud.show\" width=\"1200px\" append-to-body title=\"DIY模板市场\" top=\"10vh\">\n <diy-cloud\n v-if=\"diyCloud.show\"\n :page-name=\"diyCloud.pageName\"\n :diy-data=\"diyCloud.diy_data\"\n @submit=\"downCloudConfig\"\n />\n </dk-dialog>\n </el-container>\n</template>\n\n<script>\nimport { deepCopy } from '@form-create/utils/lib/deepextend'\nimport is, { hasProperty } from '@form-create/utils/lib/type'\nimport { lower } from '@form-create/utils/lib/tocase'\nimport draggable from 'vuedraggable/src/vuedraggable'\nimport PreviewPhone from './components/PreviewPhone.vue'\nimport { createWebMenu, webRuleList } from './config/rule/web'\nimport { createMinMenu, minRuleList } from './config/rule/min'\nimport { upper, designerForm } from './utils/index'\nimport {\n computed,\n reactive,\n toRefs,\n toRef,\n ref,\n getCurrentInstance,\n provide,\n nextTick,\n watch,\n defineComponent,\n markRaw,\n} from 'vue'\nimport { dkPage, dkSetting } from './config/base'\nimport { isArray } from '@vipl520/utils'\nimport { ElNotification } from 'element-plus'\nimport { pageDiyProps } from './props'\nimport minViews from './views/min/index'\nimport webViews from './views/web/index'\nimport DiyCloud from './components/DiyCloud.vue'\n\ndesignerForm.register({\n name: 'help',\n init({ value }, rule) {\n // 判断value是字符串还是数组,如果是字符串则转换为数组,如果是数组则不变\n if (!isArray(value)) {\n value = [value]\n }\n rule.suffix = {\n type: 'p',\n children: value,\n class: 'form-help',\n }\n },\n})\n\nexport default defineComponent({\n name: 'DkPageDiy',\n components: {\n DiyCloud,\n draggable,\n PreviewPhone,\n DragForm: designerForm.$form(),\n },\n props: pageDiyProps,\n setup(props) {\n const { menu, height, mask, locale } = toRefs(props)\n const vm = getCurrentInstance()\n const fcx = ref({ active: null })\n provide('fcx', fcx)\n provide('diy', vm)\n const config = toRef(props, 'config', {})\n // 区别小程序和网页\n const ruleList = props.type === 'web' ? webRuleList : minRuleList\n const createMenu = props.type === 'web' ? createWebMenu : createMinMenu\n // 导入不同的view\n if (props.type === 'web') {\n for (const name in webViews) {\n designerForm.component(name, webViews[name])\n }\n } else {\n for (const name in minViews) {\n designerForm.component(name, minViews[name])\n }\n }\n\n const getRuleItems = (item) => {\n const gl = ['DragTool', 'DragBox']\n const items = []\n if (gl.indexOf(item.type) > -1) {\n if (item.children.length > 0) {\n item.children.forEach((v) => {\n items.push(...getRuleItems(v))\n })\n return items\n } else {\n return []\n }\n }\n return [item]\n }\n\n const transformData = (originalData) => {\n const transformedData = []\n originalData.forEach((Data) => {\n const items = getRuleItems(Data)\n items.forEach((item) => {\n if (item._id) {\n const newItem = {\n id: item._id, // 使用原始数据的 _id 属性作为 id\n type: item.type,\n name: item.config?.config?.label || '', // 从 config 属性中获取 label 作为 name\n children: [],\n }\n if (item.children && item.children.length > 0) {\n newItem.children = transformData(item.children)\n }\n transformedData.push(newItem)\n }\n })\n })\n return transformedData\n }\n\n const diyTree = computed(() => {\n return transformData(data.children)\n })\n const countObj = computed(() => {\n const obj = {}\n let name\n for (let i = 0; i < data.children.length; i++) {\n if (data.children[i].children.length > 0) {\n name = data.children[i].children[0].type\n if (!obj[name]) {\n obj[name] = 1\n } else {\n obj[name] = obj[name] + 1\n }\n }\n }\n return obj\n })\n const data = reactive({\n cacheProps: {},\n moveRule: null,\n addRule: null,\n added: null,\n activeTab: 'page',\n activeRule: null,\n children: ref([]),\n menuList: menu.value || createMenu(),\n showBaseRule: false,\n showDkSettingRule: false,\n visible: {\n preview: false,\n },\n preview: {\n state: false,\n rule: [],\n option: {},\n },\n diyCloud: {\n pageName: '',\n show: false,\n },\n dragForm: ref({\n rule: [],\n api: {},\n option: {\n form: {},\n submitBtn: false,\n },\n }),\n dkSettingForm: {\n // 设置表单\n rule: dkSetting(),\n api: {},\n options: {\n form: {\n labelPosition: 'left',\n size: 'small',\n labelWidth: '82px',\n },\n submitBtn: false,\n mounted: (fapi) => {\n fapi.activeRule = data.activeRule\n fapi.setValue(fapi.options.formData || {})\n },\n },\n },\n dkPageForm: {\n // 页面表单\n rule: dkPage(),\n api: {},\n options: {\n formData: {},\n form: {\n labelPosition: 'left',\n size: 'small',\n labelWidth: '82px',\n },\n submitBtn: false,\n mounted: (fapi) => {\n fapi.setValue(fapi.options.formData || {})\n },\n },\n },\n propsForm: {\n rule: [],\n api: {},\n value: {},\n options: {\n form: {\n labelPosition: 'left',\n size: 'small',\n labelWidth: '70px',\n },\n submitBtn: false,\n mounted: (fapi) => {\n fapi.activeRule = data.activeRule\n fapi.setValue(fapi.options.formData || {})\n },\n },\n },\n // 拖拽的data\n isDragging: false,\n startValue: 0,\n dragName: '',\n asideValue: 0,\n trackMouseBound: null,\n stopChangeBound: null,\n rightAside: {\n style: {\n width: props.rightAsideWidth,\n },\n hide: false,\n },\n leftAside: {\n style: { width: props.leftAsideWidth },\n hide: false,\n },\n treeAside: {\n style: {\n height: '500px',\n minHeight: '30px',\n maxHeight: '30px',\n },\n hide: true,\n treeData: [],\n },\n })\n\n function cleanTreeData(node) {\n if (Array.isArray(node)) {\n // 遍历数组中的每个元素\n return node.map((childNode) => cleanTreeData(childNode))\n } else if (typeof node === 'object' && node !== null) {\n // 处理对象节点\n if (Array.isArray(node.children)) {\n // 只保留 children 数组中的对象类型元素\n node.children = node.children.filter((child) => typeof child === 'object' && child !== null)\n // 递归处理每个子节点\n node.children = cleanTreeData(node.children)\n }\n return node\n }\n // 对于非对象和非数组类型,直接返回\n return node\n }\n\n watch(\n () => data.dragForm,\n () => {\n data.treeAside.treeData = methods.parseRule(deepCopy(data.dragForm.api.rule[0].children), true)\n data.treeAside.treeData = cleanTreeData(data.treeAside.treeData)\n },\n {\n deep: true,\n }\n )\n watch(\n () => data.preview.state,\n function (n) {\n if (!n) {\n nextTick(() => {\n data.preview.rule = data.preview.option = null\n })\n }\n }\n )\n\n let unWatchActiveRule = null\n\n const methods = {\n // 清除所有配置项\n clear(type = 'all') {\n if (type === 'all' || type === 'rule') {\n methods.setRule([])\n }\n if (type === 'all' || type === 'page') {\n methods.setPageConfig({})\n }\n },\n // 获取所有配置项\n get() {\n return {\n rule: methods.getRule(),\n config: methods.getPageConfig(),\n }\n },\n // 设置配置项\n set(value) {\n if (!value) return\n const pageConfig = value.config ? value.config : {}\n methods.setPageConfig(pageConfig)\n methods.setRule(value.rule)\n },\n unWatchActiveRule() {\n unWatchActiveRule && unWatchActiveRule()\n unWatchActiveRule = null\n },\n watchActiveRule() {\n methods.unWatchActiveRule()\n unWatchActiveRule = watch(\n () => data.activeRule,\n function (n) {\n n && methods.updateRuleFormData()\n },\n { deep: true, flush: 'post' }\n )\n },\n makeChildren(children) {\n return reactive({ children }).children\n },\n addMenu(config) {\n if (!config.name || !config.list) return\n let flag = true\n data.menuList.forEach((v, i) => {\n if (v.name === config.name) {\n data.menuList[i] = config\n flag = false\n }\n })\n if (flag) {\n data.menuList.push(config)\n }\n },\n removeMenu(name) {\n ;[...data.menuList].forEach((v, i) => {\n if (v.name === name) {\n data.menuList.splice(i, 1)\n }\n })\n },\n setMenuItem(name, list) {\n data.menuList.forEach((v) => {\n if (v.name === name) {\n v.list = list\n }\n })\n },\n appendMenuItem(name, item) {\n data.menuList.forEach((v) => {\n if (v.name === name) {\n v.list.push(...(Array.isArray(item) ? item : [item]))\n }\n })\n },\n removeMenuItem(item) {\n data.menuList.forEach((v) => {\n let idx\n if (is.String(item)) {\n ;[...v.list].forEach((menu, idx) => {\n if (menu.name === item) {\n v.list.splice(idx, 1)\n }\n })\n } else {\n if ((idx = v.list.indexOf(item)) > -1) {\n v.list.splice(idx, 1)\n }\n }\n })\n },\n addComponent(component) {\n if (Array.isArray(component)) {\n component.forEach((v) => {\n ruleList[v.name] = v\n })\n } else {\n ruleList[component.name] = component\n }\n },\n getParent(rule) {\n let parent = rule.__fc__.parent.rule\n const config = parent.config\n if (config && config.config.inside) {\n rule = parent\n parent = parent.__fc__.parent.rule\n }\n return { root: parent, parent: rule }\n },\n makeDrag(group, tag, children, on) {\n return {\n type: 'DragBox',\n wrap: {\n show: false,\n },\n col: {\n show: false,\n },\n inject: true,\n props: {\n rule: {\n props: {\n tag: 'el-col',\n group: group === true ? 'default' : group,\n ghostClass: 'ghost',\n animation: 150,\n // 拖拽class\n // handle: '._fc-drag-btn',\n emptyInsertThreshold: 0,\n direction: 'vertical',\n itemKey: 'type',\n },\n },\n tag,\n },\n children,\n on,\n }\n },\n\n makeDragRule(children) {\n return methods.makeChildren([\n methods.makeDrag(true, 'draggable', children, {\n add: (inject, evt) => methods.dragAdd(children, evt),\n end: (inject, evt) => methods.dragEnd(children, evt),\n start: (inject, evt) => methods.dragStart(children, evt),\n unchoose: (inject, evt) => methods.dragUnchoose(children, evt),\n }),\n ])\n },\n previewFc() {\n data.preview.state = true\n data.preview.rule = methods.getRule()\n data.preview.option = methods.getOption()\n },\n\n getPageConfig() {\n return data.dkPageForm.options.formData\n },\n setPageConfig(pageConfig) {\n if (!pageConfig || isArray(pageConfig)) {\n pageConfig = {}\n }\n data.dkPageForm.api.coverValue(pageConfig)\n },\n // 显示云端DIY\n showDiyCloud(pageName) {\n console.log('123')\n const diyData = methods.get()\n data.diyCloud.pageName = pageName\n data.diyCloud.show = true\n data.diyCloud.diy_data = diyData\n },\n downCloudConfig(config) {\n methods.set(config)\n data.diyCloud.show = false\n },\n getRule() {\n return methods.parseRule(deepCopy(data.dragForm.api.rule[0].children))\n },\n getJson() {\n return designerForm.toJson(methods.getRule())\n },\n setRule(rules) {\n if (!rules) {\n rules = []\n }\n data.children = methods.makeChildren(\n methods.loadRule(is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules))\n )\n methods.clearActiveRule()\n data.dragForm.rule = methods.makeDragRule(data.children)\n },\n clearActiveRule() {\n data.activeRule = null\n data.activeTab = 'page'\n },\n loadRule(rules) {\n const loadRule = []\n rules.forEach((rule) => {\n if (is.String(rule)) {\n return loadRule.push(rule)\n }\n const config = ruleList[rule._fc_drag_tag] || ruleList[rule.type]\n const _children = rule.children\n rule.children = []\n if (rule.control) {\n rule._control = rule.control\n delete rule.control\n }\n if (config) {\n rule = methods.makeRule(config, rule)\n if (_children) {\n let children = rule.children[0].children\n\n if (config.drag) {\n children = children[0].children\n }\n children.push(...methods.loadRule(_children))\n }\n } else if (_children) {\n rule.children = methods.loadRule(_children)\n }\n loadRule.push(rule)\n })\n return loadRule\n },\n parseRule(children, isTree = false) {\n return [...children].reduce((initial, rule) => {\n if (is.String(rule)) {\n initial.push(rule)\n return initial\n } else if (rule.type === 'DragBox') {\n initial.push(...methods.parseRule(rule.children, isTree))\n return initial\n } else if (rule.type === 'DragTool') {\n rule = rule.children[0]\n if (rule.type === 'DragBox') {\n initial.push(...methods.parseRule(rule.children, isTree))\n return initial\n }\n }\n if (!rule) return initial\n rule = { ...rule }\n if (rule.children && rule.children.length) {\n rule.children = methods.parseRule(rule.children, isTree)\n }\n\n delete rule.key\n delete rule.component\n\n if (!isTree) {\n delete rule._id\n if (rule.config) {\n delete rule.config.config\n }\n }\n if (rule.effect) {\n delete rule.effect._fc\n delete rule.effect._fc_tool\n }\n if (rule._control) {\n rule.control = rule._control\n delete rule._control\n }\n Object.keys(rule)\n .filter(\n (k) =>\n (Array.isArray(rule[k]) && rule[k].length === 0) ||\n (is.Object(rule[k]) && Object.keys(rule[k]).length === 0)\n )\n .forEach((k) => {\n delete rule[k]\n })\n initial.push(rule)\n return initial\n }, [])\n },\n baseChange(field, value, _, fapi) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n methods.unWatchActiveRule()\n data.activeRule[field] = value\n methods.watchActiveRule()\n data.activeRule.config.config?.watch?.['$' + field]?.({\n field,\n value,\n api: fapi,\n rule: data.activeRule,\n })\n }\n },\n dkSettingChange(field, value, _, fapi, flag) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n data.activeRule.setting[field] = value\n }\n },\n propRemoveField(field, _, fapi) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n methods.unWatchActiveRule()\n const org = field\n data.dragForm.api.sync(data.activeRule)\n if (field.indexOf('formCreate') === 0) {\n field = field.replace('formCreate', '')\n if (!field) return\n field = lower(field)\n if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {\n delete data.activeRule.effect[field.split('>')[1]]\n } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {\n delete data.activeRule.props[field.split('>')[1]]\n } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {\n data.activeRule.attrs[field.split('>')[1]] = value\n } else if (field === 'child') {\n delete data.activeRule.children[0]\n } else if (field) {\n data.activeRule[field] = undefined\n }\n } else {\n delete data.activeRule.props[field]\n }\n methods.watchActiveRule()\n data.activeRule.config.config?.watch?.[org]?.({\n field: org,\n value: undefined,\n api: fapi,\n rule: data.activeRule,\n })\n }\n },\n propChange(field, value, _, fapi) {\n if (data.activeRule && fapi[data.activeRule._id] === data.activeRule) {\n methods.unWatchActiveRule()\n const org = field\n if (field.indexOf('formCreate') === 0) {\n field = field.replace('formCreate', '')\n if (!field) return\n field = lower(field)\n if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {\n data.activeRule.effect[field.split('>')[1]] = value\n } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {\n data.activeRule.props[field.split('>')[1]] = value\n } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {\n data.activeRule.attrs[field.split('>')[1]] = value\n } else if (field === 'child') {\n data.activeRule.children[0] = value\n } else {\n data.activeRule[field] = value\n }\n } else {\n data.activeRule.props[field] = value\n }\n methods.watchActiveRule()\n data.activeRule.config.config?.watch?.[org]?.({\n field: org,\n value,\n api: fapi,\n rule: data.activeRule,\n })\n }\n },\n dkPageChange(field, value, _, fapi, flag) {\n data.dkPageForm.options.formData[field] = value\n },\n nodeClick(row) {\n methods.chooseRule(row._id)\n },\n delRule(id, children = null) {\n children = children || data.children\n children.forEach((item) => {\n if (item._id === id) {\n if (item.config.config.inside) {\n item.__fc__.rm()\n vm.emit('delete', item)\n } else {\n const parent = methods.getParent(item)\n vm.emit('delete', parent.root.children[0])\n parent.root.__fc__.rm()\n }\n methods.clearActiveRule()\n } else if (item.children && item.children.length > 0) {\n methods.delRule(id, item.children)\n }\n })\n },\n chooseRule(id, children = null) {\n children = children || data.children\n children.forEach((item) => {\n if (item._id === id) {\n vm.emit('active', item)\n methods.toolActive(item)\n if (item.config.config.inside) {\n fcx.value.active = item.children[0]?.props.unique || null\n } else {\n const p = methods.getParent(item)\n fcx.value.active = p.root?.props?.unique || null\n }\n } else if (item.children && item.children.length > 0) {\n methods.chooseRule(id, item.children)\n }\n })\n },\n toolActive(rule) {\n methods.unWatchActiveRule()\n if (data.activeRule) {\n delete data.propsForm.api[data.activeRule._id]\n delete data.dragForm.api.activeRule\n }\n data.activeRule = rule\n data.dragForm.api.activeRule = rule\n\n nextTick(() => {\n data.activeTab = 'props'\n nextTick(() => {\n data.propsForm.api[data.activeRule._id] = data.activeRule\n data.dkSettingForm.api[data.activeRule._id] = data.activeRule\n })\n })\n if (!data.cacheProps[rule._id]) {\n data.cacheProps[rule._id] = rule.config.config.props(rule)\n }\n data.propsForm.rule = data.cacheProps[rule._id]\n methods.updateRuleFormData()\n methods.watchActiveRule()\n methods.updateShowStyle(rule)\n },\n updateShowStyle(rule) {\n data.showDkSettingRule = rule.showStyle\n if (data.showDkSettingRule) {\n data.dkSettingForm.rule = dkSetting(rule)\n if (Object.values(rule.setting).length > 0) {\n data.dkSettingForm.options.formData = rule.setting\n } else {\n const settingFormData = {}\n dkSetting(rule).forEach((k) => {\n settingFormData[k.field] = k.value\n })\n data.dkSettingForm.options.formData = settingFormData\n }\n }\n },\n updateRuleFormData() {\n const rule = data.activeRule\n const formData = {\n ...rule.props,\n formCreateChild: deepCopy(rule.children[0]),\n }\n Object.keys(rule).forEach((k) => {\n if (['effect', 'config', 'payload', 'id', 'type'].indexOf(k) < 0)\n formData['formCreate' + upper(k)] = deepCopy(rule[k])\n })\n ;['props', 'effect', 'attrs'].forEach((name) => {\n rule[name] &&\n Object.keys(rule[name]).forEach((k) => {\n formData['formCreate' + upper(name) + '>' + k] = deepCopy(rule[name][k])\n })\n })\n // console.log('formData', formData)\n data.propsForm.value = formData\n\n data.showBaseRule =\n hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false)\n if (data.showBaseRule) {\n data.dragForm.api.refreshValidate()\n }\n },\n dragStart(children) {\n data.moveRule = children\n data.added = false\n },\n dragUnchoose(children, evt) {\n data.addRule = {\n children,\n oldIndex: evt.oldIndex,\n }\n },\n dragAdd(children, evt) {\n const newIndex = evt.newIndex\n const menu = evt.item._underlying_vm_\n if (!menu || menu.__fc__) {\n if (data.addRule) {\n const rule = data.addRule.children.splice(data.addRule.oldIndex, 1)\n children.splice(newIndex, 0, rule[0])\n }\n } else {\n const rule = methods.makeRule(ruleList[menu.name])\n const config = rule.children[0].config.config\n const count = config.count ? config.count : 99\n const _count = countObj.value[config.name] ? countObj.value[config.name] : 0\n if (_count >= count) {\n ElNotification({\n title: '警告',\n message: '当前模块只能添加' + config.count + '个',\n type: 'warning',\n })\n return false\n }\n children.splice(newIndex, 0, rule)\n }\n data.added = true\n },\n dragEnd(children, { newIndex, oldIndex }) {\n if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {\n const rule = data.moveRule.splice(oldIndex, 1)\n children.splice(newIndex, 0, rule[0])\n }\n data.moveRule = null\n data.addRule = null\n data.added = false\n // data.dragForm.api.refresh();\n },\n makeRule(config, _rule) {\n const rule = _rule || config.rule()\n rule.config = { config }\n if (config.component) {\n rule.component = markRaw(config.component)\n }\n if (!rule.effect) rule.effect = {}\n rule.effect._fc = true\n rule._fc_drag_tag = config.name\n rule.setting = rule.setting || {}\n let drag\n if (config.drag) {\n rule.children.push(\n (drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {\n end: (inject, evt) => methods.dragEnd(inject.self.children, evt),\n add: (inject, evt) => methods.dragAdd(inject.self.children, evt),\n start: (inject, evt) => methods.dragStart(inject.self.children, evt),\n unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),\n }))\n )\n }\n if (config.children && !_rule) {\n for (let i = 0; i < (config.childrenLen || 1); i++) {\n const child = methods.makeRule(ruleList[config.children])\n ;(drag || rule).children.push(child)\n }\n }\n\n const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false\n if (config.inside) {\n rule.children = methods.makeChildren([\n {\n type: 'DragTool',\n props: {\n dragBtn: config.dragBtn !== false,\n children: config.children,\n mask: dragMask,\n setting: rule.setting,\n },\n effect: {\n _fc_tool: true,\n },\n inject: true,\n on: {\n delete: ({ self }) => {\n const parent = methods.getParent(self).parent\n parent.__fc__.rm()\n vm.emit('delete', parent)\n methods.clearActiveRule()\n },\n create: ({ self }) => {\n const top = methods.getParent(self)\n vm.emit('create', top.parent)\n top.root.children.splice(\n top.root.children.indexOf(top.parent) + 1,\n 0,\n methods.makeRule(top.parent.config.config)\n )\n },\n addChild: ({ self }) => {\n const top = methods.getParent(self)\n const config = top.parent.config.config\n const item = ruleList[config.children]\n if (!item) return\n ;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(\n methods.makeRule(item)\n )\n },\n copy: ({ self }) => {\n const top = methods.getParent(self)\n vm.emit('copy', top.parent)\n top.root.children.splice(\n top.root.children.indexOf(top.parent) + 1,\n 0,\n designerForm.copyRule(top.parent)\n )\n },\n active: ({ self }) => {\n const top = methods.getParent(self)\n vm.emit('active', top.parent)\n methods.toolActive(top.parent)\n },\n },\n children: rule.children,\n },\n ])\n return rule\n } else {\n return {\n type: 'DragTool',\n props: {\n dragBtn: config.dragBtn !== false,\n children: config.children,\n mask: dragMask,\n setting: rule.setting,\n },\n effect: {\n _fc_tool: true,\n },\n inject: true,\n on: {\n delete: ({ self }) => {\n vm.emit('delete', self.children[0])\n self.__fc__.rm()\n methods.clearActiveRule()\n },\n create: ({ self }) => {\n vm.emit('create', self.children[0])\n const top = methods.getParent(self)\n top.root.children.splice(\n top.root.children.indexOf(top.parent) + 1,\n 0,\n methods.makeRule(self.children[0].config.config)\n )\n },\n addChild: ({ self }) => {\n const config = self.children[0].config.config\n const item = ruleList[config.children]\n if (!item) return\n ;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item))\n },\n copy: ({ self }) => {\n vm.emit('copy', self.children[0])\n const top = methods.getParent(self)\n const copyRule = designerForm.copyRule(top.parent)\n // 解决复制后,组件的setting配置失效\n copyRule.props.setting = copyRule.children[0].setting\n top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule)\n },\n active: ({ self }) => {\n vm.emit('active', self.children[0])\n methods.toolActive(self.children[0])\n },\n },\n children: methods.makeChildren([rule]),\n }\n }\n },\n // 滑动改变尺寸\n onResizerMouseDown(name, e) {\n data.isDragging = true\n data.startValue = e.clientX\n data.dragName = name\n if (name === 'left') {\n // 获取._fc-l的宽度\n data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth\n }\n if (name === 'right') {\n data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth\n }\n document.body.style.cursor = 'ew-resize'\n if (name === 'tree') {\n data.startValue = e.clientY\n data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight\n console.log('data.startValue', data.startValue)\n console.log('data.asideValue', data.asideValue)\n document.body.style.cursor = 'n-resize'\n }\n data.trackMouseBound = methods.onResizerMouseMove.bind(e)\n data.stopChangeBound = methods.onResizerMouseUp.bind(e)\n document.addEventListener('mousemove', data.trackMouseBound)\n document.addEventListener('mouseup', data.stopChangeBound)\n },\n onResizerMouseUp() {\n document.removeEventListener('mousemove', data.trackMouseBound)\n document.removeEventListener('mouseup', data.stopChangeBound)\n document.body.style.cursor = 'default'\n data.isDragging = false\n data.dragName = ''\n },\n onResizerMouseMove(e) {\n if (data.isDragging) {\n // 获取鼠标位置\n if (data.dragName === 'left') {\n let width = e.clientX - data.startValue + data.asideValue\n if (width > 455) {\n width = 455\n }\n if (width < 200) {\n width = 200\n }\n data.leftAside.style.width = width + 'px'\n }\n if (data.dragName === 'right') {\n let width = data.startValue - e.clientX + data.asideValue\n if (width > 800) {\n width = 800\n }\n if (width < 300) {\n width = 300\n }\n data.rightAside.style.width = width + 'px'\n }\n\n if (data.dragName === 'tree') {\n let height = data.startValue - e.clientY + data.asideValue\n if (height > 800) {\n height = 800\n }\n if (height < 30) {\n height = 30\n }\n data.treeAside.style.height = height + 'px'\n }\n }\n },\n hideAside(name) {\n if (name === 'left') {\n if (data.leftAside.hide) {\n data.leftAside.hide = false\n delete data.leftAside.style.minWidth\n delete data.leftAside.style.maxWidth\n } else {\n data.leftAside.hide = true\n data.leftAside.style.minWidth = '0px'\n data.leftAside.style.maxWidth = '0px'\n }\n } else if (name === 'right') {\n if (data.rightAside.hide) {\n data.rightAside.hide = false\n delete data.rightAside.style.minWidth\n delete data.rightAside.style.maxWidth\n } else {\n data.rightAside.hide = true\n data.rightAside.style.minWidth = '0px'\n data.rightAside.style.maxWidth = '0px'\n }\n } else if (name === 'tree') {\n if (data.treeAside.hide) {\n data.treeAside.hide = false\n const height = data.treeAside.style.height\n data.treeAside.style = { height }\n } else {\n data.treeAside.hide = true\n data.treeAside.style.minHeight = '30px'\n data.treeAside.style.maxHeight = '30px'\n }\n }\n },\n allowDrop(draggingNode, dropNode, type) {\n // console.log('draggingNode', draggingNode.data.config.config.inside)\n\n const draggingRule = draggingNode.data.config.config\n const dropRule = dropNode.data.config.config\n // 内部元素放到指定的外部才可以放置\n if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {\n return true\n }\n // 同样父级\n if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {\n return true\n }\n\n if (type !== 'inner' && !draggingRule.inside && !dropRule.inside) {\n return true\n }\n\n if (type === 'inner' && !draggingRule.inside && dropRule.inside) {\n // console.log(draggingRule, dropRule)\n return true\n }\n\n return false\n },\n allowDrag(draggingNode) {\n console.log('allowDrag', draggingNode)\n if (draggingNode.data.type === 'DragTool') {\n return true\n }\n },\n nodeDrop(node, dropNode, type, event) {\n // 拖拽成功完成时触发的事件\n methods.setRule(data.treeAside.treeData)\n },\n }\n data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children))\n return {\n ...toRefs(data),\n ...methods,\n countObj,\n diyTree,\n }\n },\n created() {\n document.body.ondrop = (e) => {\n e.preventDefault()\n e.stopPropagation()\n }\n },\n})\n</script>\n"],"names":["webViews","minViews","_createElementVNode","_createBlock","_createCommentVNode","_createVNode","_normalizeStyle","_openBlock","_createElementBlock","_Fragment","_renderList","_toDisplayString","_withCtx","_normalizeClass","_withModifiers","_renderSlot","_vShow"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAiMA,YAAY,CAAC,QAAQ,CAAC;EACpB,IAAI,EAAE,MAAM;AACZ,EAAA,IAAI,CAAC,EAAE,KAAI,EAAG,EAAE,IAAI,EAAE;AACpB;AACA,IAAA,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;MACnB,KAAM,GAAE,CAAC,KAAK,EAAA;AAChB,KAAA;IACA,IAAI,CAAC,MAAK,GAAI;AACZ,MAAA,IAAI,EAAE,GAAG;AACT,MAAA,QAAQ,EAAE,KAAK;AACf,MAAA,KAAK,EAAE,WAAW;AACpB,MAAA;GACD;AACH,CAAC,EAAA;;AAED,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,WAAW;EACjB,UAAU,EAAE;AACV,IAAA,QAAQ;AACR,IAAA,SAAS;IACT,YAAY;IACZ,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE;GAC/B;AACD,EAAA,KAAK,EAAE,YAAY;EACnB,KAAK,CAAC,KAAK,EAAE;AACX,IAAA,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAK,KAAM,MAAM,CAAC,KAAK,EAAA;IACnD,MAAM,KAAK,kBAAkB,GAAC;IAC9B,MAAM,GAAI,GAAE,GAAG,CAAC,EAAE,MAAM,EAAE,IAAG,EAAG,EAAA;AAChC,IAAA,OAAO,CAAC,KAAK,EAAE,GAAG,EAAA;AAClB,IAAA,OAAO,CAAC,KAAK,EAAE,EAAE,EAAA;AACjB,IAAA,MAAM,MAAO,GAAE,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAA;AACxC;IACA,MAAM,QAAO,GAAI,KAAK,CAAC,IAAK,KAAI,KAAI,GAAI,WAAU,GAAI,YAAU;IAChE,MAAM,UAAW,GAAE,KAA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ADrBF,WAKE,CAAA,oBAAA,EAAA;;gBAHC,WAAS,EAAE,IAAQ,CAAA,QAAA,CAAC,QAAQ;gBAC5B,UAAQ,EAAE,IAAQ,CAAA,QAAA,CAAC,QAAQ;AAC3B,gBAAA,QAAM,EAAE,IAAe,CAAA,eAAA;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ .diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}