zhihao-ui 1.3.64 → 1.3.65-alpha.1

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 (95) hide show
  1. package/dist/es/{BaseInfo-DRE7tqhe.js → BaseInfo-DqEFRLn8.js} +4 -4
  2. package/dist/es/{BaseItem-B9hyAgCm.js → BaseItem-m83RrA2F.js} +4 -4
  3. package/dist/es/{Button-CSE0Mb4I.js → Button-BbbSzwN-.js} +5 -5
  4. package/dist/es/{CascaderLoadMore-DlIfow9Z.js → CascaderLoadMore-DBsWANI9.js} +11 -11
  5. package/dist/es/{DatePicker-DRO5YMZ8.js → DatePicker-CWP-R2oa.js} +5 -5
  6. package/dist/es/{DetailHeader-WPFCQJFq.js → DetailHeader-lHQhoYOA.js} +11 -11
  7. package/dist/es/{DetailSubTitle-BWOpKhxk.js → DetailSubTitle-Bz7xsRSw.js} +5 -5
  8. package/dist/es/{Dialog-CAiA_v3J.js → Dialog-BjIyAcj7.js} +24 -19
  9. package/dist/es/DiyDataTable-B4MAzhOX.js +448 -0
  10. package/dist/es/{EditInfoPair-CZ_m9ph_.js → EditInfoPair-Cf0uYf93.js} +7 -7
  11. package/dist/es/{FileWrapper-Dk5178uk.js → FileWrapper-BV8cQBfA.js} +11 -11
  12. package/dist/es/{Grid-DXdd3Eqi.js → Grid-ipgXJGA5.js} +10 -10
  13. package/dist/es/InfoPair-BzyTEuuM.js +36 -0
  14. package/dist/es/{Input-CCkgPIDm.js → Input-CJN-YLXW.js} +16 -16
  15. package/dist/es/{Loading-CtaMdigH.js → Loading-cq6BW1kF.js} +4 -4
  16. package/dist/es/{Map-BTJrG_eT.js → Map-gs0EAlCP.js} +12 -12
  17. package/dist/es/{MessageBox-DdmHDM2f.js → MessageBox-CZdTHeI3.js} +2 -2
  18. package/dist/es/{MoneyInput-CsELS7YH.js → MoneyInput-DFvUG16j.js} +15 -15
  19. package/dist/es/{PageHeadPanel-TzAwDM3_.js → PageHeadPanel-CLV6EyGv.js} +4 -4
  20. package/dist/es/{Table-DELBhqxN.js → Table-ejaaY5Zk.js} +20 -20
  21. package/dist/es/{ToolTips-BsqDNvAz.js → ToolTips-Cajf-Tbu.js} +5 -5
  22. package/dist/es/index.js +23 -23
  23. package/dist/es/{utils-SutTRvhl.js → utils-BCPlncac.js} +1 -1
  24. package/dist/es/{vendor-BnoIpJXx.js → vendor-CrOEdcTJ.js} +19400 -17975
  25. package/dist/index.css +1 -1
  26. package/dist/types/components/Dialog/Dialog.vue.d.ts +44 -14
  27. package/dist/types/components/Dialog/index.d.ts +66 -21
  28. package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +665 -378
  29. package/dist/types/components/DiyDataTable/index.d.ts +1974 -1131
  30. package/dist/types/components/DiyDataTable/type.d.ts +19 -4
  31. package/dist/types/components/Map/Map.vue.d.ts +13 -13
  32. package/dist/types/components/Map/index.d.ts +39 -39
  33. package/dist/types/components/Map/useMap.d.ts +38 -2
  34. package/dist/types/components/utils.d.ts +1 -1
  35. package/dist/umd/index.css +1 -1
  36. package/dist/umd/index.umd.cjs +58 -66
  37. package/package.json +1 -1
  38. package/dist/es/DiyDataTable-SdMOvzzG.js +0 -369
  39. package/dist/es/InfoPair-C8tc2XjH.js +0 -36
  40. package/dist/types/components/Button/types.d.ts +0 -1
  41. package/dist/types/components/DatePicker/types.d.ts +0 -1
  42. package/dist/types/components/EditInfoPair/types.d.ts +0 -1
  43. package/dist/types/components/FileWrapper/types.d.ts +0 -1
  44. package/dist/types/components/InfoPair/types.d.ts +0 -1
  45. package/dist/types/components/Input/types.d.ts +0 -1
  46. package/dist/types/components/InputNumber/types.d.ts +0 -1
  47. package/dist/types/components/Loading/types.d.ts +0 -1
  48. package/dist/types/components/Map/components/copyright.vue.d.ts +0 -36
  49. package/dist/types/components/Map/components/measure.vue.d.ts +0 -23
  50. package/dist/types/components/Map/components/toolPanel.vue.d.ts +0 -40
  51. package/dist/types/components/Map/config.d.ts +0 -32
  52. package/dist/types/components/Map/enum/car.d.ts +0 -5
  53. package/dist/types/components/Map/enum/device.d.ts +0 -8
  54. package/dist/types/components/Map/enum/index.d.ts +0 -5
  55. package/dist/types/components/Map/enum/openLayers.d.ts +0 -10
  56. package/dist/types/components/Map/enum/ship.d.ts +0 -50
  57. package/dist/types/components/Map/function/renderPolygon.d.ts +0 -25
  58. package/dist/types/components/Map/function/ship/label.d.ts +0 -5
  59. package/dist/types/components/Map/function/shipTrack.d.ts +0 -16
  60. package/dist/types/components/Map/interface/common/BaseEntity.d.ts +0 -29
  61. package/dist/types/components/Map/interface/common/page.d.ts +0 -34
  62. package/dist/types/components/Map/interface/entity/dashboard.d.ts +0 -16
  63. package/dist/types/components/Map/interface/entity/map.d.ts +0 -36
  64. package/dist/types/components/Map/interface/entity/point.d.ts +0 -10
  65. package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +0 -86
  66. package/dist/types/components/Map/interface/entity/render.d.ts +0 -57
  67. package/dist/types/components/Map/interface/entity/ship.d.ts +0 -361
  68. package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +0 -210
  69. package/dist/types/components/Map/interface/entity/shipMapData.d.ts +0 -27
  70. package/dist/types/components/Map/interface/entity/shipMarker.d.ts +0 -8
  71. package/dist/types/components/Map/interface/entity/shipTrack.d.ts +0 -56
  72. package/dist/types/components/Map/interface/entity/vehicle.d.ts +0 -345
  73. package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +0 -20
  74. package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +0 -15
  75. package/dist/types/components/Map/render/canvasRender/geometry.d.ts +0 -22
  76. package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +0 -5
  77. package/dist/types/components/Map/render/canvasRender/renderPointStyle.d.ts +0 -10
  78. package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +0 -5
  79. package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +0 -12
  80. package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +0 -3
  81. package/dist/types/components/Map/render/drawPolygon.d.ts +0 -10
  82. package/dist/types/components/Map/render/renderDashboard.d.ts +0 -12
  83. package/dist/types/components/Map/render/renderMarker.d.ts +0 -7
  84. package/dist/types/components/Map/render/renderPoint.d.ts +0 -80
  85. package/dist/types/components/Map/render/renderShip.d.ts +0 -20
  86. package/dist/types/components/Map/render/renderTrack.d.ts +0 -12
  87. package/dist/types/components/Map/render/renderTruck.d.ts +0 -10
  88. package/dist/types/components/Map/utils/common.d.ts +0 -27
  89. package/dist/types/components/Map/utils/format.d.ts +0 -10
  90. package/dist/types/components/Map/utils/overlay.d.ts +0 -5
  91. package/dist/types/components/Map/utils/store.d.ts +0 -32
  92. package/dist/types/components/Map/utils/transform.d.ts +0 -44
  93. package/dist/types/components/MoneyInput/types.d.ts +0 -1
  94. package/dist/types/components/PageHeadPanel/types.d.ts +0 -1
  95. package/dist/types/components/ToolTips/types.d.ts +0 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as h, ref as o, provide as n, watch as i, openBlock as u, createBlock as m, withCtx as p, renderSlot as W } from "vue";
