zhihao-ui 1.3.59 → 1.3.60-alpha.2

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 (28) hide show
  1. package/dist/es/{BaseInfo-D-Mw1tTN.js → BaseInfo-BMpbILhK.js} +2 -2
  2. package/dist/es/{BaseItem-BbqMOHus.js → BaseItem-DTeBOwt-.js} +3 -3
  3. package/dist/es/{Button-CeZhW1QC.js → Button-BFA52ivn.js} +2 -2
  4. package/dist/es/{CascaderLoadMore-CCflOhPX.js → CascaderLoadMore-C6micaqI.js} +2 -2
  5. package/dist/es/{DatePicker-DMtsF75M.js → DatePicker-CwQySLIQ.js} +3 -3
  6. package/dist/es/{DetailHeader-Cny3MSRT.js → DetailHeader-Blxh8--w.js} +3 -3
  7. package/dist/es/{DetailSubTitle-BaYkpGpn.js → DetailSubTitle-BfIeXh75.js} +2 -2
  8. package/dist/es/{Dialog-wslff2i5.js → Dialog-BptDzN8n.js} +3 -3
  9. package/dist/es/{DiyDataTable-DxhbDTeX.js → DiyDataTable-B1qF5iKa.js} +4 -4
  10. package/dist/es/{EditInfoPair-BjkWUWdC.js → EditInfoPair-Dc0sqM1L.js} +3 -3
  11. package/dist/es/{FileWrapper-CACEIzz1.js → FileWrapper-D2Lz9uQo.js} +4 -4
  12. package/dist/es/{Grid-DUbA9lXj.js → Grid-CONHwqEB.js} +2 -2
  13. package/dist/es/{InfoPair-Cc7jd_QY.js → InfoPair-CkgW5LoN.js} +3 -3
  14. package/dist/es/{Input-CPgzYhQB.js → Input-FPnMJc-X.js} +3 -3
  15. package/dist/es/{Loading-C6gDlpzy.js → Loading-D1OYqPWU.js} +2 -2
  16. package/dist/es/{Map-DWbVaRRC.js → Map-BOaSH6l-.js} +978 -971
  17. package/dist/es/{MessageBox-C7mSYITB.js → MessageBox-BIQVuTBY.js} +2 -2
  18. package/dist/es/{MoneyInput-3Er5p9I5.js → MoneyInput-CA9Xlx86.js} +5 -5
  19. package/dist/es/{PageHeadPanel-BUKAi2go.js → PageHeadPanel-BV5qQLDj.js} +2 -2
  20. package/dist/es/{Table-C2uGAC4q.js → Table-GWnpN6Gt.js} +24 -22
  21. package/dist/es/{ToolTips-CDOUTy7Q.js → ToolTips-B9Z_U4WM.js} +3 -3
  22. package/dist/es/index.js +23 -23
  23. package/dist/es/{utils-mwRDbm3z.js → utils-COxKH46Q.js} +1 -1
  24. package/dist/es/{vendor-BcKYsh5g.js → vendor-CbeG2C4c.js} +5 -5
  25. package/dist/types/components/Map/function/carTrack.d.ts +4 -2
  26. package/dist/types/components/Map/function/renderPolygon.d.ts +2 -1
  27. package/dist/umd/index.umd.cjs +33 -31
  28. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { a4 as a } from "./vendor-BcKYsh5g.js";
