32 lines
842 B
TypeScript
32 lines
842 B
TypeScript
// Module ID: 1872
|
|
// Function ID: 20874
|
|
// Name: parseStoreCountry
|
|
// Dependencies: [2]
|
|
// Exports: parseStoreCountry
|
|
|
|
// Module 1872 (parseStoreCountry)
|
|
const result = require("set").fileFinishedImporting("modules/billing/utils/StoreCountryUtils.tsx");
|
|
|
|
export const parseStoreCountry = function parseStoreCountry(storeCountry) {
|
|
let set_at;
|
|
let tmp = storeCountry;
|
|
if (null != storeCountry) {
|
|
const obj = {};
|
|
({ country: obj.country, set_at } = storeCountry);
|
|
if (null == set_at) {
|
|
set_at = storeCountry.setAt;
|
|
}
|
|
let tmp2 = null;
|
|
if (null != set_at) {
|
|
tmp2 = set_at;
|
|
}
|
|
obj.setAt = tmp2;
|
|
let isLocked = storeCountry.is_locked;
|
|
if (null == isLocked) {
|
|
isLocked = storeCountry.isLocked;
|
|
}
|
|
obj.isLocked = null != isLocked && isLocked;
|
|
tmp = obj;
|
|
}
|
|
return tmp;
|
|
};
|