epic-designer-gold 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{attributeView-B6yshoNY.cjs → attributeView-B1dGeNqh.cjs} +1 -1
- package/dist/{attributeView-CAOGzcXM.js → attributeView-CZCnJzem.js} +1 -1
- package/dist/{index-BwdkCtpc.cjs → index--Z-KkjaM.cjs} +2 -2
- package/dist/{index-1BndYxTQ.cjs → index-B94gFPf3.cjs} +1 -1
- package/dist/{index-Bf2Sxe2E.cjs → index-BAEFJCS6.cjs} +1 -1
- package/dist/{index-BVceGSkj.js → index-BgE9tuf3.js} +1 -1
- package/dist/{index-B7QH_s16.cjs → index-CAMBquNl.cjs} +1 -1
- package/dist/index-CNQjMEUG.js +4 -0
- package/dist/{index-CcZa7MK_.cjs → index-Cb6-t5Kc.cjs} +1 -1
- package/dist/{index-CYfnscUn.cjs → index-CuTee7Tg.cjs} +1 -1
- package/dist/index-D0-2aoOb.js +56 -0
- package/dist/{index-DlubD1cY.cjs → index-D1woeC4G.cjs} +1 -1
- package/dist/{index-CMCtBfv5.cjs → index-DEBUq5pN.cjs} +1 -1
- package/dist/{index-BOfEIfM3.js → index-DI7c5Qs-.js} +1 -1
- package/dist/{index-BIPDvTGu.js → index-DnjKGXr6.js} +6 -6
- package/dist/{index-L6-BEKnU.js → index-DrZsGTyO.js} +1 -1
- package/dist/{index-DR3BiPsn.js → index-DuwrzlDl.js} +1 -1
- package/dist/{index-DDo1LIxZ.js → index-Ut_dcMcZ.js} +1 -1
- package/dist/{index-DmyFFubg.js → index-aykMHA5o.js} +1 -1
- package/dist/index-fy6-gwUQ.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{styleView-Ds-PuzkJ.cjs → styleView-Cu6z6iIV.cjs} +1 -1
- package/dist/{styleView-5U84Umnq.js → styleView-Dh_hk7Lc.js} +1 -1
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +210 -222
- package/package.json +1 -1
- package/dist/index-BcocZhQo.js +0 -4
- package/dist/index-C4TbiUcL.js +0 -71
- package/dist/index-CMwJOFFP.cjs +0 -1
package/dist/index-C4TbiUcL.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as V, computed as k, openBlock as a, createElementBlock as l, Fragment as g, renderList as C, createVNode as p, unref as r, createElementVNode as c, createCommentVNode as y } from "vue";
|
|
2
|
-
import { p as U } from "./js.cookie-oHpRFPCO.js";
|
|
3
|
-
import { k as P } from "./index-BIPDvTGu.js";
|
|
4
|
-
import { _ as b } from "./icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js";
|
|
5
|
-
const E = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "epic-del-btn"
|
|
8
|
-
}, N = ["onClick"], I = /* @__PURE__ */ V({
|
|
9
|
-
__name: "index",
|
|
10
|
-
props: {
|
|
11
|
-
modelValue: {
|
|
12
|
-
type: Array,
|
|
13
|
-
default: () => []
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
emits: ["update:modelValue"],
|
|
17
|
-
setup(m, { emit: u }) {
|
|
18
|
-
const d = U.getComponent("number"), i = m, v = u, o = k({
|
|
19
|
-
get() {
|
|
20
|
-
return i.modelValue;
|
|
21
|
-
},
|
|
22
|
-
set(e) {
|
|
23
|
-
v("update:modelValue", e);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
function f() {
|
|
27
|
-
const e = {
|
|
28
|
-
type: "col",
|
|
29
|
-
children: [],
|
|
30
|
-
componentProps: {
|
|
31
|
-
span: 12
|
|
32
|
-
},
|
|
33
|
-
id: P()
|
|
34
|
-
};
|
|
35
|
-
o.value.push(e);
|
|
36
|
-
}
|
|
37
|
-
function _(e) {
|
|
38
|
-
o.value = o.value.filter((h, n) => e !== n);
|
|
39
|
-
}
|
|
40
|
-
return (e, h) => (a(), l("div", null, [
|
|
41
|
-
(a(!0), l(g, null, C(o.value, (n, s) => (a(), l("div", {
|
|
42
|
-
key: s,
|
|
43
|
-
class: "EColEditor-item"
|
|
44
|
-
}, [
|
|
45
|
-
p(r(d), {
|
|
46
|
-
value: n.componentProps.span,
|
|
47
|
-
"onUpdate:value": (t) => n.componentProps.span = t,
|
|
48
|
-
modelValue: n.componentProps.span,
|
|
49
|
-
"onUpdate:modelValue": (t) => n.componentProps.span = t,
|
|
50
|
-
style: { width: "100%" },
|
|
51
|
-
min: 1,
|
|
52
|
-
max: 24
|
|
53
|
-
}, null, 8, ["value", "onUpdate:value", "modelValue", "onUpdate:modelValue"]),
|
|
54
|
-
o.value.length > 1 ? (a(), l("div", E, [
|
|
55
|
-
c("span", {
|
|
56
|
-
onClick: (t) => _(s)
|
|
57
|
-
}, [
|
|
58
|
-
p(r(b), { name: "icon-shanchu1" })
|
|
59
|
-
], 8, N)
|
|
60
|
-
])) : y("", !0)
|
|
61
|
-
]))), 128)),
|
|
62
|
-
c("div", {
|
|
63
|
-
class: "add-btn",
|
|
64
|
-
onClick: f
|
|
65
|
-
}, "添加")
|
|
66
|
-
]));
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
I as default
|
|
71
|
-
};
|
package/dist/index-CMwJOFFP.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./js.cookie-BH1G_HRi.cjs"),v=require("./index-BwdkCtpc.cjs"),k=require("./icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs"),V={key:0,class:"epic-del-btn"},f=["onClick"],h=e.defineComponent({__name:"index",props:{modelValue:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(c,{emit:r}){const u=_.pluginManager.getComponent("number"),s=c,d=r,o=e.computed({get(){return s.modelValue},set(n){d("update:modelValue",n)}});function p(){const n={type:"col",children:[],componentProps:{span:12},id:v.getUUID()};o.value.push(n)}function i(n){o.value=o.value.filter((m,t)=>n!==t)}return(n,m)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(t,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,class:"EColEditor-item"},[e.createVNode(e.unref(u),{value:t.componentProps.span,"onUpdate:value":l=>t.componentProps.span=l,modelValue:t.componentProps.span,"onUpdate:modelValue":l=>t.componentProps.span=l,style:{width:"100%"},min:1,max:24},null,8,["value","onUpdate:value","modelValue","onUpdate:modelValue"]),o.value.length>1?(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("span",{onClick:l=>i(a)},[e.createVNode(e.unref(k._sfc_main),{name:"icon-shanchu1"})],8,f)])):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("div",{class:"add-btn",onClick:p},"添加")]))}});exports.default=h;
|