zhihao-ui 1.2.70 → 1.2.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/es/{BaseItem-ByAS3S8w.js → BaseItem-CcDWBfoz.js} +1 -1
  2. package/dist/es/CascaderLoadMore-Cs9tSDmi.js +261 -0
  3. package/dist/es/{DatePicker-C-2zM1dY.js → DatePicker-OFa_X3SK.js} +1 -1
  4. package/dist/es/{DetailHeader-Dd_oHefQ.js → DetailHeader-CqZEznN3.js} +1 -1
  5. package/dist/es/{DetailSubTitle-1YWi0mX_.js → DetailSubTitle-CMZHFO7G.js} +1 -1
  6. package/dist/es/{DiyDataTable-beBJdlLe.js → DiyDataTable-xIPNp8SM.js} +38 -36
  7. package/dist/es/{EditInfoPair-BCbIIBEP.js → EditInfoPair-D4OdVVv0.js} +1 -1
  8. package/dist/es/{FileWrapper-ClTHhvQU.js → FileWrapper-CaI9Two-.js} +1 -1
  9. package/dist/es/{Grid-DvrmAWyU.js → Grid-gC33_S4r.js} +1 -1
  10. package/dist/es/{InfoPair-Bf-X09VT.js → InfoPair-DqDXekp4.js} +1 -1
  11. package/dist/es/{Map-XWdLIa5C.js → Map-C1pKJIU2.js} +1 -1
  12. package/dist/es/{MoneyInput-D8V7_PZq.js → MoneyInput-CyuL9f-x.js} +1 -1
  13. package/dist/es/{Table-DgS42Pzw.js → Table-HzWLO4s5.js} +411 -401
  14. package/dist/es/index.js +15 -15
  15. package/dist/index.css +1 -1
  16. package/dist/types/components/BaseItem/BaseItem.vue.d.ts +1 -1
  17. package/dist/types/components/BaseItem/index.d.ts +4 -4
  18. package/dist/types/components/BaseItem/types.d.ts +1 -1
  19. package/dist/types/components/CascaderLoadMore/CascaderLoadMore.vue.d.ts +2 -0
  20. package/dist/types/components/CascaderLoadMore/index.d.ts +5 -0
  21. package/dist/types/components/DetailHeader/index.d.ts +3 -3
  22. package/dist/types/components/DetailHeader/types.d.ts +1 -1
  23. package/dist/types/components/Dialog/Dialog.vue.d.ts +6 -6
  24. package/dist/types/components/Dialog/index.d.ts +9 -9
  25. package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +368 -0
  26. package/dist/types/components/DiyDataTable/index.d.ts +1101 -0
  27. package/dist/types/components/Map/config/global.d.ts +2 -0
  28. package/dist/types/components/Map/config/index.d.ts +2 -0
  29. package/dist/types/components/Map/config/map.d.ts +22 -0
  30. package/dist/types/components/Map/function/carTrack.d.ts +11 -0
  31. package/dist/types/components/Map/function/drawLine.d.ts +12 -0
  32. package/dist/types/components/Map/function/drawPolygon.d.ts +9 -0
  33. package/dist/types/components/Map/function/event.d.ts +9 -0
  34. package/dist/types/components/Map/function/layers.d.ts +10 -0
  35. package/dist/types/components/Map/function/map.d.ts +18 -0
  36. package/dist/types/components/Map/function/port.d.ts +10 -0
  37. package/dist/types/components/Map/function/position.d.ts +8 -0
  38. package/dist/types/components/Map/function/props.d.ts +7 -0
  39. package/dist/types/components/Map/function/ship/index.d.ts +15 -0
  40. package/dist/types/components/Map/function/ship/label.d.ts +5 -0
  41. package/dist/types/components/Map/function/ship/style.d.ts +22 -0
  42. package/dist/types/components/Map/function/shipTrack.d.ts +16 -0
  43. package/dist/types/components/Map/interface/carTrack.d.ts +70 -0
  44. package/dist/types/components/Map/interface/label.d.ts +27 -0
  45. package/dist/types/components/Map/interface/mapProps.d.ts +15 -0
  46. package/dist/types/components/Map/interface/position.d.ts +7 -0
  47. package/dist/types/components/Map/interface/shipInfoVo.d.ts +214 -0
  48. package/dist/types/components/Map/interface/shipTrack.d.ts +57 -0
  49. package/dist/types/components/Map/interface/wharfEntity.d.ts +20 -0
  50. package/dist/types/components/Map/meta/index.d.ts +17 -0
  51. package/dist/types/components/Map/meta/ship.d.ts +26 -0
  52. package/dist/types/components/Map/useMap.d.ts +17 -0
  53. package/dist/types/components/Map/utils/cursor.d.ts +3 -0
  54. package/dist/types/components/Map/utils/events.d.ts +4 -0
  55. package/dist/types/components/Map/utils/overlay.d.ts +5 -0
  56. package/dist/types/components/Map/utils/rbush.d.ts +13 -0
  57. package/dist/types/components/Map/utils/shipOverlay.d.ts +12 -0
  58. package/dist/types/components/Map/utils/track.d.ts +45 -0
  59. package/dist/types/components/Table/utils.d.ts +4 -0
  60. package/dist/umd/index.css +1 -1
  61. package/dist/umd/index.umd.cjs +29 -15
  62. package/package.json +1 -1
  63. package/dist/es/CascaderLoadMore-B3dBPBJz.js +0 -243
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, useSlots as R, inject as T, computed as n, ref as M, watchEffect as A, openBlock as t, createBlock as u, unref as s, withCtx as d, createElementVNode as h, normalizeClass as m, normalizeStyle as W, resolveDynamicComponent as k, createElementBlock as i, toDisplayString as o, renderSlot as S, Fragment as v, withModifiers as V, createTextVNode as f, createVNode as p, createCommentVNode as O } from "vue";
2
2
  import { E as D, a as Z, d as g } from "./vendor-9390iK3y.js";
