@web-utils/component 3.0.6 → 3.1.0
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/address-input/index.mjs +20 -57
- package/affix/index.mjs +26 -47
- package/aside-menu/index.mjs +18 -43
- package/avatar/index.mjs +27 -49
- package/awesome-button/index.mjs +35 -43
- package/capsule-tab/index.mjs +16 -34
- package/card/index.mjs +21 -76
- package/carousel/index.mjs +14 -49
- package/chat/index.mjs +104 -414
- package/chunk-file-uploader/index.mjs +21 -38
- package/chunks/FormTemp.aa57efb4.mjs +125 -0
- package/code-mirror-editor/index.mjs +69 -79
- package/color-picker/index.mjs +29 -60
- package/comment/index.mjs +17 -48
- package/confirm-button/index.mjs +11 -19
- package/confirmable/index.mjs +12 -20
- package/context-menu/index.mjs +42 -144
- package/count-up/index.mjs +18 -25
- package/custom-scrollbar/index.mjs +13 -22
- package/data-box/index.mjs +15 -66
- package/data-card/index.mjs +16 -65
- package/data-cardtext/index.mjs +16 -52
- package/data-display/index.mjs +18 -62
- package/data-icons/index.mjs +16 -68
- package/data-imgtext/index.mjs +18 -79
- package/data-operatext/index.mjs +18 -75
- package/data-panel/index.mjs +16 -63
- package/data-pay/index.mjs +20 -122
- package/data-price/index.mjs +18 -60
- package/data-progress/index.mjs +16 -67
- package/data-rotate/index.mjs +16 -66
- package/data-table-picker/index.mjs +25 -88
- package/data-tabs/index.mjs +16 -64
- package/dialog-form/index.mjs +48 -94
- package/dynamic-table/index.mjs +43 -127
- package/e-charts/index.mjs +21 -34
- package/easy-popup/index.mjs +35 -61
- package/editable-progress/index.mjs +22 -77
- package/editable-tree/index.mjs +235 -546
- package/egd-collapse/index.mjs +13 -26
- package/egd-collapse-item/index.mjs +27 -87
- package/element-dialog/index.mjs +69 -133
- package/empty-view/index.mjs +13 -33
- package/error-view/index.mjs +14 -34
- package/flex-column/index.mjs +15 -23
- package/flex-item/index.mjs +18 -26
- package/flex-row/index.mjs +23 -31
- package/flex-scroller/index.mjs +16 -27
- package/flow/index.mjs +70 -110
- package/flow-designer/index.mjs +1215 -4804
- package/flow-node/index.mjs +15 -51
- package/flow-viewer/index.mjs +64 -89
- package/form-block/index.mjs +43 -62
- package/form-button/index.mjs +10 -18
- package/form-cascader/index.mjs +49 -100
- package/form-checkbox-group/index.mjs +43 -110
- package/form-date-picker/index.mjs +51 -97
- package/form-holder/index.mjs +25 -42
- package/form-input/index.mjs +40 -90
- package/form-input-email/index.mjs +35 -79
- package/form-input-id-card/index.mjs +40 -87
- package/form-input-number/index.mjs +42 -102
- package/form-input-phone-number/index.mjs +34 -75
- package/form-input-tag/index.mjs +31 -73
- package/form-input-time/index.mjs +42 -87
- package/form-item/index.mjs +70 -89
- package/form-item-config-provider/index.mjs +12 -20
- package/form-item-group/index.mjs +46 -65
- package/form-radio-group/index.mjs +50 -108
- package/form-select/index.mjs +44 -95
- package/form-switch/index.mjs +38 -85
- package/form-textarea/index.mjs +31 -75
- package/form-view/index.mjs +112 -260
- package/fy-array/index.mjs +35 -121
- package/fy-article/index.mjs +12 -43
- package/fy-cascader/index.mjs +26 -67
- package/fy-checkbox/index.mjs +27 -77
- package/fy-code/index.mjs +19 -33
- package/fy-curd/index.mjs +810 -2017
- package/fy-date/index.mjs +18 -59
- package/fy-draggable/index.mjs +81 -140
- package/fy-dynamic/index.mjs +85 -204
- package/fy-empty/index.mjs +14 -35
- package/fy-form/index.mjs +254 -571
- package/fy-form-design/index.mjs +1489 -6084
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +34 -104
- package/fy-input-color/index.mjs +22 -67
- package/fy-input-icon/index.mjs +37 -122
- package/fy-input-map/index.mjs +57 -149
- package/fy-input-number/index.mjs +18 -53
- package/fy-input-table/index.mjs +36 -102
- package/fy-input-tree/index.mjs +51 -138
- package/fy-progress/index.mjs +12 -31
- package/fy-radio/index.mjs +20 -51
- package/fy-rate/index.mjs +18 -51
- package/fy-select/index.mjs +49 -134
- package/fy-slider/index.mjs +19 -52
- package/fy-switch/index.mjs +18 -48
- package/fy-tabs/index.mjs +19 -51
- package/fy-time/index.mjs +22 -62
- package/fy-title/index.mjs +14 -25
- package/fy-tree/index.mjs +74 -216
- package/fy-u-editor/index.mjs +50 -64
- package/fy-upload/index.mjs +167 -338
- package/guide-steps/index.mjs +33 -53
- package/highlight-j-s/index.mjs +13 -27
- package/icon-card/index.mjs +12 -36
- package/icon-temp/index.mjs +12 -34
- package/iframe-window/index.mjs +13 -40
- package/image-cropper/index.mjs +46 -171
- package/image-preview/index.mjs +54 -168
- package/image-viewer/index.mjs +24 -50
- package/index.css +1 -0
- package/index.mjs +3973 -501
- package/input-number/index.mjs +84 -173
- package/input-number-range/index.mjs +20 -70
- package/j-s-x-component/index.mjs +3 -3
- package/keep-view-alive/index.mjs +47 -55
- package/keyboard/index.mjs +100 -113
- package/license/index.mjs +34 -51
- package/loading-view/index.mjs +14 -34
- package/login/index.mjs +33 -161
- package/monaco-editor/index.mjs +13 -21
- package/name-avatar/index.mjs +13 -32
- package/nav-bar/index.mjs +12 -31
- package/not-implement/index.mjs +14 -25
- package/notice/index.mjs +32 -80
- package/package.json +1 -1
- package/page/index.mjs +11 -23
- package/page-header/index.mjs +16 -37
- package/page-index/index.mjs +42 -93
- package/page-index-top/index.mjs +42 -84
- package/page-skeleton/index.mjs +24 -39
- package/page-skeleton-new/index.mjs +21 -68
- package/pageable-table/index.mjs +105 -227
- package/pageable-view/index.mjs +30 -83
- package/photo-swipe/index.mjs +62 -87
- package/present-view/index.mjs +114 -267
- package/queue/index.mjs +14 -29
- package/record-video/index.mjs +29 -66
- package/resize-observer/index.mjs +18 -30
- package/search/index.mjs +47 -81
- package/search-popover/index.mjs +57 -329
- package/sign/index.mjs +43 -60
- package/sign-panel/index.mjs +40 -151
- package/skeleton/index.mjs +18 -44
- package/split-pane/index.mjs +45 -129
- package/stateful/index.mjs +18 -26
- package/static-pageable-table/index.mjs +18 -44
- package/swiper/index.mjs +53 -94
- package/tab/index.mjs +13 -39
- package/tab-item/index.mjs +23 -37
- package/table-column/index.mjs +27 -35
- package/table-view/index.mjs +89 -209
- package/tag-render/index.mjs +34 -69
- package/text-ellipsis/index.mjs +22 -47
- package/tinymce-editor/index.mjs +174 -285
- package/toolbar/index.mjs +21 -42
- package/toolbar-button/index.mjs +25 -54
- package/verify/index.mjs +16 -29
- package/vue-cron/index.mjs +272 -1089
- package/vue-qr-code/index.mjs +19 -27
- package/vue-quill-editor/index.mjs +15 -27
- package/vue-tags-input/index.mjs +104 -224
- package/vue-tree-select/index.mjs +595 -742
- package/vue-video-player/index.mjs +42 -57
- package/watermark/index.mjs +27 -35
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +50 -112
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
package/card/index.mjs
CHANGED
|
@@ -1,67 +1,9 @@
|
|
|
1
|
-
import { n
|
|
2
|
-
|
|
3
|
-
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
|
-
return a("div", {
|
|
5
|
-
staticClass: "avue-card"
|
|
6
|
-
}, [a("ElRow", {
|
|
7
|
-
attrs: {
|
|
8
|
-
span: 24,
|
|
9
|
-
gutter: t.gutter
|
|
10
|
-
}
|
|
11
|
-
}, [t.option.addBtn ? a("ElCol", {
|
|
12
|
-
attrs: {
|
|
13
|
-
span: t.span
|
|
14
|
-
}
|
|
15
|
-
}, [a("div", {
|
|
16
|
-
staticClass: "avue-card__item avue-card__item--add",
|
|
17
|
-
on: {
|
|
18
|
-
click: function(n) {
|
|
19
|
-
return t.rowAdd();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}, [a("i", {
|
|
23
|
-
staticClass: "el-icon-plus"
|
|
24
|
-
}), a("span", [t._v("添加")])])]) : t._e(), t._l(t.data, function(n, s) {
|
|
25
|
-
return a("ElCol", {
|
|
26
|
-
key: s,
|
|
27
|
-
attrs: {
|
|
28
|
-
span: t.span
|
|
29
|
-
}
|
|
30
|
-
}, [a("div", {
|
|
31
|
-
staticClass: "avue-card__item",
|
|
32
|
-
on: {
|
|
33
|
-
click: function(p) {
|
|
34
|
-
return t.rowClick(n, s);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}, [a("div", {
|
|
38
|
-
staticClass: "avue-card__body"
|
|
39
|
-
}, [a("div", {
|
|
40
|
-
staticClass: "avue-card__avatar"
|
|
41
|
-
}, [a("img", {
|
|
42
|
-
attrs: {
|
|
43
|
-
src: n[t.imgKey],
|
|
44
|
-
alt: ""
|
|
45
|
-
}
|
|
46
|
-
})]), a("div", {
|
|
47
|
-
staticClass: "avue-card__detail"
|
|
48
|
-
}, [a("div", {
|
|
49
|
-
staticClass: "avue-card__title"
|
|
50
|
-
}, [t._v(" " + t._s(n[t.titleKey]) + " ")]), a("div", {
|
|
51
|
-
staticClass: "avue-card__info"
|
|
52
|
-
}, [t._v(" " + t._s(n[t.infoKey]) + " ")])])]), a("div", {
|
|
53
|
-
staticClass: "avue-card__menu"
|
|
54
|
-
}, [t._t("menu", null, {
|
|
55
|
-
index: s,
|
|
56
|
-
row: n
|
|
57
|
-
})], 2)])]);
|
|
58
|
-
})], 2)], 1);
|
|
59
|
-
}, l = [];
|
|
60
|
-
const u = {
|
|
1
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const r = {
|
|
61
3
|
img: "img",
|
|
62
4
|
title: "title",
|
|
63
5
|
info: "info"
|
|
64
|
-
},
|
|
6
|
+
}, o = {
|
|
65
7
|
name: "Card",
|
|
66
8
|
props: {
|
|
67
9
|
option: {
|
|
@@ -75,7 +17,7 @@ const u = {
|
|
|
75
17
|
},
|
|
76
18
|
data() {
|
|
77
19
|
return {
|
|
78
|
-
propsDefault:
|
|
20
|
+
propsDefault: r
|
|
79
21
|
};
|
|
80
22
|
},
|
|
81
23
|
computed: {
|
|
@@ -99,28 +41,31 @@ const u = {
|
|
|
99
41
|
rowAdd() {
|
|
100
42
|
this.$emit("row-add");
|
|
101
43
|
},
|
|
102
|
-
rowClick(
|
|
103
|
-
this.$emit("row-click",
|
|
44
|
+
rowClick(i, t) {
|
|
45
|
+
this.$emit("row-click", i, t);
|
|
104
46
|
}
|
|
105
47
|
}
|
|
106
|
-
}
|
|
107
|
-
var
|
|
108
|
-
|
|
48
|
+
};
|
|
49
|
+
var l = function() {
|
|
50
|
+
var t = this, a = t._self._c;
|
|
51
|
+
return a("div", { staticClass: "avue-card" }, [a("ElRow", { attrs: { span: 24, gutter: t.gutter } }, [t.option.addBtn ? a("ElCol", { attrs: { span: t.span } }, [a("div", { staticClass: "avue-card__item avue-card__item--add", on: { click: function(s) {
|
|
52
|
+
return t.rowAdd();
|
|
53
|
+
} } }, [a("i", { staticClass: "el-icon-plus" }), a("span", [t._v("添加")])])]) : t._e(), t._l(t.data, function(s, e) {
|
|
54
|
+
return a("ElCol", { key: e, attrs: { span: t.span } }, [a("div", { staticClass: "avue-card__item", on: { click: function(_) {
|
|
55
|
+
return t.rowClick(s, e);
|
|
56
|
+
} } }, [a("div", { staticClass: "avue-card__body" }, [a("div", { staticClass: "avue-card__avatar" }, [a("img", { attrs: { src: s[t.imgKey], alt: "" } })]), a("div", { staticClass: "avue-card__detail" }, [a("div", { staticClass: "avue-card__title" }, [t._v(" " + t._s(s[t.titleKey]) + " ")]), a("div", { staticClass: "avue-card__info" }, [t._v(" " + t._s(s[t.infoKey]) + " ")])])]), a("div", { staticClass: "avue-card__menu" }, [t._t("menu", null, { index: e, row: s })], 2)])]);
|
|
57
|
+
})], 2)], 1);
|
|
58
|
+
}, u = [], c = /* @__PURE__ */ n(
|
|
109
59
|
o,
|
|
110
60
|
l,
|
|
61
|
+
u,
|
|
111
62
|
!1,
|
|
112
|
-
|
|
63
|
+
null,
|
|
113
64
|
null,
|
|
114
65
|
null,
|
|
115
66
|
null
|
|
116
67
|
);
|
|
117
|
-
|
|
118
|
-
for (let e in i)
|
|
119
|
-
this[e] = i[e];
|
|
120
|
-
}
|
|
121
|
-
const f = /* @__PURE__ */ function() {
|
|
122
|
-
return _.exports;
|
|
123
|
-
}();
|
|
68
|
+
const p = c.exports;
|
|
124
69
|
export {
|
|
125
|
-
|
|
70
|
+
p as default
|
|
126
71
|
};
|
package/carousel/index.mjs
CHANGED
|
@@ -1,39 +1,5 @@
|
|
|
1
|
-
import { n } from "../chunks/
|
|
2
|
-
|
|
3
|
-
var t = this, o = t.$createElement, e = t._self._c || o;
|
|
4
|
-
return e("div", {
|
|
5
|
-
class: ["avue-carousel", {
|
|
6
|
-
"avue-carousel--fullscreen": t.option.fullscreen
|
|
7
|
-
}]
|
|
8
|
-
}, [e("ElCarousel", {
|
|
9
|
-
attrs: {
|
|
10
|
-
type: t.option.type,
|
|
11
|
-
height: `${t.option.height}px`,
|
|
12
|
-
autoplay: t.option.autoplay,
|
|
13
|
-
interval: t.option.interval,
|
|
14
|
-
"indicator-position": "outside"
|
|
15
|
-
}
|
|
16
|
-
}, t._l(t.data, function(a, s) {
|
|
17
|
-
return e("ElCarouselItem", {
|
|
18
|
-
key: s
|
|
19
|
-
}, [e("div", {
|
|
20
|
-
staticClass: "avue-carousel__item"
|
|
21
|
-
}, [e("a", {
|
|
22
|
-
attrs: {
|
|
23
|
-
href: a.href ? a.href : "javascript:void(0);",
|
|
24
|
-
target: a.target
|
|
25
|
-
}
|
|
26
|
-
}, [e("div", {
|
|
27
|
-
staticClass: "avue-carousel__img",
|
|
28
|
-
style: {
|
|
29
|
-
backgroundImage: `url(${a.src})`
|
|
30
|
-
}
|
|
31
|
-
}), a.title ? e("div", {
|
|
32
|
-
staticClass: "avue-carousel__title"
|
|
33
|
-
}, [t._v(t._s(a.title))]) : t._e()])])]);
|
|
34
|
-
}), 1)], 1);
|
|
35
|
-
}, u = [];
|
|
36
|
-
const i = {
|
|
1
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const r = {
|
|
37
3
|
name: "Carousel",
|
|
38
4
|
props: {
|
|
39
5
|
option: {
|
|
@@ -47,24 +13,23 @@ const i = {
|
|
|
47
13
|
return this.option.data || [];
|
|
48
14
|
}
|
|
49
15
|
}
|
|
50
|
-
}
|
|
51
|
-
var
|
|
52
|
-
|
|
16
|
+
};
|
|
17
|
+
var l = function() {
|
|
18
|
+
var t = this, e = t._self._c;
|
|
19
|
+
return e("div", { class: ["avue-carousel", { "avue-carousel--fullscreen": t.option.fullscreen }] }, [e("ElCarousel", { attrs: { type: t.option.type, height: `${t.option.height}px`, autoplay: t.option.autoplay, interval: t.option.interval, "indicator-position": "outside" } }, t._l(t.data, function(a, o) {
|
|
20
|
+
return e("ElCarouselItem", { key: o }, [e("div", { staticClass: "avue-carousel__item" }, [e("a", { attrs: { href: a.href ? a.href : "javascript:void(0);", target: a.target } }, [e("div", { staticClass: "avue-carousel__img", style: { backgroundImage: `url(${a.src})` } }), a.title ? e("div", { staticClass: "avue-carousel__title" }, [t._v(t._s(a.title))]) : t._e()])])]);
|
|
21
|
+
}), 1)], 1);
|
|
22
|
+
}, n = [], u = /* @__PURE__ */ s(
|
|
23
|
+
r,
|
|
53
24
|
l,
|
|
54
|
-
|
|
25
|
+
n,
|
|
55
26
|
!1,
|
|
56
|
-
|
|
27
|
+
null,
|
|
57
28
|
null,
|
|
58
29
|
null,
|
|
59
30
|
null
|
|
60
31
|
);
|
|
61
|
-
|
|
62
|
-
for (let o in r)
|
|
63
|
-
this[o] = r[o];
|
|
64
|
-
}
|
|
65
|
-
const v = /* @__PURE__ */ function() {
|
|
66
|
-
return c.exports;
|
|
67
|
-
}();
|
|
32
|
+
const c = u.exports;
|
|
68
33
|
export {
|
|
69
|
-
|
|
34
|
+
c as default
|
|
70
35
|
};
|