ods-component-lib 1.19.12 → 1.19.15
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/OdsTransfer.d.ts +1 -0
- package/dist/index.js +62 -57
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +62 -57
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -56,6 +56,7 @@ interface OdsTransferProps<RecordType = any> {
|
|
|
56
56
|
showSearch?: boolean;
|
|
57
57
|
render?: any;
|
|
58
58
|
useCustomHeader?: boolean;
|
|
59
|
+
showFilters?: boolean;
|
|
59
60
|
}
|
|
60
61
|
export declare const getRequestHeaders: (props: any) => Headers;
|
|
61
62
|
declare const OdsTransfer: React.FC<OdsTransferProps>;
|
package/dist/index.js
CHANGED
|
@@ -35007,15 +35007,15 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35007
35007
|
var _useState9 = React.useState(false),
|
|
35008
35008
|
ctrlSelection = _useState9[0],
|
|
35009
35009
|
setCtrlSelection = _useState9[1];
|
|
35010
|
+
var _useState0 = React.useState(false),
|
|
35011
|
+
contentReady = _useState0[0],
|
|
35012
|
+
setContentReady = _useState0[1];
|
|
35013
|
+
var _useState1 = React.useState(true),
|
|
35014
|
+
filteredButtonCheck = _useState1[0],
|
|
35015
|
+
setFilteredButtonCheck = _useState1[1];
|
|
35010
35016
|
var _useState10 = React.useState(false),
|
|
35011
|
-
|
|
35012
|
-
|
|
35013
|
-
var _useState11 = React.useState(true),
|
|
35014
|
-
filteredButtonCheck = _useState11[0],
|
|
35015
|
-
setFilteredButtonCheck = _useState11[1];
|
|
35016
|
-
var _useState12 = React.useState(false),
|
|
35017
|
-
searchPanelApplied = _useState12[0],
|
|
35018
|
-
setSearchPanelApplied = _useState12[1];
|
|
35017
|
+
searchPanelApplied = _useState10[0],
|
|
35018
|
+
setSearchPanelApplied = _useState10[1];
|
|
35019
35019
|
var _useStyles = useStyles$6(),
|
|
35020
35020
|
gridStyle = _useStyles.styles;
|
|
35021
35021
|
React.useEffect(function () {
|
|
@@ -55440,7 +55440,7 @@ var loadedPageCount = 1;
|
|
|
55440
55440
|
var totalRecordCount = 0;
|
|
55441
55441
|
var useToken$4 = antd.theme.useToken;
|
|
55442
55442
|
var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
55443
|
-
var _props$axiosRequest4, _props$axiosRequest5, _props$axiosRequest6, _props$axiosRequest7, _props$axiosRequest8, _props$axiosRequest9, _props$
|
|
55443
|
+
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;
|
|
55444
55444
|
var _useToken = useToken$4(),
|
|
55445
55445
|
token = _useToken.token;
|
|
55446
55446
|
var _useState = React.useState([]),
|
|
@@ -55654,7 +55654,7 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55654
55654
|
} catch (e) {
|
|
55655
55655
|
return Promise.reject(e);
|
|
55656
55656
|
}
|
|
55657
|
-
}, [(_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$
|
|
55657
|
+
}, [(_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]);
|
|
55658
55658
|
var getTotalCount = function getTotalCount(response, data) {
|
|
55659
55659
|
if (data !== null && data !== void 0 && data.PageCount || data !== null && data !== void 0 && data.RowCount) {
|
|
55660
55660
|
totalPageCount = data.PageCount;
|
|
@@ -55931,7 +55931,7 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55931
55931
|
}
|
|
55932
55932
|
var onScrollEnd = React.useCallback(function () {
|
|
55933
55933
|
getServerSide("reachedBottom");
|
|
55934
|
-
}, [(_props$
|
|
55934
|
+
}, [(_props$axiosRequest1 = props.axiosRequest) === null || _props$axiosRequest1 === void 0 ? void 0 : _props$axiosRequest1.requestData, getServerSide]);
|
|
55935
55935
|
var handleScroll = function handleScroll(e) {
|
|
55936
55936
|
var run = debounce_1(function (e) {
|
|
55937
55937
|
var _scrollable$scrollTop, _scrollable$clientHei, _scrollable$scrollHei;
|
|
@@ -57004,7 +57004,7 @@ var OdsTimelineSelectionColumn = function OdsTimelineSelectionColumn(selectionEv
|
|
|
57004
57004
|
return selectionColumn;
|
|
57005
57005
|
};
|
|
57006
57006
|
|
|
57007
|
-
var _templateObject$B, _templateObject2$9, _templateObject3$4, _templateObject4$3, _templateObject5$1, _templateObject6, _templateObject7, _templateObject8, _templateObject9,
|
|
57007
|
+
var _templateObject$B, _templateObject2$9, _templateObject3$4, _templateObject4$3, _templateObject5$1, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1;
|
|
57008
57008
|
var useStyles$b = antdStyle.createStyles(function (_ref, props) {
|
|
57009
57009
|
var _props$taskWidth, _props$progressPerc, _props$progressColor;
|
|
57010
57010
|
var css = _ref.css;
|
|
@@ -57022,8 +57022,8 @@ var useStyles$b = antdStyle.createStyles(function (_ref, props) {
|
|
|
57022
57022
|
columnChooserHeader: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n "]))),
|
|
57023
57023
|
columnChooserCloseButton: css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n flex: 1;\n text-align: end;\n "]))),
|
|
57024
57024
|
columnChooserDivider: css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n margin-bottom: 10px;\n "]))),
|
|
57025
|
-
columnChooserCheckbox: css(
|
|
57026
|
-
columnChooserSearchbox: css(
|
|
57025
|
+
columnChooserCheckbox: css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteralLoose(["\n margin-top: 4px;\n margin-bottom: 4px;\n "]))),
|
|
57026
|
+
columnChooserSearchbox: css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteralLoose(["\n ", "\n margin-top: 4px;\n margin-bottom: 4px;\n "])), searchBox)
|
|
57027
57027
|
};
|
|
57028
57028
|
});
|
|
57029
57029
|
|
|
@@ -57212,7 +57212,7 @@ var callAddFont = function callAddFont() {
|
|
|
57212
57212
|
jsPDF.jsPDF.API.events.push(['addFonts', callAddFont]);
|
|
57213
57213
|
|
|
57214
57214
|
var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
57215
|
-
var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$
|
|
57215
|
+
var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo10, _toolbarSettings$expo11, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo17, _toolbarSettings$expo18, _toolbarSettings$expo19, _toolbarSettings$colu;
|
|
57216
57216
|
var customColumns = props.customColumns,
|
|
57217
57217
|
customTasks = props.customTasks,
|
|
57218
57218
|
customTaskKey = props.customTaskKey,
|
|
@@ -57264,9 +57264,9 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
|
57264
57264
|
return item.name;
|
|
57265
57265
|
})),
|
|
57266
57266
|
unvisibleColumnNames = _useState9[0];
|
|
57267
|
-
var
|
|
57268
|
-
columnChooserOpen =
|
|
57269
|
-
setColumnChooserOpen =
|
|
57267
|
+
var _useState0 = React.useState(false),
|
|
57268
|
+
columnChooserOpen = _useState0[0],
|
|
57269
|
+
setColumnChooserOpen = _useState0[1];
|
|
57270
57270
|
var originalSortingMode = sorting.mode === undefined || sorting.mode === "" ? "none" : sorting.mode;
|
|
57271
57271
|
var sortingMode = sortingProcess == "ServerSideSorting" ? "none" : originalSortingMode;
|
|
57272
57272
|
var showSortIndexes = sortingProcess == "ServerSideSorting" ? false : sorting.showSortIndexes;
|
|
@@ -57566,11 +57566,11 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
|
57566
57566
|
});
|
|
57567
57567
|
};
|
|
57568
57568
|
var getExportFileName = function getExportFileName() {
|
|
57569
|
-
var _toolbarSettings$
|
|
57569
|
+
var _toolbarSettings$expo0, _toolbarSettings$expo1;
|
|
57570
57570
|
var now = new Date();
|
|
57571
57571
|
var datePart = ("0" + now.getDate()).slice(-2) + "-" + ("0" + (now.getMonth() + 1)).slice(-2) + "-" + now.getFullYear();
|
|
57572
57572
|
var timePart = ("0" + now.getHours()).slice(-2) + ":" + ("0" + now.getMinutes()).slice(-2);
|
|
57573
|
-
return ((_toolbarSettings$
|
|
57573
|
+
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";
|
|
57574
57574
|
};
|
|
57575
57575
|
var exportedColumns = React.useMemo(function () {
|
|
57576
57576
|
var newExportedColumns = [];
|
|
@@ -57653,39 +57653,39 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
|
|
|
57653
57653
|
location: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.location
|
|
57654
57654
|
}), React__default.createElement(gantt.Item, {
|
|
57655
57655
|
key: "OdsTimelineTable_ToolbarItem_Export",
|
|
57656
|
-
visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$
|
|
57656
|
+
visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo10 = toolbarSettings["export"]) === null || _toolbarSettings$expo10 === void 0 ? void 0 : _toolbarSettings$expo10.visible,
|
|
57657
57657
|
location: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.location,
|
|
57658
57658
|
widget: "dxMenu",
|
|
57659
57659
|
options: {
|
|
57660
57660
|
items: [{
|
|
57661
57661
|
icon: "export",
|
|
57662
57662
|
items: [{
|
|
57663
|
-
text: (_toolbarSettings$
|
|
57663
|
+
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",
|
|
57664
57664
|
icon: "exportpdf",
|
|
57665
57665
|
onClick: function onClick() {
|
|
57666
57666
|
if (exportableTasks.length > 0) {
|
|
57667
57667
|
exportPdf();
|
|
57668
57668
|
} else {
|
|
57669
|
-
var _toolbarSettings$
|
|
57669
|
+
var _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16;
|
|
57670
57670
|
OdsNotification({
|
|
57671
57671
|
title: "",
|
|
57672
|
-
content: (_toolbarSettings$
|
|
57672
|
+
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",
|
|
57673
57673
|
type: "warning",
|
|
57674
57674
|
placement: "bottom"
|
|
57675
57675
|
});
|
|
57676
57676
|
}
|
|
57677
57677
|
}
|
|
57678
57678
|
}, {
|
|
57679
|
-
text: (_toolbarSettings$
|
|
57679
|
+
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",
|
|
57680
57680
|
icon: "exportxlsx",
|
|
57681
57681
|
onClick: function onClick() {
|
|
57682
57682
|
if (exportableTasks.length > 0) {
|
|
57683
57683
|
exportExcel();
|
|
57684
57684
|
} else {
|
|
57685
|
-
var _toolbarSettings$
|
|
57685
|
+
var _toolbarSettings$expo20, _toolbarSettings$expo21, _toolbarSettings$expo22;
|
|
57686
57686
|
OdsNotification({
|
|
57687
57687
|
title: "",
|
|
57688
|
-
content: (_toolbarSettings$
|
|
57688
|
+
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",
|
|
57689
57689
|
type: "warning",
|
|
57690
57690
|
placement: "bottom"
|
|
57691
57691
|
});
|
|
@@ -57860,7 +57860,7 @@ var getRequestHeaders = function getRequestHeaders(props) {
|
|
|
57860
57860
|
});
|
|
57861
57861
|
};
|
|
57862
57862
|
var OdsTransfer = function OdsTransfer(props) {
|
|
57863
|
-
var _props$targetItems, _props$axiosRequest5, _props$axiosRequest6, _props$axiosRequest7, _props$axiosRequest8, _props$axiosRequest9, _props$
|
|
57863
|
+
var _props$targetItems, _props$axiosRequest5, _props$axiosRequest6, _props$axiosRequest7, _props$axiosRequest8, _props$axiosRequest9, _props$axiosRequest0, _props$axiosRequest1, _props$axiosRequest10, _props$axiosRequest11;
|
|
57864
57864
|
var initializeTargetItems = function initializeTargetItems(items) {
|
|
57865
57865
|
return items.map(function (item) {
|
|
57866
57866
|
return _extends({}, item, {
|
|
@@ -57947,7 +57947,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
57947
57947
|
setData([]);
|
|
57948
57948
|
fetchData();
|
|
57949
57949
|
}
|
|
57950
|
-
}, [(_props$
|
|
57950
|
+
}, [(_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.requestQueryString, (_props$axiosRequest10 = props.axiosRequest) === null || _props$axiosRequest10 === void 0 ? void 0 : _props$axiosRequest10.apiUrl, (_props$axiosRequest11 = props.axiosRequest) === null || _props$axiosRequest11 === void 0 ? void 0 : _props$axiosRequest11.environmentUrl]);
|
|
57951
57951
|
var getTotalCount = function getTotalCount(response, data) {
|
|
57952
57952
|
if (data !== null && data !== void 0 && data.PageCount || data !== null && data !== void 0 && data.RowCount) {
|
|
57953
57953
|
constants$3.totalPageCount = data.PageCount;
|
|
@@ -57978,7 +57978,8 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
57978
57978
|
}));
|
|
57979
57979
|
}, [data, props.targetItems]);
|
|
57980
57980
|
React.useEffect(function () {
|
|
57981
|
-
if (targetItems) {
|
|
57981
|
+
if (targetItems || props.targetItems) {
|
|
57982
|
+
var _props$targetItems2;
|
|
57982
57983
|
setTransferDataSource(function (prevData) {
|
|
57983
57984
|
var updatedTargetItems = targetItems.map(function (item) {
|
|
57984
57985
|
return _extends({}, item, {
|
|
@@ -57989,11 +57990,13 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
57989
57990
|
var uniqueData = removeDuplicates(combinedData, props.keyExpr);
|
|
57990
57991
|
return uniqueData;
|
|
57991
57992
|
});
|
|
57992
|
-
setTargetKeys(targetItems.map(function (item) {
|
|
57993
|
+
setTargetKeys((targetItems === null || targetItems === void 0 ? void 0 : targetItems.length) > 0 ? targetItems === null || targetItems === void 0 ? void 0 : targetItems.map(function (item) {
|
|
57994
|
+
return item[props.keyExpr];
|
|
57995
|
+
}) : (_props$targetItems2 = props.targetItems) === null || _props$targetItems2 === void 0 ? void 0 : _props$targetItems2.map(function (item) {
|
|
57993
57996
|
return item[props.keyExpr];
|
|
57994
57997
|
}));
|
|
57995
57998
|
}
|
|
57996
|
-
}, [targetItems, props.keyExpr]);
|
|
57999
|
+
}, [targetItems, props.keyExpr, props.targetItems]);
|
|
57997
58000
|
var handleChange = React.useCallback(function (targetKeys, direction, moveKey) {
|
|
57998
58001
|
setTargetKeys(targetKeys);
|
|
57999
58002
|
var selectedItems = transferDataSource.filter(function (item) {
|
|
@@ -58012,7 +58015,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58012
58015
|
}) : updatedItems, props.keyExpr);
|
|
58013
58016
|
props.onTargetChange(uniqueItems);
|
|
58014
58017
|
}
|
|
58015
|
-
}, [data, transferDataSource]);
|
|
58018
|
+
}, [data, transferDataSource, targetItems]);
|
|
58016
58019
|
var handleSelectChange = React.useCallback(function (sourceSelectedKeys, targetSelectedKeys) {
|
|
58017
58020
|
setSelectedKeys([].concat(sourceSelectedKeys, targetSelectedKeys));
|
|
58018
58021
|
}, []);
|
|
@@ -58029,6 +58032,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58029
58032
|
rootClassName: props.rootClassName,
|
|
58030
58033
|
showSearch: props.showSearch
|
|
58031
58034
|
}, function (_ref) {
|
|
58035
|
+
var _props$showFilters;
|
|
58032
58036
|
var direction = _ref.direction,
|
|
58033
58037
|
filteredItems = _ref.filteredItems,
|
|
58034
58038
|
onItemSelectAll = _ref.onItemSelectAll;
|
|
@@ -58041,7 +58045,7 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58041
58045
|
}
|
|
58042
58046
|
};
|
|
58043
58047
|
var leftSideEmpty = direction === "left" && filteredItems.length === 0;
|
|
58044
|
-
var rightSideEmpty = direction === "right" && targetKeys.length === 0;
|
|
58048
|
+
var rightSideEmpty = direction === "right" && (targetKeys === null || targetKeys === void 0 ? void 0 : targetKeys.length) === 0;
|
|
58045
58049
|
var combinedDataSource = direction === "right" ? removeDuplicates([].concat(filteredItems, targetItems), props.keyExpr) : filteredItems;
|
|
58046
58050
|
var CustomHeader = function CustomHeader() {
|
|
58047
58051
|
return React__default.createElement("div", {
|
|
@@ -58091,18 +58095,19 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58091
58095
|
},
|
|
58092
58096
|
noDataText: props.noDataText,
|
|
58093
58097
|
ref: gridRef
|
|
58094
|
-
}, React__default.createElement(DataGrid.FilterRow, {
|
|
58098
|
+
}, (_props$showFilters = props.showFilters) != null ? _props$showFilters : React__default.createElement(DataGrid.FilterRow, {
|
|
58095
58099
|
visible: true
|
|
58096
58100
|
}), props.columns.map(function (column) {
|
|
58097
|
-
return React__default.createElement(DataGrid.Column, {
|
|
58101
|
+
return React__default.createElement(DataGrid.Column, Object.assign({
|
|
58098
58102
|
dataField: column.dataField,
|
|
58099
58103
|
caption: column.caption,
|
|
58100
58104
|
dataType: column.dataType,
|
|
58101
|
-
calculateSortValue: column.calculateSortValue
|
|
58105
|
+
calculateSortValue: column.calculateSortValue
|
|
58106
|
+
}, props.showFilters ? {
|
|
58102
58107
|
headerFilter: {
|
|
58103
58108
|
visible: true
|
|
58104
58109
|
}
|
|
58105
|
-
});
|
|
58110
|
+
} : {}));
|
|
58106
58111
|
}), props.displayPageTitle && React__default.createElement(DataGrid.Toolbar, null, React__default.createElement(DataGrid.Item, {
|
|
58107
58112
|
location: "before",
|
|
58108
58113
|
cssClass: "toolbarTitleItem"
|
|
@@ -58385,7 +58390,7 @@ var OdsTransferV2 = function OdsTransferV2(_ref) {
|
|
|
58385
58390
|
}));
|
|
58386
58391
|
};
|
|
58387
58392
|
|
|
58388
|
-
var _templateObject$C, _templateObject2$a, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1,
|
|
58393
|
+
var _templateObject$C, _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;
|
|
58389
58394
|
var useStyles$c = antdStyle.createStyles(function (_ref, props) {
|
|
58390
58395
|
var css = _ref.css,
|
|
58391
58396
|
cx = _ref.cx,
|
|
@@ -58400,9 +58405,9 @@ var useStyles$c = antdStyle.createStyles(function (_ref, props) {
|
|
|
58400
58405
|
filterTopTitle: cx(flex, css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteralLoose(["\n align-items: center;\n "])))),
|
|
58401
58406
|
filterTopActions: cx(flex, css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
|
|
58402
58407
|
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")),
|
|
58403
|
-
filterBody: cx(css(
|
|
58404
|
-
filterActionButtonsWrapper: cx(flex, css(
|
|
58405
|
-
filterTagsWrapper: cx(flex, css(
|
|
58408
|
+
filterBody: cx(css(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
|
|
58409
|
+
filterActionButtonsWrapper: cx(flex, css(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteralLoose(["\n width: 100%;\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
|
|
58410
|
+
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)),
|
|
58406
58411
|
toggleButton: cx(flex),
|
|
58407
58412
|
clearButton: cx(flex)
|
|
58408
58413
|
};
|
|
@@ -58412,16 +58417,16 @@ var useAdvancedFilterButtonStyles = antdStyle.createStyles(function (_ref2, prop
|
|
|
58412
58417
|
cx = _ref2.cx,
|
|
58413
58418
|
token = _ref2.token;
|
|
58414
58419
|
return {
|
|
58415
|
-
advancedFilterButton: cx("flex", css(
|
|
58416
|
-
advancedFilterRowWrapper: cx("grid", css(
|
|
58417
|
-
advancedFilterRow: cx(css(
|
|
58420
|
+
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)),
|
|
58421
|
+
advancedFilterRowWrapper: cx("grid", css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
|
|
58422
|
+
advancedFilterRow: cx(css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "]))))
|
|
58418
58423
|
};
|
|
58419
58424
|
});
|
|
58420
58425
|
var useFilterTagsStyles = antdStyle.createStyles(function (_ref3) {
|
|
58421
58426
|
var css = _ref3.css,
|
|
58422
58427
|
token = _ref3.token;
|
|
58423
58428
|
return {
|
|
58424
|
-
menu: css(
|
|
58429
|
+
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)
|
|
58425
58430
|
};
|
|
58426
58431
|
});
|
|
58427
58432
|
|
|
@@ -58664,7 +58669,7 @@ var OdsFilter = function OdsFilter(props) {
|
|
|
58664
58669
|
}, props.buttonApplyName)))))));
|
|
58665
58670
|
};
|
|
58666
58671
|
|
|
58667
|
-
var _templateObject$D, _templateObject2$b, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2,
|
|
58672
|
+
var _templateObject$D, _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;
|
|
58668
58673
|
var useStyles$d = antdStyle.createStyles(function (_ref, props) {
|
|
58669
58674
|
var css = _ref.css,
|
|
58670
58675
|
cx = _ref.cx,
|
|
@@ -58679,11 +58684,11 @@ var useStyles$d = antdStyle.createStyles(function (_ref, props) {
|
|
|
58679
58684
|
filterTopTitle: cx(flex, css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n align-items: center;\n "])))),
|
|
58680
58685
|
filterTopActions: cx(flex, css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
|
|
58681
58686
|
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")),
|
|
58682
|
-
filterBody: cx(css(
|
|
58683
|
-
filterActionButtonsWrapper: cx(flex, css(
|
|
58684
|
-
filterActionButtons: cx(flex, css(
|
|
58685
|
-
filterTagsWrapper: cx(flex, css(
|
|
58686
|
-
filterInlineDisplayWrapper: props.isDisplayInline ? cx(css(
|
|
58687
|
+
filterBody: cx(css(_templateObject0$2 || (_templateObject0$2 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
|
|
58688
|
+
filterActionButtonsWrapper: cx(flex, css(_templateObject1$2 || (_templateObject1$2 = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n margin-top: 16px;\n "])))),
|
|
58689
|
+
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)),
|
|
58690
|
+
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)),
|
|
58691
|
+
filterInlineDisplayWrapper: props.isDisplayInline ? cx(css(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr auto;\n width: 100%;\n "])))) : "",
|
|
58687
58692
|
toggleButton: cx(flex),
|
|
58688
58693
|
clearButton: cx(flex)
|
|
58689
58694
|
};
|
|
@@ -58693,17 +58698,17 @@ var useAdvancedFilterButtonStyles$1 = antdStyle.createStyles(function (_ref2, pr
|
|
|
58693
58698
|
cx = _ref2.cx,
|
|
58694
58699
|
token = _ref2.token;
|
|
58695
58700
|
return {
|
|
58696
|
-
advancedFilterButton: cx(css(
|
|
58697
|
-
advancedFilterRowWrapper: cx(css(
|
|
58698
|
-
advancedFilterRowInner: cx(css(
|
|
58699
|
-
advancedFilterRow: cx(css(
|
|
58701
|
+
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)),
|
|
58702
|
+
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")),
|
|
58703
|
+
advancedFilterRowInner: cx(css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n min-height: 0;\n overflow: hidden;\n "])))),
|
|
58704
|
+
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 "]))))
|
|
58700
58705
|
};
|
|
58701
58706
|
});
|
|
58702
58707
|
var useFilterTagsStyles$1 = antdStyle.createStyles(function (_ref3) {
|
|
58703
58708
|
var css = _ref3.css,
|
|
58704
58709
|
token = _ref3.token;
|
|
58705
58710
|
return {
|
|
58706
|
-
menu: css(
|
|
58711
|
+
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)
|
|
58707
58712
|
};
|
|
58708
58713
|
});
|
|
58709
58714
|
|