Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions extensions/dashboard/sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand All @@ -38,12 +38,12 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.zk</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.saas.api</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,29 @@ public abstract class ChartjsDashboardWidget extends AbstractDashboardWidget<Cha
"#743411"
});

public static final ChartjsColorPalette DYNAMIA = new ChartjsColorPalette("Dynamia", new String[]{
"#2563EB", // Blue 600 - base tech
"#06B6D4", // Cyan 500 - energía
"#10B981", // Emerald 500 - crecimiento
"#F59E0B", // Amber 500 - acción
"#EF4444", // Red 500 - alerta elegante
"#8B5CF6", // Violet 500 - creatividad
"#EC4899", // Pink 500 - énfasis moderno
"#14B8A6", // Teal 500 - balance
"#6366F1", // Indigo 500 - profundidad
"#84CC16", // Lime 500 - dinamismo
"#F97316", // Orange 500 - energía cálida
"#22D3EE", // Cyan 400 - contraste light
"#A855F7", // Purple 500 - sofisticación
"#0EA5E9", // Sky 500 - claridad
"#4ADE80", // Green 400 - positivo
"#EAB308", // Yellow 500 - atención
"#F43F5E", // Rose 500 - impacto
"#3B82F6", // Blue 500 - variación principal
"#9333EA", // Purple 600 - autoridad
"#059669" // Emerald 600 - solidez
});

@Override
public void init(DashboardContext context) {
data = initChartjsData(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void renderFields(Dashboard dashboard, ViewDescriptor descriptor, List<D
String colxs = "";
if (field.getParams().containsKey(Viewers.PARAM_SPAN + "-xs")) {
int spanxs = (int) field.getParams().get(Viewers.PARAM_SPAN + "-xs");
colxs = " dt-col-" + toBootstrapColumns(spanxs);
colxs = " col-" + toBootstrapColumns(spanxs);
}

int tabletColSpan = 6;
Expand All @@ -118,7 +118,7 @@ private void renderFields(Dashboard dashboard, ViewDescriptor descriptor, List<D
} catch (Exception e) {
}

window.setSclass("dt-col-md-" + realSpan + " dt-col-sm-" + tabletColSpan + colxs);
window.setSclass("col-md-" + realSpan + " col-sm-" + tabletColSpan + colxs);
spaceLeft = spaceLeft - realSpan;
window.setParent(row);
if (spaceLeft <= 0) {
Expand All @@ -132,7 +132,7 @@ private void renderFields(Dashboard dashboard, ViewDescriptor descriptor, List<D

public Div newRow(Dashboard dashboard) {
Div row = new Div();
row.setZclass("dt-row");
row.setZclass("row");
row.setParent(dashboard);
return row;
}
Expand Down
6 changes: 3 additions & 3 deletions extensions/email-sms/sources/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>tools.dynamia.modules.email.parent</artifactId>
<groupId>tools.dynamia.modules</groupId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>

<artifactId>tools.dynamia.modules.email</artifactId>
Expand All @@ -50,12 +50,12 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.domain.jpa</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.templates</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand Down
4 changes: 2 additions & 2 deletions extensions/email-sms/sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -85,7 +85,7 @@
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.saas.jpa</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>


Expand Down
6 changes: 3 additions & 3 deletions extensions/email-sms/sources/ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>tools.dynamia.modules.email.parent</artifactId>
<groupId>tools.dynamia.modules</groupId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>

<name>DynamiaModules - Email UI</name>
Expand All @@ -34,12 +34,12 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.zk</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.email</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia.zk.addons</groupId>
Expand Down
8 changes: 4 additions & 4 deletions extensions/entity-files/sources/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>tools.dynamia.modules.entityfiles.parent</artifactId>
<groupId>tools.dynamia.modules</groupId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>
<name>DynamiaModules - EntityFiles - Core</name>
<artifactId>tools.dynamia.modules.entityfiles</artifactId>
Expand Down Expand Up @@ -54,20 +54,20 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.domain.jpa</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.io</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<type>jar</type>
</dependency>

<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.web</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<type>jar</type>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion extensions/entity-files/sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions extensions/entity-files/sources/s3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.entityfiles.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>

<name>DynamiaModules - EntityFiles - S3</name>
Expand All @@ -49,7 +49,7 @@
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.entityfiles</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
Expand Down
6 changes: 3 additions & 3 deletions extensions/entity-files/sources/ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>tools.dynamia.modules.entityfiles.parent</artifactId>
<groupId>tools.dynamia.modules</groupId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>
<name>DynamiaModules - EntityFiles UI</name>
<artifactId>tools.dynamia.modules.entityfiles.ui</artifactId>
Expand All @@ -48,12 +48,12 @@
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.entityfiles</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.zk</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<type>jar</type>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions extensions/file-importer/sources/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>tools.dynamia.modules.importer.parent</artifactId>
<groupId>tools.dynamia.modules</groupId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>
<name>Dynamia Modules - Importer Core</name>
<artifactId>tools.dynamia.modules.importer</artifactId>
Expand Down Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.reports</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion extensions/file-importer/sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions extensions/file-importer/sources/ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>tools.dynamia.modules.importer.parent</artifactId>
<groupId>tools.dynamia.modules</groupId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>
<name>Dynamia Modules - Importer UI</name>
<artifactId>tools.dynamia.modules.importer.ui</artifactId>
Expand Down Expand Up @@ -55,13 +55,13 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.zk</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>

<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.importer</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion extensions/finances/sources/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.finances.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>

<name>Dynamia Modules - Finances API</name>
Expand Down
2 changes: 1 addition & 1 deletion extensions/finances/sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extensions/reports/sources/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.reports.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>

<name>DynamiaModules - Reports API</name>
Expand Down
12 changes: 6 additions & 6 deletions extensions/reports/sources/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.reports.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</parent>

<name>DynamiaModules - Reports Core</name>
Expand All @@ -50,17 +50,17 @@
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.reports.api</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.domain.jpa</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.saas.jpa</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand All @@ -69,12 +69,12 @@
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.reports</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
</dependency>
<dependency>
<groupId>tools.dynamia</groupId>
<artifactId>tools.dynamia.templates</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion extensions/reports/sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>tools.dynamia.modules</groupId>
<artifactId>tools.dynamia.modules.parent</artifactId>
<version>26.2.2</version>
<version>26.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Loading