zhihao-ui 1.2.5 → 1.2.8
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-CboHDiqp.js → BaseInfo-Dv-eon6t.js} +1 -1
- package/dist/es/Button-DBbUF88w.js +51 -0
- package/dist/es/{DatePicker-AcRbvS-8.js → DatePicker-CWQoV03Q.js} +13 -13
- package/dist/es/{DetailHeader-CoaVXtN3.js → DetailHeader-C_mAB8-2.js} +3 -3
- package/dist/es/{DetailSubTitle-Csp4LjFx.js → DetailSubTitle-DD7Yllhf.js} +2 -2
- package/dist/es/Dialog-DyDSVm-6.js +109 -0
- package/dist/es/{DiyDataTable-DBonLs6p.js → DiyDataTable-cJVfvtax.js} +5 -4
- package/dist/es/{EditInfoPair-DBbRqppY.js → EditInfoPair-D0b5jY5Y.js} +3 -3
- package/dist/es/{FileWrapper-BwQhQopY.js → FileWrapper-CMSYWmEz.js} +4 -4
- package/dist/es/{Grid-B-FutGih.js → Grid-B5O9dZNI.js} +1 -1
- package/dist/es/{InfoPair-WmMCXoUh.js → InfoPair-Do3sSVw-.js} +3 -3
- package/dist/es/{Input-DFnH7_jo.js → Input-DVpd0Yte.js} +11 -11
- package/dist/es/{Loading-BW6Doqh_.js → Loading-DwtfOhMD.js} +2 -2
- package/dist/es/Map-CMiThYaG.js +1681 -0
- package/dist/es/MessageBox-BowhqMYW.js +48 -0
- package/dist/es/{MoneyInput-BwkFhS2B.js → MoneyInput-CaTrJLi1.js} +7 -7
- package/dist/es/{PageHeadPanel-BhR3Bq1A.js → PageHeadPanel-_mKu2rMQ.js} +2 -2
- package/dist/es/{ToolTips-BEYXkt4n.js → ToolTips-BTCP0N--.js} +3 -3
- package/dist/es/index.js +34 -30
- package/dist/es/{utils-B1dH8Kx6.js → utils-DZ8-2Fg2.js} +1 -1
- package/dist/es/{vendor-Cu-cEPs_.js → vendor-BY-fHNA3.js} +9646 -8896
- package/dist/index.css +1 -1
- package/dist/types/components/ButtonGroup/ButtonGroup.test.d.ts +1 -0
- package/dist/types/components/ButtonGroup/ButtonGroup.vue.d.ts +37 -0
- package/dist/types/components/ButtonGroup/index.d.ts +38 -0
- package/dist/types/components/Dialog/Dialog.test.d.ts +1 -0
- package/dist/types/components/Dialog/Dialog.vue.d.ts +187 -14
- package/dist/types/components/Dialog/index.d.ts +296 -25
- package/dist/types/components/Dialog/types.d.ts +15 -5
- package/dist/types/components/DiyDataTable/index.d.ts +1 -0
- package/dist/types/components/Map/Map.vue.d.ts +25 -3
- package/dist/types/components/Map/config.d.ts +2 -0
- package/dist/types/components/Map/enum/index.d.ts +1 -0
- package/dist/types/components/Map/enum/ship.d.ts +10 -0
- package/dist/types/components/Map/index.d.ts +69 -6
- package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +0 -111
- package/dist/types/components/Map/interface/entity/render.d.ts +32 -0
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +4 -0
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +5 -2
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +2 -2
- package/dist/types/components/Map/interface/entity/shipTrack.d.ts +0 -4
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +171 -0
- package/dist/types/components/Map/interface/index.d.ts +5 -3
- package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +20 -0
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +6 -3
- package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +3 -0
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +1 -1
- package/dist/types/components/Map/render/drawPolygon.d.ts +9 -0
- package/dist/types/components/Map/render/renderMarker.d.ts +6 -0
- package/dist/types/components/Map/render/renderShip.d.ts +6 -1
- package/dist/types/components/Map/render/renderTruck.d.ts +7 -2
- package/dist/types/components/Map/utils/format.d.ts +2 -0
- package/dist/types/components/Map/utils/store.d.ts +3 -0
- package/dist/types/components/MessageBox/MessageBox.test.d.ts +1 -0
- package/dist/types/components/MessageBox/MessageBox.vue.d.ts +11 -218
- package/dist/types/components/MessageBox/index.d.ts +4 -342
- package/dist/types/components/index.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +26 -16
- package/package.json +1 -1
- package/dist/es/Button-C1Q6WvkI.js +0 -32
- package/dist/es/Dialog-CtU-qGdR.js +0 -74
- package/dist/es/Map-BLQnapy4.js +0 -1183
- package/dist/es/MessageBox-CjuBt74R.js +0 -100
|
@@ -1,100 +0,0 @@
|
|
|
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
|
-
const D = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "tips"
|
|
9
|
-
}, T = /* @__PURE__ */ B({
|
|
10
|
-
name: "zh-message-box",
|
|
11
|
-
__name: "MessageBox",
|
|
12
|
-
props: /* @__PURE__ */ g({
|
|
13
|
-
title: {},
|
|
14
|
-
subtitle: {},
|
|
15
|
-
tip: {},
|
|
16
|
-
placeholder: {},
|
|
17
|
-
formItemProps: {},
|
|
18
|
-
formProps: {},
|
|
19
|
-
inputProps: {},
|
|
20
|
-
closeOnClickModal: { type: Boolean },
|
|
21
|
-
callBack: { type: Function },
|
|
22
|
-
onAction: { type: Function },
|
|
23
|
-
onVanish: { type: Function },
|
|
24
|
-
submitText: {},
|
|
25
|
-
render: { type: Function },
|
|
26
|
-
maxlength: {},
|
|
27
|
-
renderProps: {}
|
|
28
|
-
}, {
|
|
29
|
-
visible: { type: Boolean, default: !0 },
|
|
30
|
-
visibleModifiers: {}
|
|
31
|
-
}),
|
|
32
|
-
emits: /* @__PURE__ */ g(["action", "vanish"], ["update:visible"]),
|
|
33
|
-
setup(d, { emit: y }) {
|
|
34
|
-
const t = d, i = y, l = P(d, "visible"), f = m(), s = m({
|
|
35
|
-
textarea: ""
|
|
36
|
-
}), x = m({
|
|
37
|
-
textarea: [{ validator: (e, a, o) => {
|
|
38
|
-
a || o(t.placeholder), o();
|
|
39
|
-
}, trigger: ["blur", "change"] }]
|
|
40
|
-
}), b = async () => {
|
|
41
|
-
var e;
|
|
42
|
-
t.placeholder ? (e = f.value) == null || e.validate(async (a) => {
|
|
43
|
-
if (a)
|
|
44
|
-
try {
|
|
45
|
-
if (t.callBack) {
|
|
46
|
-
const o = await t.callBack(s.value.textarea);
|
|
47
|
-
console.log(o);
|
|
48
|
-
}
|
|
49
|
-
i("action", "submit"), l.value = !1;
|
|
50
|
-
} catch (o) {
|
|
51
|
-
console.log(o);
|
|
52
|
-
}
|
|
53
|
-
}) : (i("action", "submit"), l.value = !1);
|
|
54
|
-
}, k = () => {
|
|
55
|
-
i("action", "cancel"), l.value = !1;
|
|
56
|
-
};
|
|
57
|
-
return (e, a) => (n(), p(E, r({
|
|
58
|
-
modelValue: l.value,
|
|
59
|
-
"onUpdate:modelValue": a[1] || (a[1] = (o) => l.value = o),
|
|
60
|
-
width: "544"
|
|
61
|
-
}, t, {
|
|
62
|
-
onSubmit: b,
|
|
63
|
-
onClose: k
|
|
64
|
-
}), {
|
|
65
|
-
default: u(() => [
|
|
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(c(F), r({
|
|
68
|
-
key: 2,
|
|
69
|
-
ref_key: "formRef",
|
|
70
|
-
ref: f,
|
|
71
|
-
model: s.value,
|
|
72
|
-
rules: x.value
|
|
73
|
-
}, t.formProps), {
|
|
74
|
-
default: u(() => [
|
|
75
|
-
h(c(I), r({ prop: "textarea" }, t.formItemProps), {
|
|
76
|
-
default: u(() => [
|
|
77
|
-
h(c(z), r({
|
|
78
|
-
modelValue: s.value.textarea,
|
|
79
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) => s.value.textarea = o),
|
|
80
|
-
style: { width: "100%" },
|
|
81
|
-
rows: 4,
|
|
82
|
-
type: "textarea",
|
|
83
|
-
placeholder: e.placeholder,
|
|
84
|
-
maxlength: t.maxlength || 100,
|
|
85
|
-
"show-word-limit": ""
|
|
86
|
-
}, e.inputProps), null, 16, ["modelValue", "placeholder", "maxlength"])
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
}, 16)
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
}, 16, ["model", "rules"])) : v("", !0)
|
|
93
|
-
]),
|
|
94
|
-
_: 1
|
|
95
|
-
}, 16, ["modelValue"]));
|
|
96
|
-
}
|
|
97
|
-
}), N = /* @__PURE__ */ _(T, [["__scopeId", "data-v-1903b5ef"]]), q = A(N);
|
|
98
|
-
export {
|
|
99
|
-
q as Z
|
|
100
|
-
};
|