3
- import { Z as G } from "./Grid-DvrmAWyU.js";
3
+ import { Z as G } from "./Grid-gC33_S4r.js";
4
4
  import { w as U } from "./utils-UjENBVnX.js";
5
5
  const b = "--", X = "YYYY-MM-DDTHH:mm:ss", x = "YYYY-MM-DDT23:59:59", ee = "YYYY-MM-DD", le = "https://static.zhihaoscm.cn/", _ = { key: 1 }, H = {
6
6
  key: 1,
@@ -0,0 +1,261 @@
1
+ import { defineComponent as ee, useModel as le, ref as r, watch as L, nextTick as q, resolveDirective as ae, openBlock as d, createElementBlock as M, withDirectives as te, createBlock as E, unref as h, mergeProps as oe, withCtx as w, Fragment as re, renderList as se, createVNode as ne, createCommentVNode as D, mergeModels as x } from "vue";
2
+ import { e as z, f as ce, g as ue, h as ie, i as pe } from "./vendor-9390iK3y.js";
3
+ import { w as ve } from "./utils-UjENBVnX.js";
4
+ const de = { class: "w-100" }, fe = {
5
+ key: 1,
6
+ class: "loading"
7
+ }, ge = /* @__PURE__ */ ee({
8
+ name: "CascaderLoadMore",
9
+ __name: "CascaderLoadMore",
10
+ props: /* @__PURE__ */ x({
11
+ onChange: {
12
+ type: Function,
13
+ required: !1
14
+ },
15
+ // 默认选中项
16
+ initialValue: {
17
+ type: [String, Number, Array],
18
+ required: !1
19
+ },
20
+ pageSize: {
21
+ type: Number,
22
+ default: 10
23
+ },
24
+ // 数据请求函数
25
+ requestFunction: {
26
+ type: Function,
27
+ required: !0
28
+ },
29
+ // 选项处理函数
30
+ handleOptionsFunction: {
31
+ type: Function,
32
+ required: !0
33
+ },
34
+ placeholder: {
35
+ type: String,
36
+ default: "输入关键字搜索名称"
37
+ },
38
+ // 强制搜索:不输入内容也进行搜索,即点击下拉默认展示数据
39
+ forceSearch: {
40
+ type: Boolean,
41
+ default: !0
42
+ },
43
+ // 初始下拉项用于回显数据
44
+ initialOptions: {
45
+ type: Array,
46
+ required: !1,
47
+ default: () => []
48
+ },
49
+ // 多选,默认false
50
+ multiple: {
51
+ type: Boolean,
52
+ default: !1
53
+ },
54
+ collapseTags: {
55
+ type: Boolean,
56
+ default: !1
57
+ },
58
+ collapseTagsTooltip: {
59
+ type: Boolean,
60
+ default: !1
61
+ },
62
+ clearable: {
63
+ type: Boolean,
64
+ default: !0
65
+ },
66
+ cascaderProps: {
67
+ type: Object,
68
+ default: () => ({})
69
+ },
70
+ placement: {
71
+ type: String,
72
+ default: "bottom-start"
73
+ },
74
+ trigger: {
75
+ type: String,
76
+ default: "click"
77
+ },
78
+ popperClass: {
79
+ type: String,
80
+ default: "warp-cascade-panel"
81
+ }
82
+ }, {
83
+ modelValue: {},
84
+ modelModifiers: {}
85
+ }),
86
+ emits: /* @__PURE__ */ x(["change", "removeTag"], ["update:modelValue"]),
87
+ setup(i, { expose: A, emit: H }) {
88
+ const t = i, s = le(i, "modelValue"), v = r(s.value || []), y = r(!1), n = r({
89
+ page: 1,
90
+ size: t.pageSize
91
+ }), C = r(void 0), S = r(!1), c = r(t.initialOptions || []), u = r(t.initialOptions || []), f = r(void 0), b = r(!1), I = {
92
+ expandTrigger: "hover",
93
+ checkStrictly: !1,
94
+ multiple: t.multiple,
95
+ emitPath: !0,
96
+ ...t.cascaderProps
97
+ }, R = r(), O = r(), N = () => {
98
+ y.value = !0;
99
+ }, $ = () => {
100
+ y.value = !1;
101
+ }, U = () => {
102
+ var e, l;
103
+ (l = (e = h(O).popperRef) == null ? void 0 : e.delayHide) == null || l.call(e);
104
+ }, j = (e) => {
105
+ const l = /* @__PURE__ */ new Map();
106
+ return (e || []).forEach((o) => {
107
+ const a = `${o.value}`;
108
+ l.has(a) || l.set(a, o);
109
+ }), Array.from(l.values());
110
+ };
111
+ function V(e) {
112
+ const l = [];
113
+ function o(a, p = "") {
114
+ const m = p && (t.cascaderProps.emitPath ?? !0) ? `${p}/${a.label}` : a.label;
115
+ l.push({
116
+ ...a,
117
+ value: a.value,
118
+ label: m
119
+ // 如果需要保留原始路径结构,可加上 fullPath 字段
120
+ // fullPath: currentPath
121
+ }), a.children && a.children.length > 0 && a.children.forEach((Y) => o(Y, m));
122
+ }
123
+ return e.forEach((a) => o(a)), l;
124
+ }
125
+ const k = async (e) => {
126
+ var p;
127
+ if (!t.forceSearch && !e) return;
128
+ const l = f.value === e || !f.value && !e;
129
+ if (l || (n.value.page = 1), l && C.value !== void 0 && n.value.page > C.value && !b.value) return;
130
+ b.value = !1, S.value = !0;
131
+ const a = await t.requestFunction(n.value.page, n.value.size, e);
132
+ if (a && Object.keys(a).length) {
133
+ C.value = a.totalPage;
134
+ const m = (p = a == null ? void 0 : a.list) == null ? void 0 : p.map(t.handleOptionsFunction);
135
+ l && n.value.page !== 1 ? u.value = j([...u.value, ...m]) : u.value = m || [], v.value = z(s.value), c.value = V(u.value);
136
+ }
137
+ f.value = e, S.value = !1;
138
+ }, Z = () => {
139
+ n.value.page = n.value.page + 1, k(f.value);
140
+ }, _ = (e) => {
141
+ s.value = e, v.value = e;
142
+ const l = T(e), o = t.onChange;
143
+ o && o(e, l);
144
+ }, T = (e) => {
145
+ const l = e || s.value;
146
+ return t.multiple ? c.value.filter(
147
+ (o) => (l || []).includes(o.value)
148
+ ) : c.value.find((o) => o.value === l);
149
+ }, Q = () => {
150
+ s.value = t.initialValue, v.value = t.initialValue, n.value.page = 1, n.value.size = t.pageSize, c.value = [], C.value = void 0, f.value = void 0;
151
+ }, B = H;
152
+ L(
153
+ () => t.initialOptions,
154
+ () => {
155
+ c.value = V(t.initialOptions), console.log("options.value", c.value), u.value = t.initialOptions;
156
+ },
157
+ { immediate: !0 }
158
+ );
159
+ const W = (e) => {
160
+ B("removeTag", e);
161
+ }, G = (e) => {
162
+ b.value = e;
163
+ }, P = r(null), g = r(null), F = () => {
164
+ if (!y.value) return;
165
+ const e = O.value.popperRef.contentRef, l = e == null ? void 0 : e.querySelector(".el-cascader-panel .el-scrollbar__wrap");
166
+ l && (P.value = l, g.value = () => K(l), l.addEventListener("scroll", g.value));
167
+ }, J = () => {
168
+ P.value && g.value && (P.value.removeEventListener("scroll", g.value), P.value = null, g.value = null);
169
+ }, K = (e) => {
170
+ const { scrollTop: l, scrollHeight: o, clientHeight: a } = e;
171
+ let p = o - l;
172
+ a + 10 > p && Z();
173
+ };
174
+ q(() => F()), L(y, (e) => {
175
+ e ? q(() => F()) : J();
176
+ });
177
+ const X = async (e) => {
178
+ (t.cascaderProps.emitPath ?? !0) && Array.isArray(e) ? t.multiple ? s.value = e.map((a) => a.at(-1)) : s.value = e.at(-1) : s.value = z(v.value), await q();
179
+ const l = T(s.value);
180
+ B("change", e, l);
181
+ const o = t.onChange;
182
+ o && o(e, l);
183
+ };
184
+ return A({
185
+ reset: Q,
186
+ getSelectedOption: T,
187
+ remoteMethod: k,
188
+ handleRequestParamsChanged: G,
189
+ options: c,
190
+ cascderOptions: u
191
+ }), (e, l) => {
192
+ const o = ae("click-outside");
193
+ return d(), M("div", de, [
194
+ te((d(), E(h(ce), oe({
195
+ ref_key: "remoteSelectRef",
196
+ ref: R,
197
+ modelValue: s.value,
198
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => s.value = a),
199
+ multiple: i.multiple,
200
+ placeholder: i.placeholder,
201
+ "remote-method": k,
202
+ teleported: !0,
203
+ clearable: i.clearable,
204
+ "collapse-tags": i.collapseTags,
205
+ "collapse-tags-tooltip": i.collapseTagsTooltip,
206
+ filterable: "",
207
+ height: "300",
208
+ remote: "",
209
+ "remote-show-suffix": "",
210
+ "reserve-keyword": "",
211
+ "popper-class": "hidden-dropdown",
212
+ class: "cascader-select"
213
+ }, e.$attrs, {
214
+ onChange: _,
215
+ onRemoveTag: W
216
+ }), {
217
+ default: w(() => [
218
+ (d(!0), M(re, null, se(c.value, (a) => (d(), E(h(ue), {
219
+ key: a.value,
220
+ label: a.label,
221
+ value: a.value
222
+ }, null, 8, ["label", "value"]))), 128))
223
+ ]),
224
+ _: 1
225
+ }, 16, ["modelValue", "multiple", "placeholder", "clearable", "collapse-tags", "collapse-tags-tooltip"])), [
226
+ [o, U]
227
+ ]),
228
+ ne(h(ie), {
229
+ ref_key: "popoverRef",
230
+ ref: O,
231
+ teleported: !0,
232
+ placement: t.placement,
233
+ trigger: t.trigger,
234
+ "popper-class": t.popperClass,
235
+ "virtual-ref": R.value,
236
+ onShow: N,
237
+ onHide: $,
238
+ "virtual-triggering": ""
239
+ }, {
240
+ default: w(() => [
241
+ !S.value || u.value.length > 0 ? (d(), E(h(pe), {
242
+ key: 0,
243
+ modelValue: v.value,
244
+ "onUpdate:modelValue": l[1] || (l[1] = (a) => v.value = a),
245
+ border: !1,
246
+ props: I,
247
+ options: u.value,
248
+ class: "select-cascader-panel",
249
+ onChange: X
250
+ }, null, 8, ["modelValue", "options"])) : D("", !0),
251
+ S.value ? (d(), M("div", fe, "加载中...")) : D("", !0)
252
+ ]),
253
+ _: 1
254
+ }, 8, ["placement", "trigger", "popper-class", "virtual-ref"])
255
+ ]);
256
+ };
257
+ }
258
+ }), Ce = ve(ge);
259
+ export {
260
+ Ce as Z
261
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, openBlock as u, createElementBlock as h, normalizeClass as d, createVNode as g, unref as _, mergeProps as A } from "vue";
2
2
  import { j as D, k as E } from "./vendor-9390iK3y.js";
