sctj-components 1.1.9 → 1.1.10
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/lib/sctj-components.es.js +8 -9
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -5399,7 +5399,7 @@ const _sfc_main$8 = {
|
|
|
5399
5399
|
};
|
|
5400
5400
|
}
|
|
5401
5401
|
};
|
|
5402
|
-
const
|
|
5402
|
+
const index_vue_vue_type_style_index_0_scoped_81e99229_lang = "";
|
|
5403
5403
|
const _hoisted_1$6 = {
|
|
5404
5404
|
key: 0,
|
|
5405
5405
|
class: "action-container"
|
|
@@ -5491,8 +5491,8 @@ const _sfc_main$7 = {
|
|
|
5491
5491
|
setup(__props, { expose, emit }) {
|
|
5492
5492
|
const props = __props;
|
|
5493
5493
|
useCssVars((_ctx) => ({
|
|
5494
|
-
"
|
|
5495
|
-
"
|
|
5494
|
+
"2c2353e3": __props.width,
|
|
5495
|
+
"3e782eaa": __props.height
|
|
5496
5496
|
}));
|
|
5497
5497
|
const controlsPositionVars = computed$1(() => {
|
|
5498
5498
|
const position = props.controlsPosition || {};
|
|
@@ -5973,8 +5973,7 @@ const _sfc_main$7 = {
|
|
|
5973
5973
|
size: size ? new AMap.Size(size.width, size.height) : new AMap.Size(state.markerDefaultConfig.size.width, state.markerDefaultConfig.size.height),
|
|
5974
5974
|
offset: size ? new AMap.Pixel(-(size.width / 2), -size.height) : new AMap.Pixel(-(state.markerDefaultConfig.size.width / 2), -state.markerDefaultConfig.size.height),
|
|
5975
5975
|
map: map.value,
|
|
5976
|
-
title
|
|
5977
|
-
zooms: [16, 25]
|
|
5976
|
+
title
|
|
5978
5977
|
});
|
|
5979
5978
|
blink && markerInstance.dom && markerInstance.dom.querySelector(".amap-icon").classList.add("blinking-marker");
|
|
5980
5979
|
label && markerInstance.setLabel({
|
|
@@ -6007,15 +6006,15 @@ const _sfc_main$7 = {
|
|
|
6007
6006
|
offset: size ? new AMap.Pixel(-(size.width / 2), -size.height) : new AMap.Pixel(-(state.markerDefaultConfig.size.width / 2), -state.markerDefaultConfig.size.height),
|
|
6008
6007
|
size: size ? new AMap.Size(size.width, size.height) : new AMap.Size(state.markerDefaultConfig.size.width, state.markerDefaultConfig.size.height),
|
|
6009
6008
|
map: map.value,
|
|
6010
|
-
title
|
|
6011
|
-
zooms: [16, 25]
|
|
6009
|
+
title
|
|
6012
6010
|
});
|
|
6013
6011
|
console.log("markerInstance", markerInstance);
|
|
6014
6012
|
blink && markerInstance.dom && markerInstance.dom.querySelector(".amap-icon").classList.add("blinking-marker");
|
|
6015
6013
|
label && markerInstance.setLabel({
|
|
6016
6014
|
direction: "top",
|
|
6017
6015
|
offset: new AMap.Pixel(0, -5),
|
|
6018
|
-
content: `<div title="${label}" style="${objectToStyleString({ ...state.textLabelDefaultStyle, ...textLabelDefaultStyle })}" class='info'>${label}</div
|
|
6016
|
+
content: `<div title="${label}" style="${objectToStyleString({ ...state.textLabelDefaultStyle, ...textLabelDefaultStyle })}" class='info'>${label}</div>`,
|
|
6017
|
+
zooms: [16, 25]
|
|
6019
6018
|
});
|
|
6020
6019
|
markerInstance.on("click", () => {
|
|
6021
6020
|
emit("overlay-click", { type: "marker", data: marker });
|
|
@@ -6408,7 +6407,7 @@ const _sfc_main$7 = {
|
|
|
6408
6407
|
};
|
|
6409
6408
|
}
|
|
6410
6409
|
};
|
|
6411
|
-
const SCTJMapViewer = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
6410
|
+
const SCTJMapViewer = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-81e99229"]]);
|
|
6412
6411
|
const index_vue_vue_type_style_index_0_scoped_761d2ab4_lang = "";
|
|
6413
6412
|
const _withScopeId$4 = (n) => (pushScopeId("data-v-761d2ab4"), n = n(), popScopeId(), n);
|
|
6414
6413
|
const _hoisted_1$5 = {
|