ods-component-lib 1.19.2 → 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.
- package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
- package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +1 -1
- package/dist/components/devextreme/NoContentComponent.d.ts +1 -1
- package/dist/components/devextreme/OdsTransfer.d.ts +9 -2
- package/dist/index.js +81 -74
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +81 -74
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +3 -1
- package/package.json +1 -1
- package/dist/components/antd/input/OdsInput..d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
- package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
- package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
- package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
- package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
- package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
- /package/dist/components/antd/{datepicker/OdsDatepicker.styled.d.ts → datePicker/OdsDatePicker.Styled.d.ts} +0 -0
- /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
- /package/dist/components/antd/{datepicker/OdsDateRangepicker.d.ts → datePicker/OdsDateRangePicker.d.ts} +0 -0
|
@@ -1,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<
|
|
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" | "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" | "
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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
|
@@ -34974,15 +34974,15 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
34974
34974
|
var _useState9 = React.useState(false),
|
|
34975
34975
|
ctrlSelection = _useState9[0],
|
|
34976
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];
|
|
34977
34983
|
var _useState10 = React.useState(false),
|
|
34978
|
-
|
|
34979
|
-
|
|
34980
|
-
var _useState11 = React.useState(true),
|
|
34981
|
-
filteredButtonCheck = _useState11[0],
|
|
34982
|
-
setFilteredButtonCheck = _useState11[1];
|
|
34983
|
-
var _useState12 = React.useState(false),
|
|
34984
|
-
searchPanelApplied = _useState12[0],
|
|
34985
|
-
setSearchPanelApplied = _useState12[1];
|
|
34984
|
+
searchPanelApplied = _useState10[0],
|
|
34985
|
+
setSearchPanelApplied = _useState10[1];
|
|
34986
34986
|
var _useStyles = useStyles$6(),
|
|
34987
34987
|
gridStyle = _useStyles.styles;
|
|
34988
34988
|
React.useEffect(function () {
|
|
@@ -55407,7 +55407,7 @@ var loadedPageCount = 1;
|
|
|
55407
55407
|
var totalRecordCount = 0;
|
|
55408
55408
|
var useToken$4 = antd.theme.useToken;
|
|
55409
55409
|
var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
55410
|
-
var _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest6, _props$axiosRequest7, _props$axiosRequest8, _props$axiosRequest9, _props$
|
|
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;
|
|
55411
55411
|
var _useToken = useToken$4(),
|
|
55412
55412
|
token = _useToken.token;
|
|
55413
55413
|
var _useState = React.useState([]),
|
|
@@ -55621,7 +55621,7 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55621
55621
|
} catch (e) {
|
|
55622
55622
|
return Promise.reject(e);
|
|
55623
55623
|
}
|
|
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$
|
|
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]);
|
|
55625
55625
|
var getTotalCount = function getTotalCount(response, data) {
|
|
55626
55626
|
if (data !== null && data !== void 0 && data.PageCount || data !== null && data !== void 0 && data.RowCount) {
|
|
55627
55627
|
totalPageCount = data.PageCount;
|
|
@@ -55898,7 +55898,7 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55898
55898
|
}
|
|
55899
55899
|
var onScrollEnd = React.useCallback(function () {
|
|
55900
55900
|
getServerSide("reachedBottom");
|
|
55901
|
-
}, [(_props$
|
|
55901
|
+
}, [(_props$axiosRequest1 = props.axiosRequest) === null || _props$axiosRequest1 === void 0 ? void 0 : _props$axiosRequest1.requestData, getServerSide]);
|
|
55902
55902
|
var handleScroll = function handleScroll(e) {
|
|
55903
55903
|
var run = debounce_1(function (e) {
|
|
55904
55904
|
var _scrollable$scrollTop, _scrollable$clientHei, _scrollable$scrollHei;
|
|
@@ -56974,7 +56974,7 @@ var OdsTimelineSelectionColumn = function OdsTimelineSelectionColumn(selectionEv
|
|
|
56974
56974
|
return selectionColumn;
|
|
56975
56975
|
};
|
|
56976
56976
|
|
|
56977
|
-
var _templateObject$D, _templateObject2$9, _templateObject3$4, _templateObject4$3, _templateObject5$1, _templateObject6, _templateObject7, _templateObject8, _templateObject9,
|
|
56977
|
+
var _templateObject$D, _templateObject2$9, _templateObject3$4, _templateObject4$3, _templateObject5$1, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1;
|
|
56978
56978
|
var useStyles$b = antdStyle.createStyles(function (_ref, props) {
|
|
56979
56979
|
var _props$taskWidth, _props$progressPerc, _props$progressColor;
|
|
56980
56980
|
var css = _ref.css;
|
|
@@ -56992,8 +56992,8 @@ var useStyles$b = antdStyle.createStyles(function (_ref, props) {
|
|
|
56992
56992
|
columnChooserHeader: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n "]))),
|
|
56993
56993
|
columnChooserCloseButton: css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n flex: 1;\n text-align: end;\n "]))),
|
|
56994
56994
|
columnChooserDivider: css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n margin-bottom: 10px;\n "]))),
|
|
56995
|
-
columnChooserCheckbox: css(
|
|
56996
|
-
columnChooserSearchbox: css(
|
|
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)
|
|
56997
56997
|
};
|
|
56998
56998
|
});
|
|
56999
56999
|
|
|
@@ -57182,7 +57182,7 @@ var callAddFont = function callAddFont() {
|
|
|
57182
57182
|
jsPDF.jsPDF.API.events.push(['addFonts', callAddFont]);
|
|
57183
57183
|
|
|
57184
57184
|
var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
57185
|
-
var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$
|
|
57185
|
+
var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo10, _toolbarSettings$expo11, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo17, _toolbarSettings$expo18, _toolbarSettings$expo19, _toolbarSettings$colu;
|
|
57186
57186
|
var customColumns = props.customColumns,
|
|
57187
57187
|
customTasks = props.customTasks,
|
|
57188
57188
|
customTaskKey = props.customTaskKey,
|
|
@@ -57234,9 +57234,9 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
|
57234
57234
|
return item.name;
|
|
57235
57235
|
})),
|
|
57236
57236
|
unvisibleColumnNames = _useState9[0];
|
|
57237
|
-
var
|
|
57238
|
-
columnChooserOpen =
|
|
57239
|
-
setColumnChooserOpen =
|
|
57237
|
+
var _useState0 = React.useState(false),
|
|
57238
|
+
columnChooserOpen = _useState0[0],
|
|
57239
|
+
setColumnChooserOpen = _useState0[1];
|
|
57240
57240
|
var originalSortingMode = sorting.mode === undefined || sorting.mode === "" ? "none" : sorting.mode;
|
|
57241
57241
|
var sortingMode = sortingProcess == "ServerSideSorting" ? "none" : originalSortingMode;
|
|
57242
57242
|
var showSortIndexes = sortingProcess == "ServerSideSorting" ? false : sorting.showSortIndexes;
|
|
@@ -57536,11 +57536,11 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
|
57536
57536
|
});
|
|
57537
57537
|
};
|
|
57538
57538
|
var getExportFileName = function getExportFileName() {
|
|
57539
|
-
var _toolbarSettings$
|
|
57539
|
+
var _toolbarSettings$expo0, _toolbarSettings$expo1;
|
|
57540
57540
|
var now = new Date();
|
|
57541
57541
|
var datePart = ("0" + now.getDate()).slice(-2) + "-" + ("0" + (now.getMonth() + 1)).slice(-2) + "-" + now.getFullYear();
|
|
57542
57542
|
var timePart = ("0" + now.getHours()).slice(-2) + ":" + ("0" + now.getMinutes()).slice(-2);
|
|
57543
|
-
return ((_toolbarSettings$
|
|
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";
|
|
57544
57544
|
};
|
|
57545
57545
|
var exportedColumns = React.useMemo(function () {
|
|
57546
57546
|
var newExportedColumns = [];
|
|
@@ -57623,39 +57623,39 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
|
57623
57623
|
location: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.location
|
|
57624
57624
|
}), React__default.createElement(gantt.Item, {
|
|
57625
57625
|
key: "OdsTimelineTable_ToolbarItem_Export",
|
|
57626
|
-
visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$
|
|
57626
|
+
visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo10 = toolbarSettings["export"]) === null || _toolbarSettings$expo10 === void 0 ? void 0 : _toolbarSettings$expo10.visible,
|
|
57627
57627
|
location: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.location,
|
|
57628
57628
|
widget: "dxMenu",
|
|
57629
57629
|
options: {
|
|
57630
57630
|
items: [{
|
|
57631
57631
|
icon: "export",
|
|
57632
57632
|
items: [{
|
|
57633
|
-
text: (_toolbarSettings$
|
|
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",
|
|
57634
57634
|
icon: "exportpdf",
|
|
57635
57635
|
onClick: function onClick() {
|
|
57636
57636
|
if (exportableTasks.length > 0) {
|
|
57637
57637
|
exportPdf();
|
|
57638
57638
|
} else {
|
|
57639
|
-
var _toolbarSettings$
|
|
57639
|
+
var _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16;
|
|
57640
57640
|
OdsNotification({
|
|
57641
57641
|
title: "",
|
|
57642
|
-
content: (_toolbarSettings$
|
|
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",
|
|
57643
57643
|
type: "warning",
|
|
57644
57644
|
placement: "bottom"
|
|
57645
57645
|
});
|
|
57646
57646
|
}
|
|
57647
57647
|
}
|
|
57648
57648
|
}, {
|
|
57649
|
-
text: (_toolbarSettings$
|
|
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",
|
|
57650
57650
|
icon: "exportxlsx",
|
|
57651
57651
|
onClick: function onClick() {
|
|
57652
57652
|
if (exportableTasks.length > 0) {
|
|
57653
57653
|
exportExcel();
|
|
57654
57654
|
} else {
|
|
57655
|
-
var _toolbarSettings$
|
|
57655
|
+
var _toolbarSettings$expo20, _toolbarSettings$expo21, _toolbarSettings$expo22;
|
|
57656
57656
|
OdsNotification({
|
|
57657
57657
|
title: "",
|
|
57658
|
-
content: (_toolbarSettings$
|
|
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",
|
|
57659
57659
|
type: "warning",
|
|
57660
57660
|
placement: "bottom"
|
|
57661
57661
|
});
|
|
@@ -57769,6 +57769,7 @@ var NoListItems = function NoListItems(_ref) {
|
|
|
57769
57769
|
var mainText = _ref.mainText,
|
|
57770
57770
|
subText = _ref.subText;
|
|
57771
57771
|
return React__default.createElement("div", {
|
|
57772
|
+
className: "NoListItemsContainer",
|
|
57772
57773
|
style: styles.container
|
|
57773
57774
|
}, React__default.createElement("div", {
|
|
57774
57775
|
style: styles.iconContainer
|
|
@@ -57787,30 +57788,32 @@ var NoListItems = function NoListItems(_ref) {
|
|
|
57787
57788
|
};
|
|
57788
57789
|
var styles = {
|
|
57789
57790
|
container: {
|
|
57790
|
-
display:
|
|
57791
|
-
flexDirection:
|
|
57792
|
-
alignItems:
|
|
57793
|
-
justifyContent:
|
|
57794
|
-
textAlign:
|
|
57791
|
+
display: "flex",
|
|
57792
|
+
flexDirection: "column",
|
|
57793
|
+
alignItems: "center",
|
|
57794
|
+
justifyContent: "center",
|
|
57795
|
+
textAlign: "center",
|
|
57796
|
+
marginTop: "50px",
|
|
57797
|
+
marginBottom: "50px"
|
|
57795
57798
|
},
|
|
57796
57799
|
iconContainer: {
|
|
57797
|
-
marginBottom:
|
|
57800
|
+
marginBottom: "20px"
|
|
57798
57801
|
},
|
|
57799
57802
|
icon: {
|
|
57800
|
-
width:
|
|
57801
|
-
height:
|
|
57803
|
+
width: "50px",
|
|
57804
|
+
height: "50px"
|
|
57802
57805
|
},
|
|
57803
57806
|
textContainer: {
|
|
57804
|
-
maxWidth:
|
|
57807
|
+
maxWidth: "300px"
|
|
57805
57808
|
},
|
|
57806
57809
|
mainText: {
|
|
57807
|
-
fontSize:
|
|
57808
|
-
fontWeight:
|
|
57809
|
-
marginBottom:
|
|
57810
|
+
fontSize: "18px",
|
|
57811
|
+
fontWeight: "bold",
|
|
57812
|
+
marginBottom: "10px"
|
|
57810
57813
|
},
|
|
57811
57814
|
subText: {
|
|
57812
|
-
fontSize:
|
|
57813
|
-
color:
|
|
57815
|
+
fontSize: "14px",
|
|
57816
|
+
color: "#666"
|
|
57814
57817
|
}
|
|
57815
57818
|
};
|
|
57816
57819
|
|
|
@@ -57827,7 +57830,7 @@ var getRequestHeaders = function getRequestHeaders(props) {
|
|
|
57827
57830
|
});
|
|
57828
57831
|
};
|
|
57829
57832
|
var OdsTransfer = function OdsTransfer(props) {
|
|
57830
|
-
var _props$targetItems, _props$axiosRequest4, _props$axiosRequest5, _props$
|
|
57833
|
+
var _props$targetItems, _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest0, _props$axiosRequest1, _props$axiosRequest10, _props$axiosRequest11, _props$axiosRequest12;
|
|
57831
57834
|
var initializeTargetItems = function initializeTargetItems(items) {
|
|
57832
57835
|
return items.map(function (item) {
|
|
57833
57836
|
return _extends({}, item, {
|
|
@@ -57909,7 +57912,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
57909
57912
|
} catch (e) {
|
|
57910
57913
|
return Promise.reject(e);
|
|
57911
57914
|
}
|
|
57912
|
-
}, [(_props$
|
|
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]);
|
|
57913
57916
|
var getTotalCount = function getTotalCount(response, data) {
|
|
57914
57917
|
if (data !== null && data !== void 0 && data.PageCount || data !== null && data !== void 0 && data.RowCount) {
|
|
57915
57918
|
constants$3.totalPageCount = data.PageCount;
|
|
@@ -57963,13 +57966,13 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
57963
57966
|
});
|
|
57964
57967
|
setTargetItems(function (prevTargetItems) {
|
|
57965
57968
|
var updatedItems = [].concat(prevTargetItems, selectedItems);
|
|
57966
|
-
return removeDuplicates(direction ===
|
|
57969
|
+
return removeDuplicates(direction === "left" ? updatedItems.filter(function (item) {
|
|
57967
57970
|
return !moveKey.includes(item[props.keyExpr]);
|
|
57968
57971
|
}) : updatedItems, props.keyExpr);
|
|
57969
57972
|
});
|
|
57970
57973
|
if (props.onTargetChange) {
|
|
57971
57974
|
var updatedItems = [].concat(targetItems, selectedItems);
|
|
57972
|
-
var uniqueItems = removeDuplicates(direction ===
|
|
57975
|
+
var uniqueItems = removeDuplicates(direction === "left" ? updatedItems.filter(function (item) {
|
|
57973
57976
|
return !moveKey.includes(item[props.keyExpr]);
|
|
57974
57977
|
}) : updatedItems, props.keyExpr);
|
|
57975
57978
|
props.onTargetChange(uniqueItems);
|
|
@@ -57979,16 +57982,20 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
57979
57982
|
setSelectedKeys([].concat(sourceSelectedKeys, targetSelectedKeys));
|
|
57980
57983
|
}, []);
|
|
57981
57984
|
return React__default.createElement("div", null, React__default.createElement("style", null, props.isServerSide && ".dx-pager { display: none; }"), React__default.createElement(antd.Transfer, {
|
|
57982
|
-
dataSource:
|
|
57985
|
+
dataSource: props.dataSource,
|
|
57983
57986
|
targetKeys: targetKeys,
|
|
57984
57987
|
selectedKeys: selectedKeys,
|
|
57985
57988
|
onSelectChange: handleSelectChange,
|
|
57986
57989
|
onChange: handleChange,
|
|
57987
57990
|
showSelectAll: false,
|
|
57988
|
-
titles: [
|
|
57991
|
+
titles: [props.sourceTitle, props.TargetTitle],
|
|
57989
57992
|
render: function render(item) {
|
|
57990
57993
|
return item.title;
|
|
57991
|
-
}
|
|
57994
|
+
},
|
|
57995
|
+
className: props.className,
|
|
57996
|
+
rootClassName: props.rootClassName,
|
|
57997
|
+
style: props.style,
|
|
57998
|
+
showSearch: props.showSearch
|
|
57992
57999
|
}, function (_ref) {
|
|
57993
58000
|
var direction = _ref.direction,
|
|
57994
58001
|
filteredItems = _ref.filteredItems,
|
|
@@ -58001,9 +58008,9 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58001
58008
|
onItemSelectAll(currentDeselectedRowKeys, false);
|
|
58002
58009
|
}
|
|
58003
58010
|
};
|
|
58004
|
-
var leftSideEmpty = direction ===
|
|
58005
|
-
var rightSideEmpty = direction ===
|
|
58006
|
-
var combinedDataSource = direction ===
|
|
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;
|
|
58007
58014
|
return leftSideEmpty || rightSideEmpty ? React__default.createElement(NoListItems, {
|
|
58008
58015
|
mainText: props.noContentMainText,
|
|
58009
58016
|
subText: props.noContentSubText
|
|
@@ -58015,9 +58022,9 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58015
58022
|
enabled: true
|
|
58016
58023
|
},
|
|
58017
58024
|
selection: {
|
|
58018
|
-
mode:
|
|
58019
|
-
selectAllMode:
|
|
58020
|
-
showCheckBoxesMode:
|
|
58025
|
+
mode: "multiple",
|
|
58026
|
+
selectAllMode: "page",
|
|
58027
|
+
showCheckBoxesMode: "always"
|
|
58021
58028
|
},
|
|
58022
58029
|
onSelectionChanged: onSelectionChanged,
|
|
58023
58030
|
columns: props.columns,
|
|
@@ -58038,7 +58045,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58038
58045
|
visible: true
|
|
58039
58046
|
}
|
|
58040
58047
|
});
|
|
58041
|
-
}), 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, {
|
|
58042
58049
|
location: "before",
|
|
58043
58050
|
cssClass: "toolbarTitleItem"
|
|
58044
58051
|
}, React__default.createElement(OdsTitle, {
|
|
@@ -58053,7 +58060,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58053
58060
|
}));
|
|
58054
58061
|
};
|
|
58055
58062
|
|
|
58056
|
-
var _templateObject$E, _templateObject2$a, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1,
|
|
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;
|
|
58057
58064
|
var useStyles$c = antdStyle.createStyles(function (_ref, props) {
|
|
58058
58065
|
var css = _ref.css,
|
|
58059
58066
|
cx = _ref.cx,
|
|
@@ -58068,9 +58075,9 @@ var useStyles$c = antdStyle.createStyles(function (_ref, props) {
|
|
|
58068
58075
|
filterTopTitle: cx(flex, css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteralLoose(["\n align-items: center;\n "])))),
|
|
58069
58076
|
filterTopActions: cx(flex, css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
|
|
58070
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")),
|
|
58071
|
-
filterBody: cx(css(
|
|
58072
|
-
filterActionButtonsWrapper: cx(flex, css(
|
|
58073
|
-
filterTagsWrapper: cx(flex, css(
|
|
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)),
|
|
58074
58081
|
toggleButton: cx(flex),
|
|
58075
58082
|
clearButton: cx(flex)
|
|
58076
58083
|
};
|
|
@@ -58080,16 +58087,16 @@ var useAdvancedFilterButtonStyles = antdStyle.createStyles(function (_ref2, prop
|
|
|
58080
58087
|
cx = _ref2.cx,
|
|
58081
58088
|
token = _ref2.token;
|
|
58082
58089
|
return {
|
|
58083
|
-
advancedFilterButton: cx("flex", css(
|
|
58084
|
-
advancedFilterRowWrapper: cx("grid", css(
|
|
58085
|
-
advancedFilterRow: cx(css(
|
|
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 "]))))
|
|
58086
58093
|
};
|
|
58087
58094
|
});
|
|
58088
58095
|
var useFilterTagsStyles = antdStyle.createStyles(function (_ref3) {
|
|
58089
58096
|
var css = _ref3.css,
|
|
58090
58097
|
token = _ref3.token;
|
|
58091
58098
|
return {
|
|
58092
|
-
menu: css(
|
|
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)
|
|
58093
58100
|
};
|
|
58094
58101
|
});
|
|
58095
58102
|
|
|
@@ -58332,7 +58339,7 @@ var OdsFilter = function OdsFilter(props) {
|
|
|
58332
58339
|
}, props.buttonApplyName)))))));
|
|
58333
58340
|
};
|
|
58334
58341
|
|
|
58335
|
-
var _templateObject$F, _templateObject2$b, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2,
|
|
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;
|
|
58336
58343
|
var useStyles$d = antdStyle.createStyles(function (_ref, props) {
|
|
58337
58344
|
var css = _ref.css,
|
|
58338
58345
|
cx = _ref.cx,
|
|
@@ -58347,11 +58354,11 @@ var useStyles$d = antdStyle.createStyles(function (_ref, props) {
|
|
|
58347
58354
|
filterTopTitle: cx(flex, css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n align-items: center;\n "])))),
|
|
58348
58355
|
filterTopActions: cx(flex, css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
|
|
58349
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")),
|
|
58350
|
-
filterBody: cx(css(
|
|
58351
|
-
filterActionButtonsWrapper: cx(flex, css(
|
|
58352
|
-
filterActionButtons: cx(flex, css(
|
|
58353
|
-
filterTagsWrapper: cx(flex, css(
|
|
58354
|
-
filterInlineDisplayWrapper: props.isDisplayInline ? cx(css(
|
|
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 "])))) : "",
|
|
58355
58362
|
toggleButton: cx(flex),
|
|
58356
58363
|
clearButton: cx(flex)
|
|
58357
58364
|
};
|
|
@@ -58361,17 +58368,17 @@ var useAdvancedFilterButtonStyles$1 = antdStyle.createStyles(function (_ref2, pr
|
|
|
58361
58368
|
cx = _ref2.cx,
|
|
58362
58369
|
token = _ref2.token;
|
|
58363
58370
|
return {
|
|
58364
|
-
advancedFilterButton: cx(css(
|
|
58365
|
-
advancedFilterRowWrapper: cx(css(
|
|
58366
|
-
advancedFilterRowInner: cx(css(
|
|
58367
|
-
advancedFilterRow: cx(css(
|
|
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 "]))))
|
|
58368
58375
|
};
|
|
58369
58376
|
});
|
|
58370
58377
|
var useFilterTagsStyles$1 = antdStyle.createStyles(function (_ref3) {
|
|
58371
58378
|
var css = _ref3.css,
|
|
58372
58379
|
token = _ref3.token;
|
|
58373
58380
|
return {
|
|
58374
|
-
menu: css(
|
|
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)
|
|
58375
58382
|
};
|
|
58376
58383
|
});
|
|
58377
58384
|
|