@djangocfg/ui-tools 2.1.130 → 2.1.132

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.
Files changed (38) hide show
  1. package/README.md +57 -1
  2. package/dist/CronScheduler.client-REXEMXZN.mjs +67 -0
  3. package/dist/CronScheduler.client-REXEMXZN.mjs.map +1 -0
  4. package/dist/CronScheduler.client-YJ2SHYNH.cjs +72 -0
  5. package/dist/CronScheduler.client-YJ2SHYNH.cjs.map +1 -0
  6. package/dist/chunk-6G72N466.mjs +995 -0
  7. package/dist/chunk-6G72N466.mjs.map +1 -0
  8. package/dist/chunk-74JT4UIM.cjs +1015 -0
  9. package/dist/chunk-74JT4UIM.cjs.map +1 -0
  10. package/dist/index.cjs +109 -0
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +280 -1
  13. package/dist/index.d.ts +280 -1
  14. package/dist/index.mjs +32 -1
  15. package/dist/index.mjs.map +1 -1
  16. package/package.json +6 -6
  17. package/src/index.ts +5 -0
  18. package/src/tools/CronScheduler/CronScheduler.client.tsx +140 -0
  19. package/src/tools/CronScheduler/CronScheduler.story.tsx +220 -0
  20. package/src/tools/CronScheduler/components/CronCheatsheet.tsx +101 -0
  21. package/src/tools/CronScheduler/components/CustomInput.tsx +67 -0
  22. package/src/tools/CronScheduler/components/DayChips.tsx +130 -0
  23. package/src/tools/CronScheduler/components/MonthDayGrid.tsx +143 -0
  24. package/src/tools/CronScheduler/components/SchedulePreview.tsx +103 -0
  25. package/src/tools/CronScheduler/components/ScheduleTypeSelector.tsx +57 -0
  26. package/src/tools/CronScheduler/components/TimeSelector.tsx +132 -0
  27. package/src/tools/CronScheduler/components/index.ts +24 -0
  28. package/src/tools/CronScheduler/context/CronSchedulerContext.tsx +242 -0
  29. package/src/tools/CronScheduler/context/hooks.ts +86 -0
  30. package/src/tools/CronScheduler/context/index.ts +18 -0
  31. package/src/tools/CronScheduler/index.tsx +91 -0
  32. package/src/tools/CronScheduler/lazy.tsx +67 -0
  33. package/src/tools/CronScheduler/types/index.ts +112 -0
  34. package/src/tools/CronScheduler/utils/cron-builder.ts +100 -0
  35. package/src/tools/CronScheduler/utils/cron-humanize.ts +218 -0
  36. package/src/tools/CronScheduler/utils/cron-parser.ts +188 -0
  37. package/src/tools/CronScheduler/utils/index.ts +12 -0
  38. package/src/tools/index.ts +36 -0
