react-cron-generator 2.0.19 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,3 +24,4 @@ export declare const loadHeaders: (options?: {
24
24
  headers: HeaderKeyType[];
25
25
  }) => HeaderValType[];
26
26
  export {};
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/meta/index.ts"],"names":[],"mappings":"AAKA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7F,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7F,UAAU,mBAAmB;IAC3B,OAAO,EAAE,SAAS,CAAC;IACnB,MAAM,EAAE,QAAQ,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,QAAQ,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC;IACnB,MAAM,EAAE,QAAQ,CAAC;CAClB;AASD,eAAO,MAAM,MAAM,EAAE,mBAOpB,CAAC;AAoBF,UAAU,iBAAiB;IACzB,SAAS,EAAE,OAAO,MAAM,CAAC;IACzB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,iBAAiB,EA+BvC,CAAC;AAeF;;;GAGG;AACH,eAAO,MAAM,WAAW,aAAc;IAAE,OAAO,EAAE,aAAa,EAAE,CAAA;CAAE,KAAG,aAAa,EAUjF,CAAC"}
@@ -6,3 +6,4 @@ interface MinutesSelectProp {
6
6
  }
7
7
  declare const MinutesSelect: FunctionComponent<MinutesSelectProp>;
8
8
  export default MinutesSelect;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/minutes-select/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,WAAW,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAC5E,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IACtD,KAAK,EAAE,MAAM,CAAC;CACf;AACD,QAAA,MAAM,aAAa,EAAE,iBAAiB,CAAC,iBAAiB,CAsBvD,CAAC;AACF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,213 @@
