initial EFB
This commit is contained in:
parent
a8a827b253
commit
ed48918831
@ -42191,16 +42191,9 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|||||||
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
||||||
"button",
|
"button",
|
||||||
{
|
{
|
||||||
onClick: () => dispatch(
|
onClick: loadPayload,
|
||||||
setRoute({
|
|
||||||
path: "/payload",
|
|
||||||
params: {
|
|
||||||
icao: simBrief.plan.origin.icao_code
|
|
||||||
}
|
|
||||||
})
|
|
||||||
),
|
|
||||||
className: "middle none center rounded-lg bg-green-700 px-6 py-3 font-sans text-xs font-bold uppercase text-white shadow-md shadow-green-500/20 transition-all hover:shadow-lg hover:shadow-green-500/40 focus:opacity-[0.85] focus:shadow-none active:opacity-[0.85] active:shadow-none disabled:pointer-events-none disabled:opacity-50 disabled:shadow-none",
|
className: "middle none center rounded-lg bg-green-700 px-6 py-3 font-sans text-xs font-bold uppercase text-white shadow-md shadow-green-500/20 transition-all hover:shadow-lg hover:shadow-green-500/40 focus:opacity-[0.85] focus:shadow-none active:opacity-[0.85] active:shadow-none disabled:pointer-events-none disabled:opacity-50 disabled:shadow-none",
|
||||||
children: "Manage payload & fuel"
|
children: "Set payload & fuel"
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
||||||
@ -42707,11 +42700,6 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|||||||
] }) }) });
|
] }) }) });
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exports for add. skript
|
|
||||||
window.reactExports = __toESM(require_react());
|
|
||||||
window.jsxRuntimeExports = __toESM(require_jsx_runtime());
|
|
||||||
window.useSelector = useSelector;
|
|
||||||
|
|
||||||
// src/components/Router.tsx
|
// src/components/Router.tsx
|
||||||
init_common();
|
init_common();
|
||||||
var import_jsx_runtime14 = __toESM(require_jsx_runtime());
|
var import_jsx_runtime14 = __toESM(require_jsx_runtime());
|
||||||
@ -42728,7 +42716,7 @@ window.useSelector = useSelector;
|
|||||||
title: "Payload",
|
title: "Payload",
|
||||||
icon: faWeightHanging
|
icon: faWeightHanging
|
||||||
},
|
},
|
||||||
page: App
|
page: PayloadPage
|
||||||
},
|
},
|
||||||
"/perf": {
|
"/perf": {
|
||||||
button: {
|
button: {
|
||||||
|
|||||||
@ -16,8 +16,10 @@ exec("git apply efb.patch").then(({stdout, stderr}) => {
|
|||||||
insertLine(outFile)
|
insertLine(outFile)
|
||||||
.contentSync(
|
.contentSync(
|
||||||
`
|
`
|
||||||
var reactExports = __toESM(require_react());
|
// Exports for add. script
|
||||||
var jsxRuntimeExports = __toESM(require_jsx_runtime());
|
window.reactExports = __toESM(require_react());
|
||||||
|
window.jsxRuntimeExports = __toESM(require_jsx_runtime());
|
||||||
|
window.useSelector = useSelector
|
||||||
`,
|
`,
|
||||||
{ overwrite: true }
|
{ overwrite: true }
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user