ods-component-lib 1.20.0 → 1.20.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/components/antd/alert/OdsAlert.styled.d.ts +1 -1
- package/dist/components/antd/autocomplete/OdsAutoComplete.styled.d.ts +0 -1
- 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 +33 -3
- package/dist/components/antd/checkbox/OdsCheckbox.styled.d.ts +1 -1
- package/dist/components/antd/currencyInput/types.d.ts +1 -0
- package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +1 -0
- package/dist/components/antd/floatbutton/OdsFloatButton.styled.d.ts +1 -6
- package/dist/components/antd/input/OdsInput..d.ts +4 -0
- package/dist/components/antd/input/OdsInput.styled.d.ts +0 -1
- package/dist/components/antd/list/OdsList.styled.d.ts +2 -6
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +7 -0
- 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/table/OdsTable.styled.d.ts +2 -2
- package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +2 -2
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +3 -0
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +4 -0
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +12 -0
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +94 -0
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +46 -0
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +4 -0
- package/dist/components/devextreme/OdsDataGrid.d.ts +4 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +4 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +77 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +5 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +3 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +2 -0
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSearchBox.d.ts +3 -0
- package/dist/components/devextreme/treeview/DxTreeList.d.ts +4 -0
- package/dist/index.js +4865 -4886
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4862 -4883
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +42 -0
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +8 -0
- package/dist/stories/OdsBasicDataGrid/OdsBasicDataGrid.stories.d.ts +110 -0
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +14 -0
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +7 -0
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +2 -4
- package/dist/stories/OdsDropdownButton/Samples/HoverDropdownButton.Sample.d.ts +1 -1
- package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +3 -0
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +22 -0
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +44 -0
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +1 -0
- package/dist/stories/OdsPivotGrid/OdsPivotGrid.stories.d.ts +15 -0
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Constants.d.ts +2 -0
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.MockData.d.ts +7 -0
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Sample.d.ts +1 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +5 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +6 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +16 -0
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +2 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
- package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
- package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +165 -0
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +15 -0
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +24 -0
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +1 -0
- package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +4 -0
- package/package.json +1 -1
- /package/dist/components/antd/{datePicker/OdsDateRangePicker.d.ts → datepicker/OdsDateRangepicker.d.ts} +0 -0
- /package/dist/components/antd/{datePicker/OdsDatePicker.d.ts → datepicker/OdsDatepicker.d.ts} +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,110 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MergeCellsTemplate: any;
|
|
@@ -1,19 +1,17 @@
|
|
|
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" | "children" | "mode" | "id" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "placeholder" | "disabled" | "open" | "defaultOpen" | "maxTagCount" | "allowClear" | "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" | "value" | "defaultValue" | "onChange" | "list" | "step" | "color" | "classNames" | "styles" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "onOpenChange" | "disabledDate" | "monthCellRender" | "cellRender" | "onPanelChange" | "multiple" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "height" | "minLength" | "readOnly" | "required" | "src" | "width" | "format" | "order" | "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" | "showWeek" | "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";
|
|
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;
|
|
17
15
|
}, import("dayjs").Dayjs>) => import("react").JSX.Element;
|
|
18
16
|
tags: string[];
|
|
19
17
|
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/hooks/useItems").ItemType<import("antd/es/menu/hooks/useItems").MenuItemType>[];
|
|
4
4
|
onClick: import("rc-menu/lib/interface").MenuClickEventHandler;
|
|
5
5
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}[];
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicModal: any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import PivotGrid from 'devextreme-react/pivot-grid';
|
|
2
|
+
import 'devextreme/dist/css/dx.light.css';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof PivotGrid;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {};
|
|
8
|
+
parameters: {
|
|
9
|
+
controls: {
|
|
10
|
+
exclude: any[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const Basic: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicPivotGridTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MergeCellsTemplate: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import OdsSwitch from "../../components/antd/switch/OdsSwitch";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsSwitch;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const BasicDisabled: any;
|
|
13
|
+
export declare const Checked: any;
|
|
14
|
+
export declare const CheckedLoading: any;
|
|
15
|
+
export declare const CheckedChildrenDisplayText: any;
|
|
16
|
+
export declare const CheckedChildrenDisplayIcon: any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ICheckboxColumnChange, IStatusColumnChange } from "../../components/devextreme/OdsTimeline/OdsTimeline.Types";
|
|
3
|
+
export declare const onStatusColumnChange: (e: IStatusColumnChange) => void;
|
|
4
|
+
export declare const onCheckboxColumnChange: (e: ICheckboxColumnChange) => void;
|
|
5
|
+
export declare const linkCellComponent: (props: any) => React.JSX.Element;
|
|
6
|
+
export declare const optionsCellComponent: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const tasks: {
|
|
2
|
+
id: number;
|
|
3
|
+
parentId: number;
|
|
4
|
+
title: string;
|
|
5
|
+
hotel: string;
|
|
6
|
+
brand: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
isChecked: boolean;
|
|
9
|
+
hasImport: boolean;
|
|
10
|
+
hasExport: boolean;
|
|
11
|
+
hasBooking: boolean;
|
|
12
|
+
importType: {
|
|
13
|
+
type: string;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
exportType: {
|
|
17
|
+
type: string;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
}[];
|
|
20
|
+
start: Date;
|
|
21
|
+
end: Date;
|
|
22
|
+
color: string;
|
|
23
|
+
progress: number;
|
|
24
|
+
}[];
|
|
25
|
+
export declare const dependencies: {
|
|
26
|
+
id: number;
|
|
27
|
+
predecessorId: number;
|
|
28
|
+
successorId: number;
|
|
29
|
+
type: number;
|
|
30
|
+
}[];
|
|
31
|
+
export declare const resources: {
|
|
32
|
+
id: number;
|
|
33
|
+
text: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const resourceAssignments: {
|
|
36
|
+
id: number;
|
|
37
|
+
taskId: number;
|
|
38
|
+
resourceId: number;
|
|
39
|
+
}[];
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("react").PropsWithChildren<{
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onKeyDown?: (e: import("devextreme/ui/tree_list").KeyDownEvent<any, any>) => void;
|
|
7
|
+
height?: string | number | (() => import("react").ReactText);
|
|
8
|
+
width?: string | number | (() => import("react").ReactText);
|
|
9
|
+
accessKey?: string;
|
|
10
|
+
tabIndex?: number;
|
|
11
|
+
activeStateEnabled?: boolean;
|
|
12
|
+
hint?: string;
|
|
13
|
+
hoverStateEnabled?: boolean;
|
|
14
|
+
onContentReady?: (e: import("devextreme/ui/tree_list").ContentReadyEvent<any, any>) => void;
|
|
15
|
+
visible?: boolean;
|
|
16
|
+
bindingOptions?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
elementAttr?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
onDisposing?: (e: import("devextreme/ui/tree_list").DisposingEvent<any, any>) => void;
|
|
23
|
+
onOptionChanged?: (e: import("devextreme/core/dom_component").OptionChangedEventInfo<import("devextreme/ui/tree_list").default<any, any>>) => void;
|
|
24
|
+
rtlEnabled?: boolean;
|
|
25
|
+
onInitialized?: (e: import("devextreme/ui/tree_list").InitializedEvent<any, any>) => void;
|
|
26
|
+
allowColumnReordering?: boolean;
|
|
27
|
+
allowColumnResizing?: boolean;
|
|
28
|
+
autoNavigateToFocusedRow?: boolean;
|
|
29
|
+
cacheEnabled?: boolean;
|
|
30
|
+
cellHintEnabled?: boolean;
|
|
31
|
+
columnAutoWidth?: boolean;
|
|
32
|
+
columnChooser?: import("devextreme/common/grids").ColumnChooser;
|
|
33
|
+
columnFixing?: import("devextreme/common/grids").ColumnFixing;
|
|
34
|
+
columnHidingEnabled?: boolean;
|
|
35
|
+
columnMinWidth?: number;
|
|
36
|
+
columnResizingMode?: import("devextreme/common/grids").ColumnResizeMode;
|
|
37
|
+
columnWidth?: number | "auto";
|
|
38
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
39
|
+
dateSerializationFormat?: string;
|
|
40
|
+
errorRowEnabled?: boolean;
|
|
41
|
+
filterBuilder?: import("devextreme/ui/filter_builder").dxFilterBuilderOptions;
|
|
42
|
+
filterBuilderPopup?: import("devextreme/ui/popup").Properties;
|
|
43
|
+
filterPanel?: import("devextreme/common/grids").FilterPanel<import("devextreme/ui/tree_list").default<any, any>, any, any>;
|
|
44
|
+
filterRow?: import("devextreme/common/grids").FilterRow;
|
|
45
|
+
filterSyncEnabled?: boolean | "auto";
|
|
46
|
+
filterValue?: string | Function | any[];
|
|
47
|
+
focusedColumnIndex?: number;
|
|
48
|
+
focusedRowEnabled?: boolean;
|
|
49
|
+
focusedRowIndex?: number;
|
|
50
|
+
focusedRowKey?: any;
|
|
51
|
+
headerFilter?: import("devextreme/common/grids").HeaderFilter;
|
|
52
|
+
highlightChanges?: boolean;
|
|
53
|
+
keyboardNavigation?: import("devextreme/common/grids").KeyboardNavigation;
|
|
54
|
+
loadPanel?: import("devextreme/common/grids").LoadPanel;
|
|
55
|
+
noDataText?: string;
|
|
56
|
+
onAdaptiveDetailRowPreparing?: (e: import("devextreme/ui/tree_list").AdaptiveDetailRowPreparingEvent<any, any>) => void;
|
|
57
|
+
onDataErrorOccurred?: (e: import("devextreme/ui/tree_list").DataErrorOccurredEvent<any, any>) => void;
|
|
58
|
+
onEditCanceled?: (e: import("devextreme/ui/tree_list").EditCanceledEvent<any, any>) => void;
|
|
59
|
+
onEditCanceling?: (e: import("devextreme/ui/tree_list").EditCancelingEvent<any, any>) => void;
|
|
60
|
+
onInitNewRow?: (e: import("devextreme/ui/tree_list").InitNewRowEvent<any, any>) => void;
|
|
61
|
+
onRowCollapsed?: (e: import("devextreme/ui/tree_list").RowCollapsedEvent<any, any>) => void;
|
|
62
|
+
onRowCollapsing?: (e: import("devextreme/ui/tree_list").RowCollapsingEvent<any, any>) => void;
|
|
63
|
+
onRowExpanded?: (e: import("devextreme/ui/tree_list").RowCollapsedEvent<any, any>) => void;
|
|
64
|
+
onRowExpanding?: (e: import("devextreme/ui/tree_list").RowCollapsingEvent<any, any>) => void;
|
|
65
|
+
onRowInserted?: (e: import("devextreme/ui/tree_list").RowInsertedEvent<any, any>) => void;
|
|
66
|
+
onRowInserting?: (e: import("devextreme/ui/tree_list").RowInsertingEvent<any, any>) => void;
|
|
67
|
+
onRowRemoved?: (e: import("devextreme/ui/tree_list").RowRemovedEvent<any, any>) => void;
|
|
68
|
+
onRowRemoving?: (e: import("devextreme/ui/tree_list").RowRemovingEvent<any, any>) => void;
|
|
69
|
+
onRowUpdated?: (e: import("devextreme/ui/tree_list").RowUpdatedEvent<any, any>) => void;
|
|
70
|
+
onRowUpdating?: (e: import("devextreme/ui/tree_list").RowUpdatingEvent<any, any>) => void;
|
|
71
|
+
onRowValidating?: (e: import("devextreme/ui/tree_list").RowValidatingEvent<any, any>) => void;
|
|
72
|
+
onSaved?: (e: import("devextreme/ui/tree_list").EditCanceledEvent<any, any>) => void;
|
|
73
|
+
onSaving?: (e: import("devextreme/ui/tree_list").SavingEvent<any, any>) => void;
|
|
74
|
+
onSelectionChanged?: (e: import("devextreme/events").EventInfo<import("devextreme/ui/tree_list").default<any, any>> & import("devextreme/common/grids").SelectionChangedInfo<any, any>) => void;
|
|
75
|
+
onToolbarPreparing?: (e: import("devextreme/ui/tree_list").ToolbarPreparingEvent<any, any>) => void;
|
|
76
|
+
pager?: import("devextreme/common/grids").Pager;
|
|
77
|
+
renderAsync?: boolean;
|
|
78
|
+
repaintChangesOnly?: boolean;
|
|
79
|
+
rowAlternationEnabled?: boolean;
|
|
80
|
+
rowDragging?: import("devextreme/common/grids").RowDragging<import("devextreme/ui/tree_list").default<any, any>, any, any>;
|
|
81
|
+
searchPanel?: import("devextreme/common/grids").SearchPanel;
|
|
82
|
+
selectedRowKeys?: any[];
|
|
83
|
+
showBorders?: boolean;
|
|
84
|
+
showColumnHeaders?: boolean;
|
|
85
|
+
showColumnLines?: boolean;
|
|
86
|
+
showRowLines?: boolean;
|
|
87
|
+
sorting?: import("devextreme/common/grids").Sorting;
|
|
88
|
+
stateStoring?: import("devextreme/common/grids").StateStoring;
|
|
89
|
+
twoWayBindingEnabled?: boolean;
|
|
90
|
+
wordWrapEnabled?: boolean;
|
|
91
|
+
syncLookupFilterValues?: boolean;
|
|
92
|
+
autoExpandAll?: boolean;
|
|
93
|
+
columns?: (string | import("devextreme/ui/tree_list").Column<any, any>)[];
|
|
94
|
+
customizeColumns?: (columns: import("devextreme/ui/tree_list").Column<any, any>[]) => void;
|
|
95
|
+
dataStructure?: import("devextreme/common").DataStructure;
|
|
96
|
+
editing?: import("devextreme/ui/tree_list").Editing<any, any>;
|
|
97
|
+
expandNodesOnFiltering?: boolean;
|
|
98
|
+
expandedRowKeys?: any[];
|
|
99
|
+
filterMode?: import("devextreme/ui/tree_list").TreeListFilterMode;
|
|
100
|
+
hasItemsExpr?: string | Function;
|
|
101
|
+
itemsExpr?: string | Function;
|
|
102
|
+
keyExpr?: string | Function;
|
|
103
|
+
onCellClick?: (e: import("devextreme/ui/tree_list").CellClickEvent<any, any>) => void;
|
|
104
|
+
onCellDblClick?: (e: import("devextreme/ui/tree_list").CellClickEvent<any, any>) => void;
|
|
105
|
+
onCellHoverChanged?: (e: import("devextreme/ui/tree_list").CellHoverChangedEvent<any, any>) => void;
|
|
106
|
+
onCellPrepared?: (e: import("devextreme/ui/tree_list").CellPreparedEvent<any, any>) => void;
|
|
107
|
+
onContextMenuPreparing?: (e: import("devextreme/ui/tree_list").ContextMenuPreparingEvent<any, any>) => void;
|
|
108
|
+
onEditingStart?: (e: import("devextreme/ui/tree_list").EditingStartEvent<any, any>) => void;
|
|
109
|
+
onEditorPrepared?: (e: import("devextreme/ui/tree_list").EditorPreparedEvent<any, any>) => void;
|
|
110
|
+
onEditorPreparing?: (e: import("devextreme/ui/tree_list").EditorPreparingEvent<any, any>) => void;
|
|
111
|
+
onFocusedCellChanged?: (e: import("devextreme/ui/tree_list").FocusedCellChangedEvent<any, any>) => void;
|
|
112
|
+
onFocusedCellChanging?: (e: import("devextreme/ui/tree_list").FocusedCellChangingEvent<any, any>) => void;
|
|
113
|
+
onFocusedRowChanged?: (e: import("devextreme/ui/tree_list").FocusedRowChangedEvent<any, any>) => void;
|
|
114
|
+
onFocusedRowChanging?: (e: import("devextreme/ui/tree_list").FocusedRowChangingEvent<any, any>) => void;
|
|
115
|
+
onNodesInitialized?: (e: import("devextreme/ui/tree_list").NodesInitializedEvent<any, any>) => void;
|
|
116
|
+
onRowClick?: (e: import("devextreme/ui/tree_list").RowClickEvent<any, any>) => void;
|
|
117
|
+
onRowDblClick?: (e: import("devextreme/ui/tree_list").RowDblClickEvent<any, any>) => void;
|
|
118
|
+
onRowPrepared?: (e: import("devextreme/ui/tree_list").RowPreparedEvent<any, any>) => void;
|
|
119
|
+
paging?: import("devextreme/ui/tree_list").Paging;
|
|
120
|
+
parentIdExpr?: string | Function;
|
|
121
|
+
remoteOperations?: "auto" | {
|
|
122
|
+
filtering?: boolean;
|
|
123
|
+
grouping?: boolean;
|
|
124
|
+
sorting?: boolean;
|
|
125
|
+
};
|
|
126
|
+
rootValue?: any;
|
|
127
|
+
scrolling?: import("devextreme/ui/tree_list").Scrolling;
|
|
128
|
+
selection?: import("devextreme/ui/tree_list").Selection;
|
|
129
|
+
toolbar?: import("devextreme/ui/tree_list").Toolbar;
|
|
130
|
+
} & import("devextreme-react/core/component-base").IHtmlOptions & {
|
|
131
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
132
|
+
defaultColumns?: (string | import("devextreme/ui/tree_list").dxTreeListColumn<any, any>)[];
|
|
133
|
+
defaultEditing?: Record<string, any>;
|
|
134
|
+
defaultExpandedRowKeys?: any[];
|
|
135
|
+
defaultFilterPanel?: Record<string, any>;
|
|
136
|
+
defaultFilterValue?: string | any[] | (() => any);
|
|
137
|
+
defaultFocusedColumnIndex?: number;
|
|
138
|
+
defaultFocusedRowIndex?: number;
|
|
139
|
+
defaultFocusedRowKey?: any;
|
|
140
|
+
defaultPaging?: Record<string, any>;
|
|
141
|
+
defaultSearchPanel?: Record<string, any>;
|
|
142
|
+
defaultSelectedRowKeys?: any[];
|
|
143
|
+
onColumnsChange?: (value: (string | import("devextreme/ui/tree_list").dxTreeListColumn<any, any>)[]) => void;
|
|
144
|
+
onEditingChange?: (value: Record<string, any>) => void;
|
|
145
|
+
onExpandedRowKeysChange?: (value: any[]) => void;
|
|
146
|
+
onFilterPanelChange?: (value: Record<string, any>) => void;
|
|
147
|
+
onFilterValueChange?: (value: string | any[] | (() => any)) => void;
|
|
148
|
+
onFocusedColumnIndexChange?: (value: number) => void;
|
|
149
|
+
onFocusedRowIndexChange?: (value: number) => void;
|
|
150
|
+
onFocusedRowKeyChange?: (value: any) => void;
|
|
151
|
+
onPagingChange?: (value: Record<string, any>) => void;
|
|
152
|
+
onSearchPanelChange?: (value: Record<string, any>) => void;
|
|
153
|
+
onSelectedRowKeysChange?: (value: any[]) => void;
|
|
154
|
+
}>) => import("react").JSX.Element;
|
|
155
|
+
tags: string[];
|
|
156
|
+
argTypes: {};
|
|
157
|
+
parameters: {
|
|
158
|
+
controls: {
|
|
159
|
+
sort: string;
|
|
160
|
+
exclude: string[];
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
export default _default;
|
|
165
|
+
export declare const BasicTreeList: any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TableProps } from "antd/es/table/InternalTable";
|
|
2
|
+
export interface DataType {
|
|
3
|
+
Task_Subject: string;
|
|
4
|
+
Task_Start_Date: string;
|
|
5
|
+
Task_Due_Date: number;
|
|
6
|
+
Task_Status: string;
|
|
7
|
+
Task_Priority: number;
|
|
8
|
+
Task_Completion: number;
|
|
9
|
+
Task_Parent_ID: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const columns: TableProps<DataType>["columns"];
|
|
12
|
+
export declare const priorities: {
|
|
13
|
+
id: number;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|