GT2/Ejectable/node_modules/@react-navigation/routers/lib/commonjs/index.js

91 lines
3.0 KiB
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
CommonActions: true,
BaseRouter: true,
StackRouter: true,
StackActions: true,
TabRouter: true,
TabActions: true,
DrawerRouter: true,
DrawerActions: true
};
Object.defineProperty(exports, "BaseRouter", {
enumerable: true,
get: function () {
return _BaseRouter.default;
}
});
Object.defineProperty(exports, "StackRouter", {
enumerable: true,
get: function () {
return _StackRouter.default;
}
});
Object.defineProperty(exports, "StackActions", {
enumerable: true,
get: function () {
return _StackRouter.StackActions;
}
});
Object.defineProperty(exports, "TabRouter", {
enumerable: true,
get: function () {
return _TabRouter.default;
}
});
Object.defineProperty(exports, "TabActions", {
enumerable: true,
get: function () {
return _TabRouter.TabActions;
}
});
Object.defineProperty(exports, "DrawerRouter", {
enumerable: true,
get: function () {
return _DrawerRouter.default;
}
});
Object.defineProperty(exports, "DrawerActions", {
enumerable: true,
get: function () {
return _DrawerRouter.DrawerActions;
}
});
exports.CommonActions = void 0;
var CommonActions = _interopRequireWildcard(require("./CommonActions"));
exports.CommonActions = CommonActions;
var _BaseRouter = _interopRequireDefault(require("./BaseRouter"));
var _StackRouter = _interopRequireWildcard(require("./StackRouter"));
var _TabRouter = _interopRequireWildcard(require("./TabRouter"));
var _DrawerRouter = _interopRequireWildcard(require("./DrawerRouter"));
var _types = require("./types");
Object.keys(_types).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _types[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _types[key];
}
});
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
//# sourceMappingURL=index.js.map