@cwellt_software/cwellt-reactjs-lib 1.5.1 → 1.5.2
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/content/fonts/roboto-mono/LICENSE +93 -93
- package/dist/content/fonts/roboto-mono/RobotoMono.css +43 -43
- package/dist/index.cjs.js +12 -1390
- package/dist/index.css +2 -2
- package/dist/index.d.ts +17 -216
- package/dist/index.es.js +14 -1387
- package/dist/src/components/control/input/color/CwInputColor.d.ts +2 -0
- package/dist/src/components/control/input/color/CwInputColor.d.ts.map +1 -1
- package/dist/src/components/control/input/digit/CwDigit.d.ts +6 -0
- package/dist/src/components/control/input/digit/CwDigit.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -8
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/content/fonts/roboto/LICENSE.txt +0 -202
- package/dist/content/fonts/roboto/Roboto-Black.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Bold.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Italic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Light.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-LightItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Medium.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Regular.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Thin.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
- package/dist/content/fonts/roboto/RobotoFontFamily.css +0 -109
- package/dist/content/fonts/roboto-flex/README.md +0 -24
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/grad.css +0 -19
- package/dist/content/fonts/roboto-flex/index.css +0 -19
- package/dist/content/fonts/roboto-flex/metadata.json +0 -33
- package/dist/content/fonts/roboto-flex/opsz.css +0 -19
- package/dist/content/fonts/roboto-flex/slnt.css +0 -19
- package/dist/content/fonts/roboto-flex/standard.css +0 -21
- package/dist/content/fonts/roboto-flex/unicode.json +0 -4
- package/dist/content/fonts/roboto-flex/wdth.css +0 -21
- package/dist/content/fonts/roboto-flex/wght.css +0 -20
- package/dist/content/fonts/roboto-flex/xopq.css +0 -20
- package/dist/content/fonts/roboto-flex/xtra.css +0 -19
- package/dist/content/fonts/roboto-flex/yopq.css +0 -19
- package/dist/content/fonts/roboto-flex/ytas.css +0 -19
- package/dist/content/fonts/roboto-flex/ytde.css +0 -20
- package/dist/content/fonts/roboto-flex/ytfi.css +0 -20
- package/dist/content/fonts/roboto-flex/ytlc.css +0 -19
- package/dist/content/fonts/roboto-flex/ytuc.css +0 -20
- package/dist/content/icons/new-cw-icons/NewCwIcons.html +0 -415
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { HTMLProps, PropsWithChildren, FC, ReactNode, CSSProperties, ReactElement, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, SelectHTMLAttributes,
|
|
2
|
+
import React__default, { HTMLProps, PropsWithChildren, FC, ReactNode, CSSProperties, ReactElement, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, SelectHTMLAttributes, ComponentType } from 'react';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
import { DayPickerLocale } from 'react-day-picker/locale';
|
|
5
5
|
import { Matcher } from 'react-day-picker';
|
|
@@ -540,7 +540,7 @@ interface CwReportModalProps {
|
|
|
540
540
|
SET_MODAL_REPORT_VISIBLE: (visible: boolean) => void;
|
|
541
541
|
isModal?: boolean;
|
|
542
542
|
}
|
|
543
|
-
interface State
|
|
543
|
+
interface State {
|
|
544
544
|
disabled: boolean;
|
|
545
545
|
modalPosition: {
|
|
546
546
|
top: number;
|
|
@@ -550,7 +550,7 @@ interface State$2 {
|
|
|
550
550
|
};
|
|
551
551
|
isModal: boolean;
|
|
552
552
|
}
|
|
553
|
-
declare class CwReportModal extends React$1.Component<CwReportModalProps, State
|
|
553
|
+
declare class CwReportModal extends React$1.Component<CwReportModalProps, State> {
|
|
554
554
|
constructor(props: Readonly<CwReportModalProps>);
|
|
555
555
|
render(): React$1.JSX.Element;
|
|
556
556
|
}
|
|
@@ -1503,6 +1503,11 @@ interface CwInputProps {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
declare function CwInput(CwInputProps: React__default.PropsWithChildren<CwInputProps>): React__default.JSX.Element;
|
|
1505
1505
|
|
|
1506
|
+
interface CwInputFeedback {
|
|
1507
|
+
type: "danger" | "warning" | "success" | "info" | "neutral";
|
|
1508
|
+
message: string;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1506
1511
|
/**
|
|
1507
1512
|
* CwButton - Customizable button component with variant styles, color themes, and icon support
|
|
1508
1513
|
*
|
|
@@ -1555,6 +1560,11 @@ interface CwDigitProps extends Omit<HTMLProps<HTMLInputElement>, "className" | "
|
|
|
1555
1560
|
/** Props of the icon; undefined == no icon
|
|
1556
1561
|
* @example iconProps={{iconId:"phone"}} */
|
|
1557
1562
|
iconProps?: CwIconProps;
|
|
1563
|
+
/** Feedback messages shown below the input; accepts a single message or an array for multiple
|
|
1564
|
+
* @example feedback={{ type: "danger", message: "This field is required" }}
|
|
1565
|
+
* @example feedback={[{ type: "neutral", message: "Enter an amount" }, { type: "warning", message: "Value looks high" }]}
|
|
1566
|
+
*/
|
|
1567
|
+
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
1558
1568
|
}
|
|
1559
1569
|
/**
|
|
1560
1570
|
* Input for entering a string of number.
|
|
@@ -1628,14 +1638,11 @@ interface CwInputColorProps {
|
|
|
1628
1638
|
height?: string;
|
|
1629
1639
|
labelProps?: CwLabelProps;
|
|
1630
1640
|
layoutProps?: CwInputLayoutProps;
|
|
1641
|
+
className?: string;
|
|
1642
|
+
style?: React__default.CSSProperties;
|
|
1631
1643
|
}
|
|
1632
1644
|
declare const CwInputColor: React__default.FC<CwInputColorProps>;
|
|
1633
1645
|
|
|
1634
|
-
interface CwInputFeedback {
|
|
1635
|
-
type: "danger" | "warning" | "success" | "info" | "neutral";
|
|
1636
|
-
message: string;
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
1646
|
interface CwInputTextProps extends Omit<HTMLProps<HTMLInputElement>, never> {
|
|
1640
1647
|
/** Props to define alignment and size; undefined == column
|
|
1641
1648
|
* @example alignProps={{direction:"row"}} */
|
|
@@ -3510,207 +3517,6 @@ interface CwDateRangePickerTemporalProps {
|
|
|
3510
3517
|
}
|
|
3511
3518
|
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__default.JSX.Element;
|
|
3512
3519
|
|
|
3513
|
-
declare class cblEvent {
|
|
3514
|
-
id: string;
|
|
3515
|
-
start: Date;
|
|
3516
|
-
end: Date;
|
|
3517
|
-
resourceId: number;
|
|
3518
|
-
selected: boolean;
|
|
3519
|
-
top: number;
|
|
3520
|
-
leftPx: number;
|
|
3521
|
-
rightPx: number;
|
|
3522
|
-
width: number;
|
|
3523
|
-
isFullHeight: boolean;
|
|
3524
|
-
isReadOnly: boolean;
|
|
3525
|
-
isResizable: boolean;
|
|
3526
|
-
isDraggable: boolean;
|
|
3527
|
-
data: any;
|
|
3528
|
-
constructor(start: Date, end: Date, resourceId: number, data?: any, isFullHeight?: boolean, isReadOnly?: boolean, isResizable?: boolean, isDraggable?: boolean);
|
|
3529
|
-
}
|
|
3530
|
-
|
|
3531
|
-
declare class Resource {
|
|
3532
|
-
uid: string;
|
|
3533
|
-
id: number;
|
|
3534
|
-
name: string;
|
|
3535
|
-
maxTop: number;
|
|
3536
|
-
events: cblEvent[];
|
|
3537
|
-
isInViewport: boolean;
|
|
3538
|
-
schedulerResourceDisplay: string | null;
|
|
3539
|
-
isLoading: boolean;
|
|
3540
|
-
data: any;
|
|
3541
|
-
constructor(id: number, name: string, eventHeight: number, data?: any, schedulerResourceDisplay?: string | null);
|
|
3542
|
-
}
|
|
3543
|
-
|
|
3544
|
-
type cblEventCompProps$1 = {
|
|
3545
|
-
cblEvent: cblEvent;
|
|
3546
|
-
handleOnClickEventContextMenu?: (key: string, cblEvent: cblEvent) => void;
|
|
3547
|
-
};
|
|
3548
|
-
type resourceCompProps2$1 = {
|
|
3549
|
-
resource: Resource;
|
|
3550
|
-
handleOnClickResourceContextMenu?: (key: string, resource: Resource) => void;
|
|
3551
|
-
};
|
|
3552
|
-
interface SuperSchedulerProps$1 {
|
|
3553
|
-
events: cblEvent[];
|
|
3554
|
-
resourcesToPin: Resource[];
|
|
3555
|
-
resources: Resource[];
|
|
3556
|
-
height: number;
|
|
3557
|
-
startDate: Date;
|
|
3558
|
-
endDate: Date;
|
|
3559
|
-
id: string;
|
|
3560
|
-
scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3561
|
-
scheduler_handleCblEventClickRight?: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3562
|
-
scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3563
|
-
scheduler_handleOnDropCblEventsOnResource: (cblDragNDrop: CblDragAndDrop$1, resource: Resource) => void;
|
|
3564
|
-
parent: any;
|
|
3565
|
-
cblEventComp: React$1.FC<cblEventCompProps$1>;
|
|
3566
|
-
scheduler_handleOnClickEventContextMenu?: (e: any, cblEvent: cblEvent) => void;
|
|
3567
|
-
resourceComp: React$1.FC<resourceCompProps2$1>;
|
|
3568
|
-
scheduler_handleOnClickContextMenuResource?: (date: Date, resource: Resource, key: string) => void;
|
|
3569
|
-
resourceContextMenuContents?: Array<{
|
|
3570
|
-
key: string;
|
|
3571
|
-
text: string;
|
|
3572
|
-
icon: string;
|
|
3573
|
-
color: string;
|
|
3574
|
-
}>;
|
|
3575
|
-
scheduler_handleDblClickOnResourceInScheduler?: (resource: Resource) => void;
|
|
3576
|
-
scheduler_handleEmptyClick?: (schedulerId: string) => void;
|
|
3577
|
-
canBePinned?: boolean;
|
|
3578
|
-
pinnedResources?: Array<number>;
|
|
3579
|
-
scheduler_handleCblEventResize?: (cblDragNDrop: CblDragAndDrop$1) => void;
|
|
3580
|
-
scheduler_handleMultiselectChange?: (value: any, selectedObjectsArray: any) => void;
|
|
3581
|
-
dataConfig?: string;
|
|
3582
|
-
scheduler_handleClearPinnedOnParent: () => void;
|
|
3583
|
-
scheduler_handlePinningOfResources: (resourceId: number[], text: string, schedulerId: string, requestString: string) => void;
|
|
3584
|
-
resourceName?: string;
|
|
3585
|
-
descriptionColumn?: string;
|
|
3586
|
-
pinnedEvents?: cblEvent[];
|
|
3587
|
-
scheduler_handleOnClickResourceContextMenu?: (e: any, resource: Resource) => void;
|
|
3588
|
-
airportSelected?: number;
|
|
3589
|
-
module?: string;
|
|
3590
|
-
groupByFunction: boolean;
|
|
3591
|
-
}
|
|
3592
|
-
interface State$1 {
|
|
3593
|
-
topsCalculated: number;
|
|
3594
|
-
height: number;
|
|
3595
|
-
dataConfig?: string;
|
|
3596
|
-
pinnedResources: number[];
|
|
3597
|
-
}
|
|
3598
|
-
declare class CwSuperScheduler extends React$1.Component<SuperSchedulerProps$1, State$1> {
|
|
3599
|
-
constructor(Props: SuperSchedulerProps$1);
|
|
3600
|
-
componentDidUpdate(_previousProps: SuperSchedulerProps$1, _previousState: State$1): void;
|
|
3601
|
-
scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3602
|
-
scheduler_handleCblEventClickRight: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3603
|
-
scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3604
|
-
scheduler_handlePinnedClickMultipleIds: (resIds: number[], schedulerId: string, requestString: string) => void;
|
|
3605
|
-
scheduler_handlePinnedClick: (resId: number, text: string, schedulerId: string) => void;
|
|
3606
|
-
returnDynamicHeight(pinned: number, topsCalculated: number): {
|
|
3607
|
-
topsCalculated: number;
|
|
3608
|
-
height: number;
|
|
3609
|
-
};
|
|
3610
|
-
checkIfSlotAvailable(array: Array<cblEvent>, event: cblEvent): boolean;
|
|
3611
|
-
handleOnClickContextMenuResource: (date: Date, resource: Resource, key: string, schedulerId: string) => void;
|
|
3612
|
-
dateUTCString(date: any): any;
|
|
3613
|
-
render(): React$1.JSX.Element;
|
|
3614
|
-
}
|
|
3615
|
-
declare class CblDragAndDrop$1 {
|
|
3616
|
-
fromId: string | null;
|
|
3617
|
-
toId: string | null;
|
|
3618
|
-
data: Array<any> | null;
|
|
3619
|
-
droppedOnDate: Date | null;
|
|
3620
|
-
resizeFromStart: boolean | null;
|
|
3621
|
-
resizeFromEnd: boolean | null;
|
|
3622
|
-
isCtrlKey: boolean | null;
|
|
3623
|
-
constructor(fromId: string | null, toId: string | null, data: Array<any> | null, droppedOnDate?: Date | null, resizeFromStart?: boolean | null, resizeFromEnd?: boolean | null, isCtrlKey?: boolean | null);
|
|
3624
|
-
}
|
|
3625
|
-
|
|
3626
|
-
declare class CblDragAndDrop {
|
|
3627
|
-
fromId: string | null;
|
|
3628
|
-
toId: string | null;
|
|
3629
|
-
data: Array<any> | null;
|
|
3630
|
-
droppedOnDate: Date | null;
|
|
3631
|
-
resizeFromStart: boolean | null;
|
|
3632
|
-
resizeFromEnd: boolean | null;
|
|
3633
|
-
isCtrlKey: boolean | null;
|
|
3634
|
-
constructor(fromId: string | null, toId: string | null, data: Array<any> | null, droppedOnDate?: Date | null, resizeFromStart?: boolean | null, resizeFromEnd?: boolean | null, isCtrlKey?: boolean | null);
|
|
3635
|
-
}
|
|
3636
|
-
|
|
3637
|
-
type cblEventCompProps = {
|
|
3638
|
-
ref?: any;
|
|
3639
|
-
cblEvent: cblEvent;
|
|
3640
|
-
handleOnClickEventContextMenu?: (key: string, cblEvent: cblEvent) => void;
|
|
3641
|
-
};
|
|
3642
|
-
|
|
3643
|
-
interface CwSchedulerProps {
|
|
3644
|
-
airportSelected?: number;
|
|
3645
|
-
canBePinned?: boolean;
|
|
3646
|
-
cblEventComp: React.FC<cblEventCompProps>;
|
|
3647
|
-
descriptionColumn?: string;
|
|
3648
|
-
endDate: Date;
|
|
3649
|
-
events: cblEvent[];
|
|
3650
|
-
groupByFunction: boolean;
|
|
3651
|
-
height: number;
|
|
3652
|
-
id: string;
|
|
3653
|
-
module?: string;
|
|
3654
|
-
parent: any;
|
|
3655
|
-
pinnedResources?: number[];
|
|
3656
|
-
resourceComp: React.FC<resourceCompProps2$1>;
|
|
3657
|
-
resourceName?: string;
|
|
3658
|
-
resources: Resource[];
|
|
3659
|
-
resourceContextMenuContents?: Array<{
|
|
3660
|
-
key: string;
|
|
3661
|
-
text: string;
|
|
3662
|
-
icon: string;
|
|
3663
|
-
color: string;
|
|
3664
|
-
}>;
|
|
3665
|
-
startDate: Date;
|
|
3666
|
-
scheduler_clearPinned?: (id: any) => void;
|
|
3667
|
-
scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3668
|
-
scheduler_handleCblEventClickRight?: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3669
|
-
scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3670
|
-
scheduler_handleCblEventResize?: (cblDragNDrop: CblDragAndDrop) => void;
|
|
3671
|
-
scheduler_handleDblClickOnResourceInScheduler?: (resource: Resource) => void;
|
|
3672
|
-
scheduler_handleEmptyClick?: (schedulerId: string) => void;
|
|
3673
|
-
scheduler_handleMultiselectChange?: (value: any, selectedObjectsArray: any) => void;
|
|
3674
|
-
scheduler_handleOnClickEventContextMenu?: (e: any, cblEvent: cblEvent) => void;
|
|
3675
|
-
scheduler_handleOnClickResourceContextMenu?: (e: any, resource: Resource) => void;
|
|
3676
|
-
scheduler_handleOnDropCblEventsOnResource: (cblDragNDrop: CblDragAndDrop, resource: Resource) => void;
|
|
3677
|
-
scheduler_handlePinned?: (resourceId: number, type: string, schedulerId: string) => void;
|
|
3678
|
-
scheduler_handleOnClickContextMenuResource?: (date: Date, resource: Resource, key: string, schedulerId: string) => void;
|
|
3679
|
-
}
|
|
3680
|
-
|
|
3681
|
-
interface State {
|
|
3682
|
-
dayPx: number;
|
|
3683
|
-
division: number;
|
|
3684
|
-
divisionType: string;
|
|
3685
|
-
divisionsLeftPx: number[];
|
|
3686
|
-
eventHeight: number;
|
|
3687
|
-
hourPx: number;
|
|
3688
|
-
lineStyle: number;
|
|
3689
|
-
maxPx: number;
|
|
3690
|
-
minutePx: number;
|
|
3691
|
-
nowUtc: Date;
|
|
3692
|
-
pinnedResources: Array<number>;
|
|
3693
|
-
resources: Resource[];
|
|
3694
|
-
selectedEvents: Array<number>;
|
|
3695
|
-
showConsoleLogs: boolean;
|
|
3696
|
-
timeHeaders: Array<Date>;
|
|
3697
|
-
}
|
|
3698
|
-
|
|
3699
|
-
declare class CwScheduler extends Component<CwSchedulerProps, State> {
|
|
3700
|
-
contentArea?: HTMLTableDataCellElement;
|
|
3701
|
-
calculateMaxPx: () => number;
|
|
3702
|
-
constructor(props: CwSchedulerProps);
|
|
3703
|
-
handleResize: () => void;
|
|
3704
|
-
objectsEqual: (o1: any, o2: any) => void;
|
|
3705
|
-
objectsEqualDeep: (o1: any, o2: any) => boolean;
|
|
3706
|
-
arraysEqual: (a1: any[], a2: any[]) => boolean;
|
|
3707
|
-
componentWillReceiveProps(_nextProps: CwSchedulerProps): void;
|
|
3708
|
-
getNewResources: (_nextProps: CwSchedulerProps, dayPx: number) => Resource[];
|
|
3709
|
-
handleOnClickContextMenuResourceScheduler: (_clickEvent: any, _resource: Resource) => void;
|
|
3710
|
-
handleCrewPinning: (resource: Resource, text: string) => void;
|
|
3711
|
-
render(): React$1.JSX.Element;
|
|
3712
|
-
}
|
|
3713
|
-
|
|
3714
3520
|
declare class UiEvent {
|
|
3715
3521
|
}
|
|
3716
3522
|
type OnEvent = (event: UiEvent) => void;
|
|
@@ -3860,11 +3666,6 @@ declare const getEventSizes: (schedulerDate: Date, totalDays: number, startDate:
|
|
|
3860
3666
|
width: number;
|
|
3861
3667
|
};
|
|
3862
3668
|
|
|
3863
|
-
type resourceCompProps2 = {
|
|
3864
|
-
resource: Resource;
|
|
3865
|
-
handleOnClickResourceContextMenu?: (key: string, resource: Resource) => void;
|
|
3866
|
-
};
|
|
3867
|
-
|
|
3868
3669
|
interface PinRowHeaderProps extends RowHeaderDm {
|
|
3869
3670
|
isPinned: boolean;
|
|
3870
3671
|
contextMenuItems: MenuOption[];
|
|
@@ -4079,5 +3880,5 @@ declare class OnClickContextMenu implements UiEvent {
|
|
|
4079
3880
|
constructor(id: string, clickedMenu: string);
|
|
4080
3881
|
}
|
|
4081
3882
|
|
|
4082
|
-
export {
|
|
4083
|
-
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwProgressProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSkeletonProps, 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
|
|
3883
|
+
export { CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwButtonSplit, CwButtonSwitch, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDateTimePickerTemporal, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNavMenu, CwNote, CwOption, CwPopoverButton, CwProgress, CwRadioGroup, CwReportModal, CwSearchAsync, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSkeleton, CwSortableList, CwSortableTable, 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, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, configureCwLoading, eventIsVisible, filterNavItems, filterVisibleEvents, getCwLoadingDefaults, getDefaultDivisions, getEventSizes, getPresetsByKeysTemporal, itemsToMultiFilterTags, sortNavItems, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
3884
|
+
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwProgressProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSkeletonProps, 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 };
|