ods-component-lib 1.19.1 → 1.19.3

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 (59) hide show
  1. package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
  2. package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +1 -1
  3. package/dist/components/devextreme/NoContentComponent.d.ts +1 -1
  4. package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.Types.d.ts +2 -0
  5. package/dist/components/devextreme/OdsTransfer.d.ts +9 -2
  6. package/dist/index.js +87 -78
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.modern.js +87 -78
  9. package/dist/index.modern.js.map +1 -1
  10. package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +3 -1
  11. package/package.json +1 -1
  12. package/dist/App.d.ts +0 -3
  13. package/dist/components/antd/input/OdsInput..d.ts +0 -4
  14. package/dist/components/antd/modal/OdsAdvanceModal.d.ts +0 -7
  15. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
  16. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
  17. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
  18. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
  19. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
  20. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
  21. package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
  22. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +0 -14
  23. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +0 -7
  24. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +0 -19
  25. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +0 -7
  26. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +0 -21
  27. package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +0 -15
  28. package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +0 -9
  29. package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +0 -8
  30. package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +0 -19
  31. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +0 -4
  32. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
  33. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +0 -77
  34. package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +0 -5
  35. package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +0 -3
  36. package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +0 -2
  37. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSearchBox.d.ts +0 -3
  38. package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
  39. package/dist/index.umd.js +0 -2
  40. package/dist/index.umd.js.map +0 -1
  41. package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +0 -42
  42. package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
  43. package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
  44. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
  45. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
  46. package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
  47. package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
  48. package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +0 -2
  49. package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +0 -3
  50. package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
  51. package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +0 -39
  52. package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
  53. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
  54. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
  55. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
  56. package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
  57. /package/dist/components/antd/{datepicker/OdsDatepicker.styled.d.ts → datePicker/OdsDatePicker.Styled.d.ts} +0 -0
  58. /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
  59. /package/dist/components/antd/{datepicker/OdsDateRangepicker.d.ts → datePicker/OdsDateRangePicker.d.ts} +0 -0
@@ -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<HTMLAnchorElement | HTMLButtonElement>> & {
3
3
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
4
4
  }, 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" | "defaultValue" | "value" | "onChange" | "onOk" | "locale" | "placeholder" | "id" | "disabled" | "onFocus" | "onBlur" | "onSelect" | "onKeyDown" | "size" | "prefix" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "maxLength" | "minLength" | "multiple" | "name" | "readOnly" | "required" | "src" | "step" | "type" | "width" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "onKeyUp" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "prevIcon" | "nextIcon" | "superPrevIcon" | "superNextIcon" | "format" | "showNow" | "showHour" | "showMinute" | "showSecond" | "showMillisecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "millisecondStep" | "hideDisabledOptions" | "defaultOpenValue" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "disabledTime" | "changeOnScroll" | "removeIcon" | "maxTagCount" | "onCalendarChange" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange" | "presets" | "mode" | "onPanelChange" | "direction" | "prefixCls" | "styles" | "classNames" | "showWeek" | "suffixIcon" | "allowClear" | "clearIcon" | "inputReadOnly" | "order" | "disabledDate" | "minDate" | "maxDate" | "defaultOpen" | "open" | "onOpenChange" | "popupAlign" | "getPopupContainer" | "placement" | "builtinPlacements" | "needConfirm" | "changeOnBlur" | "preserveInvalidOnBlur" | "transitionName" | "components" | "inputRender" | "cellRender" | "dateRender" | "monthCellRender" | "showToday" | "panelRender" | "renderExtraFooter" | "bordered" | "status" | "variant" | "dropdownClassName" | "popupClassName" | "rootClassName" | "popupStyle" | "key" | "addon"> & 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" | "defaultValue" | "value" | "onChange" | "onOk" | "locale" | "classNames" | "styles" | "placeholder" | "id" | "disabled" | "onFocus" | "onBlur" | "onSelect" | "onKeyDown" | "size" | "prefix" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "maxLength" | "minLength" | "multiple" | "name" | "readOnly" | "required" | "src" | "step" | "type" | "width" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onKeyUp" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "prevIcon" | "nextIcon" | "superPrevIcon" | "superNextIcon" | "format" | "showNow" | "showHour" | "showMinute" | "showSecond" | "showMillisecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "millisecondStep" | "hideDisabledOptions" | "defaultOpenValue" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "disabledTime" | "changeOnScroll" | "removeIcon" | "maxTagCount" | "onCalendarChange" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange" | "presets" | "mode" | "onPanelChange" | "direction" | "prefixCls" | "showWeek" | "suffixIcon" | "allowClear" | "clearIcon" | "inputReadOnly" | "order" | "disabledDate" | "minDate" | "maxDate" | "defaultOpen" | "open" | "onOpenChange" | "popupAlign" | "getPopupContainer" | "placement" | "builtinPlacements" | "needConfirm" | "changeOnBlur" | "preserveInvalidOnBlur" | "transitionName" | "components" | "inputRender" | "cellRender" | "dateRender" | "monthCellRender" | "showToday" | "panelRender" | "renderExtraFooter" | "bordered" | "status" | "variant" | "dropdownClassName" | "popupClassName" | "rootClassName" | "popupStyle" | "key" | "addon"> & import("react").RefAttributes<import("rc-picker").PickerRef>> & {
3
3
  RangePicker: import("react").ForwardRefExoticComponent<import("antd").TimeRangePickerProps & import("react").RefAttributes<import("rc-picker").PickerRef>>;
4
4
  _InternalPanelDoNotUseOrYouWillBeFired: (props: Record<string | number | symbol, any>) => import("react").JSX.Element;
