zhihao-ui 1.2.7 → 1.2.9

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 (47) hide show
  1. package/dist/es/{BaseInfo-CboHDiqp.js → BaseInfo-Dv-eon6t.js} +1 -1
  2. package/dist/es/Button-DBbUF88w.js +51 -0
  3. package/dist/es/{DatePicker-AcRbvS-8.js → DatePicker-CWQoV03Q.js} +13 -13
  4. package/dist/es/{DetailHeader-CoaVXtN3.js → DetailHeader-C_mAB8-2.js} +3 -3
  5. package/dist/es/{DetailSubTitle-Csp4LjFx.js → DetailSubTitle-DD7Yllhf.js} +2 -2
  6. package/dist/es/Dialog-DyDSVm-6.js +109 -0
  7. package/dist/es/{DiyDataTable-CP7yYQaU.js → DiyDataTable-KOY6vjPs.js} +90 -85
  8. package/dist/es/{EditInfoPair-DBbRqppY.js → EditInfoPair-D0b5jY5Y.js} +3 -3
  9. package/dist/es/{FileWrapper-BwQhQopY.js → FileWrapper-CMSYWmEz.js} +4 -4
  10. package/dist/es/{Grid-B-FutGih.js → Grid-B5O9dZNI.js} +1 -1
  11. package/dist/es/{InfoPair-WmMCXoUh.js → InfoPair-Do3sSVw-.js} +3 -3
  12. package/dist/es/{Input-DFnH7_jo.js → Input-DVpd0Yte.js} +11 -11
  13. package/dist/es/{Loading-BW6Doqh_.js → Loading-DwtfOhMD.js} +2 -2
  14. package/dist/es/{Map-IjNHD4K5.js → Map-CMiThYaG.js} +641 -315
  15. package/dist/es/MessageBox-BowhqMYW.js +48 -0
  16. package/dist/es/{MoneyInput-BwkFhS2B.js → MoneyInput-CaTrJLi1.js} +7 -7
  17. package/dist/es/{PageHeadPanel-BhR3Bq1A.js → PageHeadPanel-_mKu2rMQ.js} +2 -2
  18. package/dist/es/{ToolTips-BEYXkt4n.js → ToolTips-BTCP0N--.js} +3 -3
  19. package/dist/es/index.js +30 -28
  20. package/dist/es/{utils-B1dH8Kx6.js → utils-DZ8-2Fg2.js} +1 -1
  21. package/dist/es/{vendor-Cu-cEPs_.js → vendor-BY-fHNA3.js} +9646 -8896
  22. package/dist/index.css +1 -1
  23. package/dist/types/components/ButtonGroup/ButtonGroup.test.d.ts +1 -0
  24. package/dist/types/components/ButtonGroup/ButtonGroup.vue.d.ts +37 -0
  25. package/dist/types/components/ButtonGroup/index.d.ts +38 -0
  26. package/dist/types/components/Dialog/Dialog.test.d.ts +1 -0
  27. package/dist/types/components/Dialog/Dialog.vue.d.ts +187 -14
  28. package/dist/types/components/Dialog/index.d.ts +296 -25
  29. package/dist/types/components/Dialog/types.d.ts +15 -5
  30. package/dist/types/components/DiyDataTable/type.d.ts +5 -3
  31. package/dist/types/components/Map/Map.vue.d.ts +15 -5
  32. package/dist/types/components/Map/index.d.ts +27 -0
  33. package/dist/types/components/Map/interface/entity/render.d.ts +32 -0
  34. package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +4 -0
  35. package/dist/types/components/Map/interface/index.d.ts +1 -0
  36. package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +5 -3
  37. package/dist/types/components/Map/render/drawPolygon.d.ts +9 -0
  38. package/dist/types/components/MessageBox/MessageBox.test.d.ts +1 -0
  39. package/dist/types/components/MessageBox/MessageBox.vue.d.ts +11 -218
  40. package/dist/types/components/MessageBox/index.d.ts +4 -342
  41. package/dist/types/components/index.d.ts +1 -0
  42. package/dist/umd/index.css +1 -1
  43. package/dist/umd/index.umd.cjs +25 -17
  44. package/package.json +1 -1
  45. package/dist/es/Button-C1Q6WvkI.js +0 -32
  46. package/dist/es/Dialog-CtU-qGdR.js +0 -74
  47. package/dist/es/MessageBox-CjuBt74R.js +0 -100
