From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/web_editor/static/shapes/Airy/01.svg | 42 +++ addons/web_editor/static/shapes/Airy/02.svg | 66 +++++ addons/web_editor/static/shapes/Airy/03.svg | 69 +++++ addons/web_editor/static/shapes/Airy/04.svg | 32 +++ addons/web_editor/static/shapes/Airy/05.svg | 34 +++ addons/web_editor/static/shapes/Airy/06.svg | 303 ++++++++++++++++++++++ addons/web_editor/static/shapes/Airy/07.svg | 278 ++++++++++++++++++++ addons/web_editor/static/shapes/Airy/08.svg | 28 ++ addons/web_editor/static/shapes/Airy/09.svg | 28 ++ addons/web_editor/static/shapes/Airy/10.svg | 46 ++++ addons/web_editor/static/shapes/Airy/11.svg | 65 +++++ addons/web_editor/static/shapes/Airy/12.svg | 19 ++ addons/web_editor/static/shapes/Airy/13.svg | 38 +++ addons/web_editor/static/shapes/Airy/14.svg | 58 +++++ addons/web_editor/static/shapes/Blobs/01.svg | 3 + addons/web_editor/static/shapes/Blobs/02.svg | 4 + addons/web_editor/static/shapes/Blobs/03.svg | 3 + addons/web_editor/static/shapes/Blobs/04.svg | 3 + addons/web_editor/static/shapes/Blobs/05.svg | 3 + addons/web_editor/static/shapes/Blobs/06.svg | 3 + addons/web_editor/static/shapes/Blobs/07.svg | 3 + addons/web_editor/static/shapes/Blobs/08.svg | 3 + addons/web_editor/static/shapes/Blobs/09.svg | 6 + addons/web_editor/static/shapes/Blobs/10.svg | 5 + addons/web_editor/static/shapes/Blobs/11.svg | 3 + addons/web_editor/static/shapes/Blobs/12.svg | 3 + addons/web_editor/static/shapes/Blocks/01.svg | 26 ++ addons/web_editor/static/shapes/Blocks/01_001.svg | 26 ++ addons/web_editor/static/shapes/Blocks/02.svg | 25 ++ addons/web_editor/static/shapes/Blocks/02_001.svg | 25 ++ addons/web_editor/static/shapes/Blocks/03.svg | 16 ++ addons/web_editor/static/shapes/Blocks/04.svg | 12 + addons/web_editor/static/shapes/Bold/01.svg | 3 + addons/web_editor/static/shapes/Bold/02.svg | 5 + addons/web_editor/static/shapes/Bold/03.svg | 5 + addons/web_editor/static/shapes/Bold/04.svg | 4 + addons/web_editor/static/shapes/Bold/05.svg | 3 + addons/web_editor/static/shapes/Bold/05_001.svg | 3 + addons/web_editor/static/shapes/Bold/06.svg | 3 + addons/web_editor/static/shapes/Bold/06_001.svg | 3 + addons/web_editor/static/shapes/Bold/07.svg | 4 + addons/web_editor/static/shapes/Bold/08.svg | 3 + addons/web_editor/static/shapes/Bold/09.svg | 4 + addons/web_editor/static/shapes/Bold/10.svg | 6 + addons/web_editor/static/shapes/Bold/10_001.svg | 5 + addons/web_editor/static/shapes/Bold/11.svg | 17 ++ addons/web_editor/static/shapes/Bold/11_001.svg | 4 + addons/web_editor/static/shapes/Bold/12.svg | 5 + addons/web_editor/static/shapes/Origins/01.svg | 7 + addons/web_editor/static/shapes/Origins/02.svg | 3 + addons/web_editor/static/shapes/Origins/03.svg | 3 + addons/web_editor/static/shapes/Origins/04.svg | 3 + addons/web_editor/static/shapes/Origins/05.svg | 9 + addons/web_editor/static/shapes/Origins/06.svg | 9 + addons/web_editor/static/shapes/Origins/07.svg | 17 ++ addons/web_editor/static/shapes/Origins/08.svg | 3 + addons/web_editor/static/shapes/Origins/09.svg | 5 + addons/web_editor/static/shapes/Origins/10.svg | 7 + addons/web_editor/static/shapes/Origins/11.svg | 13 + addons/web_editor/static/shapes/Origins/12.svg | 9 + addons/web_editor/static/shapes/Origins/13.svg | 13 + addons/web_editor/static/shapes/Origins/14.svg | 9 + addons/web_editor/static/shapes/Origins/15.svg | 3 + addons/web_editor/static/shapes/Rainy/01.svg | 58 +++++ addons/web_editor/static/shapes/Rainy/02.svg | 77 ++++++ addons/web_editor/static/shapes/Rainy/03.svg | 32 +++ addons/web_editor/static/shapes/Rainy/04.svg | 26 ++ addons/web_editor/static/shapes/Rainy/05.svg | 53 ++++ addons/web_editor/static/shapes/Rainy/05_001.svg | 25 ++ addons/web_editor/static/shapes/Rainy/06.svg | 29 +++ addons/web_editor/static/shapes/Rainy/07.svg | 30 +++ addons/web_editor/static/shapes/Rainy/08.svg | 21 ++ addons/web_editor/static/shapes/Rainy/09.svg | 12 + addons/web_editor/static/shapes/Wavy/01.svg | 30 +++ addons/web_editor/static/shapes/Wavy/02.svg | 20 ++ addons/web_editor/static/shapes/Wavy/03.svg | 20 ++ addons/web_editor/static/shapes/Wavy/04.svg | 19 ++ addons/web_editor/static/shapes/Wavy/05.svg | 20 ++ addons/web_editor/static/shapes/Wavy/06.svg | 44 ++++ addons/web_editor/static/shapes/Wavy/06_001.svg | 45 ++++ addons/web_editor/static/shapes/Wavy/07.svg | 13 + addons/web_editor/static/shapes/Wavy/08.svg | 29 +++ addons/web_editor/static/shapes/Wavy/09.svg | 19 ++ addons/web_editor/static/shapes/Wavy/10.svg | 19 ++ addons/web_editor/static/shapes/Wavy/11.svg | 153 +++++++++++ addons/web_editor/static/shapes/Wavy/12.svg | 10 + addons/web_editor/static/shapes/Wavy/13.svg | 20 ++ addons/web_editor/static/shapes/Wavy/14.svg | 26 ++ addons/web_editor/static/shapes/Wavy/15.svg | 9 + addons/web_editor/static/shapes/Wavy/16.svg | 3 + addons/web_editor/static/shapes/Wavy/17.svg | 3 + addons/web_editor/static/shapes/Wavy/18.svg | 3 + addons/web_editor/static/shapes/Wavy/19.svg | 4 + addons/web_editor/static/shapes/Wavy/20.svg | 4 + addons/web_editor/static/shapes/Wavy/21.svg | 5 + addons/web_editor/static/shapes/Wavy/22.svg | 4 + addons/web_editor/static/shapes/Wavy/23.svg | 3 + addons/web_editor/static/shapes/Zigs/01.svg | 47 ++++ addons/web_editor/static/shapes/Zigs/02.svg | 19 ++ addons/web_editor/static/shapes/Zigs/03.svg | 55 ++++ addons/web_editor/static/shapes/Zigs/04.svg | 41 +++ addons/web_editor/static/shapes/Zigs/05.svg | 10 + addons/web_editor/static/shapes/convert.js | 97 +++++++ 103 files changed, 2625 insertions(+) create mode 100644 addons/web_editor/static/shapes/Airy/01.svg create mode 100644 addons/web_editor/static/shapes/Airy/02.svg create mode 100644 addons/web_editor/static/shapes/Airy/03.svg create mode 100644 addons/web_editor/static/shapes/Airy/04.svg create mode 100644 addons/web_editor/static/shapes/Airy/05.svg create mode 100644 addons/web_editor/static/shapes/Airy/06.svg create mode 100644 addons/web_editor/static/shapes/Airy/07.svg create mode 100644 addons/web_editor/static/shapes/Airy/08.svg create mode 100644 addons/web_editor/static/shapes/Airy/09.svg create mode 100644 addons/web_editor/static/shapes/Airy/10.svg create mode 100644 addons/web_editor/static/shapes/Airy/11.svg create mode 100644 addons/web_editor/static/shapes/Airy/12.svg create mode 100644 addons/web_editor/static/shapes/Airy/13.svg create mode 100644 addons/web_editor/static/shapes/Airy/14.svg create mode 100644 addons/web_editor/static/shapes/Blobs/01.svg create mode 100644 addons/web_editor/static/shapes/Blobs/02.svg create mode 100644 addons/web_editor/static/shapes/Blobs/03.svg create mode 100644 addons/web_editor/static/shapes/Blobs/04.svg create mode 100644 addons/web_editor/static/shapes/Blobs/05.svg create mode 100644 addons/web_editor/static/shapes/Blobs/06.svg create mode 100644 addons/web_editor/static/shapes/Blobs/07.svg create mode 100644 addons/web_editor/static/shapes/Blobs/08.svg create mode 100644 addons/web_editor/static/shapes/Blobs/09.svg create mode 100644 addons/web_editor/static/shapes/Blobs/10.svg create mode 100644 addons/web_editor/static/shapes/Blobs/11.svg create mode 100644 addons/web_editor/static/shapes/Blobs/12.svg create mode 100644 addons/web_editor/static/shapes/Blocks/01.svg create mode 100644 addons/web_editor/static/shapes/Blocks/01_001.svg create mode 100644 addons/web_editor/static/shapes/Blocks/02.svg create mode 100644 addons/web_editor/static/shapes/Blocks/02_001.svg create mode 100644 addons/web_editor/static/shapes/Blocks/03.svg create mode 100644 addons/web_editor/static/shapes/Blocks/04.svg create mode 100644 addons/web_editor/static/shapes/Bold/01.svg create mode 100644 addons/web_editor/static/shapes/Bold/02.svg create mode 100644 addons/web_editor/static/shapes/Bold/03.svg create mode 100644 addons/web_editor/static/shapes/Bold/04.svg create mode 100644 addons/web_editor/static/shapes/Bold/05.svg create mode 100644 addons/web_editor/static/shapes/Bold/05_001.svg create mode 100644 addons/web_editor/static/shapes/Bold/06.svg create mode 100644 addons/web_editor/static/shapes/Bold/06_001.svg create mode 100644 addons/web_editor/static/shapes/Bold/07.svg create mode 100644 addons/web_editor/static/shapes/Bold/08.svg create mode 100644 addons/web_editor/static/shapes/Bold/09.svg create mode 100644 addons/web_editor/static/shapes/Bold/10.svg create mode 100644 addons/web_editor/static/shapes/Bold/10_001.svg create mode 100644 addons/web_editor/static/shapes/Bold/11.svg create mode 100644 addons/web_editor/static/shapes/Bold/11_001.svg create mode 100644 addons/web_editor/static/shapes/Bold/12.svg create mode 100644 addons/web_editor/static/shapes/Origins/01.svg create mode 100644 addons/web_editor/static/shapes/Origins/02.svg create mode 100644 addons/web_editor/static/shapes/Origins/03.svg create mode 100644 addons/web_editor/static/shapes/Origins/04.svg create mode 100644 addons/web_editor/static/shapes/Origins/05.svg create mode 100644 addons/web_editor/static/shapes/Origins/06.svg create mode 100644 addons/web_editor/static/shapes/Origins/07.svg create mode 100644 addons/web_editor/static/shapes/Origins/08.svg create mode 100644 addons/web_editor/static/shapes/Origins/09.svg create mode 100644 addons/web_editor/static/shapes/Origins/10.svg create mode 100644 addons/web_editor/static/shapes/Origins/11.svg create mode 100644 addons/web_editor/static/shapes/Origins/12.svg create mode 100644 addons/web_editor/static/shapes/Origins/13.svg create mode 100644 addons/web_editor/static/shapes/Origins/14.svg create mode 100644 addons/web_editor/static/shapes/Origins/15.svg create mode 100644 addons/web_editor/static/shapes/Rainy/01.svg create mode 100644 addons/web_editor/static/shapes/Rainy/02.svg create mode 100644 addons/web_editor/static/shapes/Rainy/03.svg create mode 100644 addons/web_editor/static/shapes/Rainy/04.svg create mode 100644 addons/web_editor/static/shapes/Rainy/05.svg create mode 100644 addons/web_editor/static/shapes/Rainy/05_001.svg create mode 100644 addons/web_editor/static/shapes/Rainy/06.svg create mode 100644 addons/web_editor/static/shapes/Rainy/07.svg create mode 100644 addons/web_editor/static/shapes/Rainy/08.svg create mode 100644 addons/web_editor/static/shapes/Rainy/09.svg create mode 100644 addons/web_editor/static/shapes/Wavy/01.svg create mode 100644 addons/web_editor/static/shapes/Wavy/02.svg create mode 100644 addons/web_editor/static/shapes/Wavy/03.svg create mode 100644 addons/web_editor/static/shapes/Wavy/04.svg create mode 100644 addons/web_editor/static/shapes/Wavy/05.svg create mode 100644 addons/web_editor/static/shapes/Wavy/06.svg create mode 100644 addons/web_editor/static/shapes/Wavy/06_001.svg create mode 100644 addons/web_editor/static/shapes/Wavy/07.svg create mode 100644 addons/web_editor/static/shapes/Wavy/08.svg create mode 100644 addons/web_editor/static/shapes/Wavy/09.svg create mode 100644 addons/web_editor/static/shapes/Wavy/10.svg create mode 100644 addons/web_editor/static/shapes/Wavy/11.svg create mode 100644 addons/web_editor/static/shapes/Wavy/12.svg create mode 100644 addons/web_editor/static/shapes/Wavy/13.svg create mode 100644 addons/web_editor/static/shapes/Wavy/14.svg create mode 100644 addons/web_editor/static/shapes/Wavy/15.svg create mode 100644 addons/web_editor/static/shapes/Wavy/16.svg create mode 100644 addons/web_editor/static/shapes/Wavy/17.svg create mode 100644 addons/web_editor/static/shapes/Wavy/18.svg create mode 100644 addons/web_editor/static/shapes/Wavy/19.svg create mode 100644 addons/web_editor/static/shapes/Wavy/20.svg create mode 100644 addons/web_editor/static/shapes/Wavy/21.svg create mode 100644 addons/web_editor/static/shapes/Wavy/22.svg create mode 100644 addons/web_editor/static/shapes/Wavy/23.svg create mode 100644 addons/web_editor/static/shapes/Zigs/01.svg create mode 100644 addons/web_editor/static/shapes/Zigs/02.svg create mode 100644 addons/web_editor/static/shapes/Zigs/03.svg create mode 100644 addons/web_editor/static/shapes/Zigs/04.svg create mode 100644 addons/web_editor/static/shapes/Zigs/05.svg create mode 100644 addons/web_editor/static/shapes/convert.js (limited to 'addons/web_editor/static/shapes') diff --git a/addons/web_editor/static/shapes/Airy/01.svg b/addons/web_editor/static/shapes/Airy/01.svg new file mode 100644 index 00000000..749eab07 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/01.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/02.svg b/addons/web_editor/static/shapes/Airy/02.svg new file mode 100644 index 00000000..51c5a6ab --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/02.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/03.svg b/addons/web_editor/static/shapes/Airy/03.svg new file mode 100644 index 00000000..33c51924 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/03.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/04.svg b/addons/web_editor/static/shapes/Airy/04.svg new file mode 100644 index 00000000..c6ceba19 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/04.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/05.svg b/addons/web_editor/static/shapes/Airy/05.svg new file mode 100644 index 00000000..c539be50 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/05.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/06.svg b/addons/web_editor/static/shapes/Airy/06.svg new file mode 100644 index 00000000..c79ad3f6 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/06.svg @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/07.svg b/addons/web_editor/static/shapes/Airy/07.svg new file mode 100644 index 00000000..e457cec6 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/07.svg @@ -0,0 +1,278 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/08.svg b/addons/web_editor/static/shapes/Airy/08.svg new file mode 100644 index 00000000..df544b4d --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/08.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/09.svg b/addons/web_editor/static/shapes/Airy/09.svg new file mode 100644 index 00000000..d651c4cf --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/09.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/10.svg b/addons/web_editor/static/shapes/Airy/10.svg new file mode 100644 index 00000000..ebe1d99c --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/10.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/11.svg b/addons/web_editor/static/shapes/Airy/11.svg new file mode 100644 index 00000000..84eb78af --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/11.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/12.svg b/addons/web_editor/static/shapes/Airy/12.svg new file mode 100644 index 00000000..b2b2430d --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/12.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/13.svg b/addons/web_editor/static/shapes/Airy/13.svg new file mode 100644 index 00000000..113f0196 --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/13.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Airy/14.svg b/addons/web_editor/static/shapes/Airy/14.svg new file mode 100644 index 00000000..0878f18b --- /dev/null +++ b/addons/web_editor/static/shapes/Airy/14.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Blobs/01.svg b/addons/web_editor/static/shapes/Blobs/01.svg new file mode 100644 index 00000000..aed679ca --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/01.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/02.svg b/addons/web_editor/static/shapes/Blobs/02.svg new file mode 100644 index 00000000..c1eb92fd --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/02.svg @@ -0,0 +1,4 @@ + + + + diff --git a/addons/web_editor/static/shapes/Blobs/03.svg b/addons/web_editor/static/shapes/Blobs/03.svg new file mode 100644 index 00000000..30cbd261 --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/03.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/04.svg b/addons/web_editor/static/shapes/Blobs/04.svg new file mode 100644 index 00000000..abfce69e --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/04.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/05.svg b/addons/web_editor/static/shapes/Blobs/05.svg new file mode 100644 index 00000000..049633a0 --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/05.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/06.svg b/addons/web_editor/static/shapes/Blobs/06.svg new file mode 100644 index 00000000..30a5002a --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/06.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/07.svg b/addons/web_editor/static/shapes/Blobs/07.svg new file mode 100644 index 00000000..482f074f --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/07.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/08.svg b/addons/web_editor/static/shapes/Blobs/08.svg new file mode 100644 index 00000000..a171cd6c --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/08.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/09.svg b/addons/web_editor/static/shapes/Blobs/09.svg new file mode 100644 index 00000000..8eefa84f --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/09.svg @@ -0,0 +1,6 @@ + + + + diff --git a/addons/web_editor/static/shapes/Blobs/10.svg b/addons/web_editor/static/shapes/Blobs/10.svg new file mode 100644 index 00000000..70536c58 --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/10.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Blobs/11.svg b/addons/web_editor/static/shapes/Blobs/11.svg new file mode 100644 index 00000000..e9637b90 --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/11.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blobs/12.svg b/addons/web_editor/static/shapes/Blobs/12.svg new file mode 100644 index 00000000..1a216ab9 --- /dev/null +++ b/addons/web_editor/static/shapes/Blobs/12.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Blocks/01.svg b/addons/web_editor/static/shapes/Blocks/01.svg new file mode 100644 index 00000000..f7a2faea --- /dev/null +++ b/addons/web_editor/static/shapes/Blocks/01.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Blocks/01_001.svg b/addons/web_editor/static/shapes/Blocks/01_001.svg new file mode 100644 index 00000000..a5c6fbb5 --- /dev/null +++ b/addons/web_editor/static/shapes/Blocks/01_001.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Blocks/02.svg b/addons/web_editor/static/shapes/Blocks/02.svg new file mode 100644 index 00000000..571f8827 --- /dev/null +++ b/addons/web_editor/static/shapes/Blocks/02.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Blocks/02_001.svg b/addons/web_editor/static/shapes/Blocks/02_001.svg new file mode 100644 index 00000000..95dd7270 --- /dev/null +++ b/addons/web_editor/static/shapes/Blocks/02_001.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Blocks/03.svg b/addons/web_editor/static/shapes/Blocks/03.svg new file mode 100644 index 00000000..cc344de7 --- /dev/null +++ b/addons/web_editor/static/shapes/Blocks/03.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Blocks/04.svg b/addons/web_editor/static/shapes/Blocks/04.svg new file mode 100644 index 00000000..95c6cdde --- /dev/null +++ b/addons/web_editor/static/shapes/Blocks/04.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Bold/01.svg b/addons/web_editor/static/shapes/Bold/01.svg new file mode 100644 index 00000000..ad47805e --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/01.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/02.svg b/addons/web_editor/static/shapes/Bold/02.svg new file mode 100644 index 00000000..a3f8ecdc --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/02.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Bold/03.svg b/addons/web_editor/static/shapes/Bold/03.svg new file mode 100644 index 00000000..c6dc7dbe --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/03.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Bold/04.svg b/addons/web_editor/static/shapes/Bold/04.svg new file mode 100644 index 00000000..d2adaaab --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/04.svg @@ -0,0 +1,4 @@ + + + + diff --git a/addons/web_editor/static/shapes/Bold/05.svg b/addons/web_editor/static/shapes/Bold/05.svg new file mode 100644 index 00000000..4731a367 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/05.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/05_001.svg b/addons/web_editor/static/shapes/Bold/05_001.svg new file mode 100644 index 00000000..f475f7b6 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/05_001.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/06.svg b/addons/web_editor/static/shapes/Bold/06.svg new file mode 100644 index 00000000..4fd9551f --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/06.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/06_001.svg b/addons/web_editor/static/shapes/Bold/06_001.svg new file mode 100644 index 00000000..ed244e44 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/06_001.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/07.svg b/addons/web_editor/static/shapes/Bold/07.svg new file mode 100644 index 00000000..9e9646d5 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/07.svg @@ -0,0 +1,4 @@ + + + + diff --git a/addons/web_editor/static/shapes/Bold/08.svg b/addons/web_editor/static/shapes/Bold/08.svg new file mode 100644 index 00000000..349b947a --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/08.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/09.svg b/addons/web_editor/static/shapes/Bold/09.svg new file mode 100644 index 00000000..aa472710 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/09.svg @@ -0,0 +1,4 @@ + + + + diff --git a/addons/web_editor/static/shapes/Bold/10.svg b/addons/web_editor/static/shapes/Bold/10.svg new file mode 100644 index 00000000..ee58cdc2 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/10.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/addons/web_editor/static/shapes/Bold/10_001.svg b/addons/web_editor/static/shapes/Bold/10_001.svg new file mode 100644 index 00000000..4054a1fc --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/10_001.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Bold/11.svg b/addons/web_editor/static/shapes/Bold/11.svg new file mode 100644 index 00000000..e877082a --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/11.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/addons/web_editor/static/shapes/Bold/11_001.svg b/addons/web_editor/static/shapes/Bold/11_001.svg new file mode 100644 index 00000000..da0d7264 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/11_001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/addons/web_editor/static/shapes/Bold/12.svg b/addons/web_editor/static/shapes/Bold/12.svg new file mode 100644 index 00000000..330d52b1 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/12.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Origins/01.svg b/addons/web_editor/static/shapes/Origins/01.svg new file mode 100644 index 00000000..4d308fe3 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/01.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/02.svg b/addons/web_editor/static/shapes/Origins/02.svg new file mode 100644 index 00000000..c0f2874f --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/02.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Origins/03.svg b/addons/web_editor/static/shapes/Origins/03.svg new file mode 100644 index 00000000..58ed0439 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/03.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Origins/04.svg b/addons/web_editor/static/shapes/Origins/04.svg new file mode 100644 index 00000000..3c61514c --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/04.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Origins/05.svg b/addons/web_editor/static/shapes/Origins/05.svg new file mode 100644 index 00000000..bc444fd8 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/05.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/06.svg b/addons/web_editor/static/shapes/Origins/06.svg new file mode 100644 index 00000000..a3b22d7f --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/06.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/07.svg b/addons/web_editor/static/shapes/Origins/07.svg new file mode 100644 index 00000000..65038fa7 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/07.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/08.svg b/addons/web_editor/static/shapes/Origins/08.svg new file mode 100644 index 00000000..74d2842d --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/08.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Origins/09.svg b/addons/web_editor/static/shapes/Origins/09.svg new file mode 100644 index 00000000..e8474d82 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/09.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Origins/10.svg b/addons/web_editor/static/shapes/Origins/10.svg new file mode 100644 index 00000000..59440bd1 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/10.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/11.svg b/addons/web_editor/static/shapes/Origins/11.svg new file mode 100644 index 00000000..501d2126 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/11.svg @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/12.svg b/addons/web_editor/static/shapes/Origins/12.svg new file mode 100644 index 00000000..81951478 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/12.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/13.svg b/addons/web_editor/static/shapes/Origins/13.svg new file mode 100644 index 00000000..863b8bd5 --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/13.svg @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/14.svg b/addons/web_editor/static/shapes/Origins/14.svg new file mode 100644 index 00000000..74ac000d --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/14.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/addons/web_editor/static/shapes/Origins/15.svg b/addons/web_editor/static/shapes/Origins/15.svg new file mode 100644 index 00000000..a9e0b39f --- /dev/null +++ b/addons/web_editor/static/shapes/Origins/15.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Rainy/01.svg b/addons/web_editor/static/shapes/Rainy/01.svg new file mode 100644 index 00000000..4b74078e --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/01.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/02.svg b/addons/web_editor/static/shapes/Rainy/02.svg new file mode 100644 index 00000000..1e0d5678 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/02.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/03.svg b/addons/web_editor/static/shapes/Rainy/03.svg new file mode 100644 index 00000000..6dc48d90 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/03.svg @@ -0,0 +1,32 @@ + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/04.svg b/addons/web_editor/static/shapes/Rainy/04.svg new file mode 100644 index 00000000..6104a16d --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/04.svg @@ -0,0 +1,26 @@ + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/05.svg b/addons/web_editor/static/shapes/Rainy/05.svg new file mode 100644 index 00000000..4090b1b3 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/05.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/05_001.svg b/addons/web_editor/static/shapes/Rainy/05_001.svg new file mode 100644 index 00000000..1dcf31a0 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/05_001.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/06.svg b/addons/web_editor/static/shapes/Rainy/06.svg new file mode 100644 index 00000000..89c9a282 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/06.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/07.svg b/addons/web_editor/static/shapes/Rainy/07.svg new file mode 100644 index 00000000..b433a4df --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/07.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/08.svg b/addons/web_editor/static/shapes/Rainy/08.svg new file mode 100644 index 00000000..f3ffe286 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/08.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Rainy/09.svg b/addons/web_editor/static/shapes/Rainy/09.svg new file mode 100644 index 00000000..98d030d8 --- /dev/null +++ b/addons/web_editor/static/shapes/Rainy/09.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/01.svg b/addons/web_editor/static/shapes/Wavy/01.svg new file mode 100644 index 00000000..27037a91 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/01.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/02.svg b/addons/web_editor/static/shapes/Wavy/02.svg new file mode 100644 index 00000000..d137c8a8 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/02.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/03.svg b/addons/web_editor/static/shapes/Wavy/03.svg new file mode 100644 index 00000000..59af6ef5 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/03.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/04.svg b/addons/web_editor/static/shapes/Wavy/04.svg new file mode 100644 index 00000000..d3cc0f5a --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/04.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/05.svg b/addons/web_editor/static/shapes/Wavy/05.svg new file mode 100644 index 00000000..dd3173ae --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/05.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/06.svg b/addons/web_editor/static/shapes/Wavy/06.svg new file mode 100644 index 00000000..da58b7c9 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/06.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/06_001.svg b/addons/web_editor/static/shapes/Wavy/06_001.svg new file mode 100644 index 00000000..8a4482d4 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/06_001.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/07.svg b/addons/web_editor/static/shapes/Wavy/07.svg new file mode 100644 index 00000000..0530d06c --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/07.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/08.svg b/addons/web_editor/static/shapes/Wavy/08.svg new file mode 100644 index 00000000..39eced0c --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/08.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/09.svg b/addons/web_editor/static/shapes/Wavy/09.svg new file mode 100644 index 00000000..9a6ff367 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/09.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/10.svg b/addons/web_editor/static/shapes/Wavy/10.svg new file mode 100644 index 00000000..27a596f2 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/10.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/11.svg b/addons/web_editor/static/shapes/Wavy/11.svg new file mode 100644 index 00000000..e97b4e59 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/11.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/12.svg b/addons/web_editor/static/shapes/Wavy/12.svg new file mode 100644 index 00000000..5e911351 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/12.svg @@ -0,0 +1,10 @@ + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/13.svg b/addons/web_editor/static/shapes/Wavy/13.svg new file mode 100644 index 00000000..d8c218f3 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/13.svg @@ -0,0 +1,20 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/14.svg b/addons/web_editor/static/shapes/Wavy/14.svg new file mode 100644 index 00000000..805f576c --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/14.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/15.svg b/addons/web_editor/static/shapes/Wavy/15.svg new file mode 100644 index 00000000..eb2529db --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/15.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/addons/web_editor/static/shapes/Wavy/16.svg b/addons/web_editor/static/shapes/Wavy/16.svg new file mode 100644 index 00000000..1523c1f5 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/16.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/17.svg b/addons/web_editor/static/shapes/Wavy/17.svg new file mode 100644 index 00000000..49977d5a --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/17.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/18.svg b/addons/web_editor/static/shapes/Wavy/18.svg new file mode 100644 index 00000000..dbd5ac02 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/18.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/19.svg b/addons/web_editor/static/shapes/Wavy/19.svg new file mode 100644 index 00000000..c841ce73 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/19.svg @@ -0,0 +1,4 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/20.svg b/addons/web_editor/static/shapes/Wavy/20.svg new file mode 100644 index 00000000..b1dcd633 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/20.svg @@ -0,0 +1,4 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/21.svg b/addons/web_editor/static/shapes/Wavy/21.svg new file mode 100644 index 00000000..4c84882b --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/21.svg @@ -0,0 +1,5 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/22.svg b/addons/web_editor/static/shapes/Wavy/22.svg new file mode 100644 index 00000000..5162f829 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/22.svg @@ -0,0 +1,4 @@ + + + diff --git a/addons/web_editor/static/shapes/Wavy/23.svg b/addons/web_editor/static/shapes/Wavy/23.svg new file mode 100644 index 00000000..95a0b212 --- /dev/null +++ b/addons/web_editor/static/shapes/Wavy/23.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Zigs/01.svg b/addons/web_editor/static/shapes/Zigs/01.svg new file mode 100644 index 00000000..7d4a775f --- /dev/null +++ b/addons/web_editor/static/shapes/Zigs/01.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Zigs/02.svg b/addons/web_editor/static/shapes/Zigs/02.svg new file mode 100644 index 00000000..0c5c0745 --- /dev/null +++ b/addons/web_editor/static/shapes/Zigs/02.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Zigs/03.svg b/addons/web_editor/static/shapes/Zigs/03.svg new file mode 100644 index 00000000..889001cb --- /dev/null +++ b/addons/web_editor/static/shapes/Zigs/03.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Zigs/04.svg b/addons/web_editor/static/shapes/Zigs/04.svg new file mode 100644 index 00000000..42f90ae9 --- /dev/null +++ b/addons/web_editor/static/shapes/Zigs/04.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + diff --git a/addons/web_editor/static/shapes/Zigs/05.svg b/addons/web_editor/static/shapes/Zigs/05.svg new file mode 100644 index 00000000..da0a2ffc --- /dev/null +++ b/addons/web_editor/static/shapes/Zigs/05.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/addons/web_editor/static/shapes/convert.js b/addons/web_editor/static/shapes/convert.js new file mode 100644 index 00000000..fa62749e --- /dev/null +++ b/addons/web_editor/static/shapes/convert.js @@ -0,0 +1,97 @@ +/* +The following script can be used to convert SVGs exported from illustrator into +a format that's compatible with the shape system. It runs with nodejs. Some +manual conversion may be necessary. +*/ + +const fs = require('fs'); +const path = require('path'); + +const palette = { + '1': '#3AADAA', + '2': '#7C6576', + '3': '#F6F6F6', + '4': '#FFFFFF', + '5': '#383E45', +}; + +const positions = ['top', 'left', 'bottom', 'right', 'center', 'stretch']; + +const directories = fs.readdirSync(__dirname).filter(nodeName => { + return nodeName[0] !== '.' && fs.lstatSync(path.join(__dirname, nodeName)).isDirectory(); +}); +const files = directories.flatMap(dirName => { + return fs.readdirSync(path.join(__dirname, dirName)) + .filter(fileName => fileName.endsWith('.svg')) + .map(fileName => path.join(__dirname, dirName, fileName)); +}); + +const shapes = []; +files.filter(f => f.endsWith('svg')).forEach(filePath => { + const svg = String(fs.readFileSync(filePath)); + const fileName = filePath.match(/([^/]+)$/)[1]; + + const colors = svg.match(/#[0-9A-F]{3,}/gi); + const nonPaletteColors = colors && colors.filter(color => !Object.values(palette).includes(color.toUpperCase())); + const shape = { + svg, + name: fileName.split(/[.-]/)[0], + page: filePath.slice(__dirname.length + 1, -fileName.length - 1), + colors: Object.keys(palette).filter(num => new RegExp(palette[num], 'i').test(svg)), + position: positions.filter(pos => fileName.includes(pos)), + nonIsometric: fileName.includes('+'), + nonPaletteColors: nonPaletteColors && nonPaletteColors.length ? nonPaletteColors.join(' ') : null, + containsImage: svg.includes('`; + if (shape.position[0] === 'stretch') { + shape.position = ['center']; + shape.size = '100% 100%'; + } else { + shape.size = '100% auto'; + } + shape.scss = `'${shape.page}/${shape.name}': ('position': ${shape.position[0]}, 'size': ${shape.size}, 'colors': (${shape.colors.join(', ')}), 'repeat-y': ${shape.repeatY})`; + shapes.push(shape); +}); +const xml = shapes.map(shape => shape.optionXML).join('\n'); +const scss = shapes.map(shape => shape.scss).join(',\n'); +const nonConformShapes = shapes.flatMap(shape => { + const violations = {}; + let invalid = false; + // Not sure if we want this check, edi still trying to see if she can do shadows without embedding PNGs + // if (shape.containsImage) { + // violations.containsImage = shape.containsImage; + // invalid = true; + // } + if (shape.nonIsometric) { + violations.nonIsometric = shape.nonIsometric; + invalid = true; + } + if (shape.nonPaletteColors) { + violations.nonPaletteColors = shape.nonPaletteColors; + invalid = true; + } + if (shape.position.length > 1 || shape.position.length == 0) { + violations.position = shape.position; + invalid = true; + } + if (!invalid) { + return [] + } + return [[shape, violations]]; +}); +console.log('The following shapes are not conform:', nonConformShapes); + +const convertDir = './.converted'; +fs.mkdirSync(convertDir); +const convertedPath = path.join(__dirname, convertDir); +fs.writeFileSync(path.join(convertedPath, 'options.xml'), xml); +fs.writeFileSync(path.join(convertedPath, 'variables.scss'), scss); +shapes.forEach(shape => { + const pageDir = path.join(convertedPath, shape.page); + if (!fs.existsSync(pageDir)) { + fs.mkdirSync(pageDir); + } + fs.writeFileSync(path.join(pageDir, shape.name + '.svg'), shape.svg); +}); -- cgit v1.2.3