3
- import { D as p, a as M, L as f, b as T } from "./BaseItem-ByAS3S8w.js";
3
+ import { D as p, a as M, L as f, b as T } from "./BaseItem-CcDWBfoz.js";
4
4
  import { w as b } from "./utils-UjENBVnX.js";
5
5
  const i = (e, t = M) => e ? D(e).format(t).replace("Invalid date", p) : p, O = (e) => typeof e == "number" ? !0 : typeof e == "string" ? !isNaN(parseFloat(e)) : !1;
6
6
  function P(e) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useSlots as _, openBlock as a, createElementBlock as o, createElementVNode as t, renderSlot as l, toDisplayString as i, Fragment as m, renderList as u, unref as n, normalizeClass as D, createCommentVNode as g } from "vue";
2
- import { D as v } from "./BaseItem-ByAS3S8w.js";
2
+ import { D as v } from "./BaseItem-CcDWBfoz.js";
3
3
  import { _ as k } from "./Button-BdGo3Kfv.js";
4
4
  import { w as y } from "./utils-UjENBVnX.js";
5
5
  const I = { class: "common-card" }, b = { class: "detail-header" }, E = { class: "detail-header--left" }, H = { class: "title common-title" }, M = { class: "info-pair--label" }, $ = { class: "info-pair--value" }, C = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, openBlock as o, createElementBlock as s, createElementVNode as l, createTextVNode as a, toDisplayString as t, createCommentVNode as p, normalizeClass as c, renderSlot as m, unref as d } from "vue";