package/dist/index.d.cts CHANGED
@@ -1226,6 +1226,112 @@ interface ImageViewerProps {
1226
1226
  */
1227
1227
  declare const LazyImageViewer: React$1.ComponentType<ImageViewerProps>;
1228
1228
 
1229
+ /**
1230
+ * CronScheduler Types
1231
+ *
1232
+ * Unix 5-field cron format: minute hour day-of-month month day-of-week
1233
+ */
1234
+ type ScheduleType = 'daily' | 'weekly' | 'monthly' | 'custom';
1235
+ /** Day of week: 0 = Sunday, 1 = Monday, ..., 6 = Saturday */
1236
+ type WeekDay = 0 | 1 | 2 | 3 | 4 | 5 | 6;
1237
+ /** Day of month: 1-31 */
1238
+ type MonthDay = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
1239
+ interface CronSchedulerState {
1240
+ /** Current schedule type */
1241
+ type: ScheduleType;
1242
+ /** Hour (0-23) */
1243
+ hour: number;
1244
+ /** Minute (0-59) */
1245
+ minute: number;
1246
+ /** Selected week days (for weekly type) */
1247
+ weekDays: WeekDay[];
1248
+ /** Selected month days (for monthly type) */
1249
+ monthDays: MonthDay[];
1250
+ /** Raw cron expression (for custom type) */
1251
+ customCron: string;
1252
+ /** Whether current state produces valid cron */
1253
+ isValid: boolean;
1254
+ }
1255
+ interface CronSchedulerComputed {
1256
+ /** Generated cron expression */
1257
+ cronExpression: string;
1258
+ /** Human-readable description */
1259
+ humanDescription: string;
1260
+ }
1261
+ interface CronSchedulerActions {
1262
+ /** Set schedule type */
1263
+ setType: (type: ScheduleType) => void;
1264
+ /** Set time (hour and minute) */
1265
+ setTime: (hour: number, minute: number) => void;
1266
+ /** Toggle a week day selection */
1267
+ toggleWeekDay: (day: WeekDay) => void;
1268
+ /** Set all week days at once */
1269
+ setWeekDays: (days: WeekDay[]) => void;
1270
+ /** Toggle a month day selection */
1271
+ toggleMonthDay: (day: MonthDay) => void;
1272
+ /** Set all month days at once */
1273
+ setMonthDays: (days: MonthDay[]) => void;
1274
+ /** Set custom cron expression */
1275
+ setCustomCron: (cron: string) => void;
1276
+ /** Reset to default state */
1277
+ reset: () => void;
1278
+ }
1279
+ interface CronSchedulerContextValue extends CronSchedulerState, CronSchedulerComputed, CronSchedulerActions {
1280
+ }
1281
+ interface CronSchedulerProps {
1282
+ /** Current cron expression (Unix 5-field format) */
1283
+ value?: string;
1284
+ /** Callback when schedule changes */
1285
+ onChange?: (cron: string) => void;
1286
+ /** Initial schedule type (default: 'daily') */
1287
+ defaultType?: ScheduleType;
1288
+ /** Show human-readable preview (default: true) */
1289
+ showPreview?: boolean;
1290
+ /** Show raw cron expression in preview (default: false) */
1291
+ showCronExpression?: boolean;
1292
+ /** Allow copying cron expression (default: false) */
1293
+ allowCopy?: boolean;
1294
+ /** 12h or 24h time format (default: '24h') */
1295
+ timeFormat?: '12h' | '24h';
1296
+ /** Disable all interactions */
1297
+ disabled?: boolean;
1298
+ /** Additional CSS classes */
1299
+ className?: string;
1300
+ }
1301
+ interface CronSchedulerProviderProps {
1302
+ children: React.ReactNode;
1303
+ value?: string;
1304
+ onChange?: (cron: string) => void;
1305
+ defaultType?: ScheduleType;
1306
+ }
1307
+
1308
+ /**
1309
+ * LazyCronScheduler - Lazy-loaded cron expression builder
1310
+ *
1311
+ * Automatically shows loading state while CronScheduler loads (~15KB).
1312
+ * Uses createLazyComponent factory for optimal code-splitting.
1313
+ *
1314
+ * @example
1315
+ * // Basic usage
1316
+ * <LazyCronScheduler
1317
+ * value="0 9 * * *"
1318
+ * onChange={handleChange}
1319
+ * />
1320
+ *
1321
+ * @example
1322
+ * // With all options
1323
+ * <LazyCronScheduler
1324
+ * value={cron}
1325
+ * onChange={setCron}
1326
+ * defaultType="weekly"
1327
+ * showPreview
1328
+ * showCronExpression
1329
+ * allowCopy
1330
+ * timeFormat="24h"
1331
+ * />
1332
+ */
1333
+ declare const LazyCronScheduler: React$1.ComponentType<CronSchedulerProps>;
1334
+
1229
1335
  /**
1230
1336
  * Mermaid Component - Dynamic Import Wrapper
1231
1337
  *
@@ -1792,6 +1898,179 @@ declare function formatTime(seconds: number): string;
1792
1898
 
1793
1899
  declare function ImageViewer({ file, content, src: directSrc, inDialog }: ImageViewerProps): react_jsx_runtime.JSX.Element;
1794
1900
 
1901
+ declare function CronSchedulerProvider({ children, value, onChange, defaultType, }: CronSchedulerProviderProps): react_jsx_runtime.JSX.Element;
1902
+ declare function useCronSchedulerContext(): CronSchedulerContextValue;
1903
+
1904
+ /**
1905
+ * Hook for schedule type selection
1906
+ * Re-renders only when type changes
1907
+ */
1908
+ declare function useCronType(): {
1909
+ type: ScheduleType;
1910
+ setType: (type: ScheduleType) => void;
1911
+ };
1912
+ /**
1913
+ * Hook for time selection
1914
+ * Re-renders only when hour/minute changes
1915
+ */
1916
+ declare function useCronTime(): {
1917
+ hour: number;
1918
+ minute: number;
1919
+ setTime: (hour: number, minute: number) => void;
1920
+ };
1921
+ /**
1922
+ * Hook for week days selection
1923
+ * Re-renders only when weekDays changes
1924
+ */
1925
+ declare function useCronWeekDays(): {
1926
+ weekDays: WeekDay[];
1927
+ toggleWeekDay: (day: WeekDay) => void;
1928
+ setWeekDays: (days: WeekDay[]) => void;
1929
+ };
1930
+ /**
1931
+ * Hook for month days selection
1932
+ * Re-renders only when monthDays changes
1933
+ */
1934
+ declare function useCronMonthDays(): {
1935
+ monthDays: MonthDay[];
1936
+ toggleMonthDay: (day: MonthDay) => void;
1937
+ setMonthDays: (days: MonthDay[]) => void;
1938
+ };
1939
+ /**
1940
+ * Hook for custom cron input
1941
+ * Re-renders only when customCron/isValid changes
1942
+ */
1943
+ declare function useCronCustom(): {
1944
+ customCron: string;
1945
+ isValid: boolean;
1946
+ setCustomCron: (cron: string) => void;
1947
+ };
1948
+ /**
1949
+ * Hook for preview display
1950
+ * Re-renders only when computed values change
1951
+ */
1952
+ declare function useCronPreview(): {
1953
+ cronExpression: string;
1954
+ humanDescription: string;
1955
+ isValid: boolean;
1956
+ };
1957
+ /**
1958
+ * Full context access
1959
+ * Use sparingly - causes re-render on any state change
1960
+ */
1961
+ declare function useCronScheduler(): CronSchedulerContextValue;
1962
+
1963
+ /**
1964
+ * Cron Builder
1965
+ *
1966
+ * Converts CronSchedulerState to Unix 5-field cron expression
1967
+ * Format: minute hour day-of-month month day-of-week
1968
+ */
1969
+
1970
+ /**
1971
+ * Builds Unix 5-field cron expression from state
1972
+ *
1973
+ * @example
1974
+ * // Daily at 9:00
1975
+ * buildCron({ type: 'daily', hour: 9, minute: 0, ... }) // '0 9 * * *'
1976
+ *
1977
+ * // Weekly on Mon, Wed, Fri at 14:30
1978
+ * buildCron({ type: 'weekly', hour: 14, minute: 30, weekDays: [1, 3, 5], ... }) // '30 14 * * 1,3,5'
1979
+ *
1980
+ * // Monthly on 1st and 15th at 0:00
1981
+ * buildCron({ type: 'monthly', hour: 0, minute: 0, monthDays: [1, 15], ... }) // '0 0 1,15 * *'
1982
+ */
1983
+ declare function buildCron(state: CronSchedulerState): string;
1984
+
1985
+ /**
1986
+ * Cron Parser
1987
+ *
1988
+ * Parses Unix 5-field cron expression into CronSchedulerState
1989
+ * Format: minute hour day-of-month month day-of-week
1990
+ */
1991
+
1992
+ /**
1993
+ * Parses Unix 5-field cron expression into state
1994
+ *
1995
+ * @param cron - Cron expression to parse
1996
+ * @returns Parsed state or null if invalid
1997
+ *
1998
+ * @example
1999
+ * parseCron('0 9 * * *')
2000
+ * // { type: 'daily', hour: 9, minute: 0, ... }
2001
+ *
2002
+ * parseCron('30 14 * * 1,3,5')
2003
+ * // { type: 'weekly', hour: 14, minute: 30, weekDays: [1, 3, 5], ... }
2004
+ */
2005
+ declare function parseCron(cron: string): CronSchedulerState | null;
2006
+ /**
2007
+ * Validates cron expression syntax
2008
+ */
2009
+ declare function isValidCron(cron: string): boolean;
2010
+
2011
+ /**
2012
+ * Cron Humanize
2013
+ *
2014
+ * Converts cron expressions to human-readable descriptions
2015
+ */
2016
+ /**
2017
+ * Converts cron expression to human-readable description
2018
+ *
2019
+ * Examples:
2020
+ * - humanizeCron('0 9 * * *') returns "Every day at 09:00"
2021
+ * - humanizeCron('30 14 * * 1,3,5') returns "Mon, Wed, Fri at 14:30"
2022
+ * - humanizeCron('0 0 1 * *') returns "1st of every month at 00:00"
2023
+ */
2024
+ declare function humanizeCron(cron: string): string;
2025
+
2026
+ interface ScheduleTypeSelectorProps {
2027
+ disabled?: boolean;
2028
+ className?: string;
2029
+ }
2030
+ declare function ScheduleTypeSelector({ disabled, className, }: ScheduleTypeSelectorProps): react_jsx_runtime.JSX.Element;
2031
+
2032
+ interface TimeSelectorProps {
2033
+ format?: '12h' | '24h';
2034
+ disabled?: boolean;
2035
+ className?: string;
2036
+ }
2037
+ declare function TimeSelector({ format, disabled, className, }: TimeSelectorProps): react_jsx_runtime.JSX.Element;
2038
+
2039
+ interface DayChipsProps {
2040
+ disabled?: boolean;
2041
+ showPresets?: boolean;
2042
+ className?: string;
2043
+ }
2044
+ declare function DayChips({ disabled, showPresets, className, }: DayChipsProps): react_jsx_runtime.JSX.Element;
2045
+
2046
+ interface MonthDayGridProps {
2047
+ disabled?: boolean;
2048
+ showPresets?: boolean;
2049
+ className?: string;
2050
+ }
2051
+ declare function MonthDayGrid({ disabled, showPresets, className, }: MonthDayGridProps): react_jsx_runtime.JSX.Element;
2052
+
2053
+ interface CustomInputProps {
2054
+ disabled?: boolean;
2055
+ className?: string;
2056
+ }
2057
+ declare function CustomInput({ disabled, className }: CustomInputProps): react_jsx_runtime.JSX.Element;
2058
+
2059
+ interface SchedulePreviewProps {
2060
+ /** Show raw cron expression (default: true) */
2061
+ showCronExpression?: boolean;
2062
+ /** Enable copy to clipboard */
2063
+ allowCopy?: boolean;
2064
+ /** Additional CSS classes */
2065
+ className?: string;
2066
+ }
2067
+ declare function SchedulePreview({ showCronExpression, allowCopy, className, }: SchedulePreviewProps): react_jsx_runtime.JSX.Element;
2068
+
2069
+ /**
2070
+ * CronScheduler with Suspense wrapper
2071
+ */
2072
+ declare function CronScheduler(props: CronSchedulerProps): react_jsx_runtime.JSX.Element;
2073
+
1795
2074
  interface BlobUrlEntry {
1796
2075
  url: string;
1797
2076
  refCount: number;
@@ -1970,4 +2249,4 @@ declare function useBlobUrlCleanup(key: string | null): void;
1970
2249
  */
1971
2250
  declare function generateContentKey(content: ArrayBuffer): string;
1972
2251
 
1973
- export { ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AudioLevels, AudioReactiveCover, type AudioReactiveCoverProps, BaseInputTemplate, type BlobSource, COLOR_SCHEMES, COLOR_SCHEME_INFO, CardLoadingFallback, CheckboxWidget, ColorWidget, type CreateLazyComponentOptions, type CreateVideoErrorFallbackOptions, type DASHSource, type DataUrlSource, EFFECT_ANIMATIONS, type EffectColorScheme, type EffectColors, type EffectConfig$1 as EffectConfig, type EffectIntensity, type EffectLayer, type EffectVariant, type EqualizerOptions, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, GlowEffect, type GlowEffectData, type HLSSource, type HybridAudioContextValue, type HybridAudioControls, HybridAudioPlayer, type HybridAudioPlayerProps, HybridAudioProvider, type HybridAudioProviderProps, type HybridAudioState, HybridSimplePlayer, type HybridSimplePlayerProps, HybridWaveform, type HybridWaveformProps, type HybridWebAudioAPI, INTENSITY_CONFIG, INTENSITY_INFO, type ImageFile, ImageViewer, type ImageViewerProps, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, LazyHybridAudioPlayer, LazyHybridSimplePlayer, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownMessage, type MarkdownMessageProps, type MarkerData, Mermaid, type MermaidProps$1 as MermaidProps, MeshEffect, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, OrbsEffect, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, type SchemaSource, SelectWidget, type SimpleStreamSource, SliderWidget, Spinner, SpotlightEffect, StreamProvider, type StreamSource, SwitchWidget, TextWidget, type UrlSource, type UseAudioVisualizationReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseHybridAudioOptions, type UseHybridAudioReturn, type UseLottieOptions, type UseLottieReturn, type UseVisualizationReturn, VARIANT_INFO, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type VisualizationColorScheme, type VisualizationIntensity, VisualizationProvider, type VisualizationProviderProps, type VisualizationSettings, type VisualizationVariant, type YouTubeSource, calculateGlowLayers, calculateMeshGradients, calculateOrbs, calculateSpotlight, createLazyComponent, createVideoErrorFallback, formatTime, generateContentKey, getColors, getEffectConfig, getRequiredFields, hasRequiredFields, isSimpleStreamSource, mergeDefaults, normalizeFormData, prepareEffectColors, resolveFileSource, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useAudioVisualization, useBlobUrlCleanup, useCollapsibleContent, useHybridAudio, useHybridAudioAnalysis, useHybridAudioContext, useHybridAudioControls, useHybridAudioLevels, useHybridAudioState, useHybridWebAudio, useImageCache, useLottie, useMediaCacheStore, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, useVisualization, validateRequiredFields, validateSchema };
2252
+ export { ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AudioLevels, AudioReactiveCover, type AudioReactiveCoverProps, BaseInputTemplate, type BlobSource, COLOR_SCHEMES, COLOR_SCHEME_INFO, CardLoadingFallback, CheckboxWidget, ColorWidget, type CreateLazyComponentOptions, type CreateVideoErrorFallbackOptions, CronScheduler, type CronSchedulerContextValue, type CronSchedulerProps, CronSchedulerProvider, type CronSchedulerState, CustomInput, type DASHSource, type DataUrlSource, DayChips, EFFECT_ANIMATIONS, type EffectColorScheme, type EffectColors, type EffectConfig$1 as EffectConfig, type EffectIntensity, type EffectLayer, type EffectVariant, type EqualizerOptions, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, GlowEffect, type GlowEffectData, type HLSSource, type HybridAudioContextValue, type HybridAudioControls, HybridAudioPlayer, type HybridAudioPlayerProps, HybridAudioProvider, type HybridAudioProviderProps, type HybridAudioState, HybridSimplePlayer, type HybridSimplePlayerProps, HybridWaveform, type HybridWaveformProps, type HybridWebAudioAPI, INTENSITY_CONFIG, INTENSITY_INFO, type ImageFile, ImageViewer, type ImageViewerProps, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, LazyCronScheduler, LazyHybridAudioPlayer, LazyHybridSimplePlayer, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownMessage, type MarkdownMessageProps, type MarkerData, Mermaid, type MermaidProps$1 as MermaidProps, MeshEffect, type MonthDay, MonthDayGrid, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, OrbsEffect, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, SchedulePreview, type ScheduleType, ScheduleTypeSelector, type SchemaSource, SelectWidget, type SimpleStreamSource, SliderWidget, Spinner, SpotlightEffect, StreamProvider, type StreamSource, SwitchWidget, TextWidget, TimeSelector, type UrlSource, type UseAudioVisualizationReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseHybridAudioOptions, type UseHybridAudioReturn, type UseLottieOptions, type UseLottieReturn, type UseVisualizationReturn, VARIANT_INFO, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type VisualizationColorScheme, type VisualizationIntensity, VisualizationProvider, type VisualizationProviderProps, type VisualizationSettings, type VisualizationVariant, type WeekDay, type YouTubeSource, buildCron, calculateGlowLayers, calculateMeshGradients, calculateOrbs, calculateSpotlight, createLazyComponent, createVideoErrorFallback, formatTime, generateContentKey, getColors, getEffectConfig, getRequiredFields, hasRequiredFields, humanizeCron, isSimpleStreamSource, isValidCron, mergeDefaults, normalizeFormData, parseCron, prepareEffectColors, resolveFileSource, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useAudioVisualization, useBlobUrlCleanup, useCollapsibleContent, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays, useHybridAudio, useHybridAudioAnalysis, useHybridAudioContext, useHybridAudioControls, useHybridAudioLevels, useHybridAudioState, useHybridWebAudio, useImageCache, useLottie, useMediaCacheStore, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, useVisualization, validateRequiredFields, validateSchema };
package/dist/index.d.ts CHANGED
@@ -1226,6 +1226,112 @@ interface ImageViewerProps {
1226
1226
  */
1227
1227
  declare const LazyImageViewer: React$1.ComponentType<ImageViewerProps>;
1228
1228
 
1229
+ /**
1230
+ * CronScheduler Types
1231
+ *
1232
+ * Unix 5-field cron format: minute hour day-of-month month day-of-week
1233
+ */
1234
+ type ScheduleType = 'daily' | 'weekly' | 'monthly' | 'custom';
1235
+ /** Day of week: 0 = Sunday, 1 = Monday, ..., 6 = Saturday */
1236
+ type WeekDay = 0 | 1 | 2 | 3 | 4 | 5 | 6;
1237
+ /** Day of month: 1-31 */
1238
+ type MonthDay = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
1239
+ interface CronSchedulerState {
1240
+ /** Current schedule type */
1241
+ type: ScheduleType;
1242
+ /** Hour (0-23) */
1243
+ hour: number;
1244
+ /** Minute (0-59) */
1245
+ minute: number;
1246
+ /** Selected week days (for weekly type) */
1247
+ weekDays: WeekDay[];
1248
+ /** Selected month days (for monthly type) */
1249
+ monthDays: MonthDay[];
1250
+ /** Raw cron expression (for custom type) */
1251
+ customCron: string;
1252
+ /** Whether current state produces valid cron */
1253
+ isValid: boolean;
1254
+ }
1255
+ interface CronSchedulerComputed {
1256
+ /** Generated cron expression */
1257
+ cronExpression: string;
1258
+ /** Human-readable description */
1259
+ humanDescription: string;
1260
+ }
1261
+ interface CronSchedulerActions {
1262
+ /** Set schedule type */
1263
+ setType: (type: ScheduleType) => void;
1264
+ /** Set time (hour and minute) */
1265
+ setTime: (hour: number, minute: number) => void;
1266
+ /** Toggle a week day selection */
1267
+ toggleWeekDay: (day: WeekDay) => void;
1268
+ /** Set all week days at once */
1269
+ setWeekDays: (days: WeekDay[]) => void;
1270
+ /** Toggle a month day selection */
1271
+ toggleMonthDay: (day: MonthDay) => void;
1272
+ /** Set all month days at once */
1273
+ setMonthDays: (days: MonthDay[]) => void;
1274
+ /** Set custom cron expression */
1275
+ setCustomCron: (cron: string) => void;
1276
+ /** Reset to default state */
1277
+ reset: () => void;
1278
+ }
1279
+ interface CronSchedulerContextValue extends CronSchedulerState, CronSchedulerComputed, CronSchedulerActions {
1280
+ }
1281
+ interface CronSchedulerProps {
1282
+ /** Current cron expression (Unix 5-field format) */
1283
+ value?: string;
1284
+ /** Callback when schedule changes */
1285
+ onChange?: (cron: string) => void;
1286
+ /** Initial schedule type (default: 'daily') */
1287
+ defaultType?: ScheduleType;
1288
+ /** Show human-readable preview (default: true) */
1289
+ showPreview?: boolean;
1290
+ /** Show raw cron expression in preview (default: false) */
1291
+ showCronExpression?: boolean;
1292
+ /** Allow copying cron expression (default: false) */
1293
+ allowCopy?: boolean;
1294
+ /** 12h or 24h time format (default: '24h') */
1295
+ timeFormat?: '12h' | '24h';
1296
+ /** Disable all interactions */
1297
+ disabled?: boolean;
1298
+ /** Additional CSS classes */
1299
+ className?: string;
1300
+ }
1301
+ interface CronSchedulerProviderProps {
1302
+ children: React.ReactNode;
1303
+ value?: string;
1304
+ onChange?: (cron: string) => void;
1305
+ defaultType?: ScheduleType;
1306
+ }
1307
+
1308
+ /**
1309
+ * LazyCronScheduler - Lazy-loaded cron expression builder
1310
+ *
1311
+ * Automatically shows loading state while CronScheduler loads (~15KB).
1312
+ * Uses createLazyComponent factory for optimal code-splitting.
1313
+ *
1314
+ * @example
1315
+ * // Basic usage
1316
+ * <LazyCronScheduler
1317
+ * value="0 9 * * *"
1318
+ * onChange={handleChange}
1319
+ * />
1320
+ *
1321
+ * @example
1322
+ * // With all options
1323
+ * <LazyCronScheduler
1324
+ * value={cron}
1325
+ * onChange={setCron}
1326
+ * defaultType="weekly"
1327
+ * showPreview
1328
+ * showCronExpression
1329
+ * allowCopy
1330
+ * timeFormat="24h"
1331
+ * />
1332
+ */
1333
+ declare const LazyCronScheduler: React$1.ComponentType<CronSchedulerProps>;
1334
+
1229
1335
  /**
1230
1336
  * Mermaid Component - Dynamic Import Wrapper
1231
1337
  *
@@ -1792,6 +1898,179 @@ declare function formatTime(seconds: number): string;
1792
1898
 
1793
1899
  declare function ImageViewer({ file, content, src: directSrc, inDialog }: ImageViewerProps): react_jsx_runtime.JSX.Element;
1794
1900
 
1901
+ declare function CronSchedulerProvider({ children, value, onChange, defaultType, }: CronSchedulerProviderProps): react_jsx_runtime.JSX.Element;
1902
+ declare function useCronSchedulerContext(): CronSchedulerContextValue;
1903
+
1904
+ /**
1905
+ * Hook for schedule type selection
1906
+ * Re-renders only when type changes
1907
+ */
1908
+ declare function useCronType(): {
1909
+ type: ScheduleType;
1910
+ setType: (type: ScheduleType) => void;
1911
+ };
1912
+ /**
1913
+ * Hook for time selection
1914
+ * Re-renders only when hour/minute changes
1915
+ */
1916
+ declare function useCronTime(): {
1917
+ hour: number;
1918
+ minute: number;
1919
+ setTime: (hour: number, minute: number) => void;
1920
+ };
1921
+ /**
1922
+ * Hook for week days selection
1923
+ * Re-renders only when weekDays changes
1924
+ */
1925
+ declare function useCronWeekDays(): {
1926
+ weekDays: WeekDay[];
1927
+ toggleWeekDay: (day: WeekDay) => void;
1928
+ setWeekDays: (days: WeekDay[]) => void;
1929
+ };
1930
+ /**
1931
+ * Hook for month days selection
1932
+ * Re-renders only when monthDays changes
1933
+ */
1934
+ declare function useCronMonthDays(): {
1935
+ monthDays: MonthDay[];
1936
+ toggleMonthDay: (day: MonthDay) => void;
1937
+ setMonthDays: (days: MonthDay[]) => void;
1938
+ };
1939
+ /**
1940
+ * Hook for custom cron input
1941
+ * Re-renders only when customCron/isValid changes
1942
+ */
1943
+ declare function useCronCustom(): {
1944
+ customCron: string;
1945
+ isValid: boolean;
1946
+ setCustomCron: (cron: string) => void;
1947
+ };
1948
+ /**
1949
+ * Hook for preview display
1950
+ * Re-renders only when computed values change
1951
+ */
1952
+ declare function useCronPreview(): {
1953
+ cronExpression: string;
1954
+ humanDescription: string;
1955
+ isValid: boolean;
1956
+ };
1957
+ /**
1958
+ * Full context access
1959
+ * Use sparingly - causes re-render on any state change
1960
+ */
1961
+ declare function useCronScheduler(): CronSchedulerContextValue;
1962
+
1963
+ /**
1964
+ * Cron Builder
1965
+ *
1966
+ * Converts CronSchedulerState to Unix 5-field cron expression
1967
+ * Format: minute hour day-of-month month day-of-week
1968
+ */
1969
+
1970
+ /**
1971
+ * Builds Unix 5-field cron expression from state
1972
+ *
1973
+ * @example
1974
+ * // Daily at 9:00
1975
+ * buildCron({ type: 'daily', hour: 9, minute: 0, ... }) // '0 9 * * *'
1976
+ *
1977
+ * // Weekly on Mon, Wed, Fri at 14:30
1978
+ * buildCron({ type: 'weekly', hour: 14, minute: 30, weekDays: [1, 3, 5], ... }) // '30 14 * * 1,3,5'
1979
+ *
1980
+ * // Monthly on 1st and 15th at 0:00
1981
+ * buildCron({ type: 'monthly', hour: 0, minute: 0, monthDays: [1, 15], ... }) // '0 0 1,15 * *'
1982
+ */
1983
+ declare function buildCron(state: CronSchedulerState): string;
1984
+
1985
+ /**
1986
+ * Cron Parser
1987
+ *
1988
+ * Parses Unix 5-field cron expression into CronSchedulerState
1989
+ * Format: minute hour day-of-month month day-of-week
1990
+ */
1991
+
1992
+ /**
1993
+ * Parses Unix 5-field cron expression into state
1994
+ *
1995
+ * @param cron - Cron expression to parse
1996
+ * @returns Parsed state or null if invalid
1997
+ *
1998
+ * @example
1999
+ * parseCron('0 9 * * *')
2000
+ * // { type: 'daily', hour: 9, minute: 0, ... }
2001
+ *
2002
+ * parseCron('30 14 * * 1,3,5')
2003
+ * // { type: 'weekly', hour: 14, minute: 30, weekDays: [1, 3, 5], ... }
2004
+ */
2005
+ declare function parseCron(cron: string): CronSchedulerState | null;
2006
+ /**
2007
+ * Validates cron expression syntax
2008
+ */
2009
+ declare function isValidCron(cron: string): boolean;
2010
+
2011
+ /**
2012
+ * Cron Humanize
2013
+ *
2014
+ * Converts cron expressions to human-readable descriptions
2015
+ */
2016
+ /**
2017
+ * Converts cron expression to human-readable description
2018
+ *
2019
+ * Examples:
2020
+ * - humanizeCron('0 9 * * *') returns "Every day at 09:00"
2021
+ * - humanizeCron('30 14 * * 1,3,5') returns "Mon, Wed, Fri at 14:30"
2022
+ * - humanizeCron('0 0 1 * *') returns "1st of every month at 00:00"
2023
+ */
2024
+ declare function humanizeCron(cron: string): string;
2025
+
2026
+ interface ScheduleTypeSelectorProps {
2027
+ disabled?: boolean;
2028
+ className?: string;
2029
+ }
2030
+ declare function ScheduleTypeSelector({ disabled, className, }: ScheduleTypeSelectorProps): react_jsx_runtime.JSX.Element;
2031
+
2032
+ interface TimeSelectorProps {
2033
+ format?: '12h' | '24h';
2034
+ disabled?: boolean;
2035
+ className?: string;
2036
+ }
2037
+ declare function TimeSelector({ format, disabled, className, }: TimeSelectorProps): react_jsx_runtime.JSX.Element;
2038
+
2039
+ interface DayChipsProps {
2040
+ disabled?: boolean;
2041
+ showPresets?: boolean;
2042
+ className?: string;
2043
+ }
2044
+ declare function DayChips({ disabled, showPresets, className, }: DayChipsProps): react_jsx_runtime.JSX.Element;
2045
+
2046
+ interface MonthDayGridProps {
2047
+ disabled?: boolean;
2048
+ showPresets?: boolean;
2049
+ className?: string;
2050
+ }
2051
+ declare function MonthDayGrid({ disabled, showPresets, className, }: MonthDayGridProps): react_jsx_runtime.JSX.Element;
2052
+
2053
+ interface CustomInputProps {
2054
+ disabled?: boolean;
2055
+ className?: string;
2056
+ }
2057
+ declare function CustomInput({ disabled, className }: CustomInputProps): react_jsx_runtime.JSX.Element;
2058
+
2059
+ interface SchedulePreviewProps {
2060
+ /** Show raw cron expression (default: true) */
2061
+ showCronExpression?: boolean;
2062
+ /** Enable copy to clipboard */
2063
+ allowCopy?: boolean;
2064
+ /** Additional CSS classes */
2065
+ className?: string;
2066
+ }
2067
+ declare function SchedulePreview({ showCronExpression, allowCopy, className, }: SchedulePreviewProps): react_jsx_runtime.JSX.Element;
2068
+
2069
+ /**
2070
+ * CronScheduler with Suspense wrapper
2071
+ */
2072
+ declare function CronScheduler(props: CronSchedulerProps): react_jsx_runtime.JSX.Element;
2073
+
1795
2074
  interface BlobUrlEntry {
1796
2075
  url: string;
1797
2076
  refCount: number;
@@ -1970,4 +2249,4 @@ declare function useBlobUrlCleanup(key: string | null): void;
1970
2249
  */
1971
2250
  declare function generateContentKey(content: ArrayBuffer): string;
1972
2251
 
1973
- export { ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AudioLevels, AudioReactiveCover, type AudioReactiveCoverProps, BaseInputTemplate, type BlobSource, COLOR_SCHEMES, COLOR_SCHEME_INFO, CardLoadingFallback, CheckboxWidget, ColorWidget, type CreateLazyComponentOptions, type CreateVideoErrorFallbackOptions, type DASHSource, type DataUrlSource, EFFECT_ANIMATIONS, type EffectColorScheme, type EffectColors, type EffectConfig$1 as EffectConfig, type EffectIntensity, type EffectLayer, type EffectVariant, type EqualizerOptions, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, GlowEffect, type GlowEffectData, type HLSSource, type HybridAudioContextValue, type HybridAudioControls, HybridAudioPlayer, type HybridAudioPlayerProps, HybridAudioProvider, type HybridAudioProviderProps, type HybridAudioState, HybridSimplePlayer, type HybridSimplePlayerProps, HybridWaveform, type HybridWaveformProps, type HybridWebAudioAPI, INTENSITY_CONFIG, INTENSITY_INFO, type ImageFile, ImageViewer, type ImageViewerProps, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, LazyHybridAudioPlayer, LazyHybridSimplePlayer, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownMessage, type MarkdownMessageProps, type MarkerData, Mermaid, type MermaidProps$1 as MermaidProps, MeshEffect, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, OrbsEffect, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, type SchemaSource, SelectWidget, type SimpleStreamSource, SliderWidget, Spinner, SpotlightEffect, StreamProvider, type StreamSource, SwitchWidget, TextWidget, type UrlSource, type UseAudioVisualizationReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseHybridAudioOptions, type UseHybridAudioReturn, type UseLottieOptions, type UseLottieReturn, type UseVisualizationReturn, VARIANT_INFO, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type VisualizationColorScheme, type VisualizationIntensity, VisualizationProvider, type VisualizationProviderProps, type VisualizationSettings, type VisualizationVariant, type YouTubeSource, calculateGlowLayers, calculateMeshGradients, calculateOrbs, calculateSpotlight, createLazyComponent, createVideoErrorFallback, formatTime, generateContentKey, getColors, getEffectConfig, getRequiredFields, hasRequiredFields, isSimpleStreamSource, mergeDefaults, normalizeFormData, prepareEffectColors, resolveFileSource, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useAudioVisualization, useBlobUrlCleanup, useCollapsibleContent, useHybridAudio, useHybridAudioAnalysis, useHybridAudioContext, useHybridAudioControls, useHybridAudioLevels, useHybridAudioState, useHybridWebAudio, useImageCache, useLottie, useMediaCacheStore, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, useVisualization, validateRequiredFields, validateSchema };
2252
+ export { ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AudioLevels, AudioReactiveCover, type AudioReactiveCoverProps, BaseInputTemplate, type BlobSource, COLOR_SCHEMES, COLOR_SCHEME_INFO, CardLoadingFallback, CheckboxWidget, ColorWidget, type CreateLazyComponentOptions, type CreateVideoErrorFallbackOptions, CronScheduler, type CronSchedulerContextValue, type CronSchedulerProps, CronSchedulerProvider, type CronSchedulerState, CustomInput, type DASHSource, type DataUrlSource, DayChips, EFFECT_ANIMATIONS, type EffectColorScheme, type EffectColors, type EffectConfig$1 as EffectConfig, type EffectIntensity, type EffectLayer, type EffectVariant, type EqualizerOptions, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, GlowEffect, type GlowEffectData, type HLSSource, type HybridAudioContextValue, type HybridAudioControls, HybridAudioPlayer, type HybridAudioPlayerProps, HybridAudioProvider, type HybridAudioProviderProps, type HybridAudioState, HybridSimplePlayer, type HybridSimplePlayerProps, HybridWaveform, type HybridWaveformProps, type HybridWebAudioAPI, INTENSITY_CONFIG, INTENSITY_INFO, type ImageFile, ImageViewer, type ImageViewerProps, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, LazyCronScheduler, LazyHybridAudioPlayer, LazyHybridSimplePlayer, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownMessage, type MarkdownMessageProps, type MarkerData, Mermaid, type MermaidProps$1 as MermaidProps, MeshEffect, type MonthDay, MonthDayGrid, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, OrbsEffect, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, SchedulePreview, type ScheduleType, ScheduleTypeSelector, type SchemaSource, SelectWidget, type SimpleStreamSource, SliderWidget, Spinner, SpotlightEffect, StreamProvider, type StreamSource, SwitchWidget, TextWidget, TimeSelector, type UrlSource, type UseAudioVisualizationReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseHybridAudioOptions, type UseHybridAudioReturn, type UseLottieOptions, type UseLottieReturn, type UseVisualizationReturn, VARIANT_INFO, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type VisualizationColorScheme, type VisualizationIntensity, VisualizationProvider, type VisualizationProviderProps, type VisualizationSettings, type VisualizationVariant, type WeekDay, type YouTubeSource, buildCron, calculateGlowLayers, calculateMeshGradients, calculateOrbs, calculateSpotlight, createLazyComponent, createVideoErrorFallback, formatTime, generateContentKey, getColors, getEffectConfig, getRequiredFields, hasRequiredFields, humanizeCron, isSimpleStreamSource, isValidCron, mergeDefaults, normalizeFormData, parseCron, prepareEffectColors, resolveFileSource, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useAudioVisualization, useBlobUrlCleanup, useCollapsibleContent, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays, useHybridAudio, useHybridAudioAnalysis, useHybridAudioContext, useHybridAudioControls, useHybridAudioLevels, useHybridAudioState, useHybridWebAudio, useImageCache, useLottie, useMediaCacheStore, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, useVisualization, validateRequiredFields, validateSchema };
package/dist/index.mjs CHANGED
@@ -3,6 +3,7 @@ export { NativeProvider, StreamProvider, VideoControls, VideoErrorFallback, Vide
3
3
  import './chunk-JWB2EWQO.mjs';
4
4
  export { ImageViewer } from './chunk-2DSR7V2L.mjs';
5
5
  export { generateContentKey, useAudioCache, useBlobUrlCleanup, useImageCache, useMediaCacheStore, useVideoCache, useVideoPlayerSettings } from './chunk-LTJX2JXE.mjs';
6
+ export { CronSchedulerProvider, CustomInput, DayChips, MonthDayGrid, SchedulePreview, ScheduleTypeSelector, TimeSelector, buildCron, humanizeCron, isValidCron, parseCron, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays } from './chunk-6G72N466.mjs';
6
7
  import { PlaygroundProvider, PrettyCode_default } from './chunk-XZZ22EHP.mjs';
7
8
  export { PrettyCode_default as PrettyCode } from './chunk-XZZ22EHP.mjs';
8
9
  export { JsonTree_default as JsonTree } from './chunk-XXFYTIQK.mjs';
@@ -823,6 +824,20 @@ var LazyImageViewer = createLazyComponent(
823
824
  fallback: /* @__PURE__ */ jsx(LoadingFallback, { minHeight: 200, text: "Loading image viewer..." })
824
825
  }
825
826
  );
827
+ var LazyCronScheduler = createLazyComponent(
828
+ () => import('./CronScheduler.client-REXEMXZN.mjs'),
829
+ {
830
+ displayName: "LazyCronScheduler",
831
+ fallback: /* @__PURE__ */ jsx(
832
+ LoadingFallback,
833
+ {
834
+ minHeight: 120,
835
+ showText: false,
836
+ className: "rounded-lg"
837
+ }
838
+ )
839
+ }
840
+ );
826
841
  var LottiePlayerClient = lazy(
827
842
  () => import('./LottiePlayer.client-B4I6WNZM.mjs').then((mod) => ({ default: mod.LottiePlayer }))
828
843
  );
@@ -842,7 +857,23 @@ var Playground = /* @__PURE__ */ __name(({ config }) => {
842
857
  return /* @__PURE__ */ jsx(PlaygroundProvider, { config, children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingFallback9, {}), children: /* @__PURE__ */ jsx(PlaygroundLayout, {}) }) });
843
858
  }, "Playground");
844
859
  var OpenapiViewer_default = Playground;
860
+ var CronSchedulerClient = lazy(() => import('./CronScheduler.client-REXEMXZN.mjs'));
861
+ function CronScheduler(props) {
862
+ return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(CronSchedulerFallback, {}), children: /* @__PURE__ */ jsx(CronSchedulerClient, { ...props }) });
863
+ }
864
+ __name(CronScheduler, "CronScheduler");
865
+ function CronSchedulerFallback() {
866
+ return /* @__PURE__ */ jsx(
867
+ LoadingFallback,
868
+ {
869
+ minHeight: 120,
870
+ showText: false,
871
+ className: "rounded-lg"
872
+ }
873
+ );
874
+ }
875
+ __name(CronSchedulerFallback, "CronSchedulerFallback");
845
876
 
846
- export { CardLoadingFallback, LazyHybridAudioPlayer, LazyHybridSimplePlayer, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyVideoPlayer, LazyWrapper, LoadingFallback, LottiePlayer, MapLoadingFallback, MarkdownMessage, Mermaid_default as Mermaid, OpenapiViewer_default as OpenapiViewer, Spinner, createLazyComponent, useCollapsibleContent };
877
+ export { CardLoadingFallback, CronScheduler, LazyCronScheduler, LazyHybridAudioPlayer, LazyHybridSimplePlayer, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyVideoPlayer, LazyWrapper, LoadingFallback, LottiePlayer, MapLoadingFallback, MarkdownMessage, Mermaid_default as Mermaid, OpenapiViewer_default as OpenapiViewer, Spinner, createLazyComponent, useCollapsibleContent };
847
878
  //# sourceMappingURL=index.mjs.map
848
879
  //# sourceMappingURL=index.mjs.map