ods-component-lib 1.20.5 → 1.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/components/antd/alert/OdsAlert.styled.d.ts +1 -1
  2. package/dist/components/antd/autocomplete/OdsAutoComplete.styled.d.ts +0 -1
  3. package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
  4. package/dist/components/antd/button/OdsDropdownButton.d.ts +1 -1
  5. package/dist/components/antd/cascader/OdsCascader.styled.d.ts +33 -3
  6. package/dist/components/antd/checkbox/OdsCheckbox.styled.d.ts +1 -1
  7. package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +1 -0
  8. package/dist/components/antd/floatbutton/OdsFloatButton.styled.d.ts +1 -6
  9. package/dist/components/antd/input/OdsInput..d.ts +4 -0
  10. package/dist/components/antd/input/OdsInput.styled.d.ts +0 -1
  11. package/dist/components/antd/list/OdsList.styled.d.ts +2 -6
  12. package/dist/components/antd/modal/OdsAdvanceModal.d.ts +7 -0
  13. package/dist/components/antd/radio/OdsRadio.styled.d.ts +1 -1
  14. package/dist/components/antd/switch/OdsSwitch.styled.d.ts +1 -1
  15. package/dist/components/antd/tab/OdsTab.styled.d.ts +2 -2
  16. package/dist/components/antd/table/OdsTable.styled.d.ts +2 -2
  17. package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +2 -2
  18. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +3 -0
  19. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +4 -0
  20. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +12 -0
  21. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +94 -0
  22. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +46 -0
  23. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +4 -0
  24. package/dist/components/devextreme/OdsDataGrid.d.ts +4 -0
  25. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +4 -0
  26. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
  27. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +77 -0
  28. package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +5 -0
  29. package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +3 -0
  30. package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +2 -0
  31. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSearchBox.d.ts +3 -0
  32. package/dist/components/devextreme/treeview/DxTreeList.d.ts +4 -0
  33. package/dist/index.js +4867 -4886
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.modern.js +4864 -4883
  36. package/dist/index.modern.js.map +1 -1
  37. package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +42 -0
  38. package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +8 -0
  39. package/dist/stories/OdsBasicDataGrid/OdsBasicDataGrid.stories.d.ts +110 -0
  40. package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +14 -0
  41. package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +7 -0
  42. package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
  43. package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +2 -4
  44. package/dist/stories/OdsDropdownButton/Samples/HoverDropdownButton.Sample.d.ts +1 -1
  45. package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +3 -0
  46. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +22 -0
  47. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +44 -0
  48. package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +1 -0
  49. package/dist/stories/OdsPivotGrid/OdsPivotGrid.stories.d.ts +15 -0
  50. package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Constants.d.ts +2 -0
  51. package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.MockData.d.ts +7 -0
  52. package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Sample.d.ts +1 -0
  53. package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +5 -0
  54. package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +6 -0
  55. package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
  56. package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +16 -0
  57. package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +2 -0
  58. package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
  59. package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
  60. package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
  61. package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +165 -0
  62. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +15 -0
  63. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +24 -0
  64. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +1 -0
  65. package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +4 -0
  66. package/package.json +1 -1
  67. /package/dist/components/antd/{datePicker/OdsDateRangePicker.d.ts → datepicker/OdsDateRangepicker.d.ts} +0 -0
  68. /package/dist/components/antd/{datePicker/OdsDatePicker.d.ts → datepicker/OdsDatepicker.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledAlert: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").AlertProps & import("react").RefAttributes<import("antd/es/alert/Alert").AlertRef>> & {
2
+ export declare const StyledAlert: import("styled-components").StyledComponent<import("react").FC<import("antd").AlertProps> & {
3
3
  ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
4
4
  }, any, {}, never>;
@@ -3,7 +3,6 @@ export declare const StyledAutoComplete: import("styled-components").StyledCompo
3
3
  children?: import("react").ReactNode;
4
4
  } & import("react").RefAttributes<import("antd").RefSelectProps>) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>) & {
5
5
  displayName?: string;
6
- } & {
7
6
  Option: import("rc-select/lib/Option").OptionFC;
8
7
  _InternalPanelDoNotUseOrYouWillBeFired: (props: Record<string | number | symbol, any>) => import("react").JSX.Element;
9
8
  }, any, {}, never>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & {
2
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
3
3
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
4
4
  }, any, {}, never>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { DropdownProps } from 'antd';