2
- import { D as u } from "./BaseItem-ByAS3S8w.js";
2
+ import { D as u } from "./BaseItem-CcDWBfoz.js";
3
3
  import { w as f } from "./utils-UjENBVnX.js";
4
4
  const _ = { class: "info-pair" }, v = { class: "info-pair--title" }, h = {
5
5
  key: 0,
@@ -1,6 +1,6 @@
1
- import { defineComponent as P, useModel as K, ref as b, computed as j, openBlock as s, createBlock as h, unref as u, withCtx as p, createVNode as k, mergeProps as G, createCommentVNode as x, createElementBlock as m, Fragment as R, renderList as J, normalizeClass as S, toDisplayString as C, renderSlot as A, createTextVNode as T, createElementVNode as E, mergeModels as Q } from "vue";
2
- import { D as F } from "./BaseItem-ByAS3S8w.js";
3
- import { m as D, e as M, n as Y, o as ee, p as V, q as N, r as te, s as L, b as I } from "./vendor-9390iK3y.js";
1
+ import { defineComponent as P, useModel as K, ref as E, computed as j, openBlock as s, createBlock as h, unref as u, withCtx as p, createVNode as R, mergeProps as G, createCommentVNode as x, createElementBlock as m, Fragment as A, renderList as J, normalizeClass as S, toDisplayString as C, renderSlot as T, createTextVNode as D, createElementVNode as b, mergeModels as Q } from "vue";
2
+ import { D as F } from "./BaseItem-CcDWBfoz.js";
3
+ import { m as V, e as M, n as Y, o as ee, p as _, q as N, r as te, s as L, b as I } from "./vendor-9390iK3y.js";
4
4
  import { _ as ae } from "./Button-BdGo3Kfv.js";
5
5
  import { w as oe } from "./utils-UjENBVnX.js";
6
6
  var v = /* @__PURE__ */ ((f) => (f.AUTOCOMPLETE = "autocomplete", f.FORMAT = "format", f.TEXT = "text", f.INDEX = "index", f))(v || {});
@@ -28,7 +28,7 @@ const le = { key: 0 }, re = {
28
28
  }),