1
+ /**
2
+ * Type definitions for the Cron Builder library
3
+ * Provides comprehensive type safety across the application
4
+ */
5
+ /**
6
+ * Cron format types
7
+ */
8
+ export type CronFormat = 'unix' | 'quartz';
9
+ /**
10
+ * Cron field positions for Quartz format (7 fields)
11
+ * 0: second, 1: minute, 2: hour, 3: day, 4: month, 5: day-of-week, 6: year
12
+ */
13
+ export type QuartzCronFields = [string, string, string, string, string, string, string];
14
+ /**
15
+ * Cron field positions for Unix format (5 fields)
16
+ * 0: minute, 1: hour, 2: day, 3: month, 4: day-of-week
17
+ */
18
+ export type UnixCronFields = [string, string, string, string, string];
19
+ /**
20
+ * Generic cron value array
21
+ */
22
+ export type CronValue = string[];
23
+ /**
24
+ * Header/Tab types for the cron builder
25
+ */
26
+ export type HeaderType = 'minutes' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'custom';
27
+ /**
28
+ * Translation function type
29
+ */
30
+ export type TranslateFn = (key: string) => string;
31
+ /**
32
+ * Change handler for cron value updates
33
+ */
34
+ export type CronChangeHandler = (value: string, humanReadable: string) => void;
35
+ /**
36
+ * Error handler for cron operations
37
+ */
38
+ export type CronErrorHandler = (error: string) => void;
39
+ /**
40
+ * Props for the main Cron component
41
+ */
42
+ export interface CronProps {
43
+ /**
44
+ * Current cron expression value
45
+ */
46
+ value?: string;
47
+ /**
48
+ * Callback fired when cron value changes
49
+ * @param value - The new cron expression
50
+ * @param text - Human-readable description of the cron expression
51
+ */
52
+ onChange: CronChangeHandler;
53
+ /**
54
+ * Whether to show human-readable text below the builder
55
+ * @default false
56
+ */
57
+ showResultText: boolean;
58
+ /**
59
+ * Whether to show the cron expression below the builder
60
+ * @default false
61
+ */
62
+ showResultCron: boolean;
63
+ /**
64
+ * Custom translation function for internationalization
65
+ * @param key - Translation key
66
+ * @returns Translated string
67
+ */
68
+ translateFn?: TranslateFn;
69
+ /**
70
+ * Locale for cronstrue library (human-readable descriptions)
71
+ * @default 'en'
72
+ */
73
+ locale?: string;
74
+ /**
75
+ * Configuration options for available tabs/headers
76
+ */
77
+ options?: {
78
+ headers: HeaderType[];
79
+ };
80
+ /**
81
+ * Whether the component is disabled
82
+ * @default false
83
+ */
84
+ disabled?: boolean;
85
+ /**
86
+ * Whether to use Unix format (5 fields) instead of Quartz (7 fields)
87
+ * @default false
88
+ */
89
+ isUnix?: boolean;
90
+ }
91
+ /**
92
+ * Props for cron tab components
93
+ */
94
+ export interface CronTabProps {
95
+ /**
96
+ * Callback fired when value changes
97
+ */
98
+ onChange: (value?: CronValue) => void;
99
+ /**
100
+ * Current cron value array
101
+ */
102
+ value: CronValue;
103
+ /**
104
+ * Translation function
105
+ */
106
+ translate: TranslateFn;
107
+ /**
108
+ * Whether the component is disabled
109
+ */
110
+ disabled?: boolean;
111
+ /**
112
+ * Whether using Unix format
113
+ */
114
+ isUnix?: boolean;
115
+ }
116
+ /**
117
+ * Validation result for cron expressions
118
+ */
119
+ export interface CronValidationResult {
120
+ /**
121
+ * Whether the cron expression is valid
122
+ */
123
+ isValid: boolean;
124
+ /**
125
+ * Error message if validation failed
126
+ */
127
+ error?: string;
128
+ /**
129
+ * Detected format of the cron expression
130
+ */
131
+ format?: CronFormat;
132
+ }
133
+ /**
134
+ * Options for cron state hook
135
+ */
136
+ export interface CronStateOptions {
137
+ /**
138
+ * Initial cron value
139
+ */
140
+ initialValue?: string;
141
+ /**
142
+ * Whether to use Unix format
143
+ */
144
+ isUnix?: boolean;
145
+ /**
146
+ * Change handler
147
+ */
148
+ onChange?: (value: string) => void;
149
+ /**
150
+ * Error handler
151
+ */
152
+ onError?: CronErrorHandler;
153
+ }
154
+ /**
155
+ * Return type for cron state hook
156
+ */
157
+ export interface CronStateReturn {
158
+ /**
159
+ * Current state
160
+ */
161
+ state: {
162
+ selectedPeriod: string;
163
+ value: string;
164
+ isUnix: boolean;
165
+ };
166
+ /**
167
+ * Set cron value
168
+ */
169
+ setValue: (value: string) => void;
170
+ /**
171
+ * Set selected period/tab
172
+ */
173
+ setSelectedPeriod: (period: string) => void;
174
+ /**
175
+ * Update value directly
176
+ */
177
+ updateValue: (newValue: string) => void;
178
+ /**
179
+ * Whether current expression is valid
180
+ */
181
+ isValidExpression: boolean;
182
+ /**
183
+ * Validation error message if any
184
+ */
185
+ validationError?: string;
186
+ }
187
+ /**
188
+ * Options for translation hook
189
+ */
190
+ export interface TranslationOptions {
191
+ /**
192
+ * Locale code
193
+ */
194
+ locale?: string;
195
+ /**
196
+ * Custom translation function
197
+ */
198
+ translateFn?: TranslateFn;
199
+ }
200
+ /**
201
+ * Return type for translation hook
202
+ */
203
+ export interface TranslationReturn {
204
+ /**
205
+ * Translation function
206
+ */
207
+ translate: TranslateFn;
208
+ /**
209
+ * Current locale
210
+ */
211
+ locale: string;
212
+ }
213
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE3C;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAA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C,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,EAAE,WAAW,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Utility functions to convert between Unix (5 fields) and Quartz (7 fields) cron formats
3
+ *
4
+ * Unix format: minute hour day month day-of-week
5
+ * Quartz format: second minute hour day month day-of-week year
6
+ */
7
+ /**
8
+ * Convert Unix cron (5 fields) to Quartz cron (7 fields)
9
+ * @param unixCron - Unix cron expression (e.g., "star/5 * * * *")
10
+ * @returns Quartz cron expression (e.g., "0 0/5 * * * ? *")
11
+ */
12
+ export declare const unixToQuartz: (unixCron: string) => string;
13
+ /**
14
+ * Convert Quartz cron (7 fields) to Unix cron (5 fields)
15
+ * @param quartzCron - Quartz cron expression (e.g., "0 0/5 * * * ? *")
16
+ * @returns Unix cron expression (e.g., "star/5 * * * *")
17
+ */
18
+ export declare const quartzToUnix: (quartzCron: string) => string;
19
+ /**
20
+ * Detect if a cron expression is Unix or Quartz format
21
+ * @param cron - Cron expression
22
+ * @returns 'unix' | 'quartz' | 'unknown'
23
+ */
24
+ export declare const detectCronFormat: (cron: string) => 'unix' | 'quartz' | 'unknown';
25
+ //# sourceMappingURL=cron-converter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron-converter.d.ts","sourceRoot":"","sources":["../../src/lib/utils/cron-converter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,aAAc,MAAM,KAAG,MA+B/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,eAAgB,MAAM,KAAG,MA0BjD,CAAC;AAkGF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,SAAU,MAAM,KAAG,MAAM,GAAG,QAAQ,GAAG,SAcnE,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Cron validation utilities
3
+ * Provides validation for both Unix (5-field) and Quartz (7-field) cron expressions
4
+ */
5
+ import { CronValidationResult } from '../types';
6
+ /**
7
+ * Validates a Unix cron expression (5 fields)
8
+ * Format: minute hour day month day-of-week
9
+ */
10
+ export declare function validateUnixCron(expression: string): CronValidationResult;
11
+ /**
12
+ * Validates a Quartz cron expression (6 or 7 fields)
13
+ * Format: second minute hour day month day-of-week [year]
14
+ */
15
+ export declare function validateQuartzCron(expression: string): CronValidationResult;
16
+ /**
17
+ * Auto-detects and validates a cron expression
18
+ */
19
+ export declare function validateCron(expression: string): CronValidationResult;
20
+ //# sourceMappingURL=cron-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron-validator.d.ts","sourceRoot":"","sources":["../../src/lib/utils/cron-validator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,CAuCzE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,CA4C3E;AAyKD;;GAEG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,CAkBrE"}
package/package.json CHANGED
@@ -1,26 +1,41 @@
1
1
  {
2
2
  "name": "react-cron-generator",
3
- "version": "2.0.19",
4
- "description": "Simple react component to generate cron expression",
3
+ "version": "2.1.0",
4
+ "description": "A powerful React component for building cron expressions with support for both Unix (5 fields) and Quartz (7 fields) formats. Features validation, format conversion, TypeScript support, and accessibility.",
5
5
  "keywords": [
6
+ "react",
6
7
  "React cron generator",
7
8
  "cron builder",
8
9
  "Scheduler expression builder",
9
10
  "cron",
10
- "React cron",
11
- "cron builder",
12
- "cron ui",
13
- "react cron ",
14
- "react cron editor",
15
- "react cron creator"
11
+ "cron-generator",
12
+ "cron-builder",
13
+ "cron-expression",
14
+ "scheduler",
15
+ "quartz",
16
+ "unix-cron",
17
+ "typescript",
18
+ "react-component",
19
+ "cron-ui",
20
+ "cron-editor",
21
+ "cron-validator",
22
+ "schedule-builder",
23
+ "time-scheduler"
16
24
  ],
17
- "author": "Sojin antony",
25
+ "author": {
26
+ "name": "Sojin Antony",
27
+ "url": "https://github.com/sojinantony01"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/sojinantony01/react-cron-generator/issues"
31
+ },
18
32
  "dependencies": {
19
- "cronstrue": "^2.12.0"
33
+ "cronstrue": "^2.59.0"
20
34
  },
21
35
  "type": "module",
22
36
  "main": "build/index.js",
23
37
  "module": "build/index.js",
38
+ "types": "build/index.d.ts",
24
39
  "files": [
25
40
  "build",
26
41
  "README.md"
@@ -30,52 +45,49 @@
30
45
  "url": "https://github.com/sojinantony01/react-cron-generator.git"
31
46
  },
32
47
  "peerDependencies": {
33
- "react": ">=16.8.0",
34
- "react-dom": ">=16.8.0"
48
+ "react": ">=16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
49
+ "react-dom": ">=16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
35
50
  },
36
51
  "devDependencies": {
37
- "@rollup/plugin-commonjs": "22.0.2",
38
- "@rollup/plugin-json": "4.1.0",
39
- "@rollup/plugin-node-resolve": "14.1.0",
40
- "@testing-library/jest-dom": "^5.16.5",
41
- "@testing-library/react": "^13.4.0",
42
- "@testing-library/user-event": "^13.5.0",
43
- "@types/jest": "^27.5.2",
44
- "@types/node": "^16.11.59",
45
- "@types/react": "^18.0.20",
46
- "@types/react-dom": "^18.0.6",
47
- "cypress": "^13.8.1",
48
- "postcss": "^8.4.16",
49
- "prettier": "^3.4.2",
50
- "react-scripts": "5.0.1",
51
- "rollup": "2.79.2",
52
- "rollup-plugin-peer-deps-external": "2.2.4",
53
- "rollup-plugin-postcss": "4.0.2",
54
- "rollup-plugin-typescript2": "0.34.0",
55
- "sass": "^1.54.9",
56
- "typescript": "^4.8.3",
57
- "web-vitals": "^2.1.4"
52
+ "@rollup/plugin-commonjs": "^29.0.0",
53
+ "@rollup/plugin-json": "^6.1.0",
54
+ "@rollup/plugin-node-resolve": "^16.0.3",
55
+ "@testing-library/jest-dom": "^6.9.1",
56
+ "@testing-library/react": "^16.3.1",
57
+ "@testing-library/user-event": "^14.6.1",
58
+ "@types/node": "^22.0.0",
59
+ "@types/react": "^18.3.27",
60
+ "@types/react-dom": "^18.3.7",
61
+ "@vitejs/plugin-react": "^5.1.2",
62
+ "cypress": "^13.17.0",
63
+ "jsdom": "^27.4.0",
64
+ "postcss": "^8.5.6",
65
+ "prettier": "^3.7.4",
66
+ "rollup": "^4.54.0",
67
+ "rollup-plugin-peer-deps-external": "^2.2.4",
68
+ "rollup-plugin-postcss": "^4.0.2",
69
+ "rollup-plugin-typescript2": "^0.36.0",
70
+ "typescript": "^4.9.5",
71
+ "vite": "^7.3.0",
72
+ "vite-plugin-dts": "^4.5.4",
73
+ "vitest": "^4.0.16"
58
74
  },
59
75
  "scripts": {
60
- "start": "react-scripts start",
76
+ "dev": "vite",
61
77
  "build": "rm -rf build && rollup -c",
62
- "test": "react-scripts test",
78
+ "demo:build": "vite build",
79
+ "demo:preview": "vite preview",
80
+ "test": "vitest run",
81
+ "test:watch": "vitest",
82
+ "test:ui": "vitest --ui",
63
83
  "cy:open": "cypress open",
64
84
  "cy:run": "cypress run --browser chrome",
65
- "eject": "react-scripts eject",
66
- "deploy": "gh-pages -d build",
67
- "react-build": "CI=false && react-scripts build",
85
+ "deploy": "npm run demo:build && gh-pages -d dist",
68
86
  "prepublishOnly": "npm run build",
69
- "format": "npx prettier --write './**/*.{ts,tsx,css,json,scss}' --config ./.prettierrc.json",
70
- "format-check": "npx prettier --check './**/*.{ts,tsx,css,json,scss}' --config ./.prettierrc.json"
87
+ "format": "npx prettier --write './**/*.{ts,tsx,css,json}' --config ./.prettierrc.json",
88
+ "format-check": "npx prettier --check './**/*.{ts,tsx,css,json}' --config ./.prettierrc.json"
71
89
  },
72
90
  "homepage": "https://sojinantony01.github.io/react-cron-generator",
73
- "eslintConfig": {
74
- "extends": [
75
- "react-app",
76
- "react-app/jest"
77
- ]
78
- },
79
91
  "license": "ISC",
80
92
  "browserslist": {
81
93
  "production": [