zhihao-ui 1.2.32 → 1.2.34

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 (41) hide show
  1. package/dist/es/{BaseItem-BFxwaTMt.js → BaseItem-DwoIxH38.js} +1 -1
  2. package/dist/es/{DatePicker-Ci7cvNBv.js → DatePicker-BkfvEDok.js} +1 -1
  3. package/dist/es/{DetailHeader-CjOQGsUf.js → DetailHeader-CmvLT5jU.js} +1 -1
  4. package/dist/es/{DetailSubTitle-D0yLSSyv.js → DetailSubTitle-BXjqx7Gl.js} +1 -1
  5. package/dist/es/{DiyDataTable-BF1_jzWq.js → DiyDataTable-02Fvx4gj.js} +1 -1
  6. package/dist/es/{EditInfoPair-BJQiTE2F.js → EditInfoPair-2lOiJK1x.js} +2 -2
  7. package/dist/es/{FileWrapper-x299zfxX.js → FileWrapper-oSb83fz-.js} +3 -3
  8. package/dist/es/{Grid-CXOlWZvI.js → Grid-CHKAGBr9.js} +36 -37
  9. package/dist/es/{InfoPair-DIGArRxD.js → InfoPair-CDbyplp2.js} +2 -2
  10. package/dist/es/{Input-DhjDFkPC.js → Input-CWfFyiHL.js} +2 -2
  11. package/dist/es/{Loading-BUKmsH3_.js → Loading-nlPpGN-L.js} +4 -4
  12. package/dist/es/{Map-DOYV-j68.js → Map-CWXp1qnd.js} +105 -102
  13. package/dist/es/MoneyInput-BGmF3L2m.js +53 -0
  14. package/dist/es/{PageHeadPanel-BAkSI9xv.js → PageHeadPanel-Bw6wb6jF.js} +4 -4
  15. package/dist/es/{Table-C0SJnAXO.js → Table-D8EshRWb.js} +196 -200
  16. package/dist/es/ToolTips-Beib4mGU.js +31 -0
  17. package/dist/es/index.js +62 -59
  18. package/dist/index.css +1 -1
  19. package/dist/types/components/Button/types.d.ts +1 -7
  20. package/dist/types/components/Grid/Grid.vue.d.ts +0 -3
  21. package/dist/types/components/Grid/index.d.ts +0 -15
  22. package/dist/types/components/Grid/types.d.ts +0 -1
  23. package/dist/types/components/Map/Map.vue.d.ts +2 -0
  24. package/dist/types/components/Map/components/copyright.vue.d.ts +30 -1
  25. package/dist/types/components/Map/index.d.ts +10 -0
  26. package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +2 -2
  27. package/dist/types/components/Map/types.d.ts +4 -0
  28. package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +2 -6
  29. package/dist/types/components/MoneyInput/index.d.ts +3 -13
  30. package/dist/types/components/Table/types.d.ts +1 -0
  31. package/dist/types/components/ToolTips/ToolTips.vue.d.ts +28 -19
  32. package/dist/types/components/ToolTips/index.d.ts +21 -21
  33. package/dist/umd/index.css +1 -1
  34. package/dist/umd/index.umd.cjs +7 -7
  35. package/package.json +45 -45
  36. package/dist/es/MoneyInput-CPvzXyjc.js +0 -53
  37. package/dist/es/ToolTips-BFpd9Tho.js +0 -37
  38. package/dist/types/components/Map/components/fullscreen.vue.d.ts +0 -14
  39. package/dist/types/components/Table/Table.vue.d.ts +0 -986
  40. package/dist/types/components/Table/index.d.ts +0 -2948
  41. package/dist/types/components/utils/color.d.ts +0 -1
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
1
  {
2
- "name": "zhihao-ui",
3
- "version": "1.2.32",
4
- "description": "components",
5
- "type": "module",
6
- "main": "./dist/umd/index.umd.cjs",
7
- "module": "./dist/es/index.js",
8
- "types": "./dist/types/core/index.d.ts",
9
- "files": [
10
- "dist"
11
- ],
12
- "exports": {
13
- ".": {
14
- "import": "./dist/es/index.js",
15
- "require": "./dist/umd/index.umd.cjs",
16
- "types": "./dist/types/core/index.d.ts"
2
+ "name": "zhihao-ui",
3
+ "version": "1.2.34",
4
+ "description": "components",
5
+ "type": "module",
6
+ "main": "./dist/umd/index.umd.cjs",
7
+ "module": "./dist/es/index.js",
8
+ "types": "./dist/types/core/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/es/index.js",
15
+ "require": "./dist/umd/index.umd.cjs",
16
+ "types": "./dist/types/core/index.d.ts"
17
+ },
18
+ "./dist/": {
19
+ "import": "./dist/",
20
+ "require": "./dist/"
21
+ }
17
22
  },
18
- "./dist/": {
19
- "import": "./dist/",
20
- "require": "./dist/"
21
- }
22
- },
23
- "sideEffects": [
24
- "./dist/index.css"
25
- ],
23
+ "sideEffects": [
24
+ "./dist/index.css"
25
+ ],
26
26
 
