Commit graph

20 commits

Author SHA1 Message Date
Eric NGUYEN
4fcf600c88 Remove deprecated EditorEvents 2023-02-24 14:46:24 +01:00
Guillaume Tauzin
6ee4eb2986 Fix Load Editor 2022-11-07 14:42:37 +01:00
Eric NGUYEN
0ac42b3500 Merge branch 'dev' into dev.loading 2022-11-04 12:05:37 +01:00
Eric Nguyen
505813d530 Merged PR 225: Implement translations
Implement translations with useContext in React
+Add events to allow changing the language in the app
+Refactor AppEvents
+Redesign vertical bars in elements
2022-11-04 10:58:06 +00:00
Eric NGUYEN
eaf03824fb Move MainMenu Loading to App + Change is/setLoaded to appState/setAppState 2022-10-18 16:51:44 +02:00
Eric NGUYEN
49e051059e Add LoadEditor to smart component 2022-10-14 13:46:42 +02:00
Eric NGUYEN
b3a3be0ba2 Fix svg-layout-designer.ts after history update + Update SVGLD.dts + add command to package.json 2022-10-13 17:40:43 +02:00
Eric NGUYEN
7a81bbaec6 Add historyCurrentStep to setHistory event 2022-10-13 16:18:16 +02:00
Eric NGUYEN
749609f9a0 Add GetDefaultEditorState to App CustomEvents 2022-10-13 15:01:38 +02:00
Eric NGUYEN
fb6bc1289d Move ReviveEditor and ReviveHistory to App 2022-10-13 11:56:41 +02:00
Eric NGUYEN
710cbd0312 Add GetEditorStateAsString in events 2022-10-10 09:27:33 +00:00
Eric Nguyen
3ecff4cf01 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.
2022-09-23 15:59:42 +00:00
Eric NGUYEN
8ba19cc96b Refactor svg-layout-designer component into controllers + Add setLoaded 2022-09-23 15:22:07 +02:00
Eric NGUYEN
2ea43890f0 Implement setEditor + Add some macros 2022-09-23 14:55:57 +02:00
Eric NGUYEN
6de2c23989 Implement AddEditorListenerHook + Fix some bugs with types 2022-09-23 13:49:22 +02:00
Eric NGUYEN
6aa5acd4c0 Comment svg-layout-designer.ts 2022-09-23 11:22:14 +02:00
Eric NGUYEN
da3bd0a323 Implement save/load events 2022-09-23 11:01:31 +02:00
Eric Nguyen
23ed3ed1ad Merged PR 189: Simplify usage of SmartComponent
- Added new Events :
  - AddContainer, AddContainerToSelectedContainer, AppendContainer, AppendContainerToSelectedContainer, SelectContainer, DeleteContainer
  - AddSymbol, SelectSymbol, DeleteSymbol
- Changed the component to an iframe (you only need to copy the whole dist now)
- Added callbacks to every methods in the component
- Create event listener on demand: no need to initialize the event listener!
- Update d.ts
- Added Fastboot and enable it by default on production build
2022-09-21 09:24:14 +00:00
Eric NGUYEN
a718268972 Remove deprecated function to SmartComponent 2022-08-26 11:14:31 +02:00
Eric Nguyen
444b96736a Merged PR 168: Add SmartComponent source code + Restrict Events by giving a root at the first render + Added Render function to a namespace
- Add smartcomponent source code to public/
- Restrict Events by giving a root at the first render + Added Render function to a namespace
- Add attribute type="button" to all buttons
2022-08-26 09:13:51 +00:00