zhihao-ui 1.2.33 → 1.2.35

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 (36) hide show
  1. package/dist/es/{BaseItem-Dok2Aus9.js → BaseItem-DwoIxH38.js} +1 -1
  2. package/dist/es/{DatePicker-DJuI_Emt.js → DatePicker-BkfvEDok.js} +1 -1
  3. package/dist/es/{DetailHeader-DKjKORoT.js → DetailHeader-CmvLT5jU.js} +1 -1
  4. package/dist/es/{DetailSubTitle-zqhDyrw7.js → DetailSubTitle-BXjqx7Gl.js} +1 -1
  5. package/dist/es/{DiyDataTable-0J0XHWOg.js → DiyDataTable-02Fvx4gj.js} +1 -1
  6. package/dist/es/{EditInfoPair-BCrdjdwr.js → EditInfoPair-2lOiJK1x.js} +1 -1
  7. package/dist/es/{FileWrapper-DwI3Gpd7.js → FileWrapper-oSb83fz-.js} +1 -1
  8. package/dist/es/{Grid-BEBnaQkh.js → Grid-CHKAGBr9.js} +36 -37
  9. package/dist/es/{InfoPair-8ibzEbk8.js → InfoPair-CDbyplp2.js} +1 -1
  10. package/dist/es/{Map-zDBSTbli.js → Map-Cgw7AB3i.js} +289 -271
  11. package/dist/es/{MoneyInput-BUtchReq.js → MoneyInput-BGmF3L2m.js} +17 -17
  12. package/dist/es/{Table-Ce83Xr3L.js → Table-D8EshRWb.js} +3 -3
  13. package/dist/es/ToolTips-Beib4mGU.js +31 -0
  14. package/dist/es/index.js +60 -57
  15. package/dist/index.css +1 -1
  16. package/dist/types/components/Button/types.d.ts +1 -7
  17. package/dist/types/components/Grid/Grid.vue.d.ts +0 -3
  18. package/dist/types/components/Grid/index.d.ts +0 -15
  19. package/dist/types/components/Grid/types.d.ts +0 -1
  20. package/dist/types/components/Map/Map.vue.d.ts +2 -0
  21. package/dist/types/components/Map/components/copyright.vue.d.ts +30 -1
  22. package/dist/types/components/Map/index.d.ts +10 -0
  23. package/dist/types/components/Map/types.d.ts +4 -0
  24. package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +2 -6
  25. package/dist/types/components/MoneyInput/index.d.ts +3 -13
  26. package/dist/types/components/Table/types.d.ts +1 -0
  27. package/dist/types/components/ToolTips/ToolTips.vue.d.ts +28 -19
  28. package/dist/types/components/ToolTips/index.d.ts +21 -21
  29. package/dist/umd/index.css +1 -1
  30. package/dist/umd/index.umd.cjs +19 -19
  31. package/package.json +45 -45
  32. package/dist/es/ToolTips-D7B0F-bQ.js +0 -37
  33. package/dist/types/components/Map/components/fullscreen.vue.d.ts +0 -14
  34. package/dist/types/components/Table/Table.vue.d.ts +0 -986
  35. package/dist/types/components/Table/index.d.ts +0 -2948
  36. package/dist/types/components/utils/color.d.ts +0 -1
@@ -1,13 +1,13 @@
1
- import { defineComponent as i, useModel as d, 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 $, d as k } from "./DatePicker-DJuI_Emt.js";
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 $, d as k } from "./DatePicker-BkfvEDok.js";
3
3
  import { $ as P } from "./vendor-Bonn9k5m.js";
4
4
  import { I as T } from "./Input-CWfFyiHL.js";