5
5
  }, any, {}, never>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React from "react";
2
2
  interface NoListItemsProps {
3
3
  mainText: string;
4
4
  subText: string;
@@ -2,6 +2,7 @@ import React, { MouseEventHandler } from "react";
2
2
  import { ButtonType } from "antd/es/button/buttonHelpers";
3
3
  import { IButtonProps, IDataGridOptions, IEditingProps, IScrollingProps, ISelectionProps, ISummaryProps } from "devextreme-react/data-grid";
4
4
  import { IColumnOptions, IMasterDetailDatas, IMasterDetailFeatures } from "../OdsMasterDetailDataGrid/types";
5
+ import { RowPreparedEvent } from "devextreme/ui/data_grid";
5
6
  export declare type SummaryTypes = "avg" | "count" | "custom" | "max" | "min" | "sum";
6
7
  export interface IMultiCellEditableDataGridProps {
7
8
  hasFastUpdate?: boolean;
@@ -58,6 +59,7 @@ export interface IOdsDataGridProps extends IDataGridOptions, IMultiCellEditableD
58
59
  masterDetailFeatures?: IMasterDetailFeatures;
59
60
  DetailGridComponent?: React.FC<any>;
60
61
  scrollingProps?: IScrollingProps;
62
+ onRowPrepared?: (e: RowPreparedEvent<any, any>) => void;
61
63
  }
62
64
  export interface ISummaryRowOptions {
63
65
  summaryLoadedDataLabel?: string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import 'devextreme/dist/css/dx.light.css';
3
- import './styles.css';
2
+ import "devextreme/dist/css/dx.light.css";
3
+ import "./styles.css";
4
4
  export interface Column {
5
5
  title: string;
6
6
  dataIndex: string;
@@ -48,6 +48,13 @@ interface OdsTransferProps<RecordType = any> {
48
48
  noContentMainText: string;
49
49
  noContentSubText: string;
50
50
  onTargetChange?: (selectedItems: RecordType[]) => void;
51
+ sourceTitle?: string;
52
+ TargetTitle?: string;
53
+ displayPageTitle?: false;
54
+ className?: string;
55
+ rootClassName?: string;
56
+ style?: React.CSSProperties;
57
+ showSearch?: boolean;
51
58
  }
52
59
  export declare const getRequestHeaders: (props: any) => Headers;
53
60
  declare const OdsTransfer: React.FC<OdsTransferProps>;
package/dist/index.js CHANGED
@@ -34938,7 +34938,8 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
34938
34938
  masterDetailFeatures = props.masterDetailFeatures,
34939
34939
  _props$scrollingProps = props.scrollingProps,
34940
34940
  scrollingProps = _props$scrollingProps === void 0 ? {} : _props$scrollingProps,
34941
- onContentReady = props.onContentReady;
34941
+ onContentReady = props.onContentReady,
34942
+ onRowPrepared = props.onRowPrepared;
34942
34943
  var _useToken = useToken$1(),
34943
34944
  token = _useToken.token;
34944
34945
  var _AntForm$useForm = antd.Form.useForm(),
@@ -34973,15 +34974,15 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
34973
34974
  var _useState9 = React.useState(false),
34974
34975
  ctrlSelection = _useState9[0],
34975
34976
  setCtrlSelection = _useState9[1];
34977
+ var _useState0 = React.useState(false),
34978
+ contentReady = _useState0[0],
34979
+ setContentReady = _useState0[1];
34980
+ var _useState1 = React.useState(true),
34981
+ filteredButtonCheck = _useState1[0],
34982
+ setFilteredButtonCheck = _useState1[1];
34976
34983
  var _useState10 = React.useState(false),
34977
- contentReady = _useState10[0],
34978
- setContentReady = _useState10[1];
34979
- var _useState11 = React.useState(true),
34980
- filteredButtonCheck = _useState11[0],
34981
- setFilteredButtonCheck = _useState11[1];
34982
- var _useState12 = React.useState(false),
34983
- searchPanelApplied = _useState12[0],
34984
- setSearchPanelApplied = _useState12[1];
34984
+ searchPanelApplied = _useState10[0],
34985
+ setSearchPanelApplied = _useState10[1];
34985
34986
  var _useStyles = useStyles$6(),
34986
34987
  gridStyle = _useStyles.styles;
34987
34988
  React.useEffect(function () {
@@ -35616,7 +35617,7 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
35616
35617
  selectAllMode: "page"
35617
35618
  },
35618
35619
  onEditorPreparing: onEditorPreparing,
35619
- onExporting: !props.closeGridHeader && function (e) {
35620
+ onExporting: !props.closeGridHeader ? function (e) {
35620
35621
  var _props$exportProps$ac, _props$exportProps$pa;
35621
35622
  return ExportDataGridToExcel({
35622
35623
  gridComponent: e.component,
@@ -35627,7 +35628,7 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
35627
35628
  activeText: (_props$exportProps$ac = props.exportProps.activeText) != null ? _props$exportProps$ac : "Active",
35628
35629
  passiveText: (_props$exportProps$pa = props.exportProps.passiveText) != null ? _props$exportProps$pa : "Passive"
35629
35630
  });
35630
- },
35631
+ } : undefined,
35631
35632
  onRowClick: props.onRowClick,
35632
35633
  onEditorPrepared: onEditorPrepared,
35633
35634
  onSelectionChanged: props.onSelectionChanged,
@@ -35640,7 +35641,8 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
35640
35641
  onCellHoverChanged: onCustomCellHoverChanged,
35641
35642
  onCellPrepared: onCustomCellPrepared,
35642
35643
  onOptionChanged: props.onOptionChanged || onCustomOptionChanged,
35643
- onToolbarPreparing: props.onToolbarPreparing || onToolbarPreparing
35644
+ onToolbarPreparing: props.onToolbarPreparing || onToolbarPreparing,
35645
+ onRowPrepared: onRowPrepared
35644
35646
  }), gridColumns.map(function (col) {
35645
35647
  return React__default.createElement(DataGrid.Column, Object.assign({
35646
35648
  key: col.dataField
@@ -55405,7 +55407,7 @@ var loadedPageCount = 1;
55405
55407
  var totalRecordCount = 0;
55406
55408
  var useToken$4 = antd.theme.useToken;
55407
55409
  var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
55408
- var _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest6, _props$axiosRequest7, _props$axiosRequest8, _props$axiosRequest9, _props$axiosRequest10, _props$axiosRequest11, _props$selectOptions, _props$selectOptions$, _props$selectOptions2, _props$selectOptions$2, _props$selectOptions3;
55410
+ var _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest6, _props$axiosRequest7, _props$axiosRequest8, _props$axiosRequest9, _props$axiosRequest0, _props$axiosRequest1, _props$selectOptions, _props$selectOptions$, _props$selectOptions2, _props$selectOptions$2, _props$selectOptions3;
55409
55411
  var _useToken = useToken$4(),
55410
55412
  token = _useToken.token;
55411
55413
  var _useState = React.useState([]),
@@ -55619,7 +55621,7 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
55619
55621
  } catch (e) {
55620
55622
  return Promise.reject(e);
55621
55623
  }
55622
- }, [(_props$axiosRequest6 = props.axiosRequest) === null || _props$axiosRequest6 === void 0 ? void 0 : _props$axiosRequest6.requestData, (_props$axiosRequest7 = props.axiosRequest) === null || _props$axiosRequest7 === void 0 ? void 0 : _props$axiosRequest7.apiUrl, (_props$axiosRequest8 = props.axiosRequest) === null || _props$axiosRequest8 === void 0 ? void 0 : _props$axiosRequest8.environmentUrl, (_props$axiosRequest9 = props.axiosRequest) === null || _props$axiosRequest9 === void 0 ? void 0 : _props$axiosRequest9.requestQueryString, (_props$axiosRequest10 = props.axiosRequest) === null || _props$axiosRequest10 === void 0 ? void 0 : _props$axiosRequest10.requestType, props.pageSize, props.isServerSide]);
55624
+ }, [(_props$axiosRequest6 = props.axiosRequest) === null || _props$axiosRequest6 === void 0 ? void 0 : _props$axiosRequest6.requestData, (_props$axiosRequest7 = props.axiosRequest) === null || _props$axiosRequest7 === void 0 ? void 0 : _props$axiosRequest7.apiUrl, (_props$axiosRequest8 = props.axiosRequest) === null || _props$axiosRequest8 === void 0 ? void 0 : _props$axiosRequest8.environmentUrl, (_props$axiosRequest9 = props.axiosRequest) === null || _props$axiosRequest9 === void 0 ? void 0 : _props$axiosRequest9.requestQueryString, (_props$axiosRequest0 = props.axiosRequest) === null || _props$axiosRequest0 === void 0 ? void 0 : _props$axiosRequest0.requestType, props.pageSize, props.isServerSide]);
55623
55625
  var getTotalCount = function getTotalCount(response, data) {
55624
55626
  if (data !== null && data !== void 0 && data.PageCount || data !== null && data !== void 0 && data.RowCount) {
55625
55627
  totalPageCount = data.PageCount;
@@ -55896,7 +55898,7 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
55896
55898
  }
55897
55899
  var onScrollEnd = React.useCallback(function () {
55898
55900
  getServerSide("reachedBottom");
55899
- }, [(_props$axiosRequest11 = props.axiosRequest) === null || _props$axiosRequest11 === void 0 ? void 0 : _props$axiosRequest11.requestData, getServerSide]);
55901
+ }, [(_props$axiosRequest1 = props.axiosRequest) === null || _props$axiosRequest1 === void 0 ? void 0 : _props$axiosRequest1.requestData, getServerSide]);
55900
55902
  var handleScroll = function handleScroll(e) {
55901
55903
  var run = debounce_1(function (e) {
55902
55904
  var _scrollable$scrollTop, _scrollable$clientHei, _scrollable$scrollHei;
@@ -56972,7 +56974,7 @@ var OdsTimelineSelectionColumn = function OdsTimelineSelectionColumn(selectionEv
56972
56974
  return selectionColumn;
56973
56975
  };
56974
56976
 
56975
- var _templateObject$D, _templateObject2$9, _templateObject3$4, _templateObject4$3, _templateObject5$1, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
56977
+ var _templateObject$D, _templateObject2$9, _templateObject3$4, _templateObject4$3, _templateObject5$1, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1;
56976
56978
  var useStyles$b = antdStyle.createStyles(function (_ref, props) {
56977
56979
  var _props$taskWidth, _props$progressPerc, _props$progressColor;
56978
56980
  var css = _ref.css;
@@ -56990,8 +56992,8 @@ var useStyles$b = antdStyle.createStyles(function (_ref, props) {
56990
56992
  columnChooserHeader: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n "]))),
56991
56993
  columnChooserCloseButton: css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n flex: 1;\n text-align: end;\n "]))),
56992
56994
  columnChooserDivider: css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n margin-bottom: 10px;\n "]))),
56993
- columnChooserCheckbox: css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteralLoose(["\n margin-top: 4px;\n margin-bottom: 4px;\n "]))),
56994
- columnChooserSearchbox: css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteralLoose(["\n ", "\n margin-top: 4px;\n margin-bottom: 4px;\n "])), searchBox)
56995
+ columnChooserCheckbox: css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteralLoose(["\n margin-top: 4px;\n margin-bottom: 4px;\n "]))),
56996
+ columnChooserSearchbox: css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteralLoose(["\n ", "\n margin-top: 4px;\n margin-bottom: 4px;\n "])), searchBox)
56995
56997
  };
