@cwellt_software/cwellt-reactjs-lib 1.4.10 → 1.4.12
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.
- package/dist/index.cjs.js +731 -5
- package/dist/index.css +2 -2
- package/dist/index.d.ts +208 -13
- package/dist/index.es.js +729 -7
- package/dist/src/components/control/action/search/CwSearchAsync.d.ts +105 -0
- package/dist/src/components/control/action/search/CwSearchAsync.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts +10 -1
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts +75 -0
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/dateRangePresetsTemporal.d.ts +16 -0
- package/dist/src/components/control/input/new-dates/dateRangePresetsTemporal.d.ts.map +1 -0
- package/dist/src/components/custom/super-scheduler/SuperScheduler.d.ts +4 -2
- package/dist/src/components/custom/super-scheduler/SuperScheduler.d.ts.map +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/playground/pages/DatePickerTemporalPage.d.ts.map +1 -1
- package/dist/src/playground/pages/SelectorsPage.d.ts.map +1 -1
- package/dist/test/components/control/input/new-dates/dateRangePresetsTemporal.test.d.ts +2 -0
- package/dist/test/components/control/input/new-dates/dateRangePresetsTemporal.test.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2452,6 +2452,106 @@ interface CwSearchInputProps extends HTMLProps<HTMLDivElement> {
|
|
|
2452
2452
|
*/
|
|
2453
2453
|
declare function CwSearchInput(optionsProps: React__default.PropsWithChildren<CwSearchInputProps>): react_jsx_runtime.JSX.Element;
|
|
2454
2454
|
|
|
2455
|
+
/**
|
|
2456
|
+
* One result row returned by {@link CwSearchAsyncProps.onSearch} /
|
|
2457
|
+
* {@link CwSearchAsyncProps.onResolveInitial} / {@link CwSearchAsyncProps.onResolveSelection}.
|
|
2458
|
+
* Domain-agnostic: wrappers map their API DTOs into this shape.
|
|
2459
|
+
*/
|
|
2460
|
+
interface CwSearchAsyncOption {
|
|
2461
|
+
/**
|
|
2462
|
+
* Stable identity committed via `onChange`. `number | string` to support both
|
|
2463
|
+
* numeric keys (crew id, airport AptKey) and string/GUID keys.
|
|
2464
|
+
*/
|
|
2465
|
+
id: number | string;
|
|
2466
|
+
/** Text shown in the DROPDOWN row (the full descriptive text). */
|
|
2467
|
+
label: string;
|
|
2468
|
+
/** Optional second line under `label` in the dropdown. Rendered only when present. */
|
|
2469
|
+
subLabel?: string;
|
|
2470
|
+
/**
|
|
2471
|
+
* Text placed in the INPUT after selection. Defaults to `label` when omitted.
|
|
2472
|
+
* Lets a wrapper show a short code in the input while the dropdown shows the full name.
|
|
2473
|
+
*/
|
|
2474
|
+
inputLabel?: string;
|
|
2475
|
+
/** Opaque escape hatch for wrappers needing the original DTO back in callbacks. */
|
|
2476
|
+
data?: unknown;
|
|
2477
|
+
}
|
|
2478
|
+
/** Props for {@link CwSearchAsync}. */
|
|
2479
|
+
interface CwSearchAsyncProps {
|
|
2480
|
+
/**
|
|
2481
|
+
* Runs on each debounced keystroke once `text.length >= minChars`. Receives an
|
|
2482
|
+
* `AbortSignal` — forward it to `fetch` so the engine can cancel superseded requests.
|
|
2483
|
+
* Rejecting/throwing is treated as "no results" (logged, dropdown closes).
|
|
2484
|
+
*/
|
|
2485
|
+
onSearch: (text: string, signal: AbortSignal) => Promise<CwSearchAsyncOption[]>;
|
|
2486
|
+
/** Commits the selection. `null` is passed on clear / falsy-value reset. */
|
|
2487
|
+
onChange: (id: CwSearchAsyncOption["id"] | null) => void;
|
|
2488
|
+
/**
|
|
2489
|
+
* Controlled pre-selected id. `null` / `undefined` means "no selection"; any other value
|
|
2490
|
+
* (including `0` or `""`, which are valid ids for a generic search) triggers initial resolution.
|
|
2491
|
+
*/
|
|
2492
|
+
value?: CwSearchAsyncOption["id"];
|
|
2493
|
+
/**
|
|
2494
|
+
* Resolve a preselected `value` to a display option when `initialDisplayText` is not
|
|
2495
|
+
* supplied. Receives an `AbortSignal`. Should be memoised by the caller.
|
|
2496
|
+
*/
|
|
2497
|
+
onResolveInitial?: (id: CwSearchAsyncOption["id"], signal: AbortSignal) => Promise<CwSearchAsyncOption>;
|
|
2498
|
+
/**
|
|
2499
|
+
* Given the option the user clicked, return the option to actually commit (possibly a
|
|
2500
|
+
* different id + display). Runs after click, before `onChange`. If omitted, the clicked
|
|
2501
|
+
* option is committed as-is. Receives an `AbortSignal`.
|
|
2502
|
+
*/
|
|
2503
|
+
onResolveSelection?: (option: CwSearchAsyncOption, signal: AbortSignal) => Promise<CwSearchAsyncOption>;
|
|
2504
|
+
/** Trailing icon shown when the input is empty/disabled. Defaults to a search icon. */
|
|
2505
|
+
icon?: CwIconProps;
|
|
2506
|
+
/** Input placeholder. Defaults to `"Search…"`. */
|
|
2507
|
+
placeholder?: string;
|
|
2508
|
+
/** Minimum chars before `onSearch` fires. Defaults to `2`. */
|
|
2509
|
+
minChars?: number;
|
|
2510
|
+
/** Debounce window in ms. Defaults to `300`. */
|
|
2511
|
+
debounceMs?: number;
|
|
2512
|
+
/** Disables the input when `true`. */
|
|
2513
|
+
disabled?: boolean;
|
|
2514
|
+
/** Visual-only required marker (sets `CwAlign` `itemProp="required"`). */
|
|
2515
|
+
required?: boolean;
|
|
2516
|
+
/** First-render input text for a preselected value; skips `onResolveInitial`. */
|
|
2517
|
+
initialDisplayText?: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* Incrementing this re-runs the LAST committed query through `onSearch` immediately
|
|
2520
|
+
* (for filtered searches whose filters changed). No-op on first mount and when there is
|
|
2521
|
+
* no prior query at/above `minChars`.
|
|
2522
|
+
*/
|
|
2523
|
+
searchTrigger?: number;
|
|
2524
|
+
/** Props forwarded to the internal `CwLabel`. */
|
|
2525
|
+
labelProps?: CwLabelProps;
|
|
2526
|
+
/** Props forwarded to the `CwAlign` layout wrapper. */
|
|
2527
|
+
alignProps?: CwAlignProps;
|
|
2528
|
+
/** Fixed CSS width for the input wrapper, e.g. `"400px"`. */
|
|
2529
|
+
width?: string;
|
|
2530
|
+
className?: string;
|
|
2531
|
+
}
|
|
2532
|
+
/**
|
|
2533
|
+
* Generic API-backed search input. Fetches matching options from a caller-supplied `onSearch`
|
|
2534
|
+
* callback as the user types (debounced), renders them in a portal-based dropdown with keyboard
|
|
2535
|
+
* navigation, and commits the selected id via `onChange`.
|
|
2536
|
+
*
|
|
2537
|
+
* All domain logic — API URLs, auth/config, display formatting, provider/secondary lookups — lives
|
|
2538
|
+
* in the caller's callbacks, so this component stays application-agnostic. It is the base for thin
|
|
2539
|
+
* wrappers such as `FindAirport` / `FindCrewmember`.
|
|
2540
|
+
*
|
|
2541
|
+
* Improvements over the legacy `CwFindAirport` / `CwFindCrewmember`: an `AbortController` cancels
|
|
2542
|
+
* superseded in-flight requests (fixes out-of-order results), and `minChars` / `debounceMs` are
|
|
2543
|
+
* configurable.
|
|
2544
|
+
*
|
|
2545
|
+
* @example
|
|
2546
|
+
* <CwSearchAsync
|
|
2547
|
+
* onSearch={(text, signal) => repo.search(text, signal)}
|
|
2548
|
+
* onChange={(id) => setSelectedId(id)}
|
|
2549
|
+
* labelProps={{ text: 'Airport' }}
|
|
2550
|
+
* icon={{ iconId: 'control-tower' }}
|
|
2551
|
+
* />
|
|
2552
|
+
*/
|
|
2553
|
+
declare const CwSearchAsync: React__default.FC<CwSearchAsyncProps>;
|
|
2554
|
+
|
|
2455
2555
|
type Placement = 'bottom' | 'top' | 'left' | 'right';
|
|
2456
2556
|
interface MenuOption {
|
|
2457
2557
|
key: string;
|
|
@@ -2580,7 +2680,7 @@ declare function CwBtnApprove({ cw_btnOnclick, cw_btn_disabled, onClick, disable
|
|
|
2580
2680
|
*/
|
|
2581
2681
|
declare function CwBtnCancel({ cw_btnOnclick, cw_btn_disabled, onClick, disabled, ...rest }: cw_btnProps): react_jsx_runtime.JSX.Element;
|
|
2582
2682
|
|
|
2583
|
-
type DateMatcher$
|
|
2683
|
+
type DateMatcher$4 = Matcher;
|
|
2584
2684
|
interface CwDatePickerProps {
|
|
2585
2685
|
/** Current selected date */
|
|
2586
2686
|
value?: Date;
|
|
@@ -2593,7 +2693,7 @@ interface CwDatePickerProps {
|
|
|
2593
2693
|
/** Array of specific dates to disable */
|
|
2594
2694
|
disabledDates?: Date[];
|
|
2595
2695
|
/** Function to determine if a date should be disabled */
|
|
2596
|
-
disabledMatcher?: DateMatcher$
|
|
2696
|
+
disabledMatcher?: DateMatcher$4;
|
|
2597
2697
|
/** Default month to display when calendar opens */
|
|
2598
2698
|
defaultMonth?: Date;
|
|
2599
2699
|
/** Props for label component */
|
|
@@ -2643,7 +2743,7 @@ interface DateRangePreset {
|
|
|
2643
2743
|
};
|
|
2644
2744
|
}
|
|
2645
2745
|
|
|
2646
|
-
type DateMatcher$
|
|
2746
|
+
type DateMatcher$3 = Matcher;
|
|
2647
2747
|
interface DateRangeValue {
|
|
2648
2748
|
from: Date | undefined;
|
|
2649
2749
|
to: Date | undefined;
|
|
@@ -2660,7 +2760,7 @@ interface CwDateRangePickerProps {
|
|
|
2660
2760
|
/** Array of specific dates to disable */
|
|
2661
2761
|
disabledDates?: Date[];
|
|
2662
2762
|
/** Function to determine if a date should be disabled */
|
|
2663
|
-
disabledMatcher?: DateMatcher$
|
|
2763
|
+
disabledMatcher?: DateMatcher$3;
|
|
2664
2764
|
/** Maximum number of days allowed in range (optional) */
|
|
2665
2765
|
maxRangeDays?: number;
|
|
2666
2766
|
/** Default month to display when calendar opens */
|
|
@@ -2716,7 +2816,7 @@ interface CwDateTimePickerProps {
|
|
|
2716
2816
|
/** Array of specific dates to disable */
|
|
2717
2817
|
disabledDates?: Date[];
|
|
2718
2818
|
/** Function to determine if a date should be disabled */
|
|
2719
|
-
disabledMatcher?: DateMatcher$
|
|
2819
|
+
disabledMatcher?: DateMatcher$4;
|
|
2720
2820
|
/** Interval in minutes for time selection (default: 15) */
|
|
2721
2821
|
timeInterval?: 5 | 10 | 15 | 30 | 60;
|
|
2722
2822
|
/** Minimum selectable time in format "HH:mm" */
|
|
@@ -2754,7 +2854,7 @@ interface CwDateTimePickerProps {
|
|
|
2754
2854
|
}
|
|
2755
2855
|
declare function CwDateTimePicker({ value, onChange, minDateTime, maxDateTime, disabledDates, disabledMatcher, timeInterval, minTime, maxTime, labelProps, alignProps, datePlaceholder, timePlaceholder, disabled, required, className, showClear, popupPosition, numberOfMonths, showNowButton, nowLabel, locale, timezoneOffset, }: Readonly<CwDateTimePickerProps>): react_jsx_runtime.JSX.Element;
|
|
2756
2856
|
|
|
2757
|
-
type DateMatcher$
|
|
2857
|
+
type DateMatcher$2 = Matcher;
|
|
2758
2858
|
interface CwDateTimePickerCompactProps {
|
|
2759
2859
|
/** Current selected datetime */
|
|
2760
2860
|
value?: Date;
|
|
@@ -2767,7 +2867,7 @@ interface CwDateTimePickerCompactProps {
|
|
|
2767
2867
|
/** Array of specific dates to disable */
|
|
2768
2868
|
disabledDates?: Date[];
|
|
2769
2869
|
/** Function to determine if a date should be disabled */
|
|
2770
|
-
disabledMatcher?: DateMatcher$
|
|
2870
|
+
disabledMatcher?: DateMatcher$2;
|
|
2771
2871
|
/** Interval in minutes for time selection (default: 15) */
|
|
2772
2872
|
timeInterval?: 5 | 10 | 15 | 30 | 60;
|
|
2773
2873
|
/** Minimum selectable time in format "HH:mm" */
|
|
@@ -2845,7 +2945,7 @@ interface CwTimePickerProps {
|
|
|
2845
2945
|
}
|
|
2846
2946
|
declare function CwTimePicker({ value, onChange, interval, minTime, maxTime, labelProps, alignProps, placeholder, disabled, required, className, showClear, popupPosition, useNative, }: CwTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
2847
2947
|
|
|
2848
|
-
type DateMatcher = Matcher;
|
|
2948
|
+
type DateMatcher$1 = Matcher;
|
|
2849
2949
|
interface CwDatePickerTemporalProps {
|
|
2850
2950
|
/** Current selected date */
|
|
2851
2951
|
value?: Temporal.PlainDate;
|
|
@@ -2858,7 +2958,7 @@ interface CwDatePickerTemporalProps {
|
|
|
2858
2958
|
/** Array of specific dates to disable */
|
|
2859
2959
|
disabledDates?: Temporal.PlainDate[];
|
|
2860
2960
|
/** Function to determine if a date should be disabled */
|
|
2861
|
-
disabledMatcher?: DateMatcher;
|
|
2961
|
+
disabledMatcher?: DateMatcher$1;
|
|
2862
2962
|
/** Default month to display when calendar opens */
|
|
2863
2963
|
defaultMonth?: Temporal.PlainYearMonth;
|
|
2864
2964
|
/** Props for label component */
|
|
@@ -2882,11 +2982,104 @@ interface CwDatePickerTemporalProps {
|
|
|
2882
2982
|
/** Number of months to display (default: 1) */
|
|
2883
2983
|
numberOfMonths?: number;
|
|
2884
2984
|
showTodayButton?: boolean;
|
|
2985
|
+
/**
|
|
2986
|
+
* First year shown in the year dropdown.
|
|
2987
|
+
* Defaults to `minDate`'s year, or 10 years before today when not set.
|
|
2988
|
+
*/
|
|
2989
|
+
yearRangeStart?: number;
|
|
2990
|
+
/** Last year shown in the year dropdown. Defaults to `maxDate`'s year, or 5 years after today when not set. */
|
|
2991
|
+
yearRangeEnd?: number;
|
|
2992
|
+
locale?: DayPickerLocale;
|
|
2885
2993
|
todayLabel?: string;
|
|
2886
2994
|
/** Feedback messages shown below the input */
|
|
2887
2995
|
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
2888
2996
|
}
|
|
2889
|
-
declare function CwDatePickerTemporal({ value, onChange, minDate, maxDate, disabledDates, disabledMatcher, defaultMonth, labelProps, alignProps, placeholder, displayFormat, disabled, required, className, showClear, popupPosition, numberOfMonths, showTodayButton, todayLabel, feedback, }: Readonly<CwDatePickerTemporalProps>): react_jsx_runtime.JSX.Element;
|
|
2997
|
+
declare function CwDatePickerTemporal({ value, onChange, minDate, maxDate, disabledDates, disabledMatcher, defaultMonth, labelProps, alignProps, placeholder, displayFormat, disabled, required, className, showClear, popupPosition, numberOfMonths, showTodayButton, locale, todayLabel, yearRangeStart, yearRangeEnd, feedback, }: Readonly<CwDatePickerTemporalProps>): react_jsx_runtime.JSX.Element;
|
|
2998
|
+
|
|
2999
|
+
interface DateRangePresetTemporal {
|
|
3000
|
+
key: string;
|
|
3001
|
+
label: string;
|
|
3002
|
+
/** Evaluated when clicked. Pass a reference date in tests; defaults to today. */
|
|
3003
|
+
getValue: (today?: Temporal.PlainDate) => {
|
|
3004
|
+
from: Temporal.PlainDate;
|
|
3005
|
+
to: Temporal.PlainDate;
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
declare const PRESET_LIBRARY_TEMPORAL: Record<string, DateRangePresetTemporal>;
|
|
3009
|
+
/**
|
|
3010
|
+
* Helper to get presets by their keys.
|
|
3011
|
+
* @example getPresetsByKeysTemporal(['thisWeek', 'past7Days', 'past30Days'])
|
|
3012
|
+
*/
|
|
3013
|
+
declare const getPresetsByKeysTemporal: (keys: string[]) => DateRangePresetTemporal[];
|
|
3014
|
+
|
|
3015
|
+
type DateMatcher = Matcher;
|
|
3016
|
+
interface DateRangeValueTemporal {
|
|
3017
|
+
from: Temporal.PlainDate | undefined;
|
|
3018
|
+
to: Temporal.PlainDate | undefined;
|
|
3019
|
+
}
|
|
3020
|
+
interface CwDateRangePickerTemporalProps {
|
|
3021
|
+
/** Current selected date range */
|
|
3022
|
+
value?: DateRangeValueTemporal;
|
|
3023
|
+
/** Callback when date range changes */
|
|
3024
|
+
onChange: (range: DateRangeValueTemporal | undefined) => void;
|
|
3025
|
+
/** Minimum selectable date */
|
|
3026
|
+
minDate?: Temporal.PlainDate;
|
|
3027
|
+
/** Maximum selectable date */
|
|
3028
|
+
maxDate?: Temporal.PlainDate;
|
|
3029
|
+
/** Array of specific dates to disable */
|
|
3030
|
+
disabledDates?: Temporal.PlainDate[];
|
|
3031
|
+
/** Function to determine if a date should be disabled */
|
|
3032
|
+
disabledMatcher?: DateMatcher;
|
|
3033
|
+
/** Maximum number of days allowed in range (optional) */
|
|
3034
|
+
maxRangeDays?: number;
|
|
3035
|
+
/** Default month to display when calendar opens */
|
|
3036
|
+
defaultMonth?: Temporal.PlainYearMonth;
|
|
3037
|
+
/** Props for label component */
|
|
3038
|
+
labelProps?: CwLabelProps;
|
|
3039
|
+
/** Props for alignment */
|
|
3040
|
+
alignProps?: CwAlignProps;
|
|
3041
|
+
/** Placeholder text for "from" input */
|
|
3042
|
+
placeholderFrom?: string;
|
|
3043
|
+
/** Placeholder text for "to" input */
|
|
3044
|
+
placeholderTo?: string;
|
|
3045
|
+
/** Display format for the inputs (default: dd.MM.yyyy) */
|
|
3046
|
+
displayFormat?: string;
|
|
3047
|
+
/** Is the input disabled */
|
|
3048
|
+
disabled?: boolean;
|
|
3049
|
+
/** Is the input required */
|
|
3050
|
+
required?: boolean;
|
|
3051
|
+
/** Additional CSS class for container */
|
|
3052
|
+
className?: string;
|
|
3053
|
+
/** Show clear buttons */
|
|
3054
|
+
showClear?: boolean;
|
|
3055
|
+
/** Pop Up Position */
|
|
3056
|
+
popupPosition?: "left-bottom" | "left-top" | "right-top" | "right-bottom";
|
|
3057
|
+
/** Number of months to display (default: 2 for ranges) */
|
|
3058
|
+
numberOfMonths?: number;
|
|
3059
|
+
/**
|
|
3060
|
+
* First year shown in the year dropdown.
|
|
3061
|
+
* Defaults to `minDate`'s year, or 10 years before today when not set.
|
|
3062
|
+
*/
|
|
3063
|
+
yearRangeStart?: number;
|
|
3064
|
+
/** Last year shown in the year dropdown. Defaults to `maxDate`'s year, or 5 years after today when not set. */
|
|
3065
|
+
yearRangeEnd?: number;
|
|
3066
|
+
locale?: DayPickerLocale;
|
|
3067
|
+
/**
|
|
3068
|
+
* Show preset buttons
|
|
3069
|
+
* @default false
|
|
3070
|
+
*/
|
|
3071
|
+
showPresets?: boolean;
|
|
3072
|
+
/**
|
|
3073
|
+
* Keys of presets to display from PRESET_LIBRARY_TEMPORAL
|
|
3074
|
+
* @example ['thisWeek', 'past7Days', 'past30Days']
|
|
3075
|
+
*/
|
|
3076
|
+
presetKeys?: string[];
|
|
3077
|
+
/**
|
|
3078
|
+
* Custom presets to add alongside library presets
|
|
3079
|
+
*/
|
|
3080
|
+
customPresets?: DateRangePresetTemporal[];
|
|
3081
|
+
}
|
|
3082
|
+
declare function CwDateRangePickerTemporal({ value, onChange, minDate, maxDate, disabledDates, disabledMatcher, maxRangeDays, defaultMonth, labelProps, alignProps, placeholderFrom, placeholderTo, displayFormat, disabled, required, className, showClear, popupPosition, numberOfMonths, locale, yearRangeStart, yearRangeEnd, showPresets, presetKeys, customPresets, }: Readonly<CwDateRangePickerTemporalProps>): react_jsx_runtime.JSX.Element;
|
|
2890
3083
|
|
|
2891
3084
|
declare class cblEvent {
|
|
2892
3085
|
id: string;
|
|
@@ -3260,6 +3453,8 @@ interface SuperSchedulerProps<T extends PinRowHeaderProps> {
|
|
|
3260
3453
|
rows: T[];
|
|
3261
3454
|
headerColumnComp: React.ComponentType<RowHeaderProps<T>>;
|
|
3262
3455
|
events: SchedulerEventDm[];
|
|
3456
|
+
/** Custom event renderer, mirroring the base Scheduler's EventComp. Defaults to SchedulerEvent. */
|
|
3457
|
+
EventComp?: React.ComponentType<SchedulerEventState<SchedulerEventDm>>;
|
|
3263
3458
|
backgroundEvents: BackgroundEventDm[];
|
|
3264
3459
|
indicatorRows?: IndicatorRowDm[];
|
|
3265
3460
|
contextMenuItems: MenuOption[];
|
|
@@ -3270,7 +3465,7 @@ interface SuperSchedulerProps<T extends PinRowHeaderProps> {
|
|
|
3270
3465
|
rowHeaderWidth?: number | string;
|
|
3271
3466
|
maxEventHeightRem?: number;
|
|
3272
3467
|
}
|
|
3273
|
-
declare const SuperScheduler: <T extends PinRowHeaderProps>({ id, state, header, rows, events, headerColumnComp, pinnedOrderCategory, unPinnedOrderCategory, backgroundEvents, indicatorRows, contextMenuItems, onEvent, rowHeightRem, rowHeaderWidth, maxEventHeightRem, }: SuperSchedulerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
3468
|
+
declare const SuperScheduler: <T extends PinRowHeaderProps>({ id, state, header, rows, events, headerColumnComp, pinnedOrderCategory, unPinnedOrderCategory, backgroundEvents, indicatorRows, contextMenuItems, onEvent, rowHeightRem, rowHeaderWidth, maxEventHeightRem, EventComp, }: SuperSchedulerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
3274
3469
|
|
|
3275
3470
|
declare class OnPinRow implements UiEvent {
|
|
3276
3471
|
readonly id: string;
|
|
@@ -3455,5 +3650,5 @@ declare class OnClickContextMenu implements UiEvent {
|
|
|
3455
3650
|
constructor(id: string, clickedMenu: string);
|
|
3456
3651
|
}
|
|
3457
3652
|
|
|
3458
|
-
export { CblDragAndDrop$1 as CblDragAndDrop, CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateTimePicker, CwDateTimePickerCompact, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUpload, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwLoadingSmall, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNote, CwOption, CwPopoverButton, CwReportModal, CwScheduler, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSortableList, CwSortableTable, CwSuperScheduler, CwTable, CwTableGrouped, CwTableServerSide, CwTabs, CwTagSelector, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltipManager, CwTooltipNew, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PinRowHeader, Resource, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, cblEvent, eventIsVisible, filterVisibleEvents, getDefaultDivisions, getEventSizes, itemsToMultiFilterTags, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
3459
|
-
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNoteProps, CwPopoverButtonProps, CwReportModalFunctionalProps, CwSelectListProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangeValue, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem, cblEventCompProps, resourceCompProps2 };
|
|
3653
|
+
export { CblDragAndDrop$1 as CblDragAndDrop, CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUpload, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwLoadingSmall, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNote, CwOption, CwPopoverButton, CwReportModal, CwScheduler, CwSearchAsync, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSortableList, CwSortableTable, CwSuperScheduler, CwTable, CwTableGrouped, CwTableServerSide, CwTabs, CwTagSelector, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltipManager, CwTooltipNew, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PRESET_LIBRARY_TEMPORAL, PinRowHeader, Resource, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, cblEvent, eventIsVisible, filterVisibleEvents, getDefaultDivisions, getEventSizes, getPresetsByKeysTemporal, itemsToMultiFilterTags, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
3654
|
+
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNoteProps, CwPopoverButtonProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem, cblEventCompProps, resourceCompProps2 };
|