@hisptz/dhis2-analytics 2.0.44 → 2.0.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.
- package/dist/components/Map/index.js +21 -0
- package/dist/components/Map/index.js.map +1 -1
- package/dist/esm/components/Map/index.js +3 -0
- package/dist/esm/components/Map/index.js.map +1 -1
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts +2 -2
- package/dist/types/components/Map/index.d.ts +3 -0
- package/dist/types/components/Map/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -4,7 +4,10 @@ var DHIS2Map_js = require('./DHIS2Map.js');
|
|
|
4
4
|
var index_js = require('./interfaces/index.js');
|
|
5
5
|
var EarthEngineLayerConfiguration_js = require('./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js');
|
|
6
6
|
var ThematicLayerConfiguration_js = require('./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js');
|
|
7
|
+
var types = require('./components/ThematicLayerConfiguration/types');
|
|
7
8
|
var colors_js = require('./constants/colors.js');
|
|
9
|
+
var interfaces = require('./components/MapArea/interfaces');
|
|
10
|
+
var interfaces$1 = require('./components/MapLayer/interfaces');
|
|
8
11
|
|
|
9
12
|
|
|
10
13
|
|
|
@@ -32,11 +35,29 @@ Object.keys(ThematicLayerConfiguration_js).forEach(function (k) {
|
|
|
32
35
|
get: function () { return ThematicLayerConfiguration_js[k]; }
|
|
33
36
|
});
|
|
34
37
|
});
|
|
38
|
+
Object.keys(types).forEach(function (k) {
|
|
39
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return types[k]; }
|
|
42
|
+
});
|
|
43
|
+
});
|
|
35
44
|
Object.keys(colors_js).forEach(function (k) {
|
|
36
45
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
37
46
|
enumerable: true,
|
|
38
47
|
get: function () { return colors_js[k]; }
|
|
39
48
|
});
|
|
40
49
|
});
|
|
50
|
+
Object.keys(interfaces).forEach(function (k) {
|
|
51
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return interfaces[k]; }
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
Object.keys(interfaces$1).forEach(function (k) {
|
|
57
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return interfaces$1[k]; }
|
|
60
|
+
});
|
|
61
|
+
});
|
|
41
62
|
//# sourceMappingURL=out.js.map
|
|
42
63
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from \"./DHIS2Map.js\";\nexport * from \"./interfaces/index.js\";\nexport * from \"./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js\";\nexport * from \"./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js\";\nexport * from \"./constants/colors.js\";\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from \"./DHIS2Map.js\";\nexport * from \"./interfaces/index.js\";\nexport * from \"./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js\";\nexport * from \"./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js\";\nexport * from \"./components/ThematicLayerConfiguration/types\";\nexport * from \"./constants/colors.js\";\nexport * from \"./components/MapArea/interfaces\";\nexport * from \"./components/MapLayer/interfaces\";\n"]}
|
|
@@ -2,6 +2,9 @@ export * from './DHIS2Map.js';
|
|
|
2
2
|
export * from './interfaces/index.js';
|
|
3
3
|
export * from './components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js';
|
|
4
4
|
export * from './components/ThematicLayerConfiguration/ThematicLayerConfiguration.js';
|
|
5
|
+
export * from './components/ThematicLayerConfiguration/types';
|
|
5
6
|
export * from './constants/colors.js';
|
|
7
|
+
export * from './components/MapArea/interfaces';
|
|
8
|
+
export * from './components/MapLayer/interfaces';
|
|
6
9
|
//# sourceMappingURL=out.js.map
|
|
7
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from \"./DHIS2Map.js\";\nexport * from \"./interfaces/index.js\";\nexport * from \"./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js\";\nexport * from \"./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js\";\nexport * from \"./constants/colors.js\";\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from \"./DHIS2Map.js\";\nexport * from \"./interfaces/index.js\";\nexport * from \"./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js\";\nexport * from \"./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js\";\nexport * from \"./components/ThematicLayerConfiguration/types\";\nexport * from \"./constants/colors.js\";\nexport * from \"./components/MapArea/interfaces\";\nexport * from \"./components/MapLayer/interfaces\";\n"]}
|
|
@@ -10,7 +10,7 @@ export declare function useMapPeriods(): {
|
|
|
10
10
|
} | undefined;
|
|
11
11
|
} | undefined;
|
|
12
12
|
export declare function useMapLayers(): {
|
|
13
|
-
layers: import("
|
|
14
|
-
updateLayer: (id: string, updatedLayer: import("
|
|
13
|
+
layers: import("../../../index.js").CustomMapLayer[];
|
|
14
|
+
updateLayer: (id: string, updatedLayer: import("../../../index.js").CustomMapLayer) => void;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,5 +2,8 @@ export * from "./DHIS2Map.js";
|
|
|
2
2
|
export * from "./interfaces/index.js";
|
|
3
3
|
export * from "./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js";
|
|
4
4
|
export * from "./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js";
|
|
5
|
+
export * from "./components/ThematicLayerConfiguration/types";
|
|
5
6
|
export * from "./constants/colors.js";
|
|
7
|
+
export * from "./components/MapArea/interfaces";
|
|
8
|
+
export * from "./components/MapLayer/interfaces";
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,6EAA6E,CAAC;AAC5F,cAAc,uEAAuE,CAAC;AACtF,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,6EAA6E,CAAC;AAC5F,cAAc,uEAAuE,CAAC;AACtF,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hisptz/dhis2-analytics",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.46",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"tsup": "^8.0.1",
|
|
47
47
|
"typescript": "^5.3.3",
|
|
48
48
|
"usehooks-ts": "^2.9.2",
|
|
49
|
-
"@repo/
|
|
50
|
-
"@repo/
|
|
49
|
+
"@repo/eslint-config": "0.0.0",
|
|
50
|
+
"@repo/typescript-config": "0.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@react-leaflet/core": "^2.1.0",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"screenfull": "^6.0.2",
|
|
79
79
|
"xlsx": "^0.18.5",
|
|
80
80
|
"zod": "^3.23.8",
|
|
81
|
-
"@hisptz/dhis2-
|
|
82
|
-
"@hisptz/dhis2-
|
|
81
|
+
"@hisptz/dhis2-ui": "2.0.27",
|
|
82
|
+
"@hisptz/dhis2-utils": "2.0.8"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@dhis2/app-runtime": "^3.10.2",
|