56996
56998
  });
56997
56999
 
@@ -57180,7 +57182,7 @@ var callAddFont = function callAddFont() {
57180
57182
  jsPDF.jsPDF.API.events.push(['addFonts', callAddFont]);
57181
57183
 
57182
57184
  var OdsTimelineTable = React.forwardRef(function (props, ref) {
57183
- var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo19, _toolbarSettings$expo20, _toolbarSettings$expo21, _toolbarSettings$colu;
57185
+ var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo10, _toolbarSettings$expo11, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo17, _toolbarSettings$expo18, _toolbarSettings$expo19, _toolbarSettings$colu;
57184
57186
  var customColumns = props.customColumns,
57185
57187
  customTasks = props.customTasks,
57186
57188
  customTaskKey = props.customTaskKey,
@@ -57232,9 +57234,9 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
57232
57234
  return item.name;
57233
57235
  })),
57234
57236
  unvisibleColumnNames = _useState9[0];
57235
- var _useState10 = React.useState(false),
57236
- columnChooserOpen = _useState10[0],
57237
- setColumnChooserOpen = _useState10[1];
57237
+ var _useState0 = React.useState(false),
57238
+ columnChooserOpen = _useState0[0],
57239
+ setColumnChooserOpen = _useState0[1];
57238
57240
  var originalSortingMode = sorting.mode === undefined || sorting.mode === "" ? "none" : sorting.mode;
