xyvcard-itsmsys 0.0.10 → 0.0.11

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 (39) hide show
  1. package/dist/{edit-RSO388mB.mjs → edit-BSIP_9Mq.mjs} +112 -114
  2. package/dist/{edit-DG_Iw1-J.mjs → edit-BcE5qrWo.mjs} +1 -1
  3. package/dist/{edit-BNe0hNw4.mjs → edit-BsUWSNnA.mjs} +108 -110
  4. package/dist/{edit-DdUUCXSa.mjs → edit-CW0kqOpj.mjs} +1 -1
  5. package/dist/{edit-BqPZHwxi.mjs → edit-CiCHPkRg.mjs} +1 -1
  6. package/dist/{edit-CyM6IuLb.mjs → edit-Dxs-2AFY.mjs} +118 -120
  7. package/dist/{edit-CwV1OVfe.mjs → edit-znznl9Td.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs → edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs} +125 -143
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs → edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs} +128 -146
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs → edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs} +1 -1
  11. package/dist/edit.vue_vue_type_script_setup_true_lang-PDq1GpSZ.mjs +404 -0
  12. package/dist/{index-CMBtB1kH.mjs → index-4qnVgDwe.mjs} +4 -4
  13. package/dist/index-B2xwBTw-.mjs +20 -0
  14. package/dist/{index-CI8Z4rNf.mjs → index-BIvJ7rs4.mjs} +1 -1
  15. package/dist/{index-w2SWNZRB.mjs → index-BTO0NHK6.mjs} +2 -2
  16. package/dist/{index-NugT80P7.mjs → index-BV3Je3Rq.mjs} +1 -1
  17. package/dist/{index-DirPUdCN.mjs → index-CNRO77Xg.mjs} +1 -1
  18. package/dist/{index-DxILUznW.mjs → index-CzE5REdf.mjs} +1 -1
  19. package/dist/{index-CNGaGeE7.mjs → index-Hh4b5GAI.mjs} +2 -2
  20. package/dist/{index-CQ5Bo5a2.mjs → index-cBbN-uY2.mjs} +50 -30
  21. package/dist/index.mjs +481 -483
  22. package/dist/{index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs → index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs} +2 -2
  23. package/dist/{info-Dilg-bji.mjs → info-BCPme1g5.mjs} +1 -1
  24. package/dist/{info-BFZTqoY3.mjs → info-BP7wPWFZ.mjs} +1 -1
  25. package/dist/{info-DReeRuaA.mjs → info-CtGMbfQJ.mjs} +1 -1
  26. package/dist/{info-CXx2899k.mjs → info-DCRqBi8M.mjs} +3 -3
  27. package/dist/{info-DvYUiSRY.mjs → info-DRYPl2T-.mjs} +3 -3
  28. package/dist/{info-C0OHjgoS.mjs → info-Dk3RzCIp.mjs} +11 -11
  29. package/dist/style.css +1 -1
  30. package/dts/api/itsm-sys-org/types.d.ts +0 -2
  31. package/dts/api/itsm-sys-org-invoice/types.d.ts +0 -1
  32. package/dts/api/itsm-sys-user-ext/types.d.ts +0 -1
  33. package/dts/constant.d.ts +13 -0
  34. package/dts/index.d.ts +0 -1
  35. package/dts/lang/itsmsys/zh-cn.d.ts +9 -11
  36. package/package.json +3 -3
  37. package/dist/common-B2PCBCJ2.mjs +0 -13
  38. package/dist/edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs +0 -438
  39. package/dist/index-BRupqW34.mjs +0 -96
@@ -1,96 +0,0 @@
1
- import { defineComponent as L, watch as M, onMounted as _, openBlock as f, createElementBlock as k } from "vue";
2
- import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
- async function y() {
4
- return new Promise((r, s) => {
5
- const o = document.createElement("script");
6
- o.type = "text/javascript", o.src = "https://map.qq.com/api/gljs?v=1.exp&key=OBWBZ-L62CW-2B7RQ-YKOOO-P4LR3-4PFXQ&callback=initMap&libraries=service", o.onload = () => {
7
- r(!0);
8
- }, o.onerror = (c) => {
9
- s(c);
10
- }, document.head.appendChild(o);
11
- });
12
- }
13
- const h = {
14
- id: "container",
15
- class: "container"
16
- }, T = /* @__PURE__ */ L({
17
- __name: "index",
18
- props: {
19
- address: {
20
- type: String,
21
- default: ""
22
- }
23
- },
24
- emits: ["getAddress", "getLatLng"],
25
- setup(r, { emit: s }) {
26
- const o = r, c = s;
27
- let l, a;
28
- M(
29
- () => o.address,
30
- (t) => {
31
- u(t);
32
- }
33
- );
34
- async function p() {
35
- const t = new TMap.LatLng(37.870451, 112.549656), n = {
36
- zoom: 16,
37
- center: t
38
- };
39
- l = new TMap.Map(document.getElementById("container"), n), i(t);
40
- }
41
- function i(t) {
42
- console.log("center.....", t), a = new TMap.MultiMarker({
43
- map: l,
44
- styles: {
45
- // 点标记样式
46
- marker: new TMap.MarkerStyle({
47
- width: 20,
48
- // 样式宽
49
- height: 30,
50
- // 样式高
51
- anchor: { x: 10, y: 30 }
52
- // 描点位置
53
- })
54
- },
55
- geometries: [
56
- // 点标记数据数组
57
- {
58
- // 标记位置(纬度,经度,高度)
59
- position: t,
60
- styleId: "marker"
61
- }
62
- ]
63
- }), d();
64
- }
65
- function d() {
66
- l.on("click", (t) => {
67
- console.log("evt.....", t), a.add({
68
- position: t.latLng,
69
- styleId: "marker"
70
- }), new TMap.service.Geocoder().getAddress({ location: new TMap.LatLng(t.latLng.lat, t.latLng.lng) }).then((e) => {
71
- console.log(e), e.status === 0 && (c("getLatLng", [t.latLng.lat, t.latLng.lng]), c("getAddress", e.result.address));
72
- });
73
- });
74
- }
75
- function g() {
76
- a && (console.log("......", a), a.setMap(null), a = null);
77
- }
78
- function u(t) {
79
- const n = new TMap.service.Geocoder();
80
- console.log(n, t), n.getLocation({ address: t }).then((e) => {
81
- console.log(e), e.status === 0 && (g(), i(
82
- new TMap.LatLng(e.result.location.lat, e.result.location.lng)
83
- ), m(e.result.location.lat, e.result.location.lng), c("getLatLng", [e.result.location.lat, e.result.location.lng]));
84
- });
85
- }
86
- function m(t, n) {
87
- l.setCenter(new TMap.LatLng(t, n));
88
- }
89
- return _(async () => {
90
- await y(), await p();
91
- }), (t, n) => (f(), k("div", h));
92
- }
93
- }), O = /* @__PURE__ */ w(T, [["__scopeId", "data-v-a3650af5"]]);
94
- export {
95
- O as _
96
- };