ods-component-lib 1.18.155 → 1.18.157
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/OdsDataGrdiRowButton.d.ts +3 -2
- package/dist/components/antd/fileUpload/OdsFileUpload.d.ts +1 -0
- package/dist/components/antd/slider/OdsSlider.d.ts +9 -0
- package/dist/components/antd/slider/OdsSlider.styled.d.ts +2 -0
- package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.Types.d.ts +2 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnActionCellRenderHandler.d.ts +3 -2
- package/dist/components/devextreme/OdsInlineEditDataGrid/types.d.ts +5 -0
- package/dist/components/devextreme/OdsRemoteDataGrid/OdsRemoteDataGrid.Types.d.ts +2 -0
- package/dist/components/devextreme/OdsServerSideDatagrid/OdsServerSideDatagrid.Types.d.ts +2 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.js +691 -774
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1053 -1154
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsSlider/OdsSlider.stories.d.ts +14 -0
- package/dist/stories/{OdsCustomMultiSelect/Samples/Basic.Sample.d.ts → OdsSlider/Samples/BasicSlider.Sample.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/components/antd/form/OdsBasicForm.d.ts +0 -18
- package/dist/components/antd/icon/OdsIcon.d.ts +0 -10
- package/dist/components/antd/select/OdsCustomMultiSelect.d.ts +0 -7
- package/dist/components/antd/select/OdsMultiSelect.d.ts +0 -9
- package/dist/components/custom/OdsLogin.d.ts +0 -8
- package/dist/components/devextreme/DxDataPopupForm.d.ts +0 -3
- package/dist/components/devextreme/DynamicIcon.d.ts +0 -5
- package/dist/components/devextreme/OdsDataGridNew.d.ts +0 -56
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +0 -14
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +0 -19
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +0 -21
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +0 -15
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +0 -9
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +0 -8
- package/dist/components/devextreme/OdsProfDataGrid.d.ts +0 -3
- package/dist/components/devextreme/dataGridHandlers/OnToolbarButtonHandler.d.ts +0 -7
- package/dist/components/devextreme/dataGridStyle.d.ts +0 -3
- package/dist/stories/OdsCustomMultiSelect/OdsCustomMultiSelect.stories.d.ts +0 -9
- package/dist/stories/OdsCustomMultiSelect/Samples/ModeMultiple.Sample.d.ts +0 -1
- package/dist/utils/DynamicIcon.d.ts +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseButtonProps } from "antd/es/button/button";
|
|
2
1
|
import React from "react";
|
|
2
|
+
import { BaseButtonProps } from "antd/es/button/button";
|
|
3
3
|
import { SizeType } from "antd/es/config-provider/SizeContext";
|
|
4
4
|
import { ButtonType } from "antd/es/button/buttonHelpers";
|
|
5
5
|
interface OdsDataGrdiRowButtonProps extends BaseButtonProps {
|
|
@@ -19,6 +19,7 @@ interface OdsDataGrdiRowButtonProps extends BaseButtonProps {
|
|
|
19
19
|
row?: any;
|
|
20
20
|
size?: SizeType;
|
|
21
21
|
type?: ButtonType;
|
|
22
|
+
tooltip?: string | React.ReactNode | (() => React.ReactNode);
|
|
22
23
|
}
|
|
23
|
-
declare
|
|
24
|
+
declare const OdsDataGrdiRowButton: React.FC<OdsDataGrdiRowButtonProps>;
|
|
24
25
|
export default OdsDataGrdiRowButton;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SliderSingleProps } from 'antd/es/slider';
|
|
3
|
+
interface OdsSliderDeneme extends SliderSingleProps {
|
|
4
|
+
decimaInput?: boolean;
|
|
5
|
+
spanSizeOfBar?: number;
|
|
6
|
+
spanSizeOfInput?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function OdsSlider(props: OdsSliderDeneme): React.JSX.Element;
|
|
9
|
+
export default OdsSlider;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledSlider: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<(import("antd").SliderSingleProps & import("react").RefAttributes<import("rc-slider").SliderRef>) | (import("antd/es/slider").SliderRangeProps & import("react").RefAttributes<import("rc-slider").SliderRef>)>, any, {}, never>;
|
|
@@ -22,6 +22,7 @@ interface IExportProps {
|
|
|
22
22
|
activeText?: string;
|
|
23
23
|
passiveText?: string;
|
|
24
24
|
}
|
|
25
|
+
export declare type ITooltipType = "raw" | "styled";
|
|
25
26
|
export interface IOdsDataGridProps extends IDataGridOptions, IMultiCellEditableDataGridProps {
|
|
26
27
|
dataGridPageName?: string;
|
|
27
28
|
language: string;
|
|
@@ -48,6 +49,7 @@ export interface IOdsDataGridProps extends IDataGridOptions, IMultiCellEditableD
|
|
|
48
49
|
detailGridColums?: any[];
|
|
49
50
|
showMasterDetail?: boolean;
|
|
50
51
|
detailData?: any;
|
|
52
|
+
actionButtonsTooltipType?: ITooltipType;
|
|
51
53
|
}
|
|
52
54
|
export interface ISummaryRowOptions {
|
|
53
55
|
summaryLoadedDataLabel?: string;
|
package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnActionCellRenderHandler.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IButtonGrouOptions, IEditingOptions } from "../types";
|
|
2
|
+
import { IButtonGrouOptions, IEditingOptions, IActionButtonsTooltipType } from "../types";
|
|
3
3
|
/**
|
|
4
4
|
* Custom hook that returns a callback function for rendering action buttons in a cell.
|
|
5
5
|
* @param visibleActionButtons - An array of options for visible action buttons.
|
|
6
6
|
* @param actionButtonGroup - An array of options for action buttons.
|
|
7
7
|
* @param edit - An object containing editing options.
|
|
8
|
+
* @param tooltipType - The type of tooltip to display.
|
|
8
9
|
* @returns The onActionCellRender callback function.
|
|
9
10
|
*/
|
|
10
|
-
export declare const useOnActionCellRenderHandler: (visibleActionButtons: IButtonGrouOptions[] | undefined, actionButtonGroup: IButtonGrouOptions[] | undefined, edit: IEditingOptions | undefined) => (cellData: any | undefined) => React.JSX.Element;
|
|
11
|
+
export declare const useOnActionCellRenderHandler: (visibleActionButtons: IButtonGrouOptions[] | undefined, actionButtonGroup: IButtonGrouOptions[] | undefined, edit: IEditingOptions | undefined, actionButtonsTooltipType: IActionButtonsTooltipType | undefined) => (cellData: any | undefined) => React.JSX.Element;
|
|
@@ -59,6 +59,7 @@ export interface IButtonGrouOptions extends Omit<IButtonProps, "name"> {
|
|
|
59
59
|
}
|
|
60
60
|
export interface IScrollingOptions extends Partial<IScrollingProps> {
|
|
61
61
|
}
|
|
62
|
+
export declare type IActionButtonsTooltipType = "raw" | "styled";
|
|
62
63
|
/**
|
|
63
64
|
* Represents the options for summary rows in the data grid.
|
|
64
65
|
*/
|
|
@@ -80,6 +81,9 @@ export interface ISummaryRowOptions {
|
|
|
80
81
|
summaryMaxLabel?: string;
|
|
81
82
|
summaryCountLabel?: string;
|
|
82
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Represents the custom options for the ODS data grid.
|
|
86
|
+
*/
|
|
83
87
|
export interface IODSDataGridCustomOptions {
|
|
84
88
|
actionButtonGroup?: IButtonGrouOptions[];
|
|
85
89
|
actionColumnEnable?: boolean;
|
|
@@ -101,6 +105,7 @@ export interface IODSDataGridCustomOptions {
|
|
|
101
105
|
sortingProps?: any;
|
|
102
106
|
toolbarButtonGroup?: IToolbarButtonOptions[];
|
|
103
107
|
totalRecordCount?: number;
|
|
108
|
+
actionButtonsTooltipType?: IActionButtonsTooltipType;
|
|
104
109
|
}
|
|
105
110
|
/**
|
|
106
111
|
* Represents the props for a virtual data grid component.
|
|
@@ -14,6 +14,7 @@ export interface IMultiCellEditableDataGridProps {
|
|
|
14
14
|
onFastUpdateCancel?: () => void;
|
|
15
15
|
onFastUpdateFailed?: (errorInfo: any) => void;
|
|
16
16
|
}
|
|
17
|
+
export declare type IActionButtonsTooltipType = "raw" | "styled";
|
|
17
18
|
export interface IOdsDataGridProps extends IDataGridOptions, IMultiCellEditableDataGridProps {
|
|
18
19
|
dataGridPageName?: string;
|
|
19
20
|
language: string;
|
|
@@ -39,6 +40,7 @@ export interface IOdsDataGridProps extends IDataGridOptions, IMultiCellEditableD
|
|
|
39
40
|
detailGridColums?: any[];
|
|
40
41
|
showMasterDetail?: boolean;
|
|
41
42
|
detailData?: any;
|
|
43
|
+
actionButtonsTooltipType?: IActionButtonsTooltipType;
|
|
42
44
|
}
|
|
43
45
|
export interface ISummaryRowOptions {
|
|
44
46
|
summaryLoadedDataLabel?: string;
|
|
@@ -61,6 +61,7 @@ export interface ISummaryRowOptions {
|
|
|
61
61
|
summaryMaxLabel?: string;
|
|
62
62
|
summaryCountLabel?: string;
|
|
63
63
|
}
|
|
64
|
+
export declare type IActionButtonsTooltipType = "raw" | "styled";
|
|
64
65
|
export interface IVirtualDataGridProps extends IDataGridOptions {
|
|
65
66
|
columns: IColumnConfig[];
|
|
66
67
|
sortingProps?: any;
|
|
@@ -81,5 +82,6 @@ export interface IVirtualDataGridProps extends IDataGridOptions {
|
|
|
81
82
|
columnResizingMode?: 'nextColumn' | 'widget';
|
|
82
83
|
dataGridRef: any;
|
|
83
84
|
applyCellRenderToHeaderFilter?: boolean;
|
|
85
|
+
actionButtonsTooltipType?: IActionButtonsTooltipType;
|
|
84
86
|
}
|
|
85
87
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ import OdsBasicDataGrid from "./components/devextreme/OdsBasicDataGrid/OdsBasicD
|
|
|
54
54
|
import OdsTransfer from "./components/devextreme/OdsTransfer";
|
|
55
55
|
import OdsServerSideDatagrid from "./components/devextreme/OdsServerSideDatagrid/OdsServerSideDatagrid";
|
|
56
56
|
import OdsInlineEditDataGrid from "./components/devextreme/OdsInlineEditDataGrid/OdsInlineEditDataGrid";
|
|
57
|
-
import { useOnToolbarButtonHandler } from './components/devextreme/dataGridHandlers/OnToolbarButtonHandler';
|
|
58
57
|
export { OdsButton };
|
|
59
58
|
export { OdsInput };
|
|
60
59
|
export { OdsDropdownButton };
|
|
@@ -107,7 +106,6 @@ export { OdsFilterTagView };
|
|
|
107
106
|
export { OdsFileUpload };
|
|
108
107
|
export { OdsDataGrid };
|
|
109
108
|
export { OdsDisplayGrid };
|
|
110
|
-
export { useOnToolbarButtonHandler };
|
|
111
109
|
export { OdsRemoteDataGrid } from "./components/devextreme/index";
|
|
112
110
|
export { OdsBasicDataGrid };
|
|
113
111
|
export { OdsTransfer };
|