42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
// Module ID: 411
|
|
// Function ID: 412
|
|
// Name: getConstants
|
|
// Dependencies: [412]
|
|
|
|
// Module 411 (getConstants)
|
|
import I18nManagerDefault from "I18nManager" /* 412 */;
|
|
|
|
if (I18nManagerDefault) {
|
|
const constants = I18nManagerDefault.getConstants();
|
|
let obj = { isRTL: null, doLeftAndRightSwapInRTL: null, localeIdentifier: null };
|
|
({ isRTL: obj3[0], doLeftAndRightSwapInRTL: obj3[1], localeIdentifier: obj3[2] } = constants);
|
|
const importDefaultResult = I18nManagerDefault;
|
|
} else {
|
|
obj = { isRTL: false, doLeftAndRightSwapInRTL: true };
|
|
}
|
|
|
|
export default {
|
|
getConstants() {
|
|
return obj;
|
|
},
|
|
allowRTL(arg0) {
|
|
if (I18nManagerDefault) {
|
|
I18nManagerDefault.allowRTL(arg0);
|
|
const tmpResult = I18nManagerDefault;
|
|
}
|
|
},
|
|
forceRTL(arg0) {
|
|
if (I18nManagerDefault) {
|
|
I18nManagerDefault.forceRTL(arg0);
|
|
const tmpResult = I18nManagerDefault;
|
|
}
|
|
},
|
|
swapLeftAndRightInRTL(arg0) {
|
|
if (I18nManagerDefault) {
|
|
const result = I18nManagerDefault.swapLeftAndRightInRTL(arg0);
|
|
const tmpResult = I18nManagerDefault;
|
|
}
|
|
},
|
|
isRTL: obj.isRTL,
|
|
doLeftAndRightSwapInRTL: obj.doLeftAndRightSwapInRTL
|
|
};
|