This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push: new 6cd48bdb DHIS2 Icon 6cd48bdb is described below commit 6cd48bdba7762a46b05db093e3c082ea418ba154 Author: Marat Gubaidullin <ma...@talismancloud.io> AuthorDate: Sat Mar 9 10:51:04 2024 -0500 DHIS2 Icon --- .../webui/src/designer/icons/ComponentIcons.tsx | 34 +++++++++++++++++++++- .../src/main/webui/src/designer/utils/CamelUi.tsx | 4 ++- .../src/designer/icons/ComponentIcons.tsx | 34 +++++++++++++++++++++- karavan-designer/src/designer/utils/CamelUi.tsx | 4 ++- .../src/designer/icons/ComponentIcons.tsx | 34 +++++++++++++++++++++- karavan-space/src/designer/utils/CamelUi.tsx | 4 ++- 6 files changed, 108 insertions(+), 6 deletions(-) diff --git a/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx b/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx index c803bf11..3dee6246 100644 --- a/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx +++ b/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx @@ -16,6 +16,38 @@ */ import React from 'react'; +export function DHIS2Icon() { + return ( + <svg + xmlns="http://www.w3.org/2000/svg" + id="Layer_1" + viewBox="0 0 195 175" + className="icon" width="32px" height="32px" + data-name="Layer 1" + > + <defs id="defs1"> + <style id="style1">{".cls-1{fill:#0080d4}"}</style> + </defs> + <title id="title1">{"dhis2-logo-rgb-positive"}</title> + <path + id="path1" + d="m189.415 56.477-82.74-53.66a19.75 19.75 0 0 0-20.33 0l-80.35 52.09a12 12 0 0 0-.25 20.63l80.54 54.94a19.39 19.39 0 0 0 20.38.25l82.75-53.65a11.87 11.87 0 0 0 0-20.59zm-91 61.45a4.29 4.29 0 0 1-3.49-.05l-77-52.49 76.71-49.78a4.76 4.76 0 0 1 3.74 0l78.91 51.15z" + className="cls-1" + /> + <path + id="path2" + d="m86.345 44.297-43.56 28.24 13.62 9.33 38.23-24.78a4.76 4.76 0 0 1 3.74 0l39.37 25.52 14-9.06-45.07-29.25a19.78 19.78 0 0 0-20.33 0z" + className="cls-1" + /> + <path + id="path3" + d="m189.415 97.937-8.62-5.59-14 9.06 10.52 6.83-78.91 51.15a4.37 4.37 0 0 1-3.49 0l-77-52.5 10-6.47-13.67-9.37-8.25 5.34a12 12 0 0 0-.25 20.63l80.54 54.92a19.36 19.36 0 0 0 20.38.24l82.74-53.65a11.87 11.87 0 0 0 0-20.59z" + className="cls-1" + /> + </svg> + ); +} + export function DirectIcon() { return ( <svg @@ -43,7 +75,7 @@ export function SpringIcon() { viewBox="0 0 32 32" className="icon" width="32px" height="32px"> <g fill="none" fillRule="evenodd"> - <path d="M0 0h32v32H0z"></path> + <path d="M0 0h32v32H0z"></path> <path fill="#70AD51" d="M5.466 27.993a1.364 1.364 0 10-.087-.076l-.266-.234C1.972 24.762 0 20.597 0 15.978 0 7.168 7.168 0 15.98 0c4.48 0 8.53 1.857 11.435 4.836a14.681 14.681 0 001.7-3.015c2.036 6.118 3.233 11.26 2.795 15.31-.592 8.274-7.508 14.83-15.93 14.83a15.903 15.903 0 01-10.276-3.757l-.238-.21zm23.58-4.982c4.01-5.336 1.775-13.965-.085-19.48-1.657 3.453-5.738 6.094-9.262 6.93-3.303.788-6.226.142-9.283 1.318-6.97 2.68-6.86 10.992-3.02 12.86.002 0 .23.124.227.12 0-.002 5.644-1.122 8. [...] diff --git a/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx b/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx index 09674c70..e430cf73 100644 --- a/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx +++ b/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx @@ -38,7 +38,7 @@ import { CloudIcon, ClusterIcon, DatabaseIcon, - DebeziumIcon, DirectIcon, + DebeziumIcon, DHIS2Icon, DirectIcon, DocumentIcon, FileIcon, GithubIcon, @@ -609,6 +609,8 @@ export class CamelUi { return GithubIcon(); } else if (title.startsWith("Git")) { return GitIcon(); + } else if (title.startsWith("DHIS2")) { + return DHIS2Icon(); } else if (title.startsWith("Cassandra")) { return CassandraIcon(); } else if (title.startsWith("Hazelcast")) { diff --git a/karavan-designer/src/designer/icons/ComponentIcons.tsx b/karavan-designer/src/designer/icons/ComponentIcons.tsx index c803bf11..3dee6246 100644 --- a/karavan-designer/src/designer/icons/ComponentIcons.tsx +++ b/karavan-designer/src/designer/icons/ComponentIcons.tsx @@ -16,6 +16,38 @@ */ import React from 'react'; +export function DHIS2Icon() { + return ( + <svg + xmlns="http://www.w3.org/2000/svg" + id="Layer_1" + viewBox="0 0 195 175" + className="icon" width="32px" height="32px" + data-name="Layer 1" + > + <defs id="defs1"> + <style id="style1">{".cls-1{fill:#0080d4}"}</style> + </defs> + <title id="title1">{"dhis2-logo-rgb-positive"}</title> + <path + id="path1" + d="m189.415 56.477-82.74-53.66a19.75 19.75 0 0 0-20.33 0l-80.35 52.09a12 12 0 0 0-.25 20.63l80.54 54.94a19.39 19.39 0 0 0 20.38.25l82.75-53.65a11.87 11.87 0 0 0 0-20.59zm-91 61.45a4.29 4.29 0 0 1-3.49-.05l-77-52.49 76.71-49.78a4.76 4.76 0 0 1 3.74 0l78.91 51.15z" + className="cls-1" + /> + <path + id="path2" + d="m86.345 44.297-43.56 28.24 13.62 9.33 38.23-24.78a4.76 4.76 0 0 1 3.74 0l39.37 25.52 14-9.06-45.07-29.25a19.78 19.78 0 0 0-20.33 0z" + className="cls-1" + /> + <path + id="path3" + d="m189.415 97.937-8.62-5.59-14 9.06 10.52 6.83-78.91 51.15a4.37 4.37 0 0 1-3.49 0l-77-52.5 10-6.47-13.67-9.37-8.25 5.34a12 12 0 0 0-.25 20.63l80.54 54.92a19.36 19.36 0 0 0 20.38.24l82.74-53.65a11.87 11.87 0 0 0 0-20.59z" + className="cls-1" + /> + </svg> + ); +} + export function DirectIcon() { return ( <svg @@ -43,7 +75,7 @@ export function SpringIcon() { viewBox="0 0 32 32" className="icon" width="32px" height="32px"> <g fill="none" fillRule="evenodd"> - <path d="M0 0h32v32H0z"></path> + <path d="M0 0h32v32H0z"></path> <path fill="#70AD51" d="M5.466 27.993a1.364 1.364 0 10-.087-.076l-.266-.234C1.972 24.762 0 20.597 0 15.978 0 7.168 7.168 0 15.98 0c4.48 0 8.53 1.857 11.435 4.836a14.681 14.681 0 001.7-3.015c2.036 6.118 3.233 11.26 2.795 15.31-.592 8.274-7.508 14.83-15.93 14.83a15.903 15.903 0 01-10.276-3.757l-.238-.21zm23.58-4.982c4.01-5.336 1.775-13.965-.085-19.48-1.657 3.453-5.738 6.094-9.262 6.93-3.303.788-6.226.142-9.283 1.318-6.97 2.68-6.86 10.992-3.02 12.86.002 0 .23.124.227.12 0-.002 5.644-1.122 8. [...] diff --git a/karavan-designer/src/designer/utils/CamelUi.tsx b/karavan-designer/src/designer/utils/CamelUi.tsx index 09674c70..e430cf73 100644 --- a/karavan-designer/src/designer/utils/CamelUi.tsx +++ b/karavan-designer/src/designer/utils/CamelUi.tsx @@ -38,7 +38,7 @@ import { CloudIcon, ClusterIcon, DatabaseIcon, - DebeziumIcon, DirectIcon, + DebeziumIcon, DHIS2Icon, DirectIcon, DocumentIcon, FileIcon, GithubIcon, @@ -609,6 +609,8 @@ export class CamelUi { return GithubIcon(); } else if (title.startsWith("Git")) { return GitIcon(); + } else if (title.startsWith("DHIS2")) { + return DHIS2Icon(); } else if (title.startsWith("Cassandra")) { return CassandraIcon(); } else if (title.startsWith("Hazelcast")) { diff --git a/karavan-space/src/designer/icons/ComponentIcons.tsx b/karavan-space/src/designer/icons/ComponentIcons.tsx index c803bf11..3dee6246 100644 --- a/karavan-space/src/designer/icons/ComponentIcons.tsx +++ b/karavan-space/src/designer/icons/ComponentIcons.tsx @@ -16,6 +16,38 @@ */ import React from 'react'; +export function DHIS2Icon() { + return ( + <svg + xmlns="http://www.w3.org/2000/svg" + id="Layer_1" + viewBox="0 0 195 175" + className="icon" width="32px" height="32px" + data-name="Layer 1" + > + <defs id="defs1"> + <style id="style1">{".cls-1{fill:#0080d4}"}</style> + </defs> + <title id="title1">{"dhis2-logo-rgb-positive"}</title> + <path + id="path1" + d="m189.415 56.477-82.74-53.66a19.75 19.75 0 0 0-20.33 0l-80.35 52.09a12 12 0 0 0-.25 20.63l80.54 54.94a19.39 19.39 0 0 0 20.38.25l82.75-53.65a11.87 11.87 0 0 0 0-20.59zm-91 61.45a4.29 4.29 0 0 1-3.49-.05l-77-52.49 76.71-49.78a4.76 4.76 0 0 1 3.74 0l78.91 51.15z" + className="cls-1" + /> + <path + id="path2" + d="m86.345 44.297-43.56 28.24 13.62 9.33 38.23-24.78a4.76 4.76 0 0 1 3.74 0l39.37 25.52 14-9.06-45.07-29.25a19.78 19.78 0 0 0-20.33 0z" + className="cls-1" + /> + <path + id="path3" + d="m189.415 97.937-8.62-5.59-14 9.06 10.52 6.83-78.91 51.15a4.37 4.37 0 0 1-3.49 0l-77-52.5 10-6.47-13.67-9.37-8.25 5.34a12 12 0 0 0-.25 20.63l80.54 54.92a19.36 19.36 0 0 0 20.38.24l82.74-53.65a11.87 11.87 0 0 0 0-20.59z" + className="cls-1" + /> + </svg> + ); +} + export function DirectIcon() { return ( <svg @@ -43,7 +75,7 @@ export function SpringIcon() { viewBox="0 0 32 32" className="icon" width="32px" height="32px"> <g fill="none" fillRule="evenodd"> - <path d="M0 0h32v32H0z"></path> + <path d="M0 0h32v32H0z"></path> <path fill="#70AD51" d="M5.466 27.993a1.364 1.364 0 10-.087-.076l-.266-.234C1.972 24.762 0 20.597 0 15.978 0 7.168 7.168 0 15.98 0c4.48 0 8.53 1.857 11.435 4.836a14.681 14.681 0 001.7-3.015c2.036 6.118 3.233 11.26 2.795 15.31-.592 8.274-7.508 14.83-15.93 14.83a15.903 15.903 0 01-10.276-3.757l-.238-.21zm23.58-4.982c4.01-5.336 1.775-13.965-.085-19.48-1.657 3.453-5.738 6.094-9.262 6.93-3.303.788-6.226.142-9.283 1.318-6.97 2.68-6.86 10.992-3.02 12.86.002 0 .23.124.227.12 0-.002 5.644-1.122 8. [...] diff --git a/karavan-space/src/designer/utils/CamelUi.tsx b/karavan-space/src/designer/utils/CamelUi.tsx index 09674c70..e430cf73 100644 --- a/karavan-space/src/designer/utils/CamelUi.tsx +++ b/karavan-space/src/designer/utils/CamelUi.tsx @@ -38,7 +38,7 @@ import { CloudIcon, ClusterIcon, DatabaseIcon, - DebeziumIcon, DirectIcon, + DebeziumIcon, DHIS2Icon, DirectIcon, DocumentIcon, FileIcon, GithubIcon, @@ -609,6 +609,8 @@ export class CamelUi { return GithubIcon(); } else if (title.startsWith("Git")) { return GitIcon(); + } else if (title.startsWith("DHIS2")) { + return DHIS2Icon(); } else if (title.startsWith("Cassandra")) { return CassandraIcon(); } else if (title.startsWith("Hazelcast")) {