29
29
  emits: ["update:rawData"],
30
30
  setup(f, { expose: H }) {
31
- const d = f, n = K(f, "rawData"), i = b([]), c = b({
31
+ const d = f, n = K(f, "rawData"), i = E([]), c = E({
32
32
  isShow: !0,
33
33
  width: 150,
34
34
  customAddRow: !0,
@@ -45,9 +45,9 @@ const le = { key: 0 }, re = {
45
45
  addRowText: d.addRowText !== void 0 ? d.addRowText : c.value.addRowText,
46
46
  customAddColumn: d.customAddColumn !== void 0 ? d.customAddColumn : c.value.customAddColumn,
47
47
  addColumnText: d.addColumnText !== void 0 ? d.addColumnText : c.value.addColumnText
48
- }), _ = () => {
48
+ }), O = () => {
49
49
  if (n.value.length === d.maxRowLength) {
50
- D({
50
+ V({
51
51
  message: `最多添加${d.maxRowLength}行`,
52
52
  type: "warning"
53
53
  });
@@ -55,9 +55,9 @@ const le = { key: 0 }, re = {
55
55
  }
56
56
  let t = {};
57
57
  d.beforeAddRow && (t = d.beforeAddRow(n.value)), n.value.push(t);
58
- }, O = () => {
58
+ }, $ = () => {
59
59
  if (i.value.filter((e) => e.isAdd).length >= d.maxColLength) {
60
- D({
60
+ V({
61
61
  message: `最多添加${d.maxColLength}列`,
62
62
  type: "warning"
63
63
  });
@@ -114,7 +114,7 @@ const le = { key: 0 }, re = {
114
114
  }, z = (t, a) => {
115
115
  let e = t;
116
116
  return a.isSameData && (e = n.value[0] || F), a.formatter ? a.showFormatter ? a.type === v.FORMAT ? a.showFormatter(a.formatter(e)) : a.showFormatter(e[a.prop]) : a.formatter(e[a.prop]) : e[a.prop] || F;
117
- }, $ = b(), w = b({
117
+ }, k = E(), w = E({
118
118
  width: 132,
119
119
  type: v.INDEX,
120
120
  prop: "index",
@@ -150,16 +150,16 @@ const le = { key: 0 }, re = {
150
150
  isNewlyColumn: !1
151
151
  };
152
152
  }
153
- n.value = t, i.value = a;
153
+ n.value = t, i.value = a.filter((l) => l);
154
154
  },
155
155
  /** 获取数据 */
156
156
  getData: async () => {
157
- await $.value.validate();
157
+ await k.value.validate();
158
158
  for (const a in i.value) {
159
159
  const e = i.value[a];
160
160
  for (const l of i.value)
161
161
  if (e.prop !== l.prop && e.label === l.label) {
162
- D({
162
+ V({
163
163
  message: "所有列的表头不可重复",
164
164
  type: "warning"
165
165
  });
@@ -205,18 +205,20 @@ const le = { key: 0 }, re = {
205
205
  const l = t.filter((o) => o.isAdd);
206
206
  i.value = [...t, ...l];
207
207
  },
208
- onAddRow: _,
209
- onAddColumn: O
208
+ onAddRow: O,
209
+ onAddColumn: $,
210
+ // 导出formRef
211
+ formRef: k
210
212
  }), (t, a) => (s(), h(u(Y), {
211
213
  class: "diy-data-table",
212
214
  model: f.rawData,
213
215
  ref_key: "formRef",
214
- ref: $
216
+ ref: k
215
217
  }, {
216
218
  default: p(() => [
217
- k(u(ee), G({ data: n.value }, t.$attrs), {
219
+ R(u(ee), G({ data: n.value }, t.$attrs), {
218
220
  default: p(() => [
219
- w.value.isShow ? (s(), h(u(V), {
221
+ w.value.isShow ? (s(), h(u(_), {
220
222
  key: 0,
221
223
  type: w.value.type,
222
224
  label: w.value.label,
@@ -224,7 +226,7 @@ const le = { key: 0 }, re = {
224
226
  minWidth: w.value.minWidth,
225
227
  fixed: w.value.fixed
226
228
  }, null, 8, ["type", "label", "width", "minWidth", "fixed"])) : x("", !0),
227
- (s(!0), m(R, null, J(i.value, (e, l) => (s(), h(u(V), {
229
+ (s(!0), m(A, null, J(i.value, (e, l) => (s(), h(u(_), {
228
230
  key: e.key || l,
229
231
  prop: e.prop,
230
232
  label: e.label,
@@ -234,12 +236,12 @@ const le = { key: 0 }, re = {
234
236
  }, {
235
237
  header: p(() => [
236
238
  t.isEdit ? e.isEditHeader && t.canOnlyEditNewlyColumnHeader && e.isNewlyColumn || e.isEditHeader && !t.canOnlyEditNewlyColumnHeader ? (s(), m("div", re, [
237
- k(u(N), {
239
+ R(u(N), {
238
240
  prop: `columns.${l}`,
239
241
  rules: X(l)
240
242
  }, {
241
243
  default: p(() => [
242
- k(u(L), {
244
+ R(u(L), {
243
245
  modelValue: e.label,
244
246
  "onUpdate:modelValue": (o) => e.label = o,
245
247
  maxlength: e.headerMaxlength || 20,
@@ -275,7 +277,7 @@ const le = { key: 0 }, re = {
275
277
  placeholder: e.placeholder || "请输入",
276
278
  "fetch-suggestions": (r, y) => W(r, y, e),
277
279
  maxlength: e.maxlength || 20
278
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "fetch-suggestions", "maxlength"])) : e.slot ? A(t.$slots, e.slot, {
280
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "fetch-suggestions", "maxlength"])) : e.slot ? T(t.$slots, e.slot, {
279
281
  key: 2,
280
282
  row: o.row,
281
283
  $index: o.$index
@@ -290,32 +292,32 @@ const le = { key: 0 }, re = {
290
292
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "formatter", "parser", "maxlength"]))
291
293
  ]),
292
294
  _: 2
293
- }, 1032, ["prop", "rules", "class"])) : e.slot ? A(t.$slots, e.slot, {
295
+ }, 1032, ["prop", "rules", "class"])) : e.slot ? T(t.$slots, e.slot, {
294
296
  key: 1,
295
297
  row: o.row,
296
298
  $index: o.$index
297
- }, void 0, !0) : (s(), m(R, { key: 2 }, [
298
- T(C(z(o.row, e)), 1)
299
+ }, void 0, !0) : (s(), m(A, { key: 2 }, [
300
+ D(C(z(o.row, e)), 1)
299
301
  ], 64))
300
302
  ]),
301
303
  _: 2
302
304
  }, 1032, ["prop", "label", "width", "min-width", "fixed"]))), 128)),
303
- d.isEdit && g.value.isShow ? (s(), h(u(V), {
305
+ d.isEdit && g.value.isShow ? (s(), h(u(_), {
304
306
  key: 1,
305
307
  width: g.value.width,
306
308
  fixed: "right"
307
309
  }, {
308
310
  header: p(() => [
309
- E("div", se, [
311
+ b("div", se, [
310
312
  g.value.customAddRow ? (s(), h(u(I), {
311
313
  key: 0,
312
314
  type: "primary",
313
315
  link: "",
314
- onClick: _
316
+ onClick: O
315
317
  }, {
316
318
  default: p(() => [
317
- a[0] || (a[0] = E("i", { class: "iconfont icon-Frame1" }, null, -1)),
318
- T(C(g.value.addRowText), 1)
319
+ a[0] || (a[0] = b("i", { class: "iconfont icon-Frame1" }, null, -1)),
320
+ D(C(g.value.addRowText), 1)
319
321
  ]),
320
322
  _: 1
321
323
  })) : x("", !0),
@@ -323,23 +325,23 @@ const le = { key: 0 }, re = {
323
325
  key: 1,
324
326
  type: "primary",
325
327
  link: "",
326
- onClick: O
328
+ onClick: $
327
329
  }, {
328
330
  default: p(() => [
329
- a[1] || (a[1] = E("i", { class: "iconfont icon-Frame-11" }, null, -1)),
330
- T(C(g.value.addColumnText), 1)
331
+ a[1] || (a[1] = b("i", { class: "iconfont icon-Frame-11" }, null, -1)),
332
+ D(C(g.value.addColumnText), 1)
331
333
  ]),
332
334
  _: 1
333
335
  })) : x("", !0)
334
336
  ])
335
337
  ]),
336
338
  default: p(({ $index: e, row: l }) => [
337
- E("div", ne, [
338
- t.$slots.operation ? A(t.$slots, "operation", {
339
+ b("div", ne, [
340
+ t.$slots.operation ? T(t.$slots, "operation", {
339
341
  key: 0,
340
342
  row: n.value[e],
341
343
  $index: e
342
- }, void 0, !0) : (s(), m(R, { key: 1 }, [
344
+ }, void 0, !0) : (s(), m(A, { key: 1 }, [
343
345
  n.value.length > 1 && !l.disabled ? (s(), m("i", {
344
346
  key: 0,
345
347
  class: "iconfont icon-close",
@@ -357,7 +359,7 @@ const le = { key: 0 }, re = {
357
359
  _: 3
358
360
  }, 8, ["model"]));
359
361
  }
360
- }), fe = /* @__PURE__ */ ae(pe, [["__scopeId", "data-v-5b48bcac"]]), ce = oe(fe);
362
+ }), fe = /* @__PURE__ */ ae(pe, [["__scopeId", "data-v-5a4b704c"]]), ce = oe(fe);
361
363
  export {
362
364
  v as D,
363
365
  ce as Z
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, openBlock as o, createElementBlock as s, createElementVNode as a, createTextVNode as r, toDisplayString as t, createCommentVNode as p, normalizeClass as c, renderSlot as d, unref as m } from "vue";
2
- import { D as f } from "./BaseItem-ByAS3S8w.js";
2
+ import { D as f } from "./BaseItem-CcDWBfoz.js";
3
3
  import { _ } from "./Button-BdGo3Kfv.js";
4
4
  import { w as u } from "./utils-UjENBVnX.js";
5
5
  const v = { class: "info-pair" }, h = { class: "info-pair--title" }, E = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, openBlock as i, createElementBlock as o, toDisplayString as n, createCommentVNode as s, createElementVNode as t, createVNode as p, unref as m, withCtx as _, createTextVNode as u } from "vue";
2
- import { D as w } from "./BaseItem-ByAS3S8w.js";
2
+ import { D as w } from "./BaseItem-CcDWBfoz.js";
3
3
  import { E as y } from "./vendor-9390iK3y.js";
4
4
  import { _ as h } from "./Button-BdGo3Kfv.js";
5
5
  import { w as v } from "./utils-UjENBVnX.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as L, onBeforeMount as H, useSlots as U, ref as d, computed as D, onMounted as P, onActivated as N, onUnmounted as T, onDeactivated as O, provide as p, watch as C, inject as m, onBeforeUpdate as q, onUpdated as F, openBlock as k, createElementBlock as M, normalizeStyle as Z, renderSlot as E, useAttrs as J, reactive as W, watchEffect as K, withDirectives as Q, vShow as V } from "vue";
2
- import { g as X } from "./Table-DgS42Pzw.js";
2
+ import { g as X } from "./Table-HzWLO4s5.js";
3
3
  import { w as A } from "./utils-UjENBVnX.js";
4
4
  const Y = /* @__PURE__ */ L({
5
5
  name: "Grid",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, openBlock as i, createElementBlock as s, createElementVNode as a, createTextVNode as r, toDisplayString as t, createCommentVNode as p, normalizeClass as c, renderSlot as m, unref as f } from "vue";
2
- import { D as d } from "./BaseItem-ByAS3S8w.js";
2
+ import { D as d } from "./BaseItem-CcDWBfoz.js";
3
3
  import { _ } from "./Button-BdGo3Kfv.js";
4
4
  import { w as u } from "./utils-UjENBVnX.js";
5
5
  const v = { class: "info-pair" }, h = { class: "info-pair--title" }, I = {
@@ -4,7 +4,7 @@ var C = (e, t, o) => _(e, typeof t != "symbol" ? t + "" : t, o);
4
4
  import { ref, defineComponent, inject, useModel, watch, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx, Fragment, renderList, toDisplayString, createCommentVNode, mergeModels, nextTick, onMounted, normalizeClass, renderSlot, createBlock, useCssVars, computed, provide } from "vue";
5
5
  import { t as getArea, u as getLength, V as VectorSource, v as VectorLayer, S as Style, C as CircleStyle, F as Fill, w as Stroke, D as Draw, O as Overlay, x as unByKey, f as ElSelect, g as ElOption, y as getUid, z as fromLonLat, P as Point, A as transform, B as Feature, T as Text, I as Icon, G as Translate, H as toLonLat, e as cloneDeep, J as GeoJSON, W as WebGLPointsLayer, K as Circle, L as transformExtent, j as hooks, M as LineString, N as Polyline, Q as getVectorContext, R as buffer, U as ScaleLine$1, X as MultiPoint, Y as getCenter, Z as TileLayer, _ as XYZ, $ as Map$1, a0 as View } from "./vendor-9390iK3y.js";
6
6
  import { _ as _export_sfc } from "./Button-BdGo3Kfv.js";
7
- import { g as getForegroundColor } from "./DatePicker-C-2zM1dY.js";
7
+ import { g as getForegroundColor } from "./DatePicker-OFa_X3SK.js";
8
8
  import { w as withInstall } from "./utils-UjENBVnX.js";
9
9
  var BaseMapType = /* @__PURE__ */ ((e) => (e[e.vector = 0] = "vector", e[e.satellite = 1] = "satellite", e))(BaseMapType || {}), SEARCH_TYPE = /* @__PURE__ */ ((e) => (e[e.SEARCH_SHIP = 0] = "SEARCH_SHIP", e[e.SEARCH_PORT = 1] = "SEARCH_PORT", e[e.SEARCH_CUSTOM = 2] = "SEARCH_CUSTOM", e))(SEARCH_TYPE || {}), COPY_RIGHT_TYPE = /* @__PURE__ */ ((e) => (e[e.HORIZONTAL = 0] = "HORIZONTAL", e[e.VERTICAL = 1] = "VERTICAL", e))(COPY_RIGHT_TYPE || {}), CAR_COLOR = /* @__PURE__ */ ((e) => (e[e.BLUE = 1] = "BLUE", e[e.YELLOW = 2] = "YELLOW", e[e.Y_GREEN = 3] = "Y_GREEN", e))(CAR_COLOR || {}), DEVICE_TYPE = /* @__PURE__ */ ((e) => (e[e.HOST = 1] = "HOST", e[e.TALK = 2] = "TALK", e[e.STORAGE = 3] = "STORAGE", e[e.INTERNET = 4] = "INTERNET", e[e.CAMERA = 5] = "CAMERA", e[e.LOAD = 6] = "LOAD", e))(DEVICE_TYPE || {}), LENGTH_UNIT = /* @__PURE__ */ ((e) => (e[e.M = 1] = "M", e[e.KM = 2] = "KM", e[e.NM = 3] = "NM", e))(LENGTH_UNIT || {}), SWITCH_BTN = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Mobile = "mobile", e.WaterGauge = "waterGauge", e))(SWITCH_BTN || {}), SHIP_SAIL_STATUS = /* @__PURE__ */ ((e) => (e[e.发动机使用中 = 0] = "发动机使用中", e[e.锚泊 = 1] = "锚泊", e[e.未操作 = 2] = "未操作", e[e.操纵能力受限 = 3] = "操纵能力受限", e[e.吃水受限 = 4] = "吃水受限", e[e.系泊 = 5] = "系泊", e[e.搁浅 = 6] = "搁浅", e[e.从事捕捞 = 7] = "从事捕捞", e[e.航行中 = 8] = "航行中", e[e.留作将来修正导航状态 = 9] = "留作将来修正导航状态", e[e.高速船留用 = 10] = "高速船留用", e[e.机动船尾推作业 = 11] = "机动船尾推作业", e[e.机动船顶推或侧推作业 = 12] = "机动船顶推或侧推作业", e[e.飞翼船留用 = 13] = "飞翼船留用", e[e.现行的 = 14] = "现行的", e[e.未定义 = 15] = "未定义", e))(SHIP_SAIL_STATUS || {});
10
10
  class ShipMapData {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useModel as d, computed as i, ref as f, openBlock as v, createBlock as c, unref as y, withCtx as n, createVNode as V, mergeProps as b, createSlots as I, renderList as M, renderSlot as w, normalizeProps as B, guardReactiveProps as N, mergeModels as g } from "vue";
2
- import { v as k, d as P } from "./DatePicker-C-2zM1dY.js";
2
+ import { v as k, d as P } from "./DatePicker-OFa_X3SK.js";
3
3
  import { a2 as T } from "./vendor-9390iK3y.js";
4
4
  import { I as $ } from "./Input-uOt745UZ.js";
5
5
  import { _ as z } from "./Button-BdGo3Kfv.js";