57239
57241
  var sortingMode = sortingProcess == "ServerSideSorting" ? "none" : originalSortingMode;
57240
57242
  var showSortIndexes = sortingProcess == "ServerSideSorting" ? false : sorting.showSortIndexes;
@@ -57534,11 +57536,11 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
57534
57536
  });
57535
57537
  };
57536
57538
  var getExportFileName = function getExportFileName() {
57537
- var _toolbarSettings$expo10, _toolbarSettings$expo11;
57539
+ var _toolbarSettings$expo0, _toolbarSettings$expo1;
57538
57540
  var now = new Date();
57539
57541
  var datePart = ("0" + now.getDate()).slice(-2) + "-" + ("0" + (now.getMonth() + 1)).slice(-2) + "-" + now.getFullYear();
57540
57542
  var timePart = ("0" + now.getHours()).slice(-2) + ":" + ("0" + now.getMinutes()).slice(-2);
57541
- return ((_toolbarSettings$expo10 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo11 = toolbarSettings["export"]) === null || _toolbarSettings$expo11 === void 0 ? void 0 : _toolbarSettings$expo11.fileName) != null ? _toolbarSettings$expo10 : "Timeline") + "-" + datePart + "-" + timePart + ".pdf";
57543
+ return ((_toolbarSettings$expo0 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo1 = toolbarSettings["export"]) === null || _toolbarSettings$expo1 === void 0 ? void 0 : _toolbarSettings$expo1.fileName) != null ? _toolbarSettings$expo0 : "Timeline") + "-" + datePart + "-" + timePart + ".pdf";
57542
57544
  };
57543
57545
  var exportedColumns = React.useMemo(function () {
57544
57546
  var newExportedColumns = [];
@@ -57621,39 +57623,39 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
57621
57623
  location: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.location
57622
57624
  }), React__default.createElement(gantt.Item, {
57623
57625
  key: "OdsTimelineTable_ToolbarItem_Export",
57624
- visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo12 = toolbarSettings["export"]) === null || _toolbarSettings$expo12 === void 0 ? void 0 : _toolbarSettings$expo12.visible,
57626
+ visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo10 = toolbarSettings["export"]) === null || _toolbarSettings$expo10 === void 0 ? void 0 : _toolbarSettings$expo10.visible,
57625
57627
  location: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.location,
57626
57628
  widget: "dxMenu",
