@idmwx/idmui-gl4 3.9.4 → 3.9.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.
@@ -71,6 +71,7 @@ declare namespace _sfc_main {
71
71
  helper: undefined;
72
72
  zoom: number;
73
73
  defaultZoom: number;
74
+ maxZoom: number;
74
75
  right: number;
75
76
  vendorKeys: string[];
76
77
  vendor: undefined;
@@ -102,6 +103,7 @@ declare namespace _sfc_main {
102
103
  handler(newV: any, oldV: any): void;
103
104
  };
104
105
  };
106
+ function mounted(): void;
105
107
  function beforeUnmount(): Promise<void>;
106
108
  namespace methods {
107
109
  /**
@@ -67,6 +67,7 @@ declare namespace _sfc_main {
67
67
  loading: boolean;
68
68
  deleteDialog: boolean;
69
69
  deleteLoading: boolean;
70
+ deleteType: undefined;
70
71
  layerGroup: never[];
71
72
  layers: never[];
72
73
  groupIndex: number;
@@ -74,9 +75,7 @@ declare namespace _sfc_main {
74
75
  drawnLayerIds: never[];
75
76
  layerMarkers: {};
76
77
  groupDialog: boolean;
77
- currentGroup: null;
78
- currentGroupId: string;
79
- currentGroupName: string;
78
+ currentGroup: undefined;
80
79
  };
81
80
  namespace computed {
82
81
  function listStyle(): any;
@@ -110,8 +109,9 @@ declare namespace _sfc_main {
110
109
  function handleSaveMarker(marker: any): void;
111
110
  function handleCloseDraw(): void;
112
111
  function handleEditLayer(group: any, layer: any): void;
112
+ function handleLayerClick(group: any, layer: any): void;
113
113
  function fetchAllLayers(): Promise<void>;
114
- function handleDeleteLayer(layer: any): Promise<void>;
114
+ function handleDeleteLayer(id: any): Promise<void>;
115
115
  function handleRenderLayer(layer: any): void;
116
116
  function handleDrawAllLayers(): void;
117
117
  function handleClearAllLayers(): void;
@@ -127,7 +127,7 @@ declare namespace _sfc_main {
127
127
  immediate: boolean;
128
128
  };
129
129
  map: {
130
- handler(): void;
130
+ handler(newMap: any, oldMap: any): void;
131
131
  };
132
132
  showTropicalsInfo: {
133
133
  handler(): void;
@@ -153,6 +153,7 @@ declare namespace _sfc_main {
153
153
  function handleInit(): void;
154
154
  function handleRender(): void;
155
155
  function handleClear(): void;
156
+ function handleUpdateMarkerVisibility(): void;
156
157
  function handleDateChange(): void;
157
158
  function handleClick(event: any): void;
158
159
  function drawTropicalsInfoMaker(coord: any): void;
@@ -87,6 +87,11 @@ export declare class Viewport3D {
87
87
  * 移除 custom layers(切回 mercator 时由 weather 组件调用)
88
88
  */
89
89
  cleanup(): void;
90
+ /**
91
+ * 幂等释放所有 GPU 资源(buffer / texture / program)。
92
+ * 投影切换时地图 GL 上下文保留,不调用则资源泄漏。
93
+ */
94
+ private disposeGpuResources;
90
95
  /**
91
96
  * 供粒子绘制 pass 读取的 globe 相机状态,由 custom layer render() 每帧刷新
92
97
  */
@@ -1,6 +1,6 @@
1
- import { d as l } from "./chunk-ANSXOGKI-e0ef9a5b.js";
2
- import "./chunk-3VYIPD3A-bc1be50a.js";
3
- import "./index-1ff74ad5.js";
1
+ import { d as l } from "./chunk-ANSXOGKI-a767a2ef.js";
2
+ import "./chunk-3VYIPD3A-24ad3023.js";
3
+ import "./index-f5930426.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -1,6 +1,6 @@
1
- import { m as k } from "./chunk-T4JIPPZO-c651dede.js";
2
- import "./chunk-3VYIPD3A-bc1be50a.js";
3
- import "./index-1ff74ad5.js";
1
+ import { m as k } from "./chunk-T4JIPPZO-2877877c.js";
2
+ import "./chunk-3VYIPD3A-24ad3023.js";
3
+ import "./index-f5930426.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -1,5 +1,5 @@
1
- import { W as g } from "./chunk-3VYIPD3A-bc1be50a.js";
2
- import "./index-1ff74ad5.js";
1
+ import { W as g } from "./chunk-3VYIPD3A-24ad3023.js";
2
+ import "./index-f5930426.js";
3
3
  import "axios";
4
4
  import "vuetify";
5
5
  import "vue";
@@ -1,6 +1,6 @@
1
- import { d as u } from "./chunk-ANSXOGKI-e0ef9a5b.js";
2
- import { l as g } from "./index-1ff74ad5.js";
3
- import "./chunk-3VYIPD3A-bc1be50a.js";
1
+ import { d as u } from "./chunk-ANSXOGKI-a767a2ef.js";
2
+ import { l as g } from "./index-f5930426.js";
3
+ import "./chunk-3VYIPD3A-24ad3023.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idmwx/idmui-gl4",
3
3
  "private": false,
4
- "version": "3.9.4",
4
+ "version": "3.9.6",
5
5
  "description": "idm webgl4",
6
6
  "type": "module",
7
7
  "keywords": [