zhihao-ui 1.2.3 → 1.2.5
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-DqxHM6sE.js → BaseInfo-CboHDiqp.js} +1 -1
- package/dist/es/Button-C1Q6WvkI.js +32 -0
- package/dist/es/{DatePicker-CSviipkU.js → DatePicker-AcRbvS-8.js} +14 -14
- package/dist/es/{DetailHeader-KRh1lffS.js → DetailHeader-CoaVXtN3.js} +3 -3
- package/dist/es/{DetailSubTitle-DCS8YLpA.js → DetailSubTitle-Csp4LjFx.js} +2 -2
- package/dist/es/{Dialog-DrsOxk4u.js → Dialog-CtU-qGdR.js} +3 -3
- package/dist/es/DiyDataTable-DBonLs6p.js +276 -0
- package/dist/es/{EditInfoPair-UqygyG7w.js → EditInfoPair-DBbRqppY.js} +3 -3
- package/dist/es/{FileWrapper-C8FmshRX.js → FileWrapper-BwQhQopY.js} +4 -4
- package/dist/es/{Grid-Ds-Jy0Mn.js → Grid-B-FutGih.js} +1 -1
- package/dist/es/{InfoPair-BXow_dHM.js → InfoPair-WmMCXoUh.js} +3 -3
- package/dist/es/{Input-C1s8JqmI.js → Input-DFnH7_jo.js} +11 -11
- package/dist/es/{Loading-DELLXz7f.js → Loading-BW6Doqh_.js} +2 -2
- package/dist/es/Map-BLQnapy4.js +1183 -0
- package/dist/es/{MessageBox-B5ibisN4.js → MessageBox-CjuBt74R.js} +13 -13
- package/dist/es/{MoneyInput-Chv0AAVp.js → MoneyInput-BwkFhS2B.js} +10 -10
- package/dist/es/{PageHeadPanel-CdohXWA9.js → PageHeadPanel-BhR3Bq1A.js} +2 -2
- package/dist/es/{ToolTips-CxyQMewg.js → ToolTips-BEYXkt4n.js} +5 -5
- package/dist/es/index.js +29 -23
- package/dist/es/{utils-DBdiSe6_.js → utils-B1dH8Kx6.js} +1 -1
- package/dist/es/vendor-Cu-cEPs_.js +46630 -0
- package/dist/index.css +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +8 -13
- package/dist/types/components/Button/index.d.ts +15 -24
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +70 -0
- package/dist/types/components/DiyDataTable/index.d.ts +151 -0
- package/dist/types/components/DiyDataTable/type.d.ts +46 -0
- package/dist/types/components/Map/Map.vue.d.ts +36 -0
- package/dist/types/components/Map/components/copyright.vue.d.ts +2 -0
- package/dist/types/components/Map/components/fullscreen.vue.d.ts +14 -0
- package/dist/types/components/Map/components/measure.vue.d.ts +15 -0
- package/dist/types/components/Map/components/scaleLine.vue.d.ts +4 -0
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +21 -0
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +10 -0
- package/dist/types/components/Map/config.d.ts +26 -0
- package/dist/types/components/Map/enum/car.d.ts +5 -0
- package/dist/types/components/Map/enum/device.d.ts +8 -0
- package/dist/types/components/Map/enum/index.d.ts +4 -0
- package/dist/types/components/Map/enum/openLayers.d.ts +10 -0
- package/dist/types/components/Map/index.d.ts +91 -0
- package/dist/types/components/Map/interface/common/BaseEntity.d.ts +29 -0
- package/dist/types/components/Map/interface/common/page.d.ts +34 -0
- package/dist/types/components/Map/interface/entity/dashboard.d.ts +16 -0
- package/dist/types/components/Map/interface/entity/map.d.ts +36 -0
- package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +197 -0
- package/dist/types/components/Map/interface/entity/ship.d.ts +361 -0
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +186 -0
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +22 -0
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +8 -0
- package/dist/types/components/Map/interface/entity/shipTrack.d.ts +60 -0
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +174 -0
- package/dist/types/components/Map/interface/index.d.ts +11 -0
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +6 -0
- package/dist/types/components/Map/render/canvasRender/geometry.d.ts +19 -0
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +3 -0
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +5 -0
- package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +3 -0
- package/dist/types/components/Map/render/renderDashboard.d.ts +10 -0
- package/dist/types/components/Map/render/renderShip.d.ts +10 -0
- package/dist/types/components/Map/render/renderTrack.d.ts +13 -0
- package/dist/types/components/Map/render/renderTruck.d.ts +4 -0
- package/dist/types/components/Map/types.d.ts +9 -0
- package/dist/types/components/Map/utils/common.d.ts +24 -0
- package/dist/types/components/Map/utils/format.d.ts +16 -0
- package/dist/types/components/Map/utils/store.d.ts +18 -0
- package/dist/types/components/Map/utils/transform.d.ts +33 -0
- package/dist/types/components/MessageBox/MessageBox.vue.d.ts +12 -12
- package/dist/types/components/MessageBox/index.d.ts +18 -18
- package/dist/types/components/index.d.ts +2 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +638 -22
- package/package.json +1 -1
- package/dist/es/Button-Q7GkKwFF.js +0 -22
- package/dist/es/vendor-mKFy0Hb6.js +0 -12409
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { e as F,
|
|
3
|
-
import { z as E } from "./Dialog-
|
|
4
|
-
import { _ } from "./Button-
|
|
5
|
-
import { w as A } from "./utils-
|
|
1
|
+
import { defineComponent as B, useModel as P, ref as m, openBlock as n, createBlock as p, mergeProps as r, withCtx as u, createElementBlock as w, toDisplayString as V, createCommentVNode as v, resolveDynamicComponent as M, normalizeProps as C, unref as c, createVNode as h, mergeModels as g } from "vue";
|
|
2
|
+
import { e as F, i as I, k as z } from "./vendor-Cu-cEPs_.js";
|
|
3
|
+
import { z as E } from "./Dialog-CtU-qGdR.js";
|
|
4
|
+
import { _ } from "./Button-C1Q6WvkI.js";
|
|
5
|
+
import { w as A } from "./utils-B1dH8Kx6.js";
|
|
6
6
|
const D = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "tips"
|
|
9
|
-
}, T = /* @__PURE__ */
|
|
9
|
+
}, T = /* @__PURE__ */ B({
|
|
10
10
|
name: "zh-message-box",
|
|
11
11
|
__name: "MessageBox",
|
|
12
12
|
props: /* @__PURE__ */ g({
|
|
@@ -30,8 +30,8 @@ const D = {
|
|
|
30
30
|
visibleModifiers: {}
|
|
31
31
|
}),
|
|
32
32
|
emits: /* @__PURE__ */ g(["action", "vanish"], ["update:visible"]),
|
|
33
|
-
setup(
|
|
34
|
-
const t =
|
|
33
|
+
setup(d, { emit: y }) {
|
|
34
|
+
const t = d, i = y, l = P(d, "visible"), f = m(), s = m({
|
|
35
35
|
textarea: ""
|
|
36
36
|
}), x = m({
|
|
37
37
|
textarea: [{ validator: (e, a, o) => {
|
|
@@ -51,7 +51,7 @@ const D = {
|
|
|
51
51
|
console.log(o);
|
|
52
52
|
}
|
|
53
53
|
}) : (i("action", "submit"), l.value = !1);
|
|
54
|
-
},
|
|
54
|
+
}, k = () => {
|
|
55
55
|
i("action", "cancel"), l.value = !1;
|
|
56
56
|
};
|
|
57
57
|
return (e, a) => (n(), p(E, r({
|
|
@@ -60,11 +60,11 @@ const D = {
|
|
|
60
60
|
width: "544"
|
|
61
61
|
}, t, {
|
|
62
62
|
onSubmit: b,
|
|
63
|
-
onClose:
|
|
63
|
+
onClose: k
|
|
64
64
|
}), {
|
|
65
65
|
default: u(() => [
|
|
66
66
|
e.tip ? (n(), w("div", D, V(e.tip), 1)) : v("", !0),
|
|
67
|
-
e.render ? (n(), p(M(e.render), C(r({ key: 1 }, t.renderProps)), null, 16)) : e.placeholder ? (n(), p(
|
|
67
|
+
e.render ? (n(), p(M(e.render), C(r({ key: 1 }, t.renderProps)), null, 16)) : e.placeholder ? (n(), p(c(F), r({
|
|
68
68
|
key: 2,
|
|
69
69
|
ref_key: "formRef",
|
|
70
70
|
ref: f,
|
|
@@ -72,9 +72,9 @@ const D = {
|
|
|
72
72
|
rules: x.value
|
|
73
73
|
}, t.formProps), {
|
|
74
74
|
default: u(() => [
|
|
75
|
-
h(
|
|
75
|
+
h(c(I), r({ prop: "textarea" }, t.formItemProps), {
|
|
76
76
|
default: u(() => [
|
|
77
|
-
h(
|
|
77
|
+
h(c(z), r({
|
|
78
78
|
modelValue: s.value.textarea,
|
|
79
79
|
"onUpdate:modelValue": a[0] || (a[0] = (o) => s.value.textarea = o),
|
|
80
80
|
style: { width: "100%" },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as d, useModel as i, computed as f, ref as v, openBlock as c, createBlock as y, unref as V, withCtx as n, createVNode as b, mergeProps as I, createSlots as M, renderList as
|
|
2
|
-
import { v as k, d as P } from "./DatePicker-
|
|
3
|
-
import {
|
|
4
|
-
import { I as _ } from "./Input-
|
|
5
|
-
import { _ as $ } from "./Button-
|
|
6
|
-
import { w as z } from "./utils-
|
|
1
|
+
import { defineComponent as d, useModel as i, computed as f, ref as v, openBlock as c, createBlock 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, mergeModels as m } from "vue";
|
|
2
|
+
import { v as k, d as P } from "./DatePicker-AcRbvS-8.js";
|
|
3
|
+
import { x as T } from "./vendor-Cu-cEPs_.js";
|
|
4
|
+
import { I as _ } from "./Input-DFnH7_jo.js";
|
|
5
|
+
import { _ as $ } from "./Button-C1Q6WvkI.js";
|
|
6
|
+
import { w as z } from "./utils-B1dH8Kx6.js";
|
|
7
7
|
const C = /* @__PURE__ */ d({
|
|
8
8
|
name: "zh-money-input",
|
|
9
9
|
__name: "MoneyInput",
|
|
@@ -36,10 +36,10 @@ const C = /* @__PURE__ */ d({
|
|
|
36
36
|
onFocus: o[1] || (o[1] = () => r.value = !0),
|
|
37
37
|
onBlur: o[2] || (o[2] = () => r.value = !1)
|
|
38
38
|
}), M({ _: 2 }, [
|
|
39
|
-
|
|
39
|
+
w(Object.keys(t.$slots), (l) => ({
|
|
40
40
|
name: l,
|
|
41
41
|
fn: n((p) => [
|
|
42
|
-
|
|
42
|
+
B(t.$slots, l, N(g(p)), void 0, !0)
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
45
45
|
]), 1040, ["modelValue", "style", "class"])
|
|
@@ -47,7 +47,7 @@ const C = /* @__PURE__ */ d({
|
|
|
47
47
|
_: 3
|
|
48
48
|
}, 8, ["content", "visible"]));
|
|
49
49
|
}
|
|
50
|
-
}), S = /* @__PURE__ */ $(C, [["__scopeId", "data-v-d97e0edf"]]),
|
|
50
|
+
}), S = /* @__PURE__ */ $(C, [["__scopeId", "data-v-d97e0edf"]]), F = z(S);
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
F as Z
|
|
53
53
|
};
|
|
@@ -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-C1Q6WvkI.js";
|
|
3
|
+
import { w as v } from "./utils-B1dH8Kx6.js";
|
|
4
4
|
const P = { class: "page-head" }, x = { class: "left-wrap" }, b = { class: "page-name" }, S = { 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,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as r, createBlock as l, unref as s, withCtx as a, renderSlot as c, createElementVNode as i } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as f } from "./Button-
|
|
4
|
-
import { w as d } from "./utils-
|
|
2
|
+
import { x as m } from "./vendor-Cu-cEPs_.js";
|
|
3
|
+
import { _ as f } from "./Button-C1Q6WvkI.js";
|
|
4
|
+
import { w as d } from "./utils-B1dH8Kx6.js";
|
|
5
5
|
const u = /* @__PURE__ */ p({
|
|
6
6
|
name: "zh-tool-tips",
|
|
7
7
|
__name: "ToolTips",
|
|
@@ -31,7 +31,7 @@ const u = /* @__PURE__ */ p({
|
|
|
31
31
|
_: 3
|
|
32
32
|
}, 8, ["content", "placement"]));
|
|
33
33
|
}
|
|
34
|
-
}), _ = /* @__PURE__ */ f(u, [["__scopeId", "data-v-93c79d22"]]),
|
|
34
|
+
}), _ = /* @__PURE__ */ f(u, [["__scopeId", "data-v-93c79d22"]]), w = d(_);
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
w as Z
|
|
37
37
|
};
|
package/dist/es/index.js
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
import { m as o } from "./utils-
|
|
2
|
-
import { Z as r } from "./Button-
|
|
3
|
-
import { Z as a } from "./DatePicker-
|
|
4
|
-
import { Z as m } from "./DetailSubTitle-
|
|
5
|
-
import { Z as t } from "./Dialog-
|
|
6
|
-
import { Z } from "./EditInfoPair-
|
|
7
|
-
import { Z as i } from "./FileWrapper-
|
|
8
|
-
import { Z as s } from "./Grid-
|
|
9
|
-
import { Z as p } from "./InfoPair-
|
|
10
|
-
import { Z as e, a as f } from "./Input-
|
|
11
|
-
import { Z as h } from "./Loading-
|
|
12
|
-
import { Z as n } from "./MessageBox-
|
|
13
|
-
import { Z as l } from "./MoneyInput-
|
|
14
|
-
import { Z as u } from "./PageHeadPanel-
|
|
15
|
-
import { Z as I } from "./ToolTips-
|
|
16
|
-
import { Z as d } from "./BaseInfo-
|
|
17
|
-
import { Z as
|
|
18
|
-
|
|
1
|
+
import { m as o } from "./utils-B1dH8Kx6.js";
|
|
2
|
+
import { Z as r } from "./Button-C1Q6WvkI.js";
|
|
3
|
+
import { Z as a } from "./DatePicker-AcRbvS-8.js";
|
|
4
|
+
import { Z as m } from "./DetailSubTitle-Csp4LjFx.js";
|
|
5
|
+
import { Z as t } from "./Dialog-CtU-qGdR.js";
|
|
6
|
+
import { Z } from "./EditInfoPair-DBbRqppY.js";
|
|
7
|
+
import { Z as i } from "./FileWrapper-BwQhQopY.js";
|
|
8
|
+
import { Z as s } from "./Grid-B-FutGih.js";
|
|
9
|
+
import { Z as p } from "./InfoPair-WmMCXoUh.js";
|
|
10
|
+
import { Z as e, a as f } from "./Input-DFnH7_jo.js";
|
|
11
|
+
import { Z as h } from "./Loading-BW6Doqh_.js";
|
|
12
|
+
import { Z as n } from "./MessageBox-CjuBt74R.js";
|
|
13
|
+
import { Z as l } from "./MoneyInput-BwkFhS2B.js";
|
|
14
|
+
import { Z as u } from "./PageHeadPanel-BhR3Bq1A.js";
|
|
15
|
+
import { Z as I } from "./ToolTips-BEYXkt4n.js";
|
|
16
|
+
import { Z as d } from "./BaseInfo-CboHDiqp.js";
|
|
17
|
+
import { Z as D } from "./DetailHeader-CoaVXtN3.js";
|
|
18
|
+
import { Z as P } from "./DiyDataTable-DBonLs6p.js";
|
|
19
|
+
import { Z as c } from "./Map-BLQnapy4.js";
|
|
20
|
+
const g = [
|
|
19
21
|
d,
|
|
20
22
|
r,
|
|
21
23
|
a,
|
|
22
|
-
|
|
24
|
+
D,
|
|
23
25
|
m,
|
|
24
26
|
t,
|
|
27
|
+
P,
|
|
25
28
|
Z,
|
|
26
29
|
i,
|
|
27
30
|
s,
|
|
@@ -32,15 +35,17 @@ const c = [
|
|
|
32
35
|
n,
|
|
33
36
|
l,
|
|
34
37
|
u,
|
|
35
|
-
I
|
|
36
|
-
|
|
38
|
+
I,
|
|
39
|
+
c
|
|
40
|
+
], z = o(g);
|
|
37
41
|
export {
|
|
38
42
|
d as ZhBaseInfo,
|
|
39
43
|
r as ZhButton,
|
|
40
44
|
a as ZhDatePicker,
|
|
41
|
-
|
|
45
|
+
D as ZhDetailHeader,
|
|
42
46
|
m as ZhDetailSubTitle,
|
|
43
47
|
t as ZhDialog,
|
|
48
|
+
P as ZhDiyDataTable,
|
|
44
49
|
Z as ZhEditInfoPair,
|
|
45
50
|
i as ZhFileWrapper,
|
|
46
51
|
s as ZhGrid,
|
|
@@ -48,9 +53,10 @@ export {
|
|
|
48
53
|
e as ZhInput,
|
|
49
54
|
f as ZhInputNumber,
|
|
50
55
|
h as ZhLoading,
|
|
56
|
+
c as ZhMap,
|
|
51
57
|
n as ZhMessageBox,
|
|
52
58
|
l as ZhMoneyInput,
|
|
53
59
|
u as ZhPageHeadPanel,
|
|
54
60
|
I as ZhToolTips,
|
|
55
|
-
|
|
61
|
+
z as default
|
|
56
62
|
};
|