@hisptz/dhis2-analytics 2.1.9 → 2.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/dist/components/Map/index.js +7 -0
- package/dist/components/Map/utils/index.js +28 -0
- package/dist/components/Map/utils/index.js.map +1 -0
- package/dist/esm/components/Map/index.js +1 -0
- package/dist/esm/components/Map/utils/index.js +5 -0
- package/dist/esm/components/Map/utils/index.js.map +1 -0
- package/dist/types/components/Map/index.d.ts +1 -0
- package/dist/types/components/Map/index.d.ts.map +1 -1
- package/dist/types/components/Map/utils/index.d.ts +4 -0
- package/dist/types/components/Map/utils/index.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -8,6 +8,7 @@ var types = require('./components/ThematicLayerConfiguration/types');
|
|
|
8
8
|
var colors_js = require('./constants/colors.js');
|
|
9
9
|
var interfaces = require('./components/MapArea/interfaces');
|
|
10
10
|
var interfaces$1 = require('./components/MapLayer/interfaces');
|
|
11
|
+
var utils = require('./utils');
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
@@ -59,5 +60,11 @@ Object.keys(interfaces$1).forEach(function (k) {
|
|
|
59
60
|
get: function () { return interfaces$1[k]; }
|
|
60
61
|
});
|
|
61
62
|
});
|
|
63
|
+
Object.keys(utils).forEach(function (k) {
|
|
64
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return utils[k]; }
|
|
67
|
+
});
|
|
68
|
+
});
|
|
62
69
|
//# sourceMappingURL=index.js.map
|
|
63
70
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var map = require('./map');
|
|
4
|
+
var colors = require('./colors');
|
|
5
|
+
var helpers = require('./helpers');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.keys(map).forEach(function (k) {
|
|
10
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return map[k]; }
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
Object.keys(colors).forEach(function (k) {
|
|
16
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return colors[k]; }
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
Object.keys(helpers).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return helpers[k]; }
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -6,5 +6,6 @@ export * from './components/ThematicLayerConfiguration/types';
|
|
|
6
6
|
export * from './constants/colors.js';
|
|
7
7
|
export * from './components/MapArea/interfaces';
|
|
8
8
|
export * from './components/MapLayer/interfaces';
|
|
9
|
+
export * from './utils';
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -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,+CAA+C,CAAC;AAC9D,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,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;AACjD,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hisptz/dhis2-analytics",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"tsup": "^8.4.0",
|
|
42
42
|
"typescript": "^5.3.3",
|
|
43
43
|
"usehooks-ts": "^2.16.0",
|
|
44
|
-
"@repo/
|
|
45
|
-
"@repo/
|
|
44
|
+
"@repo/typescript-config": "0.0.2",
|
|
45
|
+
"@repo/eslint-config": "0.0.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@react-leaflet/core": "^2.1.0",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"react-to-print": "^3.0.1",
|
|
72
72
|
"screenfull": "^6.0.2",
|
|
73
73
|
"xlsx": "^0.18.5",
|
|
74
|
-
"@hisptz/dhis2-
|
|
75
|
-
"@hisptz/dhis2-
|
|
74
|
+
"@hisptz/dhis2-utils": "2.0.18",
|
|
75
|
+
"@hisptz/dhis2-ui": "2.0.48"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@dhis2/app-runtime": "^3",
|