react-native-mechanic-map
Version:
React Native wrapper for Mechanic Map
100 lines (82 loc) • 3.58 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.MapResponses = exports.MapModes = exports.MapAnimationModes = exports.MapActions = exports.MapActionModes = exports.LocationTypes = exports.LocationActions = void 0;
var _MechanicMap = _interopRequireDefault(require("./MechanicMap"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
let LocationTypes;
exports.LocationTypes = LocationTypes;
(function (LocationTypes) {
LocationTypes["STORE"] = "store";
LocationTypes["SERVICE"] = "service";
})(LocationTypes || (exports.LocationTypes = LocationTypes = {}));
let LocationActions;
exports.LocationActions = LocationActions;
(function (LocationActions) {
LocationActions["ZOOM"] = "zoom";
LocationActions["SELECT"] = "select";
LocationActions["TOOLTIP"] = "tooltip";
LocationActions["NOT_EMPTY"] = "not-empty";
})(LocationActions || (exports.LocationActions = LocationActions = {}));
let MapActions;
exports.MapActions = MapActions;
(function (MapActions) {
MapActions["INIT"] = "init";
MapActions["SHOW_NAVIGATION"] = "showNavigation";
MapActions["CLOSE_NAVIGATION"] = "closeNavigation";
MapActions["SHOW_LOCATION"] = "selectLocation";
MapActions["SET_FLOOR"] = "selectFloor";
MapActions["HIGHLIGHT_LOCATIONS"] = "highlightLocations";
MapActions["HIDE_LOCATION"] = "hideLocation";
MapActions["SET_CURRENT_LOCATION"] = "setCurrentLocation";
MapActions["SHOW_CURRENT_LOCATION"] = "showCurrentLocation";
MapActions["MOVE_CURRENT_LOCATION"] = "moveCurrentLocation";
MapActions["REMOVE_CURRENT_LOCATION"] = "removeCurrentLocation";
MapActions["ZOOM_IN"] = "zoomIn";
MapActions["ZOOM_OUT"] = "zoomOut";
MapActions["ADD_LEVEL"] = "addLevel";
MapActions["RESET_LEVEL"] = "resetLevel";
MapActions["MOVE_TO"] = "moveTo";
MapActions["ZOOM_TO"] = "zoomTo";
MapActions["CHANGE_COLORS"] = "changeColors";
MapActions["RELOAD"] = "reload";
})(MapActions || (exports.MapActions = MapActions = {}));
let MapResponses;
exports.MapResponses = MapResponses;
(function (MapResponses) {
MapResponses["MAP_LOADED"] = "mapLoaded";
MapResponses["LOCATION_OPENED"] = "locationOpened";
MapResponses["LOCATION_CLOSED"] = "locationClosed";
MapResponses["LEVEL_SWITCHED"] = "levelSwitched";
MapResponses["LOCATION_HIGHLIGHTED"] = "locationsHighlighted";
MapResponses["NAVIGATION_CANCELLED"] = "navigationCancelled";
MapResponses["ERROR"] = "error";
})(MapResponses || (exports.MapResponses = MapResponses = {}));
let MapModes;
exports.MapModes = MapModes;
(function (MapModes) {
MapModes["DEFAULT"] = "default";
MapModes["PICKER"] = "picker";
})(MapModes || (exports.MapModes = MapModes = {}));
let MapActionModes;
exports.MapActionModes = MapActionModes;
(function (MapActionModes) {
MapActionModes["DEFAULT"] = "default";
MapActionModes["TOOLTIP"] = "tooltip";
MapActionModes["SELECT"] = "select";
MapActionModes["ZOOM"] = "zoom";
MapActionModes["NOT_EMPTY"] = "not-empty";
})(MapActionModes || (exports.MapActionModes = MapActionModes = {}));
let MapAnimationModes;
exports.MapAnimationModes = MapAnimationModes;
(function (MapAnimationModes) {
MapAnimationModes["LINE"] = "line";
MapAnimationModes["DOT"] = "dot";
MapAnimationModes["ARROW"] = "arrow";
MapAnimationModes["FOOT"] = "foot";
MapAnimationModes["FEET"] = "feet";
})(MapAnimationModes || (exports.MapAnimationModes = MapAnimationModes = {}));
var _default = _MechanicMap.default;
exports.default = _default;
//# sourceMappingURL=index.js.map