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