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.
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface NoListItemsProps {
3
+ mainText: string;
4
+ subText: string;
5
+ }
6
+ declare const NoListItems: React.FC<NoListItemsProps>;
7
+ export default NoListItems;
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "ods-component-lib",
3
- "version": "1.18.95",
3
+ "version": "1.18.96",
4
4
  "description": "Odeon design system component lib",
5
5
  "author": "OdeonTechnology",
6
6
  "license": "MIT",
@@ -1,7 +0,0 @@
1
- import { ModalProps } from "antd";
2
- import React from "react";
3
- export interface ICustomModalProps extends ModalProps {
4
- content: React.ReactNode;
5
- }
6
- declare const OdsAdvanceModal: React.FC<ICustomModalProps>;
7
- export default OdsAdvanceModal;
@@ -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,2 +0,0 @@
1
- import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
2
- export declare const dataSource: PivotGridDataSource;
@@ -1,7 +0,0 @@
1
- export declare const MockData: {
2
- airport: string;
3
- weeklyCapacity: number;
4
- city: string;
5
- availableCapacityRatio: number;
6
- availableCapacity: number;
7
- }[];
@@ -1 +0,0 @@
1
- export declare const BasicPivotGridTemplate: any;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TimeRangePickerTemplate: () => React.JSX.Element;