Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* didUpdate */component[/* didUpdate */5],
/* willUnmount */component[/* willUnmount */6],
/* willUpdate */component[/* willUpdate */7],
/* shouldUpdate */component[/* shouldUpdate */8],
/* render */(function () {
var greeting = extraGreeting !== undefined ? extraGreeting : "How are you?";
return React.createElement("div", undefined, ReasonReact.element(undefined, undefined, MyBannerRe.make(true, message + (" " + greeting), /* array */[])));
}),
/* initialState */component[/* initialState */10],
/* retainedProps */component[/* retainedProps */11],
/* reducer */component[/* reducer */12],
/* jsElementWrapped */component[/* jsElementWrapped */13]
];
}
var jsComponent = ReasonReact.wrapReasonForJs(component, (function (jsProps) {
return make(jsProps.message, Js_primitive.nullable_to_opt(jsProps.extraGreeting), jsProps.children);
}));
exports.component = component;
exports.make = make;
exports.jsComponent = jsComponent;
/* component Not a pure module */
component[/* shouldUpdate */8],
(function () {
return ReasonReact.element(undefined, undefined, Fragment$ReactTemplate.make(/* array */[
ReasonReact.element(undefined, undefined, Terminal$ReactTemplate.make(/* array */[])),
ReasonReact.element(undefined, undefined, Intro$ReactTemplate.make(/* array */[]))
]));
}),
component[/* initialState */10],
component[/* retainedProps */11],
component[/* reducer */12],
component[/* subscriptions */13],
component[/* jsElementWrapped */14]
]);
}
var $$default = ReasonReact.wrapReasonForJs(component, (function () {
return make(/* array */[]);
}));
export {
component ,
make ,
$$default ,
$$default as default,
}
/* component Not a pure module */
onClick: handleGetRiderListClick
}, "Show Riders List"));
}
var ridersInfoArea = loginInfo.loggedIn ? React.createElement("div", undefined, React.createElement("h2", {
className: "operator-page-heading"
}, "Rider Info"), React.createElement("div", undefined, tableRidersJSX)) : null;
return React.createElement("div", undefined, ridersInfoArea);
}),
/* initialState */component[/* initialState */10],
/* retainedProps */component[/* retainedProps */11],
/* reducer */component[/* reducer */12],
/* jsElementWrapped */component[/* jsElementWrapped */13]
];
}
var $$default = ReasonReact.wrapReasonForJs(component, (function (jsProps) {
return make(jsProps.loginInfo, jsProps.apiInfo, jsProps.ridersInfo, jsProps.matchesInfo, jsProps.getRidersList, jsProps.hideRidersList, jsProps.showRidersListDownloadLink, jsProps.hideRidersListDownloadLink, jsProps.setInfoRidersList, jsProps.hideExpiredRidersList, jsProps.hideConfirmedRidersList, jsProps.showCurrentMatchOnlyRidersList, jsProps.showCurrentRider, jsProps.hideCurrentRider, /* array */[]);
}));
exports.component = component;
exports.tableType = tableType;
exports.riderTableColumns = riderTableColumns;
exports.tableRider = tableRider;
exports.make = make;
exports.$$default = $$default;
exports.default = $$default;
exports.__esModule = true;
/* component Not a pure module */
}, React.createElement("b", undefined, "What happens next?"), "Our system will use these details to try to find riders. If there is a potential match, we'll send you a notification. If you accept the match, we'll let the rider know that you'll be in touch to arrange the ride.")))))));
var match = loginInfo.loggedIn;
if (match) {
return inputFormsJSX;
} else {
return null;
}
}),
/* initialState */component[/* initialState */10],
/* retainedProps */component[/* retainedProps */11],
/* reducer */component[/* reducer */12],
/* jsElementWrapped */component[/* jsElementWrapped */13]
];
}
var $$default = ReasonReact.wrapReasonForJs(component, (function (jsProps) {
return make(jsProps.loginInfo, jsProps.apiInfo, jsProps.inputFormsInfo, jsProps.setDriverDateInfo, jsProps.setDriverFormInfo, jsProps.setRiderDateInfo, jsProps.setRiderFormInfo, /* array */[]);
}));
exports.component = component;
exports.make = make;
exports.$$default = $$default;
exports.default = $$default;
exports.__esModule = true;
/* component Not a pure module */
onClick: handleGetMatchListClick
}, "Show Matches List"));
}
var matchesInfoArea = loginInfo.loggedIn ? React.createElement("div", undefined, React.createElement("h2", {
className: "operator-page-heading"
}, sectionHeading), React.createElement("div", undefined, tableMatchesJSX)) : null;
return React.createElement("div", undefined, matchesInfoArea);
}),
/* initialState */component[/* initialState */10],
/* retainedProps */component[/* retainedProps */11],
/* reducer */component[/* reducer */12],
/* jsElementWrapped */component[/* jsElementWrapped */13]
];
}
var $$default = ReasonReact.wrapReasonForJs(component, (function (jsProps) {
return make(jsProps.others, jsProps.sectionHeading, jsProps.loginInfo, jsProps.apiInfo, jsProps.matchesInfo, jsProps.getMatchesList, jsProps.hideMatchesList, jsProps.showMatchesListDownloadLink, jsProps.hideMatchesListDownloadLink, jsProps.setInfoMatchesList, jsProps.hideExpiredMatchesList, jsProps.hideConfirmedMatchesList, jsProps.showCurrentMatch, jsProps.hideCurrentMatch, jsProps.showMatchForCurrentDriver, jsProps.showMatchForCurrentRider, /* array */[]);
}));
exports.component = component;
exports.tableType = tableType;
exports.matchTableColumns = matchTableColumns;
exports.tableMatch = tableMatch;
exports.make = make;
exports.$$default = $$default;
exports.default = $$default;
exports.__esModule = true;
/* component Not a pure module */
/* reducer */(function (action, _state) {
if (action) {
return /* Update */Block.__(0, [/* Hovering */[
action[0],
action[1]
]]);
} else {
return /* Update */Block.__(0, [/* Uninitialized */0]);
}
}),
/* subscriptions */component[/* subscriptions */13],
/* jsElementWrapped */component[/* jsElementWrapped */14]
];
}
var jsComponent = ReasonReact.wrapReasonForJs(component, (function (jsProps) {
return make(jsProps.onTableCreate, jsProps.onHide, /* array */[]);
}));
var initialState = /* Uninitialized */0;
var minRows = 6;
var maxRows = 16;
var minCols = 6;
var maxCols = 16;
exports.initialState = initialState;
exports.component = component;
exports.str = str;