ods-component-lib 1.18.231 → 1.18.232

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.
Files changed (39) hide show
  1. package/dist/components/antd/modal/OdsAdvanceModal.d.ts +7 -0
  2. package/dist/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.Types.d.ts +1 -1
  3. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +4 -0
  4. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
  5. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +77 -0
  6. package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +5 -0
  7. package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +3 -0
  8. package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +2 -0
  9. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.Style.d.ts +9 -0
  10. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.Types.d.ts +10 -2
  11. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.d.ts +2 -2
  12. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSelectionColumn.d.ts +1 -1
  13. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableTaskTemplate.d.ts +6 -0
  14. package/dist/index.css +8 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +320 -9
  17. package/dist/index.js.map +1 -1
  18. package/dist/index.modern.js +322 -12
  19. package/dist/index.modern.js.map +1 -1
  20. package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +42 -0
  21. package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +8 -0
  22. package/dist/stories/OdsBasicDataGrid/OdsBasicDataGrid.stories.d.ts +110 -0
  23. package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +14 -0
  24. package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +7 -0
  25. package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
  26. package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +1 -0
  27. package/dist/stories/OdsPivotGrid/OdsPivotGrid.stories.d.ts +15 -0
  28. package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Constants.d.ts +2 -0
  29. package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.MockData.d.ts +7 -0
  30. package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Sample.d.ts +1 -0
  31. package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +5 -0
  32. package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +6 -0
  33. package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
  34. package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +2 -0
  35. package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
  36. package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
  37. package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
  38. package/dist/stories/OdsTimelineTable/OdsTimelineTable.stories.d.ts +1 -1
  39. package/package.json +1 -1
