g-ui-web 1.4.45 → 1.4.46

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.
Binary file
package/lib/g-ui-web.js CHANGED
@@ -116927,6 +116927,11 @@ ${j.value}${Y}`, _ = (Y, j, J, le) => {
116927
116927
  blockColorList: {
116928
116928
  type: Object,
116929
116929
  default: () => ({})
116930
+ },
116931
+ // 板块名称标签自定义 class
116932
+ blockLabelClass: {
116933
+ type: String,
116934
+ default: ""
116930
116935
  }
116931
116936
  },
116932
116937
  emits: ["block-select", "marker-click", "hover-marker", "map-click", "on-error", "complete"],
@@ -117011,7 +117016,8 @@ ${j.value}${Y}`, _ = (Y, j, J, le) => {
117011
117016
  zoom: a.mapConfig.zoom,
117012
117017
  center: a.mapConfig.center,
117013
117018
  viewMode: a.mapConfig.viewMode,
117014
- mapStyle: a.mapConfig.mapStyle
117019
+ mapStyle: a.mapConfig.mapStyle,
117020
+ features: a.mapConfig.features
117015
117021
  }), l.on("complete", () => {
117016
117022
  var Y, j;
117017
117023
  (Y = a.mapConfig.scaleControl) != null && Y.visible && l.addControl(new X.Scale(a.mapConfig.scaleControl.options || {})), (j = a.mapConfig.toolBarControl) != null && j.visible && l.addControl(new X.ToolBar(a.mapConfig.toolBarControl.options || {})), A(), a.mapMode === "scatter" && E(), a.mapMode === "heatmap" && T(), D(), o("complete", l);
@@ -117057,7 +117063,7 @@ ${j.value}${Y}`, _ = (Y, j, J, le) => {
117057
117063
  zIndex: h.value.block
117058
117064
  }), he = parseFloat(j.centroidX), Te = parseFloat(j.centroidY), be = !isNaN(he) && !isNaN(Te) ? [he, Te] : le[0], Ne = new H.Marker({
117059
117065
  position: be,
117060
- content: `<div style="color: ${re}; padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap;">${ge}</div>`,
117066
+ content: `<div class="submarket-block-label ${a.blockLabelClass}" style="color: ${re}; padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap;">${ge}</div>`,
117061
117067
  offset: new H.Pixel(-20, -10),
117062
117068
  visible: a.showBlockLabel
117063
117069
  });
@@ -117217,7 +117223,7 @@ ${j.value}${Y}`, _ = (Y, j, J, le) => {
117217
117223
  })
117218
117224
  ], 544));
117219
117225
  }
117220
- }), R_t = /* @__PURE__ */ Gr(I_t, [["__scopeId", "data-v-084147c5"]]), L_t = Qt(R_t), P_t = Z({
117226
+ }), R_t = /* @__PURE__ */ Gr(I_t, [["__scopeId", "data-v-6ef6b9a9"]]), L_t = Qt(R_t), P_t = Z({
117221
117227
  name: "GRow"
117222
117228
  }), N_t = /* @__PURE__ */ Z({
117223
117229
  ...P_t,
Binary file