ods-component-lib 1.20.8 → 1.20.11
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/components/antd/alert/OdsAlert.styled.d.ts +1 -1
- package/dist/components/antd/autocomplete/OdsAutoComplete.styled.d.ts +1 -0
- package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
- package/dist/components/antd/button/OdsDropdownButton.d.ts +1 -1
- package/dist/components/antd/cascader/OdsCascader.styled.d.ts +3 -33
- package/dist/components/antd/checkbox/OdsCheckbox.styled.d.ts +1 -1
- package/dist/components/antd/floatbutton/OdsFloatButton.styled.d.ts +6 -1
- package/dist/components/antd/input/OdsInput.styled.d.ts +1 -0
- package/dist/components/antd/inputNumber/OdsInputNumber.styled.d.ts +1 -1
- package/dist/components/antd/list/OdsList.styled.d.ts +6 -2
- package/dist/components/antd/radio/OdsRadio.styled.d.ts +1 -1
- package/dist/components/antd/switch/OdsSwitch.styled.d.ts +1 -1
- package/dist/components/antd/tab/OdsTab.styled.d.ts +2 -2
- package/dist/components/antd/table/OdsTable.styled.d.ts +2 -2
- package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +2 -2
- package/dist/index.js +3007 -2939
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3008 -2940
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +4 -2
- package/dist/stories/OdsDropdownButton/Samples/HoverDropdownButton.Sample.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +0 -1
- package/dist/components/antd/input/OdsInput..d.ts +0 -4
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +0 -7
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
- package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +0 -4
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +0 -77
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +0 -5
- package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +0 -3
- package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +0 -2
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSearchBox.d.ts +0 -3
- package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +0 -42
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
- package/dist/stories/OdsBasicDataGrid/OdsBasicDataGrid.stories.d.ts +0 -110
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +0 -14
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +0 -7
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +0 -1
- package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
- package/dist/stories/OdsPivotGrid/OdsPivotGrid.stories.d.ts +0 -15
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Constants.d.ts +0 -2
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.MockData.d.ts +0 -7
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Sample.d.ts +0 -1
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +0 -5
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +0 -6
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +0 -1
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +0 -2
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +0 -3
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
- package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +0 -39
- package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
- package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
- /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
- /package/dist/components/antd/{datepicker/OdsDateRangepicker.d.ts → datePicker/OdsDateRangePicker.d.ts} +0 -0
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Pick<import("rc-picker").PickerProps<import("dayjs").Dayjs>, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "role" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "
|
|
4
|
+
component: (props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Pick<import("rc-picker").PickerProps<import("dayjs").Dayjs>, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "role" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "id" | "mode" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "placeholder" | "disabled" | "open" | "defaultOpen" | "maxTagCount" | "allowClear" | "prefix" | "suffixIcon" | "clearIcon" | "removeIcon" | "transitionName" | "placement" | "builtinPlacements" | "getPopupContainer" | "onBlur" | "onFocus" | "onKeyUp" | "onKeyDown" | "onMouseDown" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "value" | "defaultValue" | "onChange" | "list" | "step" | "onOpenChange" | "color" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disabledDate" | "monthCellRender" | "cellRender" | "showWeek" | "onPanelChange" | "multiple" | "height" | "order" | "width" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "minLength" | "readOnly" | "required" | "src" | "format" | "changeOnBlur" | "onOk" | "prevIcon" | "nextIcon" | "superPrevIcon" | "superNextIcon" | "showNow" | "showHour" | "showMinute" | "showSecond" | "showMillisecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "millisecondStep" | "hideDisabledOptions" | "defaultOpenValue" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "disabledTime" | "changeOnScroll" | "onCalendarChange" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange" | "presets" | "picker" | "showTime" | "inputReadOnly" | "minDate" | "maxDate" | "popupAlign" | "needConfirm" | "preserveInvalidOnBlur" | "components" | "inputRender" | "dateRender" | "showToday" | "panelRender" | "renderExtraFooter"> & {
|
|
5
5
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
6
6
|
size?: import("antd/es/button").ButtonSize;
|
|
7
7
|
placement?: import("rc-select/lib/interface").Placement;
|
|
8
8
|
bordered?: boolean;
|
|
9
9
|
status?: "" | "warning" | "error";
|
|
10
|
-
variant?: "outlined" | "borderless" | "filled";
|
|
10
|
+
variant?: "outlined" | "borderless" | "filled" | "underlined";
|
|
11
11
|
dropdownClassName?: string;
|
|
12
12
|
popupClassName?: string;
|
|
13
13
|
rootClassName?: string;
|
|
14
14
|
popupStyle?: import("react").CSSProperties;
|
|
15
|
+
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
16
|
+
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
15
17
|
}, import("dayjs").Dayjs>) => import("react").JSX.Element;
|
|
16
18
|
tags: string[];
|
|
17
19
|
argTypes: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const HoverDropdownButtonTemplate: any;
|
|
2
2
|
export declare const HoverMenuProps: {
|
|
3
|
-
items: import("antd/es/menu/
|
|
3
|
+
items: import("antd/es/menu/interface").ItemType<import("antd/es/menu/interface").MenuItemType>[];
|
|
4
4
|
onClick: import("rc-menu/lib/interface").MenuClickEventHandler;
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledDatepicker: import("styled-components").StyledComponent<import("antd/es/date-picker").DatePickerType, any, {}, never>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { MemoizedCellProps } from "./OdsCabinGrid.Types";
|
|
3
|
-
export declare const createSeatData: (rowRangeStart: number, rowRangeEnd: number, cabinPlan: string) => any[];
|
|
4
|
-
export declare const MemoizedCell: React.MemoExoticComponent<({ data, field, toggleAttribute, disableSeat, styles, }: MemoizedCellProps) => React.JSX.Element>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const getCheckboxStyle: (type: string, active: boolean) => {
|
|
2
|
-
width: string;
|
|
3
|
-
height: string;
|
|
4
|
-
borderRadius: string;
|
|
5
|
-
display: string;
|
|
6
|
-
alignItems: string;
|
|
7
|
-
justifyContent: string;
|
|
8
|
-
cursor: string;
|
|
9
|
-
padding: string;
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const getIconColor: (type: string, active: boolean) => string;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
export declare const checkboxBase: {
|
|
2
|
-
width: string;
|
|
3
|
-
height: string;
|
|
4
|
-
borderRadius: string;
|
|
5
|
-
display: string;
|
|
6
|
-
alignItems: string;
|
|
7
|
-
justifyContent: string;
|
|
8
|
-
cursor: string;
|
|
9
|
-
padding: string;
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const availableActive: {
|
|
13
|
-
color: string;
|
|
14
|
-
border: string;
|
|
15
|
-
backgroundColor: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const availableInactive: {
|
|
18
|
-
color: string;
|
|
19
|
-
border: string;
|
|
20
|
-
backgroundColor: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const childrenAllowedActive: {
|
|
23
|
-
border: string;
|
|
24
|
-
backgroundColor: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const childrenAllowedInactive: {
|
|
27
|
-
border: string;
|
|
28
|
-
backgroundColor: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const bottleActive: {
|
|
31
|
-
border: string;
|
|
32
|
-
backgroundColor: string;
|
|
33
|
-
};
|
|
34
|
-
export declare const bottleInactive: {
|
|
35
|
-
border: string;
|
|
36
|
-
backgroundColor: string;
|
|
37
|
-
};
|
|
38
|
-
export declare const lapPassengersAllowedActive: {
|
|
39
|
-
border: string;
|
|
40
|
-
backgroundColor: string;
|
|
41
|
-
};
|
|
42
|
-
export declare const lapPassengersAllowedInactive: {
|
|
43
|
-
border: string;
|
|
44
|
-
backgroundColor: string;
|
|
45
|
-
};
|
|
46
|
-
export declare const crossActive: {
|
|
47
|
-
border: string;
|
|
48
|
-
backgroundColor: string;
|
|
49
|
-
};
|
|
50
|
-
export declare const crossInactive: {
|
|
51
|
-
border: string;
|
|
52
|
-
backgroundColor: string;
|
|
53
|
-
};
|
|
54
|
-
export declare const iconColors: {
|
|
55
|
-
available: {
|
|
56
|
-
active: string;
|
|
57
|
-
inactive: string;
|
|
58
|
-
};
|
|
59
|
-
childrenAllowed: {
|
|
60
|
-
active: string;
|
|
61
|
-
inactive: string;
|
|
62
|
-
};
|
|
63
|
-
bottle: {
|
|
64
|
-
active: string;
|
|
65
|
-
inactive: string;
|
|
66
|
-
};
|
|
67
|
-
lapPassengersAllowed: {
|
|
68
|
-
active: string;
|
|
69
|
-
inactive: string;
|
|
70
|
-
};
|
|
71
|
-
cross: {
|
|
72
|
-
active: string;
|
|
73
|
-
inactive: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
77
|
-
cabinContainer: import("antd-style").SerializedStyles;
|
|
78
|
-
gridConfig: import("antd-style").SerializedStyles;
|
|
79
|
-
optionGroup: import("antd-style").SerializedStyles;
|
|
80
|
-
optionLabel: import("antd-style").SerializedStyles;
|
|
81
|
-
bulkUpdateBtn: import("antd-style").SerializedStyles;
|
|
82
|
-
seatAttributes: import("antd-style").SerializedStyles;
|
|
83
|
-
emptySpace: import("antd-style").SerializedStyles;
|
|
84
|
-
headerCell: import("antd-style").SerializedStyles;
|
|
85
|
-
headerCheckbox: import("antd-style").SerializedStyles;
|
|
86
|
-
headerText: import("antd-style").SerializedStyles;
|
|
87
|
-
headerCellStyle: import("antd-style").SerializedStyles;
|
|
88
|
-
headerEmptySpace: import("antd-style").SerializedStyles;
|
|
89
|
-
rowCell: import("antd-style").SerializedStyles;
|
|
90
|
-
rowCheckbox: import("antd-style").SerializedStyles;
|
|
91
|
-
exitSwitchContainer: import("antd-style").SerializedStyles;
|
|
92
|
-
exitSwitch: import("antd-style").SerializedStyles;
|
|
93
|
-
cellContent: import("antd-style").SerializedStyles;
|
|
94
|
-
}>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export interface Seat {
|
|
2
|
-
row: number;
|
|
3
|
-
exit: boolean;
|
|
4
|
-
Color?: {
|
|
5
|
-
text: string;
|
|
6
|
-
color: string;
|
|
7
|
-
};
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
export interface MemoizedCellProps {
|
|
11
|
-
data: any;
|
|
12
|
-
field: string;
|
|
13
|
-
toggleAttribute: (rowNumber: number, field: string, attribute: string) => void;
|
|
14
|
-
disableSeat: (rowNumber: number, field: string) => void;
|
|
15
|
-
styles: {
|
|
16
|
-
seatAttributes: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export declare type CabinPlanType = '3-3' | '3-5-3';
|
|
20
|
-
export interface BulkUpdate {
|
|
21
|
-
row: number;
|
|
22
|
-
seat: string;
|
|
23
|
-
openToSale?: boolean;
|
|
24
|
-
availableForChild?: boolean;
|
|
25
|
-
availableForInfant?: boolean;
|
|
26
|
-
availableForInfantwSeat?: boolean;
|
|
27
|
-
delete?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface CabinGridProps {
|
|
30
|
-
numberOfAisle?: number;
|
|
31
|
-
rowRangeStart?: number;
|
|
32
|
-
rowRangeEnd?: number;
|
|
33
|
-
seatPositions?: {
|
|
34
|
-
[key: string]: string;
|
|
35
|
-
};
|
|
36
|
-
onSelectionChange?: (selection: SelectionChangeData) => void;
|
|
37
|
-
rowLabel?: string;
|
|
38
|
-
exitLabel?: string;
|
|
39
|
-
bulkUpdate?: BulkUpdate[];
|
|
40
|
-
}
|
|
41
|
-
export interface SelectionChangeData {
|
|
42
|
-
selectedSeats: Array<{
|
|
43
|
-
row: number;
|
|
44
|
-
seat: string;
|
|
45
|
-
}>;
|
|
46
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const checkboxCellComponent: (props: any) => React.JSX.Element;
|
|
3
|
-
export declare const statusCellComponent: (props: any) => React.JSX.Element;
|
|
4
|
-
export declare const minimalHeaderCellComponent: (data: any, __el: any) => React.JSX.Element;
|
|
5
|
-
export declare const mapCustomTask: (item: any) => any;
|
|
6
|
-
export declare const setSelectedKeys: (datasource: any[], key?: string, selectedKeys?: number[] | string[]) => any[];
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IColumnProps, IGanttOptions, IItemProps } from "devextreme-react/gantt";
|
|
3
|
-
export interface IMenuLinkItem {
|
|
4
|
-
text: string;
|
|
5
|
-
url: string;
|
|
6
|
-
queryParamNames?: string[];
|
|
7
|
-
}
|
|
8
|
-
export interface ICustomSelectionChange {
|
|
9
|
-
data: any;
|
|
10
|
-
isSelected: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface IDateRangeChange {
|
|
13
|
-
startDate: Date;
|
|
14
|
-
endDate: Date;
|
|
15
|
-
}
|
|
16
|
-
export interface IStatusColumnChange {
|
|
17
|
-
data: any;
|
|
18
|
-
status: boolean;
|
|
19
|
-
dataField: string;
|
|
20
|
-
}
|
|
21
|
-
export interface ICheckboxColumnChange {
|
|
22
|
-
data: any;
|
|
23
|
-
isChecked: boolean;
|
|
24
|
-
dataField: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IOdsTimelineProps extends React.PropsWithChildren<IGanttOptions> {
|
|
27
|
-
/**
|
|
28
|
-
* Set columns for listview.
|
|
29
|
-
*/
|
|
30
|
-
customColumns?: IOdsTimelineColumnProps[];
|
|
31
|
-
/**
|
|
32
|
-
* Set task list. It is used for list view and timeline view.
|
|
33
|
-
*/
|
|
34
|
-
customTasks: any[];
|
|
35
|
-
/**
|
|
36
|
-
* Set data field name from task list. This is used for selection.
|
|
37
|
-
*/
|
|
38
|
-
customTaskKey?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Set key values to be selected. "multiSelectionEnabled" must be true.
|
|
41
|
-
*/
|
|
42
|
-
customSelectedKeys?: string[] | number[];
|
|
43
|
-
/**
|
|
44
|
-
* Set true if you want multi selection in list view.
|
|
45
|
-
*/
|
|
46
|
-
multiSelectionEnabled?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* This is a selection event that fired when selection is changed.
|
|
49
|
-
*/
|
|
50
|
-
onCustomSelectionChanged(e: ICustomSelectionChange): void;
|
|
51
|
-
/**
|
|
52
|
-
* This is a date range event that fired when date range is changed.
|
|
53
|
-
*/
|
|
54
|
-
onDateRangeChange(e: IDateRangeChange): void;
|
|
55
|
-
}
|
|
56
|
-
export interface IOdsTimelineColumnProps extends IColumnProps {
|
|
57
|
-
isMinimized?: boolean;
|
|
58
|
-
isStatusColumn?: boolean;
|
|
59
|
-
isCheckboxColumn?: boolean;
|
|
60
|
-
}
|
|
61
|
-
export interface IOdsTimelineStatusColumnProps extends IOdsTimelineColumnProps {
|
|
62
|
-
onStatusColumnChange(e: IStatusColumnChange): void;
|
|
63
|
-
}
|
|
64
|
-
export interface IOdsTimelineCheckboxColumnProps extends IOdsTimelineColumnProps {
|
|
65
|
-
onCheckboxColumnChange(e: ICheckboxColumnChange): void;
|
|
66
|
-
}
|
|
67
|
-
export interface IOdsTimelineDateFilter extends IItemProps {
|
|
68
|
-
defaultStartDate?: Date;
|
|
69
|
-
defaultEndDate?: Date;
|
|
70
|
-
backText?: string;
|
|
71
|
-
nextText?: string;
|
|
72
|
-
onFilterRangeChange(e: IDateRangeChange): void;
|
|
73
|
-
}
|
|
74
|
-
export declare const enum DateDirection {
|
|
75
|
-
prevMonth = "previousMonth",
|
|
76
|
-
nextMonth = "nextMonth"
|
|
77
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<import("../../components/antd/modal/OdsAdvanceModal").ICustomModalProps>;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
centered: {
|
|
8
|
-
options: boolean[];
|
|
9
|
-
description: string;
|
|
10
|
-
};
|
|
11
|
-
title: {
|
|
12
|
-
description: string;
|
|
13
|
-
};
|
|
14
|
-
closable: {
|
|
15
|
-
options: boolean[];
|
|
16
|
-
description: string;
|
|
17
|
-
};
|
|
18
|
-
content: {
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
width: {
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
open: {
|
|
25
|
-
options: string[];
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
onCancel: {
|
|
29
|
-
action: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
onOk: {
|
|
33
|
-
action: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
parameters: {
|
|
38
|
-
controls: {};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default _default;
|
|
42
|
-
export declare const BasicOdsAdvanceModal: any;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ICustomModalProps } from "../../../components/antd/modal/OdsAdvanceModal";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<ICustomModalProps>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const BasicOdsAdvanceModalTemplate: any;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import "devextreme/dist/css/dx.light.css";
|
|
3
|
-
import "antd/dist/reset.css";
|
|
4
|
-
import "./dxgrid.css";
|
|
5
|
-
import "../Commons/index.css";
|
|
6
|
-
import "../Commons/App.css";
|
|
7
|
-
declare const _default: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: (props: import("../../components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.Types").IOdsDataGridProps) => import("react").JSX.Element;
|
|
10
|
-
tags: string[];
|
|
11
|
-
argTypes: {
|
|
12
|
-
showMasterDetail: {
|
|
13
|
-
control: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultValue: boolean;
|
|
16
|
-
table: {
|
|
17
|
-
defaultValue: {
|
|
18
|
-
summary: string;
|
|
19
|
-
};
|
|
20
|
-
category: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
detailData: {
|
|
24
|
-
table: {
|
|
25
|
-
category: string;
|
|
26
|
-
};
|
|
27
|
-
control: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
detailGridColums: {
|
|
31
|
-
control: string;
|
|
32
|
-
description: string;
|
|
33
|
-
table: {
|
|
34
|
-
category: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
language: {
|
|
38
|
-
options: string[];
|
|
39
|
-
control: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
defaultValue: {
|
|
43
|
-
summary: string;
|
|
44
|
-
};
|
|
45
|
-
description: string;
|
|
46
|
-
};
|
|
47
|
-
columns: {
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
|
-
dataSource: {
|
|
51
|
-
description: string;
|
|
52
|
-
};
|
|
53
|
-
pageTitle: {
|
|
54
|
-
description: string;
|
|
55
|
-
};
|
|
56
|
-
exportFileName: {
|
|
57
|
-
description: string;
|
|
58
|
-
};
|
|
59
|
-
actionColumnEnable: {
|
|
60
|
-
description: string;
|
|
61
|
-
};
|
|
62
|
-
actionButtonGroup: {
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
actionButtonGroupCaption: {
|
|
66
|
-
description: string;
|
|
67
|
-
};
|
|
68
|
-
isServerSide: {
|
|
69
|
-
description: string;
|
|
70
|
-
};
|
|
71
|
-
toolbarButtonGroup: {
|
|
72
|
-
description: string;
|
|
73
|
-
};
|
|
74
|
-
pageSize: {
|
|
75
|
-
description: string;
|
|
76
|
-
};
|
|
77
|
-
columnChooserPositionDisabled: {
|
|
78
|
-
description: string;
|
|
79
|
-
};
|
|
80
|
-
edit: {
|
|
81
|
-
description: string;
|
|
82
|
-
};
|
|
83
|
-
axiosRequest: {
|
|
84
|
-
description: string;
|
|
85
|
-
};
|
|
86
|
-
customSummary: {
|
|
87
|
-
description: string;
|
|
88
|
-
};
|
|
89
|
-
summaryType: {
|
|
90
|
-
options: string[];
|
|
91
|
-
control: {
|
|
92
|
-
type: string;
|
|
93
|
-
};
|
|
94
|
-
defaultValue: {
|
|
95
|
-
summary: string;
|
|
96
|
-
};
|
|
97
|
-
description: string;
|
|
98
|
-
};
|
|
99
|
-
summaryTypeLabel: {
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
parameters: {
|
|
104
|
-
controls: {
|
|
105
|
-
exclude: any[];
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
export default _default;
|
|
110
|
-
export declare const MergeCells: any;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const DataGridColumns: ({
|
|
2
|
-
dataField: string;
|
|
3
|
-
dataType: string;
|
|
4
|
-
caption: string;
|
|
5
|
-
visible: boolean;
|
|
6
|
-
} | {
|
|
7
|
-
dataField: string;
|
|
8
|
-
dataType: string;
|
|
9
|
-
caption: string;
|
|
10
|
-
visible?: undefined;
|
|
11
|
-
})[];
|
|
12
|
-
export declare const dataGridName = "Airports";
|
|
13
|
-
export declare const gridPageSize = 50;
|
|
14
|
-
export declare const mergeDataFields: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MergeCellsTemplate: any;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const DataGridColumns: ({
|
|
3
|
-
dataField: string;
|
|
4
|
-
dataType: string;
|
|
5
|
-
caption: string;
|
|
6
|
-
cellRender?: undefined;
|
|
7
|
-
dataSource?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
dataField: string;
|
|
10
|
-
caption: string;
|
|
11
|
-
cellRender: (value: any) => import("react").JSX.Element;
|
|
12
|
-
dataSource: {
|
|
13
|
-
label: string;
|
|
14
|
-
value: boolean;
|
|
15
|
-
}[];
|
|
16
|
-
dataType?: undefined;
|
|
17
|
-
})[];
|
|
18
|
-
export declare const DetailGridColumns: {
|
|
19
|
-
dataField: string;
|
|
20
|
-
dataType: string;
|
|
21
|
-
caption: string;
|
|
22
|
-
}[];
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const MockData: {
|
|
2
|
-
ID: number;
|
|
3
|
-
Name: string;
|
|
4
|
-
Currency: string;
|
|
5
|
-
IsActive: boolean;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const DetailMockData: {
|
|
8
|
-
15007: {
|
|
9
|
-
Name: string;
|
|
10
|
-
Currency: string;
|
|
11
|
-
IsActive: boolean;
|
|
12
|
-
SubName: string;
|
|
13
|
-
}[];
|
|
14
|
-
15020: {
|
|
15
|
-
Name: string;
|
|
16
|
-
Currency: string;
|
|
17
|
-
IsActive: boolean;
|
|
18
|
-
SubName: string;
|
|
19
|
-
}[];
|
|
20
|
-
15021: {
|
|
21
|
-
Name: string;
|
|
22
|
-
Currency: string;
|
|
23
|
-
IsActive: boolean;
|
|
24
|
-
SubName: string;
|
|
25
|
-
}[];
|
|
26
|
-
15022: {
|
|
27
|
-
Name: string;
|
|
28
|
-
Currency: string;
|
|
29
|
-
IsActive: boolean;
|
|
30
|
-
SubName: string;
|
|
31
|
-
}[];
|
|
32
|
-
15023: {
|
|
33
|
-
Name: string;
|
|
34
|
-
Currency: string;
|
|
35
|
-
IsActive: boolean;
|
|
36
|
-
SubName: string;
|
|
37
|
-
}[];
|
|
38
|
-
15024: {
|
|
39
|
-
Name: string;
|
|
40
|
-
Currency: string;
|
|
41
|
-
IsActive: boolean;
|
|
42
|
-
SubName: string;
|
|
43
|
-
}[];
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const BasicModal: any;
|