@@ -0,0 +1,42 @@
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;
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,110 @@
1
+ /// <reference types="react" />
2
+ import "devextreme/dist/css/dx.light.css";
3
+ import "antd/dist/reset.css";
4
+ import "./dxgrid.css";
5
+ import "../Commons/index.css";
6
+ import "../Commons/App.css";
7
+ declare const _default: {
8
+ title: string;
9
+ component: (props: import("../../components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.Types").IOdsDataGridProps) => import("react").JSX.Element;
10
+ tags: string[];
11
+ argTypes: {
12
+ showMasterDetail: {
13
+ control: string;
14
+ description: string;
15
+ defaultValue: boolean;
16
+ table: {
17
+ defaultValue: {
18
+ summary: string;
19
+ };
20
+ category: string;
21
+ };
22
+ };
23
+ detailData: {
24
+ table: {
25
+ category: string;
26
+ };
27
+ control: string;
28
+ description: string;
29
+ };
30
+ detailGridColums: {
31
+ control: string;
32
+ description: string;
33
+ table: {
34
+ category: string;
35
+ };
36
+ };
37
+ language: {
38
+ options: string[];
39
+ control: {
40
+ type: string;
41
+ };
42
+ defaultValue: {
43
+ summary: string;
44
+ };
45
+ description: string;
46
+ };
47
+ columns: {
48
+ description: string;
49
+ };
50
+ dataSource: {
51
+ description: string;
52
+ };
53
+ pageTitle: {
54
+ description: string;
55
+ };
56
+ exportFileName: {
57
+ description: string;
58
+ };
59
+ actionColumnEnable: {
60
+ description: string;
61
+ };
62
+ actionButtonGroup: {
63
+ description: string;
64
+ };
65
+ actionButtonGroupCaption: {
66
+ description: string;
67
+ };
68
+ isServerSide: {
69
+ description: string;
70
+ };
71
+ toolbarButtonGroup: {
72
+ description: string;
73
+ };
74
+ pageSize: {
75
+ description: string;
76
+ };
77
+ columnChooserPositionDisabled: {
78
+ description: string;
79
+ };
80
+ edit: {
81
+ description: string;
82
+ };
83
+ axiosRequest: {
84
+ description: string;
85
+ };
86
+ customSummary: {
87
+ description: string;
88
+ };
89
+ summaryType: {
90
+ options: string[];
91
+ control: {
92
+ type: string;
93
+ };
94
+ defaultValue: {
95
+ summary: string;
96
+ };
97
+ description: string;
98
+ };
99
+ summaryTypeLabel: {
100
+ description: string;
101
+ };
102
+ };
103
+ parameters: {
104
+ controls: {
105
+ exclude: any[];
106
+ };
107
+ };
108
+ };
109
+ export default _default;
110
+ export declare const MergeCells: any;
@@ -0,0 +1,14 @@
1
+ export declare const DataGridColumns: ({
2
+ dataField: string;
3
+ dataType: string;
4
+ caption: string;
5
+ visible: boolean;
6
+ } | {
7
+ dataField: string;
8
+ dataType: string;
9
+ caption: string;
10
+ visible?: undefined;
11
+ })[];
12
+ export declare const dataGridName = "Airports";
13
+ export declare const gridPageSize = 50;
14
+ export declare const mergeDataFields: string[];
@@ -0,0 +1,7 @@
1
+ export declare const MockData: {
2
+ Id: number;
3
+ Country: string;
4
+ AirportName: string;
5
+ AirlineCompany: string;
6
+ NumberOfGates: number;
7
+ }[];
@@ -0,0 +1 @@
1
+ export declare const MergeCellsTemplate: any;
@@ -0,0 +1 @@
1
+ export declare const BasicModal: any;
@@ -0,0 +1,15 @@
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;
@@ -0,0 +1,2 @@
1
+ import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
2
+ export declare const dataSource: PivotGridDataSource;
@@ -0,0 +1,7 @@
1
+ export declare const MockData: {
2
+ airport: string;
3
+ weeklyCapacity: number;
4
+ city: string;
5
+ availableCapacityRatio: number;
6
+ availableCapacity: number;
7
+ }[];
@@ -0,0 +1 @@
1
+ export declare const BasicPivotGridTemplate: any;
@@ -0,0 +1,5 @@
1
+ export declare const DataGridColumns: {
2
+ dataField: string;
3
+ dataType: string;
4
+ caption: string;
5
+ }[];
@@ -0,0 +1,6 @@
1
+ export declare const MockData: {
2
+ Country: string;
3
+ AirportName: string;
4
+ AirlineCompany: string;
5
+ NumberOfGates: number;
6
+ }[][];
@@ -0,0 +1 @@
1
+ export declare const MergeCellsTemplate: any;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TimeRangePickerTemplate: () => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IOdsTimelineColumnProps } from "../../components/devextreme/OdsTimeline/OdsTimeline.Types";
2
+ export declare const columns: IOdsTimelineColumnProps[];
3
+ export declare const Constants: {};
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { ICheckboxColumnChange, IStatusColumnChange } from "../../components/devextreme/OdsTimeline/OdsTimeline.Types";
3
+ export declare const onStatusColumnChange: (e: IStatusColumnChange) => void;
4
+ export declare const onCheckboxColumnChange: (e: ICheckboxColumnChange) => void;
5
+ export declare const linkCellComponent: (props: any) => React.JSX.Element;
6
+ export declare const optionsCellComponent: (props: any) => React.JSX.Element;
@@ -0,0 +1,39 @@
1
+ export declare const tasks: {
2
+ id: number;
3
+ parentId: number;
4
+ title: string;
5
+ hotel: string;
6
+ brand: string;
7
+ provider: string;
8
+ isChecked: boolean;
9
+ hasImport: boolean;
10
+ hasExport: boolean;
11
+ hasBooking: boolean;
12
+ importType: {
13
+ type: string;
14
+ isActive: boolean;
15
+ }[];
16
+ exportType: {
17
+ type: string;
18
+ isActive: boolean;
19
+ }[];
20
+ start: Date;
21
+ end: Date;
22
+ color: string;
23
+ progress: number;
24
+ }[];
25
+ export declare const dependencies: {
26
+ id: number;
27
+ predecessorId: number;
28
+ successorId: number;
29
+ type: number;
30
+ }[];
31
+ export declare const resources: {
32
+ id: number;
33
+ text: string;
34
+ }[];
35
+ export declare const resourceAssignments: {
36
+ id: number;
37
+ taskId: number;
38
+ resourceId: number;
39
+ }[];
@@ -5,7 +5,7 @@ import { IOdsTimelineTableProps } from "../../components/devextreme/OdsTimelineT
5
5
  import "./OdsTimelineTable.css";
6
6
  declare const _default: {
7
7
  title: string;
8
- component: (props: IOdsTimelineTableProps) => React.JSX.Element;
8
+ component: React.ForwardRefExoticComponent<IOdsTimelineTableProps & React.RefAttributes<unknown>>;
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  onScaleCellPrepared: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ods-component-lib",
3
- "version": "1.18.231",
3
+ "version": "1.18.232",
4
4
  "description": "Odeon design system component lib",
5
5
  "author": "OdeonTechnology",
6
6
  "license": "MIT",