5
- import { _ } from "./Button-BbUxF68h.js";
6
- import { w as z } from "./utils-hD_p7bGY.js";
7
- const C = /* @__PURE__ */ i({
5
+ import { _ as z } from "./Button-BbUxF68h.js";
6
+ import { w as C } from "./utils-hD_p7bGY.js";
7
+ const S = /* @__PURE__ */ p({
8
8
  name: "zh-money-input",
9
9
  __name: "MoneyInput",
10
- props: /* @__PURE__ */ m({
10
+ props: /* @__PURE__ */ g({
11
11
  style: {},
12
12
  class: {},
13
13
  showTooltip: { type: Boolean, default: !0 }
@@ -15,31 +15,31 @@ const C = /* @__PURE__ */ i({
15
15
  modelValue: {},
16
16
  modelModifiers: {}
17
17
  }),
18
- emits: /* @__PURE__ */ m(["update:modelValue"], ["update:modelValue"]),
19
- setup(s, { emit: U }) {
20
- const a = s, e = d(s, "modelValue"), u = f(() => {
18
+ emits: ["update:modelValue"],
19
+ setup(s) {
20
+ const a = s, e = d(s, "modelValue"), u = i(() => {
21
21
  if (e.value)
22
22
  return $(e.value) && Number(e.value) >= 1e3 ? k(Number(e.value)) : "";
23
- }), r = v(!1);
24
- return (t, o) => (c(), y(V(P), {
23
+ }), r = f(!1);
24
+ return (t, o) => (v(), c(y(P), {
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
- b(T, I(t.$attrs, {
31
+ V(T, b(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
- }), M({ _: 2 }, [
39
- w(Object.keys(t.$slots), (l) => ({
38
+ }), I({ _: 2 }, [
39
+ M(Object.keys(t.$slots), (l) => ({
40
40
  name: l,
41
- fn: n((p) => [
42
- B(t.$slots, l, N(g(p)), void 0, !0)
41
+ fn: n((m) => [
42
+ w(t.$slots, l, B(N(m)), void 0, !0)
43
43
  ])
44
44
  }))
45
45
  ]), 1040, ["modelValue", "style", "class"])
@@ -47,7 +47,7 @@ const C = /* @__PURE__ */ i({
47
47
  _: 3
48
48
  }, 8, ["content", "visible"]));
49
49
  }
50
- }), S = /* @__PURE__ */ _(C, [["__scopeId", "data-v-632c1920"]]), L = z(S);
50
+ }), U = /* @__PURE__ */ z(S, [["__scopeId", "data-v-cfd94d9e"]]), L = C(U);
51
51
  export {
52
52
  L as Z
53
53
  };
@@ -1,6 +1,6 @@
1
1
  import { reactive as X, computed as F, toRefs as Ae, ref as M, defineComponent as ne, useCssVars as dt, inject as Ke, openBlock as w, createElementBlock as L, createBlock as R, resolveDynamicComponent as de, mergeProps as J, withKeys as pt, unref as p, createSlots as pe, withCtx as C, Fragment as H, renderList as he, renderSlot as A, createElementVNode as B, toDisplayString as Q, createVNode as S, withModifiers as ht, normalizeClass as Ue, createCommentVNode as I, createTextVNode as Z, useSlots as xe, isVNode as ft, normalizeProps as je, guardReactiveProps as Ne, nextTick as fe, onMounted as mt, onActivated as gt, onDeactivated as vt, onUnmounted as bt, watch as yt, provide as Ct, resolveDirective as St, withDirectives as Ce, vShow as wt, toHandlers as _t } from "vue";
2
2
  import { a0 as We, a1 as kt, a2 as Pt, a3 as qe, a4 as Tt, j as $t, a5 as Et, m as Bt, a6 as zt, $ as me, b as ke, a as ge, a7 as It, a8 as Mt, l as oe, a9 as Lt, aa as Dt, ab as Rt, ac as He, ad as Ze, i as q, k as Ge, ae as De, af as Ft, ag as Je, ah as Ot, ai as Vt, aj as At, ak as Kt, E as Se, al as Ut, g as xt, am as jt, an as Re, ao as Fe } from "./vendor-Bonn9k5m.js";
3
- import { D as ee, C as Nt } from "./BaseItem-Dok2Aus9.js";
3
+ import { D as ee, C as Nt } from "./BaseItem-DwoIxH38.js";
4
4
  import { _ as le, Z as we } from "./Button-BbUxF68h.js";
5
5
  import { _ as Wt } from "./Dialog-CiO2p3lS.js";
6
6
  import { w as qt } from "./utils-hD_p7bGY.js";
@@ -163,7 +163,7 @@ const ae = (m, c) => {
163
163
  emits: ["search"],
164
164
  setup(m, { emit: c }) {
165
165
  dt((e) => ({
166
- "054b42e2": V.value
166
+ "011911cb": V.value
167
167
  }));
168
168
  const a = m, f = c, g = F(() => a.searchParam), y = F(() => {
169
169
  var e, i, s;
@@ -284,7 +284,7 @@ const ae = (m, c) => {
284
284
  ]);
285
285
  };
286
286
  }
287
- }), aa = /* @__PURE__ */ le(ta, [["__scopeId", "data-v-e6e10dd4"]]), na = { class: "table-search" }, oa = { key: 0 }, la = {
287
+ }), aa = /* @__PURE__ */ le(ta, [["__scopeId", "data-v-b68822f7"]]), na = { class: "table-search" }, oa = { key: 0 }, la = {
288
288
  key: 0,
289
289
  class: "operation"
290
290
  }, ra = /* @__PURE__ */ ne({
@@ -0,0 +1,31 @@
1
+ import { defineComponent as s, openBlock as a, createBlock as l, unref as p, withCtx as r, renderSlot as c, createElementVNode as m } from "vue";
2
+ import { $ as i } from "./vendor-Bonn9k5m.js";
3
+ import { _ as f } from "./Button-BbUxF68h.js";
4
+ import { w as d } from "./utils-hD_p7bGY.js";
5
+ const u = /* @__PURE__ */ s({
6
+ name: "zh-tool-tips",
7
+ __name: "ToolTips",
8
+ props: {
9
+ placement: { default: "top" },
10
+ content: {}
11
+ },
12
+ setup(e) {
13
+ const t = e;
14
+ return (n, o) => (a(), l(p(i), {
15
+ class: "box-item",
16
+ effect: "dark",
17
+ content: t.content,
18
+ placement: t.placement
19
+ }, {
20
+ default: r(() => [
21
+ c(n.$slots, "default", {}, () => [
22
+ o[0] || (o[0] = m("i", { class: "iconfont icon-Frame2" }, null, -1))
23
+ ], !0)
24
+ ]),
25
+ _: 3
26
+ }, 8, ["content", "placement"]));
27
+ }
28
+ }), _ = /* @__PURE__ */ f(u, [["__scopeId", "data-v-e5a0ae09"]]), w = d(_);
29
+ export {
30
+ w as Z
31
+ };
package/dist/es/index.js CHANGED
@@ -1,92 +1,95 @@
1
1
  import { m as a } from "./utils-hD_p7bGY.js";
2
2
  import { a as o, b as r } from "./Button-BbUxF68h.js";
3
- import { Z as m } from "./DatePicker-DJuI_Emt.js";
4
- import { Z as t } from "./DetailSubTitle-zqhDyrw7.js";
5
- import { Z as s } from "./Dialog-CiO2p3lS.js";
6
- import { Z } from "./EditInfoPair-BCrdjdwr.js";
7
- import { Z as i } from "./FileWrapper-DwI3Gpd7.js";
8
- import { a as e, Z as p, b as f } from "./Grid-BEBnaQkh.js";
9
- import { Z as h } from "./InfoPair-8ibzEbk8.js";
3
+ import { Z as m } from "./DatePicker-BkfvEDok.js";
4
+ import { Z as s } from "./DetailSubTitle-BXjqx7Gl.js";
5
+ import { Z as t } from "./Dialog-CiO2p3lS.js";
6
+ import { Z } from "./EditInfoPair-2lOiJK1x.js";
7
+ import { Z as e } from "./FileWrapper-oSb83fz-.js";
8
+ import { a as i, Z as p, b as f } from "./Grid-CHKAGBr9.js";
9
+ import { Z as h } from "./InfoPair-CDbyplp2.js";
10
10
  import { Z as n, a as l } from "./Input-CWfFyiHL.js";
11
11
  import { Z as D } from "./Loading-nlPpGN-L.js";
12
- import { Z as u, a as d, b as I, c as T } from "./MessageBox-DJR9qhIT.js";
13
- import { Z as b } from "./MoneyInput-BUtchReq.js";
14
- import { Z as A } from "./PageHeadPanel-Bw6wb6jF.js";
15
- import { Z as L } from "./ToolTips-D7B0F-bQ.js";
16
- import { Z as P } from "./BaseInfo-C4sgm12k.js";
17
- import { Z as c } from "./DetailHeader-DKjKORoT.js";
18
- import { Z as M } from "./DiyDataTable-0J0XHWOg.js";
19
- import { D as Q } from "./DiyDataTable-0J0XHWOg.js";
20
- import { Z as _ } from "./Map-zDBSTbli.js";
21
- import { C as $, D as aa, L as oa, b as ra, a as ma, m as ta, p as sa, r as Za, t as ia, z as ea } from "./Map-zDBSTbli.js";
22
- import { Z as g } from "./Table-Ce83Xr3L.js";
23
- import { Z as fa } from "./BaseItem-Dok2Aus9.js";
24
- const x = [
25
- P,
12
+ import { Z as T, a as u, b as I, c as d } from "./MessageBox-DJR9qhIT.js";
13
+ import { Z as P } from "./MoneyInput-BGmF3L2m.js";
14
+ import { Z as b } from "./PageHeadPanel-Bw6wb6jF.js";
15
+ import { Z as _ } from "./ToolTips-Beib4mGU.js";
16
+ import { Z as A } from "./BaseInfo-C4sgm12k.js";
17
+ import { Z as E } from "./DetailHeader-CmvLT5jU.js";
18
+ import { Z as c } from "./DiyDataTable-02Fvx4gj.js";
19
+ import { D as Q } from "./DiyDataTable-02Fvx4gj.js";
20
+ import { Z as B } from "./Map-Cgw7AB3i.js";
21
+ import { B as $, C as aa, c as oa, D as ra, L as ma, S as sa, b as ta, a as Za, m as ea, p as ia, r as pa, t as fa, z as ha } from "./Map-Cgw7AB3i.js";
22
+ import { Z as L } from "./Table-D8EshRWb.js";
23
+ import { Z as la } from "./BaseItem-DwoIxH38.js";
24
+ const M = [
25
+ A,
26
26
  o,
27
27
  m,
28
- c,
29
- t,
28
+ E,
30
29
  s,
31
- M,
30
+ t,
31
+ c,
32
32
  Z,
33
- i,
34
33
  e,
34
+ i,
35
35
  p,
36
36
  f,
37
37
  h,
38
38
  n,
39
39
  l,
40
40
  D,
41
+ T,
41
42
  u,
42
- d,
43
43
  I,
44
- T,
44
+ d,
45
+ P,
45
46
  b,
46
- A,
47
- L,
48
47
  _,
48
+ B,
49
49
  r,
50
- g
51
- ], v = a(x);
50
+ L
51
+ ], v = a(M);
52
52
  export {
53
- $ as CDN_URL,
54
- aa as DEFAULT_VALUE,
53
+ $ as BaseMapType,
54
+ aa as CDN_URL,
55
+ oa as COPY_RIGHT_TYPE,
56
+ ra as DEFAULT_VALUE,
55
57
  Q as DIY_DATA_TYPE,
56
- oa as LOG_DATE_FORMAT,
58
+ ma as LOG_DATE_FORMAT,
59
+ sa as SEARCH_TYPE,
57
60
  I as ZhAlert,
58
- P as ZhBaseInfo,
59
- fa as ZhBaseItem,
61
+ A as ZhBaseInfo,
62
+ la as ZhBaseItem,
60
63
  o as ZhButton,
61
64
  r as ZhButtonGroup,
62
- d as ZhConfirm,
65
+ u as ZhConfirm,
63
66
  m as ZhDatePicker,
64
- c as ZhDetailHeader,
65
- t as ZhDetailSubTitle,
66
- s as ZhDialog,
67
- M as ZhDiyDataTable,
67
+ E as ZhDetailHeader,
68
+ s as ZhDetailSubTitle,
69
+ t as ZhDialog,
70
+ c as ZhDiyDataTable,
68
71
  Z as ZhEditInfoPair,
69
- i as ZhFileWrapper,
70
- e as ZhGrid,
72
+ e as ZhFileWrapper,
73
+ i as ZhGrid,
71
74
  p as ZhGridItem,
72
75
  h as ZhInfoPair,
73
76
  n as ZhInput,
74
77
  l as ZhInputNumber,
75
78
  D as ZhLoading,
76
- _ as ZhMap,
77
- u as ZhMessageBox,
78
- b as ZhMoneyInput,
79
+ B as ZhMap,
80
+ T as ZhMessageBox,
81
+ P as ZhMoneyInput,
79
82
  f as ZhMultiGrid,
80
- A as ZhPageHeadPanel,
81
- T as ZhPrompt,
82
- g as ZhTable,
83
- L as ZhToolTips,
84
- ra as baseMap,
83
+ b as ZhPageHeadPanel,
84
+ d as ZhPrompt,
85
+ L as ZhTable,
86
+ _ as ZhToolTips,
87
+ ta as baseMap,
85
88
  v as default,
86
- ma as mapDefaultCenter,
87
- ta as mapZoom,
88
- sa as projection,
89
- Za as renderShipsLimit,
90
- ia as tiandituKey,
91
- ea as zhongkeKey
89
+ Za as mapDefaultCenter,
90
+ ea as mapZoom,
91
+ ia as projection,
92
+ pa as renderShipsLimit,
93
+ fa as tiandituKey,
94
+ ha as zhongkeKey
92
95
  };