3
- import { ItemType } from 'antd/es/menu/interface';
3
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
4
4
  export interface IButtonProps extends DropdownProps {
5
5
  onClick?: React.MouseEventHandler<HTMLElement>;
6
6
  items: ItemType[];
@@ -1,16 +1,46 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledCascader: import("styled-components").StyledComponent<(<OptionType extends import("rc-cascader").DefaultOptionType = import("rc-cascader").DefaultOptionType, ValueField extends keyof OptionType = keyof OptionType>(props: (import("antd").CascaderProps<OptionType, ValueField, boolean> & {
2
+ export declare const StyledCascader: import("styled-components").StyledComponent<(<OptionType extends import("rc-cascader").DefaultOptionType | import("rc-cascader").BaseOptionType = import("rc-cascader").DefaultOptionType>(props: (Pick<import("rc-cascader").SingleCascaderProps<OptionType>, "style" | "title" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "children" | "loading" | "id" | "searchValue" | "autoClearSearchValue" | "onSearch" | "showSearch" | "tagRender" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "notFoundContent" | "placeholder" | "onClear" | "choiceTransitionName" | "disabled" | "open" | "defaultOpen" | "onDropdownVisibleChange" | "getInputElement" | "getRawInputElement" | "maxTagTextLength" | "maxTagCount" | "maxTagPlaceholder" | "allowClear" | "suffixIcon" | "clearIcon" | "removeIcon" | "animation" | "transitionName" | "dropdownStyle" | "dropdownClassName" | "dropdownMatchSelectWidth" | "dropdownRender" | "dropdownAlign" | "placement" | "builtinPlacements" | "getPopupContainer" | "showAction" | "onBlur" | "onFocus" | "onKeyUp" | "onKeyDown" | "onMouseDown" | "onPopupScroll" | "onInputKeyDown" | "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" | "fieldNames" | "value" | "defaultValue" | "onChange" | "popupClassName" | "changeOnSelect" | "displayRender" | "showCheckedStrategy" | "expandTrigger" | "dropdownPrefixCls" | "loadData" | "popupVisible" | "dropdownMenuColumnStyle" | "popupPlacement" | "onPopupVisibleChange" | "expandIcon" | "loadingIcon"> & {
3
3
  multiple?: false;
4
+ } & {
5
+ multiple?: boolean;
6
+ size?: import("antd/es/button").ButtonSize;
7
+ showArrow?: boolean;
8
+ disabled?: boolean;
9
+ bordered?: boolean;
10
+ placement?: import("rc-select/lib/interface").Placement;
11
+ suffixIcon?: import("react").ReactNode;
12
+ options?: OptionType[];
13
+ status?: "" | "warning" | "error";
14
+ autoClearSearchValue?: boolean;
15
+ rootClassName?: string;
16
+ popupClassName?: string;
17
+ dropdownClassName?: string;
18
+ variant?: "outlined" | "borderless" | "filled";
4
19
  } & {
5
20
  children?: import("react").ReactNode;
6
- } & import("react").RefAttributes<import("antd/es/cascader").CascaderRef>) | (import("antd").CascaderProps<OptionType, ValueField, true> & {
21
+ } & import("react").RefAttributes<import("antd/es/cascader").CascaderRef>) | (Pick<import("rc-cascader").MultipleCascaderProps<OptionType>, "style" | "title" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "children" | "loading" | "id" | "searchValue" | "autoClearSearchValue" | "onSearch" | "showSearch" | "tagRender" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "notFoundContent" | "placeholder" | "onClear" | "choiceTransitionName" | "disabled" | "open" | "defaultOpen" | "onDropdownVisibleChange" | "getInputElement" | "getRawInputElement" | "maxTagTextLength" | "maxTagCount" | "maxTagPlaceholder" | "allowClear" | "suffixIcon" | "clearIcon" | "removeIcon" | "animation" | "transitionName" | "dropdownStyle" | "dropdownClassName" | "dropdownMatchSelectWidth" | "dropdownRender" | "dropdownAlign" | "placement" | "builtinPlacements" | "getPopupContainer" | "showAction" | "onBlur" | "onFocus" | "onKeyUp" | "onKeyDown" | "onMouseDown" | "onPopupScroll" | "onInputKeyDown" | "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" | "fieldNames" | "value" | "defaultValue" | "onChange" | "popupClassName" | "changeOnSelect" | "displayRender" | "showCheckedStrategy" | "expandTrigger" | "dropdownPrefixCls" | "loadData" | "popupVisible" | "dropdownMenuColumnStyle" | "popupPlacement" | "onPopupVisibleChange" | "expandIcon" | "loadingIcon"> & {
7
22
  multiple: true;
23
+ } & {
24
+ multiple?: boolean;
25
+ size?: import("antd/es/button").ButtonSize;
26
+ showArrow?: boolean;
27
+ disabled?: boolean;
28
+ bordered?: boolean;
29
+ placement?: import("rc-select/lib/interface").Placement;
30
+ suffixIcon?: import("react").ReactNode;
31
+ options?: OptionType[];
32
+ status?: "" | "warning" | "error";
33
+ autoClearSearchValue?: boolean;
34
+ rootClassName?: string;
35
+ popupClassName?: string;
36
+ dropdownClassName?: string;
37
+ variant?: "outlined" | "borderless" | "filled";
8
38
  } & {
9
39
  children?: import("react").ReactNode;
10
40
  } & import("react").RefAttributes<import("antd/es/cascader").CascaderRef>)) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>) & {
11
41
  displayName: string;
12
42
  SHOW_PARENT: "SHOW_PARENT";
13
43
  SHOW_CHILD: "SHOW_CHILD";
14
- Panel: typeof import("antd/es/cascader/Panel").default;
44
+ Panel: import("react").FC<Pick<import("antd").CascaderProps<any>, import("antd/es/cascader/Panel").PanelPickType>>;
15
45
  _InternalPanelDoNotUseOrYouWillBeFired: (props: Record<string | number | symbol, any>) => import("react").JSX.Element;
16
46
  }, any, {}, never>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledCheckbox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").CheckboxProps & import("react").RefAttributes<import("rc-checkbox").CheckboxRef>> & {
3
- Group: <T = any>(props: import("antd/es/checkbox").CheckboxGroupProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>;
3
+ Group: <T extends import("antd/es/checkbox/Group").CheckboxValueType = import("antd/es/checkbox/Group").CheckboxValueType>(props: import("antd/es/checkbox").CheckboxGroupProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>;
4
4
  }, any, {}, never>;
@@ -0,0 +1 @@
1
+ export declare const StyledDatepicker: import("styled-components").StyledComponent<import("antd/es/date-picker").DatePickerType, any, {}, never>;
@@ -1,6 +1 @@
1
- /// <reference types="react" />
2
- export declare const StyledFloatButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FloatButtonProps & import("react").RefAttributes<import("antd/es/float-button/interface").FloatButtonElement>> & {
3
- Group: import("react").FC<Readonly<import("antd").FloatButtonGroupProps>>;
4
- BackTop: import("react").ForwardRefExoticComponent<import("antd/es/float-button/interface").BackTopProps & import("react").RefAttributes<import("antd").FloatButtonRef>>;
5
- _InternalPanelDoNotUseOrYouWillBeFired: import("react").FC<import("antd/es/float-button/PurePanel").PurePanelProps>;
6
- }, any, {}, never>;
1
+ export declare const StyledFloatButton: import("styled-components").StyledComponent<import("antd/es/float-button/interface").CompoundedComponent, any, {}, never>;
@@ -0,0 +1,4 @@
1
+ import { InputProps } from 'antd';
2
+ import React from 'react';
3
+ declare function OdsInput(props?: InputProps): React.JSX.Element;
4
+ export default OdsInput;
@@ -4,5 +4,4 @@ export declare const StyledInput: import("styled-components").StyledComponent<im
4
4
  Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
5
5
  TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
6
6
  Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
7
- OTP: import("react").ForwardRefExoticComponent<import("antd/es/input/OTP").OTPProps & import("react").RefAttributes<import("antd/es/input/OTP").OTPRef>>;
8
7
  }, any, {}, never>;
@@ -1,6 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const StyledList: import("styled-components").StyledComponent<(<T>(props: import("antd").ListProps<T> & {
3
- ref?: import("react").ForwardedRef<HTMLDivElement>;
4
- }) => import("react").ReactElement<unknown, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>) & Pick<import("react").FC<{}>, "displayName"> & {
5
- Item: import("antd/es/list/Item").ListItemTypeProps;
6
- }, any, {}, never>;
1
+ import { List } from 'antd';
2
+ export declare const StyledList: import("styled-components").StyledComponent<typeof List, any, {}, never>;
@@ -0,0 +1,7 @@
1
+ import { ModalProps } from "antd";
2
+ import React from "react";
3
+ export interface ICustomModalProps extends ModalProps {
4
+ content: React.ReactNode;
5
+ }
6
+ declare const OdsAdvanceModal: React.FC<ICustomModalProps>;
7
+ export default OdsAdvanceModal;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledRadio: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").RadioProps & import("react").RefAttributes<import("rc-checkbox").CheckboxRef>> & {
3
- Group: import("react").NamedExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ Group: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
4
4
  Button: import("react").ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & import("react").RefAttributes<import("rc-checkbox").CheckboxRef>>;
5
5
  }, any, {}, never>;
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledSwitch: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").SwitchProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
2
+ export declare const StyledSwitch: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").SwitchProps & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledTabs: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").TabsProps & import("react").RefAttributes<import("antd/es/tabs").TabsRef>> & {
3
- TabPane: import("react").FC<import("antd/es/tabs/TabPane").TabPaneProps>;
2
+ export declare const StyledTabs: import("styled-components").StyledComponent<import("react").FC<import("antd").TabsProps> & {
3
+ TabPane: import("react").FC<import("antd").TabPaneProps>;
4
4
  }, any, {}, never>;
@@ -5,7 +5,7 @@ export declare const StyledTable: import("styled-components").StyledComponent<im
5
5
  SELECTION_ALL: "SELECT_ALL";
6
6
  SELECTION_INVERT: "SELECT_INVERT";
7
7
  SELECTION_NONE: "SELECT_NONE";
8
- Column: <RecordType extends Record<string | number | symbol, any>>(_: import("antd").TableColumnProps<RecordType>) => null;
9
- ColumnGroup: <RecordType_1 extends Record<string | number | symbol, any>>(_: import("antd/es/table/ColumnGroup").ColumnGroupProps<RecordType_1>) => null;
8
+ Column: typeof import("antd/es/table/Column").default;
9
+ ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
10
10
  Summary: typeof import("rc-table/lib/Footer/Summary").default;
11
11
  }, any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledTimepicker: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("antd").TimePickerProps, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "role" | "prefixCls" | "className" | "rootClassName" | "onMouseEnter" | "onMouseLeave" | "onClick" | "id" | "key" | "mode" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "placeholder" | "disabled" | "open" | "defaultOpen" | "maxTagCount" | "allowClear" | "prefix" | "suffixIcon" | "clearIcon" | "removeIcon" | "transitionName" | "dropdownClassName" | "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" | "onSelect" | "children" | "value" | "defaultValue" | "onChange" | "size" | "bordered" | "variant" | "styles" | "classNames" | "list" | "step" | "status" | "popupClassName" | "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" | "locale" | "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" | "inputReadOnly" | "minDate" | "maxDate" | "popupAlign" | "needConfirm" | "preserveInvalidOnBlur" | "components" | "inputRender" | "dateRender" | "showToday" | "panelRender" | "renderExtraFooter" | "popupStyle" | "addon"> & import("react").RefAttributes<import("rc-picker").PickerRef>> & {
3
- RangePicker: import("react").ForwardRefExoticComponent<import("antd").TimeRangePickerProps & import("react").RefAttributes<import("rc-picker").PickerRef>>;
2
+ export declare const StyledTimepicker: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("antd").TimePickerProps, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "role" | "prefixCls" | "className" | "rootClassName" | "onMouseEnter" | "onMouseLeave" | "onClick" | "children" | "mode" | "id" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "placeholder" | "disabled" | "open" | "defaultOpen" | "maxTagCount" | "allowClear" | "suffixIcon" | "clearIcon" | "removeIcon" | "transitionName" | "dropdownClassName" | "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" | "size" | "bordered" | "variant" | "list" | "step" | "status" | "popupClassName" | "key" | "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" | "locale" | "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" | "showWeek" | "inputReadOnly" | "minDate" | "maxDate" | "popupAlign" | "needConfirm" | "preserveInvalidOnBlur" | "components" | "inputRender" | "dateRender" | "showToday" | "panelRender" | "renderExtraFooter" | "popupStyle" | "addon"> & import("react").RefAttributes<any>> & {
3
+ RangePicker: import("react").ForwardRefExoticComponent<import("antd").TimeRangePickerProps & import("react").RefAttributes<any>>;
4
4
  _InternalPanelDoNotUseOrYouWillBeFired: (props: Record<string | number | symbol, any>) => import("react").JSX.Element;
5
5
  }, any, {}, never>;
@@ -0,0 +1,3 @@
1
+ export declare const seatPositions: {
2
+ [key: string]: string;
3
+ };
@@ -0,0 +1,4 @@
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>;
@@ -0,0 +1,12 @@
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;
@@ -0,0 +1,94 @@
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
+ }>;
@@ -0,0 +1,46 @@
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
+ }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { CabinGridProps } from "./OdsCabinGrid.Types";
3
+ declare const CabinGrid: React.FC<CabinGridProps>;
4
+ export default CabinGrid;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./DxDataGrid.css";
3
+ declare function OdsDataGrid(props: any): React.JSX.Element;
4
+ export default OdsDataGrid;
@@ -0,0 +1,4 @@
1
+ export declare const Constants: {
2
+ timelineDefaultStartDate: Date;
3
+ timelineDefaultEndDate: Date;
4
+ };
@@ -0,0 +1,6 @@
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[];
@@ -0,0 +1,77 @@
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
+ }
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import "./OdsTimeline.css";
3
+ import { IOdsTimelineProps } from "./OdsTimeline.Types";
4
+ declare const OdsTimeline: (props: IOdsTimelineProps) => React.JSX.Element;
5
+ export default OdsTimeline;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { IOdsTimelineDateFilter } from "./OdsTimeline.Types";
3
+ export declare const OdsTimelineDateFilter: (props: IOdsTimelineDateFilter | Readonly<IOdsTimelineDateFilter>) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ICustomSelectionChange, IOdsTimelineColumnProps } from "./OdsTimeline.Types";
2
+ export declare const OdsTimelineSelectionColumn: (selectionEvent: (e: ICustomSelectionChange) => void) => IOdsTimelineColumnProps;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { IOdsTimelineTableSearchBox } from "./OdsTimelineTable.Types";
3
+ export declare const OdsTimelineTableSearchBox: (props: IOdsTimelineTableSearchBox | Readonly<IOdsTimelineTableSearchBox>) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { ITreeListOptions } from "devextreme-react/tree-list";
2
+ import React from "react";
3
+ declare const DxTreeList: (props: ITreeListOptions<any, any>) => React.JSX.Element;
4
+ export default DxTreeList;