ods-component-lib 1.18.82 → 1.18.84
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 +24 -0
- package/dist/components/antd/collapse/OdsCollapse.d.ts +9 -1
- package/dist/components/antd/dropdown/OdsDropdown.d.ts +1 -0
- package/dist/components/antd/input/OdsCurrencyInput.d.ts +14 -0
- package/dist/components/antd/list/OdsList.d.ts +1 -1
- package/dist/components/devextreme/OdsRemoteDataGrid.d.ts +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +689 -14801
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +691 -14803
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsCurrencyInput/OdsCurrencyInput.stories.d.ts +24 -0
- package/dist/stories/OdsCurrencyInput/Samples/Basic.Sample.d.ts +3 -0
- package/dist/stories/OdsDateRangePicker/OdsDateRangePicker.stories.d.ts +1 -0
- package/dist/stories/OdsDateRangePicker/Samples/WithSecond.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +1 -0
- package/dist/stories/OdsDatepicker/Samples/WithSecond.Sample.d.ts +1 -0
- package/dist/stories/OdsList/OdsList.stories.d.ts +2 -2
- package/dist/stories/OdsRemoteDataGrid/OdsRemoteDataGrid.stories.d.ts +3 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/CollapsibleDataGrid/CollapsibleDataGrid.Constants.d.ts +17 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/CollapsibleDataGrid/CollapsibleDataGrid.MockData.d.ts +17 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/CollapsibleDataGrid/CollapsibleDataGrid.Sample.d.ts +1 -0
- package/dist/stories/OdsSearch/OdsSearch.stories.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseButtonProps } from "antd/es/button/button";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { SizeType } from "antd/es/config-provider/SizeContext";
|
|
4
|
+
import { ButtonType } from "antd/es/button/buttonHelpers";
|
|
5
|
+
interface OdsDataGrdiRowButtonProps extends BaseButtonProps {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
visible?: boolean | ((options: {
|
|
8
|
+
column: any;
|
|
9
|
+
component: any;
|
|
10
|
+
row: any;
|
|
11
|
+
}) => boolean);
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
hint?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
icon: JSX.Element;
|
|
16
|
+
onClick?: (event: any) => void;
|
|
17
|
+
column?: any;
|
|
18
|
+
component?: any;
|
|
19
|
+
row?: any;
|
|
20
|
+
size?: SizeType;
|
|
21
|
+
type?: ButtonType;
|
|
22
|
+
}
|
|
23
|
+
declare function OdsDataGrdiRowButton({ children, visible, hint, ...props }: OdsDataGrdiRowButtonProps): React.JSX.Element;
|
|
24
|
+
export default OdsDataGrdiRowButton;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { CollapseProps } from "antd";
|
|
2
1
|
import React from "react";
|
|
2
|
+
import { CollapseProps, CollapsePanelProps } from "antd";
|
|
3
|
+
export interface ICollapseProps extends CollapseProps {
|
|
4
|
+
Panel: React.FC<ICollapsePanelProps>;
|
|
5
|
+
}
|
|
6
|
+
export interface ICollapsePanelProps extends CollapsePanelProps {
|
|
7
|
+
}
|
|
3
8
|
declare function OdsCollapse(props: CollapseProps): React.JSX.Element;
|
|
9
|
+
declare namespace OdsCollapse {
|
|
10
|
+
var Panel: React.ForwardRefExoticComponent<CollapsePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
}
|
|
4
12
|
export default OdsCollapse;
|
|
@@ -2,6 +2,7 @@ import { DropDownProps } from "antd";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
export interface IDropDownProps extends DropDownProps {
|
|
4
4
|
menuItems?: any[];
|
|
5
|
+
icon?: React.ReactNode;
|
|
5
6
|
}
|
|
6
7
|
declare function OdsDropdown(props: IDropDownProps): React.JSX.Element;
|
|
7
8
|
export default OdsDropdown;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface Currency {
|
|
3
|
+
Id: number;
|
|
4
|
+
Name: string;
|
|
5
|
+
Code: string;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export interface CurrencyInputProps {
|
|
9
|
+
initialCurrency?: string;
|
|
10
|
+
initialAmount?: number;
|
|
11
|
+
allCurrencies?: Currency[];
|
|
12
|
+
}
|
|
13
|
+
declare const CurrencyInput: React.FC<CurrencyInputProps>;
|
|
14
|
+
export default CurrencyInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { IDataGridOptions, IButtonProps, ISelectionProps, IEditingProps, ISummaryProps } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDataGridOptions, IButtonProps, ISelectionProps, IEditingProps, ISummaryProps } from "devextreme-react/data-grid";
|
|
3
3
|
import { ButtonType } from 'antd/es/button/buttonHelpers';
|
|
4
4
|
export interface IOdsDataGridProps extends IDataGridOptions {
|
|
5
5
|
dataGridPageName?: string;
|
|
@@ -23,6 +23,7 @@ export interface IOdsDataGridProps extends IDataGridOptions {
|
|
|
23
23
|
handleEditorPreparing?: any;
|
|
24
24
|
isFilterRow?: boolean;
|
|
25
25
|
filterData?: any[];
|
|
26
|
+
showKebabMenu?: boolean;
|
|
26
27
|
}
|
|
27
28
|
interface ISummaryRowOptions {
|
|
28
29
|
summaryLoadedDataLabel?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import OdsCheckboxGroup from "./components/antd/checkbox/OdsCheckboxGroup";
|
|
|
10
10
|
import OdsDateRangePicker from "./components/antd/datepicker/OdsDateRangepicker";
|
|
11
11
|
import OdsDatepicker from "./components/antd/datepicker/OdsDatepicker";
|
|
12
12
|
import OdsDivider from "./components/antd/divider/OdsDivider";
|
|
13
|
-
import OdsCollapse from "./components/antd/
|
|
13
|
+
import OdsCollapse from "./components/antd/collapse/OdsCollapse";
|
|
14
14
|
import OdsDropdown from "./components/antd/dropdown/OdsDropdown";
|
|
15
15
|
import OdsImage from "./components/antd/image/OdsImage";
|
|
16
16
|
import OdsInput from "./components/antd/input/OdsInput.";
|