2
- import { _ } from "./Grid-DXdd3Eqi.js";
3
- import { w as b } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as h, ref as o, provide as n, watch as i, createBlock as u, openBlock as m, withCtx as p, renderSlot as W } from "vue";
2
+ import { _ } from "./Grid-ipgXJGA5.js";
3
+ import { w as b } from "./utils-BCPlncac.js";
4
4
  const D = /* @__PURE__ */ h({
5
5
  name: "ZhBaseInfo",
6
6
  __name: "BaseInfo",
@@ -35,7 +35,7 @@ const D = /* @__PURE__ */ h({
35
35
  () => t.infoDirection,
36
36
  () => d(),
37
37
  { immediate: !0 }
38
- ), (e, v) => (u(), m(_, {
38
+ ), (e, v) => (m(), u(_, {
39
39
  cols: e.cols,
40
40
  gap: e.gap
41
41
  }, {
@@ -1,7 +1,7 @@
1
- import { defineComponent as R, useSlots as T, inject as L, computed as n, ref as M, watchEffect as A, openBlock as t, createBlock as u, unref as s, withCtx as m, createElementVNode as h, normalizeClass as d, normalizeStyle as S, resolveDynamicComponent as D, createElementBlock as i, toDisplayString as o, renderSlot as V, Fragment as p, withModifiers as O, createTextVNode as f, createVNode as b, createCommentVNode as W } from "vue";
2
- import { E as C, a as g, d as Z } from "./vendor-BnoIpJXx.js";
3
- import { Z as G } from "./Grid-DXdd3Eqi.js";
4
- import { w as U } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as R, useSlots as T, inject as L, computed as n, ref as M, watchEffect as A, createBlock as u, openBlock as t, unref as s, withCtx as m, createElementVNode as h, normalizeClass as d, normalizeStyle as S, createElementBlock as i, resolveDynamicComponent as D, toDisplayString as o, renderSlot as V, Fragment as p, withModifiers as O, createTextVNode as f, createCommentVNode as W, createVNode as b } from "vue";
2
+ import { E as C, a as g, d as Z } from "./vendor-CrOEdcTJ.js";
3
+ import { Z as G } from "./Grid-ipgXJGA5.js";
4
+ import { w as U } from "./utils-BCPlncac.js";
5
5
  const y = "--", X = "YYYY-MM-DDTHH:mm:ss", x = "YYYY-MM-DDT23:59:59", ee = "YYYY-MM-DD", le = "https://static.zhihaoscm.cn/", _ = { key: 1 }, H = {
6
6
  key: 1,
7
7
  class: "zh-base-item--value--file"
@@ -1,6 +1,6 @@
1
- import { defineComponent as r, openBlock as a, createBlock as p, unref as u, mergeProps as c, withCtx as l, renderSlot as i } from "vue";
2
- import { b as m, c as d } from "./vendor-BnoIpJXx.js";
3
- import { w as _ } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as r, createBlock as a, openBlock as p, unref as u, mergeProps as c, withCtx as l, renderSlot as i } from "vue";
2
+ import { b as m, c as d } from "./vendor-CrOEdcTJ.js";
3
+ import { w as _ } from "./utils-BCPlncac.js";
4
4
  const h = /* @__PURE__ */ r({
5
5
  name: "ZhButton",
6
6
  inheritAttrs: !1,
@@ -13,7 +13,7 @@ const h = /* @__PURE__ */ r({
13
13
  const e = t, s = (o) => {
14
14
  e("click", o);
15
15
  };
16
- return (o, v) => (a(), p(u(m), c(o.$attrs, {
16
+ return (o, v) => (p(), a(u(m), c(o.$attrs, {
17
17
  class: ["zh-button", { "plr-16": o.p16 }],
18
18
  onClick: s
19
19
  }), {
@@ -36,7 +36,7 @@ const h = /* @__PURE__ */ r({
36
36
  template: { default: "" }
37
37
  },
38
38
  setup(n) {
39
- return (t, e) => (a(), p(u(d), c(t.$attrs, {
39
+ return (t, e) => (p(), a(u(d), c(t.$attrs, {
40
40
  class: ["zh-button-group", { "operation-fix-button": t.template === "operation-fix-button" }]
41
41
  }), {
42
42
  default: l(() => [
@@ -1,6 +1,6 @@
1
- import { defineComponent as le, useModel as ae, ref as s, watch as R, nextTick as f, withDirectives as te, openBlock as g, createElementBlock as P, createVNode as F, unref as C, withCtx as V, createBlock as z, toDisplayString as oe, createCommentVNode as se, mergeProps as ne, Fragment as re, renderList as ce, mergeModels as $ } from "vue";
2
- import { e as A, f as ie, g as ue, h as pe, i as de, C as ve } from "./vendor-BnoIpJXx.js";
3
- import { w as fe } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as le, mergeModels as F, useModel as ae, ref as s, watch as R, nextTick as f, withDirectives as te, createElementBlock as P, openBlock as g, createVNode as z, unref as C, withCtx as V, createBlock as $, createCommentVNode as oe, toDisplayString as se, mergeProps as ne, Fragment as re, renderList as ce } from "vue";
2
+ import { e as ie, f as ue, g as pe, h as de, C as ve, i as A } from "./vendor-CrOEdcTJ.js";
3
+ import { w as fe } from "./utils-BCPlncac.js";
4
4
  const ge = { class: "w-100" }, me = {
5
5
  key: 1,
6
6
  class: "cascader-select-empty"
@@ -10,7 +10,7 @@ const ge = { class: "w-100" }, me = {
10
10
  }, ye = /* @__PURE__ */ le({
11
11
  name: "CascaderLoadMore",
12
12
  __name: "CascaderLoadMore",
13
- props: /* @__PURE__ */ $({
13
+ props: /* @__PURE__ */ F({
14
14
  onChange: {
15
15
  type: Function,
16
16
  required: !1
@@ -93,7 +93,7 @@ const ge = { class: "w-100" }, me = {
93
93
  modelValue: {},
94
94
  modelModifiers: {}
95
95
  }),
96
- emits: /* @__PURE__ */ $(["change", "removeTag"], ["update:modelValue"]),
96
+ emits: /* @__PURE__ */ F(["change", "removeTag"], ["update:modelValue"]),
97
97
  setup(c, { expose: w, emit: I }) {
98
98
  const o = c, r = ae(c, "modelValue"), d = s(r.value || []), v = s(!1), i = s({
99
99
  page: 1,
@@ -205,7 +205,7 @@ const ge = { class: "w-100" }, me = {
205
205
  options: p,
206
206
  cascderOptions: n
207
207
  }), (e, l) => te((g(), P("div", ge, [
208
- F(C(ie), {
208
+ z(C(ie), {
209
209
  ref_key: "popoverRef",
210
210
  ref: q,
211
211
  teleported: c.teleported,
@@ -215,7 +215,7 @@ const ge = { class: "w-100" }, me = {
215
215
  visible: v.value
216
216
  }, {
217
217
  reference: V(() => [
218
- F(C(pe), ne({
218
+ z(C(pe), ne({
219
219
  ref_key: "remoteSelectRef",
220
220
  ref: x,
221
221
  modelValue: r.value,
@@ -240,7 +240,7 @@ const ge = { class: "w-100" }, me = {
240
240
  onRemoveTag: J
241
241
  }), {
242
242
  default: V(() => [
243
- (g(!0), P(re, null, ce(p.value, (a) => (g(), z(C(de), {
243
+ (g(!0), P(re, null, ce(p.value, (a) => (g(), $(C(de), {
244
244
  key: a.value,
245
245
  label: a.label,
246
246
  value: a.value
@@ -250,7 +250,7 @@ const ge = { class: "w-100" }, me = {
250
250
  }, 16, ["modelValue", "multiple", "placeholder", "clearable", "collapse-tags", "collapse-tags-tooltip"])
251
251
  ]),
252
252
  default: V(() => [
253
- !O.value && n.value.length > 0 ? (g(), z(C(ue), {
253
+ !O.value && n.value.length > 0 ? (g(), $(C(ue), {
254
254
  key: 0,
255
255
  modelValue: d.value,
256
256
  "onUpdate:modelValue": l[1] || (l[1] = (a) => d.value = a),
@@ -259,8 +259,8 @@ const ge = { class: "w-100" }, me = {
259
259
  options: n.value,
260
260
  class: "select-cascader-panel",
261
261
  onChange: Y
262
- }, null, 8, ["modelValue", "options"])) : (g(), P("div", me, oe(c.noDataText), 1)),
263
- k.value ? (g(), P("div", he, "加载中...")) : se("", !0)
262
+ }, null, 8, ["modelValue", "options"])) : (g(), P("div", me, se(c.noDataText), 1)),
263
+ k.value ? (g(), P("div", he, "加载中...")) : oe("", !0)
264
264
  ]),
265
265
  _: 1
266
266
  }, 8, ["teleported", "placement", "trigger", "popper-class", "visible"])
@@ -1,7 +1,7 @@
1
- import { defineComponent as u, openBlock as f, createElementBlock as h, normalizeClass as D, createVNode as g, unref as _, mergeProps as A } from "vue";
2
- import { j as T, k as y } from "./vendor-BnoIpJXx.js";
3
- import { D as m, a as b, L as p, b as k } from "./BaseItem-B9hyAgCm.js";
4
- import { w as E } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as u, createElementBlock as f, openBlock as h, normalizeClass as D, createVNode as g, unref as _, mergeProps as A } from "vue";
2
+ import { j as T, k as y } from "./vendor-CrOEdcTJ.js";
3
+ import { D as m, a as b, L as p, b as k } from "./BaseItem-m83RrA2F.js";
4
+ import { w as E } from "./utils-BCPlncac.js";
5
5
  const d = (e, l = b) => e ? T(e).format(l).replace("Invalid date", m) : m, P = (e) => typeof e == "number" ? !0 : typeof e == "string" ? !isNaN(parseFloat(e)) : !1;
6
6
  function U(e) {
7
7
  const l = ["角", "分"], r = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], s = [
@@ -42,7 +42,7 @@ const M = /* @__PURE__ */ u({
42
42
  const c = (/* @__PURE__ */ new Date()).getTime();
43
43
  return new Date(t).getTime() > c;
44
44
  };
45
- return (t, c) => (f(), h("div", {
45
+ return (t, c) => (h(), f("div", {
46
46
  class: D([r.class, "zh-date-picker"])
47
47
  }, [
48
48
  g(_(y), A({
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, useSlots as _, openBlock as a, createElementBlock as o, createElementVNode as t, renderSlot as l, toDisplayString as i, Fragment as m, renderList as u, unref as n, normalizeClass as D, createCommentVNode as g } from "vue";
2
- import { D as v } from "./BaseItem-B9hyAgCm.js";
3
- import { _ as k } from "./Button-CSE0Mb4I.js";
4
- import { w as y } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as p, useSlots as _, createElementBlock as a, openBlock as o, createElementVNode as t, renderSlot as l, toDisplayString as i, Fragment as m, renderList as u, unref as n, createCommentVNode as D, normalizeClass as g } from "vue";
2
+ import { D as v } from "./BaseItem-m83RrA2F.js";
3
+ import { _ as k } from "./Button-BbbSzwN-.js";
4
+ import { w as y } from "./utils-BCPlncac.js";
5
5
  const I = { class: "common-card" }, b = { class: "detail-header" }, E = { class: "detail-header--left" }, H = { class: "title common-title" }, M = { class: "info-pair--label" }, $ = { class: "info-pair--value" }, C = {
6
6
  key: 1,
7
7
  class: "detail-header--right"
@@ -19,7 +19,7 @@ const I = { class: "common-card" }, b = { class: "detail-header" }, E = { class:
19
19
  const h = _(), r = f;
20
20
  return (e, w) => {
21
21
  var d, c;
22
- return a(), o("div", I, [
22
+ return o(), a("div", I, [
23
23
  t("div", null, [
24
24
  l(e.$slots, "menu", {}, void 0, !0)
25
25
  ]),
@@ -27,7 +27,7 @@ const I = { class: "common-card" }, b = { class: "detail-header" }, E = { class:
27
27
  t("div", E, [
28
28
  t("div", H, i(r.title), 1),
29
29
  l(e.$slots, "extra-info", {}, void 0, !0),
30
- (a(!0), o(m, null, u(r.leftInfos, (s) => (a(), o("div", {
30
+ (o(!0), a(m, null, u(r.leftInfos, (s) => (o(), a("div", {
31
31
  class: "info-pair",
32
32
  key: s.value
33
33
  }, [
@@ -36,18 +36,18 @@ const I = { class: "common-card" }, b = { class: "detail-header" }, E = { class:
36
36
  ]))), 128))
37
37
  ]),
38
38
  l(e.$slots, "default", {}, void 0, !0),
39
- n(h)["right-infos"] ? l(e.$slots, "right-infos", { key: 0 }, void 0, !0) : (a(), o("div", C, [
40
- (a(!0), o(m, null, u(r.rightInfos, (s) => (a(), o("div", {
39
+ n(h)["right-infos"] ? l(e.$slots, "right-infos", { key: 0 }, void 0, !0) : (o(), a("div", C, [
40
+ (o(!0), a(m, null, u(r.rightInfos, (s) => (o(), a("div", {
41
41
  class: "info-pair",
42
42
  key: s.value
43
43
  }, [
44
44
  t("div", L, i(s.label), 1),
45
45
  t("div", S, i(s.value ?? n(v)), 1)
46
46
  ]))), 128)),
47
- e.stateDesc || e.stateMeta ? (a(), o("div", {
47
+ e.stateDesc || e.stateMeta ? (o(), a("div", {
48
48
  key: 0,
49
- class: D(["state common-title", (d = e.stateMeta) == null ? void 0 : d.state])
50
- }, i(e.stateDesc || ((c = e.stateMeta) == null ? void 0 : c.intro)), 3)) : g("", !0)
49
+ class: g(["state common-title", (d = e.stateMeta) == null ? void 0 : d.state])
50
+ }, i(e.stateDesc || ((c = e.stateMeta) == null ? void 0 : c.intro)), 3)) : D("", !0)
51
51
  ]))
52
52
  ])
53
53
  ]);
@@ -1,6 +1,6 @@
1
- import { defineComponent as r, openBlock as o, createElementBlock as s, createElementVNode as l, createTextVNode as a, toDisplayString as t, createCommentVNode as p, normalizeClass as c, renderSlot as m, unref as d } from "vue";
2
- import { D as u } from "./BaseItem-B9hyAgCm.js";
3
- import { w as f } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as r, createElementBlock as o, openBlock as s, createElementVNode as l, createTextVNode as a, createCommentVNode as p, toDisplayString as t, normalizeClass as c, renderSlot as m, unref as d } from "vue";
2
+ import { D as u } from "./BaseItem-m83RrA2F.js";
3
+ import { w as f } from "./utils-BCPlncac.js";
4
4
  const _ = { class: "info-pair" }, v = { class: "info-pair--title" }, h = {
5
5
  key: 0,
6
6
  class: "info-pair--title--tip"
@@ -15,10 +15,10 @@ const _ = { class: "info-pair" }, v = { class: "info-pair--title" }, h = {
15
15
  },
16
16
  setup(n) {
17
17
  const i = n;
18
- return (e, E) => (o(), s("div", _, [
18
+ return (e, E) => (s(), o("div", _, [
19
19
  l("div", v, [
20
20
  a(t(i.title) + " ", 1),
21
- e.tip ? (o(), s("div", h, t(e.tip), 1)) : p("", !0)
21
+ e.tip ? (s(), o("div", h, t(e.tip), 1)) : p("", !0)
22
22
  ]),
23
23
  l("div", {
24
24
  class: c(["info-pair--value", { ellipsis: e.ellipsis }])
@@ -1,15 +1,15 @@
1
- import { defineComponent as k, useModel as w, computed as T, openBlock as r, createBlock as v, unref as D, mergeProps as M, withCtx as o, renderSlot as s, createElementVNode as c, createVNode as u, createTextVNode as m, toDisplayString as l, createElementBlock as Z, createCommentVNode as z, mergeModels as p } from "vue";
2
- import { Z as f } from "./Button-CSE0Mb4I.js";
3
- import { l as E } from "./vendor-BnoIpJXx.js";
4
- import { w as I } from "./utils-SutTRvhl.js";
1
+ import { defineComponent as k, mergeModels as r, useModel as w, computed as T, createBlock as v, openBlock as c, unref as D, mergeProps as M, withCtx as o, renderSlot as s, createElementVNode as m, createVNode as u, createTextVNode as p, toDisplayString as l, createElementBlock as Z, createCommentVNode as z } from "vue";
2
+ import { Z as f } from "./Button-BbbSzwN-.js";
3
+ import { l as E } from "./vendor-CrOEdcTJ.js";
4
+ import { w as I } from "./utils-BCPlncac.js";
5
5
  const N = { class: "title" }, O = {
6
6
  key: 0,
7
7
  class: "sub-title"
8
- }, S = { class: "zh-dialog__footer" }, _ = /* @__PURE__ */ k({
8
+ }, P = { class: "zh-dialog__footer" }, S = /* @__PURE__ */ k({
9
9
  name: "ZhDialog",
10
10
  inheritAttrs: !1,
11
11
  __name: "Dialog",
12
- props: /* @__PURE__ */ p({
12
+ props: /* @__PURE__ */ r({
13
13
  title: {},
14
14
  subTitle: {},
15
15
  cancelButtonText: { default: "取消" },
@@ -25,14 +25,19 @@ const N = { class: "title" }, O = {
25
25
  closeOnPressEscape: { type: Boolean },
26
26
  lockScroll: { type: Boolean },
27
27
  modal: { type: Boolean },
28
+ modalPenetrable: { type: Boolean },
28
29
  openDelay: {},
29
30
  closeDelay: {},
30
31
  top: {},
31
32
  modelValue: { type: Boolean },
32
33
  modalClass: {},
34
+ headerClass: {},
35
+ bodyClass: {},
36
+ footerClass: {},
33
37
  zIndex: {},
34
38
  trapFocus: { type: Boolean },
35
39
  headerAriaLevel: {},
40
+ transition: {},
36
41
  center: { type: Boolean },
37
42
  alignCenter: { type: Boolean },
38
43
  closeIcon: {},
@@ -45,7 +50,7 @@ const N = { class: "title" }, O = {
45
50
  modelValue: { type: Boolean, default: !0 },
46
51
  modelModifiers: {}
47
52
  }),
48
- emits: /* @__PURE__ */ p(["submit", "close"], ["update:modelValue"]),
53
+ emits: /* @__PURE__ */ r(["submit", "close"], ["update:modelValue"]),
49
54
  setup(n, { emit: B }) {
50
55
  const t = n, d = w(n, "modelValue"), a = B, y = () => {
51
56
  a("close");
@@ -53,33 +58,33 @@ const N = { class: "title" }, O = {
53
58
  a("submit");
54
59
  }, C = () => {
55
60
  a("close");
56
- }, g = {
61
+ }, b = {
57
62
  small: "400px",
58
63
  middle: "600px",
59
64
  large: "800px",
60
65
  extraLarge: "920px"
61
- }, b = T(() => t.width ? t.width : g[t.size]);
62
- return (e, i) => (r(), v(D(E), M({
66
+ }, g = T(() => t.width ? t.width : b[t.size]);
67
+ return (e, i) => (c(), v(D(E), M({
63
68
  modelValue: d.value,
64
69
  "onUpdate:modelValue": i[0] || (i[0] = (V) => d.value = V),
65
70
  class: "zh-dialog"
66
71
  }, e.$attrs, {
67
- width: b.value,
72
+ width: g.value,
68
73
  "close-on-click-modal": e.closeOnClickModal,
69
74
  onClose: C
70
75
  }), {
71
76
  header: o(() => [
72
77
  s(e.$slots, "header", {}, () => [
73
- c("div", N, l(e.title), 1),
74
- e.subTitle ? (r(), Z("div", O, l(e.subTitle), 1)) : z("", !0)
78
+ m("div", N, l(e.title), 1),
79
+ e.subTitle ? (c(), Z("div", O, l(e.subTitle), 1)) : z("", !0)
75
80
  ])
76
81
  ]),
77
82
  footer: o(() => [
78
83
  s(e.$slots, "footer", {}, () => [
79
- c("div", S, [
84
+ m("div", P, [
80
85
  u(f, { onClick: y }, {
81
86
  default: o(() => [
82
- m(l(e.cancelButtonText), 1)
87
+ p(l(e.cancelButtonText), 1)
83
88
  ]),
84
89
  _: 1
85
90
  }),
@@ -89,7 +94,7 @@ const N = { class: "title" }, O = {
89
94
  onClick: h
90
95
  }, {
91
96
  default: o(() => [
92
- m(l(e.confirmButtonText), 1)
97
+ p(l(e.confirmButtonText), 1)
93
98
  ]),
94
99
  _: 1
95
100
  }, 8, ["disabled"])
@@ -102,8 +107,8 @@ const N = { class: "title" }, O = {
102
107
  _: 3
103
108
  }, 16, ["modelValue", "width", "close-on-click-modal"]));
104
109
  }
105
- }), P = I(_);
110
+ }), L = I(S);
106
111
  export {
107
- P as Z,
108
- _
112
+ L as Z,
113
+ S as _
109
114
  };