ods-component-lib 1.18.95 → 1.18.96
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/devextreme/NoContentComponent.d.ts +7 -0
- package/dist/components/devextreme/OdsTransfer.d.ts +49 -0
- package/package.json +1 -1
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +0 -7
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +0 -42
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
- package/dist/stories/OdsPivotGrid/OdsPivotGrid.stories.d.ts +0 -15
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Constants.d.ts +0 -2
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.MockData.d.ts +0 -7
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Sample.d.ts +0 -1
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +0 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { TransferDirection as AntTransferDirection } from 'antd/es/transfer';
|
|
3
|
+
import 'devextreme/dist/css/dx.light.css';
|
|
4
|
+
import './styles.css';
|
|
5
|
+
export interface Column {
|
|
6
|
+
title: string;
|
|
7
|
+
dataIndex: string;
|
|
8
|
+
key?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare type TransferDirection = AntTransferDirection;
|
|
11
|
+
interface IAxiosProps {
|
|
12
|
+
token: string;
|
|
13
|
+
requestData?: any;
|
|
14
|
+
apiUrl: string;
|
|
15
|
+
environmentUrl: string;
|
|
16
|
+
requestQueryString?: any;
|
|
17
|
+
requestType: string;
|
|
18
|
+
}
|
|
19
|
+
interface ISummaryRowOptions {
|
|
20
|
+
summaryLoadedDataLabel?: string;
|
|
21
|
+
summaryTotalDataLabel?: string;
|
|
22
|
+
summaryFilteredDataLabel?: string;
|
|
23
|
+
summaryTotalCount?: number;
|
|
24
|
+
summaryTotalPageCountLabel?: string;
|
|
25
|
+
summarySumLabel?: string;
|
|
26
|
+
summaryAvgLabel?: string;
|
|
27
|
+
summaryMinLabel?: string;
|
|
28
|
+
summaryMaxLabel?: string;
|
|
29
|
+
summaryCountLabel?: string;
|
|
30
|
+
}
|
|
31
|
+
interface OdsTransferProps<RecordType = any> {
|
|
32
|
+
dataSource?: RecordType[];
|
|
33
|
+
language: string;
|
|
34
|
+
pagingEnable?: boolean;
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
isServerSide: boolean;
|
|
37
|
+
axiosRequest?: IAxiosProps;
|
|
38
|
+
customSummary?: ISummaryRowOptions;
|
|
39
|
+
dataGridPageName?: string;
|
|
40
|
+
columns: any[];
|
|
41
|
+
pageTitle?: string;
|
|
42
|
+
keyExpr: string;
|
|
43
|
+
noDataText: string;
|
|
44
|
+
defaultPageSize: number;
|
|
45
|
+
targetKeys?: string[];
|
|
46
|
+
setTargetKeys?: (keys: string[]) => void;
|
|
47
|
+
}
|
|
48
|
+
declare const OdsTransfer: React.FC<OdsTransferProps>;
|
|
49
|
+
export default OdsTransfer;
|
package/package.json
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<import("../../components/antd/modal/OdsAdvanceModal").ICustomModalProps>;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
centered: {
|
|
8
|
-
options: boolean[];
|
|
9
|
-
description: string;
|
|
10
|
-
};
|
|
11
|
-
title: {
|
|
12
|
-
description: string;
|
|
13
|
-
};
|
|
14
|
-
closable: {
|
|
15
|
-
options: boolean[];
|
|
16
|
-
description: string;
|
|
17
|
-
};
|
|
18
|
-
content: {
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
width: {
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
open: {
|
|
25
|
-
options: string[];
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
onCancel: {
|
|
29
|
-
action: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
onOk: {
|
|
33
|
-
action: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
parameters: {
|
|
38
|
-
controls: {};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default _default;
|
|
42
|
-
export declare const BasicOdsAdvanceModal: any;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ICustomModalProps } from "../../../components/antd/modal/OdsAdvanceModal";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<ICustomModalProps>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const BasicOdsAdvanceModalTemplate: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const BasicModal: any;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import PivotGrid from 'devextreme-react/pivot-grid';
|
|
2
|
-
import 'devextreme/dist/css/dx.light.css';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof PivotGrid;
|
|
6
|
-
tags: string[];
|
|
7
|
-
argTypes: {};
|
|
8
|
-
parameters: {
|
|
9
|
-
controls: {
|
|
10
|
-
exclude: any[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
15
|
-
export declare const Basic: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const BasicPivotGridTemplate: any;
|