@dhis2/analytics 29.0.5 → 29.1.1
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.
|
@@ -68,7 +68,7 @@ const dataItemsQuery = exports.dataItemsQuery = {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
if (searchTerm) {
|
|
71
|
-
filters.push(
|
|
71
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
72
72
|
}
|
|
73
73
|
return (0, _objectClean.default)({
|
|
74
74
|
fields,
|
|
@@ -92,7 +92,7 @@ const indicatorsQuery = exports.indicatorsQuery = {
|
|
|
92
92
|
filters.push(`indicatorGroups.id:eq:${filter.group}`);
|
|
93
93
|
}
|
|
94
94
|
if (searchTerm) {
|
|
95
|
-
filters.push(
|
|
95
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
96
96
|
}
|
|
97
97
|
return {
|
|
98
98
|
fields: `id,${nameProp}~rename(name),dimensionItemType`,
|
|
@@ -127,7 +127,7 @@ const dataElementsQuery = exports.dataElementsQuery = {
|
|
|
127
127
|
filters.push(`dataElementGroups.id:eq:${filter.group}`);
|
|
128
128
|
}
|
|
129
129
|
if (searchTerm) {
|
|
130
|
-
filters.push(
|
|
130
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
131
131
|
}
|
|
132
132
|
return {
|
|
133
133
|
fields: `${idField},${nameProp}~rename(name),dimensionItemType`,
|
|
@@ -160,7 +160,7 @@ const itemsByDimensionQuery = exports.itemsByDimensionQuery = {
|
|
|
160
160
|
}) => {
|
|
161
161
|
const filters = [];
|
|
162
162
|
if (searchTerm) {
|
|
163
|
-
filters.push(
|
|
163
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
164
164
|
}
|
|
165
165
|
return {
|
|
166
166
|
fields: `id,${nameProp}~rename(name)`,
|
|
@@ -185,7 +185,7 @@ const dataElementOperandsQuery = exports.dataElementOperandsQuery = {
|
|
|
185
185
|
filters.push(`dataElement.dataElementGroups.id:eq:${filter.group}`);
|
|
186
186
|
}
|
|
187
187
|
if (searchTerm) {
|
|
188
|
-
filters.push(
|
|
188
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
189
189
|
}
|
|
190
190
|
return {
|
|
191
191
|
fields: `${idField},${nameProp}~rename(name),dimensionItemType`,
|
|
@@ -206,7 +206,7 @@ const dataSetsQuery = exports.dataSetsQuery = {
|
|
|
206
206
|
}) => {
|
|
207
207
|
const filters = [];
|
|
208
208
|
if (searchTerm) {
|
|
209
|
-
filters.push(
|
|
209
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
210
210
|
}
|
|
211
211
|
if (filter !== null && filter !== void 0 && filter.group && filter.group !== _dataTypes.DIMENSION_TYPE_ALL) {
|
|
212
212
|
filters.push(`id:eq:${filter.group}`);
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"Category combo name": "",
|
|
63
63
|
"Categories name": "",
|
|
64
64
|
"Period type": "",
|
|
65
|
-
"Indicators": "",
|
|
65
|
+
"Indicators": "इंडिकेटर्स",
|
|
66
66
|
"Expiry days": "",
|
|
67
67
|
"Type": "",
|
|
68
68
|
"Data element": "डेटा एलिमेंट",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"Last updated": "अंतिम अपडेट",
|
|
211
211
|
"Clear filters": "",
|
|
212
212
|
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
|
|
213
|
-
"Open": "",
|
|
213
|
+
"Open": "खोलें",
|
|
214
214
|
"Couldn't load items": "",
|
|
215
215
|
"There was a problem loading items. Try again or contact your system administrator.": "",
|
|
216
216
|
"No items found. Create a new to get started.": "",
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"Multi text": "",
|
|
426
426
|
"Letter": "",
|
|
427
427
|
"Phone number": "फ़ोन नंबर",
|
|
428
|
-
"Email": "",
|
|
428
|
+
"Email": "ईमेल",
|
|
429
429
|
"Yes/No": "",
|
|
430
430
|
"Yes Only": "",
|
|
431
431
|
"Date": "तारीख",
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"Negative Integer": "",
|
|
439
439
|
"Positive or Zero Integer": "",
|
|
440
440
|
"Tracker Associate": "",
|
|
441
|
-
"Username": "",
|
|
441
|
+
"Username": "यूज़रनेम",
|
|
442
442
|
"Coordinate": "",
|
|
443
443
|
"Reference": "",
|
|
444
444
|
"Age": "आयु",
|
|
@@ -62,7 +62,7 @@ export const dataItemsQuery = {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
if (searchTerm) {
|
|
65
|
-
filters.push(
|
|
65
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
66
66
|
}
|
|
67
67
|
return objectClean({
|
|
68
68
|
fields,
|
|
@@ -86,7 +86,7 @@ export const indicatorsQuery = {
|
|
|
86
86
|
filters.push(`indicatorGroups.id:eq:${filter.group}`);
|
|
87
87
|
}
|
|
88
88
|
if (searchTerm) {
|
|
89
|
-
filters.push(
|
|
89
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
90
90
|
}
|
|
91
91
|
return {
|
|
92
92
|
fields: `id,${nameProp}~rename(name),dimensionItemType`,
|
|
@@ -121,7 +121,7 @@ export const dataElementsQuery = {
|
|
|
121
121
|
filters.push(`dataElementGroups.id:eq:${filter.group}`);
|
|
122
122
|
}
|
|
123
123
|
if (searchTerm) {
|
|
124
|
-
filters.push(
|
|
124
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
125
125
|
}
|
|
126
126
|
return {
|
|
127
127
|
fields: `${idField},${nameProp}~rename(name),dimensionItemType`,
|
|
@@ -154,7 +154,7 @@ export const itemsByDimensionQuery = {
|
|
|
154
154
|
}) => {
|
|
155
155
|
const filters = [];
|
|
156
156
|
if (searchTerm) {
|
|
157
|
-
filters.push(
|
|
157
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
158
158
|
}
|
|
159
159
|
return {
|
|
160
160
|
fields: `id,${nameProp}~rename(name)`,
|
|
@@ -179,7 +179,7 @@ export const dataElementOperandsQuery = {
|
|
|
179
179
|
filters.push(`dataElement.dataElementGroups.id:eq:${filter.group}`);
|
|
180
180
|
}
|
|
181
181
|
if (searchTerm) {
|
|
182
|
-
filters.push(
|
|
182
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
183
183
|
}
|
|
184
184
|
return {
|
|
185
185
|
fields: `${idField},${nameProp}~rename(name),dimensionItemType`,
|
|
@@ -200,7 +200,7 @@ export const dataSetsQuery = {
|
|
|
200
200
|
}) => {
|
|
201
201
|
const filters = [];
|
|
202
202
|
if (searchTerm) {
|
|
203
|
-
filters.push(
|
|
203
|
+
filters.push(`identifiable:token:${searchTerm}`);
|
|
204
204
|
}
|
|
205
205
|
if (filter !== null && filter !== void 0 && filter.group && filter.group !== DIMENSION_TYPE_ALL) {
|
|
206
206
|
filters.push(`id:eq:${filter.group}`);
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"Category combo name": "",
|
|
63
63
|
"Categories name": "",
|
|
64
64
|
"Period type": "",
|
|
65
|
-
"Indicators": "",
|
|
65
|
+
"Indicators": "इंडिकेटर्स",
|
|
66
66
|
"Expiry days": "",
|
|
67
67
|
"Type": "",
|
|
68
68
|
"Data element": "डेटा एलिमेंट",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"Last updated": "अंतिम अपडेट",
|
|
211
211
|
"Clear filters": "",
|
|
212
212
|
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
|
|
213
|
-
"Open": "",
|
|
213
|
+
"Open": "खोलें",
|
|
214
214
|
"Couldn't load items": "",
|
|
215
215
|
"There was a problem loading items. Try again or contact your system administrator.": "",
|
|
216
216
|
"No items found. Create a new to get started.": "",
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"Multi text": "",
|
|
426
426
|
"Letter": "",
|
|
427
427
|
"Phone number": "फ़ोन नंबर",
|
|
428
|
-
"Email": "",
|
|
428
|
+
"Email": "ईमेल",
|
|
429
429
|
"Yes/No": "",
|
|
430
430
|
"Yes Only": "",
|
|
431
431
|
"Date": "तारीख",
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"Negative Integer": "",
|
|
439
439
|
"Positive or Zero Integer": "",
|
|
440
440
|
"Tracker Associate": "",
|
|
441
|
-
"Username": "",
|
|
441
|
+
"Username": "यूज़रनेम",
|
|
442
442
|
"Coordinate": "",
|
|
443
443
|
"Reference": "",
|
|
444
444
|
"Age": "आयु",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2/analytics",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.1.1",
|
|
4
4
|
"main": "./build/cjs/index.js",
|
|
5
5
|
"module": "./build/es/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@dhis2/cli-app-scripts": "^12.6.4",
|
|
35
35
|
"@dhis2/cli-style": "^10.7.9",
|
|
36
36
|
"@dhis2/d2-i18n": "^1.1.0",
|
|
37
|
-
"@dhis2/ui": "^10.
|
|
37
|
+
"@dhis2/ui": "^10.12.7",
|
|
38
38
|
"@mihkeleidast/storybook-addon-source": "^1.0.1",
|
|
39
39
|
"@storybook/preset-create-react-app": "^8.3.6",
|
|
40
40
|
"@storybook/react": "^8.3.6",
|