57627
57629
  options: {
57628
57630
  items: [{
57629
57631
  icon: "export",
57630
57632
  items: [{
57631
- text: (_toolbarSettings$expo13 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo14 = toolbarSettings["export"]) === null || _toolbarSettings$expo14 === void 0 ? void 0 : (_toolbarSettings$expo15 = _toolbarSettings$expo14.pdf) === null || _toolbarSettings$expo15 === void 0 ? void 0 : _toolbarSettings$expo15.title) != null ? _toolbarSettings$expo13 : "Export to Pdf",
57633
+ text: (_toolbarSettings$expo11 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo12 = toolbarSettings["export"]) === null || _toolbarSettings$expo12 === void 0 ? void 0 : (_toolbarSettings$expo13 = _toolbarSettings$expo12.pdf) === null || _toolbarSettings$expo13 === void 0 ? void 0 : _toolbarSettings$expo13.title) != null ? _toolbarSettings$expo11 : "Export to Pdf",
57632
57634
  icon: "exportpdf",
57633
57635
  onClick: function onClick() {
57634
57636
  if (exportableTasks.length > 0) {
57635
57637
  exportPdf();
57636
57638
  } else {
57637
- var _toolbarSettings$expo16, _toolbarSettings$expo17, _toolbarSettings$expo18;
57639
+ var _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16;
57638
57640
  OdsNotification({
57639
57641
  title: "",
57640
- content: (_toolbarSettings$expo16 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo17 = toolbarSettings["export"]) === null || _toolbarSettings$expo17 === void 0 ? void 0 : (_toolbarSettings$expo18 = _toolbarSettings$expo17.messages) === null || _toolbarSettings$expo18 === void 0 ? void 0 : _toolbarSettings$expo18.noRecord) != null ? _toolbarSettings$expo16 : "No record",
57642
+ content: (_toolbarSettings$expo14 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo15 = toolbarSettings["export"]) === null || _toolbarSettings$expo15 === void 0 ? void 0 : (_toolbarSettings$expo16 = _toolbarSettings$expo15.messages) === null || _toolbarSettings$expo16 === void 0 ? void 0 : _toolbarSettings$expo16.noRecord) != null ? _toolbarSettings$expo14 : "No record",
57641
57643
  type: "warning",
57642
57644
  placement: "bottom"
57643
57645
  });
57644
57646
  }
57645
57647
  }
57646
57648
  }, {
57647
- text: (_toolbarSettings$expo19 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo20 = toolbarSettings["export"]) === null || _toolbarSettings$expo20 === void 0 ? void 0 : (_toolbarSettings$expo21 = _toolbarSettings$expo20.excel) === null || _toolbarSettings$expo21 === void 0 ? void 0 : _toolbarSettings$expo21.title) != null ? _toolbarSettings$expo19 : "Export to Excel",
57649
+ text: (_toolbarSettings$expo17 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo18 = toolbarSettings["export"]) === null || _toolbarSettings$expo18 === void 0 ? void 0 : (_toolbarSettings$expo19 = _toolbarSettings$expo18.excel) === null || _toolbarSettings$expo19 === void 0 ? void 0 : _toolbarSettings$expo19.title) != null ? _toolbarSettings$expo17 : "Export to Excel",
57648
57650
  icon: "exportxlsx",
57649
57651
  onClick: function onClick() {
57650
57652
  if (exportableTasks.length > 0) {
57651
57653
  exportExcel();
57652
57654
  } else {
57653
- var _toolbarSettings$expo22, _toolbarSettings$expo23, _toolbarSettings$expo24;
57655
+ var _toolbarSettings$expo20, _toolbarSettings$expo21, _toolbarSettings$expo22;
57654
57656
  OdsNotification({
57655
57657
  title: "",
57656
- content: (_toolbarSettings$expo22 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo23 = toolbarSettings["export"]) === null || _toolbarSettings$expo23 === void 0 ? void 0 : (_toolbarSettings$expo24 = _toolbarSettings$expo23.messages) === null || _toolbarSettings$expo24 === void 0 ? void 0 : _toolbarSettings$expo24.noRecord) != null ? _toolbarSettings$expo22 : "No record",
57658
+ content: (_toolbarSettings$expo20 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo21 = toolbarSettings["export"]) === null || _toolbarSettings$expo21 === void 0 ? void 0 : (_toolbarSettings$expo22 = _toolbarSettings$expo21.messages) === null || _toolbarSettings$expo22 === void 0 ? void 0 : _toolbarSettings$expo22.noRecord) != null ? _toolbarSettings$expo20 : "No record",
57657
57659
  type: "warning",
57658
57660
  placement: "bottom"
57659
57661
  });
