Merged PR 194: Added option to disable any API call

Added option to disable any API call
Fix http.js and node-http.js
Fix MainContainer not using IAvailableContainer from MainContainer
Fix generate_dts.py script
More docs
Fix MainContainer default style. Extend config will now be taken into account. But Main container can still have its own type.
This commit is contained in:
Eric Nguyen 2022-09-23 15:59:42 +00:00
parent 8ba19cc96b
commit 3ecff4cf01
10 changed files with 648 additions and 570 deletions

View file

@ -83,8 +83,6 @@ const GetSVGLayoutConfiguration = () => {
{
Type: 'Trou',
Blacklist: ["Chassis"],
DefaultX: 0,
DefaultY: 0,
Margin: {
left: 10,
bottom: 10,
@ -112,10 +110,14 @@ const GetSVGLayoutConfiguration = () => {
,
Actions: [
{
Id: "SplitRemplissage",
Action: "SplitRemplissage",
Label: "Diviser le remplissage",
Description: "Diviser le remplissage en insérant un montant",
CustomLogo: {
Base64Image: null,
Name: 'Image1',
Svg: null,
Url: ""
},
AddingBehavior: 2
@ -186,7 +188,7 @@ const GetSVGLayoutConfiguration = () => {
Height: 32,
Image: {
Base64Image: null,
Name: null,
Name: 'Image1',
Svg: null,
Url: 'https://www.manutan.fr/img/S/GRP/ST/AIG3930272.jpg'
},
@ -198,7 +200,7 @@ const GetSVGLayoutConfiguration = () => {
Height: 32,
Image: {
Base64Image: null,
Name: null,
Name: 'Image2',
Svg: null,
Url: 'https://e7.pngegg.com/pngimages/647/127/png-clipart-svg-working-group-information-world-wide-web-internet-structure.png'
},
@ -216,11 +218,13 @@ const GetSVGLayoutConfiguration = () => {
DisplayedText: "Stuff not made here"
}
],
Patterns: [],
MainContainer: {
Height: 200,
Width: 800
Type: 'main',
Width: 800,
Height: 200
}
};
}
};
const FillHoleWithChassis = (request) => {