@web-utils/component 4.0.13 → 4.0.15
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 +15 -13
- package/card/index.mjs +20 -18
- package/carousel/index.mjs +12 -10
- package/chat/index.mjs +56 -45
- package/chunk-file-uploader/index.mjs +378 -36
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
- package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
- package/chunks/FyForm.DriwCJ7b.mjs +765 -0
- package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
- package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
- package/chunks/TableColumn.BzivvXMF.mjs +337 -0
- package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
- package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
- package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
- package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
- package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
- package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
- package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
- package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
- package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
- package/color-picker/index.mjs +101 -22
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-box/index.mjs +15 -12
- package/data-card/index.mjs +12 -10
- package/data-card-text/index.mjs +12 -10
- package/data-display/index.mjs +17 -15
- package/data-icons/index.mjs +16 -13
- package/data-imgtext/index.mjs +18 -15
- package/data-operatext/index.mjs +16 -14
- package/data-panel/index.mjs +16 -13
- package/data-pay/index.mjs +20 -16
- package/data-price/index.mjs +16 -14
- package/data-progress/index.mjs +17 -13
- package/data-rotate/index.mjs +15 -12
- package/data-table-picker/index.mjs +18 -15
- package/data-tabs/index.mjs +15 -12
- package/dialog-form/index.mjs +18 -16
- package/dynamic-table/index.mjs +30 -25
- package/editable-progress/index.mjs +11 -9
- package/editable-tree/index.mjs +56 -52
- package/egd-collapse-item/index.mjs +9 -9
- package/element-dialog/index.mjs +23 -22
- 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 +11 -10
- package/flow-designer/index.mjs +1973 -699
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +9 -9
- package/form-block/index.mjs +34 -32
- package/form-cascader/index.mjs +24 -23
- package/form-checkbox/index.mjs +17 -16
- package/form-checkbox-group/index.mjs +23 -20
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +20 -18
- package/form-holder/index.mjs +14 -13
- package/form-input/index.mjs +15 -14
- package/form-input-cron-expression/index.mjs +22 -19
- package/form-input-email/index.mjs +16 -15
- package/form-input-id-card/index.mjs +13 -12
- package/form-input-number/index.mjs +17 -16
- package/form-input-phone-number/index.mjs +22 -21
- package/form-input-tag/index.mjs +15 -14
- package/form-input-time/index.mjs +15 -14
- package/form-item/index.mjs +3 -140
- package/form-item-group/index.mjs +31 -28
- package/form-radio-group/index.mjs +28 -27
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +23 -21
- package/form-switch/index.mjs +17 -16
- package/form-table/index.mjs +17 -16
- package/form-table-plus/index.mjs +22 -21
- package/form-textarea/index.mjs +16 -15
- package/form-tree-select/index.mjs +15 -14
- package/form-tree-select-multiple/index.mjs +15 -14
- package/form-view/index.mjs +39 -35
- package/fy-array/index.mjs +37 -33
- package/fy-cascader/index.mjs +17 -16
- package/fy-checkbox/index.mjs +13 -11
- package/fy-code/index.mjs +10 -10
- package/fy-curd/index.mjs +1147 -1123
- package/fy-date/index.mjs +11 -10
- package/fy-draggable/index.mjs +10 -9
- package/fy-dynamic/index.mjs +25 -22
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +15 -638
- package/fy-form-design/index.mjs +1165 -1127
- package/fy-input/index.mjs +14 -12
- package/fy-input-color/index.mjs +15 -13
- package/fy-input-icon/index.mjs +23 -20
- package/fy-input-map/index.mjs +31 -28
- package/fy-input-number/index.mjs +10 -9
- package/fy-input-table/index.mjs +22 -18
- package/fy-input-tree/index.mjs +37 -33
- package/fy-progress/index.mjs +10 -9
- package/fy-radio/index.mjs +16 -15
- package/fy-rate/index.mjs +11 -10
- package/fy-select/index.mjs +29 -25
- package/fy-slider/index.mjs +12 -11
- package/fy-switch/index.mjs +10 -9
- package/fy-tabs/index.mjs +17 -15
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +24 -18
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +76 -74
- package/guide-steps/index.mjs +13 -11
- package/iframe-window/index.mjs +10 -9
- package/image-cropper/index.mjs +30 -28
- package/image-preview/index.mjs +14 -12
- package/index.mjs +72 -72
- package/input-number/index.mjs +14 -13
- package/input-number-range/index.mjs +12 -11
- package/license/index.mjs +1 -1
- package/login/index.mjs +26 -21
- package/nav-bar/index.mjs +10 -9
- package/notice/index.mjs +10 -9
- package/package.json +1 -1
- package/page-index/index.mjs +13 -12
- package/page-index-top/index.mjs +28 -23
- package/page-skeleton/index.mjs +14 -14
- package/page-skeleton-new/index.mjs +9 -8
- package/pageable-table/index.mjs +182 -172
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +16 -15
- package/picker-table-view/index.mjs +58 -49
- package/present-view/index.mjs +39 -35
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +22 -20
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/skeleton-panel/index.mjs +10 -9
- package/split-pane/index.mjs +37 -36
- package/static-pageable-table/index.mjs +13 -11
- package/sub-table/index.mjs +49 -36
- package/sub-table-plus/index.mjs +18 -229
- package/swiper/index.mjs +12 -11
- package/table-column/index.mjs +3 -223
- package/table-view/index.mjs +60 -52
- package/tabs-view/index.mjs +19 -17
- package/tag-render/index.mjs +18 -16
- package/text-ellipsis/index.mjs +10 -9
- package/toolbar/index.mjs +14 -13
- package/toolbar-button/index.mjs +14 -13
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +267 -259
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +24 -21
- package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
- package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
- package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
- package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
- package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
- package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
- package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
- package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
- package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
- package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
- package/chunks/core.0Exl13Mz.mjs +0 -54
- package/chunks/dictionary.DGt59Ir7.mjs +0 -68
- package/chunks/form-item.LWjePsPa.mjs +0 -233
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
- package/chunks/utilSelf.Csq1766E.mjs +0 -48
- package/chunks/utils.DRcxC1Fb.mjs +0 -60
- package/element-listeners/style.css +0 -1
- package/element-multi-instance/style.css +0 -1
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
1
|
+
import N from "../pageable-table/index.mjs";
|
|
2
|
+
import u from "element-ui/lib/button";
|
|
3
|
+
import { F as P } from "../chunks/FormItem.Bhsy_O2B.mjs";
|
|
4
|
+
import T from "element-ui/lib/row";
|
|
5
|
+
import O from "../form-item-config-provider/index.mjs";
|
|
6
|
+
import K from "../form-holder/index.mjs";
|
|
7
|
+
import R from "element-ui/lib/tree";
|
|
8
|
+
import j from "../skeleton-panel/index.mjs";
|
|
9
|
+
import A from "../element-dialog/index.mjs";
|
|
10
|
+
import { ref as r, onMounted as B } from "vue";
|
|
11
|
+
import D from "element-ui/lib/message";
|
|
12
|
+
import { isPlainObject as y, isFunction as z } from "@web-utils/core";
|
|
13
|
+
import { cloneDeep as V } from "@web-utils/integrations/lodash";
|
|
14
|
+
import { g as I } from "../chunks/index.Cn7aq-Et.mjs";
|
|
15
|
+
import { n as M } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
|
+
const H = {
|
|
8
17
|
name: "PickerTableView"
|
|
9
|
-
},
|
|
18
|
+
}, q = /* @__PURE__ */ Object.assign(H, {
|
|
10
19
|
props: {
|
|
11
20
|
title: String,
|
|
12
21
|
treeTitle: String,
|
|
@@ -52,67 +61,67 @@ const E = {
|
|
|
52
61
|
}
|
|
53
62
|
},
|
|
54
63
|
emits: ["cancel", "confirm", "update:visible"],
|
|
55
|
-
setup(f, { expose: e, emit:
|
|
56
|
-
const t = f,
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
s.value =
|
|
64
|
+
setup(f, { expose: e, emit: o }) {
|
|
65
|
+
const t = f, i = r([]), s = r(null), a = r([]), _ = r([]), g = r(null), h = r(null), v = r(null), b = r(null), x = (n) => {
|
|
66
|
+
i.value = n;
|
|
67
|
+
}, k = (n) => {
|
|
68
|
+
s.value = n;
|
|
60
69
|
}, d = () => {
|
|
61
70
|
g.value.reload();
|
|
62
|
-
},
|
|
71
|
+
}, C = () => {
|
|
63
72
|
h.value.resetFields(), d();
|
|
64
|
-
},
|
|
73
|
+
}, p = () => {
|
|
65
74
|
v.value.hide();
|
|
66
75
|
}, w = () => {
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
var
|
|
70
|
-
let
|
|
71
|
-
if (t.multiple ? (
|
|
72
|
-
|
|
76
|
+
o("cancel"), p();
|
|
77
|
+
}, F = () => {
|
|
78
|
+
var m;
|
|
79
|
+
let n;
|
|
80
|
+
if (t.multiple ? (m = i.value) != null && m.length && (n = i.value) : s.value && (n = [s.value]), !n.length) {
|
|
81
|
+
I(D).warning("请选择!");
|
|
73
82
|
return;
|
|
74
83
|
}
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
|
|
84
|
+
o("confirm", n), p();
|
|
85
|
+
}, S = (n) => {
|
|
86
|
+
o("update:visible", n);
|
|
78
87
|
};
|
|
79
|
-
return
|
|
80
|
-
var
|
|
88
|
+
return B(async () => {
|
|
89
|
+
var n;
|
|
81
90
|
if (t.useTree) {
|
|
82
91
|
const c = (await t.treeApi()).data.data;
|
|
83
92
|
if (y(t.customRootNode)) {
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
} else if (
|
|
87
|
-
const
|
|
88
|
-
|
|
93
|
+
const l = V(t.customRootNode);
|
|
94
|
+
l[t.treeProps.children || "children"] = c, a.value = [l];
|
|
95
|
+
} else if (z(t.customRootNode)) {
|
|
96
|
+
const l = t.customRootNode(c);
|
|
97
|
+
l[t.treeProps.children || "children"] = c, a.value = y(l) ? [l] : l;
|
|
89
98
|
} else
|
|
90
|
-
|
|
91
|
-
t.expandFirstNode && (
|
|
99
|
+
a.value = c;
|
|
100
|
+
t.expandFirstNode && (_.value = [(n = a.value[0]) == null ? void 0 : n.id]);
|
|
92
101
|
}
|
|
93
102
|
}), e({
|
|
94
103
|
search: d
|
|
95
|
-
}), { __sfc: !0, props: t, emits:
|
|
104
|
+
}), { __sfc: !0, props: t, emits: o, rows: i, current: s, treeData: a, expandedKeys: _, table: g, form: h, dialog: v, tree: b, handleChange: x, handleCurrentChange: k, search: d, clear: C, closeDialog: p, onCancel: w, confirm: F, updateVisible: S };
|
|
96
105
|
}
|
|
97
106
|
});
|
|
98
|
-
var
|
|
99
|
-
var e = this,
|
|
100
|
-
return
|
|
101
|
-
return [
|
|
102
|
-
}, proxy: !0 }]) }, [
|
|
103
|
-
return [
|
|
104
|
-
}, proxy: !0 } : null], null, !0) }, [
|
|
105
|
-
return
|
|
106
|
-
} } }, [
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
var E = function() {
|
|
108
|
+
var e = this, o = e._self._c, t = e._self._setupProxy;
|
|
109
|
+
return o(A, { ref: "dialog", attrs: { visible: e.visible, height: e.height, width: e.width, "body-padding": !1, "show-full-screen": "", title: e.title }, on: { "update:visible": t.updateVisible }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
110
|
+
return [o(u, { attrs: { size: "mini", type: "primary" }, on: { click: t.confirm } }, [e._v("确定")]), o(u, { attrs: { size: "mini" }, on: { click: t.onCancel } }, [e._v("取消")])];
|
|
111
|
+
}, proxy: !0 }]) }, [o(j, { attrs: { "flex-column": "", "use-tab": !1, "hide-left": !e.useTree }, scopedSlots: e._u([e.useTree ? { key: "left", fn: function() {
|
|
112
|
+
return [o("div", { staticStyle: { padding: "10px 0", "font-size": "16px", "border-bottom": "1px solid #eee" } }, [e._v(e._s(e.treeTitle))]), o(R, { ref: "tree", attrs: { "node-key": e.nodeKey, data: t.treeData, "default-expanded-keys": t.expandedKeys, props: e.treeProps, "expand-on-click-node": e.expandOnClickNode }, on: { "node-click": e.onNodeClick } })];
|
|
113
|
+
}, proxy: !0 } : null], null, !0) }, [o(K, { ref: "form", staticStyle: { padding: "10px" }, attrs: { model: e.model, "not-table-form": "" }, nativeOn: { submit: function(i) {
|
|
114
|
+
return i.preventDefault(), t.search.apply(null, arguments);
|
|
115
|
+
} } }, [o(O, { attrs: { reactive: "" } }, [o(T, { attrs: { gutter: 0 } }, [e._t("search-form"), o(P, { staticStyle: { "text-align": "right" }, attrs: { "hide-label": "", span: 24 } }, [o(u, { attrs: { type: "primary", "native-type": "submit" } }, [e._v("搜索")]), o(u, { on: { click: t.clear } }, [e._v("清空")])], 1)], 2)], 1)], 1), o(N, { ref: "table", attrs: { "highlight-current-row": "", "hide-on-single-page": "", "click-row-select": "", "row-key": e.rowKey, descs: e.descs, "payload-style": "body", api: e.tableApi, model: e.model, multiple: e.multiple }, on: { "current-change": t.handleCurrentChange, "selection-change": t.handleChange } }, [e._t("columns")], 2)], 1)], 1);
|
|
116
|
+
}, G = [], J = /* @__PURE__ */ M(
|
|
117
|
+
q,
|
|
118
|
+
E,
|
|
119
|
+
G,
|
|
111
120
|
!1,
|
|
112
121
|
null,
|
|
113
122
|
null
|
|
114
123
|
);
|
|
115
|
-
const
|
|
124
|
+
const ae = J.exports;
|
|
116
125
|
export {
|
|
117
|
-
|
|
126
|
+
ae as default
|
|
118
127
|
};
|
package/present-view/index.mjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import p from "../
|
|
1
|
+
import b from "../loading-view/index.mjs";
|
|
2
|
+
import u from "../resize-observer/index.mjs";
|
|
3
|
+
import p from "../form-item-group/index.mjs";
|
|
4
|
+
import l from "../toolbar/index.mjs";
|
|
5
|
+
import c from "../empty-view/index.mjs";
|
|
6
|
+
import { isInContainer as v, delay as w, hasOwn as f, toStringArray as _ } from "@web-utils/core";
|
|
7
|
+
import { merge as y } from "@web-utils/integrations/lodash";
|
|
4
8
|
import "../resize-observer/style.css";
|
|
5
|
-
import { n as
|
|
6
|
-
const
|
|
9
|
+
import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
10
|
+
const m = [
|
|
7
11
|
"back",
|
|
8
12
|
"create",
|
|
9
13
|
"save",
|
|
@@ -23,17 +27,17 @@ const f = [
|
|
|
23
27
|
"disabled",
|
|
24
28
|
"reload",
|
|
25
29
|
"slot"
|
|
26
|
-
],
|
|
30
|
+
], x = m.map((e) => `${e}-down`), $ = ["back", "withdraw", "edit"], d = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], a = (e, t) => {
|
|
27
31
|
if (e.classList.contains(t))
|
|
28
32
|
return e;
|
|
29
33
|
let o = e.parentNode;
|
|
30
34
|
for (; o && !o.classList.contains(t); )
|
|
31
35
|
o = o.parentNode;
|
|
32
36
|
return o.classList.contains(t) ? o : null;
|
|
33
|
-
},
|
|
37
|
+
}, S = {
|
|
34
38
|
name: "PresentView",
|
|
35
39
|
components: {
|
|
36
|
-
ResizeObserver:
|
|
40
|
+
ResizeObserver: u
|
|
37
41
|
},
|
|
38
42
|
inject: {
|
|
39
43
|
flowContext: {
|
|
@@ -76,24 +80,24 @@ const f = [
|
|
|
76
80
|
},
|
|
77
81
|
computed: {
|
|
78
82
|
isFormLoading() {
|
|
79
|
-
return this.loading ||
|
|
83
|
+
return this.loading || f(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
|
|
80
84
|
},
|
|
81
85
|
toolbarProps() {
|
|
82
86
|
var r;
|
|
83
|
-
const e = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o =
|
|
84
|
-
return o.buttons = t || ["back"], o.buttons =
|
|
87
|
+
const e = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = y({}, this.toolbarAttrs, e);
|
|
88
|
+
return o.buttons = t || ["back"], o.buttons = _(o.buttons), o;
|
|
85
89
|
}
|
|
86
90
|
},
|
|
87
91
|
created() {
|
|
88
92
|
this.$on("FormView.addTab", (e) => {
|
|
89
93
|
e && (this.activeIndex === -1 && (this.activeIndex = 0), this.tabs.push(e), this.tabs = this.tabs.sort((t, o) => {
|
|
90
|
-
const r =
|
|
94
|
+
const r = a(t.$el, "form-card"), s = a(o.$el, "form-card");
|
|
91
95
|
if (r === s) {
|
|
92
96
|
const i = [].indexOf.call(t.$el.parentNode.children, t.$el), n = [].indexOf.call(o.$el.parentNode.children, o.$el);
|
|
93
97
|
return i - n;
|
|
94
98
|
} else {
|
|
95
|
-
const i =
|
|
96
|
-
return n -
|
|
99
|
+
const i = a(r, "form-scroller"), n = [].indexOf.call(i.children, r), h = [].indexOf.call(i.children, s);
|
|
100
|
+
return n - h;
|
|
97
101
|
}
|
|
98
102
|
}), e.active && (this.activeIndex = this.tabs.indexOf(e), this.tabClick(e, this.activeIndex)));
|
|
99
103
|
}), this.$on("FormView.removeTab", (e) => {
|
|
@@ -108,10 +112,10 @@ const f = [
|
|
|
108
112
|
},
|
|
109
113
|
methods: {
|
|
110
114
|
getToolbarSlotKeys() {
|
|
111
|
-
return Object.keys(this.$scopedSlots).filter((e) =>
|
|
115
|
+
return Object.keys(this.$scopedSlots).filter((e) => m.includes(e));
|
|
112
116
|
},
|
|
113
117
|
getFooterSlotKeys() {
|
|
114
|
-
return Object.keys(this.$scopedSlots).filter((e) =>
|
|
118
|
+
return Object.keys(this.$scopedSlots).filter((e) => x.includes(e));
|
|
115
119
|
},
|
|
116
120
|
getFooterSlotKey(e) {
|
|
117
121
|
return e.replace("-down", "");
|
|
@@ -120,15 +124,15 @@ const f = [
|
|
|
120
124
|
this.showNav = e > 1500;
|
|
121
125
|
},
|
|
122
126
|
onEdit() {
|
|
123
|
-
!this.toolbarListeners.edit &&
|
|
127
|
+
!this.toolbarListeners.edit && f(this.$parent, "disabled") && (this.$parent.disabled = !1);
|
|
124
128
|
},
|
|
125
129
|
async tabClick(e, t) {
|
|
126
|
-
this.showNav && (await this.$nextTick(), e.expand || (e.open(), await
|
|
130
|
+
this.showNav && (await this.$nextTick(), e.expand || (e.open(), await w(200), await this.$nextTick()), this.tryByClick = !0, this.activeIndex = t, this.$refs.formScroller.scrollTop = e.$el.offsetTop - 10);
|
|
127
131
|
},
|
|
128
132
|
async tryActive() {
|
|
129
133
|
if (this.showNav) {
|
|
130
134
|
for (let e = 0; e < this.tabs.length; e++)
|
|
131
|
-
if (
|
|
135
|
+
if (v(this.tabs[e].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
132
136
|
this.activeIndex = e;
|
|
133
137
|
break;
|
|
134
138
|
}
|
|
@@ -141,18 +145,18 @@ const f = [
|
|
|
141
145
|
e && (this.$refs.formScroller.scrollTop = e), t && (this.$refs.formScroller.scrollLeft = t);
|
|
142
146
|
},
|
|
143
147
|
getToolbarButtons(e) {
|
|
144
|
-
return e.filter((t) => !
|
|
148
|
+
return e.filter((t) => !d.includes(t) && t.indexOf(":down") < 0).map((t) => t.replace(":up", ""));
|
|
145
149
|
},
|
|
146
150
|
getFooterBarButtons(e) {
|
|
147
|
-
let t = e.filter((o) =>
|
|
151
|
+
let t = e.filter((o) => !$.includes(o) && (d.includes(o) || o.indexOf(":down") > -1)).map((o) => o.replace(":down", ""));
|
|
148
152
|
return t = t || [], this.$parent.isEnabled && !t.includes("cancel") && t.push("cancel"), t;
|
|
149
153
|
}
|
|
150
154
|
}
|
|
151
155
|
};
|
|
152
|
-
var
|
|
156
|
+
var F = function() {
|
|
153
157
|
var t = this, o = t._self._c;
|
|
154
158
|
return o("div", { class: ["form-view", t.className] }, [o("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFormLoading, expression: "!isFormLoading" }], staticClass: "form-view-toolbar" }, [t._t("form-view-toolbar", function() {
|
|
155
|
-
return [o(
|
|
159
|
+
return [o(l, t._g(t._b({ directives: [{ name: "show", rawName: "v-show", value: t.showToolbar, expression: "showToolbar" }], on: { edit: t.onEdit }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r }) {
|
|
156
160
|
return [t._t("toolbar-button", null, { buttons: r })];
|
|
157
161
|
} }, t._l(t.getToolbarSlotKeys(), function(r) {
|
|
158
162
|
return { key: r, fn: function() {
|
|
@@ -162,35 +166,35 @@ var g = function() {
|
|
|
162
166
|
return [t._t("toolbar-right")];
|
|
163
167
|
}, proxy: !0 }], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.getToolbarButtons(t.toolbarProps.buttons) }, !1), t.toolbarListeners))];
|
|
164
168
|
})], 2), o("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFormLoading, expression: "!isFormLoading" }], staticClass: "form-scroller-wrapper" }, [o("div", { ref: "formScroller", class: ["form-scroller", "absolute-box", t.contentClass], on: { scroll: t.onFormScroll } }, [t.notForm ? o("div", { staticClass: "not-form", style: { width: t.formWidth } }, [t.title ? o("div", { staticClass: "form-view-title" }, [t._v(t._s(t.title))]) : t._e(), t._t("default", function() {
|
|
165
|
-
return [o(
|
|
166
|
-
}), o(
|
|
169
|
+
return [o(c, { attrs: { "empty-tips": "请添加表单内容" } })];
|
|
170
|
+
}), o(l, t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
|
|
167
171
|
return [t._t("footer-button", null, { buttons: r, footer: s })];
|
|
168
172
|
} }, t._l(t.getFooterSlotKeys(), function(r) {
|
|
169
173
|
return { key: t.getFooterSlotKey(r), fn: function() {
|
|
170
174
|
return [t._t(r)];
|
|
171
175
|
}, proxy: !0 };
|
|
172
176
|
})], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.getFooterBarButtons(t.toolbarProps.buttons) }, !1), t.toolbarListeners)), t.$scopedSlots["form-bottom"] ? t._t("form-bottom") : t._e()], 2) : o("div", { class: ["form-card", { "un-limit": t.unLimit }], style: { width: `calc(${t.formWidth} + 40px)` } }, [o("div", { staticClass: "form-content" }, [t.title ? o("div", { staticClass: "form-view-title" }, [t._v(t._s(t.title))]) : t._e(), t._t("default", function() {
|
|
173
|
-
return [o(
|
|
174
|
-
}), t.getFooterBarButtons(t.toolbarProps.buttons).length ? o(
|
|
177
|
+
return [o(c, { attrs: { "empty-tips": "请添加表单内容" } })];
|
|
178
|
+
}), t.getFooterBarButtons(t.toolbarProps.buttons).length ? o(l, t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
|
|
175
179
|
return [t._t("footer-button", null, { buttons: r, footer: s })];
|
|
176
180
|
} }, t._l(t.getFooterSlotKeys(), function(r) {
|
|
177
181
|
return { key: t.getFooterSlotKey(r), fn: function() {
|
|
178
182
|
return [t._t(r)];
|
|
179
183
|
}, proxy: !0 };
|
|
180
|
-
})], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.getFooterBarButtons(t.toolbarProps.buttons) }, !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? o("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [o("div", { staticClass: "form-content" }, [o(
|
|
184
|
+
})], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.getFooterBarButtons(t.toolbarProps.buttons) }, !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? o("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [o("div", { staticClass: "form-content" }, [o(p, { attrs: { "block-title": "流程日志" } }, [o("FlowLog", { attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1), t._t("form-bottom")], 2)]) : t._e()]), o(u, { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.tabs.length ? o("div", { staticClass: "form-nav" }, [o("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), o("ul", { staticClass: "form-nav-list" }, t._l(t.tabs, function(r, s) {
|
|
181
185
|
return o("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
|
|
182
186
|
return t.tabClick(r, s);
|
|
183
187
|
} } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
|
|
184
|
-
}), 0)]) : t._e(), t.isFormLoading ? o(
|
|
185
|
-
},
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
}), 0)]) : t._e(), t.isFormLoading ? o(b, { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
|
|
189
|
+
}, k = [], B = /* @__PURE__ */ g(
|
|
190
|
+
S,
|
|
191
|
+
F,
|
|
192
|
+
k,
|
|
189
193
|
!1,
|
|
190
194
|
null,
|
|
191
195
|
null
|
|
192
196
|
);
|
|
193
|
-
const
|
|
197
|
+
const z = B.exports;
|
|
194
198
|
export {
|
|
195
|
-
|
|
199
|
+
z as default
|
|
196
200
|
};
|
package/record-video/index.mjs
CHANGED
package/search/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { n } from "../chunks/
|
|
5
|
-
|
|
1
|
+
import i from "element-ui/lib/col";
|
|
2
|
+
import o from "element-ui/lib/row";
|
|
3
|
+
import { k as a } from "../chunks/util.DI42t5GU.mjs";
|
|
4
|
+
import { i as n } from "../chunks/init.xOlFpTyZ.mjs";
|
|
5
|
+
import { isBlank as l } from "@web-utils/core";
|
|
6
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
7
|
+
const u = {
|
|
6
8
|
name: "Search",
|
|
7
|
-
mixins: [
|
|
9
|
+
mixins: [n],
|
|
8
10
|
props: {
|
|
9
11
|
value: [String, Object, Number, Boolean, Array]
|
|
10
12
|
},
|
|
@@ -21,10 +23,10 @@ const l = {
|
|
|
21
23
|
return this.parentOption.props || {};
|
|
22
24
|
},
|
|
23
25
|
labelKey() {
|
|
24
|
-
return
|
|
26
|
+
return a.label;
|
|
25
27
|
},
|
|
26
28
|
valueKey() {
|
|
27
|
-
return
|
|
29
|
+
return a.value;
|
|
28
30
|
},
|
|
29
31
|
mainSlot() {
|
|
30
32
|
const e = [];
|
|
@@ -66,7 +68,7 @@ const l = {
|
|
|
66
68
|
dataFormat() {
|
|
67
69
|
this.propOption.forEach((e) => {
|
|
68
70
|
const t = e.prop;
|
|
69
|
-
|
|
71
|
+
l(this.form[t]) && this.$set(this.form, t, e.multiple === !1 ? "" : []);
|
|
70
72
|
});
|
|
71
73
|
},
|
|
72
74
|
getActive(e, t) {
|
|
@@ -84,24 +86,24 @@ const l = {
|
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
};
|
|
87
|
-
var
|
|
89
|
+
var c = function() {
|
|
88
90
|
var t = this, r = t._self._c;
|
|
89
|
-
return r(
|
|
90
|
-
return r(
|
|
91
|
-
return r("span", { key: t.getKey(
|
|
92
|
-
return t.handleClick(s,
|
|
93
|
-
} } }, [t._v(t._s(t.getKey(
|
|
91
|
+
return r(o, { class: ["avue-search", { "avue--card": t.isCard }], attrs: { span: 24 } }, t._l(t.columnOption, function(s) {
|
|
92
|
+
return r(i, { key: s.prop, staticClass: "avue-search__item", attrs: { span: s.span || 24 } }, [r("p", { staticClass: "avue-search__title" }, [t._v(t._s(s.label) + ":")]), r("div", { staticClass: "avue-search__content" }, [t.mainSlot.includes(s.prop) ? t._t(s.prop, null, { dic: t.DIC[s.prop] }) : t._l(t.DIC[s.prop], function(p) {
|
|
93
|
+
return r("span", { key: t.getKey(p, s.props, t.valueKey), class: ["avue-search__tags", { "avue-search__tags--active": t.getActive(p, s) }], on: { click: function(v) {
|
|
94
|
+
return t.handleClick(s, p);
|
|
95
|
+
} } }, [t._v(t._s(t.getKey(p, s.props, t.labelKey)))]);
|
|
94
96
|
})], 2)]);
|
|
95
97
|
}), 1);
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
h,
|
|
98
|
+
}, _ = [], f = /* @__PURE__ */ h(
|
|
99
|
+
u,
|
|
99
100
|
c,
|
|
101
|
+
_,
|
|
100
102
|
!1,
|
|
101
103
|
null,
|
|
102
104
|
null
|
|
103
105
|
);
|
|
104
|
-
const
|
|
106
|
+
const K = f.exports;
|
|
105
107
|
export {
|
|
106
|
-
|
|
108
|
+
K as default
|
|
107
109
|
};
|
package/search-popover/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isInContainer as n, copy as a } from "@web-utils/core";
|
|
2
2
|
import l from "element-ui/lib/utils/clickoutside";
|
|
3
|
-
import { z as c } from "../chunks/util.
|
|
3
|
+
import { z as c } from "../chunks/util.DI42t5GU.mjs";
|
|
4
4
|
import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
5
|
const u = {
|
|
6
6
|
name: "SearchPopover",
|
package/sign/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as v } from "../chunks/util.
|
|
1
|
+
import { s as v } from "../chunks/util.DI42t5GU.mjs";
|
|
2
2
|
import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
function p(e, s, n, r, t, o) {
|
|
4
4
|
e.save(), e.fillStyle = t, e.translate(s, n), e.rotate(Math.PI + o), e.beginPath();
|
package/skeleton-panel/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import o from "element-ui/lib/tabs";
|
|
1
2
|
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
-
const
|
|
3
|
+
const s = {
|
|
3
4
|
name: "SkeletonPanel"
|
|
4
|
-
},
|
|
5
|
+
}, r = /* @__PURE__ */ Object.assign(s, {
|
|
5
6
|
props: {
|
|
6
7
|
flexColumn: Boolean,
|
|
7
8
|
flexRow: Boolean,
|
|
@@ -15,24 +16,24 @@ const o = {
|
|
|
15
16
|
return { __sfc: !0 };
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
|
-
var
|
|
19
|
+
var _ = function() {
|
|
19
20
|
var e = this, t = e._self._c;
|
|
20
|
-
return e._self._setupProxy, t("div", { staticClass: "skeleton-panel" }, [e.hideLeft ? e._e() : t("div", { staticClass: "skeleton-panel-left" }, [e.useTab ? t(
|
|
21
|
+
return e._self._setupProxy, t("div", { staticClass: "skeleton-panel" }, [e.hideLeft ? e._e() : t("div", { staticClass: "skeleton-panel-left" }, [e.useTab ? t(o, { attrs: { "tab-position": "top", stretch: "" } }, [e._t("left", function() {
|
|
21
22
|
return [e._v("请添加内容")];
|
|
22
23
|
})], 2) : e._t("left", function() {
|
|
23
24
|
return [e._v("请添加内容")];
|
|
24
25
|
})], 2), t("div", { class: ["skeleton-panel-right", { "flex-column": e.flexColumn, "flex-row": e.flexRow }] }, [e._t("default", function() {
|
|
25
26
|
return [e._v("请添加内容")];
|
|
26
27
|
})], 2)]);
|
|
27
|
-
},
|
|
28
|
-
s,
|
|
29
|
-
a,
|
|
28
|
+
}, a = [], f = /* @__PURE__ */ l(
|
|
30
29
|
r,
|
|
30
|
+
_,
|
|
31
|
+
a,
|
|
31
32
|
!1,
|
|
32
33
|
null,
|
|
33
34
|
null
|
|
34
35
|
);
|
|
35
|
-
const
|
|
36
|
+
const i = f.exports;
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
i as default
|
|
38
39
|
};
|
package/split-pane/index.mjs
CHANGED
|
@@ -1,25 +1,7 @@
|
|
|
1
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
1
|
import l from "../resize-observer/index.mjs";
|
|
2
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
import "../resize-observer/style.css";
|
|
4
|
-
|
|
5
|
-
for (let s = 0; s < t.length; s++)
|
|
6
|
-
if (e === t[s])
|
|
7
|
-
return !0;
|
|
8
|
-
return !1;
|
|
9
|
-
}
|
|
10
|
-
const n = (function() {
|
|
11
|
-
return document.addEventListener ? function(e, t, s) {
|
|
12
|
-
e && t && s && e.addEventListener(t, s, !1);
|
|
13
|
-
} : function(e, t, s) {
|
|
14
|
-
e && t && s && e.attachEvent(`on${t}`, s);
|
|
15
|
-
};
|
|
16
|
-
})(), a = (function() {
|
|
17
|
-
return document.removeEventListener ? function(e, t, s) {
|
|
18
|
-
e && t && e.removeEventListener(t, s, !1);
|
|
19
|
-
} : function(e, t, s) {
|
|
20
|
-
e && t && e.detachEvent(`on${t}`, s);
|
|
21
|
-
};
|
|
22
|
-
})(), p = {
|
|
4
|
+
const p = {
|
|
23
5
|
name: "Trigger",
|
|
24
6
|
props: {
|
|
25
7
|
mode: String,
|
|
@@ -58,7 +40,7 @@ var u = function() {
|
|
|
58
40
|
return e._l(8, function(s) {
|
|
59
41
|
return t("i", { key: `trigger-${s}`, class: `${e.prefix}-bar` });
|
|
60
42
|
});
|
|
61
|
-
}], d = /* @__PURE__ */
|
|
43
|
+
}], d = /* @__PURE__ */ h(
|
|
62
44
|
p,
|
|
63
45
|
u,
|
|
64
46
|
c,
|
|
@@ -66,10 +48,29 @@ var u = function() {
|
|
|
66
48
|
null,
|
|
67
49
|
null
|
|
68
50
|
);
|
|
69
|
-
const
|
|
51
|
+
const r = d.exports;
|
|
52
|
+
function g(e, t) {
|
|
53
|
+
for (let s = 0; s < t.length; s++)
|
|
54
|
+
if (e === t[s])
|
|
55
|
+
return !0;
|
|
56
|
+
return !1;
|
|
57
|
+
}
|
|
58
|
+
const a = (function() {
|
|
59
|
+
return document.addEventListener ? function(e, t, s) {
|
|
60
|
+
e && t && s && e.addEventListener(t, s, !1);
|
|
61
|
+
} : function(e, t, s) {
|
|
62
|
+
e && t && s && e.attachEvent(`on${t}`, s);
|
|
63
|
+
};
|
|
64
|
+
})(), f = (function() {
|
|
65
|
+
return document.removeEventListener ? function(e, t, s) {
|
|
66
|
+
e && t && e.removeEventListener(t, s, !1);
|
|
67
|
+
} : function(e, t, s) {
|
|
68
|
+
e && t && e.detachEvent(`on${t}`, s);
|
|
69
|
+
};
|
|
70
|
+
})(), m = {
|
|
70
71
|
name: "SplitPane",
|
|
71
72
|
components: {
|
|
72
|
-
Trigger:
|
|
73
|
+
Trigger: r,
|
|
73
74
|
ResizeObserver: l
|
|
74
75
|
},
|
|
75
76
|
props: {
|
|
@@ -79,7 +80,7 @@ const g = d.exports, m = {
|
|
|
79
80
|
},
|
|
80
81
|
mode: {
|
|
81
82
|
validator(e) {
|
|
82
|
-
return
|
|
83
|
+
return g(e, ["horizontal", "vertical"]);
|
|
83
84
|
},
|
|
84
85
|
default: "horizontal"
|
|
85
86
|
},
|
|
@@ -162,30 +163,30 @@ const g = d.exports, m = {
|
|
|
162
163
|
return this.valueIsPx ? t = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(e)}px` : t = 1 - e, t;
|
|
163
164
|
},
|
|
164
165
|
handleMove(e) {
|
|
165
|
-
const s = (this.isHorizontal ? e.pageX : e.pageY) - this.initOffset,
|
|
166
|
-
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(
|
|
167
|
-
const
|
|
168
|
-
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(
|
|
166
|
+
const s = (this.isHorizontal ? e.pageX : e.pageY) - this.initOffset, o = this.$refs.outerWrapper[this.offsetSize];
|
|
167
|
+
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(o * this.oldOffset + s, o);
|
|
168
|
+
const n = this.getAnotherOffset(i);
|
|
169
|
+
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);
|
|
169
170
|
},
|
|
170
171
|
handleUp() {
|
|
171
|
-
this.isMoving = !1,
|
|
172
|
+
this.isMoving = !1, f(window, "mousemove", this.handleMove), f(window, "mouseup", this.handleUp), this.$emit("on-move-end");
|
|
172
173
|
},
|
|
173
174
|
handleMousedown(e) {
|
|
174
|
-
this.initOffset = this.isHorizontal ? e.pageX : e.pageY, this.oldOffset = this.value, this.isMoving = !0,
|
|
175
|
+
this.initOffset = this.isHorizontal ? e.pageX : e.pageY, this.oldOffset = this.value, this.isMoving = !0, a(window, "mousemove", this.handleMove), a(window, "mouseup", this.handleUp), this.$emit("on-move-start");
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
};
|
|
178
|
-
var
|
|
179
|
+
var x = function() {
|
|
179
180
|
var t = this, s = t._self._c;
|
|
180
181
|
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() {
|
|
181
|
-
return [s(
|
|
182
|
+
return [s(r, { attrs: { mode: "vertical" } })];
|
|
182
183
|
})], 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() {
|
|
183
|
-
return [s(
|
|
184
|
-
})], 2), s("div", { class: [`${t.prefix}-pane`, "bottom-pane"], style: { top: `calc(${t.offset}% + ${t.triggerSize}px)` } }, [t._t("bottom")], 2)]), s(
|
|
185
|
-
},
|
|
184
|
+
return [s(r, { attrs: { mode: "horizontal" } })];
|
|
185
|
+
})], 2), s("div", { class: [`${t.prefix}-pane`, "bottom-pane"], style: { top: `calc(${t.offset}% + ${t.triggerSize}px)` } }, [t._t("bottom")], 2)]), s(l, { on: { notify: t.resetOffset } })], 1);
|
|
186
|
+
}, v = [], $ = /* @__PURE__ */ h(
|
|
186
187
|
m,
|
|
187
|
-
v,
|
|
188
188
|
x,
|
|
189
|
+
v,
|
|
189
190
|
!1,
|
|
190
191
|
null,
|
|
191
192
|
null
|