jossydevers / cron-expression-input Goto Github PK
View Code? Open in Web Editor NEWCron UI: Input component to generate cron expressions easily and intuitively
License: MIT License
Cron UI: Input component to generate cron expressions easily and intuitively
License: MIT License
Hi, I found this component and I'm interested in using it in my project.
I'm having a strange issue that both css and js files in the dist folder are endcoded in UTF-16 LE with BOM. Which is somehow causing webpack and postcss to fail yo process the files properly
Any chance the files can be re-encoded as UTF-8?
It is first time for me to encounter an issue like that so it was puzzling me for some time.
Right now in the component you can generate a cron expression or paste one, but you must also be able to edit one after generating or pasting it.
In the sense that if there is already a cron expression in the component's input, when opening the creation modal, the fields of the modal must be able to be automatically completed with the values of the input cron expression.
Now it always complains, if the Cron field is not filled. But it could be an optional component. Please add more parameters (css class - not only a color value to set up UI, inner objects access, like input field to fine-tune it, etc).
Module not found: Package path . is not exported from package /Users/tmorrow/repo/iot/node_modules/cron-expression-input
(see exports field in /Users/tmorrow/repo/iot/node_modules/cron-expression-input/package.json)
Hello Jossy.
Thanx for sharing you work!!!
I'm implementing the component in a react app ES6.
I'm using vite
build tool.
As subject says, modal-dialog is not wrapped correctly thus displaying it as simple html.
Functionality wise it seems to function properly.
I'm using bulma
for css.
Any ideas how to fix this?
Imports
import "../../../node_modules/cron-expression-input/lib/cron-expression-input.min.css"; // CSS import "../../../node_modules/cron-expression-input/lib/cultures/en-US.js"; // Language (Optional) import "../../../node_modules/cron-expression-input/lib/cron-expression-input.min.js"; // JavaScript
Component
<cron-expression-input height="34px" width="250px" color="d58512" required="false" hotValidate="true" value="* * * * *" />
Error given by vite
:
[plugin:vite:css] [postcss] postcss-import: /home/jadeye/dev/automations-frontend/node_modules/cron-expression-input/lib/cron-expression-input.min.css:1:22344: Unknown word
Issue created to implement various languages in the component.
The languages must be located in "src\cultures\langs"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.