qy-vue-plugins 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-BFusb3rd.js +880 -0
- package/dist/chunks/ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-C0OTINr4.js +1 -0
- package/dist/chunks/aria-CU11fhFG.js +5 -0
- package/dist/chunks/aria-Lnh-oIIU.js +173 -0
- package/dist/chunks/{base-C6ZR-g-3.js → base-BBPoamOf.js} +180 -168
- package/dist/chunks/base-Dbw4YzZq.js +1 -0
- package/dist/chunks/use-global-config-D_HRwVvW.js +301 -0
- package/dist/chunks/use-global-config-Wtw3ujWW.js +2 -0
- package/dist/manageTable/ReplaceSpeciesNameDialog.cjs +1 -1
- package/dist/manageTable/ReplaceSpeciesNameDialog.mjs +1 -1
- package/dist/manageTable/SortItem.cjs +1 -1
- package/dist/manageTable/SortItem.mjs +42 -39
- package/dist/manageTable/manageTable.cjs +1 -1
- package/dist/manageTable/manageTable.mjs +155 -108
- package/dist/mapbox/components/VideoDialog.cjs +3 -0
- package/dist/mapbox/components/VideoDialog.mjs +1741 -0
- package/dist/mapbox/widgets/LayerAttributeDialog.cjs +1 -2
- package/dist/mapbox/widgets/LayerAttributeDialog.mjs +264 -551
- package/dist/mapbox/widgets/LayerDialog.cjs +1 -1
- package/dist/mapbox/widgets/LayerDialog.mjs +201 -167
- package/dist/qy-vue-plugins.css +1 -1
- package/dist/types/manageTable/components/SortItem.vue.d.ts +1 -0
- package/dist/types/manageTable/manageTable.vue.d.ts +4 -0
- package/dist/types/mapbox/components/VideoDialog.vue.d.ts +58 -0
- package/dist/types/mapbox-components-VideoDialog.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunks/ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-BsMK0hpE.js +0 -1014
- package/dist/chunks/ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-Crqsopo0.js +0 -5
- package/dist/chunks/base-CPjTxLkU.js +0 -1
|
@@ -1,561 +1,274 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { g as
|
|
4
|
-
import { ElDialog as
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
function
|
|
10
|
-
var n = e == null ? void 0 : he(e, a);
|
|
11
|
-
return n === void 0 ? t : n;
|
|
12
|
-
}
|
|
13
|
-
const W = {
|
|
14
|
-
current: 0
|
|
15
|
-
}, X = f(0), ve = 2e3, Q = Symbol("elZIndexContextKey"), ge = Symbol("zIndexContextKey"), qe = (e) => {
|
|
16
|
-
const a = P() ? S(Q, W) : W, t = e || (P() ? S(ge, void 0) : void 0), n = b(() => {
|
|
17
|
-
const d = h(t);
|
|
18
|
-
return xe(d) ? d : ve;
|
|
19
|
-
}), o = b(() => n.value + X.value), l = () => (a.current++, X.value = a.current, o.value);
|
|
20
|
-
return !ce && !S(Q) && oe("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
21
|
-
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
22
|
-
initialZIndex: n,
|
|
23
|
-
currentZIndex: o,
|
|
24
|
-
nextZIndex: l
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
var We = {
|
|
28
|
-
name: "en",
|
|
29
|
-
el: {
|
|
30
|
-
breadcrumb: {
|
|
31
|
-
label: "Breadcrumb"
|
|
32
|
-
},
|
|
33
|
-
colorpicker: {
|
|
34
|
-
confirm: "OK",
|
|
35
|
-
clear: "Clear",
|
|
36
|
-
defaultLabel: "color picker",
|
|
37
|
-
description: "current color is {color}. press enter to select a new color.",
|
|
38
|
-
alphaLabel: "pick alpha value",
|
|
39
|
-
alphaDescription: "alpha {alpha}, current color is {color}",
|
|
40
|
-
hueLabel: "pick hue value",
|
|
41
|
-
hueDescription: "hue {hue}, current color is {color}",
|
|
42
|
-
svLabel: "pick saturation and brightness value",
|
|
43
|
-
svDescription: "saturation {saturation}, brightness {brightness}, current color is {color}",
|
|
44
|
-
predefineDescription: "select {value} as the color"
|
|
45
|
-
},
|
|
46
|
-
datepicker: {
|
|
47
|
-
now: "Now",
|
|
48
|
-
today: "Today",
|
|
49
|
-
cancel: "Cancel",
|
|
50
|
-
clear: "Clear",
|
|
51
|
-
confirm: "OK",
|
|
52
|
-
dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
|
|
53
|
-
monthTablePrompt: "Use the arrow keys and enter to select the month",
|
|
54
|
-
yearTablePrompt: "Use the arrow keys and enter to select the year",
|
|
55
|
-
selectedDate: "Selected date",
|
|
56
|
-
selectDate: "Select date",
|
|
57
|
-
selectTime: "Select time",
|
|
58
|
-
startDate: "Start Date",
|
|
59
|
-
startTime: "Start Time",
|
|
60
|
-
endDate: "End Date",
|
|
61
|
-
endTime: "End Time",
|
|
62
|
-
prevYear: "Previous Year",
|
|
63
|
-
nextYear: "Next Year",
|
|
64
|
-
prevMonth: "Previous Month",
|
|
65
|
-
nextMonth: "Next Month",
|
|
66
|
-
year: "",
|
|
67
|
-
month1: "January",
|
|
68
|
-
month2: "February",
|
|
69
|
-
month3: "March",
|
|
70
|
-
month4: "April",
|
|
71
|
-
month5: "May",
|
|
72
|
-
month6: "June",
|
|
73
|
-
month7: "July",
|
|
74
|
-
month8: "August",
|
|
75
|
-
month9: "September",
|
|
76
|
-
month10: "October",
|
|
77
|
-
month11: "November",
|
|
78
|
-
month12: "December",
|
|
79
|
-
weeks: {
|
|
80
|
-
sun: "Sun",
|
|
81
|
-
mon: "Mon",
|
|
82
|
-
tue: "Tue",
|
|
83
|
-
wed: "Wed",
|
|
84
|
-
thu: "Thu",
|
|
85
|
-
fri: "Fri",
|
|
86
|
-
sat: "Sat"
|
|
87
|
-
},
|
|
88
|
-
weeksFull: {
|
|
89
|
-
sun: "Sunday",
|
|
90
|
-
mon: "Monday",
|
|
91
|
-
tue: "Tuesday",
|
|
92
|
-
wed: "Wednesday",
|
|
93
|
-
thu: "Thursday",
|
|
94
|
-
fri: "Friday",
|
|
95
|
-
sat: "Saturday"
|
|
96
|
-
},
|
|
97
|
-
months: {
|
|
98
|
-
jan: "Jan",
|
|
99
|
-
feb: "Feb",
|
|
100
|
-
mar: "Mar",
|
|
101
|
-
apr: "Apr",
|
|
102
|
-
may: "May",
|
|
103
|
-
jun: "Jun",
|
|
104
|
-
jul: "Jul",
|
|
105
|
-
aug: "Aug",
|
|
106
|
-
sep: "Sep",
|
|
107
|
-
oct: "Oct",
|
|
108
|
-
nov: "Nov",
|
|
109
|
-
dec: "Dec"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
inputNumber: {
|
|
113
|
-
decrease: "decrease number",
|
|
114
|
-
increase: "increase number"
|
|
115
|
-
},
|
|
116
|
-
select: {
|
|
117
|
-
loading: "Loading",
|
|
118
|
-
noMatch: "No matching data",
|
|
119
|
-
noData: "No data",
|
|
120
|
-
placeholder: "Select"
|
|
121
|
-
},
|
|
122
|
-
mention: {
|
|
123
|
-
loading: "Loading"
|
|
124
|
-
},
|
|
125
|
-
dropdown: {
|
|
126
|
-
toggleDropdown: "Toggle Dropdown"
|
|
127
|
-
},
|
|
128
|
-
cascader: {
|
|
129
|
-
noMatch: "No matching data",
|
|
130
|
-
loading: "Loading",
|
|
131
|
-
placeholder: "Select",
|
|
132
|
-
noData: "No data"
|
|
133
|
-
},
|
|
134
|
-
pagination: {
|
|
135
|
-
goto: "Go to",
|
|
136
|
-
pagesize: "/page",
|
|
137
|
-
total: "Total {total}",
|
|
138
|
-
pageClassifier: "",
|
|
139
|
-
page: "Page",
|
|
140
|
-
prev: "Go to previous page",
|
|
141
|
-
next: "Go to next page",
|
|
142
|
-
currentPage: "page {pager}",
|
|
143
|
-
prevPages: "Previous {pager} pages",
|
|
144
|
-
nextPages: "Next {pager} pages",
|
|
145
|
-
deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
|
|
146
|
-
},
|
|
147
|
-
dialog: {
|
|
148
|
-
close: "Close this dialog"
|
|
149
|
-
},
|
|
150
|
-
drawer: {
|
|
151
|
-
close: "Close this dialog"
|
|
152
|
-
},
|
|
153
|
-
messagebox: {
|
|
154
|
-
title: "Message",
|
|
155
|
-
confirm: "OK",
|
|
156
|
-
cancel: "Cancel",
|
|
157
|
-
error: "Illegal input",
|
|
158
|
-
close: "Close this dialog"
|
|
159
|
-
},
|
|
160
|
-
upload: {
|
|
161
|
-
deleteTip: "press delete to remove",
|
|
162
|
-
delete: "Delete",
|
|
163
|
-
preview: "Preview",
|
|
164
|
-
continue: "Continue"
|
|
165
|
-
},
|
|
166
|
-
slider: {
|
|
167
|
-
defaultLabel: "slider between {min} and {max}",
|
|
168
|
-
defaultRangeStartLabel: "pick start value",
|
|
169
|
-
defaultRangeEndLabel: "pick end value"
|
|
170
|
-
},
|
|
171
|
-
table: {
|
|
172
|
-
emptyText: "No Data",
|
|
173
|
-
confirmFilter: "Confirm",
|
|
174
|
-
resetFilter: "Reset",
|
|
175
|
-
clearFilter: "All",
|
|
176
|
-
sumText: "Sum",
|
|
177
|
-
selectAllLabel: "Select all rows",
|
|
178
|
-
selectRowLabel: "Select this row",
|
|
179
|
-
expandRowLabel: "Expand this row",
|
|
180
|
-
collapseRowLabel: "Collapse this row",
|
|
181
|
-
sortLabel: "Sort by {column}",
|
|
182
|
-
filterLabel: "Filter by {column}"
|
|
183
|
-
},
|
|
184
|
-
tag: {
|
|
185
|
-
close: "Close this tag"
|
|
186
|
-
},
|
|
187
|
-
tour: {
|
|
188
|
-
next: "Next",
|
|
189
|
-
previous: "Previous",
|
|
190
|
-
finish: "Finish",
|
|
191
|
-
close: "Close this dialog"
|
|
192
|
-
},
|
|
193
|
-
tree: {
|
|
194
|
-
emptyText: "No Data"
|
|
195
|
-
},
|
|
196
|
-
transfer: {
|
|
197
|
-
noMatch: "No matching data",
|
|
198
|
-
noData: "No data",
|
|
199
|
-
titles: ["List 1", "List 2"],
|
|
200
|
-
filterPlaceholder: "Enter keyword",
|
|
201
|
-
noCheckedFormat: "{total} items",
|
|
202
|
-
hasCheckedFormat: "{checked}/{total} checked"
|
|
203
|
-
},
|
|
204
|
-
image: {
|
|
205
|
-
error: "FAILED"
|
|
206
|
-
},
|
|
207
|
-
pageHeader: {
|
|
208
|
-
title: "Back"
|
|
209
|
-
},
|
|
210
|
-
popconfirm: {
|
|
211
|
-
confirmButtonText: "Yes",
|
|
212
|
-
cancelButtonText: "No"
|
|
213
|
-
},
|
|
214
|
-
carousel: {
|
|
215
|
-
leftArrow: "Carousel arrow left",
|
|
216
|
-
rightArrow: "Carousel arrow right",
|
|
217
|
-
indicator: "Carousel switch to index {index}"
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
const Xe = (e) => (a, t) => Qe(a, t, h(e)), Qe = (e, a, t) => He(t, e, e).replace(/\{(\w+)\}/g, (n, o) => {
|
|
222
|
-
var l;
|
|
223
|
-
return `${(l = a?.[o]) != null ? l : `{${o}}`}`;
|
|
224
|
-
}), et = (e) => {
|
|
225
|
-
const a = b(() => h(e).name), t = le(e) ? e : f(e);
|
|
226
|
-
return {
|
|
227
|
-
lang: a,
|
|
228
|
-
locale: t,
|
|
229
|
-
t: Xe(e)
|
|
230
|
-
};
|
|
231
|
-
}, pe = Symbol("localeContextKey"), tt = (e) => {
|
|
232
|
-
const a = e || S(pe, f());
|
|
233
|
-
return et(b(() => a.value || We));
|
|
234
|
-
}, at = Symbol("emptyValuesContextKey");
|
|
235
|
-
Ce({
|
|
236
|
-
emptyValues: Array,
|
|
237
|
-
valueOnClear: {
|
|
238
|
-
type: Ie([
|
|
239
|
-
String,
|
|
240
|
-
Number,
|
|
241
|
-
Boolean,
|
|
242
|
-
Function
|
|
243
|
-
]),
|
|
244
|
-
default: void 0,
|
|
245
|
-
validator: (e) => (e = Se(e) ? e() : e, Le(e) ? e.every((a) => !a) : !e)
|
|
246
|
-
}
|
|
247
|
-
});
|
|
248
|
-
const ee = (e) => Object.keys(e), z = f();
|
|
249
|
-
function me(e, a = void 0) {
|
|
250
|
-
return P() ? S(de, z) : z;
|
|
251
|
-
}
|
|
252
|
-
function ot(e, a) {
|
|
253
|
-
const t = me(), n = we(e, b(() => {
|
|
254
|
-
var i;
|
|
255
|
-
return ((i = t.value) == null ? void 0 : i.namespace) || Ne;
|
|
256
|
-
})), o = tt(b(() => {
|
|
257
|
-
var i;
|
|
258
|
-
return (i = t.value) == null ? void 0 : i.locale;
|
|
259
|
-
})), l = qe(b(() => {
|
|
260
|
-
var i;
|
|
261
|
-
return ((i = t.value) == null ? void 0 : i.zIndex) || ve;
|
|
262
|
-
})), d = b(() => {
|
|
263
|
-
var i;
|
|
264
|
-
return h(a) || ((i = t.value) == null ? void 0 : i.size) || "";
|
|
265
|
-
});
|
|
266
|
-
return nt(b(() => h(t) || {})), {
|
|
267
|
-
ns: n,
|
|
268
|
-
locale: o,
|
|
269
|
-
zIndex: l,
|
|
270
|
-
size: d
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
const nt = (e, a, t = !1) => {
|
|
274
|
-
var n;
|
|
275
|
-
const o = !!P(), l = o ? me() : void 0, d = (n = void 0) != null ? n : o ? Te : void 0;
|
|
276
|
-
if (!d) {
|
|
277
|
-
oe("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
const i = b(() => {
|
|
281
|
-
const x = h(e);
|
|
282
|
-
return l?.value ? rt(l.value, x) : x;
|
|
283
|
-
});
|
|
284
|
-
return d(de, i), d(pe, b(() => i.value.locale)), d(_e, b(() => i.value.namespace)), d(ge, b(() => i.value.zIndex)), d(ke, {
|
|
285
|
-
size: b(() => i.value.size || "")
|
|
286
|
-
}), d(at, b(() => ({
|
|
287
|
-
emptyValues: i.value.emptyValues,
|
|
288
|
-
valueOnClear: i.value.valueOnClear
|
|
289
|
-
}))), (t || !z.value) && (z.value = i.value), i;
|
|
290
|
-
}, rt = (e, a) => {
|
|
291
|
-
const t = [.../* @__PURE__ */ new Set([...ee(e), ...ee(a)])], n = {};
|
|
292
|
-
for (const o of t)
|
|
293
|
-
n[o] = a[o] !== void 0 ? a[o] : e[o];
|
|
294
|
-
return n;
|
|
295
|
-
};
|
|
296
|
-
function lt(e, a) {
|
|
1
|
+
import { r as E, i as Z, g as I, a as M, b as Q, h as ne } from "../../chunks/base-BBPoamOf.js";
|
|
2
|
+
import { ref as f, reactive as le, defineComponent as W, h as N, Transition as re, withCtx as S, withDirectives as X, createVNode as T, vShow as se, createApp as ue, toRefs as ie, nextTick as ee, isRef as ce, inject as z, watch as de, createBlock as J, openBlock as w, unref as C, createElementVNode as P, createElementBlock as ve, Fragment as ge, renderList as me, createTextVNode as U } from "vue";
|
|
3
|
+
import { g as fe, r as pe, d as be } from "../../chunks/ProvideKeys-B6IuZ5VV.js";
|
|
4
|
+
import { ElDialog as ye, ElTable as he, ElTableColumn as xe, ElPagination as Ce, ElButton as q, dayjs as H } from "element-plus";
|
|
5
|
+
import { u as _e } from "../../chunks/mapStore-oFrNzlQO.js";
|
|
6
|
+
import { u as Le } from "../../chunks/use-global-config-D_HRwVvW.js";
|
|
7
|
+
import { isClient as Se } from "@vueuse/core";
|
|
8
|
+
import { _ as Ie } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
function Ne(e, o) {
|
|
297
10
|
let t;
|
|
298
|
-
const
|
|
11
|
+
const r = f(!1), n = le({
|
|
299
12
|
...e,
|
|
300
13
|
originalPosition: "",
|
|
301
14
|
originalOverflow: "",
|
|
302
15
|
visible: !1
|
|
303
16
|
});
|
|
304
|
-
function l
|
|
305
|
-
|
|
17
|
+
function i(l) {
|
|
18
|
+
n.text = l;
|
|
306
19
|
}
|
|
307
|
-
function
|
|
308
|
-
const
|
|
309
|
-
if (!
|
|
310
|
-
let
|
|
311
|
-
|
|
20
|
+
function p() {
|
|
21
|
+
const l = n.parent, d = u.ns;
|
|
22
|
+
if (!l.vLoadingAddClassList) {
|
|
23
|
+
let m = l.getAttribute("loading-number");
|
|
24
|
+
m = Number.parseInt(m) - 1, m ? l.setAttribute("loading-number", m.toString()) : (E(l, d.bm("parent", "relative")), l.removeAttribute("loading-number")), E(l, d.bm("parent", "hidden"));
|
|
312
25
|
}
|
|
313
|
-
|
|
26
|
+
b(), x.unmount();
|
|
314
27
|
}
|
|
315
|
-
function
|
|
316
|
-
var
|
|
317
|
-
(
|
|
28
|
+
function b() {
|
|
29
|
+
var l, d;
|
|
30
|
+
(d = (l = u.$el) == null ? void 0 : l.parentNode) == null || d.removeChild(u.$el);
|
|
318
31
|
}
|
|
319
|
-
function
|
|
320
|
-
var
|
|
321
|
-
e.beforeClose && !e.beforeClose() || (
|
|
32
|
+
function y() {
|
|
33
|
+
var l;
|
|
34
|
+
e.beforeClose && !e.beforeClose() || (r.value = !0, clearTimeout(t), t = setTimeout(g, 400), n.visible = !1, (l = e.closed) == null || l.call(e));
|
|
322
35
|
}
|
|
323
|
-
function
|
|
324
|
-
if (!
|
|
36
|
+
function g() {
|
|
37
|
+
if (!r.value)
|
|
325
38
|
return;
|
|
326
|
-
const
|
|
327
|
-
|
|
39
|
+
const l = n.parent;
|
|
40
|
+
r.value = !1, l.vLoadingAddClassList = void 0, p();
|
|
328
41
|
}
|
|
329
|
-
const
|
|
42
|
+
const h = W({
|
|
330
43
|
name: "ElLoading",
|
|
331
|
-
setup(
|
|
332
|
-
const { ns:
|
|
333
|
-
return
|
|
334
|
-
ns:
|
|
335
|
-
zIndex:
|
|
44
|
+
setup(l, { expose: d }) {
|
|
45
|
+
const { ns: m, zIndex: O } = Le("loading");
|
|
46
|
+
return d({
|
|
47
|
+
ns: m,
|
|
48
|
+
zIndex: O
|
|
336
49
|
}), () => {
|
|
337
|
-
const
|
|
50
|
+
const k = n.spinner || n.svg, B = N("svg", {
|
|
338
51
|
class: "circular",
|
|
339
|
-
viewBox:
|
|
340
|
-
...
|
|
52
|
+
viewBox: n.svgViewBox ? n.svgViewBox : "0 0 50 50",
|
|
53
|
+
...k ? { innerHTML: k } : {}
|
|
341
54
|
}, [
|
|
342
|
-
|
|
55
|
+
N("circle", {
|
|
343
56
|
class: "path",
|
|
344
57
|
cx: "25",
|
|
345
58
|
cy: "25",
|
|
346
59
|
r: "20",
|
|
347
60
|
fill: "none"
|
|
348
61
|
})
|
|
349
|
-
]),
|
|
350
|
-
return
|
|
351
|
-
name:
|
|
352
|
-
onAfterLeave:
|
|
62
|
+
]), V = n.text ? N("p", { class: m.b("text") }, [n.text]) : void 0;
|
|
63
|
+
return N(re, {
|
|
64
|
+
name: m.b("fade"),
|
|
65
|
+
onAfterLeave: g
|
|
353
66
|
}, {
|
|
354
|
-
default:
|
|
355
|
-
|
|
67
|
+
default: S(() => [
|
|
68
|
+
X(T("div", {
|
|
356
69
|
style: {
|
|
357
|
-
backgroundColor:
|
|
70
|
+
backgroundColor: n.background || ""
|
|
358
71
|
},
|
|
359
72
|
class: [
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
73
|
+
m.b("mask"),
|
|
74
|
+
n.customClass,
|
|
75
|
+
m.is("fullscreen", n.fullscreen)
|
|
363
76
|
]
|
|
364
77
|
}, [
|
|
365
|
-
|
|
366
|
-
class:
|
|
367
|
-
}, [B,
|
|
368
|
-
]), [[
|
|
78
|
+
N("div", {
|
|
79
|
+
class: m.b("spinner")
|
|
80
|
+
}, [B, V])
|
|
81
|
+
]), [[se, n.visible]])
|
|
369
82
|
])
|
|
370
83
|
});
|
|
371
84
|
};
|
|
372
85
|
}
|
|
373
|
-
}),
|
|
374
|
-
Object.assign(
|
|
375
|
-
const
|
|
86
|
+
}), x = ue(h);
|
|
87
|
+
Object.assign(x._context, o ?? {});
|
|
88
|
+
const u = x.mount(document.createElement("div"));
|
|
376
89
|
return {
|
|
377
|
-
...
|
|
378
|
-
setText:
|
|
379
|
-
removeElLoadingChild:
|
|
380
|
-
close:
|
|
381
|
-
handleAfterLeave:
|
|
382
|
-
vm:
|
|
90
|
+
...ie(n),
|
|
91
|
+
setText: i,
|
|
92
|
+
removeElLoadingChild: b,
|
|
93
|
+
close: y,
|
|
94
|
+
handleAfterLeave: g,
|
|
95
|
+
vm: u,
|
|
383
96
|
get $el() {
|
|
384
|
-
return
|
|
97
|
+
return u.$el;
|
|
385
98
|
}
|
|
386
99
|
};
|
|
387
100
|
}
|
|
388
101
|
let A;
|
|
389
|
-
const
|
|
390
|
-
if (!
|
|
102
|
+
const j = function(e = {}, o) {
|
|
103
|
+
if (!Se)
|
|
391
104
|
return;
|
|
392
|
-
const t =
|
|
105
|
+
const t = De(e);
|
|
393
106
|
if (t.fullscreen && A)
|
|
394
107
|
return A;
|
|
395
|
-
const
|
|
108
|
+
const r = Ne({
|
|
396
109
|
...t,
|
|
397
110
|
closed: () => {
|
|
398
|
-
var
|
|
399
|
-
(
|
|
111
|
+
var i;
|
|
112
|
+
(i = t.closed) == null || i.call(t), t.fullscreen && (A = void 0);
|
|
400
113
|
}
|
|
401
|
-
},
|
|
402
|
-
|
|
403
|
-
let
|
|
404
|
-
return
|
|
405
|
-
},
|
|
406
|
-
var
|
|
407
|
-
let
|
|
408
|
-
return
|
|
409
|
-
parent:
|
|
114
|
+
}, o ?? j._context);
|
|
115
|
+
ke(t, t.parent, r), K(t, t.parent, r), t.parent.vLoadingAddClassList = () => K(t, t.parent, r);
|
|
116
|
+
let n = t.parent.getAttribute("loading-number");
|
|
117
|
+
return n ? n = `${Number.parseInt(n) + 1}` : n = "1", t.parent.setAttribute("loading-number", n), t.parent.appendChild(r.$el), ee(() => r.visible.value = t.visible), t.fullscreen && (A = r), r;
|
|
118
|
+
}, De = (e) => {
|
|
119
|
+
var o, t, r, n;
|
|
120
|
+
let i;
|
|
121
|
+
return Z(e.target) ? i = (o = document.querySelector(e.target)) != null ? o : document.body : i = e.target || document.body, {
|
|
122
|
+
parent: i === document.body || e.body ? document.body : i,
|
|
410
123
|
background: e.background || "",
|
|
411
124
|
svg: e.svg || "",
|
|
412
125
|
svgViewBox: e.svgViewBox || "",
|
|
413
126
|
spinner: e.spinner || !1,
|
|
414
127
|
text: e.text || "",
|
|
415
|
-
fullscreen:
|
|
416
|
-
lock: (
|
|
128
|
+
fullscreen: i === document.body && ((t = e.fullscreen) != null ? t : !0),
|
|
129
|
+
lock: (r = e.lock) != null ? r : !1,
|
|
417
130
|
customClass: e.customClass || "",
|
|
418
|
-
visible: (
|
|
131
|
+
visible: (n = e.visible) != null ? n : !0,
|
|
419
132
|
beforeClose: e.beforeClose,
|
|
420
133
|
closed: e.closed,
|
|
421
|
-
target:
|
|
134
|
+
target: i
|
|
422
135
|
};
|
|
423
|
-
},
|
|
424
|
-
const { nextZIndex:
|
|
136
|
+
}, ke = async (e, o, t) => {
|
|
137
|
+
const { nextZIndex: r } = t.vm.zIndex || t.vm._.exposed.zIndex, n = {};
|
|
425
138
|
if (e.fullscreen)
|
|
426
|
-
t.originalPosition.value =
|
|
139
|
+
t.originalPosition.value = I(document.body, "position"), t.originalOverflow.value = I(document.body, "overflow"), n.zIndex = r();
|
|
427
140
|
else if (e.parent === document.body) {
|
|
428
|
-
t.originalPosition.value =
|
|
429
|
-
for (const
|
|
430
|
-
const
|
|
431
|
-
|
|
141
|
+
t.originalPosition.value = I(document.body, "position"), await ee();
|
|
142
|
+
for (const i of ["top", "left"]) {
|
|
143
|
+
const p = i === "top" ? "scrollTop" : "scrollLeft";
|
|
144
|
+
n[i] = `${e.target.getBoundingClientRect()[i] + document.body[p] + document.documentElement[p] - Number.parseInt(I(document.body, `margin-${i}`), 10)}px`;
|
|
432
145
|
}
|
|
433
|
-
for (const
|
|
434
|
-
|
|
146
|
+
for (const i of ["height", "width"])
|
|
147
|
+
n[i] = `${e.target.getBoundingClientRect()[i]}px`;
|
|
435
148
|
} else
|
|
436
|
-
t.originalPosition.value =
|
|
437
|
-
for (const [
|
|
438
|
-
t.$el.style[
|
|
439
|
-
},
|
|
440
|
-
const
|
|
441
|
-
["absolute", "fixed", "sticky"].includes(t.originalPosition.value) ?
|
|
149
|
+
t.originalPosition.value = I(o, "position");
|
|
150
|
+
for (const [i, p] of Object.entries(n))
|
|
151
|
+
t.$el.style[i] = p;
|
|
152
|
+
}, K = (e, o, t) => {
|
|
153
|
+
const r = t.vm.ns || t.vm._.exposed.ns;
|
|
154
|
+
["absolute", "fixed", "sticky"].includes(t.originalPosition.value) ? E(o, r.bm("parent", "relative")) : M(o, r.bm("parent", "relative")), e.fullscreen && e.lock ? M(o, r.bm("parent", "hidden")) : E(o, r.bm("parent", "hidden"));
|
|
442
155
|
};
|
|
443
|
-
|
|
444
|
-
const D = Symbol("ElLoading"),
|
|
445
|
-
var t,
|
|
446
|
-
const
|
|
447
|
-
const
|
|
448
|
-
return f(
|
|
449
|
-
},
|
|
450
|
-
text:
|
|
451
|
-
svg:
|
|
452
|
-
svgViewBox:
|
|
453
|
-
spinner:
|
|
454
|
-
background:
|
|
455
|
-
customClass:
|
|
456
|
-
fullscreen:
|
|
457
|
-
target: (
|
|
458
|
-
body: (
|
|
459
|
-
lock: (
|
|
460
|
-
},
|
|
461
|
-
|
|
462
|
-
options:
|
|
463
|
-
instance:
|
|
156
|
+
j._context = null;
|
|
157
|
+
const D = Symbol("ElLoading"), _ = (e) => `element-loading-${ne(e)}`, G = (e, o) => {
|
|
158
|
+
var t, r, n, i;
|
|
159
|
+
const p = o.instance, b = (l) => Q(o.value) ? o.value[l] : void 0, y = (l) => {
|
|
160
|
+
const d = Z(l) && p?.[l] || l;
|
|
161
|
+
return f(d);
|
|
162
|
+
}, g = (l) => y(b(l) || e.getAttribute(_(l))), h = (t = b("fullscreen")) != null ? t : o.modifiers.fullscreen, x = {
|
|
163
|
+
text: g("text"),
|
|
164
|
+
svg: g("svg"),
|
|
165
|
+
svgViewBox: g("svgViewBox"),
|
|
166
|
+
spinner: g("spinner"),
|
|
167
|
+
background: g("background"),
|
|
168
|
+
customClass: g("customClass"),
|
|
169
|
+
fullscreen: h,
|
|
170
|
+
target: (r = b("target")) != null ? r : h ? void 0 : e,
|
|
171
|
+
body: (n = b("body")) != null ? n : o.modifiers.body,
|
|
172
|
+
lock: (i = b("lock")) != null ? i : o.modifiers.lock
|
|
173
|
+
}, u = j(x);
|
|
174
|
+
u._context = F._context, e[D] = {
|
|
175
|
+
options: x,
|
|
176
|
+
instance: u
|
|
464
177
|
};
|
|
465
|
-
},
|
|
178
|
+
}, we = (e, o) => {
|
|
466
179
|
for (const t of Object.keys(e))
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
mounted(e,
|
|
470
|
-
|
|
180
|
+
ce(e[t]) && (e[t].value = o[t]);
|
|
181
|
+
}, F = {
|
|
182
|
+
mounted(e, o) {
|
|
183
|
+
o.value && G(e, o);
|
|
471
184
|
},
|
|
472
|
-
updated(e,
|
|
185
|
+
updated(e, o) {
|
|
473
186
|
const t = e[D];
|
|
474
|
-
if (!
|
|
187
|
+
if (!o.value) {
|
|
475
188
|
t?.instance.close(), e[D] = null;
|
|
476
189
|
return;
|
|
477
190
|
}
|
|
478
|
-
t ?
|
|
479
|
-
text: e.getAttribute(
|
|
480
|
-
svg: e.getAttribute(
|
|
481
|
-
svgViewBox: e.getAttribute(
|
|
482
|
-
spinner: e.getAttribute(
|
|
483
|
-
background: e.getAttribute(
|
|
484
|
-
customClass: e.getAttribute(
|
|
485
|
-
}) :
|
|
191
|
+
t ? we(t.options, Q(o.value) ? o.value : {
|
|
192
|
+
text: e.getAttribute(_("text")),
|
|
193
|
+
svg: e.getAttribute(_("svg")),
|
|
194
|
+
svgViewBox: e.getAttribute(_("svgViewBox")),
|
|
195
|
+
spinner: e.getAttribute(_("spinner")),
|
|
196
|
+
background: e.getAttribute(_("background")),
|
|
197
|
+
customClass: e.getAttribute(_("customClass"))
|
|
198
|
+
}) : G(e, o);
|
|
486
199
|
},
|
|
487
200
|
unmounted(e) {
|
|
488
|
-
var
|
|
489
|
-
(
|
|
201
|
+
var o;
|
|
202
|
+
(o = e[D]) == null || o.instance.close(), e[D] = null;
|
|
490
203
|
}
|
|
491
204
|
};
|
|
492
|
-
|
|
493
|
-
const
|
|
205
|
+
F._context = null;
|
|
206
|
+
const Ae = { class: "attribute-table-container" }, Te = { class: "pagination-container" }, Ee = /* @__PURE__ */ W({
|
|
494
207
|
__name: "LayerAttributeDialog",
|
|
495
|
-
setup(e, { expose:
|
|
496
|
-
const t =
|
|
497
|
-
|
|
498
|
-
},
|
|
499
|
-
|
|
500
|
-
},
|
|
501
|
-
|
|
502
|
-
}, B = (
|
|
503
|
-
|
|
504
|
-
},
|
|
505
|
-
|
|
208
|
+
setup(e, { expose: o }) {
|
|
209
|
+
const t = _e(), r = f(!1), n = f(!1), i = () => {
|
|
210
|
+
r.value = !1;
|
|
211
|
+
}, p = z(fe), b = z(pe), y = f([]), g = f(1), h = f(10), x = f(0), u = f(), l = f([]), d = f([]), m = f(!0), O = () => {
|
|
212
|
+
r.value = !1;
|
|
213
|
+
}, k = (c) => {
|
|
214
|
+
h.value = c, $();
|
|
215
|
+
}, B = (c) => {
|
|
216
|
+
g.value = c, $();
|
|
217
|
+
}, V = (c) => {
|
|
218
|
+
r.value = !0, u.value = c, g.value = 1, l.value = [], d.value = [], $();
|
|
506
219
|
}, R = () => {
|
|
507
|
-
if (
|
|
508
|
-
|
|
220
|
+
if (y.value.length === 0) {
|
|
221
|
+
l.value = [], d.value = [];
|
|
509
222
|
return;
|
|
510
223
|
}
|
|
511
224
|
try {
|
|
512
|
-
const
|
|
513
|
-
|
|
514
|
-
const
|
|
515
|
-
const
|
|
516
|
-
return
|
|
225
|
+
const c = y.value[0];
|
|
226
|
+
c && c.data && (l.value = JSON.parse(c.data));
|
|
227
|
+
const a = y.value.slice(1).map((s) => {
|
|
228
|
+
const v = s.data ? JSON.parse(s.data) : [];
|
|
229
|
+
return l.value.reduce((L, ae, oe) => (L[ae] = v[oe] || "", L), {});
|
|
517
230
|
});
|
|
518
|
-
|
|
519
|
-
} catch (
|
|
520
|
-
console.error("解析数据出错:",
|
|
231
|
+
d.value = a;
|
|
232
|
+
} catch (c) {
|
|
233
|
+
console.error("解析数据出错:", c), l.value = [], d.value = [];
|
|
521
234
|
}
|
|
522
235
|
};
|
|
523
|
-
function
|
|
524
|
-
console.log("geoJSON----->",
|
|
525
|
-
|
|
236
|
+
function te(c) {
|
|
237
|
+
console.log("geoJSON----->", c), l.value = ["FID", "*Type", "Longitude", "Latitude"], d.value = [], c.features.forEach((a) => {
|
|
238
|
+
a.geometry.type == "Point" ? d.value.push({
|
|
526
239
|
FID: "1",
|
|
527
|
-
"*Type":
|
|
528
|
-
Longitude:
|
|
529
|
-
Latitude:
|
|
530
|
-
}) :
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
FID: (
|
|
534
|
-
"*Type":
|
|
535
|
-
Longitude:
|
|
536
|
-
Latitude:
|
|
240
|
+
"*Type": a.geometry.type,
|
|
241
|
+
Longitude: a.geometry.coordinates[0],
|
|
242
|
+
Latitude: a.geometry.coordinates[1]
|
|
243
|
+
}) : a.geometry.type == "Polygon" ? a.geometry.coordinates.forEach((s) => {
|
|
244
|
+
s.forEach((v, L) => {
|
|
245
|
+
d.value.push({
|
|
246
|
+
FID: (L + 1).toString(),
|
|
247
|
+
"*Type": a.geometry.type,
|
|
248
|
+
Longitude: v[0],
|
|
249
|
+
Latitude: v[1]
|
|
537
250
|
});
|
|
538
251
|
});
|
|
539
|
-
}) :
|
|
540
|
-
console.log("coord--->",
|
|
541
|
-
FID: (
|
|
542
|
-
"*Type":
|
|
543
|
-
Longitude:
|
|
544
|
-
Latitude:
|
|
252
|
+
}) : a.geometry.coordinates.forEach((s, v) => {
|
|
253
|
+
console.log("coord--->", s), d.value.push({
|
|
254
|
+
FID: (v + 1).toString(),
|
|
255
|
+
"*Type": a.geometry.type,
|
|
256
|
+
Longitude: s[0],
|
|
257
|
+
Latitude: s[1]
|
|
545
258
|
});
|
|
546
259
|
});
|
|
547
260
|
});
|
|
548
261
|
}
|
|
549
|
-
const
|
|
550
|
-
if (console.log("getList",
|
|
551
|
-
if (!
|
|
262
|
+
const $ = () => {
|
|
263
|
+
if (console.log("getList", u.value), u.value?.geoJSON) {
|
|
264
|
+
if (!u.value.geoJSON) {
|
|
552
265
|
console.warn("Topic geoJSON is not set, cannot fetch data.");
|
|
553
266
|
return;
|
|
554
267
|
}
|
|
555
|
-
|
|
268
|
+
m.value = !0, te(JSON.parse(u.value.geoJSON));
|
|
556
269
|
} else {
|
|
557
|
-
if (
|
|
558
|
-
|
|
270
|
+
if (m.value = !1, u.value?.layerType == "species-group") {
|
|
271
|
+
l.value = [
|
|
559
272
|
"FID",
|
|
560
273
|
"shape*",
|
|
561
274
|
"物种名称",
|
|
@@ -573,32 +286,32 @@ const ct = { class: "attribute-table-container" }, dt = { class: "pagination-con
|
|
|
573
286
|
"所属项目",
|
|
574
287
|
"所属调查编号",
|
|
575
288
|
"备注"
|
|
576
|
-
],
|
|
577
|
-
if (
|
|
578
|
-
const
|
|
579
|
-
console.log("rowDataInstance",
|
|
580
|
-
FID:
|
|
289
|
+
], d.value = [], p?.value.forEach((c, a) => {
|
|
290
|
+
if (c.pid === u.value?.id) {
|
|
291
|
+
const s = JSON.parse(c.rowDataInstance || "{}");
|
|
292
|
+
console.log("rowDataInstance", s), d.value.push({
|
|
293
|
+
FID: a + 1,
|
|
581
294
|
"shape*": "point",
|
|
582
|
-
物种名称:
|
|
583
|
-
拉丁名:
|
|
584
|
-
目:
|
|
585
|
-
科:
|
|
586
|
-
属:
|
|
587
|
-
国家保护等级:
|
|
588
|
-
经度:
|
|
589
|
-
纬度:
|
|
295
|
+
物种名称: s.species_c,
|
|
296
|
+
拉丁名: s.canorical_me,
|
|
297
|
+
目: s.order_c,
|
|
298
|
+
科: s.family_c,
|
|
299
|
+
属: s.genus_c,
|
|
300
|
+
国家保护等级: s.state_protection_grade,
|
|
301
|
+
经度: s.longitude,
|
|
302
|
+
纬度: s.latitude,
|
|
590
303
|
// 海拔: rowDataInstance.altitude,
|
|
591
|
-
调查人:
|
|
592
|
-
调查时间:
|
|
593
|
-
照片: JSON.parse(
|
|
594
|
-
所属项目:
|
|
595
|
-
所属调查编号:
|
|
596
|
-
备注:
|
|
304
|
+
调查人: s.createUserName,
|
|
305
|
+
调查时间: H(s.createDate * 1e3).format("YYYY-MM-DD HH:mm"),
|
|
306
|
+
照片: JSON.parse(s.imagesList ?? "[]").map((v) => v.url).join(", "),
|
|
307
|
+
所属项目: s.projectName,
|
|
308
|
+
所属调查编号: s.serialNumberAndCode,
|
|
309
|
+
备注: s.remark || ""
|
|
597
310
|
});
|
|
598
311
|
}
|
|
599
312
|
});
|
|
600
313
|
return;
|
|
601
|
-
} else
|
|
314
|
+
} else u.value?.layerDataType == "research" && (l.value = [
|
|
602
315
|
"FID",
|
|
603
316
|
"shape*",
|
|
604
317
|
"调查人员",
|
|
@@ -612,113 +325,113 @@ const ct = { class: "attribute-table-container" }, dt = { class: "pagination-con
|
|
|
612
325
|
"调查时间",
|
|
613
326
|
"所属调查编号",
|
|
614
327
|
"备注"
|
|
615
|
-
],
|
|
616
|
-
if (
|
|
617
|
-
const { pointInfo:
|
|
618
|
-
|
|
328
|
+
], u.value && !u.value.lineInfo && b?.(u.value).then((c) => {
|
|
329
|
+
if (c && u.value) {
|
|
330
|
+
const { pointInfo: a, lineInfo: s } = c;
|
|
331
|
+
u.value.lineInfo = s, u.value.pointInfo = a, console.log("pointInfo", a), d.value.push({
|
|
619
332
|
FID: 1,
|
|
620
|
-
"shape*":
|
|
621
|
-
调查人员:
|
|
622
|
-
协查人员:
|
|
623
|
-
起点经纬度: `${
|
|
624
|
-
起点海拔:
|
|
625
|
-
终点经纬度: `${
|
|
626
|
-
终点海拔:
|
|
627
|
-
所属项目:
|
|
628
|
-
照片: JSON.parse(
|
|
629
|
-
调查时间:
|
|
630
|
-
所属调查编号:
|
|
631
|
-
备注:
|
|
333
|
+
"shape*": u.value.layerType == "symbol" ? "point" : "line_string",
|
|
334
|
+
调查人员: a?.createUserName || "",
|
|
335
|
+
协查人员: a?.collaboratorUserName || "",
|
|
336
|
+
起点经纬度: `${a?.longitudeStart}, ${a?.latitudeStart}`,
|
|
337
|
+
起点海拔: a?.altitudeStart || "",
|
|
338
|
+
终点经纬度: `${a?.longitudeEnd}, ${a?.latitudeEnd}`,
|
|
339
|
+
终点海拔: a?.altitudeEnd || "",
|
|
340
|
+
所属项目: a?.projectName || "",
|
|
341
|
+
照片: JSON.parse(a?.imagesList ?? "[]").map((v) => v.url).join(", "),
|
|
342
|
+
调查时间: H(a?.createDate * 1e3).format("YYYY-MM-DD HH:mm"),
|
|
343
|
+
所属调查编号: a?.serialNumberAndCode || "",
|
|
344
|
+
备注: a?.remark || ""
|
|
632
345
|
});
|
|
633
346
|
}
|
|
634
347
|
}));
|
|
635
|
-
if (!
|
|
636
|
-
if (!
|
|
348
|
+
if (!Y) return;
|
|
349
|
+
if (!u.value) {
|
|
637
350
|
console.warn("Topic is not set, cannot fetch data.");
|
|
638
351
|
return;
|
|
639
352
|
}
|
|
640
|
-
if (!
|
|
353
|
+
if (!u.value?.sourceId) {
|
|
641
354
|
console.warn("Topic sourceId is not set, cannot fetch data.");
|
|
642
355
|
return;
|
|
643
356
|
}
|
|
644
|
-
|
|
645
|
-
|
|
357
|
+
n.value = !0, Y(u.value.sourceId, g.value, h.value).then((c) => {
|
|
358
|
+
y.value = c.data.list, x.value = c.count, R();
|
|
646
359
|
}).finally(() => {
|
|
647
|
-
|
|
360
|
+
n.value = !1;
|
|
648
361
|
});
|
|
649
362
|
}
|
|
650
363
|
};
|
|
651
|
-
|
|
652
|
-
|
|
364
|
+
de(
|
|
365
|
+
y,
|
|
653
366
|
() => {
|
|
654
367
|
R();
|
|
655
368
|
},
|
|
656
369
|
{ deep: !0 }
|
|
657
370
|
);
|
|
658
|
-
const
|
|
659
|
-
return
|
|
660
|
-
open:
|
|
661
|
-
}), (
|
|
662
|
-
const
|
|
663
|
-
return
|
|
371
|
+
const Y = z(be);
|
|
372
|
+
return o({
|
|
373
|
+
open: V
|
|
374
|
+
}), (c, a) => {
|
|
375
|
+
const s = F;
|
|
376
|
+
return w(), J(C(ye), {
|
|
664
377
|
title: "地理图层属性表",
|
|
665
|
-
modelValue:
|
|
666
|
-
"onUpdate:modelValue":
|
|
378
|
+
modelValue: r.value,
|
|
379
|
+
"onUpdate:modelValue": a[3] || (a[3] = (v) => r.value = v),
|
|
667
380
|
width: "1000",
|
|
668
|
-
center:
|
|
669
|
-
"before-close":
|
|
381
|
+
center: C(t).dialogConfig.center,
|
|
382
|
+
"before-close": i
|
|
670
383
|
}, {
|
|
671
|
-
footer:
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
onClick:
|
|
384
|
+
footer: S(() => [
|
|
385
|
+
P("span", null, [
|
|
386
|
+
T(C(q), {
|
|
387
|
+
onClick: a[2] || (a[2] = (v) => r.value = !1)
|
|
675
388
|
}, {
|
|
676
|
-
default:
|
|
389
|
+
default: S(() => [...a[4] || (a[4] = [
|
|
677
390
|
U("取消", -1)
|
|
678
391
|
])]),
|
|
679
392
|
_: 1
|
|
680
393
|
}),
|
|
681
|
-
|
|
394
|
+
T(C(q), {
|
|
682
395
|
type: "primary",
|
|
683
|
-
onClick:
|
|
396
|
+
onClick: O
|
|
684
397
|
}, {
|
|
685
|
-
default:
|
|
398
|
+
default: S(() => [...a[5] || (a[5] = [
|
|
686
399
|
U("确定", -1)
|
|
687
400
|
])]),
|
|
688
401
|
_: 1
|
|
689
402
|
})
|
|
690
403
|
])
|
|
691
404
|
]),
|
|
692
|
-
default:
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
data:
|
|
405
|
+
default: S(() => [
|
|
406
|
+
P("div", Ae, [
|
|
407
|
+
X((w(), J(C(he), {
|
|
408
|
+
data: d.value,
|
|
696
409
|
border: "",
|
|
697
410
|
style: { width: "100%", "--el-table-header-bg-color": "#eee" },
|
|
698
411
|
height: "400"
|
|
699
412
|
}, {
|
|
700
|
-
default:
|
|
701
|
-
(
|
|
413
|
+
default: S(() => [
|
|
414
|
+
(w(!0), ve(ge, null, me(l.value, (v, L) => (w(), J(C(xe), {
|
|
702
415
|
"min-width": "120",
|
|
703
|
-
key:
|
|
704
|
-
prop:
|
|
705
|
-
label:
|
|
416
|
+
key: L,
|
|
417
|
+
prop: v,
|
|
418
|
+
label: v
|
|
706
419
|
}, null, 8, ["prop", "label"]))), 128))
|
|
707
420
|
]),
|
|
708
421
|
_: 1
|
|
709
422
|
}, 8, ["data"])), [
|
|
710
|
-
[
|
|
423
|
+
[s, n.value]
|
|
711
424
|
]),
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
"current-page":
|
|
715
|
-
"onUpdate:currentPage":
|
|
716
|
-
"page-size":
|
|
717
|
-
"onUpdate:pageSize":
|
|
425
|
+
P("div", Te, [
|
|
426
|
+
T(C(Ce), {
|
|
427
|
+
"current-page": g.value,
|
|
428
|
+
"onUpdate:currentPage": a[0] || (a[0] = (v) => g.value = v),
|
|
429
|
+
"page-size": h.value,
|
|
430
|
+
"onUpdate:pageSize": a[1] || (a[1] = (v) => h.value = v),
|
|
718
431
|
"page-sizes": [10, 20, 50, 100],
|
|
719
432
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
720
|
-
total:
|
|
721
|
-
onSizeChange:
|
|
433
|
+
total: x.value,
|
|
434
|
+
onSizeChange: k,
|
|
722
435
|
onCurrentChange: B
|
|
723
436
|
}, null, 8, ["current-page", "page-size", "total"])
|
|
724
437
|
])
|
|
@@ -728,7 +441,7 @@ const ct = { class: "attribute-table-container" }, dt = { class: "pagination-con
|
|
|
728
441
|
}, 8, ["modelValue", "center"]);
|
|
729
442
|
};
|
|
730
443
|
}
|
|
731
|
-
}),
|
|
444
|
+
}), Fe = /* @__PURE__ */ Ie(Ee, [["__scopeId", "data-v-833a0d24"]]);
|
|
732
445
|
export {
|
|
733
|
-
|
|
446
|
+
Fe as default
|
|
734
447
|
};
|