@geoql/v-maplibre 1.2.0 → 1.2.2

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
@@ -1,4 +1,4 @@
1
- import { aR as r, aQ as l, ac as s, ad as V, ae as y, af as c, ag as L, aN as g, ai as k, ar as o, aq as D, ax as i, aI as t, aj as n, aG as p, aw as C, as as M, aB as u, aA as b, au as d, av as G, ao as m, al as S, aC as P, ak as h, at as H, am as T, aJ as v, aH as x, ah as f, aM as j, ay as A, aL as I, an as K, aF as O, ap as B, aD as F, aE as N, az as Q, aK as R, a4 as q, a6 as w, a5 as z, a7 as E, ab as J, a8 as W, a9 as U, aa as X, a1 as Y, a2 as Z, a3 as _, a1 as $, aP as aa, aO as ea } from "./index-BdU-GZRP.js";
1
+ import { aR as r, aQ as l, ac as s, ad as V, ae as y, af as c, ag as L, aN as g, ai as k, ar as o, aq as D, ax as i, aI as t, aj as n, aG as p, aw as C, as as M, aB as u, aA as b, au as d, av as G, ao as m, al as S, aC as P, ak as h, at as H, am as T, aJ as v, aH as x, ah as f, aM as j, ay as A, aL as I, an as K, aF as O, ap as B, aD as F, aE as N, az as Q, aK as R, a4 as q, a6 as w, a5 as z, a7 as E, ab as J, a8 as W, a9 as U, aa as X, a1 as Y, a2 as Z, a3 as _, a1 as $, aP as aa, aO as ea } from "./index-kNnO8_Zs.js";
2
2
  export {
3
3
  r as DeckLayersKey,
4
4
  l as DeckOverlayKey,
@@ -14,7 +14,7 @@ interface UseDeckOverlayReturn {
14
14
  overlay: ShallowRef<MapboxOverlay | null>;
15
15
  layers: Ref<unknown[]>;
16
16
  isInitialized: Ref<boolean>;
17
- initOverlay: () => void;
17
+ initOverlay: () => Promise<void>;
18
18
  addLayer: (layer: unknown) => void;
19
19
  removeLayer: (layerId: string) => void;
20
20
  updateLayer: (layerId: string, layer: unknown) => void;
@@ -105,6 +105,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
105
105
  elevationScale: number;
106
106
  coverage: number;
107
107
  cellSize: number;
108
+ gpuAggregation: boolean;
108
109
  upperPercentile: number;
109
110
  lowerPercentile: number;
110
111
  elevationUpperPercentile: number;
@@ -112,7 +113,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
112
113
  colorScaleType: "quantize" | "linear" | "quantile" | "ordinal";
113
114
  colorAggregation: "SUM" | "MEAN" | "MIN" | "MAX";
114
115
  elevationAggregation: "SUM" | "MEAN" | "MIN" | "MAX";
115
- gpuAggregation: boolean;
116
116
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
117
117
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
118
118
  declare const _default: typeof __VLS_export;
@@ -7,6 +7,7 @@ interface Props<D = unknown> {
7
7
  getPosition: Accessor<D, Position>;
8
8
  getColorWeight?: Accessor<D, number>;
9
9
  getElevationWeight?: Accessor<D, number>;
10
+ gpuAggregation?: boolean;
10
11
  radius?: number;
11
12
  elevationScale?: number;
12
13
  elevationRange?: [number, number];
@@ -20,8 +21,8 @@ interface Props<D = unknown> {
20
21
  elevationLowerPercentile?: number;
21
22
  colorScaleType?: 'quantize' | 'linear' | 'quantile' | 'ordinal';
22
23
  material?: boolean | object;
23
- colorAggregation?: 'SUM' | 'MEAN' | 'MIN' | 'MAX';
24
- elevationAggregation?: 'SUM' | 'MEAN' | 'MIN' | 'MAX';
24
+ colorAggregation?: 'SUM' | 'MEAN' | 'MIN' | 'MAX' | 'COUNT';
25
+ elevationAggregation?: 'SUM' | 'MEAN' | 'MIN' | 'MAX' | 'COUNT';
25
26
  opacity?: number;
26
27
  visible?: boolean;
27
28
  pickable?: boolean;
@@ -105,13 +106,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
105
106
  elevationScale: number;
106
107
  radius: number;
107
108
  coverage: number;
109
+ gpuAggregation: boolean;
108
110
  upperPercentile: number;
109
111
  lowerPercentile: number;
110
112
  elevationUpperPercentile: number;
111
113
  elevationLowerPercentile: number;
112
114
  colorScaleType: "quantize" | "linear" | "quantile" | "ordinal";
113
- colorAggregation: "SUM" | "MEAN" | "MIN" | "MAX";
114
- elevationAggregation: "SUM" | "MEAN" | "MIN" | "MAX";
115
+ colorAggregation: "SUM" | "MEAN" | "MIN" | "MAX" | "COUNT";
116
+ elevationAggregation: "SUM" | "MEAN" | "MIN" | "MAX" | "COUNT";
115
117
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
118
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
117
119
  declare const _default: typeof __VLS_export;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoql/v-maplibre",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Vue 3 components for MapLibre GL - reactive map components with full TypeScript support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,8 +30,6 @@
30
30
  "lint:fix": "oxlint --fix",
31
31
  "format": "prettier --write .",
32
32
  "format:check": "prettier --check .",
33
- "prepare": "husky || true",
34
- "release": "release-it",
35
33
  "prepublishOnly": "bun run lint && bun run format:check && bun run test:coverage && bun run build"
36
34
  },
37
35
  "peerDependencies": {
@@ -64,37 +62,30 @@
64
62
  }
65
63
  },
66
64
  "dependencies": {
67
- "maplibre-gl": "^5.15.0",
65
+ "maplibre-gl": "catalog:",
68
66
  "pmtiles": "^4.3.2"
69
67
  },
70
68
  "devDependencies": {
71
- "@deck.gl/core": "^9.2.5",
72
- "@deck.gl/layers": "^9.2.5",
73
- "@deck.gl/mapbox": "^9.2.5",
74
- "@deck.gl/aggregation-layers": "^9.2.5",
75
- "@deck.gl/geo-layers": "^9.2.5",
76
- "@deck.gl/mesh-layers": "^9.2.5",
77
- "@awmottaz/prettier-plugin-void-html": "^2.0.0",
78
- "@commitlint/cli": "^20.3.0",
79
- "@commitlint/config-conventional": "^20.3.0",
80
- "@release-it/conventional-changelog": "^10.0.4",
81
- "@types/node": "^25.0.3",
69
+ "@deck.gl/core": "catalog:deckgl",
70
+ "@deck.gl/layers": "catalog:deckgl",
71
+ "@deck.gl/mapbox": "catalog:deckgl",
72
+ "@deck.gl/aggregation-layers": "catalog:deckgl",
73
+ "@deck.gl/geo-layers": "catalog:deckgl",
74
+ "@deck.gl/mesh-layers": "catalog:deckgl",
75
+ "@awmottaz/prettier-plugin-void-html": "catalog:",
76
+ "@types/node": "^25.0.6",
82
77
  "@vitejs/plugin-vue": "^6.0.3",
83
78
  "@vitest/coverage-v8": "^4.0.16",
84
79
  "@vitest/ui": "^4.0.16",
85
80
  "@vue/test-utils": "^2.4.6",
86
- "happy-dom": "^20.0.11",
87
- "husky": "^9.1.7",
88
- "is-ci": "^4.1.0",
89
- "lint-staged": "^16.2.7",
90
- "oxlint": "^1.37.0",
91
- "prettier": "^3.7.4",
92
- "release-it": "^19.2.2",
93
- "typescript": "^5.9.3",
94
- "vite": "^7.3.0",
81
+ "happy-dom": "^20.1.0",
82
+ "oxlint": "catalog:",
83
+ "prettier": "catalog:",
84
+ "typescript": "catalog:",
85
+ "vite": "^7.3.1",
95
86
  "vitest": "^4.0.16",
96
- "vue": "^3.5.26",
97
- "vue-tsc": "^3.2.1"
87
+ "vue": "catalog:",
88
+ "vue-tsc": "^3.2.2"
98
89
  },
99
90
  "publishConfig": {
100
91
  "access": "public"
@@ -118,7 +109,8 @@
118
109
  "license": "MIT",
119
110
  "repository": {
120
111
  "type": "git",
121
- "url": "https://github.com/geoql/v-maplibre.git"
112
+ "url": "https://github.com/geoql/v-maplibre.git",
113
+ "directory": "packages/v-maplibre"
122
114
  },
123
115
  "bugs": {
124
116
  "url": "https://github.com/geoql/v-maplibre/issues"