@@ -1,7 +1,7 @@
1
- import { defineComponent as b, useAttrs as v, useModel as Z, openBlock as h, createElementBlock as I, normalizeClass as z, createVNode as S, unref as $, mergeProps as N, createSlots as x, renderList as _, withCtx as y, renderSlot as B, normalizeProps as M, guardReactiveProps as k, mergeModels as E, normalizeStyle as j } from "vue";
2
- import { k as C } from "./vendor-Cu-cEPs_.js";
3
- import { _ as P } from "./Button-C1Q6WvkI.js";
4
- import { w as U } from "./utils-B1dH8Kx6.js";
1
+ import { defineComponent as b, useAttrs as v, useModel as k, openBlock as h, createElementBlock as I, normalizeClass as z, createVNode as S, unref as $, mergeProps as N, createSlots as x, renderList as _, withCtx as y, renderSlot as B, normalizeProps as M, guardReactiveProps as C, mergeModels as E, normalizeStyle as j } from "vue";
2
+ import { l as P } from "./vendor-BY-fHNA3.js";
3
+ import { _ as U } from "./Button-DBbUF88w.js";
4
+ import { w as Z } from "./utils-DZ8-2Fg2.js";
5
5
  const A = /* @__PURE__ */ b({
6
6
  name: "zh-input",
7
7
  __name: "Input",
@@ -16,13 +16,13 @@ const A = /* @__PURE__ */ b({
16
16
  }),
17
17
  emits: ["update:modelValue"],
18
18
  setup(d) {
19
- const o = v(), r = d, l = Z(d, "modelValue"), s = () => {
19
+ const o = v(), r = d, l = k(d, "modelValue"), s = () => {
20
20
  (o.max || Number(o.max) === 0) && Number(l.value) >= o.max && (l.value = o.max.toString()), (o.min || Number(o.min) === 0) && Number(l.value) <= o.min && (l.value = o.min.toString());
21
21
  };
22
22
  return (m, p) => (h(), I("div", {
23
23
  class: z(r.class)
24
24
  }, [
25
- S($(C), N(m.$attrs, {
25
+ S($(P), N(m.$attrs, {
26
26
  modelValue: l.value,
27
27
  "onUpdate:modelValue": p[0] || (p[0] = (a) => l.value = a),
28
28
  size: m.size,
@@ -31,13 +31,13 @@ const A = /* @__PURE__ */ b({
31
31
  _(m.$slots, (a, g) => ({
32
32
  name: a,
33
33
  fn: y((t) => [
34
- B(m.$slots, a, M(k(t)), void 0, !0)
34
+ B(m.$slots, a, M(C(t)), void 0, !0)
35
35
  ])
36
36
  }))
37
37
  ]), 1040, ["modelValue", "size"])
38
38
  ], 2));
39
39
  }
40
- }), H = /* @__PURE__ */ P(A, [["__scopeId", "data-v-75a9ec9f"]]), G = U(H), L = /* @__PURE__ */ b({
40
+ }), H = /* @__PURE__ */ U(A, [["__scopeId", "data-v-75a9ec9f"]]), G = Z(H), L = /* @__PURE__ */ b({
41
41
  name: "zh-input-number",
42
42
  __name: "InputNumber",
43
43
  props: {
@@ -64,7 +64,7 @@ const A = /* @__PURE__ */ b({
64
64
  class: z(["input-number", r.class]),
65
65
  style: j(r.style)
66
66
  }, [
67
- S($(C), N(t.$attrs, {
67
+ S($(P), N(t.$attrs, {
68
68
  "model-value": r.modelValue,
69
69
  "onUpdate:modelValue": g,
70
70
  onBlur: p,
@@ -74,13 +74,13 @@ const A = /* @__PURE__ */ b({
74
74
  _(Object.keys(t.$slots), (u) => ({
75
75
  name: u,
76
76
  fn: y((c) => [
77
- B(t.$slots, u, M(k(c)), void 0, !0)
77
+ B(t.$slots, u, M(C(c)), void 0, !0)
78
78
  ])
79
79
  }))
80
80
  ]), 1040, ["model-value"])
81
81
  ], 6));
82
82
  }
83
- }), O = /* @__PURE__ */ P(L, [["__scopeId", "data-v-32d536a9"]]), J = U(O);
83
+ }), O = /* @__PURE__ */ U(L, [["__scopeId", "data-v-32d536a9"]]), J = Z(O);
84
84
  export {
85
85
  O as I,
86
86
  G as Z,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, openBlock as a, createElementBlock as s, createElementVNode as o } from "vue";
2
- import { _ as e } from "./Button-C1Q6WvkI.js";
3
- import { w as i } from "./utils-B1dH8Kx6.js";
2
+ import { _ as e } from "./Button-DBbUF88w.js";
3
+ import { w as i } from "./utils-DZ8-2Fg2.js";
4
4
  const r = { class: "loading-box" }, c = /* @__PURE__ */ t({
5
5
  name: "zh-loading",
6
6
  __name: "Loading",