@dhis2/analytics 21.0.0-alpha.4 → 21.0.0

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.
@@ -11,7 +11,7 @@ const orgUnitLevelsQuery = {
11
11
  resource: 'organisationUnitLevels',
12
12
  params: ({
13
13
  displayNameProp = 'displayName'
14
- }) => ({
14
+ } = {}) => ({
15
15
  fields: "id,level,".concat(displayNameProp, "~rename(displayName),name"),
16
16
  paging: false
17
17
  })
@@ -20,7 +20,7 @@ const orgUnitGroupsQuery = {
20
20
  resource: 'organisationUnitGroups',
21
21
  params: ({
22
22
  displayNameProp = 'displayName'
23
- }) => ({
23
+ } = {}) => ({
24
24
  fields: "id,".concat(displayNameProp, "~rename(displayName),name"),
25
25
  paging: false
26
26
  })
@@ -3,7 +3,7 @@ const orgUnitLevelsQuery = {
3
3
  resource: 'organisationUnitLevels',
4
4
  params: ({
5
5
  displayNameProp = 'displayName'
6
- }) => ({
6
+ } = {}) => ({
7
7
  fields: "id,level,".concat(displayNameProp, "~rename(displayName),name"),
8
8
  paging: false
9
9
  })
@@ -12,7 +12,7 @@ const orgUnitGroupsQuery = {
12
12
  resource: 'organisationUnitGroups',
13
13
  params: ({
14
14
  displayNameProp = 'displayName'
15
- }) => ({
15
+ } = {}) => ({
16
16
  fields: "id,".concat(displayNameProp, "~rename(displayName),name"),
17
17
  paging: false
18
18
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "21.0.0-alpha.4",
3
+ "version": "21.0.0",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {
@@ -35,7 +35,7 @@
35
35
  "@dhis2/cli-app-scripts": "^6.2.0",
36
36
  "@dhis2/cli-style": "^9.0.1",
37
37
  "@dhis2/d2-i18n": "^1.1.0",
38
- "@dhis2/ui": "^7.7.2",
38
+ "@dhis2/ui": "^7.7.3",
39
39
  "@sambego/storybook-state": "^2.0.1",
40
40
  "@storybook/addons": "^6.1.14",
41
41
  "@storybook/preset-create-react-app": "^3.1.7",
@@ -51,14 +51,13 @@
51
51
  "peerDependencies": {
52
52
  "@dhis2/app-runtime": "^2",
53
53
  "@dhis2/d2-i18n": "^1.1",
54
- "@dhis2/ui": "^6.5.2",
54
+ "@dhis2/ui": "^7.7.3",
55
55
  "prop-types": "^15",
56
56
  "react": "^16.3",
57
57
  "react-dom": "^16.3",
58
58
  "styled-jsx": "^3.3.2"
59
59
  },
60
60
  "dependencies": {
61
- "@dhis2/d2-ui-org-unit-dialog": "^7.3.0",
62
61
  "@dhis2/d2-ui-translation-dialog": "^7.3.1",
63
62
  "classnames": "^2.3.1",
64
63
  "d2-utilizr": "^0.2.16",