@@ -57767,6 +57769,7 @@ var NoListItems = function NoListItems(_ref) {
57767
57769
  var mainText = _ref.mainText,
57768
57770
  subText = _ref.subText;
57769
57771
  return React__default.createElement("div", {
57772
+ className: "NoListItemsContainer",
57770
57773
  style: styles.container
57771
57774
  }, React__default.createElement("div", {
57772
57775
  style: styles.iconContainer
@@ -57785,30 +57788,32 @@ var NoListItems = function NoListItems(_ref) {
57785
57788
  };
57786
57789
  var styles = {
57787
57790
  container: {
57788
- display: 'flex',
57789
- flexDirection: 'column',
57790
- alignItems: 'center',
57791
- justifyContent: 'center',
57792
- textAlign: 'center'
57791
+ display: "flex",
57792
+ flexDirection: "column",
57793
+ alignItems: "center",
57794
+ justifyContent: "center",
57795
+ textAlign: "center",
57796
+ marginTop: "50px",
57797
+ marginBottom: "50px"
57793
57798
  },
57794
57799
  iconContainer: {
57795
- marginBottom: '20px'
57800
+ marginBottom: "20px"
57796
57801
  },
57797
57802
  icon: {
57798
- width: '50px',
57799
- height: '50px'
57803
+ width: "50px",
57804
+ height: "50px"
57800
57805
  },
57801
57806
  textContainer: {
57802
- maxWidth: '300px'
57807
+ maxWidth: "300px"
57803
57808
  },
57804
57809
  mainText: {
57805
- fontSize: '18px',
57806
- fontWeight: 'bold',
57807
- marginBottom: '10px'
57810
+ fontSize: "18px",
57811
+ fontWeight: "bold",
57812
+ marginBottom: "10px"
57808
57813
  },
57809
57814
  subText: {
57810
- fontSize: '14px',
57811
- color: '#666'
57815
+ fontSize: "14px",
57816
+ color: "#666"
57812
57817
  }
57813
57818
  };
57814
57819
 
@@ -57825,7 +57830,7 @@ var getRequestHeaders = function getRequestHeaders(props) {
57825
57830
  });
57826
57831
  };
57827
57832
  var OdsTransfer = function OdsTransfer(props) {
57828
- var _props$targetItems, _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest10, _props$axiosRequest11, _props$axiosRequest12, _props$axiosRequest13, _props$axiosRequest14;
57833
+ var _props$targetItems, _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest0, _props$axiosRequest1, _props$axiosRequest10, _props$axiosRequest11, _props$axiosRequest12;
57829
57834
  var initializeTargetItems = function initializeTargetItems(items) {
57830
57835
  return items.map(function (item) {
57831
57836
  return _extends({}, item, {
@@ -57907,7 +57912,7 @@ var OdsTransfer = function OdsTransfer(props) {
57907
57912
  } catch (e) {
57908
57913
  return Promise.reject(e);
57909
57914
  }
57910
- }, [(_props$axiosRequest10 = props.axiosRequest) === null || _props$axiosRequest10 === void 0 ? void 0 : _props$axiosRequest10.requestData, (_props$axiosRequest11 = props.axiosRequest) === null || _props$axiosRequest11 === void 0 ? void 0 : _props$axiosRequest11.apiUrl, (_props$axiosRequest12 = props.axiosRequest) === null || _props$axiosRequest12 === void 0 ? void 0 : _props$axiosRequest12.environmentUrl, (_props$axiosRequest13 = props.axiosRequest) === null || _props$axiosRequest13 === void 0 ? void 0 : _props$axiosRequest13.requestQueryString, (_props$axiosRequest14 = props.axiosRequest) === null || _props$axiosRequest14 === void 0 ? void 0 : _props$axiosRequest14.requestType, props.pageSize, props.isServerSide]);
57915
+ }, [(_props$axiosRequest0 = props.axiosRequest) === null || _props$axiosRequest0 === void 0 ? void 0 : _props$axiosRequest0.requestData, (_props$axiosRequest1 = props.axiosRequest) === null || _props$axiosRequest1 === void 0 ? void 0 : _props$axiosRequest1.apiUrl, (_props$axiosRequest10 = props.axiosRequest) === null || _props$axiosRequest10 === void 0 ? void 0 : _props$axiosRequest10.environmentUrl, (_props$axiosRequest11 = props.axiosRequest) === null || _props$axiosRequest11 === void 0 ? void 0 : _props$axiosRequest11.requestQueryString, (_props$axiosRequest12 = props.axiosRequest) === null || _props$axiosRequest12 === void 0 ? void 0 : _props$axiosRequest12.requestType, props.pageSize, props.isServerSide]);
57911
57916
  var getTotalCount = function getTotalCount(response, data) {
57912
57917
  if (data !== null && data !== void 0 && data.PageCount || data !== null && data !== void 0 && data.RowCount) {
57913
57918
  constants$3.totalPageCount = data.PageCount;
@@ -57961,13 +57966,13 @@ var OdsTransfer = function OdsTransfer(props) {
57961
57966
  });
57962
57967
  setTargetItems(function (prevTargetItems) {
57963
57968
  var updatedItems = [].concat(prevTargetItems, selectedItems);
57964
- return removeDuplicates(direction === 'left' ? updatedItems.filter(function (item) {
57969
+ return removeDuplicates(direction === "left" ? updatedItems.filter(function (item) {
57965
57970
  return !moveKey.includes(item[props.keyExpr]);
57966
57971
  }) : updatedItems, props.keyExpr);
57967
57972
  });
57968
57973
  if (props.onTargetChange) {
57969
57974
  var updatedItems = [].concat(targetItems, selectedItems);
57970
- var uniqueItems = removeDuplicates(direction === 'left' ? updatedItems.filter(function (item) {
57975
+ var uniqueItems = removeDuplicates(direction === "left" ? updatedItems.filter(function (item) {
57971
57976
  return !moveKey.includes(item[props.keyExpr]);
57972
57977
  }) : updatedItems, props.keyExpr);
57973
57978
  props.onTargetChange(uniqueItems);
@@ -57977,16 +57982,20 @@ var OdsTransfer = function OdsTransfer(props) {
57977
57982
  setSelectedKeys([].concat(sourceSelectedKeys, targetSelectedKeys));
57978
57983
  }, []);
57979
57984
  return React__default.createElement("div", null, React__default.createElement("style", null, props.isServerSide && ".dx-pager { display: none; }"), React__default.createElement(antd.Transfer, {
57980
- dataSource: transferDataSource,
57985
+ dataSource: props.dataSource,
57981
57986
  targetKeys: targetKeys,
57982
57987
  selectedKeys: selectedKeys,
57983
57988
  onSelectChange: handleSelectChange,
57984
57989
  onChange: handleChange,
57985
57990
  showSelectAll: false,
57986
- titles: ['Source', 'Target'],
57991
+ titles: [props.sourceTitle, props.TargetTitle],
57987
57992
  render: function render(item) {
57988
57993
  return item.title;
57989
- }
57994
+ },
57995
+ className: props.className,
57996
+ rootClassName: props.rootClassName,
57997
+ style: props.style,
57998
+ showSearch: props.showSearch
57990
57999
  }, function (_ref) {
57991
58000
  var direction = _ref.direction,
57992
58001
  filteredItems = _ref.filteredItems,
@@ -57999,9 +58008,9 @@ var OdsTransfer = function OdsTransfer(props) {
57999
58008
  onItemSelectAll(currentDeselectedRowKeys, false);
58000
58009
  }
58001
58010
  };
58002
- var leftSideEmpty = direction === 'left' && filteredItems.length === 0;
58003
- var rightSideEmpty = direction === 'right' && targetKeys.length === 0;
58004
- var combinedDataSource = direction === 'right' ? removeDuplicates([].concat(filteredItems, targetItems), props.keyExpr) : filteredItems;
58011
+ var leftSideEmpty = direction === "left" && filteredItems.length === 0;
58012
+ var rightSideEmpty = direction === "right" && targetKeys.length === 0;
58013
+ var combinedDataSource = direction === "right" ? removeDuplicates([].concat(filteredItems, targetItems), props.keyExpr) : filteredItems;
58005
58014
  return leftSideEmpty || rightSideEmpty ? React__default.createElement(NoListItems, {
58006
58015
  mainText: props.noContentMainText,
58007
58016
  subText: props.noContentSubText
@@ -58013,9 +58022,9 @@ var OdsTransfer = function OdsTransfer(props) {
58013
58022
  enabled: true
58014
58023
  },
58015
58024
  selection: {
58016
- mode: 'multiple',
58017
- selectAllMode: 'page',
58018
- showCheckBoxesMode: 'always'
58025
+ mode: "multiple",
58026
+ selectAllMode: "page",
58027
+ showCheckBoxesMode: "always"
58019
58028
  },
58020
58029
  onSelectionChanged: onSelectionChanged,
58021
58030
  columns: props.columns,
@@ -58036,7 +58045,7 @@ var OdsTransfer = function OdsTransfer(props) {
58036
58045
  visible: true
58037
58046
  }
58038
58047
  });
58039
- }), React__default.createElement(DataGrid.Toolbar, null, React__default.createElement(DataGrid.Item, {
58048
+ }), props.displayPageTitle && React__default.createElement(DataGrid.Toolbar, null, React__default.createElement(DataGrid.Item, {
58040
58049
  location: "before",
58041
58050
  cssClass: "toolbarTitleItem"
58042
58051
  }, React__default.createElement(OdsTitle, {
@@ -58051,7 +58060,7 @@ var OdsTransfer = function OdsTransfer(props) {
58051
58060
  }));
58052
58061
  };
58053
58062
 
58054
- var _templateObject$E, _templateObject2$a, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
58063
+ var _templateObject$E, _templateObject2$a, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
58055
58064
  var useStyles$c = antdStyle.createStyles(function (_ref, props) {
58056
58065
  var css = _ref.css,
58057
58066
  cx = _ref.cx,
@@ -58066,9 +58075,9 @@ var useStyles$c = antdStyle.createStyles(function (_ref, props) {
58066
58075
  filterTopTitle: cx(flex, css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteralLoose(["\n align-items: center;\n "])))),
58067
58076
  filterTopActions: cx(flex, css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
58068
58077
  filterBodyWrapper: cx(grid, css(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
58069
- filterBody: cx(css(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
58070
- filterActionButtonsWrapper: cx(flex, css(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n width: 100%;\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
58071
- filterTagsWrapper: cx(flex, css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n width: 85%;\n max-width: 85%;\n min-width: 85%;\n transition: opacity 0.3s;\n opacity: ", ";\n "])), props.open ? 0 : 1)),
58078
+ filterBody: cx(css(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
58079
+ filterActionButtonsWrapper: cx(flex, css(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteralLoose(["\n width: 100%;\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
58080
+ filterTagsWrapper: cx(flex, css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n width: 85%;\n max-width: 85%;\n min-width: 85%;\n transition: opacity 0.3s;\n opacity: ", ";\n "])), props.open ? 0 : 1)),
58072
58081
  toggleButton: cx(flex),
58073
58082
  clearButton: cx(flex)
58074
58083
  };
@@ -58078,16 +58087,16 @@ var useAdvancedFilterButtonStyles = antdStyle.createStyles(function (_ref2, prop
58078
58087
  cx = _ref2.cx,
58079
58088
  token = _ref2.token;
58080
58089
  return {
58081
- advancedFilterButton: cx("flex", css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n color: ", ";\n align-items: center;\n justify-content: center;\n padding-left: ", "px;\n padding-right: ", "px;\n "])), token.colorPrimary, token.padding, token.padding)),
58082
- advancedFilterRowWrapper: cx("grid", css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
58083
- advancedFilterRow: cx(css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "]))))
58090
+ advancedFilterButton: cx("flex", css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteralLoose(["\n color: ", ";\n align-items: center;\n justify-content: center;\n padding-left: ", "px;\n padding-right: ", "px;\n "])), token.colorPrimary, token.padding, token.padding)),
58091
+ advancedFilterRowWrapper: cx("grid", css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
58092
+ advancedFilterRow: cx(css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "]))))
58084
58093
  };
58085
58094
  });
58086
58095
  var useFilterTagsStyles = antdStyle.createStyles(function (_ref3) {
58087
58096
  var css = _ref3.css,
58088
58097
  token = _ref3.token;
58089
58098
  return {
58090
- menu: css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 0;\n gap: ", "px;\n position: relative;\n\n &::after,\n &::before {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal {\n & > .ant-menu-item {\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n top: unset;\n }\n\n & > .ant-menu-submenu {\n &:hover {\n &::after {\n display: none;\n }\n }\n }\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-selected::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item::after,\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-submenu\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-item::after {\n display: none;\n }\n "])), token.sizeXS)
58099
+ menu: css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 0;\n gap: ", "px;\n position: relative;\n\n &::after,\n &::before {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal {\n & > .ant-menu-item {\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n top: unset;\n }\n\n & > .ant-menu-submenu {\n &:hover {\n &::after {\n display: none;\n }\n }\n }\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-selected::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item::after,\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-submenu\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-item::after {\n display: none;\n }\n "])), token.sizeXS)
58091
58100
  };
58092
58101
  });
58093
58102
 
@@ -58330,7 +58339,7 @@ var OdsFilter = function OdsFilter(props) {
58330
58339
  }, props.buttonApplyName)))))));
58331
58340
  };
58332
58341
 
58333
- var _templateObject$F, _templateObject2$b, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17, _templateObject18, _templateObject19;
58342
+ var _templateObject$F, _templateObject2$b, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15, _templateObject16, _templateObject17;
58334
58343
  var useStyles$d = antdStyle.createStyles(function (_ref, props) {
58335
58344
  var css = _ref.css,
58336
58345
  cx = _ref.cx,
@@ -58345,11 +58354,11 @@ var useStyles$d = antdStyle.createStyles(function (_ref, props) {
58345
58354
  filterTopTitle: cx(flex, css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n align-items: center;\n "])))),
58346
58355
  filterTopActions: cx(flex, css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
58347
58356
  filterBodyWrapper: cx(grid, css(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
58348
- filterBody: cx(css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
58349
- filterActionButtonsWrapper: cx(flex, css(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n margin-top: 16px;\n "])))),
58350
- filterActionButtons: cx(flex, css(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n align-items: flex-end;\n "])), token.sizeSM)),
58351
- filterTagsWrapper: cx(flex, css(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n width: 85%;\n max-width: 85%;\n min-width: 85%;\n transition: opacity 0.3s;\n opacity: ", ";\n "])), props.open ? 0 : 1)),
58352
- filterInlineDisplayWrapper: props.isDisplayInline ? cx(css(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr auto;\n width: 100%;\n "])))) : "",
58357
+ filterBody: cx(css(_templateObject0$2 || (_templateObject0$2 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
58358
+ filterActionButtonsWrapper: cx(flex, css(_templateObject1$2 || (_templateObject1$2 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n margin-top: 16px;\n "])))),
58359
+ filterActionButtons: cx(flex, css(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n align-items: flex-end;\n "])), token.sizeSM)),
58360
+ filterTagsWrapper: cx(flex, css(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n width: 85%;\n max-width: 85%;\n min-width: 85%;\n transition: opacity 0.3s;\n opacity: ", ";\n "])), props.open ? 0 : 1)),
58361
+ filterInlineDisplayWrapper: props.isDisplayInline ? cx(css(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr auto;\n width: 100%;\n "])))) : "",
58353
58362
  toggleButton: cx(flex),
58354
58363
  clearButton: cx(flex)
58355
58364
  };
@@ -58359,17 +58368,17 @@ var useAdvancedFilterButtonStyles$1 = antdStyle.createStyles(function (_ref2, pr
58359
58368
  cx = _ref2.cx,
58360
58369
  token = _ref2.token;
58361
58370
  return {
58362
- advancedFilterButton: cx(css(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n color: ", ";\n align-items: center;\n justify-content: center;\n padding-left: ", "px;\n padding-right: ", "px;\n "])), token.colorPrimary, token.padding, token.padding)),
58363
- advancedFilterRowWrapper: cx(css(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
58364
- advancedFilterRowInner: cx(css(_templateObject17 || (_templateObject17 = _taggedTemplateLiteralLoose(["\n min-height: 0;\n overflow: hidden;\n "])))),
58365
- advancedFilterRow: cx(css(_templateObject18 || (_templateObject18 = _taggedTemplateLiteralLoose(["\n padding-top: 16px;\n display: grid;\n overflow: hidden;\n width: 100%;\n\n & .ant-form-item .ant-form-item-label > label {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n }\n "]))))
58371
+ advancedFilterButton: cx(css(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n color: ", ";\n align-items: center;\n justify-content: center;\n padding-left: ", "px;\n padding-right: ", "px;\n "])), token.colorPrimary, token.padding, token.padding)),
58372
+ advancedFilterRowWrapper: cx(css(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
58373
+ advancedFilterRowInner: cx(css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n min-height: 0;\n overflow: hidden;\n "])))),
58374
+ advancedFilterRow: cx(css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n padding-top: 16px;\n display: grid;\n overflow: hidden;\n width: 100%;\n\n & .ant-form-item .ant-form-item-label > label {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n }\n "]))))
58366
58375
  };
58367
58376
  });
58368
58377
  var useFilterTagsStyles$1 = antdStyle.createStyles(function (_ref3) {
58369
58378
  var css = _ref3.css,
58370
58379
  token = _ref3.token;
58371
58380
  return {
58372
- menu: css(_templateObject19 || (_templateObject19 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 0;\n gap: ", "px;\n position: relative;\n\n &::after,\n &::before {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal {\n & > .ant-menu-item {\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n top: unset;\n }\n\n & > .ant-menu-submenu {\n &:hover {\n &::after {\n display: none;\n }\n }\n }\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-selected::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item::after,\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-submenu\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-item::after {\n display: none;\n }\n "])), token.sizeXS)
58381
+ menu: css(_templateObject17 || (_templateObject17 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 0;\n gap: ", "px;\n position: relative;\n\n &::after,\n &::before {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal {\n & > .ant-menu-item {\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n top: unset;\n }\n\n & > .ant-menu-submenu {\n &:hover {\n &::after {\n display: none;\n }\n }\n }\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-selected::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item::after,\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-submenu\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-item::after {\n display: none;\n }\n "])), token.sizeXS)
58373
58382
  };
58374
58383
  });
58375
58384