@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.
Files changed (169) hide show
  1. package/address-input/index.mjs +13 -15
  2. package/card/index.mjs +18 -20
  3. package/carousel/index.mjs +10 -12
  4. package/chat/index.mjs +45 -56
  5. package/chunk-file-uploader/index.mjs +36 -378
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
  8. package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
  9. package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
  10. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
  11. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
  12. package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
  13. package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
  14. package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
  15. package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
  16. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
  17. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
  18. package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
  19. package/chunks/core.0Exl13Mz.mjs +54 -0
  20. package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
  21. package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
  22. package/chunks/dictionary.DGt59Ir7.mjs +68 -0
  23. package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
  24. package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
  25. package/chunks/form-item.LWjePsPa.mjs +233 -0
  26. package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
  27. package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
  28. package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
  29. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  30. package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
  31. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  32. package/chunks/utils.DRcxC1Fb.mjs +60 -0
  33. package/color-picker/index.mjs +22 -101
  34. package/confirm-button/index.mjs +1 -1
  35. package/confirmable/index.mjs +1 -1
  36. package/data-box/index.mjs +12 -15
  37. package/data-card/index.mjs +10 -12
  38. package/data-card-text/index.mjs +10 -12
  39. package/data-display/index.mjs +15 -17
  40. package/data-icons/index.mjs +13 -16
  41. package/data-imgtext/index.mjs +15 -18
  42. package/data-operatext/index.mjs +14 -16
  43. package/data-panel/index.mjs +13 -16
  44. package/data-pay/index.mjs +16 -20
  45. package/data-price/index.mjs +14 -16
  46. package/data-progress/index.mjs +13 -17
  47. package/data-rotate/index.mjs +12 -15
  48. package/data-table-picker/index.mjs +15 -18
  49. package/data-tabs/index.mjs +12 -15
  50. package/dialog-form/index.mjs +16 -18
  51. package/dynamic-table/index.mjs +25 -30
  52. package/editable-progress/index.mjs +9 -11
  53. package/editable-tree/index.mjs +52 -56
  54. package/egd-collapse-item/index.mjs +9 -9
  55. package/element-dialog/index.mjs +22 -23
  56. package/element-listeners/style.css +1 -0
  57. package/element-multi-instance/style.css +1 -0
  58. package/flex-column/index.mjs +1 -1
  59. package/flex-item/index.mjs +1 -1
  60. package/flex-row/index.mjs +1 -1
  61. package/flow/index.mjs +10 -11
  62. package/flow-designer/index.mjs +699 -1973
  63. package/flow-designer/style.css +1 -1
  64. package/flow-node/index.mjs +1 -1
  65. package/flow-viewer/index.mjs +9 -9
  66. package/form-block/index.mjs +32 -34
  67. package/form-cascader/index.mjs +23 -24
  68. package/form-checkbox/index.mjs +16 -17
  69. package/form-checkbox-group/index.mjs +20 -23
  70. package/form-date-picker/index.mjs +18 -20
  71. package/form-holder/index.mjs +13 -14
  72. package/form-input/index.mjs +14 -15
  73. package/form-input-cron-expression/index.mjs +19 -22
  74. package/form-input-email/index.mjs +15 -16
  75. package/form-input-id-card/index.mjs +12 -13
  76. package/form-input-number/index.mjs +16 -17
  77. package/form-input-phone-number/index.mjs +21 -22
  78. package/form-input-tag/index.mjs +14 -15
  79. package/form-input-time/index.mjs +14 -15
  80. package/form-item/index.mjs +140 -3
  81. package/form-item-group/index.mjs +28 -31
  82. package/form-radio-group/index.mjs +27 -28
  83. package/form-select/index.mjs +21 -23
  84. package/form-switch/index.mjs +16 -17
  85. package/form-table/index.mjs +16 -17
  86. package/form-table-plus/index.mjs +21 -22
  87. package/form-textarea/index.mjs +15 -16
  88. package/form-tree-select/index.mjs +14 -15
  89. package/form-tree-select-multiple/index.mjs +14 -15
  90. package/form-view/index.mjs +35 -39
  91. package/fy-array/index.mjs +33 -37
  92. package/fy-cascader/index.mjs +16 -17
  93. package/fy-checkbox/index.mjs +11 -13
  94. package/fy-code/index.mjs +10 -10
  95. package/fy-curd/index.mjs +1128 -1152
  96. package/fy-date/index.mjs +10 -11
  97. package/fy-draggable/index.mjs +9 -10
  98. package/fy-dynamic/index.mjs +22 -25
  99. package/fy-empty/index.mjs +1 -1
  100. package/fy-form/index.mjs +638 -15
  101. package/fy-form-design/index.mjs +1307 -1345
  102. package/fy-from/crud/zh.d.ts +6 -6
  103. package/fy-input/index.mjs +12 -14
  104. package/fy-input-color/index.mjs +13 -15
  105. package/fy-input-icon/index.mjs +20 -23
  106. package/fy-input-map/index.mjs +28 -31
  107. package/fy-input-number/index.mjs +9 -10
  108. package/fy-input-table/index.mjs +18 -22
  109. package/fy-input-tree/index.mjs +33 -37
  110. package/fy-progress/index.mjs +9 -10
  111. package/fy-radio/index.mjs +15 -16
  112. package/fy-rate/index.mjs +10 -11
  113. package/fy-select/index.mjs +25 -29
  114. package/fy-slider/index.mjs +11 -12
  115. package/fy-switch/index.mjs +9 -10
  116. package/fy-tabs/index.mjs +15 -17
  117. package/fy-time/index.mjs +1 -1
  118. package/fy-title/index.mjs +1 -1
  119. package/fy-tree/index.mjs +18 -24
  120. package/fy-u-editor/index.mjs +1 -1
  121. package/fy-upload/index.mjs +74 -76
  122. package/guide-steps/index.mjs +11 -13
  123. package/iframe-window/index.mjs +9 -10
  124. package/image-cropper/index.mjs +28 -30
  125. package/image-preview/index.mjs +12 -14
  126. package/index.mjs +72 -72
  127. package/input-number/index.mjs +13 -14
  128. package/input-number-range/index.mjs +11 -12
  129. package/license/index.mjs +1 -1
  130. package/login/index.mjs +21 -26
  131. package/nav-bar/index.mjs +9 -10
  132. package/notice/index.mjs +9 -10
  133. package/package.json +1 -1
  134. package/page-index/index.mjs +12 -13
  135. package/page-index-top/index.mjs +23 -28
  136. package/page-skeleton/index.mjs +14 -14
  137. package/page-skeleton-new/index.mjs +8 -9
  138. package/pageable-table/index.mjs +172 -182
  139. package/pageable-view/index.mjs +15 -16
  140. package/picker-table-view/index.mjs +49 -58
  141. package/present-view/index.mjs +35 -39
  142. package/record-video/index.mjs +1 -1
  143. package/resize-observer/index.mjs +1 -1
  144. package/search/index.mjs +20 -22
  145. package/search-popover/index.mjs +1 -1
  146. package/sign/index.mjs +1 -1
  147. package/skeleton-panel/index.mjs +9 -10
  148. package/split-pane/index.mjs +36 -37
  149. package/static-pageable-table/index.mjs +11 -13
  150. package/sub-table/index.mjs +36 -49
  151. package/sub-table-plus/index.mjs +229 -18
  152. package/swiper/index.mjs +11 -12
  153. package/table-column/index.mjs +223 -3
  154. package/table-view/index.mjs +52 -60
  155. package/tabs-view/index.mjs +17 -19
  156. package/tag-render/index.mjs +16 -18
  157. package/text-ellipsis/index.mjs +9 -10
  158. package/toolbar/index.mjs +13 -14
  159. package/toolbar-button/index.mjs +13 -14
  160. package/verify/index.mjs +1 -1
  161. package/vue-cron/index.mjs +259 -267
  162. package/watermark/index.mjs +1 -1
  163. package/web-types.json +1 -1
  164. package/x-input-tag/index.mjs +21 -24
  165. package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
  166. package/chunks/FyForm.DriwCJ7b.mjs +0 -765
  167. package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
  168. package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
  169. package/chunks/TableColumn.BzivvXMF.mjs +0 -337
