dld-vue-ui 0.3.6 → 0.3.8

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.
@@ -1,5 +1,5 @@
1
- import { h as ee, openBlock as r, createElementBlock as y, normalizeStyle as x, renderSlot as w, defineComponent as M, createBlock as h, unref as o, withCtx as m, createElementVNode as z, ref as D, onMounted as O, resolveComponent as _, createVNode as F, createTextVNode as k, withDirectives as te, vShow as ae, toDisplayString as B, Fragment as N, renderList as R, useSlots as A, createCommentVNode as c, reactive as ne, watch as H, normalizeClass as P, createSlots as ie, withKeys as I } from "vue";
2
- const se = {
1
+ import { h as te, openBlock as r, createElementBlock as y, normalizeStyle as x, renderSlot as w, defineComponent as V, createBlock as h, unref as o, withCtx as m, createElementVNode as z, ref as D, onMounted as O, resolveComponent as _, createVNode as C, createTextVNode as k, withDirectives as ae, vShow as ne, toDisplayString as q, Fragment as U, renderList as R, useSlots as A, createCommentVNode as c, reactive as se, watch as H, normalizeClass as b, createSlots as ie, withKeys as I } from "vue";
2
+ const le = {
3
3
  name: "splitpanes",
4
4
  emits: ["ready", "resize", "resized", "pane-click", "pane-maximize", "pane-add", "pane-remove", "splitter-click"],
5
5
  props: {
@@ -70,16 +70,16 @@ const se = {
70
70
  }, 500)))), this.touch.dragging || this.$emit("splitter-click", this.panes[a]);
71
71
  },
72
72
  onSplitterDblClick(e, a) {
73
- let i = 0;
74
- this.panes = this.panes.map((n, s) => (n.size = s === a ? n.max : n.min, s !== a && (i += n.min), n)), this.panes[a].size -= i, this.$emit("pane-maximize", this.panes[a]), this.$emit("resized", this.panes.map((n) => ({ min: n.min, max: n.max, size: n.size })));
73
+ let s = 0;
74
+ this.panes = this.panes.map((n, i) => (n.size = i === a ? n.max : n.min, i !== a && (s += n.min), n)), this.panes[a].size -= s, this.$emit("pane-maximize", this.panes[a]), this.$emit("resized", this.panes.map((n) => ({ min: n.min, max: n.max, size: n.size })));
75
75
  },
76
76
  onPaneClick(e, a) {
77
77
  this.$emit("pane-click", this.indexedPanes[a]);
78
78
  },
79
79
  getCurrentMouseDrag(e) {
80
- const a = this.container.getBoundingClientRect(), { clientX: i, clientY: n } = "ontouchstart" in window && e.touches ? e.touches[0] : e;
80
+ const a = this.container.getBoundingClientRect(), { clientX: s, clientY: n } = "ontouchstart" in window && e.touches ? e.touches[0] : e;
81
81
  return {
82
- x: i - a.left,
82
+ x: s - a.left,
83
83
  y: n - a.top
84
84
  };
85
85
  },
@@ -90,44 +90,44 @@ const se = {
90
90
  },
