zhihao-ui 1.2.19 → 1.2.20

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.
@@ -1,31 +1,34 @@
1
- import { defineComponent as r, openBlock as a, createBlock as u, unref as c, mergeProps as p, withCtx as l, renderSlot as i } from "vue";
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
2
  import { E as m, a as d } from "./vendor-AIl6iHcE.js";
3
3
  import { w as _ } from "./utils-CbI5IWJJ.js";
4
4
  const h = /* @__PURE__ */ r({
5
5
  name: "ZhButton",
6
6
  inheritAttrs: !1,
7
7
  __name: "Button",
8
+ props: {
9
+ p20: { type: Boolean }
10
+ },
8
11
  emits: ["click"],
9
12
  setup(n, { emit: t }) {
10
13
  const e = t, s = (o) => {
11
14
  e("click", o);
12
15
  };
13
- return (o, Z) => (a(), u(c(m), p(o.$attrs, {
14
- class: "zh-button",
16
+ return (o, Z) => (a(), p(u(m), c(o.$attrs, {
17
+ class: ["zh-button", { "plr-20": o.p20 }],
15
18
  onClick: s
16
19
  }), {
17
20
  default: l(() => [
18
21
  i(o.$slots, "default", {}, void 0, !0)
19
22
  ]),
20
23
  _: 3
21
- }, 16));
24
+ }, 16, ["class"]));
22
25
  }
23
26
  }), f = (n, t) => {
24
27
  const e = n.__vccOpts || n;
25
28
  for (const [s, o] of t)
26
29
  e[s] = o;
27
30
  return e;
28
- }, B = /* @__PURE__ */ f(h, [["__scopeId", "data-v-59ad2ca5"]]), C = _(B), k = /* @__PURE__ */ r({
31
+ }, B = /* @__PURE__ */ f(h, [["__scopeId", "data-v-ce0229f5"]]), C = _(B), k = /* @__PURE__ */ r({
29
32
  name: "ZhButtonGroup",
30
33
  inheritAttrs: !1,
31
34
  __name: "ButtonGroup",
@@ -33,7 +36,7 @@ const h = /* @__PURE__ */ r({
33
36
  template: { default: "" }
34
37
  },
35
38
  setup(n) {
36
- return (t, e) => (a(), u(c(d), p(t.$attrs, {
39
+ return (t, e) => (a(), p(u(d), c(t.$attrs, {
37
40
  class: ["zh-button-group", { "operation-fix-button": t.template === "operation-fix-button" }]
38
41
  }), {
39
42
  default: l(() => [
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, useSlots as p, openBlock as a, createElementBlock as o, createElementVNode as e, renderSlot as l, toDisplayString as i, Fragment as m, renderList as u, unref as n, normalizeClass as g, createCommentVNode as k } from "vue";
2
2
  import { D as v } from "./DatePicker-vGQGWrmB.js";
3
- import { _ as D } from "./Button-CDKNl8Xy.js";
3
+ import { _ as D } from "./Button-CYr52jII.js";
4
4
  import { w as y } from "./utils-CbI5IWJJ.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,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, useModel as b, computed as w, openBlock as r, createBlock as T, unref as D, mergeProps as M, withCtx as o, renderSlot as s, createElementVNode as c, createVNode as u, createTextVNode as p, toDisplayString as t, createElementBlock as z, createCommentVNode as E, mergeModels as m } from "vue";
2
- import { Z as f } from "./Button-CDKNl8Xy.js";
2
+ import { Z as f } from "./Button-CYr52jII.js";
3
3
  import { c as Z } from "./vendor-AIl6iHcE.js";
4
4
  import { w as I } from "./utils-CbI5IWJJ.js";
5
5
  const N = { class: "title" }, O = {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as H, useModel as N, ref as b, openBlock as d, createBlock as g, unref as s, withCtx as p, createVNode as v, createElementBlock as f, Fragment as W, renderList as Z, normalizeClass as D, toDisplayString as m, renderSlot as C, createCommentVNode as k, createElementVNode as y, createTextVNode as V, mergeModels as z } from "vue";
2
2
  import { D as P } from "./DatePicker-vGQGWrmB.js";
3
3
  import { d as E, e as $, f as X, g as j, i as _, j as T, k as K, l as M, E as A } from "./vendor-AIl6iHcE.js";
4
- import { _ as G } from "./Button-CDKNl8Xy.js";
4
+ import { _ as G } from "./Button-CYr52jII.js";
5
5
  import { w as J } from "./utils-CbI5IWJJ.js";
6
6
  var c = /* @__PURE__ */ ((u) => (u.AUTOCOMPLETE = "autocomplete", u.FORMAT = "format", u.TEXT = "text", u))(c || {});
7
7
  const Q = { key: 0 }, Y = {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, openBlock as o, createElementBlock as s, createElementVNode as a, createTextVNode as r, toDisplayString as t, createCommentVNode as p, normalizeClass as c, renderSlot as d, unref as m } from "vue";
2
2
  import { D as f } from "./DatePicker-vGQGWrmB.js";
3
- import { _ } from "./Button-CDKNl8Xy.js";
3
+ import { _ } from "./Button-CYr52jII.js";
4
4
  import { w as u } from "./utils-CbI5IWJJ.js";
5
5
  const v = { class: "info-pair" }, h = { class: "info-pair--title" }, E = {
6
6
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, openBlock as i, createElementBlock as o, toDisplayString as n, createCommentVNode as s, createElementVNode as t, createVNode as p, unref as m, withCtx as _, createTextVNode as u } from "vue";
2
2
  import { D as w } from "./DatePicker-vGQGWrmB.js";
3
3
  import { m as y } from "./vendor-AIl6iHcE.js";
4
- import { _ as h } from "./Button-CDKNl8Xy.js";
4
+ import { _ as h } from "./Button-CYr52jII.js";
5
5
  import { w as v } from "./utils-CbI5IWJJ.js";
6
6
  const k = { class: "file_wrapper" }, x = {
7
7
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, openBlock as i, createElementBlock as s, createElementVNode as a, createTextVNode as r, toDisplayString as t, createCommentVNode as p, normalizeClass as c, renderSlot as m, unref as f } from "vue";
2
2
  import { D as d } from "./DatePicker-vGQGWrmB.js";
3
- import { _ } from "./Button-CDKNl8Xy.js";
3
+ import { _ } from "./Button-CYr52jII.js";
4
4
  import { w as u } from "./utils-CbI5IWJJ.js";
5
5
  const v = { class: "info-pair" }, h = { class: "info-pair--title" }, I = {
6
6
  key: 0,
@@ -1,6 +1,6 @@
1
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
2
  import { l as P } from "./vendor-AIl6iHcE.js";
3
- import { _ as U } from "./Button-CDKNl8Xy.js";
3
+ import { _ as U } from "./Button-CYr52jII.js";
4
4
  import { w as Z } from "./utils-CbI5IWJJ.js";
5
5
  const A = /* @__PURE__ */ b({
6
6
  name: "zh-input",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, openBlock as a, createElementBlock as s, createElementVNode as o } from "vue";
2
- import { _ as e } from "./Button-CDKNl8Xy.js";
2
+ import { _ as e } from "./Button-CYr52jII.js";
3
3
  import { w as i } from "./utils-CbI5IWJJ.js";
4
4
  const r = { class: "loading-box" }, c = /* @__PURE__ */ t({
5
5
  name: "zh-loading",
@@ -3,7 +3,7 @@ var A = (e, t, o) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writab
3
3
  var L = (e, t, o) => A(e, typeof t != "symbol" ? t + "" : t, o);
4
4
  import { ref, defineComponent, useModel, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, unref, createBlock, toDisplayString, createCommentVNode, mergeModels, nextTick, onMounted, normalizeClass, renderSlot } from "vue";
5
5
  import { n as getArea, o as getLength, V as VectorSource, p as VectorLayer, S as Style, C as CircleStyle, F as Fill, q as Stroke, D as Draw, O as Overlay, u as unByKey, r as ElOption, T as Text, h as hooks, L as LineString, s as Feature, P as Point, t as fromLonLat, e as cloneDeep, G as GeoJSON, W as WebGLPointsLayer, v as transform, w as ScaleLine$1, I as Icon, x as Translate, y as toLonLat, M as MultiPoint, z as getCenter, A as TileLayer, X as XYZ, B as Map$1, H as View } from "./vendor-AIl6iHcE.js";
6
- import { _ as _export_sfc } from "./Button-CDKNl8Xy.js";
6
+ import { _ as _export_sfc } from "./Button-CYr52jII.js";
7
7
  import { w as withInstall } from "./utils-CbI5IWJJ.js";
8
8
  var BaseMapType = /* @__PURE__ */ ((e) => (e[e.vector = 0] = "vector", e[e.satellite = 1] = "satellite", e))(BaseMapType || {}), CAR_COLOR = /* @__PURE__ */ ((e) => (e[e.BLUE = 1] = "BLUE", e[e.YELLOW = 2] = "YELLOW", e[e.Y_GREEN = 3] = "Y_GREEN", e))(CAR_COLOR || {}), DEVICE_TYPE = /* @__PURE__ */ ((e) => (e[e.HOST = 1] = "HOST", e[e.TALK = 2] = "TALK", e[e.STORAGE = 3] = "STORAGE", e[e.INTERNET = 4] = "INTERNET", e[e.CAMERA = 5] = "CAMERA", e[e.LOAD = 6] = "LOAD", e))(DEVICE_TYPE || {}), LENGTH_UNIT = /* @__PURE__ */ ((e) => (e[e.M = 1] = "M", e[e.KM = 2] = "KM", e[e.NM = 3] = "NM", e))(LENGTH_UNIT || {});
9
9
  const LENGTH_UNIT_LABEL = {
@@ -1,8 +1,8 @@
1
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
2
  import { v as k, d as P } from "./DatePicker-vGQGWrmB.js";
3
3
  import { K as T } from "./vendor-AIl6iHcE.js";
4
- import { I as _ } from "./Input-Bg2G2kBm.js";
5
- import { _ as $ } from "./Button-CDKNl8Xy.js";
4
+ import { I as _ } from "./Input-C4aIqSby.js";
5
+ import { _ as $ } from "./Button-CYr52jII.js";
6
6
  import { w as z } from "./utils-CbI5IWJJ.js";
7
7
  const C = /* @__PURE__ */ d({
8
8
  name: "zh-money-input",
@@ -1,5 +1,5 @@
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-CDKNl8Xy.js";
2
+ import { _ as g } from "./Button-CYr52jII.js";
3
3
  import { w as v } from "./utils-CbI5IWJJ.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",