@@ -1,21 +1,12 @@
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 = {
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
- }, q = /* @__PURE__ */ Object.assign(H, {
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: 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;
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
- }, C = () => {
62
+ }, k = () => {
72
63
  h.value.resetFields(), d();
73
- }, p = () => {
64
+ }, u = () => {
74
65
  v.value.hide();
75
66
  }, w = () => {
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("请选择!");
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
- o("confirm", n), p();
85
- }, S = (n) => {
86
- o("update:visible", n);
75
+ n("confirm", o), u();
76
+ }, F = (o) => {
77
+ n("update:visible", o);
87
78
  };
88
- return B(async () => {
89
- var n;
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 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;
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
- a.value = c;
100
- t.expandFirstNode && (_.value = [(n = a.value[0]) == null ? void 0 : n.id]);
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: 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 };
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 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,
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 ae = J.exports;
115
+ const q = j.exports;
125
116
  export {
126
- ae as default
117
+ q as default
127
118
  };
@@ -1,13 +1,9 @@
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";
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 g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
- const m = [
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
- ], x = m.map((e) => `${e}-down`), $ = ["back", "withdraw", "edit"], d = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], a = (e, t) => {
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
- }, S = {
33
+ }, _ = {
38
34
  name: "PresentView",
39
35
  components: {
40
- ResizeObserver: u
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 || f(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
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 = y({}, this.toolbarAttrs, e);
88
- return o.buttons = t || ["back"], o.buttons = _(o.buttons), o;
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 = a(t.$el, "form-card"), s = a(o.$el, "form-card");
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 = a(r, "form-scroller"), n = [].indexOf.call(i.children, r), h = [].indexOf.call(i.children, s);
100
- return n - h;
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) => m.includes(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) => x.includes(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 && f(this.$parent, "disabled") && (this.$parent.disabled = !1);
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 w(200), await this.$nextTick()), this.tryByClick = !0, this.activeIndex = t, this.$refs.formScroller.scrollTop = e.$el.offsetTop - 10);
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 (v(this.tabs[e].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
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) => !d.includes(t) && t.indexOf(":down") < 0).map((t) => t.replace(":up", ""));
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) => !$.includes(o) && (d.includes(o) || o.indexOf(":down") > -1)).map((o) => o.replace(":down", ""));
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 F = function() {
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(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 }) {
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(c, { attrs: { "empty-tips": "请添加表单内容" } })];
170
- }), o(l, t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
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(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 }) {
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(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) {
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(b, { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
189
- }, k = [], B = /* @__PURE__ */ g(
190
- S,
191
- F,
192
- k,
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 z = B.exports;
193
+ const C = $.exports;
198
194
  export {
199
- z as default
195
+ C as default
200
196
  };
@@ -1,4 +1,4 @@
1
- import { s } from "../chunks/util.DI42t5GU.mjs";
1
+ import { s } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  let o = class {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { g as r } from "../chunks/index.CIfe3UB3.mjs";
1
+ import { a as r } from "../chunks/index.9OxHjTIE.mjs";
2
2
  import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  let t;
4
4
  function i() {
package/search/index.mjs CHANGED
@@ -1,12 +1,10 @@
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 = {
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: [n],
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 a.label;
24
+ return p.label;
27
25
  },
28
26
  valueKey() {
29
- return a.value;
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
- l(this.form[t]) && this.$set(this.form, t, e.multiple === !1 ? "" : []);
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 c = function() {
87
+ var h = function() {
90
88
  var t = this, r = t._self._c;
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)))]);
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
- }, _ = [], f = /* @__PURE__ */ h(
99
- u,
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 K = f.exports;
104
+ const O = u.exports;
107
105
  export {
108
- K as default
106
+ O as default
109
107
  };
@@ -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.DI42t5GU.mjs";
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.DI42t5GU.mjs";
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();
@@ -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 s = {
2
+ const o = {
4
3
  name: "SkeletonPanel"
5
- }, r = /* @__PURE__ */ Object.assign(s, {
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 _ = function() {
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(o, { attrs: { "tab-position": "top", stretch: "" } }, [e._t("left", function() {
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
- }, a = [], f = /* @__PURE__ */ l(
29
- r,
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 i = f.exports;
35
+ const u = _.exports;
37
36
  export {
38
- i as default
37
+ u as default
39
38
  };
@@ -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
- const p = {
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__ */ h(
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 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 = {
69
+ const g = d.exports, m = {
71
70
  name: "SplitPane",
72
71
  components: {
73
- Trigger: r,
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 g(e, ["horizontal", "vertical"]);
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, 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);
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, f(window, "mousemove", this.handleMove), f(window, "mouseup", this.handleUp), this.$emit("on-move-end");
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, a(window, "mousemove", this.handleMove), a(window, "mouseup", this.handleUp), this.$emit("on-move-start");
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 x = function() {
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(r, { attrs: { mode: "vertical" } })];
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(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(
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