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.
- package/dist/es/{BaseInfo-D-Mw1tTN.js → BaseInfo-BMpbILhK.js} +2 -2
- package/dist/es/{BaseItem-BbqMOHus.js → BaseItem-DTeBOwt-.js} +3 -3
- package/dist/es/{Button-CeZhW1QC.js → Button-BFA52ivn.js} +2 -2
- package/dist/es/{CascaderLoadMore-CCflOhPX.js → CascaderLoadMore-C6micaqI.js} +2 -2
- package/dist/es/{DatePicker-DMtsF75M.js → DatePicker-CwQySLIQ.js} +3 -3
- package/dist/es/{DetailHeader-Cny3MSRT.js → DetailHeader-Blxh8--w.js} +3 -3
- package/dist/es/{DetailSubTitle-BaYkpGpn.js → DetailSubTitle-BfIeXh75.js} +2 -2
- package/dist/es/{Dialog-wslff2i5.js → Dialog-BptDzN8n.js} +3 -3
- package/dist/es/{DiyDataTable-DxhbDTeX.js → DiyDataTable-B1qF5iKa.js} +4 -4
- package/dist/es/{EditInfoPair-BjkWUWdC.js → EditInfoPair-Dc0sqM1L.js} +3 -3
- package/dist/es/{FileWrapper-CACEIzz1.js → FileWrapper-D2Lz9uQo.js} +4 -4
- package/dist/es/{Grid-DUbA9lXj.js → Grid-CONHwqEB.js} +2 -2
- package/dist/es/{InfoPair-Cc7jd_QY.js → InfoPair-CkgW5LoN.js} +3 -3
- package/dist/es/{Input-CPgzYhQB.js → Input-FPnMJc-X.js} +3 -3
- package/dist/es/{Loading-C6gDlpzy.js → Loading-D1OYqPWU.js} +2 -2
- package/dist/es/{Map-DWbVaRRC.js → Map-BOaSH6l-.js} +978 -971
- package/dist/es/{MessageBox-C7mSYITB.js → MessageBox-BIQVuTBY.js} +2 -2
- package/dist/es/{MoneyInput-3Er5p9I5.js → MoneyInput-CA9Xlx86.js} +5 -5
- package/dist/es/{PageHeadPanel-BUKAi2go.js → PageHeadPanel-BV5qQLDj.js} +2 -2
- package/dist/es/{Table-C2uGAC4q.js → Table-GWnpN6Gt.js} +24 -22
- package/dist/es/{ToolTips-CDOUTy7Q.js → ToolTips-B9Z_U4WM.js} +3 -3
- package/dist/es/index.js +23 -23
- package/dist/es/{utils-mwRDbm3z.js → utils-COxKH46Q.js} +1 -1
- package/dist/es/{vendor-BcKYsh5g.js → vendor-CbeG2C4c.js} +5 -5
- package/dist/types/components/Map/function/carTrack.d.ts +4 -2
- package/dist/types/components/Map/function/renderPolygon.d.ts +2 -1
- package/dist/umd/index.umd.cjs +33 -31
- package/package.json +1 -1
|
@@ -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-
|
|
3
|
-
import { a5 as T } from "./vendor-
|
|
4
|
-
import { I as $ } from "./Input-
|
|
5
|
-
import { _ as z } from "./Button-
|
|
6
|
-
import { w as C } from "./utils-
|
|
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-
|
|
3
|
-
import { w as v } from "./utils-
|
|
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-
|
|
3
|
-
import { Z as jt } from "./CascaderLoadMore-
|
|
4
|
-
import { _ as se, Z as _e } from "./Button-
|
|
5
|
-
import { _ as Nt } from "./Dialog-
|
|
6
|
-
import { D as ae, C as qt } from "./BaseItem-
|
|
7
|
-
import { w as xt } from "./utils-
|
|
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
|
|
109
|
-
t.loading = !
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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-
|
|
3
|
-
import { _ as f } from "./Button-
|
|
4
|
-
import { w as d } from "./utils-
|
|
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-
|
|
2
|
-
import { a as r, b as a } from "./Button-
|
|
3
|
-
import { Z as m } from "./DatePicker-
|
|
4
|
-
import { Z as J } from "./DetailSubTitle-
|
|
5
|
-
import { Z as t } from "./Dialog-
|
|
6
|
-
import { Z as O } from "./EditInfoPair-
|
|
7
|
-
import { Z as R } from "./FileWrapper-
|
|
8
|
-
import { a as Z, Z as s, b as e } from "./Grid-
|
|
9
|
-
import { Z as i } from "./InfoPair-
|
|
10
|
-
import { Z as p, a as f } from "./Input-
|
|
11
|
-
import { Z as h } from "./Loading-
|
|
12
|
-
import { Z as n, a as l, b as d, c as u } from "./MessageBox-
|
|
13
|
-
import { Z as I } from "./MoneyInput-
|
|
14
|
-
import { Z as V } from "./PageHeadPanel-
|
|
15
|
-
import { Z as D } from "./ToolTips-
|
|
16
|
-
import { Z as x } from "./BaseInfo-
|
|
17
|
-
import { Z as b } from "./DetailHeader-
|
|
18
|
-
import { Z as P } from "./DiyDataTable-
|
|
19
|
-
import { D as $ } from "./DiyDataTable-
|
|
20
|
-
import { Z as T } from "./Map-
|
|
21
|
-
import { Z as c } from "./Table-
|
|
22
|
-
import { Z as ro } from "./BaseItem-
|
|
23
|
-
import { Z as B } from "./CascaderLoadMore-
|
|
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,
|
|
@@ -48197,22 +48197,22 @@ He.mount(new aH());
|
|
|
48197
48197
|
He.mount(kv, Rv);
|
|
48198
48198
|
export {
|
|
48199
48199
|
io as $,
|
|
48200
|
-
|
|
48201
|
-
|
|
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
|
-
|
|
48208
|
-
|
|
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
|
-
|
|
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:
|
|
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;
|