@web-utils/component 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import n from "simple-uploader.js";
|
|
2
2
|
import { s as p } from "../../chunks/97652d86.js";
|
|
3
3
|
import { n as f } from "../../chunks/5d4282fb.js";
|
|
4
|
-
const
|
|
5
|
-
var
|
|
4
|
+
const u = ["fileProgress", "fileSuccess", "fileComplete", "fileError"], o = u;
|
|
5
|
+
var d = function() {
|
|
6
6
|
var e = this, i = e.$createElement, s = e._self._c || i;
|
|
7
7
|
return s("div", {
|
|
8
8
|
staticClass: "chunk-file-uploader-file",
|
|
@@ -97,8 +97,8 @@ var u = function() {
|
|
|
97
97
|
extension: e.extension,
|
|
98
98
|
fileCategory: e.fileCategory
|
|
99
99
|
})], 2);
|
|
100
|
-
},
|
|
101
|
-
const
|
|
100
|
+
}, c = [];
|
|
101
|
+
const h = {
|
|
102
102
|
name: "ChunkFileUploaderFile",
|
|
103
103
|
props: {
|
|
104
104
|
file: {
|
|
@@ -289,23 +289,23 @@ const c = {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
}, l = {};
|
|
292
|
-
var
|
|
293
|
-
|
|
294
|
-
u,
|
|
292
|
+
var m = /* @__PURE__ */ f(
|
|
293
|
+
h,
|
|
295
294
|
d,
|
|
295
|
+
c,
|
|
296
296
|
!1,
|
|
297
|
-
|
|
297
|
+
g,
|
|
298
298
|
null,
|
|
299
299
|
null,
|
|
300
300
|
null
|
|
301
301
|
);
|
|
302
|
-
function
|
|
302
|
+
function g(e) {
|
|
303
303
|
for (let i in l)
|
|
304
304
|
this[i] = l[i];
|
|
305
305
|
}
|
|
306
|
-
const
|
|
307
|
-
return
|
|
306
|
+
const C = /* @__PURE__ */ function() {
|
|
307
|
+
return m.exports;
|
|
308
308
|
}();
|
|
309
309
|
export {
|
|
310
|
-
|
|
310
|
+
C as default
|
|
311
311
|
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
1
|
+
import { n as a } from "../../chunks/5d4282fb.js";
|
|
2
|
+
var d = function() {
|
|
3
3
|
var t = this, i = t.$createElement, e = t._self._c || i;
|
|
4
|
-
return t.
|
|
4
|
+
return t.rendered ? e("div", {
|
|
5
|
+
directives: [{
|
|
6
|
+
name: "show",
|
|
7
|
+
rawName: "v-show",
|
|
8
|
+
value: t.visible,
|
|
9
|
+
expression: "visible"
|
|
10
|
+
}],
|
|
5
11
|
staticClass: "cm-container",
|
|
6
12
|
style: t.axisComputed
|
|
7
13
|
}, [e("svg", {
|
|
@@ -34,7 +40,7 @@ var u = function() {
|
|
|
34
40
|
class: t.firstLeft ? "cm-left" : "",
|
|
35
41
|
on: {
|
|
36
42
|
click: function(n) {
|
|
37
|
-
return
|
|
43
|
+
return t.onItemClick(s, [l]);
|
|
38
44
|
}
|
|
39
45
|
}
|
|
40
46
|
}, [e("i", {
|
|
@@ -55,15 +61,15 @@ var u = function() {
|
|
|
55
61
|
staticClass: "cm-ul cm-ul-2 easy-cm-ul",
|
|
56
62
|
class: t.underline ? "cm-underline" : "",
|
|
57
63
|
style: t.secondBorderCheck(l)
|
|
58
|
-
}, t._l(s.children, function(n,
|
|
64
|
+
}, t._l(s.children, function(n, r) {
|
|
59
65
|
return e("li", {
|
|
60
|
-
key:
|
|
66
|
+
key: r,
|
|
61
67
|
style: t.liStyle
|
|
62
68
|
}, [e("div", {
|
|
63
69
|
class: t.secondLeft ? "cm-left" : "",
|
|
64
70
|
on: {
|
|
65
|
-
click: function(
|
|
66
|
-
return
|
|
71
|
+
click: function(h) {
|
|
72
|
+
return t.onItemClick(n, [l, r]);
|
|
67
73
|
}
|
|
68
74
|
}
|
|
69
75
|
}, [e("i", {
|
|
@@ -83,28 +89,28 @@ var u = function() {
|
|
|
83
89
|
})]) : t._e()]), n.children && n.children.length > 0 ? e("ul", {
|
|
84
90
|
staticClass: "cm-ul cm-ul-3 easy-cm-ul",
|
|
85
91
|
class: t.underline ? "cm-underline" : "",
|
|
86
|
-
style: t.thirdBorderCheck(l,
|
|
87
|
-
}, t._l(n.children, function(
|
|
92
|
+
style: t.thirdBorderCheck(l, r)
|
|
93
|
+
}, t._l(n.children, function(h, c) {
|
|
88
94
|
return e("li", {
|
|
89
95
|
key: c,
|
|
90
96
|
style: t.liStyle
|
|
91
97
|
}, [e("div", {
|
|
92
98
|
on: {
|
|
93
|
-
click: function(
|
|
94
|
-
return
|
|
99
|
+
click: function(x) {
|
|
100
|
+
return t.onItemClick(h, [l, r, c]);
|
|
95
101
|
}
|
|
96
102
|
}
|
|
97
103
|
}, [e("i", {
|
|
98
104
|
staticClass: "cm-item-icon",
|
|
99
|
-
class:
|
|
105
|
+
class: h.icon
|
|
100
106
|
}), e("span", {
|
|
101
107
|
staticClass: "cm-item-label"
|
|
102
|
-
}, [t._v(t._s(
|
|
108
|
+
}, [t._v(t._s(h.text))])])]);
|
|
103
109
|
}), 0) : t._e()]);
|
|
104
110
|
}), 0) : t._e()]);
|
|
105
111
|
}), 0)]) : t._e();
|
|
106
|
-
},
|
|
107
|
-
const
|
|
112
|
+
}, u = [];
|
|
113
|
+
const m = {
|
|
108
114
|
name: "ContextMenu",
|
|
109
115
|
props: {
|
|
110
116
|
list: {
|
|
@@ -150,6 +156,7 @@ const f = {
|
|
|
150
156
|
data() {
|
|
151
157
|
return {
|
|
152
158
|
visible: !1,
|
|
159
|
+
rendered: !1,
|
|
153
160
|
axis: {
|
|
154
161
|
x: 0,
|
|
155
162
|
y: 0
|
|
@@ -204,7 +211,7 @@ const f = {
|
|
|
204
211
|
};
|
|
205
212
|
},
|
|
206
213
|
show(t) {
|
|
207
|
-
document.addEventListener("click", this.hide, !0), this.axis = { x: t.clientX, y: t.clientY }, this.visible = !0;
|
|
214
|
+
document.addEventListener("click", this.hide, !0), this.axis = { x: t.clientX, y: t.clientY }, this.rendered = !0, this.visible = !0;
|
|
208
215
|
},
|
|
209
216
|
hide() {
|
|
210
217
|
this.visible = !1, document.removeEventListener("click", this.hide);
|
|
@@ -213,23 +220,23 @@ const f = {
|
|
|
213
220
|
this.$emit("on-item-click", t, i);
|
|
214
221
|
}
|
|
215
222
|
}
|
|
216
|
-
},
|
|
217
|
-
var
|
|
218
|
-
f,
|
|
219
|
-
u,
|
|
223
|
+
}, o = {};
|
|
224
|
+
var f = /* @__PURE__ */ a(
|
|
220
225
|
m,
|
|
226
|
+
d,
|
|
227
|
+
u,
|
|
221
228
|
!1,
|
|
222
|
-
|
|
229
|
+
y,
|
|
223
230
|
null,
|
|
224
231
|
null,
|
|
225
232
|
null
|
|
226
233
|
);
|
|
227
|
-
function
|
|
228
|
-
for (let i in
|
|
229
|
-
this[i] =
|
|
234
|
+
function y(t) {
|
|
235
|
+
for (let i in o)
|
|
236
|
+
this[i] = o[i];
|
|
230
237
|
}
|
|
231
238
|
const _ = /* @__PURE__ */ function() {
|
|
232
|
-
return
|
|
239
|
+
return f.exports;
|
|
233
240
|
}();
|
|
234
241
|
export {
|
|
235
242
|
_ as default
|
package/dist/index.es.js
CHANGED
|
@@ -1606,7 +1606,13 @@ const ConfirmButton = /* @__PURE__ */ function() {
|
|
|
1606
1606
|
}();
|
|
1607
1607
|
var render$Z = function() {
|
|
1608
1608
|
var e = this, t = e.$createElement, s = e._self._c || t;
|
|
1609
|
-
return e.
|
|
1609
|
+
return e.rendered ? s("div", {
|
|
1610
|
+
directives: [{
|
|
1611
|
+
name: "show",
|
|
1612
|
+
rawName: "v-show",
|
|
1613
|
+
value: e.visible,
|
|
1614
|
+
expression: "visible"
|
|
1615
|
+
}],
|
|
1610
1616
|
staticClass: "cm-container",
|
|
1611
1617
|
style: e.axisComputed
|
|
1612
1618
|
}, [s("svg", {
|
|
@@ -1639,7 +1645,7 @@ var render$Z = function() {
|
|
|
1639
1645
|
class: e.firstLeft ? "cm-left" : "",
|
|
1640
1646
|
on: {
|
|
1641
1647
|
click: function(i) {
|
|
1642
|
-
return
|
|
1648
|
+
return e.onItemClick(n, [r]);
|
|
1643
1649
|
}
|
|
1644
1650
|
}
|
|
1645
1651
|
}, [s("i", {
|
|
@@ -1668,7 +1674,7 @@ var render$Z = function() {
|
|
|
1668
1674
|
class: e.secondLeft ? "cm-left" : "",
|
|
1669
1675
|
on: {
|
|
1670
1676
|
click: function(a) {
|
|
1671
|
-
return
|
|
1677
|
+
return e.onItemClick(i, [r, o]);
|
|
1672
1678
|
}
|
|
1673
1679
|
}
|
|
1674
1680
|
}, [s("i", {
|
|
@@ -1696,7 +1702,7 @@ var render$Z = function() {
|
|
|
1696
1702
|
}, [s("div", {
|
|
1697
1703
|
on: {
|
|
1698
1704
|
click: function(c) {
|
|
1699
|
-
return
|
|
1705
|
+
return e.onItemClick(a, [r, o, l]);
|
|
1700
1706
|
}
|
|
1701
1707
|
}
|
|
1702
1708
|
}, [s("i", {
|
|
@@ -1755,6 +1761,7 @@ const ContextMenu_vue_vue_type_style_index_0_lang = "", __vue2_script$19 = {
|
|
|
1755
1761
|
data() {
|
|
1756
1762
|
return {
|
|
1757
1763
|
visible: !1,
|
|
1764
|
+
rendered: !1,
|
|
1758
1765
|
axis: {
|
|
1759
1766
|
x: 0,
|
|
1760
1767
|
y: 0
|
|
@@ -1809,7 +1816,7 @@ const ContextMenu_vue_vue_type_style_index_0_lang = "", __vue2_script$19 = {
|
|
|
1809
1816
|
};
|
|
1810
1817
|
},
|
|
1811
1818
|
show(e) {
|
|
1812
|
-
document.addEventListener("click", this.hide, !0), this.axis = { x: e.clientX, y: e.clientY }, this.visible = !0;
|
|
1819
|
+
document.addEventListener("click", this.hide, !0), this.axis = { x: e.clientX, y: e.clientY }, this.rendered = !0, this.visible = !0;
|
|
1813
1820
|
},
|
|
1814
1821
|
hide() {
|
|
1815
1822
|
this.visible = !1, document.removeEventListener("click", this.hide);
|
|
@@ -13129,7 +13136,7 @@ function __vue2_injectStyles(e) {
|
|
|
13129
13136
|
}
|
|
13130
13137
|
const XDialog = /* @__PURE__ */ function() {
|
|
13131
13138
|
return __component__.exports;
|
|
13132
|
-
}(), version = "2.0.
|
|
13139
|
+
}(), version = "2.0.10";
|
|
13133
13140
|
function index(e) {
|
|
13134
13141
|
e.component(AddressInput.name, AddressInput), e.component(AsideMenu.name, AsideMenu), e.component(AwesomeButton.name, AwesomeButton), e.component(CapsuleTab.name, CapsuleTab), e.component(ChunkFileUploader.name, ChunkFileUploader), e.component(ChunkFileUploaderButton.name, ChunkFileUploaderButton), e.component(ChunkFileUploaderDrop.name, ChunkFileUploaderDrop), e.component(ChunkFileUploaderFile.name, ChunkFileUploaderFile), e.component(ChunkFileUploaderFiles.name, ChunkFileUploaderFiles), e.component(ChunkFileUploaderList.name, ChunkFileUploaderList), e.component(ChunkFileUploaderUnSupport.name, ChunkFileUploaderUnSupport), e.component(CodeMirrorEditor.name, CodeMirrorEditor), e.component(ColorPicker.name, ColorPicker), e.component(Confirmable.name, Confirmable), e.component(ConfirmButton.name, ConfirmButton), e.component(ContextMenu.name, ContextMenu), e.component(CustomScrollbar.name, CustomScrollbar), e.component(DataTablePicker.name, DataTablePicker), e.component(DynamicTable.name, DynamicTable), e.component(ECharts.name, ECharts), e.component(EditableProgress.name, EditableProgress), e.component(EditableTree.name, EditableTree), e.component(EgdCollapse.name, EgdCollapse), e.component(EgdCollapseItem.name, EgdCollapseItem), e.component(ElementDialog.name, ElementDialog), e.component(EmptyView.name, EmptyView), e.component(ErrorView.name, ErrorView), e.component(FlexColumn.name, FlexColumn), e.component(FlexItem.name, FlexItem), e.component(FlexRow.name, FlexRow), e.component(FlexScroller.name, FlexScroller), e.component(FormButton.name, FormButton), e.component(FormCascader.name, FormCascader), e.component(FormCheckboxGroup.name, FormCheckboxGroup), e.component(FormDatePicker.name, FormDatePicker), e.component(FormHolder.name, FormHolder), e.component(FormInput.name, FormInput), e.component(FormInputEmail.name, FormInputEmail), e.component(FormInputIdCard.name, FormInputIdCard), e.component(FormInputNumber.name, FormInputNumber), e.component(FormInputPhoneNumber.name, FormInputPhoneNumber), e.component(FormInputTime.name, FormInputTime), e.component(FormItem.name, FormItem), e.component(FormItemConfigProvider.name, FormItemConfigProvider), e.component(FormItemGroup.name, FormItemGroup), e.component(FormRadioGroup.name, FormRadioGroup), e.component(FormSelect.name, FormSelect), e.component(FormSwitch.name, FormSwitch), e.component(FormTextarea.name, FormTextarea), e.component(FormView.name, FormView), e.component(GuideSteps.name, GuideSteps), e.component(IconCard.name, IconCard), e.component(IframeWindow.name, IframeWindow), e.component(ImageViewer.name, ImageViewer), e.component(InputNumber.name, InputNumber), e.component(InputNumberRange.name, InputNumberRange), e.component(JSXComponent.name, JSXComponent), e.component(KeepViewAlive.name, KeepViewAlive), e.component(LoadingView.name, LoadingView), e.component(NavBar.name, NavBar), e.component(NotImplement.name, NotImplement), e.component(Page.name, Page), e.component(PageableTable.name, PageableTable), e.component(PageableView.name, PageableView), e.component(PageHeader.name, PageHeader), e.component(PageIndex.name, PageIndex), e.component(PageIndexTop.name, PageIndexTop), e.component(PageSkeleton.name, PageSkeleton), e.component(PageSkeletonNew.name, PageSkeletonNew), e.component(PhotoSwipe.name, PhotoSwipe), e.component(ResizeObserver.name, ResizeObserver), e.component(SearchPopover.name, SearchPopover), e.component(SignPanel.name, SignPanel), e.component(SplitPane.name, SplitPane), e.component(Stateful.name, Stateful), e.component(StaticPageableTable.name, StaticPageableTable), e.component(Swiper.name, Swiper), e.component(Tab.name, Tab), e.component(TabItem.name, TabItem), e.component(TableColumn.name, TableColumn), e.component(TableView.name, TableView), e.component(TagRender.name, TagRender), e.component(TinymceEditor.name, TinymceEditor), e.component(TinymceWrapper.name, TinymceWrapper), e.component(Toolbar.name, Toolbar), e.component(ToolbarButton.name, ToolbarButton), e.component(Trigger.name, Trigger), e.component(VueTagsInput.name, VueTagsInput), e.component(Watermark.name, Watermark), e.component(XDialog.name, XDialog);
|
|
13135
13142
|
}
|
package/package.json
CHANGED