diff --git a/PackageSources/js-bundle/package.json b/PackageSources/js-bundle/package.json index 409a413..b552183 100644 --- a/PackageSources/js-bundle/package.json +++ b/PackageSources/js-bundle/package.json @@ -1,6 +1,6 @@ { "name": "tfdidesign-md11-load-manager", - "version": "0.1.142", + "version": "0.1.145", "description": "", "main": "index.js", "type": "module", diff --git a/PackageSources/js-bundle/src/assets/licenses_node.md b/PackageSources/js-bundle/src/assets/licenses_node.md index aa6f042..f5f13a3 100644 --- a/PackageSources/js-bundle/src/assets/licenses_node.md +++ b/PackageSources/js-bundle/src/assets/licenses_node.md @@ -1,7 +1,7 @@ | Department | Related to | Name | License period | Material not material | License type | Link | Remote version | Installed version | Defined version | Author | | :--------- | :--------- | :------------------------------- | :------------- | :-------------------- | :----------- | :------------------------------------------------------------------------ | :------------- | :---------------- | :-------------- | :---------------------------------------------------------- | -| kessler | stuff | react | perpetual | material | MIT | git+https://github.com/facebook/react.git | 19.1.1 | 19.1.0 | ^19.1.0 | n/a | -| kessler | stuff | react-dom | perpetual | material | MIT | git+https://github.com/facebook/react.git | 19.1.1 | 19.1.0 | ^19.1.0 | n/a | +| kessler | stuff | react | perpetual | material | MIT | git+https://github.com/facebook/react.git | 19.2.0 | 19.1.0 | ^19.1.0 | n/a | +| kessler | stuff | react-dom | perpetual | material | MIT | git+https://github.com/facebook/react.git | 19.2.0 | 19.1.0 | ^19.1.0 | n/a | | kessler | stuff | uuid | perpetual | material | MIT | git+https://github.com/uuidjs/uuid.git | 11.1.0 | 11.1.0 | ^11.1.0 | n/a | | kessler | stuff | @microsoft/msfs-types | perpetual | material | MIT | git+https://github.com/microsoft/msfs-avionics-mirror.git | 1.14.6 | 1.14.6 | ^1.14.6 | Asobo Studio / Working Title Simulations | | kessler | stuff | @rollup/plugin-commonjs | perpetual | material | MIT | git+https://github.com/rollup/plugins.git | 28.0.6 | 28.0.3 | ^28.0.3 | Rich Harris | @@ -10,9 +10,9 @@ | kessler | stuff | @rollup/plugin-replace | perpetual | material | MIT | git+https://github.com/rollup/plugins.git | 6.0.2 | 6.0.2 | ^6.0.2 | Rich Harris | | kessler | stuff | @rollup/plugin-terser | perpetual | material | MIT | git+https://github.com/rollup/plugins.git | 0.4.4 | 0.4.4 | ^0.4.4 | Peter Placzek | | kessler | stuff | @rollup/plugin-typescript | perpetual | material | MIT | git+https://github.com/rollup/plugins.git | 12.1.4 | 12.1.2 | ^12.1.2 | Oskar Segersvärd | -| kessler | stuff | @types/node | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 24.4.0 | 24.3.1 | ^24.3.1 | n/a | -| kessler | stuff | @types/react | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 19.1.13 | 19.1.6 | ^19.1.6 | n/a | -| kessler | stuff | @types/react-dom | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 19.1.9 | 19.1.6 | ^19.1.6 | n/a | +| kessler | stuff | @types/node | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 24.6.2 | 24.3.1 | ^24.3.1 | n/a | +| kessler | stuff | @types/react | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 19.2.0 | 19.1.6 | ^19.1.6 | n/a | +| kessler | stuff | @types/react-dom | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 19.2.0 | 19.1.6 | ^19.1.6 | n/a | | kessler | stuff | @types/uuid | perpetual | material | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped.git | 10.0.0 | 10.0.0 | ^10.0.0 | n/a | | kessler | stuff | @typescript-eslint/eslint-plugin | perpetual | material | MIT | git+https://github.com/typescript-eslint/typescript-eslint.git | 6.21.0 | 6.21.0 | ^6.21.0 | n/a | | kessler | stuff | @typescript-eslint/parser | perpetual | material | BSD-2-Clause | git+https://github.com/typescript-eslint/typescript-eslint.git | 6.21.0 | 6.21.0 | ^6.21.0 | n/a | @@ -26,14 +26,14 @@ | kessler | stuff | postcss | perpetual | material | MIT | git+https://github.com/postcss/postcss.git | 8.5.6 | 8.5.4 | ^8.5.4 | Andrey Sitnik | | kessler | stuff | postcss-import | perpetual | material | MIT | git+https://github.com/postcss/postcss-import.git | 16.1.1 | 16.1.0 | ^16.1.0 | Maxime Thirouin | | kessler | stuff | prettier | perpetual | material | MIT | git+https://github.com/prettier/prettier.git | 3.6.2 | 3.5.3 | ^3.5.3 | James Long | -| kessler | stuff | prettier-plugin-organize-imports | perpetual | material | MIT | git+https://github.com/simonhaenisch/prettier-plugin-organize-imports.git | 4.2.0 | 4.1.0 | ^4.1.0 | Simon Haenisch (https://github.com/simonhaenisch) | +| kessler | stuff | prettier-plugin-organize-imports | perpetual | material | MIT | git+https://github.com/simonhaenisch/prettier-plugin-organize-imports.git | 4.3.0 | 4.1.0 | ^4.1.0 | Simon Haenisch (https://github.com/simonhaenisch) | | kessler | stuff | rimraf | perpetual | material | ISC | git://github.com/isaacs/rimraf.git | 6.0.1 | 6.0.1 | ^6.0.1 | Isaac Z. Schlueter (http://blog.izs.me/) | -| kessler | stuff | rollup | perpetual | material | MIT | git+https://github.com/rollup/rollup.git | 4.50.1 | 4.42.0 | ^4.42.0 | Rich Harris | +| kessler | stuff | rollup | perpetual | material | MIT | git+https://github.com/rollup/rollup.git | 4.52.3 | 4.42.0 | ^4.42.0 | Rich Harris | | kessler | stuff | rollup-plugin-copy | perpetual | material | MIT | git+https://github.com/vladshcherbin/rollup-plugin-copy.git | 3.5.0 | 3.5.0 | ^3.5.0 | Vlad Shcherbin | | kessler | stuff | rollup-plugin-postcss | perpetual | material | MIT | git+https://github.com/egoist/rollup-plugin-postcss.git | 4.0.2 | 4.0.2 | ^4.0.2 | EGOIST <0x142857@gmail.com> | | kessler | stuff | rollup-plugin-react-svg | perpetual | material | MIT | git+https://github.com/boopathi/react-svg-loader.git | 3.0.3 | 3.0.3 | ^3.0.3 | boopathi | | kessler | stuff | rollup-plugin-version-injector | perpetual | material | ISC | git+https://github.com/djhouseknecht/rollup-plugin-version-injector.git | 1.3.3 | 1.3.3 | ^1.3.3 | David Houseknecht | -| kessler | stuff | sass | perpetual | material | MIT | git+https://github.com/sass/dart-sass.git | 1.92.1 | 1.89.1 | ^1.89.1 | Natalie Weizenbaum nweiz@google.com https://github.com/nex3 | +| kessler | stuff | sass | perpetual | material | MIT | git+https://github.com/sass/dart-sass.git | 1.93.2 | 1.89.1 | ^1.89.1 | Natalie Weizenbaum nweiz@google.com https://github.com/nex3 | | kessler | stuff | tslib | perpetual | material | 0BSD | git+https://github.com/Microsoft/tslib.git | 2.8.1 | 2.8.1 | ^2.8.1 | Microsoft Corp. | | kessler | stuff | typed-scss-modules | perpetual | material | MIT | git+https://github.com/skovy/typed-scss-modules.git | 8.1.1 | 8.1.1 | ^8.1.1 | Spencer Miskoviak | | kessler | stuff | typescript | perpetual | material | Apache-2.0 | git+https://github.com/microsoft/TypeScript.git | 5.8.3 | 5.8.3 | 5.8.3 | Microsoft Corp. | diff --git a/PackageSources/js-bundle/src/components/options/OptionsF.tsx b/PackageSources/js-bundle/src/components/options/OptionsF.tsx index 67a231e..3b39624 100644 --- a/PackageSources/js-bundle/src/components/options/OptionsF.tsx +++ b/PackageSources/js-bundle/src/components/options/OptionsF.tsx @@ -34,34 +34,36 @@ const OptionsF: FC = ({ WASMData, loadingState, gsxActive }) => { <>

SimBrief Profile Settings - ER Variant

- - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Max Passengers0
Passenger Weight1 {WASMData.userData.isImperial ? 'lbs' : 'kg'}
Bag Weight0 {WASMData.userData.isImperial ? 'lbs' : 'kg'}
Empty Weight{WASMData.userData.isImperial ? '249537 lbs' : '113188 kg'}
Max Zero Fuel Weight{WASMData.userData.isImperial ? '451300 lbs' : '204706 kg'}
Max Takeoff Weight{WASMData.userData.isImperial ? '630500 lbs' : '285990 kg'}
Max Fuel Capacity{WASMData.userData.isImperial ? '282619 lbs' : '128193 kg'}
Max Passengers0
Passenger Weight1 {WASMData.userData.isImperial ? 'lbs' : 'kg'}
Bag Weight0 {WASMData.userData.isImperial ? 'lbs' : 'kg'}
Empty Weight{WASMData.userData.isImperial ? '249537 lbs' : '113188 kg'}
Max Zero Fuel Weight{WASMData.userData.isImperial ? '451300 lbs' : '204706 kg'}
Max Takeoff Weight{WASMData.userData.isImperial ? '630500 lbs' : '285990 kg'}
Max Fuel Capacity{WASMData.userData.isImperial ? '282619 lbs' : '128193 kg'}
) : ( diff --git a/PackageSources/js-bundle/src/components/options/OptionsPax.tsx b/PackageSources/js-bundle/src/components/options/OptionsPax.tsx index f48b51e..45970f4 100644 --- a/PackageSources/js-bundle/src/components/options/OptionsPax.tsx +++ b/PackageSources/js-bundle/src/components/options/OptionsPax.tsx @@ -85,49 +85,11 @@ const OptionsPax: FC = ({ WASMData, loadingState, gsxActive }) {WASMData.userData.isER ? ( <>

SimBrief Profile Settings - ER Variant

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Max Passengers298
Passenger Weight - {WASMData.options.paxWeight} {WASMData.userData.isImperial ? 'lbs' : 'kg'} -
Bag Weight - {WASMData.options.bagWeight} {WASMData.userData.isImperial ? 'lbs' : 'kg'} -
Empty Weight{WASMData.userData.isImperial ? '286275 lbs' : '129851 kg'}
Max Zero Fuel Weight{WASMData.userData.isImperial ? '400000 lbs' : '181437 kg'}
Max Takeoff Weight{WASMData.userData.isImperial ? '630500 lbs' : '285990 kg'}
Max Fuel Capacity{WASMData.userData.isImperial ? '282619 lbs' : '128193 kg'}
- - ) : ( - <> -

SimBrief Profile Settings - Normal variant

- + @@ -143,7 +105,47 @@ const OptionsPax: FC = ({ WASMData, loadingState, gsxActive }) - + + + + + + + + + + + + + + + +
Max Passengers298313
Passenger Weight
Empty Weight{WASMData.userData.isImperial ? '285875 lbs' : '129671 kg'}{WASMData.userData.isImperial ? '284375 lbs' : '128991 kg'}
Max Zero Fuel Weight{WASMData.userData.isImperial ? '400000 lbs' : '181437 kg'}
Max Takeoff Weight{WASMData.userData.isImperial ? '630500 lbs' : '285990 kg'}
Max Fuel Capacity{WASMData.userData.isImperial ? '282619 lbs' : '128193 kg'}
+ + ) : ( + <> +

SimBrief Profile Settings - Normal variant

+ + + + + + + + + + + + + + + + + diff --git a/PackageSources/wasm-module/pax.h b/PackageSources/wasm-module/pax.h index ba309b0..3b13db7 100644 --- a/PackageSources/wasm-module/pax.h +++ b/PackageSources/wasm-module/pax.h @@ -23,19 +23,22 @@ /******************************** Constants ********************************/ // 2x 190lbs default -#define FRONT_CREW_WEIGHT(IS_IMPERIAL) ((IS_IMPERIAL) ? (380.0) : (172.0)) +#define FRONT_CREW_WEIGHT(IS_IMPERIAL) ((IS_IMPERIAL) ? (760.0) : (344.0)) // 5x 190lbs default -#define REAR_CREW_WEIGHT(IS_IMPERIAL) ((IS_IMPERIAL) ? (950.0) : (430.0)) +#define REAR_CREW_WEIGHT(IS_IMPERIAL) ((IS_IMPERIAL) ? (760.0) : (344.0)) // All actual Business seats -#define MAX_BUSINESS_1 30 +#define MAX_BUSINESS_1 18 // First 5 rows of economy #define MAX_BUSINESS_2 45 -// Next 14 rows +// Next 10 rows #define MAX_ECONOMY_1 86 // Remaining rows -#define MAX_ECONOMY_2 137 +// 12 x 9 +// 6 x 8 +// 4 x 2 +#define MAX_ECONOMY_2 164 // Total -#define MAX_PAX 298 +#define MAX_PAX 313 // Max ZFW #define MAX_PAX_ZFW(IS_IMPERIAL) ((IS_IMPERIAL) ? (400000) : (181437)) // Arms
Max Passengers313
Passenger Weight + {WASMData.options.paxWeight} {WASMData.userData.isImperial ? 'lbs' : 'kg'} +
Bag Weight + {WASMData.options.bagWeight} {WASMData.userData.isImperial ? 'lbs' : 'kg'} +
Empty Weight{WASMData.userData.isImperial ? '283975 lbs' : '128809 kg'}
Max Zero Fuel Weight