@web-utils/component 2.70.0 → 3.0.1
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 +16 -14
- package/awesome-button/index.mjs +30 -29
- package/card/index.mjs +42 -40
- package/carousel/index.mjs +27 -25
- package/chat/index.mjs +70 -59
- package/chunk-file-uploader/index.mjs +594 -35
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/CountUp.f1a19f35.mjs +124 -0
- package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +8 -0
- package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +32 -0
- package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +356 -0
- package/chunks/ElementDialog.d8f3105c.mjs +211 -0
- package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +95 -0
- package/chunks/EmptyView.e2430422.mjs +51 -0
- package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +23 -0
- package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +37 -0
- package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +65 -0
- package/chunks/FormItem.2920ac0c.mjs +45 -0
- package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +258 -0
- package/chunks/FormItemGroup.41daddb6.mjs +64 -0
- package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +155 -0
- package/chunks/FyCurd.8acd2983.mjs +548 -0
- package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +2945 -0
- package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +47 -0
- package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +151 -0
- package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +22 -0
- package/chunks/FyForm.0294e494.mjs +439 -0
- package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +737 -0
- package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +93 -0
- package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +56 -0
- package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +158 -0
- package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +39 -0
- package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +102 -0
- package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +41 -0
- package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +15 -0
- package/chunks/IconTemp.42c48e1f.mjs +32 -0
- package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +23 -0
- package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +172 -0
- package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +23 -0
- package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +21 -0
- package/chunks/Page.81f4b8d9.mjs +32 -0
- package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +13 -0
- package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +26 -0
- package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +88 -0
- package/chunks/PageableTable.333cbdc1.mjs +335 -0
- package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +148 -0
- package/chunks/ResizeObserver.60f728f0.mjs +54 -0
- package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +13 -0
- package/chunks/TableColumn.8503272e.mjs +106 -0
- package/chunks/Toolbar.5c539dbb.mjs +24 -0
- package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +275 -0
- package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +31 -0
- package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +74 -0
- package/chunks/confirmable-mixin.26e1d0e0.mjs +197 -0
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.816df805.mjs} +5 -5
- package/chunks/{dic.eaac0823.mjs → dic.3b4ba802.mjs} +40 -40
- package/chunks/{event.b5d855dd.mjs → event.4377230d.mjs} +2 -2
- package/chunks/{index.57f871af.mjs → index.d91bd77a.mjs} +7 -7
- package/chunks/{init.47f219b4.mjs → init.f0a03127.mjs} +2 -2
- package/chunks/{util.ae730cde.mjs → util.7844e2c2.mjs} +21 -21
- package/color-picker/index.mjs +200 -32
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/count-up/index.mjs +14 -17
- package/data-box/index.mjs +36 -33
- package/data-card/index.mjs +35 -33
- package/data-cardtext/index.mjs +29 -27
- package/data-display/index.mjs +37 -34
- package/data-icons/index.mjs +32 -29
- package/data-imgtext/index.mjs +30 -27
- package/data-operatext/index.mjs +41 -39
- package/data-panel/index.mjs +39 -36
- package/data-pay/index.mjs +26 -22
- package/data-price/index.mjs +34 -32
- package/data-progress/index.mjs +32 -28
- package/data-rotate/index.mjs +38 -35
- package/data-table-picker/index.mjs +25 -22
- package/data-tabs/index.mjs +35 -32
- package/dialog-form/index.mjs +41 -32
- package/dynamic-table/index.mjs +47 -42
- package/easy-popup/index.mjs +29 -56
- package/editable-progress/index.mjs +16 -14
- package/editable-tree/index.mjs +129 -476
- package/egd-collapse-item/index.mjs +1 -2
- package/element-dialog/index.mjs +37 -126
- package/empty-view/index.mjs +13 -31
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow/index.mjs +105 -40
- package/flow-designer/index.mjs +1190 -1114
- package/flow-node/index.mjs +15 -47
- package/flow-viewer/index.mjs +167 -78
- package/form-block/index.mjs +24 -22
- package/form-cascader/index.mjs +29 -29
- package/form-checkbox-group/index.mjs +76 -31
- package/form-date-picker/index.mjs +21 -20
- package/form-holder/index.mjs +16 -15
- package/form-input/index.mjs +30 -88
- package/form-input-email/index.mjs +28 -28
- package/form-input-id-card/index.mjs +37 -37
- package/form-input-number/index.mjs +219 -59
- package/form-input-phone-number/index.mjs +25 -25
- package/form-input-tag/index.mjs +160 -38
- package/form-input-time/index.mjs +23 -23
- package/form-item/index.mjs +15 -144
- package/form-item-group/index.mjs +15 -163
- package/form-radio-group/index.mjs +39 -38
- package/form-select/index.mjs +33 -32
- package/form-switch/index.mjs +26 -26
- package/form-textarea/index.mjs +26 -26
- package/form-view/index.mjs +46 -42
- package/fy-array/index.mjs +65 -61
- package/fy-cascader/index.mjs +14 -13
- package/fy-checkbox/index.mjs +37 -32
- package/fy-code/index.mjs +11 -14
- package/fy-curd/index.mjs +206 -2795
- package/fy-date/index.mjs +16 -57
- package/fy-draggable/index.mjs +21 -20
- package/fy-dynamic/index.mjs +64 -207
- package/fy-empty/index.mjs +12 -29
- package/fy-form/index.mjs +178 -732
- package/fy-form-design/index.mjs +1738 -1179
- package/fy-input/index.mjs +15 -101
- package/fy-input-color/index.mjs +17 -66
- package/fy-input-icon/index.mjs +21 -116
- package/fy-input-map/index.mjs +27 -24
- package/fy-input-number/index.mjs +23 -22
- package/fy-input-table/index.mjs +22 -18
- package/fy-input-tree/index.mjs +32 -28
- package/fy-progress/index.mjs +24 -23
- package/fy-radio/index.mjs +23 -18
- package/fy-rate/index.mjs +16 -49
- package/fy-select/index.mjs +29 -122
- package/fy-slider/index.mjs +18 -17
- package/fy-switch/index.mjs +21 -20
- package/fy-tabs/index.mjs +14 -48
- package/fy-time/index.mjs +20 -14
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +26 -20
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +76 -74
- package/guide-steps/index.mjs +24 -22
- package/highlight-j-s/index.mjs +19 -29
- package/icon-temp/index.mjs +12 -30
- package/iframe-window/index.mjs +19 -18
- package/image-cropper/index.mjs +53 -51
- package/image-preview/index.mjs +27 -25
- package/input-number/index.mjs +63 -172
- package/input-number-range/index.mjs +24 -23
- package/license/index.mjs +1 -1
- package/loading-view/index.mjs +15 -33
- package/login/index.mjs +40 -35
- package/nav-bar/index.mjs +15 -30
- package/notice/index.mjs +19 -18
- package/package.json +1 -1
- package/page/index.mjs +12 -20
- package/page-header/index.mjs +13 -34
- package/page-index/index.mjs +34 -33
- package/page-index-top/index.mjs +100 -51
- package/page-skeleton/index.mjs +18 -35
- package/page-skeleton-new/index.mjs +16 -15
- package/pageable-table/index.mjs +85 -223
- package/pageable-view/index.mjs +34 -33
- package/present-view/index.mjs +75 -71
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +21 -29
- package/search/index.mjs +29 -27
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/split-pane/index.mjs +40 -45
- package/static-pageable-table/index.mjs +20 -18
- package/swiper/index.mjs +27 -25
- package/table-view/index.mjs +627 -89
- package/tag-render/index.mjs +21 -19
- package/text-ellipsis/index.mjs +13 -12
- package/tinymce-editor/index.mjs +73 -72
- package/toolbar/index.mjs +15 -208
- package/toolbar-button/index.mjs +32 -57
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +112 -104
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +51 -117
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- package/chunks/confirmable-mixin.817b542f.mjs +0 -116
- package/chunks/form-input-mixin.4632ad36.mjs +0 -24
- package/chunks/form-item-mixin.ad148e7b.mjs +0 -140
- package/chunks/input-number-mixin.41a066be.mjs +0 -60
package/address-input/index.mjs
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import r from "element-ui/lib/input";
|
|
2
|
+
import l from "element-ui/lib/cascader";
|
|
3
|
+
import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
|
+
var i = function() {
|
|
3
5
|
var e = this, a = e.$createElement, t = e._self._c || a;
|
|
4
6
|
return t("div", {
|
|
5
7
|
staticClass: "address-input-wrapper flex-row"
|
|
6
8
|
}, [t("div", {
|
|
7
9
|
staticClass: "address-input-item-wrapper"
|
|
8
|
-
}, [t(
|
|
10
|
+
}, [t(l, {
|
|
9
11
|
attrs: {
|
|
10
12
|
options: e.options,
|
|
11
13
|
disabled: e.inputDisabled,
|
|
@@ -23,7 +25,7 @@ var r = function() {
|
|
|
23
25
|
}
|
|
24
26
|
})], 1), t("div", {
|
|
25
27
|
staticClass: "address-input-item-wrapper flex-item"
|
|
26
|
-
}, [t(
|
|
28
|
+
}, [t(r, {
|
|
27
29
|
attrs: {
|
|
28
30
|
placeholder: "请输入详细地址!",
|
|
29
31
|
disabled: e.inputDisabled
|
|
@@ -36,8 +38,8 @@ var r = function() {
|
|
|
36
38
|
expression: "internalVal.detailAddress"
|
|
37
39
|
}
|
|
38
40
|
})], 1)]);
|
|
39
|
-
},
|
|
40
|
-
const
|
|
41
|
+
}, o = [];
|
|
42
|
+
const u = {
|
|
41
43
|
name: "AddressInput",
|
|
42
44
|
inject: {
|
|
43
45
|
elForm: {
|
|
@@ -91,23 +93,23 @@ const i = {
|
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
}, d = {};
|
|
94
|
-
var
|
|
96
|
+
var p = /* @__PURE__ */ n(
|
|
97
|
+
u,
|
|
95
98
|
i,
|
|
96
|
-
r,
|
|
97
|
-
n,
|
|
98
|
-
!1,
|
|
99
99
|
o,
|
|
100
|
+
!1,
|
|
101
|
+
c,
|
|
100
102
|
null,
|
|
101
103
|
null,
|
|
102
104
|
null
|
|
103
105
|
);
|
|
104
|
-
function
|
|
106
|
+
function c(e) {
|
|
105
107
|
for (let a in d)
|
|
106
108
|
this[a] = d[a];
|
|
107
109
|
}
|
|
108
|
-
const
|
|
109
|
-
return
|
|
110
|
+
const v = /* @__PURE__ */ function() {
|
|
111
|
+
return p.exports;
|
|
110
112
|
}();
|
|
111
113
|
export {
|
|
112
|
-
|
|
114
|
+
v as default
|
|
113
115
|
};
|
package/awesome-button/index.mjs
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g = Object.defineProperty, h = Object.defineProperties;
|
|
2
2
|
var y = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var l = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var c = (o, t, e) => t in o ?
|
|
4
|
+
var v = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var c = (o, t, e) => t in o ? g(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, p = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
v.call(t, e) && c(o, e, t[e]);
|
|
8
8
|
if (l)
|
|
9
9
|
for (var e of l(t))
|
|
10
|
-
|
|
10
|
+
x.call(t, e) && c(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var d = (o, t, e) => new Promise((
|
|
12
|
+
}, u = (o, t) => h(o, y(t));
|
|
13
|
+
var d = (o, t, e) => new Promise((i, a) => {
|
|
14
14
|
var f = (n) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
16
|
+
s(e.next(n));
|
|
17
17
|
} catch (r) {
|
|
18
18
|
a(r);
|
|
19
19
|
}
|
|
20
20
|
}, m = (n) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
22
|
+
s(e.throw(n));
|
|
23
23
|
} catch (r) {
|
|
24
24
|
a(r);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, s = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(f, m);
|
|
27
|
+
s((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { isFunction as
|
|
30
|
-
import
|
|
31
|
-
|
|
29
|
+
import { isFunction as B, error as S } from "@web-utils/core";
|
|
30
|
+
import k from "element-ui/lib/button";
|
|
31
|
+
import { n as L } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
32
|
+
const b = {
|
|
32
33
|
props: {
|
|
33
34
|
type: {
|
|
34
35
|
type: String,
|
|
@@ -49,9 +50,9 @@ const L = {
|
|
|
49
50
|
autofocus: Boolean,
|
|
50
51
|
round: Boolean
|
|
51
52
|
}
|
|
52
|
-
},
|
|
53
|
+
}, w = {
|
|
53
54
|
name: "AwesomeButton",
|
|
54
|
-
mixins: [
|
|
55
|
+
mixins: [b],
|
|
55
56
|
props: {
|
|
56
57
|
text: {
|
|
57
58
|
type: String,
|
|
@@ -68,7 +69,7 @@ const L = {
|
|
|
68
69
|
return d(this, null, function* () {
|
|
69
70
|
this.isLoading = !0;
|
|
70
71
|
const { click: t } = this.$listeners;
|
|
71
|
-
if (
|
|
72
|
+
if (B(t))
|
|
72
73
|
try {
|
|
73
74
|
yield t(o);
|
|
74
75
|
} catch (e) {
|
|
@@ -79,34 +80,34 @@ const L = {
|
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
render(o) {
|
|
82
|
-
var e,
|
|
83
|
-
const t = (
|
|
83
|
+
var e, i;
|
|
84
|
+
const t = (i = (e = this.$scopedSlots).default) == null ? void 0 : i.call(e);
|
|
84
85
|
return o(
|
|
85
|
-
|
|
86
|
-
{ on: { click: this.onClick }, props: p(
|
|
86
|
+
k,
|
|
87
|
+
{ on: { click: this.onClick }, props: u(p({}, this.$props), { disabled: this.isLoading }) },
|
|
87
88
|
t && (t[0].tag || t[0].text) ? t : this.text
|
|
88
89
|
);
|
|
89
90
|
}
|
|
90
91
|
};
|
|
91
|
-
let
|
|
92
|
+
let C, $;
|
|
92
93
|
const _ = {};
|
|
93
|
-
var
|
|
94
|
-
b,
|
|
94
|
+
var z = /* @__PURE__ */ L(
|
|
95
95
|
w,
|
|
96
96
|
C,
|
|
97
|
+
$,
|
|
97
98
|
!1,
|
|
98
|
-
|
|
99
|
+
A,
|
|
99
100
|
null,
|
|
100
101
|
null,
|
|
101
102
|
null
|
|
102
103
|
);
|
|
103
|
-
function
|
|
104
|
+
function A(o) {
|
|
104
105
|
for (let t in _)
|
|
105
106
|
this[t] = _[t];
|
|
106
107
|
}
|
|
107
|
-
const
|
|
108
|
-
return
|
|
108
|
+
const R = /* @__PURE__ */ function() {
|
|
109
|
+
return z.exports;
|
|
109
110
|
}();
|
|
110
111
|
export {
|
|
111
|
-
|
|
112
|
+
R as default
|
|
112
113
|
};
|
package/card/index.mjs
CHANGED
|
@@ -1,67 +1,69 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import r from "element-ui/lib/col";
|
|
2
|
+
import o from "element-ui/lib/row";
|
|
3
|
+
import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
|
+
var _ = function() {
|
|
5
|
+
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
6
|
+
return n("div", {
|
|
5
7
|
staticClass: "avue-card"
|
|
6
|
-
}, [
|
|
8
|
+
}, [n(o, {
|
|
7
9
|
attrs: {
|
|
8
10
|
span: 24,
|
|
9
11
|
gutter: t.gutter
|
|
10
12
|
}
|
|
11
|
-
}, [t.option.addBtn ?
|
|
13
|
+
}, [t.option.addBtn ? n(r, {
|
|
12
14
|
attrs: {
|
|
13
15
|
span: t.span
|
|
14
16
|
}
|
|
15
|
-
}, [
|
|
17
|
+
}, [n("div", {
|
|
16
18
|
staticClass: "avue-card__item avue-card__item--add",
|
|
17
19
|
on: {
|
|
18
|
-
click: function(
|
|
20
|
+
click: function(a) {
|
|
19
21
|
return t.rowAdd();
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
|
-
}, [
|
|
24
|
+
}, [n("i", {
|
|
23
25
|
staticClass: "el-icon-plus"
|
|
24
|
-
}),
|
|
25
|
-
return
|
|
26
|
-
key:
|
|
26
|
+
}), n("span", [t._v("添加")])])]) : t._e(), t._l(t.data, function(a, i) {
|
|
27
|
+
return n(r, {
|
|
28
|
+
key: i,
|
|
27
29
|
attrs: {
|
|
28
30
|
span: t.span
|
|
29
31
|
}
|
|
30
|
-
}, [
|
|
32
|
+
}, [n("div", {
|
|
31
33
|
staticClass: "avue-card__item",
|
|
32
34
|
on: {
|
|
33
|
-
click: function(
|
|
34
|
-
return t.rowClick(
|
|
35
|
+
click: function(f) {
|
|
36
|
+
return t.rowClick(a, i);
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
}, [
|
|
39
|
+
}, [n("div", {
|
|
38
40
|
staticClass: "avue-card__body"
|
|
39
|
-
}, [
|
|
41
|
+
}, [n("div", {
|
|
40
42
|
staticClass: "avue-card__avatar"
|
|
41
|
-
}, [
|
|
43
|
+
}, [n("img", {
|
|
42
44
|
attrs: {
|
|
43
|
-
src:
|
|
45
|
+
src: a[t.imgKey],
|
|
44
46
|
alt: ""
|
|
45
47
|
}
|
|
46
|
-
})]),
|
|
48
|
+
})]), n("div", {
|
|
47
49
|
staticClass: "avue-card__detail"
|
|
48
|
-
}, [
|
|
50
|
+
}, [n("div", {
|
|
49
51
|
staticClass: "avue-card__title"
|
|
50
|
-
}, [t._v(" " + t._s(
|
|
52
|
+
}, [t._v(" " + t._s(a[t.titleKey]) + " ")]), n("div", {
|
|
51
53
|
staticClass: "avue-card__info"
|
|
52
|
-
}, [t._v(" " + t._s(
|
|
54
|
+
}, [t._v(" " + t._s(a[t.infoKey]) + " ")])])]), n("div", {
|
|
53
55
|
staticClass: "avue-card__menu"
|
|
54
56
|
}, [t._t("menu", null, {
|
|
55
|
-
index:
|
|
56
|
-
row:
|
|
57
|
+
index: i,
|
|
58
|
+
row: a
|
|
57
59
|
})], 2)])]);
|
|
58
60
|
})], 2)], 1);
|
|
59
|
-
},
|
|
60
|
-
const
|
|
61
|
+
}, c = [];
|
|
62
|
+
const l = {
|
|
61
63
|
img: "img",
|
|
62
64
|
title: "title",
|
|
63
65
|
info: "info"
|
|
64
|
-
},
|
|
66
|
+
}, p = {
|
|
65
67
|
name: "Card",
|
|
66
68
|
props: {
|
|
67
69
|
option: {
|
|
@@ -75,7 +77,7 @@ const u = {
|
|
|
75
77
|
},
|
|
76
78
|
data() {
|
|
77
79
|
return {
|
|
78
|
-
propsDefault:
|
|
80
|
+
propsDefault: l
|
|
79
81
|
};
|
|
80
82
|
},
|
|
81
83
|
computed: {
|
|
@@ -103,24 +105,24 @@ const u = {
|
|
|
103
105
|
this.$emit("row-click", t, e);
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
|
-
},
|
|
107
|
-
var
|
|
108
|
+
}, s = {};
|
|
109
|
+
var d = /* @__PURE__ */ u(
|
|
110
|
+
p,
|
|
111
|
+
_,
|
|
108
112
|
c,
|
|
109
|
-
o,
|
|
110
|
-
l,
|
|
111
113
|
!1,
|
|
112
|
-
|
|
114
|
+
v,
|
|
113
115
|
null,
|
|
114
116
|
null,
|
|
115
117
|
null
|
|
116
118
|
);
|
|
117
|
-
function
|
|
118
|
-
for (let e in
|
|
119
|
-
this[e] =
|
|
119
|
+
function v(t) {
|
|
120
|
+
for (let e in s)
|
|
121
|
+
this[e] = s[e];
|
|
120
122
|
}
|
|
121
|
-
const
|
|
122
|
-
return
|
|
123
|
+
const h = /* @__PURE__ */ function() {
|
|
124
|
+
return d.exports;
|
|
123
125
|
}();
|
|
124
126
|
export {
|
|
125
|
-
|
|
127
|
+
h as default
|
|
126
128
|
};
|
package/carousel/index.mjs
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import s from "element-ui/lib/carousel-item";
|
|
2
|
+
import l from "element-ui/lib/carousel";
|
|
3
|
+
import { n as i } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
|
+
var u = function() {
|
|
5
|
+
var t = this, a = t.$createElement, e = t._self._c || a;
|
|
4
6
|
return e("div", {
|
|
5
7
|
class: ["avue-carousel", {
|
|
6
8
|
"avue-carousel--fullscreen": t.option.fullscreen
|
|
7
9
|
}]
|
|
8
|
-
}, [e(
|
|
10
|
+
}, [e(l, {
|
|
9
11
|
attrs: {
|
|
10
12
|
type: t.option.type,
|
|
11
13
|
height: `${t.option.height}px`,
|
|
@@ -13,27 +15,27 @@ var l = function() {
|
|
|
13
15
|
interval: t.option.interval,
|
|
14
16
|
"indicator-position": "outside"
|
|
15
17
|
}
|
|
16
|
-
}, t._l(t.data, function(
|
|
17
|
-
return e(
|
|
18
|
-
key:
|
|
18
|
+
}, t._l(t.data, function(o, r) {
|
|
19
|
+
return e(s, {
|
|
20
|
+
key: r
|
|
19
21
|
}, [e("div", {
|
|
20
22
|
staticClass: "avue-carousel__item"
|
|
21
23
|
}, [e("a", {
|
|
22
24
|
attrs: {
|
|
23
|
-
href:
|
|
24
|
-
target:
|
|
25
|
+
href: o.href ? o.href : "javascript:void(0);",
|
|
26
|
+
target: o.target
|
|
25
27
|
}
|
|
26
28
|
}, [e("div", {
|
|
27
29
|
staticClass: "avue-carousel__img",
|
|
28
30
|
style: {
|
|
29
|
-
backgroundImage: `url(${
|
|
31
|
+
backgroundImage: `url(${o.src})`
|
|
30
32
|
}
|
|
31
|
-
}),
|
|
33
|
+
}), o.title ? e("div", {
|
|
32
34
|
staticClass: "avue-carousel__title"
|
|
33
|
-
}, [t._v(t._s(
|
|
35
|
+
}, [t._v(t._s(o.title))]) : t._e()])])]);
|
|
34
36
|
}), 1)], 1);
|
|
35
|
-
},
|
|
36
|
-
const
|
|
37
|
+
}, _ = [];
|
|
38
|
+
const c = {
|
|
37
39
|
name: "Carousel",
|
|
38
40
|
props: {
|
|
39
41
|
option: {
|
|
@@ -47,24 +49,24 @@ const i = {
|
|
|
47
49
|
return this.option.data || [];
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
|
-
},
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
l,
|
|
52
|
+
}, n = {};
|
|
53
|
+
var p = /* @__PURE__ */ i(
|
|
54
|
+
c,
|
|
54
55
|
u,
|
|
55
|
-
!1,
|
|
56
56
|
_,
|
|
57
|
+
!1,
|
|
58
|
+
v,
|
|
57
59
|
null,
|
|
58
60
|
null,
|
|
59
61
|
null
|
|
60
62
|
);
|
|
61
|
-
function
|
|
62
|
-
for (let
|
|
63
|
-
this[
|
|
63
|
+
function v(t) {
|
|
64
|
+
for (let a in n)
|
|
65
|
+
this[a] = n[a];
|
|
64
66
|
}
|
|
65
|
-
const
|
|
66
|
-
return
|
|
67
|
+
const h = /* @__PURE__ */ function() {
|
|
68
|
+
return p.exports;
|
|
67
69
|
}();
|
|
68
70
|
export {
|
|
69
|
-
|
|
71
|
+
h as default
|
|
70
72
|
};
|