@web-utils/component 3.1.0 → 3.2.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 +1 -1
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +13 -13
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +6 -6
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +5 -5
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +13 -13
- package/card/style.css +1 -1
- package/carousel/index.mjs +9 -9
- package/carousel/style.css +1 -1
- package/chat/index.mjs +2 -2
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +9 -9
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.aa57efb4.mjs → FormTemp.0eqGAu6W.mjs} +4 -4
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.Ab9PZnVk.mjs} +1 -1
- package/chunks/{dic.eaac0823.mjs → dic.7JBaVHv6.mjs} +1 -1
- package/chunks/{event.b5d855dd.mjs → event.lbJYeMJp.mjs} +3 -3
- package/chunks/{form-input-mixin.4632ad36.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.ad148e7b.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{init.47f219b4.mjs → init.6oF7OO2W.mjs} +3 -3
- package/code-mirror-editor/index.mjs +24 -24
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +3 -3
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +4 -4
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +10 -10
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +4 -4
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +3 -3
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +5 -5
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +10 -10
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +3 -3
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +6 -6
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +11 -11
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +8 -8
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +7 -7
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +9 -9
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +4 -4
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +11 -11
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +1 -1
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +6 -6
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +49 -49
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +14 -14
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +4 -4
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +3 -3
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +2 -2
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +3 -3
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +5 -5
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +27 -29
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +11 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +14 -14
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +20 -20
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +3 -3
- package/form-input-email/index.mjs +3 -3
- package/form-input-id-card/index.mjs +3 -3
- package/form-input-number/index.mjs +9 -9
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +3 -3
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +3 -3
- package/form-item/index.mjs +10 -10
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +2 -2
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +25 -25
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +4 -4
- package/form-switch/index.mjs +3 -3
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +15 -15
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +19 -19
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +1 -1
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +7 -7
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +11 -13
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +9 -9
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +2 -2
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +5 -5
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +5 -5
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +15 -17
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +21 -25
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +26 -26
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +12 -12
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +6 -6
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +2 -2
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +10 -10
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +16 -16
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +9 -9
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +5 -5
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +13 -13
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +17 -17
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +24 -24
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +3 -3
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +4 -4
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +3 -3
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +4 -4
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +8 -8
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/image-viewer/style.css +1 -1
- package/index.mjs +500 -3983
- package/input-number/index.mjs +4 -4
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +6 -6
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +6 -6
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +7 -7
- package/loading-view/style.css +1 -1
- package/login/index.mjs +6 -6
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +7 -7
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +10 -10
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +1 -1
- package/notice/style.css +1 -1
- package/package.json +5 -5
- package/page/index.mjs +6 -6
- package/page/style.css +1 -1
- package/page-header/index.mjs +3 -3
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +13 -13
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +9 -9
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +1 -1
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +18 -18
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +13 -13
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/present-view/index.mjs +7 -7
- package/present-view/style.css +1 -1
- package/queue/index.mjs +1 -1
- package/queue/style.css +1 -1
- package/record-video/index.mjs +2 -2
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +4 -4
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +9 -9
- package/search/style.css +1 -1
- package/search-popover/index.mjs +18 -18
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +15 -15
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +7 -7
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +47 -48
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +19 -19
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +7 -7
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +4 -4
- package/swiper/style.css +1 -1
- package/tab/index.mjs +8 -8
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +10 -10
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +7 -7
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +4 -4
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +21 -22
- package/tinymce-editor/style.css +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +13 -13
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +15 -15
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +2 -3
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +1 -1
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +2 -3
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +8 -8
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +19 -19
- package/watermark/style.css +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +5 -5
- package/x-input-tag/style.css +1 -1
- package/index.css +0 -1
- /package/chunks/{_plugin-vue2_normalizer.446f5dc4.mjs → _plugin-vue2_normalizer.JwmUNtgn.mjs} +0 -0
- /package/chunks/{confirmable-mixin.817b542f.mjs → confirmable-mixin.GqdyYLEM.mjs} +0 -0
- /package/chunks/{form-pick-mixin.61ad06b2.mjs → form-pick-mixin.y-qhZJi6.mjs} +0 -0
- /package/chunks/{index.57f871af.mjs → index.LGsb2aDq.mjs} +0 -0
- /package/chunks/{input-number-mixin.41a066be.mjs → input-number-mixin.GE2zr_3s.mjs} +0 -0
- /package/chunks/{json-beautifier.21cfffea.mjs → json-beautifier.fUZFSW5j.mjs} +0 -0
- /package/chunks/{packages.1fc9ccba.mjs → packages.v6r2Hr7E.mjs} +0 -0
- /package/chunks/{permission.ce5d2121.mjs → permission.E9kZbW48.mjs} +0 -0
- /package/chunks/{slot.4b391395.mjs → slot.j1uMmBnG.mjs} +0 -0
- /package/chunks/{tab-mixin.e2b9c6a4.mjs → tab-mixin.tM9jcRT8.mjs} +0 -0
- /package/chunks/{util.ae730cde.mjs → util.y1gUGRqi.mjs} +0 -0
package/split-pane/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var l = (
|
|
1
|
+
var l = (e, t, s) => new Promise((o, i) => {
|
|
2
2
|
var n = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
a(s.next(r));
|
|
@@ -12,28 +12,28 @@ var l = (t, e, s) => new Promise((o, i) => {
|
|
|
12
12
|
i(f);
|
|
13
13
|
}
|
|
14
14
|
}, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(n, c);
|
|
15
|
-
a((s = s.apply(
|
|
15
|
+
a((s = s.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { n as u } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
18
18
|
import d from "@web-utils/component/resize-observer";
|
|
19
19
|
import "@web-utils/component/resize-observer/style.css";
|
|
20
|
-
function g(
|
|
21
|
-
for (let s = 0; s <
|
|
22
|
-
if (
|
|
20
|
+
function g(e, t) {
|
|
21
|
+
for (let s = 0; s < t.length; s++)
|
|
22
|
+
if (e === t[s])
|
|
23
23
|
return !0;
|
|
24
24
|
return !1;
|
|
25
25
|
}
|
|
26
26
|
const h = function() {
|
|
27
|
-
return document.addEventListener ? function(
|
|
28
|
-
|
|
29
|
-
} : function(
|
|
30
|
-
|
|
27
|
+
return document.addEventListener ? function(e, t, s) {
|
|
28
|
+
e && t && s && e.addEventListener(t, s, !1);
|
|
29
|
+
} : function(e, t, s) {
|
|
30
|
+
e && t && s && e.attachEvent(`on${t}`, s);
|
|
31
31
|
};
|
|
32
32
|
}(), p = function() {
|
|
33
|
-
return document.removeEventListener ? function(
|
|
34
|
-
|
|
35
|
-
} : function(
|
|
36
|
-
|
|
33
|
+
return document.removeEventListener ? function(e, t, s) {
|
|
34
|
+
e && t && e.removeEventListener(t, s, !1);
|
|
35
|
+
} : function(e, t, s) {
|
|
36
|
+
e && t && e.detachEvent(`on${t}`, s);
|
|
37
37
|
};
|
|
38
38
|
}(), m = {
|
|
39
39
|
name: "Trigger",
|
|
@@ -67,14 +67,14 @@ const h = function() {
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
var v = function() {
|
|
70
|
-
var
|
|
71
|
-
return s("div", { class:
|
|
70
|
+
var t = this, s = t._self._c;
|
|
71
|
+
return s("div", { class: t.classes }, [t.showIcon ? s("div", { class: t.barConClasses }, t._m(0), 0) : t._e()]);
|
|
72
72
|
}, x = [function() {
|
|
73
|
-
var
|
|
74
|
-
return
|
|
75
|
-
return
|
|
73
|
+
var e = this, t = e._self._c;
|
|
74
|
+
return e._l(8, function(s) {
|
|
75
|
+
return t("i", { key: `trigger-${s}`, class: `${e.prefix}-bar` });
|
|
76
76
|
});
|
|
77
|
-
}],
|
|
77
|
+
}], $ = /* @__PURE__ */ u(
|
|
78
78
|
m,
|
|
79
79
|
v,
|
|
80
80
|
x,
|
|
@@ -84,11 +84,10 @@ var v = function() {
|
|
|
84
84
|
null,
|
|
85
85
|
null
|
|
86
86
|
);
|
|
87
|
-
const
|
|
88
|
-
const z = {
|
|
87
|
+
const _ = $.exports, z = {
|
|
89
88
|
name: "SplitPane",
|
|
90
89
|
components: {
|
|
91
|
-
Trigger:
|
|
90
|
+
Trigger: _,
|
|
92
91
|
ResizeObserver: d
|
|
93
92
|
},
|
|
94
93
|
props: {
|
|
@@ -97,8 +96,8 @@ const z = {
|
|
|
97
96
|
default: 0.5
|
|
98
97
|
},
|
|
99
98
|
mode: {
|
|
100
|
-
validator(
|
|
101
|
-
return g(
|
|
99
|
+
validator(e) {
|
|
100
|
+
return g(e, ["horizontal", "vertical"]);
|
|
102
101
|
},
|
|
103
102
|
default: "horizontal"
|
|
104
103
|
},
|
|
@@ -165,44 +164,44 @@ const z = {
|
|
|
165
164
|
resetOffset() {
|
|
166
165
|
this.offset = (this.valueIsPx ? this.px2percent(this.value, this.$refs.outerWrapper[this.offsetSize]) : this.value) * 1e4 / 100;
|
|
167
166
|
},
|
|
168
|
-
px2percent(
|
|
169
|
-
return parseFloat(
|
|
167
|
+
px2percent(e, t) {
|
|
168
|
+
return parseFloat(e) / parseFloat(t);
|
|
170
169
|
},
|
|
171
|
-
getComputedThresholdValue(
|
|
172
|
-
const
|
|
173
|
-
return this.valueIsPx ? typeof this[
|
|
170
|
+
getComputedThresholdValue(e) {
|
|
171
|
+
const t = this.$refs.outerWrapper[this.offsetSize];
|
|
172
|
+
return this.valueIsPx ? typeof this[e] == "string" ? this[e] : t * this[e] : typeof this[e] == "string" ? this.px2percent(this[e], t) : this[e];
|
|
174
173
|
},
|
|
175
|
-
getMin(
|
|
176
|
-
return this.valueIsPx ? `${Math.min(parseFloat(
|
|
174
|
+
getMin(e, t) {
|
|
175
|
+
return this.valueIsPx ? `${Math.min(parseFloat(e), parseFloat(t))}px` : Math.min(e, t);
|
|
177
176
|
},
|
|
178
|
-
getMax(
|
|
179
|
-
return this.valueIsPx ? `${Math.max(parseFloat(
|
|
177
|
+
getMax(e, t) {
|
|
178
|
+
return this.valueIsPx ? `${Math.max(parseFloat(e), parseFloat(t))}px` : Math.max(e, t);
|
|
180
179
|
},
|
|
181
|
-
getAnotherOffset(
|
|
182
|
-
let
|
|
183
|
-
return this.valueIsPx ?
|
|
180
|
+
getAnotherOffset(e) {
|
|
181
|
+
let t = 0;
|
|
182
|
+
return this.valueIsPx ? t = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(e)}px` : t = 1 - e, t;
|
|
184
183
|
},
|
|
185
|
-
handleMove(
|
|
186
|
-
const s = (this.isHorizontal ?
|
|
184
|
+
handleMove(e) {
|
|
185
|
+
const s = (this.isHorizontal ? e.pageX : e.pageY) - this.initOffset, o = this.$refs.outerWrapper[this.offsetSize];
|
|
187
186
|
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(o * this.oldOffset + s, o);
|
|
188
187
|
const n = this.getAnotherOffset(i);
|
|
189
|
-
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(n) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(n, this.computedMax))),
|
|
188
|
+
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(n) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(n, this.computedMax))), e.atMin = this.value === this.computedMin, e.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5), this.$emit("input", i), this.$emit("on-moving", e);
|
|
190
189
|
},
|
|
191
190
|
handleUp() {
|
|
192
191
|
this.isMoving = !1, p(window, "mousemove", this.handleMove), p(window, "mouseup", this.handleUp), this.$emit("on-move-end");
|
|
193
192
|
},
|
|
194
|
-
handleMousedown(
|
|
195
|
-
this.initOffset = this.isHorizontal ?
|
|
193
|
+
handleMousedown(e) {
|
|
194
|
+
this.initOffset = this.isHorizontal ? e.pageX : e.pageY, this.oldOffset = this.value, this.isMoving = !0, h(window, "mousemove", this.handleMove), h(window, "mouseup", this.handleUp), this.$emit("on-move-start");
|
|
196
195
|
}
|
|
197
196
|
}
|
|
198
197
|
};
|
|
199
198
|
var M = function() {
|
|
200
|
-
var
|
|
201
|
-
return s("div", { ref: "outerWrapper", class:
|
|
199
|
+
var t = this, s = t._self._c;
|
|
200
|
+
return s("div", { ref: "outerWrapper", class: t.wrapperClasses }, [t.isHorizontal ? s("div", { class: `${t.prefix}-horizontal` }, [t.hideLeft ? s("div", { class: [`${t.prefix}-pane`, "right-pane"], staticStyle: { left: "0" } }, [t._t("right")], 2) : [s("div", { class: [`${t.prefix}-pane`, "left-pane"], style: { right: `${t.anotherOffset}%` } }, [t._t("left")], 2), s("div", { class: `${t.prefix}-trigger-con`, style: { left: `calc(${t.offset}% + ${t.triggerSize / 2}px)`, width: `${t.triggerSize}px` }, on: { mousedown: t.handleMousedown } }, [t._t("trigger", function() {
|
|
202
201
|
return [s("Trigger", { attrs: { mode: "vertical" } })];
|
|
203
|
-
})], 2), s("div", { class: [`${
|
|
202
|
+
})], 2), s("div", { class: [`${t.prefix}-pane`, "right-pane"], style: { left: `calc(${t.offset}% + ${t.triggerSize}px)` } }, [t._t("right")], 2)]], 2) : s("div", { class: `${t.prefix}-vertical` }, [s("div", { class: [`${t.prefix}-pane`, "top-pane"], style: { bottom: `${t.anotherOffset}%` } }, [t._t("top")], 2), s("div", { class: `${t.prefix}-trigger-con`, style: { top: `calc(${t.offset}% + ${t.triggerSize / 2}px)`, height: `${t.triggerSize}px` }, on: { mousedown: t.handleMousedown } }, [t._t("trigger", function() {
|
|
204
203
|
return [s("Trigger", { attrs: { mode: "horizontal" } })];
|
|
205
|
-
})], 2), s("div", { class: [`${
|
|
204
|
+
})], 2), s("div", { class: [`${t.prefix}-pane`, "bottom-pane"], style: { top: `calc(${t.offset}% + ${t.triggerSize}px)` } }, [t._t("bottom")], 2)]), s("ResizeObserver", { on: { notify: t.resetOffset } })], 1);
|
|
206
205
|
}, O = [], w = /* @__PURE__ */ u(
|
|
207
206
|
z,
|
|
208
207
|
M,
|
|
@@ -213,7 +212,7 @@ var M = function() {
|
|
|
213
212
|
null,
|
|
214
213
|
null
|
|
215
214
|
);
|
|
216
|
-
const
|
|
215
|
+
const C = w.exports;
|
|
217
216
|
export {
|
|
218
|
-
|
|
217
|
+
C as default
|
|
219
218
|
};
|
package/split-pane/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.egd-split-wrapper{width:100%;height:100%;position:relative}.egd-split-pane{position:absolute}.egd-split-pane.left-pane,.egd-split-pane.right-pane{top:0;bottom:0}.egd-split-pane.left-pane{left:0}.egd-split-pane.right-pane{right:0}.egd-split-pane.top-pane,.egd-split-pane.bottom-pane{left:0;right:0}.egd-split-pane.top-pane{top:0}.egd-split-pane.bottom-pane{bottom:0}.egd-split-trigger-con{z-index:10;position:absolute;transform:translate(-50%,-50%)}.egd-split-trigger-bar-con{position:absolute;overflow:hidden}.egd-split-trigger-bar-con.vertical{height:32px;top:50%;left:1px;transform:translateY(-50%)}.egd-split-trigger-bar-con.horizontal{width:32px;top:1px;left:50%;transform:translate(-50%)}.egd-split-trigger-vertical{cursor:ew-resize;background:#f8f8f9;width:6px;height:100%;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-vertical .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:4px;height:1px;margin-top:3px}.egd-split-trigger-horizontal{cursor:ns-resize;background:#f8f8f9;width:100%;height:6px;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-horizontal .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:1px;height:4px;margin-right:3px}.egd-split-horizontal .egd-split-trigger-con{border-right:1px solid #d7dae0;height:100%;top:50%}.egd-split-vertical .egd-split-trigger-con{border-bottom:1px solid #d7dae0;width:100%;left:50%}.egd-split-trigger-vertical-line,.egd-split-trigger-horizontal-line{box-shadow:none;background-color:transparent}.egd-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
|
1
|
+
.egd-split-wrapper{width:100%;height:100%;position:relative}.egd-split-pane{position:absolute}.egd-split-pane.left-pane,.egd-split-pane.right-pane{top:0;bottom:0}.egd-split-pane.left-pane{left:0}.egd-split-pane.right-pane{right:0}.egd-split-pane.top-pane,.egd-split-pane.bottom-pane{left:0;right:0}.egd-split-pane.top-pane{top:0}.egd-split-pane.bottom-pane{bottom:0}.egd-split-trigger-con{z-index:10;position:absolute;transform:translate(-50%,-50%)}.egd-split-trigger-bar-con{position:absolute;overflow:hidden}.egd-split-trigger-bar-con.vertical{height:32px;top:50%;left:1px;transform:translateY(-50%)}.egd-split-trigger-bar-con.horizontal{width:32px;top:1px;left:50%;transform:translate(-50%)}.egd-split-trigger-vertical{cursor:ew-resize;background:#f8f8f9;width:6px;height:100%;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-vertical .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:4px;height:1px;margin-top:3px}.egd-split-trigger-horizontal{cursor:ns-resize;background:#f8f8f9;width:100%;height:6px;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-horizontal .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:1px;height:4px;margin-right:3px}.egd-split-horizontal .egd-split-trigger-con{border-right:1px solid #d7dae0;height:100%;top:50%}.egd-split-vertical .egd-split-trigger-con{border-bottom:1px solid #d7dae0;width:100%;left:50%}.egd-split-trigger-vertical-line,.egd-split-trigger-horizontal-line{box-shadow:none;background-color:transparent}.egd-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
package/stateful/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as A } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
-
const
|
|
1
|
+
import { n as A } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
|
+
const g = {
|
|
3
3
|
name: "Stateful",
|
|
4
4
|
functional: !0,
|
|
5
5
|
props: {
|
|
@@ -33,7 +33,7 @@ const _ = {
|
|
|
33
33
|
},
|
|
34
34
|
type: {
|
|
35
35
|
type: String,
|
|
36
|
-
validator: (
|
|
36
|
+
validator: (e) => ["doing", "overdue", "error", "done", "closed"].indexOf(e) > -1
|
|
37
37
|
},
|
|
38
38
|
status: {
|
|
39
39
|
type: [String, Number]
|
|
@@ -42,35 +42,35 @@ const _ = {
|
|
|
42
42
|
type: String
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
render(
|
|
46
|
-
const { draft: t, doing: a, overdue: n, error: o, done: s, closed: l, status:
|
|
47
|
-
draft: Array.isArray(t) ? t.includes(
|
|
48
|
-
doing: Array.isArray(a) ? a.includes(
|
|
49
|
-
overdue: Array.isArray(n) ? n.includes(
|
|
50
|
-
error: Array.isArray(o) ? o.includes(
|
|
51
|
-
done: Array.isArray(s) ? s.includes(
|
|
52
|
-
closed: Array.isArray(l) ? l.includes(
|
|
45
|
+
render(e, { props: u, data: i, children: y }) {
|
|
46
|
+
const { draft: t, doing: a, overdue: n, error: o, done: s, closed: l, status: r, tag: c, size: d, type: f } = u, p = {
|
|
47
|
+
draft: Array.isArray(t) ? t.includes(r) : t,
|
|
48
|
+
doing: Array.isArray(a) ? a.includes(r) : a,
|
|
49
|
+
overdue: Array.isArray(n) ? n.includes(r) : n,
|
|
50
|
+
error: Array.isArray(o) ? o.includes(r) : o,
|
|
51
|
+
done: Array.isArray(s) ? s.includes(r) : s,
|
|
52
|
+
closed: Array.isArray(l) ? l.includes(r) : l
|
|
53
53
|
};
|
|
54
|
-
return
|
|
55
|
-
|
|
54
|
+
return e(c, i, [
|
|
55
|
+
e("span", {
|
|
56
56
|
style: { width: d, height: d },
|
|
57
57
|
class: ["stateful", f, p]
|
|
58
58
|
}),
|
|
59
59
|
y
|
|
60
60
|
]);
|
|
61
61
|
}
|
|
62
|
-
},
|
|
63
|
-
var
|
|
64
|
-
_,
|
|
62
|
+
}, _ = null, m = null;
|
|
63
|
+
var v = /* @__PURE__ */ A(
|
|
65
64
|
g,
|
|
66
|
-
|
|
65
|
+
_,
|
|
66
|
+
m,
|
|
67
67
|
!1,
|
|
68
68
|
null,
|
|
69
69
|
null,
|
|
70
70
|
null,
|
|
71
71
|
null
|
|
72
72
|
);
|
|
73
|
-
const
|
|
73
|
+
const S = v.exports;
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
S as default
|
|
76
76
|
};
|
package/stateful/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.stateful{vertical-align:middle;content:"";border-radius:2px;width:14px;height:14px;margin-right:6px;display:inline-block}.stateful.draft{background-color:#d7d7d7}.stateful.doing{background-color:#14ca7a}.stateful.overdue{background-color:#feae3d}.stateful.error{background-color:red}.stateful.done{background-color:#45a3e7}.stateful.closed{background-color:#d7d7d7}
|
|
1
|
+
.stateful{vertical-align:middle;content:"";border-radius:2px;width:14px;height:14px;margin-right:6px;display:inline-block}.stateful.draft{background-color:#d7d7d7}.stateful.doing{background-color:#14ca7a}.stateful.overdue{background-color:#feae3d}.stateful.error{background-color:red}.stateful.done{background-color:#45a3e7}.stateful.closed{background-color:#d7d7d7}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { chunk as r } from "@web-utils/integrations/lodash";
|
|
2
|
-
import { n as s } from "../chunks/_plugin-vue2_normalizer.
|
|
3
|
-
const
|
|
2
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
|
+
const n = {
|
|
4
4
|
name: "StaticPageableTable",
|
|
5
5
|
props: {
|
|
6
6
|
rows: {
|
|
@@ -43,24 +43,24 @@ const l = {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var i = function() {
|
|
47
47
|
var e = this, t = e._self._c;
|
|
48
48
|
return t("div", { staticClass: "static-pageable-table" }, [t("ElTable", e._g(e._b({ attrs: { size: "mini", data: e.records } }, "ElTable", e.$attrs, !1), e.$listeners), [e._t("default", function() {
|
|
49
49
|
return [e._v("请添加表格列")];
|
|
50
50
|
})], 2), t("ElPagination", { attrs: { "current-page": e.page.page, "hide-on-single-page": !0, "page-size": e.page.limit, total: e.page.total, background: "", layout: "total, prev, pager, next" }, on: { "current-change": (a) => {
|
|
51
51
|
e.page.page = a;
|
|
52
52
|
} } })], 1);
|
|
53
|
-
},
|
|
54
|
-
l,
|
|
53
|
+
}, l = [], o = /* @__PURE__ */ s(
|
|
55
54
|
n,
|
|
56
55
|
i,
|
|
56
|
+
l,
|
|
57
57
|
!1,
|
|
58
58
|
null,
|
|
59
59
|
null,
|
|
60
60
|
null,
|
|
61
61
|
null
|
|
62
62
|
);
|
|
63
|
-
const
|
|
63
|
+
const u = o.exports;
|
|
64
64
|
export {
|
|
65
|
-
|
|
65
|
+
u as default
|
|
66
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.static-pageable-table{flex:auto}
|
|
1
|
+
.static-pageable-table{flex:auto}
|
package/swiper/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var h = (e, t, s) => new Promise((i, r) => {
|
|
|
17
17
|
import { getEleWidth as c } from "@web-utils/core";
|
|
18
18
|
import u from "@web-utils/component/resize-observer";
|
|
19
19
|
import "@web-utils/component/resize-observer/style.css";
|
|
20
|
-
import { n as p } from "../chunks/_plugin-vue2_normalizer.
|
|
20
|
+
import { n as p } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
21
21
|
const f = {
|
|
22
22
|
name: "Swiper",
|
|
23
23
|
components: {
|
|
@@ -126,7 +126,7 @@ var w = function() {
|
|
|
126
126
|
return s("div", { staticClass: "egd-swiper" }, [s("ElButton", { staticClass: "el-carousel__arrow el-carousel__arrow--left", attrs: { disabled: t.reachedLeft, icon: "el-icon-arrow-left" }, on: { click: t.clickLeft } }), s("div", { ref: "swiperBox", staticClass: "egd-swiper-box", on: { wheel: function(i) {
|
|
127
127
|
return i.stopPropagation(), i.preventDefault(), t.onMouseWheel.apply(null, arguments);
|
|
128
128
|
} } }, [s("div", { ref: "swiperContent", staticClass: "egd-swiper-content", style: t.swiperContentStyle }, [t._t("default")], 2)]), s("ElButton", { staticClass: "el-carousel__arrow el-carousel__arrow--right", attrs: { disabled: t.reachedRight, icon: "el-icon-arrow-right" }, on: { click: t.clickRight } }), s("ResizeObserver", { on: { notify: t.resize } })], 1);
|
|
129
|
-
}, m = [],
|
|
129
|
+
}, m = [], X = /* @__PURE__ */ p(
|
|
130
130
|
f,
|
|
131
131
|
w,
|
|
132
132
|
m,
|
|
@@ -136,7 +136,7 @@ var w = function() {
|
|
|
136
136
|
null,
|
|
137
137
|
null
|
|
138
138
|
);
|
|
139
|
-
const
|
|
139
|
+
const x = X.exports;
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
x as default
|
|
142
142
|
};
|
package/swiper/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.egd-swiper{height:100%;padding:0 60px;position:relative}.egd-swiper .el-button.el-carousel__arrow{color:#fff;background-color:rgba(31,45,61,.11);border-color:rgba(31,45,61,.01);border-radius:50%;padding:0;font-size:12px}.egd-swiper .el-button.el-carousel__arrow i{cursor:unset}.egd-swiper .el-button.el-carousel__arrow.is-disabled{color:#fff;background-color:rgba(31,45,61,.11);border-color:rgba(31,45,61,.01)}.egd-swiper .egd-swiper-box{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:100%;overflow:hidden}.egd-swiper .egd-swiper-box .egd-swiper-content{flex-flow:row;width:100%;height:100%;padding-top:14px;transition-property:transform;display:flex;overflow:visible;transform:translate(0,0)}
|
|
1
|
+
.egd-swiper{height:100%;padding:0 60px;position:relative}.egd-swiper .el-button.el-carousel__arrow{color:#fff;background-color:rgba(31,45,61,.11);border-color:rgba(31,45,61,.01);border-radius:50%;padding:0;font-size:12px}.egd-swiper .el-button.el-carousel__arrow i{cursor:unset}.egd-swiper .el-button.el-carousel__arrow.is-disabled{color:#fff;background-color:rgba(31,45,61,.11);border-color:rgba(31,45,61,.01)}.egd-swiper .egd-swiper-box{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:100%;overflow:hidden}.egd-swiper .egd-swiper-box .egd-swiper-content{flex-flow:row;width:100%;height:100%;padding-top:14px;transition-property:transform;display:flex;overflow:visible;transform:translate(0,0)}
|
package/tab/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as n } from "../chunks/tab-mixin.
|
|
2
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { p as n } from "../chunks/tab-mixin.tM9jcRT8.mjs";
|
|
2
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "Tab",
|
|
5
5
|
mixins: [n],
|
|
@@ -94,17 +94,17 @@ const s = {
|
|
|
94
94
|
return;
|
|
95
95
|
const t = this.$children[this.currentIndex].$el;
|
|
96
96
|
let r = 0;
|
|
97
|
-
const
|
|
98
|
-
const
|
|
99
|
-
|
|
97
|
+
const i = () => {
|
|
98
|
+
const e = this.$refs.nav;
|
|
99
|
+
e.scrollLeft += (t.offsetLeft - (e.offsetWidth - t.offsetWidth) / 2 - e.scrollLeft) / 15, ++r < 15 && window.requestAnimationFrame(i);
|
|
100
100
|
};
|
|
101
|
-
window.requestAnimationFrame(
|
|
101
|
+
window.requestAnimationFrame(i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
var o = function() {
|
|
106
|
-
var r = this,
|
|
107
|
-
return
|
|
106
|
+
var r = this, i = r._self._c;
|
|
107
|
+
return i("div", { staticClass: "vux-tab-wrap", class: r.barPosition === "top" ? "vux-tab-bar-top" : "" }, [i("div", { staticClass: "vux-tab-container" }, [i("div", { ref: "nav", staticClass: "vux-tab", class: [{ "vux-tab-no-animate": !r.animate, scrollable: r.scrollable }] }, [r._t("default"), r.animate ? i("div", { staticClass: "vux-tab-ink-bar", class: r.barClass, style: r.barStyle }, [r.customBarWidth ? i("span", { staticClass: "vux-tab-bar-inner", style: r.innerBarStyle }) : r._e()]) : r._e()], 2)])]);
|
|
108
108
|
}, l = [], c = /* @__PURE__ */ a(
|
|
109
109
|
s,
|
|
110
110
|
o,
|
package/tab/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.vux-tab-ink-bar{text-align:center;background-color:#1989fa;height:2px;position:absolute;bottom:0;left:0}.vux-tab-ink-bar-transition-forward{transition:right .3s cubic-bezier(.35,0,.25,1),left .3s cubic-bezier(.35,0,.25,1) 90ms}.vux-tab-ink-bar-transition-backward{transition:right .3s cubic-bezier(.35,0,.25,1) 90ms,left .3s cubic-bezier(.35,0,.25,1)}.vux-tab-bar-top .vux-tab-ink-bar{top:0}.vux-tab{background-color:#fff;height:36px;display:flex;position:relative}.vux-tab button{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:0 0;border:0;outline:0;padding:0}.vux-tab .vux-tab-item{box-sizing:border-box;color:#666;text-align:center;cursor:pointer;flex:auto;width:100%;height:100%;font-size:14px;line-height:36px;display:block}.vux-tab .vux-tab-item.vux-tab-selected{color:#1989fa;border-bottom:3px solid #1989fa}.vux-tab-bar-top .vux-tab .vux-tab-item.vux-tab-selected{border-top:3px solid #1989fa;border-bottom:none}.vux-tab .vux-tab-item.vux-tab-disabled{color:#ddd}.vux-tab.vux-tab-no-animate .vux-tab-item.vux-tab-selected{background:0 0}.vux-tab-bar-inner{background-color:#1989fa;height:100%;margin:auto;transition:width .3s cubic-bezier(.35,0,.25,1);display:block}.vux-tab-item-badge{box-sizing:border-box;vertical-align:middle;background-clip:padding-box;border-radius:30px;min-width:18px;height:18px;margin:auto 0 auto 4px;padding:0 4px;font-size:11px;line-height:18px;display:inline-block;position:absolute;top:0;bottom:0}.vux-tab-wrap{padding-top:36px;position:relative}.vux-tab-container{height:36px;position:absolute;top:0;left:0;right:0;overflow:hidden}.scrollable{box-sizing:content-box;-webkit-overflow-scrolling:touch;padding-bottom:17px;overflow-x:auto;overflow-y:hidden}.scrollable::-webkit-scrollbar{display:none}.scrollable .vux-tab-ink-bar{position:absolute;bottom:17px}.scrollable .vux-tab-item{flex:0 0 22%}
|
|
1
|
+
.vux-tab-ink-bar{text-align:center;background-color:#1989fa;height:2px;position:absolute;bottom:0;left:0}.vux-tab-ink-bar-transition-forward{transition:right .3s cubic-bezier(.35,0,.25,1),left .3s cubic-bezier(.35,0,.25,1) 90ms}.vux-tab-ink-bar-transition-backward{transition:right .3s cubic-bezier(.35,0,.25,1) 90ms,left .3s cubic-bezier(.35,0,.25,1)}.vux-tab-bar-top .vux-tab-ink-bar{top:0}.vux-tab{background-color:#fff;height:36px;display:flex;position:relative}.vux-tab button{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:0 0;border:0;outline:0;padding:0}.vux-tab .vux-tab-item{box-sizing:border-box;color:#666;text-align:center;cursor:pointer;flex:auto;width:100%;height:100%;font-size:14px;line-height:36px;display:block}.vux-tab .vux-tab-item.vux-tab-selected{color:#1989fa;border-bottom:3px solid #1989fa}.vux-tab-bar-top .vux-tab .vux-tab-item.vux-tab-selected{border-top:3px solid #1989fa;border-bottom:none}.vux-tab .vux-tab-item.vux-tab-disabled{color:#ddd}.vux-tab.vux-tab-no-animate .vux-tab-item.vux-tab-selected{background:0 0}.vux-tab-bar-inner{background-color:#1989fa;height:100%;margin:auto;transition:width .3s cubic-bezier(.35,0,.25,1);display:block}.vux-tab-item-badge{box-sizing:border-box;vertical-align:middle;background-clip:padding-box;border-radius:30px;min-width:18px;height:18px;margin:auto 0 auto 4px;padding:0 4px;font-size:11px;line-height:18px;display:inline-block;position:absolute;top:0;bottom:0}.vux-tab-wrap{padding-top:36px;position:relative}.vux-tab-container{height:36px;position:absolute;top:0;left:0;right:0;overflow:hidden}.scrollable{box-sizing:content-box;-webkit-overflow-scrolling:touch;padding-bottom:17px;overflow-x:auto;overflow-y:hidden}.scrollable::-webkit-scrollbar{display:none}.scrollable .vux-tab-ink-bar{position:absolute;bottom:17px}.scrollable .vux-tab-item{flex:0 0 22%}
|
package/tab-item/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as a } from "../chunks/tab-mixin.
|
|
2
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { c as a } from "../chunks/tab-mixin.tM9jcRT8.mjs";
|
|
2
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
const l = {
|
|
4
4
|
name: "TabItem",
|
|
5
5
|
mixins: [a],
|
package/table-column/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var i = (t, e, n) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
f.call(e, n) && i(t, n, e[n]);
|
|
11
11
|
return t;
|
|
12
12
|
}, r = (t, e) => u(t, d(e));
|
|
13
|
-
import { n as p } from "../chunks/_plugin-vue2_normalizer.
|
|
13
|
+
import { n as p } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
14
14
|
const g = {
|
|
15
15
|
props: {
|
|
16
16
|
type: {
|
package/table-view/index.mjs
CHANGED
|
@@ -15,10 +15,10 @@ var a = (r, e, t) => new Promise((s, l) => {
|
|
|
15
15
|
c((t = t.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { merge as n } from "@web-utils/integrations/lodash";
|
|
18
|
-
import { isString as d, isArray as u, trace as f, warning as m, toStringArray as
|
|
19
|
-
import { k as
|
|
20
|
-
import { n as v } from "../chunks/_plugin-vue2_normalizer.
|
|
21
|
-
const
|
|
18
|
+
import { isString as d, isArray as u, trace as f, warning as m, toStringArray as g, isFunction as w, hasOwn as p } from "@web-utils/core";
|
|
19
|
+
import { k as _ } from "../chunks/index.LGsb2aDq.mjs";
|
|
20
|
+
import { n as v } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
21
|
+
const P = [
|
|
22
22
|
"back",
|
|
23
23
|
"create",
|
|
24
24
|
"save",
|
|
@@ -38,7 +38,7 @@ const y = [
|
|
|
38
38
|
"disabled",
|
|
39
39
|
"reload",
|
|
40
40
|
"slot"
|
|
41
|
-
],
|
|
41
|
+
], y = {
|
|
42
42
|
name: "TableView",
|
|
43
43
|
bus: {
|
|
44
44
|
reloadTableView(r, e) {
|
|
@@ -115,13 +115,13 @@ const y = [
|
|
|
115
115
|
},
|
|
116
116
|
computed: {
|
|
117
117
|
buttonSlots() {
|
|
118
|
-
return
|
|
118
|
+
return P.filter((r) => this.$scopedSlots[r]);
|
|
119
119
|
},
|
|
120
120
|
toolbarProps() {
|
|
121
121
|
var s, l;
|
|
122
122
|
const r = {}, e = n(this.toolbarAttrs, r);
|
|
123
123
|
let t = (e == null ? void 0 : e.buttons) || this.$parent.buttons;
|
|
124
|
-
return t = t || [], t.includes("reload") || (t = [...t, "reload"]), e.buttons = t, e.buttons =
|
|
124
|
+
return t = t || [], t.includes("reload") || (t = [...t, "reload"]), e.buttons = t, e.buttons = g(e.buttons), e.searchable = !!((l = (s = this.$scopedSlots)["search-form"]) != null && l.call(s)), e;
|
|
125
125
|
},
|
|
126
126
|
treeProps() {
|
|
127
127
|
const r = {
|
|
@@ -182,7 +182,7 @@ const y = [
|
|
|
182
182
|
});
|
|
183
183
|
},
|
|
184
184
|
openFrom(r) {
|
|
185
|
-
this.$router.push(
|
|
185
|
+
this.$router.push(_(this.formPath, r));
|
|
186
186
|
},
|
|
187
187
|
rowDbClick(r) {
|
|
188
188
|
var e;
|
|
@@ -199,7 +199,7 @@ const y = [
|
|
|
199
199
|
return a(this, null, function* () {
|
|
200
200
|
var e;
|
|
201
201
|
const r = this.deleteApi || this.$parent.del;
|
|
202
|
-
if (!((e = this.toolbarListeners) != null && e.del) &&
|
|
202
|
+
if (!((e = this.toolbarListeners) != null && e.del) && w(r)) {
|
|
203
203
|
if (!this.selectedRows.length) {
|
|
204
204
|
this.$message.warning("请选择要删除的记录!");
|
|
205
205
|
return;
|
|
@@ -275,7 +275,7 @@ var S = function() {
|
|
|
275
275
|
var r = this, e = r._self._c;
|
|
276
276
|
return e("div", { staticClass: "slide-panel-line" }, [e("div", { staticClass: "slide-panel-line-indicator" })]);
|
|
277
277
|
}], $ = /* @__PURE__ */ v(
|
|
278
|
-
|
|
278
|
+
y,
|
|
279
279
|
S,
|
|
280
280
|
T,
|
|
281
281
|
!1,
|
package/table-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.table-view{flex-direction:column;height:100%;display:flex}.table-view .el-table--border{border:none}.table-view .border-top .el-table--border{border-top:1px solid #ebeef5}.table-view .border-bottom .el-table--border{border-bottom:1px solid #ebeef5}.table-view .border-left .el-table--border,.table-view .border-left .el-pagination{border-left:1px solid #ebeef5}.table-view .border-right .el-table--border{border-right:1px solid #ebeef5}.table-view .table-view-content-wrapper{flex:1;position:relative;overflow:hidden}.table-view .table-view-content{background-color:#fff;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.table-view .table-view-sidebar{flex-shrink:0;width:240px;height:100%;padding:10px;overflow:auto}.table-view .table-view-sidebar .et-tree-wrapper{display:table;overflow:visible}.table-view .table-view-table{flex:auto;height:100%}.table-view .slide-panel{z-index:5;background-color:#fff;transition:right .2s;display:flex;position:absolute;top:0;bottom:0;right:0}.table-view .slide-panel .slide-panel-line{background-color:#ddd;flex-shrink:0;width:3px;height:100%;position:relative}.table-view .slide-panel .slide-panel-line-indicator{background-color:#aaa;width:100%;height:50px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.table-view .slide-panel .slide-panel-actions{justify-content:center;align-items:center;margin-top:10px;display:flex}.table-view .slide-panel .slide-panel-content{flex:1;padding:10px;overflow:auto}.table-view .slide-panel .slide-panel-content .el-date-editor{width:100%}
|
|
1
|
+
.table-view{flex-direction:column;height:100%;display:flex}.table-view .el-table--border{border:none}.table-view .border-top .el-table--border{border-top:1px solid #ebeef5}.table-view .border-bottom .el-table--border{border-bottom:1px solid #ebeef5}.table-view .border-left .el-table--border,.table-view .border-left .el-pagination{border-left:1px solid #ebeef5}.table-view .border-right .el-table--border{border-right:1px solid #ebeef5}.table-view .table-view-content-wrapper{flex:1;position:relative;overflow:hidden}.table-view .table-view-content{background-color:#fff;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.table-view .table-view-sidebar{flex-shrink:0;width:240px;height:100%;padding:10px;overflow:auto}.table-view .table-view-sidebar .et-tree-wrapper{display:table;overflow:visible}.table-view .table-view-table{flex:auto;height:100%}.table-view .slide-panel{z-index:5;background-color:#fff;transition:right .2s;display:flex;position:absolute;top:0;bottom:0;right:0}.table-view .slide-panel .slide-panel-line{background-color:#ddd;flex-shrink:0;width:3px;height:100%;position:relative}.table-view .slide-panel .slide-panel-line-indicator{background-color:#aaa;width:100%;height:50px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.table-view .slide-panel .slide-panel-actions{justify-content:center;align-items:center;margin-top:10px;display:flex}.table-view .slide-panel .slide-panel-content{flex:1;padding:10px;overflow:auto}.table-view .slide-panel .slide-panel-content .el-date-editor{width:100%}
|
package/tag-render/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var u = Object.defineProperty;
|
|
2
2
|
var r = Object.getOwnPropertySymbols;
|
|
3
|
-
var c = Object.prototype.hasOwnProperty,
|
|
3
|
+
var c = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var l = (t, e, n) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, i = (t, e) => {
|
|
5
5
|
for (var n in e || (e = {}))
|
|
6
6
|
c.call(e, n) && l(t, n, e[n]);
|
|
7
7
|
if (r)
|
|
8
8
|
for (var n of r(e))
|
|
9
|
-
|
|
9
|
+
m.call(e, n) && l(t, n, e[n]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { hasOwn as o } from "@web-utils/core";
|
|
13
|
-
import { n as
|
|
14
|
-
const
|
|
13
|
+
import { n as g } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
14
|
+
const f = {
|
|
15
15
|
name: "TagRender",
|
|
16
16
|
inject: {
|
|
17
17
|
elFormItem: {
|
|
@@ -56,7 +56,7 @@ const g = {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
var
|
|
59
|
+
var _ = function() {
|
|
60
60
|
var e = this, n = e._self._c;
|
|
61
61
|
return n("div", { staticClass: "tag-render" }, [e.tags && e.tags.length && e.tags[0] ? e._l(e.internalTags, function(s, a) {
|
|
62
62
|
return n("ElTag", { key: a, attrs: { closable: e.enable, size: "medium", "disable-transitions": "" }, on: { close: function(h) {
|
|
@@ -65,9 +65,9 @@ var f = function() {
|
|
|
65
65
|
}) : e.enable ? e._e() : [n("span", { staticStyle: { "margin-left": "4px", color: "#b5b5b5", "line-height": "16px" } }, [e._v("无")])], e.enable ? n("ElButton", { staticClass: "add-tag", attrs: { size: "mini" }, on: { click: function(s) {
|
|
66
66
|
return e.$emit("add");
|
|
67
67
|
} } }, [e._v("+ 添加")]) : e._e(), e.count ? n("span", { staticClass: "tags-count" }, [e._v(e._s(e.tags.length && e.tags[0] ? e.tags.length : ""))]) : e._e()], 2);
|
|
68
|
-
}, d = [], p = /* @__PURE__ */
|
|
69
|
-
g,
|
|
68
|
+
}, d = [], p = /* @__PURE__ */ g(
|
|
70
69
|
f,
|
|
70
|
+
_,
|
|
71
71
|
d,
|
|
72
72
|
!1,
|
|
73
73
|
null,
|
package/tag-render/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tag-render{background-color:#fff;border:1px solid #d7dae0;border-radius:4px;min-height:80px;padding-top:4px;padding-right:4px;line-height:0;overflow:hidden}.tag-render .el-tag{margin-bottom:4px;margin-left:4px}.tag-render .add-tag{margin-left:4px}.tag-render .el-tag .el-tag__close:hover{background-color:#ee8677}.tag-render .tags-count{color:#b7b7b7;font-size:.9em;position:absolute;bottom:10px;right:6px}
|
|
1
|
+
.tag-render{background-color:#fff;border:1px solid #d7dae0;border-radius:4px;min-height:80px;padding-top:4px;padding-right:4px;line-height:0;overflow:hidden}.tag-render .el-tag{margin-bottom:4px;margin-left:4px}.tag-render .add-tag{margin-left:4px}.tag-render .el-tag .el-tag__close:hover{background-color:#ee8677}.tag-render .tags-count{color:#b7b7b7;font-size:.9em;position:absolute;bottom:10px;right:6px}
|
package/text-ellipsis/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as n } from "../chunks/util.
|
|
2
|
-
import { n as o } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s as n } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
const h = {
|
|
4
4
|
name: "TextEllipsis",
|
|
5
5
|
props: {
|
|
@@ -74,7 +74,7 @@ var r = function() {
|
|
|
74
74
|
null,
|
|
75
75
|
null
|
|
76
76
|
);
|
|
77
|
-
const
|
|
77
|
+
const d = f.exports;
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
d as default
|
|
80
80
|
};
|
package/text-ellipsis/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-text-ellipsis__more{padding:0 2px}
|
|
1
|
+
.avue-text-ellipsis__more{padding:0 2px}
|