zhihao-ui 1.3.61-alpha.1 → 1.3.61-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-aiVRbjTP.js → BaseInfo-DWd9fBe_.js} +4 -4
- package/dist/es/{BaseItem-B_4mwWHs.js → BaseItem-BIgkJypI.js} +4 -4
- package/dist/es/{Button-BFA52ivn.js → Button-C39vlreJ.js} +5 -5
- package/dist/es/{CascaderLoadMore-C6micaqI.js → CascaderLoadMore-3c8IyUIK.js} +11 -11
- package/dist/es/{DatePicker-DyqXtiRa.js → DatePicker-BPxk-cae.js} +5 -5
- package/dist/es/{DetailHeader-pQXMyG5I.js → DetailHeader-DayCYQYv.js} +11 -11
- package/dist/es/{DetailSubTitle-B-DcaPqI.js → DetailSubTitle-LdM7Vzn2.js} +5 -5
- package/dist/es/{Dialog-BptDzN8n.js → Dialog-BVC9Lz_w.js} +24 -19
- package/dist/es/{DiyDataTable-Bt-ZrRFy.js → DiyDataTable-B4LomMD5.js} +10 -10
- package/dist/es/{EditInfoPair-DCjZGPkz.js → EditInfoPair-DKVWV5Hg.js} +6 -6
- package/dist/es/{FileWrapper-xu2XFTT8.js → FileWrapper-B5pKpayw.js} +10 -10
- package/dist/es/{Grid-DEbsTV3v.js → Grid-0ApZ4lgz.js} +10 -10
- package/dist/es/{InfoPair-B9nTZ_iX.js → InfoPair-BIWQXLV1.js} +6 -6
- package/dist/es/{Input-FPnMJc-X.js → Input-D4Bh5SDE.js} +8 -8
- package/dist/es/{Loading-D1OYqPWU.js → Loading-CjOeNl4l.js} +4 -4
- package/dist/es/Map-qSFTN8LW.js +2464 -0
- package/dist/es/{MessageBox-CvwRq0Fw.js → MessageBox-CUGnKhiO.js} +2 -2
- package/dist/es/{MoneyInput-DJ5g8rhm.js → MoneyInput-C_4ls5Mc.js} +14 -14
- package/dist/es/{PageHeadPanel-BV5qQLDj.js → PageHeadPanel-CnbPae_Q.js} +4 -4
- package/dist/es/{Table-D49FFXP7.js → Table-CCFUdM1X.js} +13 -13
- package/dist/es/{ToolTips-B9Z_U4WM.js → ToolTips-BXk9Ppfb.js} +5 -5
- package/dist/es/index.js +23 -23
- package/dist/es/{utils-COxKH46Q.js → utils-D7-cBAU3.js} +1 -1
- package/dist/es/{vendor-CbeG2C4c.js → vendor-Dz44HqMM.js} +17957 -17308
- package/dist/index.css +1 -1
- package/dist/types/components/Dialog/Dialog.vue.d.ts +42 -12
- package/dist/types/components/Dialog/index.d.ts +63 -18
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +2 -368
- package/dist/types/components/DiyDataTable/index.d.ts +3 -1101
- package/dist/types/components/Map/Map.vue.d.ts +26 -0
- package/dist/types/components/Map/function/ship/index.d.ts +1 -1
- package/dist/types/components/Map/index.d.ts +93 -6
- package/dist/types/components/Map/interface/mapProps.d.ts +2 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +51 -66
- package/package.json +1 -1
- package/dist/es/Map-B7b_QqZC.js +0 -2446
- package/dist/types/components/Map/components/copyright.vue.d.ts +0 -36
- package/dist/types/components/Map/components/measure.vue.d.ts +0 -23
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +0 -40
- package/dist/types/components/Map/config.d.ts +0 -32
- package/dist/types/components/Map/enum/car.d.ts +0 -5
- package/dist/types/components/Map/enum/device.d.ts +0 -8
- package/dist/types/components/Map/enum/index.d.ts +0 -5
- package/dist/types/components/Map/enum/openLayers.d.ts +0 -10
- package/dist/types/components/Map/enum/ship.d.ts +0 -50
- package/dist/types/components/Map/function/renderPolygon.d.ts +0 -25
- package/dist/types/components/Map/function/ship/label.d.ts +0 -5
- package/dist/types/components/Map/function/shipTrack.d.ts +0 -16
- package/dist/types/components/Map/interface/common/BaseEntity.d.ts +0 -29
- package/dist/types/components/Map/interface/common/page.d.ts +0 -34
- package/dist/types/components/Map/interface/entity/dashboard.d.ts +0 -16
- package/dist/types/components/Map/interface/entity/map.d.ts +0 -36
- package/dist/types/components/Map/interface/entity/point.d.ts +0 -10
- package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +0 -86
- package/dist/types/components/Map/interface/entity/render.d.ts +0 -57
- package/dist/types/components/Map/interface/entity/ship.d.ts +0 -361
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +0 -210
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +0 -27
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +0 -8
- package/dist/types/components/Map/interface/entity/shipTrack.d.ts +0 -56
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +0 -345
- package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +0 -20
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +0 -15
- package/dist/types/components/Map/render/canvasRender/geometry.d.ts +0 -22
- package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +0 -5
- package/dist/types/components/Map/render/canvasRender/renderPointStyle.d.ts +0 -10
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +0 -5
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +0 -12
- package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +0 -3
- package/dist/types/components/Map/render/drawPolygon.d.ts +0 -10
- package/dist/types/components/Map/render/renderDashboard.d.ts +0 -12
- package/dist/types/components/Map/render/renderMarker.d.ts +0 -7
- package/dist/types/components/Map/render/renderPoint.d.ts +0 -80
- package/dist/types/components/Map/render/renderShip.d.ts +0 -20
- package/dist/types/components/Map/render/renderTrack.d.ts +0 -12
- package/dist/types/components/Map/render/renderTruck.d.ts +0 -10
- package/dist/types/components/Map/utils/common.d.ts +0 -27
- package/dist/types/components/Map/utils/format.d.ts +0 -10
- package/dist/types/components/Map/utils/overlay.d.ts +0 -5
- package/dist/types/components/Map/utils/store.d.ts +0 -32
- package/dist/types/components/Map/utils/transform.d.ts +0 -44
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as p,
|
|
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-
|
|
1
|
+
import { defineComponent as p, mergeModels as d, useModel as i, computed as f, ref as v, createBlock as c, openBlock as y, unref as V, withCtx as n, createVNode as b, mergeProps as I, createSlots as M, renderList as w, renderSlot as B, normalizeProps as N, guardReactiveProps as g } from "vue";
|
|
2
|
+
import { v as k, d as P } from "./DatePicker-BPxk-cae.js";
|
|
3
|
+
import { a5 as T } from "./vendor-Dz44HqMM.js";
|
|
4
|
+
import { I as $ } from "./Input-D4Bh5SDE.js";
|
|
5
|
+
import { _ as z } from "./Button-C39vlreJ.js";
|
|
6
|
+
import { w as C } from "./utils-D7-cBAU3.js";
|
|
7
7
|
const S = /* @__PURE__ */ p({
|
|
8
8
|
name: "zh-money-input",
|
|
9
9
|
__name: "MoneyInput",
|
|
10
|
-
props: /* @__PURE__ */
|
|
10
|
+
props: /* @__PURE__ */ d({
|
|
11
11
|
style: {},
|
|
12
12
|
class: {},
|
|
13
13
|
showTooltip: { type: Boolean, default: !0 }
|
|
@@ -17,29 +17,29 @@ const S = /* @__PURE__ */ p({
|
|
|
17
17
|
}),
|
|
18
18
|
emits: ["update:modelValue"],
|
|
19
19
|
setup(s) {
|
|
20
|
-
const a = s, e =
|
|
20
|
+
const a = s, e = i(s, "modelValue"), u = f(() => {
|
|
21
21
|
if (e.value)
|
|
22
22
|
return k(e.value) && Number(e.value) >= 1e3 ? P(Number(e.value)) : "";
|
|
23
|
-
}), r =
|
|
24
|
-
return (t, o) => (
|
|
23
|
+
}), r = v(!1);
|
|
24
|
+
return (t, o) => (y(), c(V(T), {
|
|
25
25
|
effect: "dark",
|
|
26
26
|
content: u.value,
|
|
27
27
|
placement: "top",
|
|
28
28
|
visible: t.showTooltip && r.value && !!u.value
|
|
29
29
|
}, {
|
|
30
30
|
default: n(() => [
|
|
31
|
-
|
|
31
|
+
b($, I(t.$attrs, {
|
|
32
32
|
modelValue: e.value,
|
|
33
33
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => e.value = l),
|
|
34
34
|
style: a.style,
|
|
35
35
|
class: a.class,
|
|
36
36
|
onFocus: o[1] || (o[1] = () => r.value = !0),
|
|
37
37
|
onBlur: o[2] || (o[2] = () => r.value = !1)
|
|
38
|
-
}),
|
|
39
|
-
|
|
38
|
+
}), M({ _: 2 }, [
|
|
39
|
+
w(Object.keys(t.$slots), (l) => ({
|
|
40
40
|
name: l,
|
|
41
41
|
fn: n((m) => [
|
|
42
|
-
|
|
42
|
+
B(t.$slots, l, N(g(m)), void 0, !0)
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
45
45
|
]), 1040, ["modelValue", "style", "class"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as i, toRefs as m,
|
|
2
|
-
import { _ as g } from "./Button-
|
|
3
|
-
import { w as v } from "./utils-
|
|
1
|
+
import { defineComponent as i, toRefs as m, createElementBlock as h, openBlock as u, createElementVNode as e, toDisplayString as s, unref as a, renderSlot as f } from "vue";
|
|
2
|
+
import { _ as g } from "./Button-C39vlreJ.js";
|
|
3
|
+
import { w as v } from "./utils-D7-cBAU3.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",
|
|
@@ -9,7 +9,7 @@ const P = { class: "page-head" }, x = { class: "left-wrap" }, S = { class: "page
|
|
|
9
9
|
},
|
|
10
10
|
setup(o) {
|
|
11
11
|
const n = o, { name: l, no: c, status: d, extendLabel: r, extendValue: p } = m(n.dataSource);
|
|
12
|
-
return (_, t) => (
|
|
12
|
+
return (_, t) => (u(), h("div", P, [
|
|
13
13
|
e("div", x, [
|
|
14
14
|
e("span", S, s(a(l)), 1),
|
|
15
15
|
e("div", null, [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { reactive as te, computed as U, toRefs as Ze, ref as z, defineComponent as le, useCssVars as dt, inject as Ae,
|
|
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,
|
|
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-
|
|
1
|
+
import { reactive as te, computed as U, toRefs as Ze, ref as z, defineComponent as le, useCssVars as dt, inject as Ae, createElementBlock as F, openBlock as S, createBlock as D, resolveDynamicComponent as fe, mergeProps as G, withKeys as pt, unref as u, createSlots as me, withCtx as w, renderSlot as N, Fragment as Y, renderList as ge, createElementVNode as B, toDisplayString as X, createCommentVNode as I, createVNode as k, withModifiers as ht, normalizeClass as Ue, createTextVNode as Q, useSlots as We, normalizeProps as Ke, guardReactiveProps as je, isVNode as ft, 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, o as He, aj as Le, ak as Vt, al as Je, i as J, am as Ye, an as Rt, ao as Ot, ap as Zt, aq as At, E as ke, ar as Ut, m as Wt, as as Kt, at as De, au as Ve } from "./vendor-Dz44HqMM.js";
|
|
3
|
+
import { Z as jt } from "./CascaderLoadMore-3c8IyUIK.js";
|
|
4
|
+
import { _ as se, Z as _e } from "./Button-C39vlreJ.js";
|
|
5
|
+
import { _ as Nt } from "./Dialog-BVC9Lz_w.js";
|
|
6
|
+
import { D as ae, C as qt } from "./BaseItem-BIgkJypI.js";
|
|
7
|
+
import { w as xt } from "./utils-D7-cBAU3.js";
|
|
8
8
|
const Ht = 12;
|
|
9
9
|
function Ee(g, d, a, h) {
|
|
10
10
|
return g.reduce((f, y) => {
|
|
@@ -575,7 +575,7 @@ const ha = /* @__PURE__ */ le({
|
|
|
575
575
|
}, e = () => {
|
|
576
576
|
p.value && (p.value.destroy(), C.value = (/* @__PURE__ */ new Date()).getTime(), h.value.doLayout()), ve(() => {
|
|
577
577
|
const b = document.querySelector(".custom-column-dialog tbody");
|
|
578
|
-
p.value =
|
|
578
|
+
p.value = Ye.create(b, {
|
|
579
579
|
handle: ".move",
|
|
580
580
|
animation: 300,
|
|
581
581
|
filter: ".operation",
|
|
@@ -653,7 +653,7 @@ const ha = /* @__PURE__ */ le({
|
|
|
653
653
|
]),
|
|
654
654
|
default: w(() => [
|
|
655
655
|
B("div", ma, [
|
|
656
|
-
(S(), D(u(
|
|
656
|
+
(S(), D(u(He), {
|
|
657
657
|
ref_key: "tableRef",
|
|
658
658
|
ref: h,
|
|
659
659
|
class: "custom-colum-table",
|
|
@@ -709,7 +709,7 @@ const ha = /* @__PURE__ */ le({
|
|
|
709
709
|
r[3] || (r[3] = B("span", { class: "text" }, "宽度", -1)),
|
|
710
710
|
B("span", Ca, X(i.width) + " px", 1),
|
|
711
711
|
i.readonly ? I("", !0) : (S(), F("div", ba, [
|
|
712
|
-
k(u(
|
|
712
|
+
k(u(Je), {
|
|
713
713
|
modelValue: i.width,
|
|
714
714
|
"onUpdate:modelValue": (P) => i.width = P,
|
|
715
715
|
class: "custom-width-input",
|
|
@@ -857,7 +857,7 @@ const ha = /* @__PURE__ */ le({
|
|
|
857
857
|
t.beforeReset && t.beforeReset(), m(), R(), ye("reset");
|
|
858
858
|
}, at = () => {
|
|
859
859
|
const n = document.querySelector(".el-table__body-wrapper tbody");
|
|
860
|
-
n &&
|
|
860
|
+
n && Ye.create(n, {
|
|
861
861
|
handle: ".move",
|
|
862
862
|
animation: 300,
|
|
863
863
|
onEnd({ newIndex: s, oldIndex: c }) {
|
|
@@ -1002,7 +1002,7 @@ const ha = /* @__PURE__ */ le({
|
|
|
1002
1002
|
_: 1
|
|
1003
1003
|
})
|
|
1004
1004
|
])) : I("", !0),
|
|
1005
|
-
we((S(), D(u(
|
|
1005
|
+
we((S(), D(u(He), G({
|
|
1006
1006
|
ref_key: "tableRef",
|
|
1007
1007
|
ref: C
|
|
1008
1008
|
}, n.$attrs, {
|
|
@@ -1070,7 +1070,7 @@ const ha = /* @__PURE__ */ le({
|
|
|
1070
1070
|
})) : I("", !0),
|
|
1071
1071
|
l.type == "input" ? (S(), F(Y, { key: 2 }, [
|
|
1072
1072
|
$.row.$showInput ? (S(), F("div", La, [
|
|
1073
|
-
we(k(u(
|
|
1073
|
+
we(k(u(Je), {
|
|
1074
1074
|
modelValue: ce.value,
|
|
1075
1075
|
"onUpdate:modelValue": s[0] || (s[0] = (q) => ce.value = q),
|
|
1076
1076
|
min: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
2
|
-
import { a5 as i } from "./vendor-
|
|
3
|
-
import { _ as f } from "./Button-
|
|
4
|
-
import { w as d } from "./utils-
|
|
1
|
+
import { defineComponent as a, createBlock as s, openBlock as l, unref as p, withCtx as r, renderSlot as c, createElementVNode as m } from "vue";
|
|
2
|
+
import { a5 as i } from "./vendor-Dz44HqMM.js";
|
|
3
|
+
import { _ as f } from "./Button-C39vlreJ.js";
|
|
4
|
+
import { w as d } from "./utils-D7-cBAU3.js";
|
|
5
5
|
const u = /* @__PURE__ */ a({
|
|
6
6
|
name: "zh-tool-tips",
|
|
7
7
|
__name: "ToolTips",
|
|
@@ -11,7 +11,7 @@ const u = /* @__PURE__ */ a({
|
|
|
11
11
|
},
|
|
12
12
|
setup(e) {
|
|
13
13
|
const t = e;
|
|
14
|
-
return (n, o) => (
|
|
14
|
+
return (n, o) => (l(), s(p(i), {
|
|
15
15
|
class: "box-item",
|
|
16
16
|
effect: "dark",
|
|
17
17
|
content: t.content,
|
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-D7-cBAU3.js";
|
|
2
|
+
import { a as r, b as a } from "./Button-C39vlreJ.js";
|
|
3
|
+
import { Z as m } from "./DatePicker-BPxk-cae.js";
|
|
4
|
+
import { Z as J } from "./DetailSubTitle-LdM7Vzn2.js";
|
|
5
|
+
import { Z as t } from "./Dialog-BVC9Lz_w.js";
|
|
6
|
+
import { Z as O } from "./EditInfoPair-DKVWV5Hg.js";
|
|
7
|
+
import { Z as R } from "./FileWrapper-B5pKpayw.js";
|
|
8
|
+
import { a as Z, Z as s, b as e } from "./Grid-0ApZ4lgz.js";
|
|
9
|
+
import { Z as i } from "./InfoPair-BIWQXLV1.js";
|
|
10
|
+
import { Z as p, a as f } from "./Input-D4Bh5SDE.js";
|
|
11
|
+
import { Z as h } from "./Loading-CjOeNl4l.js";
|
|
12
|
+
import { Z as n, a as l, b as d, c as u } from "./MessageBox-CUGnKhiO.js";
|
|
13
|
+
import { Z as I } from "./MoneyInput-C_4ls5Mc.js";
|
|
14
|
+
import { Z as V } from "./PageHeadPanel-CnbPae_Q.js";
|
|
15
|
+
import { Z as D } from "./ToolTips-BXk9Ppfb.js";
|
|
16
|
+
import { Z as x } from "./BaseInfo-DWd9fBe_.js";
|
|
17
|
+
import { Z as b } from "./DetailHeader-DayCYQYv.js";
|
|
18
|
+
import { Z as P } from "./DiyDataTable-B4LomMD5.js";
|
|
19
|
+
import { D as $ } from "./DiyDataTable-B4LomMD5.js";
|
|
20
|
+
import { Z as T } from "./Map-qSFTN8LW.js";
|
|
21
|
+
import { Z as c } from "./Table-CCFUdM1X.js";
|
|
22
|
+
import { Z as ro } from "./BaseItem-BIgkJypI.js";
|
|
23
|
+
import { Z as B } from "./CascaderLoadMore-3c8IyUIK.js";
|
|
24
24
|
const M = [
|
|
25
25
|
x,
|
|
26
26
|
r,
|