d2-analysis
Advanced tools
Comparing version 33.1.2 to 33.1.3
@@ -46,2 +46,3 @@ 'use strict'; | ||
var timeField; | ||
var orgUnitField; | ||
@@ -382,2 +383,12 @@ // setter | ||
var setOrgUnitField = function setOrgUnitField() { | ||
orgUnitField = { | ||
event_org_unit: { | ||
index: 0, | ||
id: 'EVENT_ORG_UNIT', | ||
name: i18nManager.get('event_org_unit') || 'Event org unit' | ||
} | ||
}; | ||
}; | ||
// logic | ||
@@ -413,2 +424,3 @@ var getRecords = function getRecords(optionType) { | ||
setTimeField(); | ||
setOrgUnitField(); | ||
}; | ||
@@ -469,2 +481,6 @@ | ||
t.getOrgUnitField = function (key) { | ||
return key ? orgUnitField[key] : orgUnitField; | ||
}; | ||
t.getDisplayDensityRecords = function () { | ||
@@ -518,2 +534,6 @@ return getRecords(displayDensity); | ||
t.getOrgUnitFieldRecords = function () { | ||
return getRecords(orgUnitField); | ||
}; | ||
t.getDigitGroupSeparatorIdMap = function () { | ||
@@ -520,0 +540,0 @@ var map = {}; |
{ | ||
"name": "d2-analysis", | ||
"version": "33.1.2", | ||
"version": "33.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,2 +27,3 @@ import arrayTo from 'd2-utilizr/lib/arrayTo'; | ||
var timeField; | ||
var orgUnitField; | ||
@@ -367,2 +368,12 @@ // setter | ||
var setOrgUnitField = function() { | ||
orgUnitField = { | ||
event_org_unit: { | ||
index: 0, | ||
id: 'EVENT_ORG_UNIT', | ||
name: i18nManager.get('event_org_unit') || 'Event org unit' | ||
} | ||
} | ||
}; | ||
// logic | ||
@@ -398,2 +409,3 @@ var getRecords = function(optionType) { | ||
setTimeField(); | ||
setOrgUnitField(); | ||
}; | ||
@@ -454,2 +466,6 @@ | ||
t.getOrgUnitField = function(key) { | ||
return key ? orgUnitField[key] : orgUnitField; | ||
}; | ||
t.getDisplayDensityRecords = function() { | ||
@@ -503,2 +519,6 @@ return getRecords(displayDensity); | ||
t.getOrgUnitFieldRecords = function() { | ||
return getRecords(orgUnitField); | ||
}; | ||
t.getDigitGroupSeparatorIdMap = function() { | ||
@@ -505,0 +525,0 @@ var map = {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3848833
50864