Skip to content

Commit 35f33e8

Browse files
committed
feat: first implementation
1 parent 93e5248 commit 35f33e8

File tree

14 files changed

+703
-42
lines changed

14 files changed

+703
-42
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
[![Maven Central](https://img.shields.io/maven-central/v/com.flowingcode.vaadin.addons/template-addon)](https://mvnrepository.com/artifact/com.flowingcode.vaadin.addons/template-addon)
55
[![Javadoc](https://img.shields.io/badge/javadoc-00b4f0)](https://javadoc.flowingcode.com/artifact/com.flowingcode.vaadin.addons/template-addon)
66

7-
# Template Add-on
7+
# Cron Expressions Editor
88

9-
This is a template project for building new Vaadin 24 add-ons
9+
A component for Vaadin 24 that assist in the generation of cron expressions.
1010

1111
## Features
1212

13-
* List the features of your add-on in here
13+
* A mode to input daily, weekly and monthly expressions with the assistance of UI components
14+
* An advanced mode to input cron expressions directly
15+
* Calculation of the next dates scheduled by the generated cron expression
16+
* Allows the configuration of a list of frequently used cron expressions
1417

1518
## Online demo
1619

@@ -27,7 +30,7 @@ Add the following dependencies in your pom.xml file:
2730
```xml
2831
<dependency>
2932
<groupId>com.flowingcode.vaadin.addons</groupId>
30-
<artifactId>template-addon</artifactId>
33+
<artifactId>cron-expressions-editor-addon</artifactId>
3134
<version>X.Y.Z</version>
3235
</dependency>
3336
```
@@ -69,13 +72,18 @@ Then, follow these steps for creating a contribution:
6972

7073
This add-on is distributed under Apache License 2.0. For license terms, see LICENSE.txt.
7174

72-
TEMPLATE_ADDON is written by Flowing Code S.A.
75+
CronExpressionsEditor is written by Flowing Code S.A.
76+
77+
## Third-Party Dependencies
78+
79+
This project includes the following third-party dependency:
80+
81+
- **cron-expression-descriptor** – Licensed under the [MIT License](https://opensource.org/licenses/MIT).
7382

7483
# Developer Guide
7584

7685
## Getting started
7786

78-
Add your code samples in this section
7987

8088
## Special configuration when using Spring
8189

pom.xml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>com.flowingcode.vaadin.addons</groupId>
8-
<artifactId>template-addon</artifactId>
8+
<artifactId>cron-expressions-editor-addon</artifactId>
99
<version>1.0.0-SNAPSHOT</version>
10-
<name>Template Add-on</name>
11-
<description>Template Add-on for Vaadin Flow</description>
10+
<name>Cron Expressions Editor Add-on</name>
11+
<description>Component that allows the user to input cron expressions</description>
1212
<url>https://www.flowingcode.com/en/open-source/</url>
1313

1414
<properties>
@@ -20,8 +20,10 @@
2020
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2121
<drivers.dir>${project.basedir}/drivers</drivers.dir>
2222
<jetty.version>11.0.20</jetty.version>
23+
<cron.expression.descriptor.version>1.2.10</cron.expression.descriptor.version>
24+
<day.of.week.selector.version>1.0.0</day.of.week.selector.version>
25+
<spring.context.version>6.2.5</spring.context.version>
2326
<flowingcode.commons.demo.version>4.2.0</flowingcode.commons.demo.version>
24-
<frontend.hotdeploy>true</frontend.hotdeploy>
2527
</properties>
2628

2729
<organization>
@@ -117,6 +119,21 @@
117119
</pluginRepositories>
118120

119121
<dependencies>
122+
<dependency>
123+
<groupId>com.flowingcode.vaadin.addons</groupId>
124+
<artifactId>day-of-week-selector-addon</artifactId>
125+
<version>${day.of.week.selector.version}</version>
126+
</dependency>
127+
<dependency>
128+
<groupId>org.springframework</groupId>
129+
<artifactId>spring-context</artifactId>
130+
<version>${spring.context.version}</version>
131+
</dependency>
132+
<dependency>
133+
<groupId>it.burning</groupId>
134+
<artifactId>cron-expression-descriptor</artifactId>
135+
<version>${cron.expression.descriptor.version}</version>
136+
</dependency>
120137
<dependency>
121138
<groupId>com.vaadin</groupId>
122139
<artifactId>vaadin-core</artifactId>
@@ -273,6 +290,9 @@
273290
<supportedPackagings>
274291
<supportedPackaging>jar</supportedPackaging>
275292
</supportedPackagings>
293+
<systemProperties>
294+
<vaadin.frontend.hotdeploy>true</vaadin.frontend.hotdeploy>
295+
</systemProperties>
276296
</configuration>
277297
</plugin>
278298
</plugins>

0 commit comments

Comments
 (0)