2
- import { w as n } from "./utils-mwRDbm3z.js";
1
+ import { a4 as a } from "./vendor-CbeG2C4c.js";
2
+ import { w as n } from "./utils-COxKH46Q.js";
3
3
  const r = {
4
4
  type: "",
5
5
  showCancelButton: !0,
@@ -1,9 +1,9 @@
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-DMtsF75M.js";
3
- import { a5 as T } from "./vendor-BcKYsh5g.js";
4
- import { I as $ } from "./Input-CPgzYhQB.js";
5
- import { _ as z } from "./Button-CeZhW1QC.js";
6
- import { w as C } from "./utils-mwRDbm3z.js";
2
+ import { v as k, d as P } from "./DatePicker-CwQySLIQ.js";
3
+ import { a5 as T } from "./vendor-CbeG2C4c.js";
4
+ import { I as $ } from "./Input-FPnMJc-X.js";
5
+ import { _ as z } from "./Button-BFA52ivn.js";
6
+ import { w as C } from "./utils-COxKH46Q.js";
7
7
  const S = /* @__PURE__ */ p({
8
8
  name: "zh-money-input",
9
9
  __name: "MoneyInput",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, toRefs as m, openBlock as h, createElementBlock as u, createElementVNode as e, toDisplayString as s, unref as a, renderSlot as f } from "vue";
2
- import { _ as g } from "./Button-CeZhW1QC.js";
3
- import { w as v } from "./utils-mwRDbm3z.js";
2
+ import { _ as g } from "./Button-BFA52ivn.js";
3
+ import { w as v } from "./utils-COxKH46Q.js";
4
4
  const P = { class: "page-head" }, x = { class: "left-wrap" }, S = { class: "page-name" }, b = { class: "value" }, w = { class: "other-inform" }, H = { class: "label" }, k = { class: "value mg-r-24" }, B = { class: "status" }, E = /* @__PURE__ */ i({
5
5
  name: "zh-page-head-panel",
6
6
  __name: "PageHeadPanel",
@@ -1,10 +1,10 @@
1
1
  import { reactive as te, computed as Z, toRefs as Ze, ref as z, defineComponent as le, useCssVars as dt, inject as Ae, openBlock as S, createElementBlock as I, createBlock as L, resolveDynamicComponent as fe, mergeProps as G, withKeys as pt, unref as u, createSlots as me, withCtx as w, Fragment as Y, renderList as ge, renderSlot as W, createElementVNode as B, toDisplayString as X, createCommentVNode as M, createVNode as k, withModifiers as ht, normalizeClass as Ue, createTextVNode as Q, useSlots as Ke, isVNode as ft, normalizeProps as We, guardReactiveProps as je, nextTick as ve, onMounted as mt, onActivated as gt, onDeactivated as vt, onUnmounted as Ct, watch as bt, provide as yt, resolveDirective as St, withDirectives as we, vShow as wt, toHandlers as kt } from "vue";
2
- import { a6 as Ne, a7 as _t, a8 as Pt, a9 as qe, aa as Tt, n as Et, ab as $t, q as Bt, ac as zt, a5 as Ce, b as Te, a as be, ad as Mt, ae as It, p as re, af as Ft, ag as Lt, ah as Dt, ai as xe, aj as He, e as J, o as Je, ak as Le, al as Vt, am as Ye, an as Rt, ao as Ot, ap as Zt, aq as At, E as ke, ar as Ut, m as Kt, as as Wt, at as De, au as Ve } from "./vendor-BcKYsh5g.js";
3
- import { Z as jt } from "./CascaderLoadMore-CCflOhPX.js";
4
- import { _ as se, Z as _e } from "./Button-CeZhW1QC.js";
5
- import { _ as Nt } from "./Dialog-wslff2i5.js";
6
- import { D as ae, C as qt } from "./BaseItem-BbqMOHus.js";
7
- import { w as xt } from "./utils-mwRDbm3z.js";
2
+ import { a6 as Ne, a7 as _t, a8 as Pt, a9 as qe, aa as Tt, n as Et, ab as $t, q as Bt, ac as zt, a5 as Ce, b as Te, a as be, ad as Mt, ae as It, p as re, af as Ft, ag as Lt, ah as Dt, ai as xe, aj as He, e as J, o as Je, ak as Le, al as Vt, am as Ye, an as Rt, ao as Ot, ap as Zt, aq as At, E as ke, ar as Ut, m as Kt, as as Wt, at as De, au as Ve } from "./vendor-CbeG2C4c.js";
3
+ import { Z as jt } from "./CascaderLoadMore-C6micaqI.js";
4
+ import { _ as se, Z as _e } from "./Button-BFA52ivn.js";
5
+ import { _ as Nt } from "./Dialog-BptDzN8n.js";
6
+ import { D as ae, C as qt } from "./BaseItem-DTeBOwt-.js";
7
+ import { w as xt } from "./utils-COxKH46Q.js";
8
8
  const Ht = 12;
9
9
  function Ee(g, d, a, h) {
10
10
  return g.reduce((f, y) => {
@@ -105,23 +105,25 @@ const oe = (g, d) => {
105
105
  console.log("我是分页更新之后的值", E);
106
106
  }
107
107
  }), o = async () => {
108
- if (t.loading = !0, !g) {
109
- t.loading = !1;
110
- return;
111
- }
112
- try {
113
- Object.assign(t.totalParam, d, a ? C.value : {});
114
- for (const e in t.searchParam)
115
- t.searchParam[e] === "" && delete t.searchParam[e];
116
- let E = await g(y({ ...t.searchInitParam, ...t.totalParam }));
117
- if (h && (E = await h(E)), t.tableData = a ? E.list : E, a) {
118
- const { currentPage: e, pageSize: v, total: _ } = E;
119
- R({ page: e, size: v, total: _ });
108
+ if (!t.loading) {
109
+ if (t.loading = !0, !g) {
110
+ t.loading = !1;
111
+ return;
112
+ }
113
+ try {
114
+ Object.assign(t.totalParam, d, a ? C.value : {});
115
+ for (const e in t.searchParam)
116
+ t.searchParam[e] === "" && delete t.searchParam[e];
117
+ let E = await g(y({ ...t.searchInitParam, ...t.totalParam }));
118
+ if (h && (E = await h(E)), t.tableData = a ? E.list : E, a) {
119
+ const { currentPage: e, pageSize: v, total: _ } = E;
120
+ R({ page: e, size: v, total: _ });
121
+ }
122
+ } catch (E) {
123
+ f && f(E);
124
+ } finally {
125
+ t.loading = !1;
120
126
  }
121
- } catch (E) {
122
- f && f(E);
123
- } finally {
124
- t.loading = !1;
125
127
  }
126
128
  }, p = () => {
127
129
  t.totalParam = {}, t.searchInitParam = {}, d = {};
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as a, openBlock as s, createBlock as l, unref as p, withCtx as r, renderSlot as c, createElementVNode as m } from "vue";
2
- import { a5 as i } from "./vendor-BcKYsh5g.js";
3
- import { _ as f } from "./Button-CeZhW1QC.js";
4
- import { w as d } from "./utils-mwRDbm3z.js";
2
+ import { a5 as i } from "./vendor-CbeG2C4c.js";
3
+ import { _ as f } from "./Button-BFA52ivn.js";
4
+ import { w as d } from "./utils-COxKH46Q.js";
5
5
  const u = /* @__PURE__ */ a({
6
6
  name: "zh-tool-tips",
7
7
  __name: "ToolTips",
package/dist/es/index.js CHANGED
@@ -1,26 +1,26 @@
1
- import { m as o } from "./utils-mwRDbm3z.js";
2
- import { a as r, b as a } from "./Button-CeZhW1QC.js";
3
- import { Z as m } from "./DatePicker-DMtsF75M.js";
4
- import { Z as J } from "./DetailSubTitle-BaYkpGpn.js";
5
- import { Z as t } from "./Dialog-wslff2i5.js";
6
- import { Z as O } from "./EditInfoPair-BjkWUWdC.js";
7
- import { Z as R } from "./FileWrapper-CACEIzz1.js";
8
- import { a as Z, Z as s, b as e } from "./Grid-DUbA9lXj.js";
9
- import { Z as i } from "./InfoPair-Cc7jd_QY.js";
10
- import { Z as p, a as f } from "./Input-CPgzYhQB.js";
11
- import { Z as h } from "./Loading-C6gDlpzy.js";
12
- import { Z as n, a as l, b as d, c as u } from "./MessageBox-C7mSYITB.js";
13
- import { Z as I } from "./MoneyInput-3Er5p9I5.js";
14
- import { Z as V } from "./PageHeadPanel-BUKAi2go.js";
15
- import { Z as D } from "./ToolTips-CDOUTy7Q.js";
16
- import { Z as x } from "./BaseInfo-D-Mw1tTN.js";
17
- import { Z as b } from "./DetailHeader-Cny3MSRT.js";
18
- import { Z as P } from "./DiyDataTable-DxhbDTeX.js";
19
- import { D as $ } from "./DiyDataTable-DxhbDTeX.js";
20
- import { Z as T } from "./Map-DWbVaRRC.js";
21
- import { Z as c } from "./Table-C2uGAC4q.js";
22
- import { Z as ro } from "./BaseItem-BbqMOHus.js";
23
- import { Z as B } from "./CascaderLoadMore-CCflOhPX.js";
1
+ import { m as o } from "./utils-COxKH46Q.js";
2
+ import { a as r, b as a } from "./Button-BFA52ivn.js";
3
+ import { Z as m } from "./DatePicker-CwQySLIQ.js";
4
+ import { Z as J } from "./DetailSubTitle-BfIeXh75.js";
5
+ import { Z as t } from "./Dialog-BptDzN8n.js";
6
+ import { Z as O } from "./EditInfoPair-Dc0sqM1L.js";
7
+ import { Z as R } from "./FileWrapper-D2Lz9uQo.js";
8
+ import { a as Z, Z as s, b as e } from "./Grid-CONHwqEB.js";
9
+ import { Z as i } from "./InfoPair-CkgW5LoN.js";
10
+ import { Z as p, a as f } from "./Input-FPnMJc-X.js";
11
+ import { Z as h } from "./Loading-D1OYqPWU.js";
12
+ import { Z as n, a as l, b as d, c as u } from "./MessageBox-BIQVuTBY.js";
13
+ import { Z as I } from "./MoneyInput-CA9Xlx86.js";
14
+ import { Z as V } from "./PageHeadPanel-BV5qQLDj.js";
15
+ import { Z as D } from "./ToolTips-B9Z_U4WM.js";
16
+ import { Z as x } from "./BaseInfo-BMpbILhK.js";
17
+ import { Z as b } from "./DetailHeader-Blxh8--w.js";
18
+ import { Z as P } from "./DiyDataTable-B1qF5iKa.js";
19
+ import { D as $ } from "./DiyDataTable-B1qF5iKa.js";
20
+ import { Z as T } from "./Map-BOaSH6l-.js";
21
+ import { Z as c } from "./Table-GWnpN6Gt.js";
22
+ import { Z as ro } from "./BaseItem-DTeBOwt-.js";
23
+ import { Z as B } from "./CascaderLoadMore-C6micaqI.js";
24
24
  const M = [
25
25
  x,
26
26
  r,
@@ -1,4 +1,4 @@
1
- import { av as t } from "./vendor-BcKYsh5g.js";
1
+ import { av as t } from "./vendor-CbeG2C4c.js";
2
2
  function n(a) {
3
3
  return (s) => t(a, (r) => {
4
4
  s.use(r);
@@ -48197,22 +48197,22 @@ He.mount(new aH());
48197
48197
  He.mount(kv, Rv);
48198
48198
  export {
48199
48199
  io as $,
48200
- Th as A,
48201
- gH as B,
48200
+ gH as A,
48201
+ Th as B,
48202
48202
  su as C,
48203
48203
  _W as D,
48204
48204
  PH as E,
48205
48205
  zo as F,
48206
48206
  Am as G,
48207
- qH as H,
48208
- Qr as I,
48207
+ Qr as H,
48208
+ Js as I,
48209
48209
  oW as J,
48210
48210
  Bz as K,
48211
48211
  Dr as L,
48212
48212
  jH as M,
48213
48213
  Ao as N,
48214
48214
  KH as O,
48215
- Js as P,
48215
+ qH as P,
48216
48216
  Ku as Q,
48217
48217
  Fh as R,
48218
48218
  WH as S,
@@ -1,10 +1,12 @@
1
1
  import { VehicleInfo } from '../interface';
2
+ import { Map as MapOl } from 'ol';
2
3
  import { ShipTrack } from '../interface/shipTrack';
4
+ import { useTrackManager } from './shipTrack.ts';
3
5
 
4
- export declare const useCarTrackManager: (mapInstance: any, trackManager: any) => {
6
+ export declare const useCarTrackManager: (mapInstance: MapOl, trackManager: ReturnType<typeof useTrackManager>) => {
5
7
  location: (vehicleInfo?: VehicleInfo) => Promise<void>;
6
8
  remove: () => void;
7
- renderTrack: (vclN: string, list: ShipTrack[], color: string) => void;
9
+ renderTrack: (vclN: string, list: ShipTrack[], color: string, interval?: number) => void;
8
10
  setCenter: (id: string | number) => void;
9
11
  closeTrack: () => void;
10
12
  playTrack: (id: number | string, speed: number) => void;
@@ -1,4 +1,5 @@
1
1
  import { Feature, Map } from 'ol';
2
+ import { PropsManager } from './props';
2
3
 
3
4
  interface Coordinate {
4
5
  lng: number;
@@ -14,7 +15,7 @@ interface PolygonOptions {
14
15
  radius: number;
15
16
  isEdit: boolean;
16
17
  }
17
- export declare const useRenderPolygonManager: (mapInstance: Map) => {
18
+ export declare const useRenderPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
18
19
  createPolygon: (polygonData: PolygonOptions, options: styleOptions) => void;
19
20
  createCircle: (polygonData: PolygonOptions, options: StyleOptions) => Feature;
20
21
  deletePolygon: (id: string) => void;