epic-designer-gold 1.0.5 → 1.0.7

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.
Files changed (158) hide show
  1. package/dist/ETable-adkZzXhI.cjs +1 -0
  2. package/dist/ETable-ogvH56w7.js +50 -0
  3. package/dist/ETd-BCM7zA8V.cjs +1 -0
  4. package/dist/{row-DAy14ve9.js → ETd-CRUvOVnZ.js} +13 -13
  5. package/dist/ETr-BqGghav2.cjs +1 -0
  6. package/dist/ETr-nIjGkdzO.js +43 -0
  7. package/dist/attributeView-BCjRZKcy.cjs +1 -0
  8. package/dist/{attributeView-Cu_tjo9A.js → attributeView-CcnkUeu9.js} +7 -7
  9. package/dist/axios-CXDYiOMX.js +1704 -0
  10. package/dist/axios-tuVKNgv9.cjs +6 -0
  11. package/dist/card-C9ua0f7r.cjs +1 -0
  12. package/dist/card-CI6L3YKU.js +33 -0
  13. package/dist/cell-AML-qIH9.cjs +1 -0
  14. package/dist/cell-B_q5hgzb.js +35 -0
  15. package/dist/col-C4lVVBzC.cjs +1 -0
  16. package/dist/col-DcVPBKEc.js +31 -0
  17. package/dist/core/components/builder/src/builder.vue.d.ts +2 -2
  18. package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
  19. package/dist/core/components/node/src/node.vue.d.ts +3 -2
  20. package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +10 -0
  21. package/dist/core/extensions/EColumnEditor/index.vue.d.ts +18 -0
  22. package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +10 -0
  23. package/dist/eventView-5fa6mfSD.cjs +1 -0
  24. package/dist/eventView-C2wKhfU_.js +63 -0
  25. package/dist/{form-CthzLIgs.cjs → form-Bofkrmkd.cjs} +1 -1
  26. package/dist/{form-6cUK-Ari.js → form-VbfBmb63.js} +5 -5
  27. package/dist/iframe-CRF3GSRv.cjs +1 -0
  28. package/dist/iframe-Fgbk3vqJ.js +48 -0
  29. package/dist/index-0WmqAKuy.js +4 -0
  30. package/dist/index-5yjG3fiB.cjs +1 -0
  31. package/dist/{index-DxNdcsD-.js → index-B0OgKtuT.js} +105 -100
  32. package/dist/{index-Dg7MK40D.js → index-B1s67XDZ.js} +17 -17
  33. package/dist/index-BEUYVwRA.cjs +1 -0
  34. package/dist/{index-DeFAvWuV.cjs → index-BHEw6RsQ.cjs} +1 -1
  35. package/dist/index-BHZbtFEF.cjs +1 -0
  36. package/dist/index-BU05X44j.cjs +1 -0
  37. package/dist/index-BY37Ndo7.cjs +10 -0
  38. package/dist/index-BoL2PSBk.cjs +1 -0
  39. package/dist/index-BvfkMKTv.cjs +1 -0
  40. package/dist/{index-BLJT8e0Q.js → index-BvvGezNc.js} +4 -4
  41. package/dist/{index-CHCOxt3B.js → index-BydHABbW.js} +3 -3
  42. package/dist/index-C2s4IuAR.cjs +1 -0
  43. package/dist/index-CCCx1tbF.cjs +1 -0
  44. package/dist/index-CD00bJyK.js +839 -0
  45. package/dist/{index-Bybwt7-u.js → index-CG0UEELU.js} +1 -1
  46. package/dist/index-CdnV7DS4.js +265 -0
  47. package/dist/{index-D0kQz_zt.js → index-Cln9MN7u.js} +1 -1
  48. package/dist/index-CpBfljmg.cjs +1 -0
  49. package/dist/{index-CMbBKMQU.js → index-CpTA2IRB.js} +2 -2
  50. package/dist/index-CpevxZqj.cjs +1 -0
  51. package/dist/index-CraRg8wh.js +107 -0
  52. package/dist/{index-CEDIwmNK.js → index-Cx7gKpkD.js} +2 -2
  53. package/dist/index-DYQi05p8.cjs +1 -0
  54. package/dist/{index-CjIIhZdV.js → index-E8jDNKrc.js} +3 -3
  55. package/dist/index-FgdbKgb5.cjs +1 -0
  56. package/dist/index-GIYb626z.js +1422 -0
  57. package/dist/{index-CgwN4ucQ.js → index-IGxCNti8.js} +48 -28
  58. package/dist/{index-CqeRfqUw.cjs → index-IPz4bbk7.cjs} +1 -1
  59. package/dist/index-R2r9Rw5O.cjs +1 -0
  60. package/dist/index-WkZdU_zw.js +47 -0
  61. package/dist/index-v2u1WTMm.cjs +1 -0
  62. package/dist/index-vCJWgHu-.js +142 -0
  63. package/dist/index.cjs +1 -1
  64. package/dist/index.js +2 -2
  65. package/dist/locale/lang/en-US.d.ts +2 -0
  66. package/dist/locale/lang/zh-cn.d.ts +2 -0
  67. package/dist/modal-DCBqsiP2.cjs +1 -0
  68. package/dist/modal-DZRBS-Mt.js +58 -0
  69. package/dist/outline-BE98qFHQ.cjs +1 -0
  70. package/dist/{outline-DxCKINRN.js → outline-Ch5PHy3c.js} +2 -2
  71. package/dist/pluginManager-BCnrHPYv.js +660 -0
  72. package/dist/pluginManager-DWHAX8kP.cjs +1 -0
  73. package/dist/sign-BS-9u6is.cjs +1 -0
  74. package/dist/{sign-B-FCN_7O.js → sign-l63EYvVo.js} +61 -56
  75. package/dist/style.css +1 -1
  76. package/dist/styleView-Dhj1GDqf.js +140 -0
  77. package/dist/styleView-DocskQJQ.cjs +1 -0
  78. package/dist/tabPanel-CXZYMEwi.cjs +1 -0
  79. package/dist/{col-D4hvKfJ6.js → tabPanel-DAw7ENrC.js} +7 -7
  80. package/dist/table-75K2lqjD.js +65 -0
  81. package/dist/table-CN2LNWqY.cjs +1 -0
  82. package/dist/tabs-CYH9lAUk.cjs +1 -0
  83. package/dist/tabs-DCyifACM.js +41 -0
  84. package/dist/text-B92ioaoV.cjs +1 -0
  85. package/dist/text-C-b94tBH.js +47 -0
  86. package/dist/tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js +243 -0
  87. package/dist/tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs +1 -0
  88. package/dist/ui/elementPlus/ETable/ETable.d.ts +20 -0
  89. package/dist/ui/elementPlus/ETd/ETd.d.ts +20 -0
  90. package/dist/ui/elementPlus/ETr/ETr.d.ts +20 -0
  91. package/dist/ui/elementPlus/ETr/index.d.ts +3 -0
  92. package/dist/ui/elementPlus/iframe/iframe.d.ts +29 -0
  93. package/dist/ui/elementPlus/iframe/index.d.ts +3 -0
  94. package/dist/ui/elementPlus/index.cjs +1 -1
  95. package/dist/ui/elementPlus/index.js +904 -403
  96. package/dist/ui/elementPlus/rate/index.d.ts +3 -0
  97. package/dist/ui/elementPlus/tab-panel/index.d.ts +3 -0
  98. package/dist/ui/elementPlus/table/table.d.ts +9 -0
  99. package/dist/ui/elementPlus/table-cell/index.d.ts +3 -0
  100. package/dist/ui/elementPlus/tabs/index.d.ts +2 -0
  101. package/dist/ui/elementPlus/tabs/tabs.d.ts +29 -0
  102. package/dist/ui/elementPlus/text/text.d.ts +9 -0
  103. package/dist/ui/naiveUi/index.cjs +1 -1
  104. package/dist/ui/naiveUi/index.js +1 -1
  105. package/dist/uploadFile-pgvj4Lm9.cjs +1 -0
  106. package/dist/uploadFile-qCbXuHfd.js +81 -0
  107. package/dist/uploadImage-B3sOX-5F.cjs +1 -0
  108. package/dist/{uploadImage-CF7fobUP.cjs → uploadImage-CNMsK4Lh.cjs} +1 -1
  109. package/dist/uploadImage-DQmVV0jl.js +121 -0
  110. package/dist/{uploadImage-COCC3pxH.js → uploadImage-VFICaVgX.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/attributeView-B2dWB_U2.cjs +0 -1
  113. package/dist/axios-B8aFvCWj.cjs +0 -6
  114. package/dist/axios-Bb3STC1u.js +0 -2362
  115. package/dist/card-BowzD9vN.cjs +0 -1
  116. package/dist/card-CNGNDzPp.js +0 -31
  117. package/dist/col-B1GUMkMK.cjs +0 -1
  118. package/dist/col-BNNn9Yx8.cjs +0 -1
  119. package/dist/col-u5YiB-UK.js +0 -41
  120. package/dist/index-21c4Pe3i.cjs +0 -1
  121. package/dist/index-B553TaXm.js +0 -44
  122. package/dist/index-BULuVnVl.js +0 -1359
  123. package/dist/index-BV9SE7wG.cjs +0 -1
  124. package/dist/index-BhcwWM1G.cjs +0 -1
  125. package/dist/index-Bn8pwpgq.cjs +0 -1
  126. package/dist/index-Bxi3JLms.cjs +0 -1
  127. package/dist/index-CEvDmc0a.js +0 -104
  128. package/dist/index-CI3dhGXT.cjs +0 -1
  129. package/dist/index-CYAKMqdR.cjs +0 -1
  130. package/dist/index-Cq6eLpKZ.cjs +0 -1
  131. package/dist/index-CrV5FaWU.cjs +0 -10
  132. package/dist/index-DR80h8IU.js +0 -4
  133. package/dist/index-DUMEtCCN.cjs +0 -1
  134. package/dist/index-DddTXMY9.cjs +0 -1
  135. package/dist/index-DeZ09CHf.cjs +0 -1
  136. package/dist/index-DzxQG0o7.cjs +0 -1
  137. package/dist/index-VblxMq6V.js +0 -742
  138. package/dist/modal-BLOgN3us.cjs +0 -1
  139. package/dist/modal-UFu4bD6x.js +0 -57
  140. package/dist/outline-CK-jNomF.cjs +0 -1
  141. package/dist/row-BWnbt6dh.cjs +0 -1
  142. package/dist/sign-Dho4kHTC.cjs +0 -1
  143. package/dist/styleView-CRUqDcCl.cjs +0 -1
  144. package/dist/styleView-ClMjCfMk.js +0 -106
  145. package/dist/table-CnBJm7Bx.js +0 -43
  146. package/dist/table-DM2-xHlv.cjs +0 -1
  147. package/dist/text-C-52xLjs.js +0 -33
  148. package/dist/text-X9fl5oe8.cjs +0 -1
  149. package/dist/tree.vue_vue_type_script_setup_true_lang-B9rWLveX.js +0 -242
  150. package/dist/tree.vue_vue_type_script_setup_true_lang-DDDqMedP.cjs +0 -1
  151. package/dist/uploadFile-Bc5Rxk0b.js +0 -77
  152. package/dist/uploadFile-oB2-NP-v.cjs +0 -1
  153. package/dist/uploadImage-4tgp3t7X.cjs +0 -1
  154. package/dist/uploadImage-CGXm3zNQ.js +0 -96
  155. /package/dist/ui/elementPlus/{table-col → ETable}/index.d.ts +0 -0
  156. /package/dist/ui/elementPlus/{table-row → ETd}/index.d.ts +0 -0
  157. /package/dist/ui/elementPlus/{table-col/col.d.ts → tab-panel/tabPanel.d.ts} +0 -0
  158. /package/dist/ui/elementPlus/{table-row/row.d.ts → table-cell/cell.d.ts} +0 -0
@@ -0,0 +1,140 @@
1
+ import { defineComponent as k, inject as a, computed as _, openBlock as p, createElementBlock as s, Fragment as S, renderList as C, createElementVNode as i, normalizeClass as V, toDisplayString as w, createCommentVNode as u, createVNode as E, unref as y, nextTick as N } from "vue";
2
+ import { _ as z } from "./index-GIYb626z.js";
3
+ import { i as B, s as f } from "./pluginManager-BCnrHPYv.js";
4
+ import { u as I } from "./index-B1s67XDZ.js";
5
+ const x = ["title"], F = { class: "epic-attr-input" }, M = /* @__PURE__ */ k({
6
+ __name: "styleView",
7
+ setup(L) {
8
+ const { t: l } = I(), h = a("designer"), m = a("pageSchema"), P = a("revoke"), c = [
9
+ {
10
+ label: l("width"),
11
+ type: "EInputSize",
12
+ field: "componentProps.style.width"
13
+ },
14
+ {
15
+ label: l("height"),
16
+ type: "EInputSize",
17
+ field: "componentProps.style.height"
18
+ },
19
+ // {
20
+ // label: t("padding"),
21
+ // type: "EInputSize",
22
+ // field: "componentProps.style.padding",
23
+ // },
24
+ // {
25
+ // label: t("margin"),
26
+ // type: "EInputSize",
27
+ // field: "componentProps.style.margin",
28
+ // },
29
+ {
30
+ label: "行高",
31
+ type: "EInputSize",
32
+ field: "componentProps.style.lineHeight",
33
+ componentProps: {
34
+ type: "border",
35
+ style: {}
36
+ }
37
+ },
38
+ {
39
+ label: l("backgroundColor"),
40
+ type: "color-picker",
41
+ field: "componentProps.style.backgroundColor",
42
+ componentProps: {
43
+ type: "color",
44
+ style: {
45
+ // width: '60px'
46
+ }
47
+ }
48
+ },
49
+ {
50
+ label: l("fontColor"),
51
+ type: "color-picker",
52
+ field: "componentProps.style.color",
53
+ componentProps: {
54
+ type: "color",
55
+ style: {}
56
+ }
57
+ },
58
+ {
59
+ label: "边框",
60
+ type: "input",
61
+ field: "componentProps.style.border",
62
+ componentProps: {
63
+ type: "border",
64
+ placeholder: "请输入",
65
+ style: {}
66
+ }
67
+ },
68
+ {
69
+ label: "字体粗细",
70
+ type: "input",
71
+ field: "componentProps.style.fontWeight",
72
+ componentProps: {
73
+ type: "border",
74
+ placeholder: "请输入",
75
+ style: {}
76
+ }
77
+ },
78
+ {
79
+ label: "",
80
+ type: "PaddingMarginControl",
81
+ field: "componentProps.style"
82
+ }
83
+ ], r = _(() => h.state.checkedNode);
84
+ function b(o) {
85
+ var t;
86
+ return typeof o.show == "boolean" ? o.show : ((t = o.show) == null ? void 0 : t.call(o, { values: r.value })) ?? !0;
87
+ }
88
+ function g(o, t, n, e = r.value) {
89
+ typeof n.onChange == "function" && n.onChange({ value: o, values: e, componentStyles: c }), n.changeSync ? f(e, t, o) : N(() => {
90
+ f(e, t, o);
91
+ }), P.push(m.schemas, l("editComponentProperties"));
92
+ }
93
+ return (o, t) => {
94
+ var n;
95
+ return p(), s("div", {
96
+ class: "epic-style-view",
97
+ key: (n = r.value) == null ? void 0 : n.id
98
+ }, [
99
+ (p(), s(S, null, C(c, (e) => {
100
+ var d;
101
+ return i("div", {
102
+ key: e.field
103
+ }, [
104
+ b(e) ? (p(), s("div", {
105
+ key: 0,
106
+ class: V(["epic-attr-item", e.layout])
107
+ }, [
108
+ e.label ? (p(), s("div", {
109
+ key: 0,
110
+ class: "epic-attr-label",
111
+ title: e.label
112
+ }, w(e.label), 9, x)) : u("", !0),
113
+ i("div", F, [
114
+ E(y(z), {
115
+ componentSchema: {
116
+ ...e,
117
+ componentProps: {
118
+ ...e.componentProps,
119
+ ...e.field === "componentProps.defaultValue" ? (d = r.value) == null ? void 0 : d.componentProps : {},
120
+ input: !1,
121
+ field: void 0,
122
+ hidden: !1
123
+ },
124
+ show: !0,
125
+ noFormItem: !0
126
+ },
127
+ "model-value": y(B)(e.editData ?? r.value, e.field),
128
+ "onUpdate:modelValue": (v) => g(v, e.field, e, e.editData)
129
+ }, null, 8, ["componentSchema", "model-value", "onUpdate:modelValue"])
130
+ ])
131
+ ], 2)) : u("", !0)
132
+ ]);
133
+ }), 64))
134
+ ]);
135
+ };
136
+ }
137
+ });
138
+ export {
139
+ M as default
140
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./index-BY37Ndo7.cjs"),p=require("./pluginManager-DWHAX8kP.cjs"),P=require("./index-BoL2PSBk.cjs"),g=["title"],b={class:"epic-attr-input"},k=e.defineComponent({__name:"styleView",setup(v){const{t:r}=P.useLocale(),d=e.inject("designer"),i=e.inject("pageSchema"),u=e.inject("revoke"),s=[{label:r("width"),type:"EInputSize",field:"componentProps.style.width"},{label:r("height"),type:"EInputSize",field:"componentProps.style.height"},{label:"行高",type:"EInputSize",field:"componentProps.style.lineHeight",componentProps:{type:"border",style:{}}},{label:r("backgroundColor"),type:"color-picker",field:"componentProps.style.backgroundColor",componentProps:{type:"color",style:{}}},{label:r("fontColor"),type:"color-picker",field:"componentProps.style.color",componentProps:{type:"color",style:{}}},{label:"边框",type:"input",field:"componentProps.style.border",componentProps:{type:"border",placeholder:"请输入",style:{}}},{label:"字体粗细",type:"input",field:"componentProps.style.fontWeight",componentProps:{type:"border",placeholder:"请输入",style:{}}},{label:"",type:"PaddingMarginControl",field:"componentProps.style"}],c=e.computed(()=>d.state.checkedNode);function y(t){var n;return typeof t.show=="boolean"?t.show:((n=t.show)==null?void 0:n.call(t,{values:c.value}))??!0}function h(t,n,l,o=c.value){typeof l.onChange=="function"&&l.onChange({value:t,values:o,componentStyles:s}),l.changeSync?p.setValueByPath(o,n,t):e.nextTick(()=>{p.setValueByPath(o,n,t)}),u.push(i.schemas,r("editComponentProperties"))}return(t,n)=>{var l;return e.openBlock(),e.createElementBlock("div",{class:"epic-style-view",key:(l=c.value)==null?void 0:l.id},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,o=>{var a;return e.createElementVNode("div",{key:o.field},[y(o)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["epic-attr-item",o.layout])},[o.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:"epic-attr-label",title:o.label},e.toDisplayString(o.label),9,g)):e.createCommentVNode("",!0),e.createElementVNode("div",b,[e.createVNode(e.unref(m._sfc_main),{componentSchema:{...o,componentProps:{...o.componentProps,...o.field==="componentProps.defaultValue"?(a=c.value)==null?void 0:a.componentProps:{},input:!1,field:void 0,hidden:!1},show:!0,noFormItem:!0},"model-value":e.unref(p.getValueByPath)(o.editData??c.value,o.field),"onUpdate:modelValue":f=>h(f,o.field,o,o.editData)},null,8,["componentSchema","model-value","onUpdate:modelValue"])])],2)):e.createCommentVNode("",!0)])}),64))])}}});exports.default=k;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),d=e.defineComponent({props:{componentSchema:{type:Object,required:!0,default:()=>({})}},setup(n,{attrs:u,slots:o}){return()=>{var r;const t={...n.componentSchema,title:(r=n.componentSchema)==null?void 0:r.label},c=t.children??[];return delete t.children,e.h(a.ElTabPane,t,{default:()=>e.renderSlot(o,"edit-node",{},()=>c.map(l=>e.renderSlot(o,"node",{componentSchema:l})))})}}});exports.default=d;
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, h as l, renderSlot as c } from "vue";
2
- import { ElCol as a } from "element-plus";
3
- const u = d({
1
+ import { defineComponent as m, h as d, renderSlot as r } from "vue";
2
+ import { ElTabPane as l } from "element-plus";
3
+ const u = m({
4
4
  props: {
5
5
  componentSchema: {
6
6
  type: Object,
@@ -14,13 +14,13 @@ const u = d({
14
14
  const e = {
15
15
  ...t.componentSchema,
16
16
  title: (o = t.componentSchema) == null ? void 0 : o.label
17
- }, r = e.children ?? [];
18
- return delete e.children, l(a, e, {
19
- default: () => c(
17
+ }, c = e.children ?? [];
18
+ return delete e.children, d(l, e, {
19
+ default: () => r(
20
20
  n,
21
21
  "edit-node",
22
22
  {},
23
- () => r.map((m) => c(n, "node", { componentSchema: m }))
23
+ () => c.map((a) => r(n, "node", { componentSchema: a }))
24
24
  )
25
25
  });
26
26
  };
@@ -0,0 +1,65 @@
1
+ import { defineComponent as s, h as f, renderSlot as i } from "vue";
2
+ import { ElTable as S } from "element-plus";
3
+ const y = s({
4
+ props: {
5
+ componentSchema: {
6
+ type: Object,
7
+ require: !0,
8
+ default: () => ({})
9
+ },
10
+ modelValue: {
11
+ type: Array,
12
+ default: () => []
13
+ }
14
+ },
15
+ setup(n, { slots: c }) {
16
+ return () => {
17
+ var u;
18
+ const a = {
19
+ ...n.componentSchema,
20
+ title: ((u = n.componentSchema) == null ? void 0 : u.label) ?? "",
21
+ border: !0
22
+ }, p = a.children.map((l) => {
23
+ var r, e, t, o;
24
+ return l.isDesign = (e = (r = n.componentSchema) == null ? void 0 : r.componentProps) == null ? void 0 : e.isDesign, l.align = (o = (t = n.componentSchema) == null ? void 0 : t.componentProps) == null ? void 0 : o.align, l;
25
+ });
26
+ delete a.children, a.data = n.modelValue && n.modelValue.length ? n.modelValue : [
27
+ {
28
+ id: "1"
29
+ }
30
+ ];
31
+ function h({ row: l, column: r, rowIndex: e }) {
32
+ const t = a.data, o = r.property;
33
+ if (e === 0 || t[e][o] !== t[e - 1][o]) {
34
+ let d = 1;
35
+ for (let m = e + 1; m < t.length && t[m][o] === t[e][o]; m++)
36
+ d++;
37
+ return [d, 1];
38
+ }
39
+ return [0, 0];
40
+ }
41
+ return f(
42
+ S,
43
+ {
44
+ ...a,
45
+ "span-method": a.componentProps.isMerge ? h : null
46
+ },
47
+ {
48
+ default: () => [
49
+ i(
50
+ c,
51
+ "edit-node",
52
+ {},
53
+ () => p.map(
54
+ (l) => i(c, "node", { componentSchema: l })
55
+ )
56
+ )
57
+ ]
58
+ }
59
+ );
60
+ };
61
+ }
62
+ });
63
+ export {
64
+ y as default
65
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),h=require("element-plus"),S=c.defineComponent({props:{componentSchema:{type:Object,require:!0,default:()=>({})},modelValue:{type:Array,default:()=>[]}},setup(n,{slots:m}){return()=>{var d;const l={...n.componentSchema,title:((d=n.componentSchema)==null?void 0:d.label)??"",border:!0},p=l.children.map(a=>{var r,e,t,o;return a.isDesign=(e=(r=n.componentSchema)==null?void 0:r.componentProps)==null?void 0:e.isDesign,a.align=(o=(t=n.componentSchema)==null?void 0:t.componentProps)==null?void 0:o.align,a});delete l.children,l.data=n.modelValue&&n.modelValue.length?n.modelValue:[{id:"1"}];function s({row:a,column:r,rowIndex:e}){const t=l.data,o=r.property;if(e===0||t[e][o]!==t[e-1][o]){let i=1;for(let u=e+1;u<t.length&&t[u][o]===t[e][o];u++)i++;return[i,1]}return[0,0]}return c.h(h.ElTable,{...l,"span-method":l.componentProps.isMerge?s:null},{default:()=>[c.renderSlot(m,"edit-node",{},()=>p.map(a=>c.renderSlot(m,"node",{componentSchema:a})))]})}}});exports.default=S;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),i=require("element-plus"),c=require("./pluginManager-DWHAX8kP.cjs"),o=n.defineComponent({props:{componentSchema:{type:Object,require:!0,default:()=>({})},modelValue:{type:Array,default:()=>[]}},setup(t,{slots:d}){return()=>{var l;const a={...t.componentSchema,title:((l=t.componentSchema)==null?void 0:l.label)??""};let r=[];return t.modelValue&&t.modelValue.length?r=t.modelValue.map(e=>(e.type="tab-panel",e.id=e.id?e.id:"tab-panel_"+c.getUUID(),e.children=e.children??[],e)):r=a.children.map(e=>(e.type="tab-panel",e.id=e.id?e.id:"tab-panel_"+c.getUUID(),e.children=e.children??[],e)),delete a.children,n.h(i.ElTabs,a,{default:()=>[n.renderSlot(d,"edit-node",{},()=>r.map(e=>n.renderSlot(d,"node",{componentSchema:e})))]})}}});exports.default=o;
@@ -0,0 +1,41 @@
1
+ import { defineComponent as i, h as c, renderSlot as m } from "vue";
2
+ import { ElTabs as l } from "element-plus";
3
+ import { g as o } from "./pluginManager-BCnrHPYv.js";
4
+ const f = i({
5
+ props: {
6
+ componentSchema: {
7
+ type: Object,
8
+ require: !0,
9
+ default: () => ({})
10
+ },
11
+ modelValue: {
12
+ type: Array,
13
+ default: () => []
14
+ }
15
+ },
16
+ setup(t, { slots: d }) {
17
+ return () => {
18
+ var r;
19
+ const n = {
20
+ ...t.componentSchema,
21
+ title: ((r = t.componentSchema) == null ? void 0 : r.label) ?? ""
22
+ };
23
+ let a = [];
24
+ return t.modelValue && t.modelValue.length ? a = t.modelValue.map((e) => (e.type = "tab-panel", e.id = e.id ? e.id : "tab-panel_" + o(), e.children = e.children ?? [], e)) : a = n.children.map((e) => (e.type = "tab-panel", e.id = e.id ? e.id : "tab-panel_" + o(), e.children = e.children ?? [], e)), delete n.children, c(l, n, {
25
+ default: () => [
26
+ m(
27
+ d,
28
+ "edit-node",
29
+ {},
30
+ () => a.map(
31
+ (e) => m(d, "node", { componentSchema: e })
32
+ )
33
+ )
34
+ ]
35
+ });
36
+ };
37
+ }
38
+ });
39
+ export {
40
+ f as default
41
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),d=require("element-plus"),p=s.defineComponent({props:{componentSchema:{type:Object,required:!0,default:()=>({})},modelValue:{type:String,default:()=>""}},setup(t,{attrs:f,slots:a}){return()=>{var n,i;const e={...t.componentSchema};delete e.children;function u(){var l,o,r;(l=e==null?void 0:e.componentProps)!=null&&l.isLink&&((o=e==null?void 0:e.componentProps)!=null&&o.link?window.open((r=e==null?void 0:e.componentProps)==null?void 0:r.link,"blank"):d.ElMessage.warning("链接地址为空,无法跳转"))}return s.h("div",{...e,...e.componentProps,onClick:u,class:(n=e==null?void 0:e.componentProps)!=null&&n.dynamic?"gold-text-link":"",style:{textAlign:e.position,fontSize:e.fontSize+"px"}},(i=e==null?void 0:e.componentProps)!=null&&i.dynamic?t.modelValue:e.label)}}});exports.default=p;
@@ -0,0 +1,47 @@
1
+ import { defineComponent as p, h as d } from "vue";
2
+ import { ElMessage as f } from "element-plus";
3
+ const g = p({
4
+ props: {
5
+ componentSchema: {
6
+ type: Object,
7
+ required: !0,
8
+ default: () => ({})
9
+ },
10
+ modelValue: {
11
+ type: String,
12
+ default: () => ""
13
+ }
14
+ },
15
+ setup(e, { attrs: u, slots: k }) {
16
+ return () => {
17
+ var i, n;
18
+ const t = {
19
+ ...e.componentSchema
20
+ // header: props.componentSchema?.label ?? "",
21
+ };
22
+ delete t.children;
23
+ function s() {
24
+ var o, l, r;
25
+ (o = t == null ? void 0 : t.componentProps) != null && o.isLink && ((l = t == null ? void 0 : t.componentProps) != null && l.link ? window.open((r = t == null ? void 0 : t.componentProps) == null ? void 0 : r.link, "blank") : f.warning("链接地址为空,无法跳转"));
26
+ }
27
+ return d(
28
+ "div",
29
+ {
30
+ ...t,
31
+ ...t.componentProps,
32
+ onClick: s,
33
+ class: (i = t == null ? void 0 : t.componentProps) != null && i.dynamic ? "gold-text-link" : "",
34
+ style: {
35
+ textAlign: t.position,
36
+ fontSize: t.fontSize + "px"
37
+ }
38
+ },
39
+ // 如果使用动态文字的话,就根据field显示对应文字,否则就是直接显示文本
40
+ (n = t == null ? void 0 : t.componentProps) != null && n.dynamic ? e.modelValue : t.label
41
+ );
42
+ };
43
+ }
44
+ });
45
+ export {
46
+ g as default
47
+ };
@@ -0,0 +1,243 @@
1
+ import { defineComponent as B, inject as h, computed as E, h as T, openBlock as g, createElementBlock as K, normalizeClass as V, unref as r, createElementVNode as b, createVNode as k, createCommentVNode as I, createBlock as w, mergeProps as j, withCtx as $, Fragment as z, renderList as F, useSlots as H, provide as _, ref as P, withDirectives as M, toDisplayString as q, vShow as G } from "vue";
2
+ import { _ as L } from "./icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js";
3
+ import { p as D } from "./pluginManager-BCnrHPYv.js";
4
+ import { d as J } from "./vuedraggable.umd-D2S7Eo7p.js";
5
+ import { u as O } from "./index-B1s67XDZ.js";
6
+ const U = /* @__PURE__ */ B({
7
+ name: "ETreeNodeItem",
8
+ __name: "treeNodeItem",
9
+ props: {
10
+ schema: {}
11
+ },
12
+ setup(C) {
13
+ const t = C, m = h("slots", {}), f = h("pageSchema", {}), p = h("expandedKeys"), u = h("treeProps"), S = h("selectedKeys"), d = h("handleSelect"), v = E(() => p.value.includes(t.schema.id ?? "")), y = B({
14
+ setup() {
15
+ return () => {
16
+ var s;
17
+ return T(
18
+ "span",
19
+ {
20
+ class: {
21
+ text: !0,
22
+ hover: u.hoverKey === t.schema.id,
23
+ checked: S.value.includes(t.schema.id)
24
+ },
25
+ onClick: () => d(t.schema.id, t.schema)
26
+ },
27
+ ((s = m["tree-node"]) == null ? void 0 : s.call(m, t)) ?? T(
28
+ "span",
29
+ { class: "epic-text-padding flex" },
30
+ {
31
+ default: () => {
32
+ var e;
33
+ return [
34
+ T(
35
+ "span",
36
+ { class: "max-w-full truncate" },
37
+ t.schema.label ?? ((e = D.getComponentConfingByType(t.schema.type)) == null ? void 0 : e.defaultSchema.label)
38
+ ),
39
+ T(
40
+ "span",
41
+ { class: "epic-node-type-text flex-1 w-0 truncate" },
42
+ t.schema.id
43
+ )
44
+ ];
45
+ }
46
+ }
47
+ )
48
+ );
49
+ };
50
+ }
51
+ });
52
+ function o() {
53
+ const s = t.schema.id;
54
+ if (!s)
55
+ return !1;
56
+ p.value.includes(s) ? p.value = p.value.filter((e) => e !== s) : p.value.push(s);
57
+ }
58
+ function c() {
59
+ var e;
60
+ const s = t.schema.id;
61
+ if (!s || !((e = t.schema.children) != null && e.length))
62
+ return !1;
63
+ p.value.push(s);
64
+ }
65
+ return c(), (s, e) => {
66
+ var a, l, i, n, x;
67
+ return g(), K("li", {
68
+ class: V(["epic-tree-node", {
69
+ expanded: (a = t.schema.children) == null ? void 0 : a.length,
70
+ "level-1": t.schema.id === ((l = r(f).schemas[0]) == null ? void 0 : l.id)
71
+ }])
72
+ }, [
73
+ b("a", null, [
74
+ (i = t.schema.children) != null && i.length && t.schema.id !== ((n = r(f).schemas[0]) == null ? void 0 : n.id) ? (g(), K("span", {
75
+ key: 0,
76
+ class: V(["icon-expanded", { expanded: v.value }]),
77
+ onClick: o
78
+ }, [
79
+ k(r(L), { name: "icon--epic--caret-right-outlined" })
80
+ ], 2)) : I("", !0),
81
+ k(r(y))
82
+ ]),
83
+ (x = t.schema.children) != null && x.length ? (g(), w(A, {
84
+ key: 0,
85
+ class: V(["epic-tree-sublist", { expanded: v.value }]),
86
+ schemas: t.schema.children,
87
+ "onUpdate:schemas": e[0] || (e[0] = (N) => t.schema.children = N),
88
+ parentSchema: t.schema
89
+ }, null, 8, ["class", "schemas", "parentSchema"])) : I("", !0)
90
+ ], 2);
91
+ };
92
+ }
93
+ }), Q = { key: 1 }, A = /* @__PURE__ */ B({
94
+ name: "ETreeNodes",
95
+ __name: "treeNodes",
96
+ props: {
97
+ schemas: {},
98
+ parentSchema: {}
99
+ },
100
+ emits: ["update:schemas"],
101
+ setup(C, { emit: t }) {
102
+ const m = h("designer"), f = h("pageSchema"), p = h("treeProps"), u = C, S = t, d = E({
103
+ get() {
104
+ return u.schemas;
105
+ },
106
+ set(o) {
107
+ S("update:schemas", o);
108
+ }
109
+ });
110
+ function v(o) {
111
+ m.setDisableHover(!0), m.setCheckedNode(d.value[o]);
112
+ }
113
+ function y(o) {
114
+ var c, s, e;
115
+ return o.id === ((c = f.schemas[0]) == null ? void 0 : c.id) || (e = (s = D.getComponentConfingByType(o.type)) == null ? void 0 : s.editConstraints) != null && e.immovable ? "unmover-item" : "draggable-item";
116
+ }
117
+ return (o, c) => {
118
+ var s, e, a, l, i;
119
+ return (a = (e = r(D).getComponentConfingByType(((s = u.parentSchema) == null ? void 0 : s.type) || "")) == null ? void 0 : e.editConstraints) != null && a.childImmovable ? (g(), K("ul", Q, [
120
+ (g(!0), K(z, null, F(d.value, (n) => (g(), w(U, {
121
+ key: n.id,
122
+ schema: n
123
+ }, null, 8, ["schema"]))), 128))
124
+ ])) : (g(), w(r(J), j({
125
+ key: 0,
126
+ modelValue: d.value,
127
+ "onUpdate:modelValue": c[0] || (c[0] = (n) => d.value = n),
128
+ "item-key": "id",
129
+ "component-data": {},
130
+ class: "epic-draggable-range"
131
+ }, {
132
+ animation: 200,
133
+ tag: "ul",
134
+ group: "tree-draggable",
135
+ ghostClass: "moveing",
136
+ draggable: ".draggable-item",
137
+ disabled: !r(p).draggable || ((l = d.value[0]) == null ? void 0 : l.id) === ((i = r(f).schemas[0]) == null ? void 0 : i.id)
138
+ }, {
139
+ onStart: c[1] || (c[1] = (n) => v(n.oldIndex))
140
+ }), {
141
+ item: $(({ element: n, index: x }) => [
142
+ (g(), w(U, {
143
+ class: V(y(n)),
144
+ key: n.id,
145
+ schema: n
146
+ }, null, 8, ["class", "schema"]))
147
+ ]),
148
+ _: 1
149
+ }, 16, ["modelValue"]));
150
+ };
151
+ }
152
+ }), R = { class: "epic-tree h-full flex flex-col" }, W = { class: "epic-search-box px-10px py-6px" }, X = { class: "epic-tree-main flex-1 overflow-auto h-0" }, ae = /* @__PURE__ */ B({
153
+ name: "ETree",
154
+ __name: "tree",
155
+ props: {
156
+ options: {
157
+ type: Array,
158
+ default: () => []
159
+ },
160
+ hoverKey: {
161
+ type: String,
162
+ default: ""
163
+ },
164
+ selectedKeys: {
165
+ type: Array,
166
+ default: () => []
167
+ },
168
+ draggable: {
169
+ type: Boolean,
170
+ default: !1
171
+ }
172
+ },
173
+ emits: ["update:selectedKeys", "nodeClick"],
174
+ setup(C, { emit: t }) {
175
+ const { t: m } = O(), f = H();
176
+ _("slots", f);
177
+ const p = D.getComponent("input"), u = P(""), S = P([]), d = C, v = t, y = E({
178
+ get() {
179
+ return d.selectedKeys;
180
+ },
181
+ set(e) {
182
+ v("update:selectedKeys", e);
183
+ }
184
+ }), o = E({
185
+ get() {
186
+ return c(d.options, u.value);
187
+ },
188
+ set(e) {
189
+ console.log(e);
190
+ }
191
+ });
192
+ function c(e, a) {
193
+ const l = [];
194
+ return e.forEach((i) => {
195
+ var n;
196
+ if ((n = i.label) != null && n.includes(a))
197
+ l.push(i);
198
+ else if (i.children) {
199
+ const x = c(i.children, a);
200
+ if (x.length > 0) {
201
+ const N = { ...i };
202
+ N.children = x, l.push(N);
203
+ }
204
+ }
205
+ }), l;
206
+ }
207
+ function s(e, a) {
208
+ y.value = [e], v("nodeClick", { id: e, componentSchema: a });
209
+ }
210
+ return _("expandedKeys", S), _("selectedKeys", y), _("treeProps", d), _("handleSelect", s), (e, a) => (g(), K("div", R, [
211
+ b("div", W, [
212
+ k(r(p), {
213
+ placeholder: r(m)("searchNode"),
214
+ clearable: "",
215
+ allowClear: "",
216
+ modelValue: u.value,
217
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => u.value = l),
218
+ value: u.value,
219
+ "onUpdate:value": a[1] || (a[1] = (l) => u.value = l)
220
+ }, {
221
+ prefix: $(() => [
222
+ k(r(L), { name: "icon--epic--search-rounded" })
223
+ ]),
224
+ _: 1
225
+ }, 8, ["placeholder", "modelValue", "value"])
226
+ ]),
227
+ b("div", X, [
228
+ b("ul", null, [
229
+ k(A, {
230
+ schemas: o.value,
231
+ "onUpdate:schemas": a[2] || (a[2] = (l) => o.value = l)
232
+ }, null, 8, ["schemas"])
233
+ ]),
234
+ M(b("div", { class: "text-center pt-42px text-gray-400" }, q(r(m)("noDataFound")), 513), [
235
+ [G, !o.value.length]
236
+ ])
237
+ ])
238
+ ]));
239
+ }
240
+ });
241
+ export {
242
+ ae as _
243
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),B=require("./icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs"),C=require("./pluginManager-DWHAX8kP.cjs"),S=require("./vuedraggable.umd-BqhSJIAi.cjs"),N=require("./index-BoL2PSBk.cjs"),_=e.defineComponent({name:"ETreeNodeItem",__name:"treeNodeItem",props:{schema:{}},setup(y){const n=y,m=e.inject("slots",{}),h=e.inject("pageSchema",{}),u=e.inject("expandedKeys"),p=e.inject("treeProps"),x=e.inject("selectedKeys"),d=e.inject("handleSelect"),g=e.computed(()=>u.value.includes(n.schema.id??"")),f=e.defineComponent({setup(){return()=>{var a;return e.h("span",{class:{text:!0,hover:p.hoverKey===n.schema.id,checked:x.value.includes(n.schema.id)},onClick:()=>d(n.schema.id,n.schema)},((a=m["tree-node"])==null?void 0:a.call(m,n))??e.h("span",{class:"epic-text-padding flex"},{default:()=>{var t;return[e.h("span",{class:"max-w-full truncate"},n.schema.label??((t=C.pluginManager.getComponentConfingByType(n.schema.type))==null?void 0:t.defaultSchema.label)),e.h("span",{class:"epic-node-type-text flex-1 w-0 truncate"},n.schema.id)]}}))}}});function o(){const a=n.schema.id;if(!a)return!1;u.value.includes(a)?u.value=u.value.filter(t=>t!==a):u.value.push(a)}function r(){var t;const a=n.schema.id;if(!a||!((t=n.schema.children)!=null&&t.length))return!1;u.value.push(a)}return r(),(a,t)=>{var s,c,i,l,v;return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["epic-tree-node",{expanded:(s=n.schema.children)==null?void 0:s.length,"level-1":n.schema.id===((c=e.unref(h).schemas[0])==null?void 0:c.id)}])},[e.createElementVNode("a",null,[(i=n.schema.children)!=null&&i.length&&n.schema.id!==((l=e.unref(h).schemas[0])==null?void 0:l.id)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["icon-expanded",{expanded:g.value}]),onClick:o},[e.createVNode(e.unref(B._sfc_main),{name:"icon--epic--caret-right-outlined"})],2)):e.createCommentVNode("",!0),e.createVNode(e.unref(f))]),(v=n.schema.children)!=null&&v.length?(e.openBlock(),e.createBlock(b,{key:0,class:e.normalizeClass(["epic-tree-sublist",{expanded:g.value}]),schemas:n.schema.children,"onUpdate:schemas":t[0]||(t[0]=k=>n.schema.children=k),parentSchema:n.schema},null,8,["class","schemas","parentSchema"])):e.createCommentVNode("",!0)],2)}}}),V={key:1},b=e.defineComponent({name:"ETreeNodes",__name:"treeNodes",props:{schemas:{},parentSchema:{}},emits:["update:schemas"],setup(y,{emit:n}){const m=e.inject("designer"),h=e.inject("pageSchema"),u=e.inject("treeProps"),p=y,x=n,d=e.computed({get(){return p.schemas},set(o){x("update:schemas",o)}});function g(o){m.setDisableHover(!0),m.setCheckedNode(d.value[o])}function f(o){var r,a,t;return o.id===((r=h.schemas[0])==null?void 0:r.id)||(t=(a=C.pluginManager.getComponentConfingByType(o.type))==null?void 0:a.editConstraints)!=null&&t.immovable?"unmover-item":"draggable-item"}return(o,r)=>{var a,t,s,c,i;return(s=(t=e.unref(C.pluginManager).getComponentConfingByType(((a=p.parentSchema)==null?void 0:a.type)||""))==null?void 0:t.editConstraints)!=null&&s.childImmovable?(e.openBlock(),e.createElementBlock("ul",V,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,l=>(e.openBlock(),e.createBlock(_,{key:l.id,schema:l},null,8,["schema"]))),128))])):(e.openBlock(),e.createBlock(e.unref(S.draggable),e.mergeProps({key:0,modelValue:d.value,"onUpdate:modelValue":r[0]||(r[0]=l=>d.value=l),"item-key":"id","component-data":{},class:"epic-draggable-range"},{animation:200,tag:"ul",group:"tree-draggable",ghostClass:"moveing",draggable:".draggable-item",disabled:!e.unref(u).draggable||((c=d.value[0])==null?void 0:c.id)===((i=e.unref(h).schemas[0])==null?void 0:i.id)},{onStart:r[1]||(r[1]=l=>g(l.oldIndex))}),{item:e.withCtx(({element:l,index:v})=>[(e.openBlock(),e.createBlock(_,{class:e.normalizeClass(f(l)),key:l.id,schema:l},null,8,["class","schema"]))]),_:1},16,["modelValue"]))}}}),E={class:"epic-tree h-full flex flex-col"},K={class:"epic-search-box px-10px py-6px"},T={class:"epic-tree-main flex-1 overflow-auto h-0"},j=e.defineComponent({name:"ETree",__name:"tree",props:{options:{type:Array,default:()=>[]},hoverKey:{type:String,default:""},selectedKeys:{type:Array,default:()=>[]},draggable:{type:Boolean,default:!1}},emits:["update:selectedKeys","nodeClick"],setup(y,{emit:n}){const{t:m}=N.useLocale(),h=e.useSlots();e.provide("slots",h);const u=C.pluginManager.getComponent("input"),p=e.ref(""),x=e.ref([]),d=y,g=n,f=e.computed({get(){return d.selectedKeys},set(t){g("update:selectedKeys",t)}}),o=e.computed({get(){return r(d.options,p.value)},set(t){console.log(t)}});function r(t,s){const c=[];return t.forEach(i=>{var l;if((l=i.label)!=null&&l.includes(s))c.push(i);else if(i.children){const v=r(i.children,s);if(v.length>0){const k={...i};k.children=v,c.push(k)}}}),c}function a(t,s){f.value=[t],g("nodeClick",{id:t,componentSchema:s})}return e.provide("expandedKeys",x),e.provide("selectedKeys",f),e.provide("treeProps",d),e.provide("handleSelect",a),(t,s)=>(e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("div",K,[e.createVNode(e.unref(u),{placeholder:e.unref(m)("searchNode"),clearable:"",allowClear:"",modelValue:p.value,"onUpdate:modelValue":s[0]||(s[0]=c=>p.value=c),value:p.value,"onUpdate:value":s[1]||(s[1]=c=>p.value=c)},{prefix:e.withCtx(()=>[e.createVNode(e.unref(B._sfc_main),{name:"icon--epic--search-rounded"})]),_:1},8,["placeholder","modelValue","value"])]),e.createElementVNode("div",T,[e.createElementVNode("ul",null,[e.createVNode(b,{schemas:o.value,"onUpdate:schemas":s[2]||(s[2]=c=>o.value=c)},null,8,["schemas"])]),e.withDirectives(e.createElementVNode("div",{class:"text-center pt-42px text-gray-400"},e.toDisplayString(e.unref(m)("noDataFound")),513),[[e.vShow,!o.value.length]])])]))}});exports._sfc_main=j;
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ import { ComponentSchema } from '../../../core/types/epic-designer';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ componentSchema: {
5
+ type: PropType<ComponentSchema>;
6
+ require: boolean;
7
+ default: () => {};
8
+ };
9
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
+ [key: string]: any;
11
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
+ componentSchema: {
13
+ type: PropType<ComponentSchema>;
14
+ require: boolean;
15
+ default: () => {};
16
+ };
17
+ }>> & Readonly<{}>, {
18
+ componentSchema: ComponentSchema;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ import { ComponentSchema } from '../../../core/types/epic-designer';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ componentSchema: {
5
+ type: PropType<ComponentSchema>;
6
+ require: boolean;
7
+ default: () => {};
8
+ };
9
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
+ [key: string]: any;
11
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
+ componentSchema: {
13
+ type: PropType<ComponentSchema>;
14
+ require: boolean;
15
+ default: () => {};
16
+ };
17
+ }>> & Readonly<{}>, {
18
+ componentSchema: ComponentSchema;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ import { ComponentSchema } from '../../../core/types/epic-designer';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ componentSchema: {
5
+ type: PropType<ComponentSchema>;
6
+ require: boolean;
7
+ default: () => {};
8
+ };
9
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
+ [key: string]: any;
11
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
+ componentSchema: {
13
+ type: PropType<ComponentSchema>;
14
+ require: boolean;
15
+ default: () => {};
16
+ };
17
+ }>> & Readonly<{}>, {
18
+ componentSchema: ComponentSchema;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ export default _default;