27
- "scripts": {
28
- "build": "run-s build-only move-style",
29
- "build-only": "run-p build-es build-umd",
30
- "build-umd": "vite build --config vite.umd.config.ts",
31
- "build-es": "vite build --config vite.es.config.ts",
32
- "move-style": "move-file dist/es/index.css dist/index.css"
33
- },
34
- "keywords": [],
35
- "author": "",
36
- "license": "ISC",
37
- "dependencies": {
38
- "@fortawesome/fontawesome-svg-core": "^6.5.1",
39
- "@fortawesome/free-solid-svg-icons": "^6.5.1",
40
- "@fortawesome/vue-fontawesome": "^3.0.6",
41
- "@popperjs/core": "^2.11.8",
42
- "@vitejs/plugin-vue-jsx": "^4.1.1",
43
- "async-validator": "^4.2.5"
44
- },
45
- "devDependencies": {
46
- "vite-plugin-dts": "^3.9.1",
47
- "@zhihao-ui/components": "workspace:*"
48
- }
27
+ "scripts": {
28
+ "build": "run-s build-only move-style",
29
+ "build-only": "run-p build-es build-umd",
30
+ "build-umd": "vite build --config vite.umd.config.ts",
31
+ "build-es": "vite build --config vite.es.config.ts",
32
+ "move-style": "move-file dist/es/index.css dist/index.css"
33
+ },
34
+ "keywords": [],
35
+ "author": "",
36
+ "license": "ISC",
37
+ "dependencies": {
38
+ "@fortawesome/fontawesome-svg-core": "^6.5.1",
39
+ "@fortawesome/free-solid-svg-icons": "^6.5.1",
40
+ "@fortawesome/vue-fontawesome": "^3.0.6",
41
+ "@popperjs/core": "^2.11.8",
42
+ "@vitejs/plugin-vue-jsx": "^4.1.1",
43
+ "async-validator": "^4.2.5"
44
+ },
45
+ "devDependencies": {
46
+ "vite-plugin-dts": "^3.9.1",
47
+ "@zhihao-ui/components": "workspace:*"
48
+ }
49
49
  }
@@ -1,53 +0,0 @@
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
- import { v as $, d as k } from "./DatePicker-Ci7cvNBv.js";
3
- import { $ as P } from "./vendor-Bonn9k5m.js";
4
- import { I as T } from "./Input-DhjDFkPC.js";
5
- import { _ } from "./Button-BbUxF68h.js";
6
- import { w as z } from "./utils-hD_p7bGY.js";
7
- const C = /* @__PURE__ */ d({
8
- name: "zh-money-input",
9
- __name: "MoneyInput",
10
- props: /* @__PURE__ */ m({
11
- style: {},
12
- class: {},
13
- showTooltip: { type: Boolean, default: !0 }
14
- }, {
15
- modelValue: {},
16
- modelModifiers: {}
17
- }),
18
- emits: /* @__PURE__ */ m(["update:modelValue"], ["update:modelValue"]),
19
- setup(s, { emit: U }) {
20
- const a = s, e = i(s, "modelValue"), u = f(() => {
21
- if (e.value)
22
- return $(e.value) && Number(e.value) >= 1e3 ? k(Number(e.value)) : "";
23
- }), r = v(!1);
24
- return (t, o) => (c(), y(V(P), {
25
- effect: "dark",
26
- content: u.value,
27
- placement: "top",
28
- visible: t.showTooltip && r.value && !!u.value
29
- }, {
30
- default: n(() => [
31
- b(T, I(t.$attrs, {
32
- modelValue: e.value,
33
- "onUpdate:modelValue": o[0] || (o[0] = (l) => e.value = l),
34
- style: a.style,
35
- class: a.class,
36
- onFocus: o[1] || (o[1] = () => r.value = !0),
37
- onBlur: o[2] || (o[2] = () => r.value = !1)
38
- }), M({ _: 2 }, [
39
- w(Object.keys(t.$slots), (l) => ({
40
- name: l,
41
- fn: n((p) => [
42
- B(t.$slots, l, N(g(p)), void 0, !0)
43
- ])
44
- }))
45
- ]), 1040, ["modelValue", "style", "class"])
46
- ]),
47
- _: 3
48
- }, 8, ["content", "visible"]));
49
- }
50
- }), S = /* @__PURE__ */ _(C, [["__scopeId", "data-v-d97e0edf"]]), L = z(S);
51
- export {
52
- L as Z
53
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as p, openBlock as r, createBlock as l, unref as s, withCtx as a, renderSlot as c, createElementVNode as i } from "vue";
2
- import { $ as m } 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__ */ p({
6
- name: "zh-tool-tips",
7
- __name: "ToolTips",
8
- props: {
9
- placement: {
10
- type: String,
11
- default: "top"
12
- },
13
- content: {
14
- type: String,
15
- default: "top"
16
- }
17
- },
18
- setup(e) {
19
- const t = e;
20
- return (n, o) => (r(), l(s(m), {
21
- class: "box-item",
22
- effect: "dark",
23
- content: t.content,
24
- placement: t.placement
25
- }, {
26
- default: a(() => [
27
- c(n.$slots, "default", {}, () => [
28
- o[0] || (o[0] = i("i", { class: "iconfont icon-Frame2" }, null, -1))
29
- ], !0)
30
- ]),
31
- _: 3
32
- }, 8, ["content", "placement"]));
33
- }
34
- }), _ = /* @__PURE__ */ f(u, [["__scopeId", "data-v-93c79d22"]]), w = d(_);
35
- export {
36
- w as Z
37
- };
@@ -1,14 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- pageRef: {
3
- type: ObjectConstructor;
4
- default: () => {};
5
- };
6
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
- pageRef: {
8
- type: ObjectConstructor;
9
- default: () => {};
10
- };
11
- }>> & Readonly<{}>, {
12
- pageRef: Record<string, any>;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
- export default _default;