91
91
  calculatePanesSize(e) {
92
92
  const a = this.touch.activeSplitter;
93
- let i = {
93
+ let s = {
94
94
  prevPanesSize: this.sumPrevPanesSize(a),
95
95
  nextPanesSize: this.sumNextPanesSize(a),
96
96
  prevReachedMinPanes: 0,
97
97
  nextReachedMinPanes: 0
98
98
  };
99
- const n = 0 + (this.pushOtherPanes ? 0 : i.prevPanesSize), s = 100 - (this.pushOtherPanes ? 0 : i.nextPanesSize), l = Math.max(Math.min(this.getCurrentDragPercentage(e), s), n);
99
+ const n = 0 + (this.pushOtherPanes ? 0 : s.prevPanesSize), i = 100 - (this.pushOtherPanes ? 0 : s.nextPanesSize), l = Math.max(Math.min(this.getCurrentDragPercentage(e), i), n);
100
100
  let d = [a, a + 1], f = this.panes[d[0]] || null, g = this.panes[d[1]] || null;
101
- const C = f.max < 100 && l >= f.max + i.prevPanesSize, $ = g.max < 100 && l <= 100 - (g.max + this.sumNextPanesSize(a + 1));
102
- if (C || $) {
103
- C ? (f.size = f.max, g.size = Math.max(100 - f.max - i.prevPanesSize - i.nextPanesSize, 0)) : (f.size = Math.max(100 - g.max - i.prevPanesSize - this.sumNextPanesSize(a + 1), 0), g.size = g.max);
101
+ const P = f.max < 100 && l >= f.max + s.prevPanesSize, M = g.max < 100 && l <= 100 - (g.max + this.sumNextPanesSize(a + 1));
102
+ if (P || M) {
103
+ P ? (f.size = f.max, g.size = Math.max(100 - f.max - s.prevPanesSize - s.nextPanesSize, 0)) : (f.size = Math.max(100 - g.max - s.prevPanesSize - this.sumNextPanesSize(a + 1), 0), g.size = g.max);
104
104
  return;
105
105
  }
106
106
  if (this.pushOtherPanes) {
107
- const S = this.doPushOtherPanes(i, l);
107
+ const S = this.doPushOtherPanes(s, l);
108
108
  if (!S)
109
109
  return;
110
- ({ sums: i, panesToResize: d } = S), f = this.panes[d[0]] || null, g = this.panes[d[1]] || null;
110
+ ({ sums: s, panesToResize: d } = S), f = this.panes[d[0]] || null, g = this.panes[d[1]] || null;
111
111
  }
112
- f !== null && (f.size = Math.min(Math.max(l - i.prevPanesSize - i.prevReachedMinPanes, f.min), f.max)), g !== null && (g.size = Math.min(Math.max(100 - l - i.nextPanesSize - i.nextReachedMinPanes, g.min), g.max));
112
+ f !== null && (f.size = Math.min(Math.max(l - s.prevPanesSize - s.prevReachedMinPanes, f.min), f.max)), g !== null && (g.size = Math.min(Math.max(100 - l - s.nextPanesSize - s.nextReachedMinPanes, g.min), g.max));
113
113
  },
114
114
  doPushOtherPanes(e, a) {
115
- const i = this.touch.activeSplitter, n = [i, i + 1];
116
- return a < e.prevPanesSize + this.panes[n[0]].min && (n[0] = this.findPrevExpandedPane(i).index, e.prevReachedMinPanes = 0, n[0] < i && this.panes.forEach((s, l) => {
117
- l > n[0] && l <= i && (s.size = s.min, e.prevReachedMinPanes += s.min);
118
- }), e.prevPanesSize = this.sumPrevPanesSize(n[0]), n[0] === void 0) ? (e.prevReachedMinPanes = 0, this.panes[0].size = this.panes[0].min, this.panes.forEach((s, l) => {
119
- l > 0 && l <= i && (s.size = s.min, e.prevReachedMinPanes += s.min);
120
- }), this.panes[n[1]].size = 100 - e.prevReachedMinPanes - this.panes[0].min - e.prevPanesSize - e.nextPanesSize, null) : a > 100 - e.nextPanesSize - this.panes[n[1]].min && (n[1] = this.findNextExpandedPane(i).index, e.nextReachedMinPanes = 0, n[1] > i + 1 && this.panes.forEach((s, l) => {
121
- l > i && l < n[1] && (s.size = s.min, e.nextReachedMinPanes += s.min);
122
- }), e.nextPanesSize = this.sumNextPanesSize(n[1] - 1), n[1] === void 0) ? (e.nextReachedMinPanes = 0, this.panes[this.panesCount - 1].size = this.panes[this.panesCount - 1].min, this.panes.forEach((s, l) => {
123
- l < this.panesCount - 1 && l >= i + 1 && (s.size = s.min, e.nextReachedMinPanes += s.min);
115
+ const s = this.touch.activeSplitter, n = [s, s + 1];
116
+ return a < e.prevPanesSize + this.panes[n[0]].min && (n[0] = this.findPrevExpandedPane(s).index, e.prevReachedMinPanes = 0, n[0] < s && this.panes.forEach((i, l) => {
117
+ l > n[0] && l <= s && (i.size = i.min, e.prevReachedMinPanes += i.min);
118
+ }), e.prevPanesSize = this.sumPrevPanesSize(n[0]), n[0] === void 0) ? (e.prevReachedMinPanes = 0, this.panes[0].size = this.panes[0].min, this.panes.forEach((i, l) => {
119
+ l > 0 && l <= s && (i.size = i.min, e.prevReachedMinPanes += i.min);
120
+ }), this.panes[n[1]].size = 100 - e.prevReachedMinPanes - this.panes[0].min - e.prevPanesSize - e.nextPanesSize, null) : a > 100 - e.nextPanesSize - this.panes[n[1]].min && (n[1] = this.findNextExpandedPane(s).index, e.nextReachedMinPanes = 0, n[1] > s + 1 && this.panes.forEach((i, l) => {
121
+ l > s && l < n[1] && (i.size = i.min, e.nextReachedMinPanes += i.min);
122
+ }), e.nextPanesSize = this.sumNextPanesSize(n[1] - 1), n[1] === void 0) ? (e.nextReachedMinPanes = 0, this.panes[this.panesCount - 1].size = this.panes[this.panesCount - 1].min, this.panes.forEach((i, l) => {
123
+ l < this.panesCount - 1 && l >= s + 1 && (i.size = i.min, e.nextReachedMinPanes += i.min);
124
124
  }), this.panes[n[0]].size = 100 - e.prevPanesSize - e.nextReachedMinPanes - this.panes[this.panesCount - 1].min - e.nextPanesSize, null) : { sums: e, panesToResize: n };
125
125
  },
126
126
  sumPrevPanesSize(e) {
127
- return this.panes.reduce((a, i, n) => a + (n < e ? i.size : 0), 0);
127
+ return this.panes.reduce((a, s, n) => a + (n < e ? s.size : 0), 0);
128
128
  },
129
129
  sumNextPanesSize(e) {
130
- return this.panes.reduce((a, i, n) => a + (n > e + 1 ? i.size : 0), 0);
130
+ return this.panes.reduce((a, s, n) => a + (n > e + 1 ? s.size : 0), 0);
131
131
  },
132
132
  findPrevExpandedPane(e) {
133
133
  return [...this.panes].reverse().find((a) => a.index < e && a.size > a.min) || {};
@@ -137,51 +137,51 @@ const se = {
137
137
  },
138
138
  checkSplitpanesNodes() {
139
139
  Array.from(this.container.children).forEach((e) => {
140
- const a = e.classList.contains("splitpanes__pane"), i = e.classList.contains("splitpanes__splitter");
141
- !a && !i && (e.parentNode.removeChild(e), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
140
+ const a = e.classList.contains("splitpanes__pane"), s = e.classList.contains("splitpanes__splitter");
141
+ !a && !s && (e.parentNode.removeChild(e), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
142
142
  });
143
143
  },
144
- addSplitter(e, a, i = !1) {
145
- const n = e - 1, s = document.createElement("div");
146
- s.classList.add("splitpanes__splitter"), i || (s.onmousedown = (l) => this.onMouseDown(l, n), typeof window < "u" && "ontouchstart" in window && (s.ontouchstart = (l) => this.onMouseDown(l, n)), s.onclick = (l) => this.onSplitterClick(l, n + 1)), this.dblClickSplitter && (s.ondblclick = (l) => this.onSplitterDblClick(l, n + 1)), a.parentNode.insertBefore(s, a);
144
+ addSplitter(e, a, s = !1) {
145
+ const n = e - 1, i = document.createElement("div");
146
+ i.classList.add("splitpanes__splitter"), s || (i.onmousedown = (l) => this.onMouseDown(l, n), typeof window < "u" && "ontouchstart" in window && (i.ontouchstart = (l) => this.onMouseDown(l, n)), i.onclick = (l) => this.onSplitterClick(l, n + 1)), this.dblClickSplitter && (i.ondblclick = (l) => this.onSplitterDblClick(l, n + 1)), a.parentNode.insertBefore(i, a);
147
147
  },
148
148
  removeSplitter(e) {
149
149
  e.onmousedown = void 0, e.onclick = void 0, e.ondblclick = void 0, e.parentNode.removeChild(e);
150
150
  },
151
151
  redoSplitters() {
152
152
  const e = Array.from(this.container.children);
153
- e.forEach((i) => {
154
- i.className.includes("splitpanes__splitter") && this.removeSplitter(i);
153
+ e.forEach((s) => {
154
+ s.className.includes("splitpanes__splitter") && this.removeSplitter(s);
155
155
  });
156
156
  let a = 0;
157
- e.forEach((i) => {
158
- i.className.includes("splitpanes__pane") && (!a && this.firstSplitter ? this.addSplitter(a, i, !0) : a && this.addSplitter(a, i), a++);
157
+ e.forEach((s) => {
158
+ s.className.includes("splitpanes__pane") && (!a && this.firstSplitter ? this.addSplitter(a, s, !0) : a && this.addSplitter(a, s), a++);
159
159
  });
160
160
  },
161
161
  requestUpdate({ target: e, ...a }) {
162
- const i = this.indexedPanes[e._.uid];
163
- Object.entries(a).forEach(([n, s]) => i[n] = s);
162
+ const s = this.indexedPanes[e._.uid];
163
+ Object.entries(a).forEach(([n, i]) => s[n] = i);
164
164
  },
165
165
  onPaneAdd(e) {
166
166
  let a = -1;
167
- Array.from(e.$el.parentNode.children).some((s) => (s.className.includes("splitpanes__pane") && a++, s === e.$el));
168
- const i = parseFloat(e.minSize), n = parseFloat(e.maxSize);
167
+ Array.from(e.$el.parentNode.children).some((i) => (i.className.includes("splitpanes__pane") && a++, i === e.$el));
168
+ const s = parseFloat(e.minSize), n = parseFloat(e.maxSize);
169
169
  this.panes.splice(a, 0, {
170
170
  id: e._.uid,
171
171
  index: a,
172
- min: isNaN(i) ? 0 : i,
172
+ min: isNaN(s) ? 0 : s,
173
173
  max: isNaN(n) ? 100 : n,
174
174
  size: e.size === null ? null : parseFloat(e.size),
175
175
  givenSize: e.size,
176
176
  update: e.update
177
- }), this.panes.forEach((s, l) => s.index = l), this.ready && this.$nextTick(() => {
178
- this.redoSplitters(), this.resetPaneSizes({ addedPane: this.panes[a] }), this.$emit("pane-add", { index: a, panes: this.panes.map((s) => ({ min: s.min, max: s.max, size: s.size })) });
177
+ }), this.panes.forEach((i, l) => i.index = l), this.ready && this.$nextTick(() => {
178
+ this.redoSplitters(), this.resetPaneSizes({ addedPane: this.panes[a] }), this.$emit("pane-add", { index: a, panes: this.panes.map((i) => ({ min: i.min, max: i.max, size: i.size })) });
179
179
  });
180
180
  },
181
181
  onPaneRemove(e) {
182
- const a = this.panes.findIndex((n) => n.id === e._.uid), i = this.panes.splice(a, 1)[0];
183
- this.panes.forEach((n, s) => n.index = s), this.$nextTick(() => {
184
- this.redoSplitters(), this.resetPaneSizes({ removedPane: { ...i, index: a } }), this.$emit("pane-remove", { removed: i, panes: this.panes.map((n) => ({ min: n.min, max: n.max, size: n.size })) });
182
+ const a = this.panes.findIndex((n) => n.id === e._.uid), s = this.panes.splice(a, 1)[0];
183
+ this.panes.forEach((n, i) => n.index = i), this.$nextTick(() => {
184
+ this.redoSplitters(), this.resetPaneSizes({ removedPane: { ...s, index: a } }), this.$emit("pane-remove", { removed: s, panes: this.panes.map((n) => ({ min: n.min, max: n.max, size: n.size })) });
185
185
  });
186
186
  },
187
187
  resetPaneSizes(e = {}) {
@@ -190,44 +190,44 @@ const se = {
190
190
  equalize() {
191
191
  const e = 100 / this.panesCount;
192
192
  let a = 0;
193
- const i = [], n = [];
194
- this.panes.forEach((s) => {
195
- s.size = Math.max(Math.min(e, s.max), s.min), a -= s.size, s.size >= s.max && i.push(s.id), s.size <= s.min && n.push(s.id);
196
- }), a > 0.1 && this.readjustSizes(a, i, n);
193
+ const s = [], n = [];
194
+ this.panes.forEach((i) => {
195
+ i.size = Math.max(Math.min(e, i.max), i.min), a -= i.size, i.size >= i.max && s.push(i.id), i.size <= i.min && n.push(i.id);
196
+ }), a > 0.1 && this.readjustSizes(a, s, n);
197
197
  },
198
198
  initialPanesSizing() {
199
199
  let e = 100;
200
- const a = [], i = [];
200
+ const a = [], s = [];
201
201
  let n = 0;
202
202
  this.panes.forEach((l) => {
203
- e -= l.size, l.size !== null && n++, l.size >= l.max && a.push(l.id), l.size <= l.min && i.push(l.id);
203
+ e -= l.size, l.size !== null && n++, l.size >= l.max && a.push(l.id), l.size <= l.min && s.push(l.id);
204
204
  });
205
- let s = 100;
205
+ let i = 100;
206
206
  e > 0.1 && (this.panes.forEach((l) => {
207
- l.size === null && (l.size = Math.max(Math.min(e / (this.panesCount - n), l.max), l.min)), s -= l.size;
208
- }), s > 0.1 && this.readjustSizes(e, a, i));
207
+ l.size === null && (l.size = Math.max(Math.min(e / (this.panesCount - n), l.max), l.min)), i -= l.size;
208
+ }), i > 0.1 && this.readjustSizes(e, a, s));
209
209
  },
210
210
  equalizeAfterAddOrRemove({ addedPane: e, removedPane: a } = {}) {
211
- let i = 100 / this.panesCount, n = 0;
212
- const s = [], l = [];
213
- e && e.givenSize !== null && (i = (100 - e.givenSize) / (this.panesCount - 1)), this.panes.forEach((d) => {
214
- n -= d.size, d.size >= d.max && s.push(d.id), d.size <= d.min && l.push(d.id);
211
+ let s = 100 / this.panesCount, n = 0;
212
+ const i = [], l = [];
213
+ e && e.givenSize !== null && (s = (100 - e.givenSize) / (this.panesCount - 1)), this.panes.forEach((d) => {
214
+ n -= d.size, d.size >= d.max && i.push(d.id), d.size <= d.min && l.push(d.id);
215
215
  }), !(Math.abs(n) < 0.1) && (this.panes.forEach((d) => {
216
- e && e.givenSize !== null && e.id === d.id || (d.size = Math.max(Math.min(i, d.max), d.min)), n -= d.size, d.size >= d.max && s.push(d.id), d.size <= d.min && l.push(d.id);
217
- }), n > 0.1 && this.readjustSizes(n, s, l));
216
+ e && e.givenSize !== null && e.id === d.id || (d.size = Math.max(Math.min(s, d.max), d.min)), n -= d.size, d.size >= d.max && i.push(d.id), d.size <= d.min && l.push(d.id);
217
+ }), n > 0.1 && this.readjustSizes(n, i, l));
218
218
  },
219
- readjustSizes(e, a, i) {
219
+ readjustSizes(e, a, s) {
220
220
  let n;
221
- e > 0 ? n = e / (this.panesCount - a.length) : n = e / (this.panesCount - i.length), this.panes.forEach((s, l) => {
222
- if (e > 0 && !a.includes(s.id)) {
223
- const d = Math.max(Math.min(s.size + n, s.max), s.min), f = d - s.size;
224
- e -= f, s.size = d;
225
- } else if (!i.includes(s.id)) {
226
- const d = Math.max(Math.min(s.size + n, s.max), s.min), f = d - s.size;
227
- e -= f, s.size = d;
221
+ e > 0 ? n = e / (this.panesCount - a.length) : n = e / (this.panesCount - s.length), this.panes.forEach((i, l) => {
222
+ if (e > 0 && !a.includes(i.id)) {
223
+ const d = Math.max(Math.min(i.size + n, i.max), i.min), f = d - i.size;
224
+ e -= f, i.size = d;
225
+ } else if (!s.includes(i.id)) {
226
+ const d = Math.max(Math.min(i.size + n, i.max), i.min), f = d - i.size;
227
+ e -= f, i.size = d;
228
228
  }
229
- s.update({
230
- [this.horizontal ? "height" : "width"]: `${this.indexedPanes[s.id].size}%`
229
+ i.update({
230
+ [this.horizontal ? "height" : "width"]: `${this.indexedPanes[i.id].size}%`
231
231
  });
232
232
  }), Math.abs(e) > 0.1 && this.$nextTick(() => {
233
233
  this.ready && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
@@ -249,8 +249,8 @@ const se = {
249
249
  this.redoSplitters();
250
250
  },
251
251
  dblClickSplitter(e) {
252
- [...this.container.querySelectorAll(".splitpanes__splitter")].forEach((a, i) => {
253
- a.ondblclick = e ? (n) => this.onSplitterDblClick(n, i) : void 0;
252
+ [...this.container.querySelectorAll(".splitpanes__splitter")].forEach((a, s) => {
253
+ a.ondblclick = e ? (n) => this.onSplitterDblClick(n, s) : void 0;
254
254
  });
255
255
  }
256
256
  },
@@ -261,7 +261,7 @@ const se = {
261
261
  this.container = this.$refs.container, this.checkSplitpanesNodes(), this.redoSplitters(), this.resetPaneSizes(), this.$emit("ready"), this.ready = !0;
262
262
  },
263
263
  render() {
264
- return ee(
264
+ return te(
265
265
  "div",
266
266
  {
267
267
  ref: "container",
@@ -276,12 +276,12 @@ const se = {
276
276
  this.$slots.default()
277
277
  );
278
278
  }
279
- }, le = (e, a) => {
280
- const i = e.__vccOpts || e;
281
- for (const [n, s] of a)
282
- i[n] = s;
283
- return i;
284
- }, oe = {
279
+ }, oe = (e, a) => {
280
+ const s = e.__vccOpts || e;
281
+ for (const [n, i] of a)
282
+ s[n] = i;
283
+ return s;
284
+ }, re = {
285
285
  name: "pane",
286
286
  inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
287
287
  props: {
@@ -326,7 +326,7 @@ const se = {
326
326
  }
327
327
  }
328
328
  };
329
- function re(e, a, i, n, s, l) {
329
+ function de(e, a, s, n, i, l) {
330
330
  return r(), y("div", {
331
331
  class: "splitpanes__pane",
332
332
  onClick: a[0] || (a[0] = (d) => l.onPaneClick(d, e._.uid)),
@@ -335,15 +335,15 @@ function re(e, a, i, n, s, l) {
335
335
  w(e.$slots, "default")
336
336
  ], 4);
337
337
  }
338
- const de = /* @__PURE__ */ le(oe, [["render", re]]);
339
- const ue = /* @__PURE__ */ M({
338
+ const ue = /* @__PURE__ */ oe(re, [["render", de]]);
339
+ const ce = /* @__PURE__ */ V({
340
340
  __name: "index",
341
341
  props: {
342
342
  styles: { type: Object, required: !1, default: () => ({ width: "100%", height: "100%" }) },
343
343
  horizontal: { type: Boolean, required: !1, default: !1 }
344
344
  },
345
345
  setup(e) {
346
- return (a, i) => (r(), h(o(se), {
346
+ return (a, s) => (r(), h(o(le), {
347
347
  horizontal: e.horizontal,
348
348
  style: x(e.styles),
349
349
  class: "splitpanes"
@@ -355,18 +355,18 @@ const ue = /* @__PURE__ */ M({
355
355
  }, 8, ["horizontal", "style"]));
356
356
  }
357
357
  });
358
- const V = (e, a) => {
359
- const i = e.__vccOpts || e;
360
- for (const [n, s] of a)
361
- i[n] = s;
362
- return i;
363
- }, ce = /* @__PURE__ */ V(ue, [["__scopeId", "data-v-4226b5d2"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/SplitPanes/index.vue"]]), pe = /* @__PURE__ */ M({
358
+ const B = (e, a) => {
359
+ const s = e.__vccOpts || e;
360
+ for (const [n, i] of a)
361
+ s[n] = i;
362
+ return s;
363
+ }, pe = /* @__PURE__ */ B(ce, [["__scopeId", "data-v-4226b5d2"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/SplitPanes/index.vue"]]), he = /* @__PURE__ */ V({
364
364
  __name: "pane",
365
365
  props: {
366
366
  styles: { type: Object, required: !0, default: () => ({ background: "#ececec" }) }
367
367
  },
368
368
  setup(e) {
369
- return (a, i) => (r(), h(o(de), {
369
+ return (a, s) => (r(), h(o(ue), {
370
370
  style: x(e.styles)
371
371
  }, {
372
372
  default: m(() => [
@@ -375,142 +375,142 @@ const V = (e, a) => {
375
375
  _: 3
376
376
  }, 8, ["style"]));
377
377
  }
378
- }), he = /* @__PURE__ */ V(pe, [["__file", "D:/Code/front/dld-vue-ui/src/packages/SplitPanes/pane.vue"]]);
378
+ }), me = /* @__PURE__ */ B(he, [["__file", "D:/Code/front/dld-vue-ui/src/packages/SplitPanes/pane.vue"]]);
379
379
  /*! Element Plus Icons Vue v2.0.10 */
380
380
  var E = (e, a) => {
381
- let i = e.__vccOpts || e;
382
- for (let [n, s] of a)
383
- i[n] = s;
384
- return i;
385
- }, me = {
386
- name: "CircleClose"
381
+ let s = e.__vccOpts || e;
382
+ for (let [n, i] of a)
383
+ s[n] = i;
384
+ return s;
387
385
  }, fe = {
386
+ name: "CircleClose"
387
+ }, ve = {
388
388
  viewBox: "0 0 1024 1024",
389
389
  xmlns: "http://www.w3.org/2000/svg"
390
- }, ve = /* @__PURE__ */ z("path", {
390
+ }, _e = /* @__PURE__ */ z("path", {
391
391
  fill: "currentColor",
392
392
  d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"
393
- }, null, -1), _e = /* @__PURE__ */ z("path", {
393
+ }, null, -1), ze = /* @__PURE__ */ z("path", {
394
394
  fill: "currentColor",
395
395
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"
396
- }, null, -1), ze = [
397
- ve,
398
- _e
396
+ }, null, -1), ge = [
397
+ _e,
398
+ ze
399
399
  ];
400
- function ge(e, a, i, n, s, l) {
401
- return r(), y("svg", fe, ze);
400
+ function ye(e, a, s, n, i, l) {
401
+ return r(), y("svg", ve, ge);
402
402
  }
403
- var ye = /* @__PURE__ */ E(me, [["render", ge], ["__file", "circle-close.vue"]]), xe = {
403
+ var xe = /* @__PURE__ */ E(fe, [["render", ye], ["__file", "circle-close.vue"]]), we = {
404
404
  name: "Close"
405
- }, we = {
405
+ }, Se = {
406
406
  viewBox: "0 0 1024 1024",
407
407
  xmlns: "http://www.w3.org/2000/svg"
408
- }, Se = /* @__PURE__ */ z("path", {
408
+ }, be = /* @__PURE__ */ z("path", {
409
409
  fill: "currentColor",
410
410
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
411
- }, null, -1), be = [
412
- Se
411
+ }, null, -1), Pe = [
412
+ be
413
413
  ];
414
- function Pe(e, a, i, n, s, l) {
415
- return r(), y("svg", we, be);
414
+ function Ce(e, a, s, n, i, l) {
415
+ return r(), y("svg", Se, Pe);
416
416
  }
417
- var Ce = /* @__PURE__ */ E(xe, [["render", Pe], ["__file", "close.vue"]]), Fe = {
417
+ var Fe = /* @__PURE__ */ E(we, [["render", Ce], ["__file", "close.vue"]]), ke = {
418
418
  name: "DeleteFilled"
419
- }, ke = {
419
+ }, Ee = {
420
420
  viewBox: "0 0 1024 1024",
421
421
  xmlns: "http://www.w3.org/2000/svg"
422
- }, Ee = /* @__PURE__ */ z("path", {
422
+ }, $e = /* @__PURE__ */ z("path", {
423
423
  fill: "currentColor",
424
424
  d: "M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64h256zm64 0h192v-64H416v64zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32H192zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32zm192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32z"
425
- }, null, -1), $e = [
426
- Ee
425
+ }, null, -1), Me = [
426
+ $e
427
427
  ];
428
- function Me(e, a, i, n, s, l) {
429
- return r(), y("svg", ke, $e);
428
+ function Ve(e, a, s, n, i, l) {
429
+ return r(), y("svg", Ee, Me);
430
430
  }
431
- var Ve = /* @__PURE__ */ E(Fe, [["render", Me], ["__file", "delete-filled.vue"]]), Be = {
431
+ var Be = /* @__PURE__ */ E(ke, [["render", Ve], ["__file", "delete-filled.vue"]]), qe = {
432
432
  name: "Delete"
433
- }, qe = {
433
+ }, Le = {
434
434
  viewBox: "0 0 1024 1024",
435
435
  xmlns: "http://www.w3.org/2000/svg"
436
- }, Le = /* @__PURE__ */ z("path", {
436
+ }, Ne = /* @__PURE__ */ z("path", {
437
437
  fill: "currentColor",
438
438
  d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"
439
- }, null, -1), Ne = [
440
- Le
439
+ }, null, -1), Ue = [
440
+ Ne
441
441
  ];
442
- function Ue(e, a, i, n, s, l) {
443
- return r(), y("svg", qe, Ne);
442
+ function De(e, a, s, n, i, l) {
443
+ return r(), y("svg", Le, Ue);
444
444
  }
445
- var De = /* @__PURE__ */ E(Be, [["render", Ue], ["__file", "delete.vue"]]), Re = {
445
+ var Re = /* @__PURE__ */ E(qe, [["render", De], ["__file", "delete.vue"]]), Te = {
446
446
  name: "Edit"
447
- }, Te = {
447
+ }, We = {
448
448
  viewBox: "0 0 1024 1024",
449
449
  xmlns: "http://www.w3.org/2000/svg"
450
- }, We = /* @__PURE__ */ z("path", {
450
+ }, He = /* @__PURE__ */ z("path", {
451
451
  fill: "currentColor",
452
452
  d: "M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"
453
- }, null, -1), He = /* @__PURE__ */ z("path", {
453
+ }, null, -1), Ie = /* @__PURE__ */ z("path", {
454
454
  fill: "currentColor",
455
455
  d: "m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"
456
- }, null, -1), Ie = [
457
- We,
458
- He
456
+ }, null, -1), Oe = [
457
+ He,
458
+ Ie
459
459
  ];
460
- function Oe(e, a, i, n, s, l) {
461
- return r(), y("svg", Te, Ie);
460
+ function Ae(e, a, s, n, i, l) {
461
+ return r(), y("svg", We, Oe);
462
462
  }
463
- var Ae = /* @__PURE__ */ E(Re, [["render", Oe], ["__file", "edit.vue"]]), je = {
463
+ var Ge = /* @__PURE__ */ E(Te, [["render", Ae], ["__file", "edit.vue"]]), je = {
464
464
  name: "FolderOpened"
465
- }, Ge = {
465
+ }, Ke = {
466
466
  viewBox: "0 0 1024 1024",
467
467
  xmlns: "http://www.w3.org/2000/svg"
468
- }, Ke = /* @__PURE__ */ z("path", {
468
+ }, Ye = /* @__PURE__ */ z("path", {
469
469
  fill: "currentColor",
470
470
  d: "M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384H832zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896z"
471
- }, null, -1), Ye = [
472
- Ke
471
+ }, null, -1), Je = [
472
+ Ye
473
473
  ];
474
- function Je(e, a, i, n, s, l) {
475
- return r(), y("svg", Ge, Ye);
474
+ function Xe(e, a, s, n, i, l) {
475
+ return r(), y("svg", Ke, Je);
476
476
  }
477
- var j = /* @__PURE__ */ E(je, [["render", Je], ["__file", "folder-opened.vue"]]), Xe = {
477
+ var G = /* @__PURE__ */ E(je, [["render", Xe], ["__file", "folder-opened.vue"]]), Qe = {
478
478
  name: "Search"
479
- }, Qe = {
479
+ }, Ze = {
480
480
  viewBox: "0 0 1024 1024",
481
481
  xmlns: "http://www.w3.org/2000/svg"
482
- }, Ze = /* @__PURE__ */ z("path", {
482
+ }, et = /* @__PURE__ */ z("path", {
483
483
  fill: "currentColor",
484
484
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z"
485
- }, null, -1), et = [
486
- Ze
485
+ }, null, -1), tt = [
486
+ et
487
487
  ];
488
- function tt(e, a, i, n, s, l) {
489
- return r(), y("svg", Qe, et);
488
+ function at(e, a, s, n, i, l) {
489
+ return r(), y("svg", Ze, tt);
490
490
  }
491
- var at = /* @__PURE__ */ E(Xe, [["render", tt], ["__file", "search.vue"]]), nt = {
491
+ var nt = /* @__PURE__ */ E(Qe, [["render", at], ["__file", "search.vue"]]), st = {
492
492
  name: "Upload"
493
493
  }, it = {
494
494
  viewBox: "0 0 1024 1024",
495
495
  xmlns: "http://www.w3.org/2000/svg"
496
- }, st = /* @__PURE__ */ z("path", {
496
+ }, lt = /* @__PURE__ */ z("path", {
497
497
  fill: "currentColor",
498
498
  d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"
499
- }, null, -1), lt = [
500
- st
499
+ }, null, -1), ot = [
500
+ lt
501
501
  ];
502
- function ot(e, a, i, n, s, l) {
503
- return r(), y("svg", it, lt);
502
+ function rt(e, a, s, n, i, l) {
503
+ return r(), y("svg", it, ot);
504
504
  }
505
- var G = /* @__PURE__ */ E(nt, [["render", ot], ["__file", "upload.vue"]]), rt = function() {
505
+ var j = /* @__PURE__ */ E(st, [["render", rt], ["__file", "upload.vue"]]), dt = function() {
506
506
  function e(a) {
507
507
  if (!a)
508
508
  throw new TypeError("Invalid argument; `value` has no value.");
509
509
  this.value = e.EMPTY, a && e.isGuid(a) && (this.value = a);
510
510
  }
511
511
  return e.isGuid = function(a) {
512
- var i = a.toString();
513
- return a && (a instanceof e || e.validator.test(i));
512
+ var s = a.toString();
513
+ return a && (a instanceof e || e.validator.test(s));
514
514
  }, e.create = function() {
515
515
  return new e([e.gen(2), e.gen(1), e.gen(1), e.gen(1), e.gen(3)].join("-"));
516
516
  }, e.createEmpty = function() {
@@ -520,9 +520,9 @@ var G = /* @__PURE__ */ E(nt, [["render", ot], ["__file", "upload.vue"]]), rt =
520
520
  }, e.raw = function() {
521
521
  return [e.gen(2), e.gen(1), e.gen(1), e.gen(1), e.gen(3)].join("-");
522
522
  }, e.gen = function(a) {
523
- for (var i = "", n = 0; n < a; n++)
524
- i += ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
525
- return i;
523
+ for (var s = "", n = 0; n < a; n++)
524
+ s += ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
525
+ return s;
526
526
  }, e.prototype.equals = function(a) {
527
527
  return e.isGuid(a) && this.value === a.toString();
528
528
  }, e.prototype.isEmpty = function() {
@@ -534,41 +534,41 @@ var G = /* @__PURE__ */ E(nt, [["render", ot], ["__file", "upload.vue"]]), rt =
534
534
  value: this.value
535
535
  };
536
536
  }, e.validator = new RegExp("^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$", "i"), e.EMPTY = "00000000-0000-0000-0000-000000000000", e;
537
- }(), dt = rt;
538
- const ut = { style: {} }, ct = ["id", "accept"], pt = { class: "filename" }, ht = /* @__PURE__ */ M({
537
+ }(), ut = dt;
538
+ const ct = { style: {} }, pt = ["id", "accept"], ht = { class: "filename" }, mt = /* @__PURE__ */ V({
539
539
  __name: "index",
540
540
  props: {
541
541
  size: { type: String, required: !1, default: "default" },
542
542
  name: { type: String, required: !1, default: "\u4E0A\u4F20\u6587\u4EF6" },
543
- icon: { type: null, required: !1, default: G },
543
+ icon: { type: null, required: !1, default: j },
544
544
  type: { type: null, required: !1, default: "success" },
545
545
  accept: { type: String, required: !0, default: "*" }
546
546
  },
547
547
  emits: ["upload"],
548
- setup(e, { expose: a, emit: i }) {
549
- let n = dt.create().toString(), s, l = D("");
548
+ setup(e, { expose: a, emit: s }) {
549
+ let n = ut.create().toString(), i, l = D("");
550
550
  function d() {
551
- s.click();
551
+ i.click();
552
552
  }
553
553
  function f() {
554
- l.value = s.value;
554
+ l.value = i.value;
555
555
  }
556
556
  function g() {
557
- s.files !== null && i("upload", s.files[0]);
557
+ i.files !== null && s("upload", i.files[0]);
558
558
  }
559
- function C() {
560
- s.value = "", l.value = "";
559
+ function P() {
560
+ i.value = "", l.value = "";
561
561
  }
562
562
  return O(() => {
563
- s = document.getElementById(n);
563
+ i = document.getElementById(n);
564
564
  }), a({
565
- Clear: C
566
- }), ($, S) => {
567
- const u = _("el-button");
568
- return r(), y("div", ut, [
569
- F(u, {
565
+ Clear: P
566
+ }), (M, S) => {
567
+ const F = _("el-button");
568
+ return r(), y("div", ct, [
569
+ C(F, {
570
570
  type: e.type,
571
- icon: o(j),
571
+ icon: o(G),
572
572
  size: e.size,
573
573
  class: "btn",
574
574
  onClick: d
@@ -578,16 +578,16 @@ const ut = { style: {} }, ct = ["id", "accept"], pt = { class: "filename" }, ht
578
578
  ]),
579
579
  _: 1
580
580
  }, 8, ["type", "icon", "size"]),
581
- te(z("input", {
581
+ ae(z("input", {
582
582
  type: "file",
583
583
  id: o(n),
584
584
  onChange: f,
585
585
  accept: e.accept
586
- }, null, 40, ct), [
587
- [ae, !1]
586
+ }, null, 40, pt), [
587
+ [ne, !1]
588
588
  ]),
589
- z("span", pt, B(o(l)), 1),
590
- F(u, {
589
+ z("span", ht, q(o(l)), 1),
590
+ C(F, {
591
591
  type: e.type,
592
592
  icon: e.icon,
593
593
  size: e.size,
@@ -597,7 +597,7 @@ const ut = { style: {} }, ct = ["id", "accept"], pt = { class: "filename" }, ht
597
597
  onClick: g
598
598
  }, {
599
599
  default: m(() => [
600
- k(B(e.name), 1)
600
+ k(q(e.name), 1)
601
601
  ]),
602
602
  _: 1
603
603
  }, 8, ["type", "icon", "size", "disabled", "title"])
@@ -605,54 +605,54 @@ const ut = { style: {} }, ct = ["id", "accept"], pt = { class: "filename" }, ht
605
605
  };
606
606
  }
607
607
  });
608
- const mt = /* @__PURE__ */ V(ht, [["__scopeId", "data-v-83b9cdd7"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/UpLoadFile/index.vue"]]), ft = ["accept"], vt = { class: "filename" }, _t = { class: "content" }, zt = /* @__PURE__ */ M({
608
+ const ft = /* @__PURE__ */ B(mt, [["__scopeId", "data-v-83b9cdd7"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/UpLoadFile/index.vue"]]), vt = ["accept"], _t = { class: "filename" }, zt = { class: "content" }, gt = /* @__PURE__ */ V({
609
609
  __name: "index",
610
610
  props: {
611
611
  size: { type: String, required: !0, default: "default" },
612
612
  accept: { type: String, required: !0, default: "*" }
613
613
  },
614
614
  emits: ["upload", "clear"],
615
- setup(e, { expose: a, emit: i }) {
616
- const n = e, s = D(), l = D([]);
615
+ setup(e, { expose: a, emit: s }) {
616
+ const n = e, i = D(), l = D([]);
617
617
  function d() {
618
618
  var S;
619
- (S = s.value) == null || S.click();
619
+ (S = i.value) == null || S.click();
620
620
  }
621
621
  function f() {
622
- var S, u, v;
623
- if (l.value = [], (S = s.value) != null && S.files)
624
- for (let b = 0; b < ((v = (u = s.value) == null ? void 0 : u.files) == null ? void 0 : v.length); b++)
625
- l.value[b] = s.value.files[b];
622
+ var S, F, u;
623
+ if (l.value = [], (S = i.value) != null && S.files)
624
+ for (let v = 0; v < ((u = (F = i.value) == null ? void 0 : F.files) == null ? void 0 : u.length); v++)
625
+ l.value[v] = i.value.files[v];
626
626
  else
627
627
  l.value = [];
628
628
  }
629
629
  function g(S) {
630
630
  l.value.splice(S, 1);
631
631
  }
632
- function C() {
633
- i("upload", l.value);
632
+ function P() {
633
+ s("upload", l.value);
634
634
  }
635
- function $() {
635
+ function M() {
636
636
  l.value = [];
637
637
  }
638
638
  return a({
639
- Clear: $
640
- }), (S, u) => {
641
- const v = _("el-button");
639
+ Clear: M
640
+ }), (S, F) => {
641
+ const u = _("el-button");
642
642
  return r(), y("div", null, [
643
643
  z("input", {
644
644
  type: "file",
645
645
  ref_key: "files",
646
- ref: s,
646
+ ref: i,
647
647
  multiple: "",
648
648
  style: { display: "none" },
649
649
  onChange: f,
650
650
  accept: n.accept
651
- }, null, 40, ft),
652
- F(v, {
651
+ }, null, 40, vt),
652
+ C(u, {
653
653
  type: "success",
654
654
  size: n.size,
655
- icon: o(j),
655
+ icon: o(G),
656
656
  onClick: d
657
657
  }, {
658
658
  default: m(() => [
@@ -660,11 +660,11 @@ const mt = /* @__PURE__ */ V(ht, [["__scopeId", "data-v-83b9cdd7"], ["__file", "
660
660
  ]),
661
661
  _: 1
662
662
  }, 8, ["size", "icon"]),
663
- F(v, {
663
+ C(u, {
664
664
  type: "success",
665
665
  size: n.size,
666
- icon: o(G),
667
- onClick: C,
666
+ icon: o(j),
667
+ onClick: P,
668
668
  disabled: l.value.length == 0
669
669
  }, {
670
670
  default: m(() => [
@@ -672,21 +672,21 @@ const mt = /* @__PURE__ */ V(ht, [["__scopeId", "data-v-83b9cdd7"], ["__file", "
672
672
  ]),
673
673
  _: 1
674
674
  }, 8, ["size", "icon", "disabled"]),
675
- (r(!0), y(N, null, R(l.value, (b, U) => (r(), y("p", vt, [
676
- z("span", _t, B(b.name), 1),
677
- F(v, {
675
+ (r(!0), y(U, null, R(l.value, (v, $) => (r(), y("p", _t, [
676
+ z("span", zt, q(v.name), 1),
677
+ C(u, {
678
678
  size: "small",
679
- icon: o(Ce),
679
+ icon: o(Fe),
680
680
  class: "operation",
681
681
  link: "",
682
- onClick: (T) => g(U)
682
+ onClick: (T) => g($)
683
683
  }, null, 8, ["icon", "onClick"])
684
684
  ]))), 256))
685
685
  ]);
686
686
  };
687
687
  }
688
688
  });
689
- const gt = /* @__PURE__ */ V(zt, [["__scopeId", "data-v-50d3310f"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/UpLoadFiles/index.vue"]]), yt = /* @__PURE__ */ M({
689
+ const yt = /* @__PURE__ */ B(gt, [["__scopeId", "data-v-50d3310f"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/UpLoadFiles/index.vue"]]), xt = /* @__PURE__ */ V({
690
690
  __name: "index",
691
691
  props: {
692
692
  asideWidth: { type: Number, required: !1, default: 220 },
@@ -695,17 +695,17 @@ const gt = /* @__PURE__ */ V(zt, [["__scopeId", "data-v-50d3310f"], ["__file", "
695
695
  },
696
696
  setup(e) {
697
697
  const a = A();
698
- return (i, n) => {
699
- const s = _("el-aside"), l = _("el-header"), d = _("el-main"), f = _("el-container");
698
+ return (s, n) => {
699
+ const i = _("el-aside"), l = _("el-header"), d = _("el-main"), f = _("el-container");
700
700
  return r(), h(f, { class: "container" }, {
701
701
  default: m(() => [
702
- o(a).aside && !e.horizontal ? (r(), h(s, {
702
+ o(a).aside && !e.horizontal ? (r(), h(i, {
703
703
  key: 0,
704
704
  class: "aside",
705
705
  style: x("width: " + e.asideWidth + "px;")
706
706
  }, {
707
707
  default: m(() => [
708
- w(i.$slots, "aside", {}, void 0, !0)
708
+ w(s.$slots, "aside", {}, void 0, !0)
709
709
  ]),
710
710
  _: 3
711
711
  }, 8, ["style"])) : c("v-if", !0),
@@ -715,13 +715,13 @@ const gt = /* @__PURE__ */ V(zt, [["__scopeId", "data-v-50d3310f"], ["__file", "
715
715
  style: x("height: " + e.headerMaxHeight + "px;")
716
716
  }, {
717
717
  default: m(() => [
718
- w(i.$slots, "header", {}, void 0, !0)
718
+ w(s.$slots, "header", {}, void 0, !0)
719
719
  ]),
720
720
  _: 3
721
721
  }, 8, ["style"])) : c("v-if", !0),
722
- F(d, { class: "main" }, {
722
+ C(d, { class: "main" }, {
723
723
  default: m(() => [
724
- F(f, { class: "inside_container" }, {
724
+ C(f, { class: "inside_container" }, {
725
725
  default: m(() => [
726
726
  o(a).header && !e.horizontal ? (r(), h(l, {
727
727
  key: 0,
@@ -729,23 +729,23 @@ const gt = /* @__PURE__ */ V(zt, [["__scopeId", "data-v-50d3310f"], ["__file", "
729
729
  style: x("height: " + e.headerMaxHeight + "px;")
730
730
  }, {
731
731
  default: m(() => [
732
- w(i.$slots, "header", {}, void 0, !0)
732
+ w(s.$slots, "header", {}, void 0, !0)
733
733
  ]),
734
734
  _: 3
735
735
  }, 8, ["style"])) : c("v-if", !0),
736
- o(a).aside && e.horizontal ? (r(), h(s, {
736
+ o(a).aside && e.horizontal ? (r(), h(i, {
737
737
  key: 1,
738
738
  class: "aside",
739
739
  style: x("width: " + e.asideWidth + "px;")
740
740
  }, {
741
741
  default: m(() => [
742
- w(i.$slots, "aside", {}, void 0, !0)
742
+ w(s.$slots, "aside", {}, void 0, !0)
743
743
  ]),
744
744
  _: 3
745
745
  }, 8, ["style"])) : c("v-if", !0),
746
- F(d, { class: "inside_main" }, {
746
+ C(d, { class: "inside_main" }, {
747
747
  default: m(() => [
748
- w(i.$slots, "default", {}, void 0, !0)
748
+ w(s.$slots, "default", {}, void 0, !0)
749
749
  ]),
750
750
  _: 3
751
751
  })
@@ -761,10 +761,10 @@ const gt = /* @__PURE__ */ V(zt, [["__scopeId", "data-v-50d3310f"], ["__file", "
761
761
  };
762
762
  }
763
763
  });
764
- const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/Layout/index.vue"]]), wt = {
764
+ const wt = /* @__PURE__ */ B(xt, [["__scopeId", "data-v-5d747d9d"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/Layout/index.vue"]]), St = {
765
765
  key: 0,
766
766
  class: "header"
767
- }, St = { class: "header_title" }, bt = ["innerHTML"], Pt = { class: "header_title" }, Ct = { class: "pagination" }, Ft = /* @__PURE__ */ M({
767
+ }, bt = { class: "header_title" }, Pt = ["innerHTML"], Ct = { class: "header_title" }, Ft = { class: "pagination" }, kt = /* @__PURE__ */ V({
768
768
  __name: "index",
769
769
  props: {
770
770
  maxHeight: { type: Number, required: !1, default: 550 },
@@ -794,32 +794,35 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
794
794
  total: { type: Number, required: !1, default: 0 },
795
795
  hideOnSinglePage: { type: Boolean, required: !1, default: !1 }
796
796
  },
797
- emits: ["row-click", "row-dblclick", "selection-change", "search", "clear", "delete", "edit", "page-index", "page-size", "enter"],
797
+ emits: ["row-click", "row-dblclick", "selection-change", "search", "clear", "delete", "edit", "page-index", "page-size", "get-ref"],
798
798
  setup(e, { emit: a }) {
799
- const i = e;
800
- let n = ne({
799
+ const s = e;
800
+ let n = se({
801
801
  pageIndex: 1,
802
802
  pageSize: 5
803
803
  });
804
- const s = A(), l = (u) => {
804
+ D();
805
+ const i = A(), l = (u) => {
805
806
  a("row-click", u);
806
807
  }, d = (u) => {
807
808
  a("row-click", u);
808
809
  }, f = (u) => {
809
810
  a("selection-change", u);
810
811
  }, g = () => {
811
- if (i.tableColumn.length > 0)
812
- for (let u = 0; u < i.tableColumn.length; u++) {
813
- let v = i.tableColumn[u];
812
+ if (s.tableColumn.length > 0)
813
+ for (let u = 0; u < s.tableColumn.length; u++) {
814
+ let v = s.tableColumn[u];
814
815
  n[v.prop] = null;
815
816
  }
816
817
  a("clear");
817
- }, C = () => {
818
+ }, P = () => {
818
819
  a("search", n);
819
- }, $ = (u) => {
820
+ }, M = (u) => {
820
821
  a("edit", u);
821
822
  }, S = (u) => {
822
823
  a("delete", u);
824
+ }, F = (u) => {
825
+ a("get-ref", u);
823
826
  };
824
827
  return H(
825
828
  () => n.pageIndex,
@@ -832,20 +835,20 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
832
835
  a("page-size", Number(u), Number(v));
833
836
  }
834
837
  ), O(() => {
835
- if (i.tableColumn.length > 0)
836
- for (let u = 0; u < i.tableColumn.length; u++) {
837
- let v = i.tableColumn[u];
838
+ if (s.tableColumn.length > 0)
839
+ for (let u = 0; u < s.tableColumn.length; u++) {
840
+ let v = s.tableColumn[u];
838
841
  n[v.prop] = null;
839
842
  }
840
843
  }), (u, v) => {
841
- const b = _("el-table-column"), U = _("el-input"), T = _("el-input-number"), K = _("el-option"), Y = _("el-select"), q = _("el-date-picker"), W = _("el-time-picker"), J = _("el-switch"), L = _("el-button"), X = _("el-popconfirm"), Q = _("el-table"), Z = _("el-pagination");
842
- return r(), y(N, null, [
843
- o(s).header ? (r(), y("div", wt, [
844
+ const $ = _("el-table-column"), T = _("el-input"), K = _("el-input-number"), Y = _("el-option"), J = _("el-select"), L = _("el-date-picker"), W = _("el-time-picker"), X = _("el-switch"), N = _("el-button"), Q = _("el-popconfirm"), Z = _("el-table"), ee = _("el-pagination");
845
+ return r(), y(U, null, [
846
+ o(i).header ? (r(), y("div", St, [
844
847
  w(u.$slots, "header", {}, void 0, !0)
845
848
  ])) : c("v-if", !0),
846
- F(Q, {
849
+ C(Z, {
847
850
  data: e.tableData,
848
- class: P([e.size && e.size == "small" ? "mini-table" : "table"]),
851
+ class: b([e.size && e.size == "small" ? "mini-table" : "table"]),
849
852
  "max-height": e.maxHeight,
850
853
  size: e.size,
851
854
  stripe: e.stripe,
@@ -853,10 +856,11 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
853
856
  "highlight-current-row": e.highLight,
854
857
  onRowClick: l,
855
858
  onRowDblclick: d,
856
- onSelectionChange: f
859
+ onSelectionChange: f,
860
+ ref: (t) => F(t)
857
861
  }, {
858
862
  default: m(() => [
859
- e.type && e.type == "index" ? (r(), h(b, {
863
+ e.type && e.type == "index" ? (r(), h($, {
860
864
  key: 0,
861
865
  align: "center",
862
866
  type: "index",
@@ -864,14 +868,14 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
864
868
  fixed: e.typeIsFixed ? "left" : !1,
865
869
  label: e.typeLabel
866
870
  }, null, 8, ["width", "fixed", "label"])) : c("v-if", !0),
867
- e.type == "selection" ? (r(), h(b, {
871
+ e.type == "selection" ? (r(), h($, {
868
872
  key: 1,
869
873
  align: "center",
870
874
  type: "selection",
871
875
  width: e.typeWidth + "px",
872
876
  fixed: e.typeIsFixed ? "left" : !1
873
877
  }, null, 8, ["width", "fixed"])) : c("v-if", !0),
874
- e.type == "expand" ? (r(), h(b, {
878
+ e.type == "expand" ? (r(), h($, {
875
879
  key: 2,
876
880
  align: "center",
877
881
  type: "expand",
@@ -886,16 +890,17 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
886
890
  ]),
887
891
  _: 3
888
892
  }, 8, ["width", "fixed", "label"])) : c("v-if", !0),
889
- (r(!0), y(N, null, R(e.tableColumn, (t) => (r(), h(b, {
893
+ (r(!0), y(U, null, R(e.tableColumn, (t) => (r(), h($, {
890
894
  prop: t.costom ? !1 : t.prop,
891
895
  width: t.width ? t.width : "",
892
896
  fixed: t.fixed ? t.fixed : !1,
893
- align: t.align ? t.align : "left"
897
+ align: t.align ? t.align : "left",
898
+ "show-overflow-tooltip": !!t.overflow
894
899
  }, ie({
895
900
  header: m(() => [
896
- z("div", St, B(t.label), 1),
901
+ z("div", bt, q(t.label), 1),
897
902
  c(" \u6587\u672C\u641C\u7D22\u6846 "),
898
- t.search && (!t.type || t.type == "text") ? (r(), h(U, {
903
+ t.search && (!t.type || t.type == "text") ? (r(), h(T, {
899
904
  key: 0,
900
905
  modelValue: o(n)[t.prop],
901
906
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -906,11 +911,11 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
906
911
  ),
907
912
  disabled: t.disabled,
908
913
  placeholder: t.placeholder ? t.placeholder : "\u8BF7\u8F93\u5165" + t.label,
909
- class: P([t.align && t.align == "center" ? "center" : ""]),
910
- onKeyup: I(C, ["enter", "native"])
914
+ class: b([t.align && t.align == "center" ? "center" : ""]),
915
+ onKeyup: I(P, ["enter", "native"])
911
916
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size", "style", "disabled", "placeholder", "class", "onKeyup"])) : c("v-if", !0),
912
917
  c(" \u6570\u5B57\u6846\u641C\u7D22 "),
913
- t.search && t.type == "number" ? (r(), h(T, {
918
+ t.search && t.type == "number" ? (r(), h(K, {
914
919
  key: 1,
915
920
  modelValue: o(n)[t.prop],
916
921
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -921,14 +926,14 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
921
926
  ),
922
927
  disabled: t.disabled,
923
928
  placeholder: t.placeholder ? t.placeholder : "\u8BF7\u8F93\u5165" + t.label,
924
- class: P([t.align && t.align == "center" ? "center" : ""]),
929
+ class: b([t.align && t.align == "center" ? "center" : ""]),
925
930
  max: t.max != null ? t.max : 1 / 0,
926
931
  min: t.min != null ? t.min : -1 / 0,
927
932
  step: t.step != null ? t.step : 1,
928
- onKeyup: I(C, ["enter", "native"])
933
+ onKeyup: I(P, ["enter", "native"])
929
934
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size", "style", "disabled", "placeholder", "class", "max", "min", "step", "onKeyup"])) : c("v-if", !0),
930
935
  c(" \u9009\u62E9\u641C\u7D22 "),
931
- t.search && t.type == "select" ? (r(), h(Y, {
936
+ t.search && t.type == "select" ? (r(), h(J, {
932
937
  key: 2,
933
938
  modelValue: o(n)[t.prop],
934
939
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -942,10 +947,10 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
942
947
  multiple: t.multiple,
943
948
  "collapse-tags": t.omit,
944
949
  placeholder: t.placeholder ? t.placeholder : "\u8BF7\u9009\u62E9" + t.label,
945
- class: P([t.align && t.align == "center" ? "center" : ""])
950
+ class: b([t.align && t.align == "center" ? "center" : ""])
946
951
  }, {
947
952
  default: m(() => [
948
- (r(!0), y(N, null, R(t.options, (p) => (r(), h(K, {
953
+ (r(!0), y(U, null, R(t.options, (p) => (r(), h(Y, {
949
954
  label: p.label ? p.label : p.value,
950
955
  value: p.value,
951
956
  disabled: p.disabled
@@ -954,7 +959,7 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
954
959
  _: 2
955
960
  }, 1032, ["modelValue", "onUpdate:modelValue", "size", "style", "disabled", "multiple", "collapse-tags", "placeholder", "class"])) : c("v-if", !0),
956
961
  c(" \u65E5\u671F\u9009\u62E9 "),
957
- t.search && t.type == "date" ? (r(), h(q, {
962
+ t.search && t.type == "date" ? (r(), h(L, {
958
963
  key: 3,
959
964
  modelValue: o(n)[t.prop],
960
965
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -962,7 +967,7 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
962
967
  style: x(t.searchWidth ? "width: " + t.searchWidth + "px;" : ""),
963
968
  placeholder: t.placeholder ? t.placeholder : "\u8BF7\u9009\u62E9\u65E5\u671F",
964
969
  size: t.size,
965
- class: P([t.align && t.align == "center" ? "center" : ""])
970
+ class: b([t.align && t.align == "center" ? "center" : ""])
966
971
  }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "placeholder", "size", "class"])) : c("v-if", !0),
967
972
  c(" \u65F6\u95F4\u9009\u62E9 "),
968
973
  t.search && t.type == "time" ? (r(), h(W, {
@@ -975,10 +980,10 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
975
980
  ),
976
981
  placeholder: t.placeholder ? t.placeholder : "\u8BF7\u9009\u62E9\u65F6\u95F4",
977
982
  size: t.size,
978
- class: P([t.align && t.align == "center" ? "center" : ""])
983
+ class: b([t.align && t.align == "center" ? "center" : ""])
979
984
  }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "placeholder", "size", "class"])) : c("v-if", !0),
980
985
  c(" \u65E5\u671F\u65F6\u95F4\u641C\u7D22 "),
981
- t.search && t.type == "datetime" ? (r(), h(q, {
986
+ t.search && t.type == "datetime" ? (r(), h(L, {
982
987
  key: 5,
983
988
  modelValue: o(n)[t.prop],
984
989
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -988,10 +993,10 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
988
993
  ),
989
994
  placeholder: t.placeholder ? t.placeholder : "\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",
990
995
  size: t.size,
991
- class: P([t.align && t.align == "center" ? "center" : ""])
996
+ class: b([t.align && t.align == "center" ? "center" : ""])
992
997
  }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "placeholder", "size", "class"])) : c("v-if", !0),
993
998
  c(" \u65E5\u671F\u8303\u56F4\u9009\u62E9 "),
994
- t.search && t.type == "daterange" ? (r(), h(q, {
999
+ t.search && t.type == "daterange" ? (r(), h(L, {
995
1000
  key: 6,
996
1001
  modelValue: o(n)[t.prop],
997
1002
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -1003,7 +1008,7 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1003
1008
  t.searchWidth ? "width: " + t.searchWidth + "px;" : "width: 92%"
1004
1009
  ),
1005
1010
  size: t.size,
1006
- class: P([t.align && t.align == "center" ? "center" : ""])
1011
+ class: b([t.align && t.align == "center" ? "center" : ""])
1007
1012
  }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "style", "size", "class"])) : c("v-if", !0),
1008
1013
  c(" \u65F6\u95F4\u8303\u56F4\u9009\u62E9 "),
1009
1014
  t.search && t.type == "timerange" ? (r(), h(W, {
@@ -1019,10 +1024,10 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1019
1024
  t.searchWidth ? "width: " + t.searchWidth + "px;" : "width: 92%"
1020
1025
  ),
1021
1026
  size: t.size,
1022
- class: P([t.align && t.align == "center" ? "center" : ""])
1027
+ class: b([t.align && t.align == "center" ? "center" : ""])
1023
1028
  }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "style", "size", "class"])) : c("v-if", !0),
1024
1029
  c(" \u65E5\u671F\u65F6\u95F4\u8303\u56F4\u9009\u62E9 "),
1025
- t.search && t.type == "datetimerange" ? (r(), h(q, {
1030
+ t.search && t.type == "datetimerange" ? (r(), h(L, {
1026
1031
  key: 8,
1027
1032
  modelValue: o(n)[t.prop],
1028
1033
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
@@ -1034,17 +1039,17 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1034
1039
  t.searchWidth ? "width: " + t.searchWidth + "px;" : "width: 92%"
1035
1040
  ),
1036
1041
  size: t.size,
1037
- class: P([t.align && t.align == "center" ? "center" : ""])
1042
+ class: b([t.align && t.align == "center" ? "center" : ""])
1038
1043
  }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "style", "size", "class"])) : c("v-if", !0),
1039
1044
  c(" \u5F00\u5173 "),
1040
- t.search && t.type == "switch" ? (r(), h(J, {
1045
+ t.search && t.type == "switch" ? (r(), h(X, {
1041
1046
  key: 9,
1042
1047
  modelValue: o(n)[t.prop],
1043
1048
  "onUpdate:modelValue": (p) => o(n)[t.prop] = p,
1044
1049
  size: t.size,
1045
1050
  "active-text": t.openText,
1046
1051
  "inactive-text": t.closeText,
1047
- class: P([t.align && t.align == "center" ? "center" : ""])
1052
+ class: b([t.align && t.align == "center" ? "center" : ""])
1048
1053
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size", "active-text", "inactive-text", "class"])) : c("v-if", !0)
1049
1054
  ]),
1050
1055
  _: 2
@@ -1054,26 +1059,26 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1054
1059
  fn: m((p) => [
1055
1060
  z("span", {
1056
1061
  innerHTML: t.costom ? t.costom(p.row) : ""
1057
- }, null, 8, bt)
1062
+ }, null, 8, Pt)
1058
1063
  ]),
1059
1064
  key: "0"
1060
1065
  } : void 0
1061
- ]), 1032, ["prop", "width", "fixed", "align"]))), 256)),
1062
- e.operate ? (r(), h(b, {
1066
+ ]), 1032, ["prop", "width", "fixed", "align", "show-overflow-tooltip"]))), 256)),
1067
+ e.operate ? (r(), h($, {
1063
1068
  key: 3,
1064
1069
  align: "center",
1065
1070
  width: e.operateWidth ? e.operateWidth : "",
1066
1071
  fixed: e.operateIsFixed ? "right" : !1
1067
1072
  }, {
1068
1073
  header: m(() => [
1069
- z("div", Pt, B(e.operateLabel), 1),
1074
+ z("div", Ct, q(e.operateLabel), 1),
1070
1075
  w(u.$slots, "operate-front", {}, void 0, !0),
1071
- e.search ? (r(), h(L, {
1076
+ e.search ? (r(), h(N, {
1072
1077
  key: 0,
1073
1078
  type: "primary",
1074
1079
  size: e.operateSize,
1075
- icon: o(at),
1076
- onClick: C
1080
+ icon: o(nt),
1081
+ onClick: P
1077
1082
  }, {
1078
1083
  default: m(() => [
1079
1084
  k("\u641C\u7D22")
@@ -1081,11 +1086,11 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1081
1086
  _: 1
1082
1087
  }, 8, ["size", "icon"])) : c("v-if", !0),
1083
1088
  w(u.$slots, "operate-middle", {}, void 0, !0),
1084
- e.clear ? (r(), h(L, {
1089
+ e.clear ? (r(), h(N, {
1085
1090
  key: 1,
1086
1091
  type: "info",
1087
1092
  size: e.operateSize,
1088
- icon: o(ye),
1093
+ icon: o(xe),
1089
1094
  onClick: g
1090
1095
  }, {
1091
1096
  default: m(() => [
@@ -1099,13 +1104,13 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1099
1104
  w(u.$slots, "row-operate-front", {
1100
1105
  row: t.row
1101
1106
  }, void 0, !0),
1102
- e.edit ? (r(), h(L, {
1107
+ e.edit ? (r(), h(N, {
1103
1108
  key: 0,
1104
1109
  link: "",
1105
1110
  type: "primary",
1106
1111
  size: e.rowButtonSize,
1107
- icon: o(Ae),
1108
- onClick: (p) => $(t.row)
1112
+ icon: o(Ge),
1113
+ onClick: (p) => M(t.row)
1109
1114
  }, {
1110
1115
  default: m(() => [
1111
1116
  k("\u4FEE\u6539")
@@ -1115,23 +1120,23 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1115
1120
  w(u.$slots, "row-operate-middle", {
1116
1121
  row: t.row
1117
1122
  }, void 0, !0),
1118
- e.delete ? (r(), h(X, {
1123
+ e.delete ? (r(), h(Q, {
1119
1124
  key: 1,
1120
1125
  "confirm-button-text": "\u5426",
1121
1126
  "cancel-button-text": "\u662F",
1122
1127
  "confirm-button-type": "text",
1123
1128
  "cancel-button-type": "danger",
1124
- icon: o(Ve),
1129
+ icon: o(Be),
1125
1130
  width: "auto",
1126
1131
  onCancel: (p) => S(t.row),
1127
1132
  title: e.deleteTitle ? e.deleteTitle : "\u662F\u5426\u8981\u5220\u9664\u5F53\u524D\u884C\uFF1F"
1128
1133
  }, {
1129
1134
  reference: m(() => [
1130
- F(L, {
1135
+ C(N, {
1131
1136
  link: "",
1132
1137
  type: "danger",
1133
1138
  size: e.rowButtonSize,
1134
- icon: o(De)
1139
+ icon: o(Re)
1135
1140
  }, {
1136
1141
  default: m(() => [
1137
1142
  k("\u5220\u9664")
@@ -1150,8 +1155,8 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1150
1155
  ]),
1151
1156
  _: 3
1152
1157
  }, 8, ["data", "class", "max-height", "size", "stripe", "border", "highlight-current-row"]),
1153
- z("div", Ct, [
1154
- e.pagination ? (r(), h(Z, {
1158
+ z("div", Ft, [
1159
+ e.pagination ? (r(), h(ee, {
1155
1160
  key: 0,
1156
1161
  "current-page": o(n).pageIndex,
1157
1162
  "onUpdate:current-page": v[0] || (v[0] = (t) => o(n).pageIndex = t),
@@ -1170,17 +1175,17 @@ const xt = /* @__PURE__ */ V(yt, [["__scopeId", "data-v-5d747d9d"], ["__file", "
1170
1175
  };
1171
1176
  }
1172
1177
  });
1173
- const kt = /* @__PURE__ */ V(Ft, [["__scopeId", "data-v-f4c855de"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/TableForm/index.vue"]]), $t = {
1178
+ const Et = /* @__PURE__ */ B(kt, [["__scopeId", "data-v-f4c855de"], ["__file", "D:/Code/front/dld-vue-ui/src/packages/TableForm/index.vue"]]), Mt = {
1174
1179
  install: (e) => {
1175
- e.component("SplitPanes", ce), e.component("Pane", he), e.component("UpLoadFile", mt), e.component("Layout", xt), e.component("TableForm", kt), e.component("UpLoadFiles", gt);
1180
+ e.component("SplitPanes", pe), e.component("Pane", me), e.component("UpLoadFile", ft), e.component("Layout", wt), e.component("TableForm", Et), e.component("UpLoadFiles", yt);
1176
1181
  }
1177
1182
  };
1178
1183
  export {
1179
- xt as Layout,
1180
- he as Pane,
1181
- ce as SplitPanes,
1182
- kt as TableForm,
1183
- mt as UpLoadFile,
1184
- gt as UpLoadFiles,
1185
- $t as default
1184
+ wt as Layout,
1185
+ me as Pane,
1186
+ pe as SplitPanes,
1187
+ Et as TableForm,
1188
+ ft as UpLoadFile,
1189
+ yt as UpLoadFiles,
1190
+ Mt as default
1186
1191
  };