ry-vue-mapv3 0.0.4 → 0.0.6

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.
package/dist/index.js CHANGED
@@ -18508,7 +18508,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
18508
18508
  }
18509
18509
  }
18510
18510
  const _hoisted_1$1 = { class: "map-box" };
18511
- const _hoisted_2$1 = { class: "map-style" };
18511
+ const _hoisted_2$1 = {
18512
+ class: "map-style",
18513
+ style: { "height": "100%", "position": "relative", "width": "100%" }
18514
+ };
18512
18515
  const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
18513
18516
  __name: "index",
18514
18517
  props: {
@@ -18647,7 +18650,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
18647
18650
  };
18648
18651
  }
18649
18652
  });
18650
- const RyMap = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-21fe8852"]]);
18653
+ const RyMap = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7436f878"]]);
18651
18654
  RyMap.install = (app) => {
18652
18655
  app.component("RyMap", RyMap);
18653
18656
  };
@@ -20609,11 +20612,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
20609
20612
  polygonMap.value.set(val.id, polygon);
20610
20613
  const text = val.text;
20611
20614
  if (!props.isCheckPointHideAll) {
20612
- initPolygonText(polygon, { text, center, isShow: false });
20615
+ initPolygonText(polygon, { text, center, isShow: true });
20613
20616
  } else if (!props.isCheckPointHideAll && val.isShowText !== void 0 && val.isShowText !== null) {
20614
20617
  initPolygonText(polygon, { text, center, isShow: val.isShowText });
20615
20618
  } else {
20616
- initPolygonText(polygon, { text, center, isShow: true });
20619
+ initPolygonText(polygon, { text, center, isShow: false });
20617
20620
  }
20618
20621
  }
20619
20622
  }
package/dist/index.mjs CHANGED
@@ -18507,7 +18507,10 @@ class MapDto2 {
18507
18507
  }
18508
18508
  }
18509
18509
  const _hoisted_1$1 = { class: "map-box" };
18510
- const _hoisted_2$1 = { class: "map-style" };
18510
+ const _hoisted_2$1 = {
18511
+ class: "map-style",
18512
+ style: { "height": "100%", "position": "relative", "width": "100%" }
18513
+ };
18511
18514
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
18512
18515
  __name: "index",
18513
18516
  props: {
@@ -18646,7 +18649,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18646
18649
  };
18647
18650
  }
18648
18651
  });
18649
- const RyMap = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-21fe8852"]]);
18652
+ const RyMap = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7436f878"]]);
18650
18653
  RyMap.install = (app) => {
18651
18654
  app.component("RyMap", RyMap);
18652
18655
  };
@@ -20608,11 +20611,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20608
20611
  polygonMap.value.set(val.id, polygon);
20609
20612
  const text = val.text;
20610
20613
  if (!props.isCheckPointHideAll) {
20611
- initPolygonText(polygon, { text, center, isShow: false });
20614
+ initPolygonText(polygon, { text, center, isShow: true });
20612
20615
  } else if (!props.isCheckPointHideAll && val.isShowText !== void 0 && val.isShowText !== null) {
20613
20616
  initPolygonText(polygon, { text, center, isShow: val.isShowText });
20614
20617
  } else {
20615
- initPolygonText(polygon, { text, center, isShow: true });
20618
+ initPolygonText(polygon, { text, center, isShow: false });
20616
20619
  }
20617
20620
  }
20618
20621
  }
@@ -441,26 +441,26 @@
441
441
  .ol-overviewmap .ol-viewport:hover {
442
442
  cursor: pointer;
443
443
  }
444
- .map-box[data-v-21fe8852] {
445
- height: 100vh;
444
+ .map-box[data-v-7436f878] {
445
+ height: 100%;
446
446
  position: relative;
447
447
  }
448
- .map-box > .map-style[data-v-21fe8852] {
449
- height: 100vh;
448
+ .map-box > .map-style[data-v-7436f878] {
449
+ height: 100%;
450
450
  position: relative;
451
451
  width: 100%;
452
452
  }
453
- .ry-map-tool[data-v-21fe8852] {
453
+ .ry-map-tool[data-v-7436f878] {
454
454
  position: absolute;
455
455
  top: 20px;
456
456
  }
457
- .left[data-v-21fe8852] {
457
+ .left[data-v-7436f878] {
458
458
  left: 30px;
459
459
  }
460
- .right[data-v-21fe8852] {
460
+ .right[data-v-7436f878] {
461
461
  right: 30px;
462
462
  }
463
- .move-box[data-v-21fe8852] {
463
+ .move-box[data-v-7436f878] {
464
464
  position: absolute;
465
465
  }[data-v-05741d46] {
466
466
  box-sizing: border-box;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ry-vue-mapv3",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -14,7 +14,8 @@
14
14
  "import": "./dist/index.mjs",
15
15
  "require": "./dist/index.js"
16
16
  },
17
- "./dist/style.css": "./dist/style.css"
17
+ "./style": "./dist/ry-vue-mapv3.css",
18
+ "./dist/ry-vue-mapv3.css": "./dist/ry-vue-mapv3.css"
18
19
  },
19
20
  "scripts": {
20
21
  "dev": "vite",
@@ -26,7 +27,6 @@
26
27
  "@turf/line-intersect": "^6.5.0",
27
28
  "element-plus": ">=2.0.0",
28
29
  "ol": ">=10.0.0",
29
- "ry-mapts": ">=0.0.5",
30
30
  "vue": "^3.0.0"
31
31
  },
32
32
  "devDependencies": {
@@ -36,7 +36,7 @@
36
36
  "@vue/tsconfig": "^0.9.1",
37
37
  "element-plus": "^2.9.1",
38
38
  "ol": "^10.0.0",
39
- "ry-mapts": "^0.0.5",
39
+ "ry-mapts": "^0.0.6",
40
40
  "sass-embedded": "^1.83.0",
41
41
  "terser": "5.31.6",
42
42
  "typescript": "^5.7.2",