ods-component-lib 1.19.8 → 1.19.11
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/README.md +39 -39
- package/dist/App.d.ts +3 -0
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +7 -0
- package/dist/components/devextreme/DataGrid/OdsDataGrid/index.d.ts +3 -2
- package/dist/components/devextreme/DataGrid/styles/styles.d.ts +2 -0
- package/dist/components/devextreme/DataGrid/styles/theme/sizes/default.d.ts +14 -0
- package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.Types.d.ts +0 -1
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +14 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +7 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +19 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +7 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +21 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +15 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +9 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +8 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +19 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +4 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +77 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +5 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +3 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +2 -0
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSearchBox.d.ts +3 -0
- package/dist/index.css +267 -267
- package/dist/index.js +43 -8
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +43 -8
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +42 -0
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +8 -0
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +1 -0
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +2 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
- package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
- package/package.json +101 -101
|
@@ -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 @@
|
|
|
1
|
+
export declare const BasicModal: any;
|
|
@@ -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
|
+
}[];
|
package/package.json
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ods-component-lib",
|
|
3
|
-
"version": "1.19.
|
|
4
|
-
"description": "Odeon design system component lib",
|
|
5
|
-
"author": "OdeonTechnology",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": "OdeonTechnology/ods-component-lib",
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"module": "dist/index.modern.js",
|
|
10
|
-
"source": "src/index.tsx",
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=10"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "microbundle-crl --no-compress --format modern,cjs",
|
|
16
|
-
"start": "microbundle-crl watch --no-compress --format modern,cjs",
|
|
17
|
-
"prepare": "run-s build",
|
|
18
|
-
"test": "run-s test:unit test:lint test:build",
|
|
19
|
-
"test:build": "run-s build",
|
|
20
|
-
"test:lint": "eslint .",
|
|
21
|
-
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
22
|
-
"test:watch": "react-scripts test --env=jsdom",
|
|
23
|
-
"predeploy": "cd example && npm install && npm run build",
|
|
24
|
-
"deploy": "gh-pages -d example/build",
|
|
25
|
-
"storybook": "storybook dev -p 3010",
|
|
26
|
-
"build-storybook": "storybook build",
|
|
27
|
-
"build-storybook-docs": "storybook build --docs",
|
|
28
|
-
"plop": "plop",
|
|
29
|
-
"patch": "npm version patch"
|
|
30
|
-
},
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"react": "^18.2.0"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@ant-design/icons": "^5.1.4",
|
|
36
|
-
"@types/file-saver-es": "^2.0.1",
|
|
37
|
-
"@types/react": "^18.2.9",
|
|
38
|
-
"@types/react-dom": "^18.2.4",
|
|
39
|
-
"@types/styled-components": "^5.1.26",
|
|
40
|
-
"antd": "^5.19.2",
|
|
41
|
-
"antd-style": "^3.6.2",
|
|
42
|
-
"devextreme": "^23.1.4",
|
|
43
|
-
"devextreme-react": "23.1.3",
|
|
44
|
-
"exceljs": "^4.3.0",
|
|
45
|
-
"file-saver": "^2.0.5",
|
|
46
|
-
"file-saver-es": "^2.0.5",
|
|
47
|
-
"html-react-parser": "^4.0.0",
|
|
48
|
-
"jspdf": "^2.5.1",
|
|
49
|
-
"jspdf-autotable": "^3.8.4",
|
|
50
|
-
"microbundle-crl": "^0.13.11",
|
|
51
|
-
"moment": "^2.29.4",
|
|
52
|
-
"ods-icon": "^1.0.17",
|
|
53
|
-
"react": "^18.2.0",
|
|
54
|
-
"react-fast-marquee": "^1.6.0",
|
|
55
|
-
"react-loading-overlay-ts": "^2.0.2",
|
|
56
|
-
"react-phone-input-2": "^2.15.1",
|
|
57
|
-
"react-spinners": "^0.13.8",
|
|
58
|
-
"styled-components": "^5.3.11"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@chromatic-com/storybook": "^1.2.25",
|
|
62
|
-
"@storybook/addon-essentials": "^8.0.2",
|
|
63
|
-
"@storybook/addon-interactions": "^8.0.2",
|
|
64
|
-
"@storybook/addon-links": "^8.0.2",
|
|
65
|
-
"@storybook/addon-onboarding": "^8.0.2",
|
|
66
|
-
"@storybook/addon-webpack5-compiler-swc": "^1.0.2",
|
|
67
|
-
"@storybook/blocks": "^8.0.2",
|
|
68
|
-
"@storybook/react": "^8.0.2",
|
|
69
|
-
"@storybook/react-webpack5": "^8.0.2",
|
|
70
|
-
"@storybook/test": "^8.0.2",
|
|
71
|
-
"@types/react": "^16.9.27",
|
|
72
|
-
"@types/react-dom": "^16.9.7",
|
|
73
|
-
"antd": "^5.5.2",
|
|
74
|
-
"cross-env": "^7.0.2",
|
|
75
|
-
"eslint": "^6.8.0",
|
|
76
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
77
|
-
"gh-pages": "^2.2.0",
|
|
78
|
-
"npm-run-all": "^4.1.5",
|
|
79
|
-
"plop": "^4.0.1",
|
|
80
|
-
"prop-types": "^15.8.1",
|
|
81
|
-
"react": "^18.2.0",
|
|
82
|
-
"react-dom": "^18.2.0",
|
|
83
|
-
"storybook": "^8.0.2"
|
|
84
|
-
},
|
|
85
|
-
"files": [
|
|
86
|
-
"dist"
|
|
87
|
-
],
|
|
88
|
-
"eslintConfig": {
|
|
89
|
-
"extends": [
|
|
90
|
-
"react-app",
|
|
91
|
-
"react-app/jest",
|
|
92
|
-
"plugin:storybook/recommended",
|
|
93
|
-
"plugin:storybook/recommended"
|
|
94
|
-
],
|
|
95
|
-
"rules": {
|
|
96
|
-
"eqeqeq": "off",
|
|
97
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
98
|
-
"react-hooks/exhaustive-deps": "off"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "ods-component-lib",
|
|
3
|
+
"version": "1.19.11",
|
|
4
|
+
"description": "Odeon design system component lib",
|
|
5
|
+
"author": "OdeonTechnology",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": "OdeonTechnology/ods-component-lib",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "dist/index.modern.js",
|
|
10
|
+
"source": "src/index.tsx",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=10"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "microbundle-crl --no-compress --format modern,cjs",
|
|
16
|
+
"start": "microbundle-crl watch --no-compress --format modern,cjs",
|
|
17
|
+
"prepare": "run-s build",
|
|
18
|
+
"test": "run-s test:unit test:lint test:build",
|
|
19
|
+
"test:build": "run-s build",
|
|
20
|
+
"test:lint": "eslint .",
|
|
21
|
+
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
22
|
+
"test:watch": "react-scripts test --env=jsdom",
|
|
23
|
+
"predeploy": "cd example && npm install && npm run build",
|
|
24
|
+
"deploy": "gh-pages -d example/build",
|
|
25
|
+
"storybook": "storybook dev -p 3010",
|
|
26
|
+
"build-storybook": "storybook build",
|
|
27
|
+
"build-storybook-docs": "storybook build --docs",
|
|
28
|
+
"plop": "plop",
|
|
29
|
+
"patch": "npm version patch"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^18.2.0"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@ant-design/icons": "^5.1.4",
|
|
36
|
+
"@types/file-saver-es": "^2.0.1",
|
|
37
|
+
"@types/react": "^18.2.9",
|
|
38
|
+
"@types/react-dom": "^18.2.4",
|
|
39
|
+
"@types/styled-components": "^5.1.26",
|
|
40
|
+
"antd": "^5.19.2",
|
|
41
|
+
"antd-style": "^3.6.2",
|
|
42
|
+
"devextreme": "^23.1.4",
|
|
43
|
+
"devextreme-react": "23.1.3",
|
|
44
|
+
"exceljs": "^4.3.0",
|
|
45
|
+
"file-saver": "^2.0.5",
|
|
46
|
+
"file-saver-es": "^2.0.5",
|
|
47
|
+
"html-react-parser": "^4.0.0",
|
|
48
|
+
"jspdf": "^2.5.1",
|
|
49
|
+
"jspdf-autotable": "^3.8.4",
|
|
50
|
+
"microbundle-crl": "^0.13.11",
|
|
51
|
+
"moment": "^2.29.4",
|
|
52
|
+
"ods-icon": "^1.0.17",
|
|
53
|
+
"react": "^18.2.0",
|
|
54
|
+
"react-fast-marquee": "^1.6.0",
|
|
55
|
+
"react-loading-overlay-ts": "^2.0.2",
|
|
56
|
+
"react-phone-input-2": "^2.15.1",
|
|
57
|
+
"react-spinners": "^0.13.8",
|
|
58
|
+
"styled-components": "^5.3.11"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@chromatic-com/storybook": "^1.2.25",
|
|
62
|
+
"@storybook/addon-essentials": "^8.0.2",
|
|
63
|
+
"@storybook/addon-interactions": "^8.0.2",
|
|
64
|
+
"@storybook/addon-links": "^8.0.2",
|
|
65
|
+
"@storybook/addon-onboarding": "^8.0.2",
|
|
66
|
+
"@storybook/addon-webpack5-compiler-swc": "^1.0.2",
|
|
67
|
+
"@storybook/blocks": "^8.0.2",
|
|
68
|
+
"@storybook/react": "^8.0.2",
|
|
69
|
+
"@storybook/react-webpack5": "^8.0.2",
|
|
70
|
+
"@storybook/test": "^8.0.2",
|
|
71
|
+
"@types/react": "^16.9.27",
|
|
72
|
+
"@types/react-dom": "^16.9.7",
|
|
73
|
+
"antd": "^5.5.2",
|
|
74
|
+
"cross-env": "^7.0.2",
|
|
75
|
+
"eslint": "^6.8.0",
|
|
76
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
77
|
+
"gh-pages": "^2.2.0",
|
|
78
|
+
"npm-run-all": "^4.1.5",
|
|
79
|
+
"plop": "^4.0.1",
|
|
80
|
+
"prop-types": "^15.8.1",
|
|
81
|
+
"react": "^18.2.0",
|
|
82
|
+
"react-dom": "^18.2.0",
|
|
83
|
+
"storybook": "^8.0.2"
|
|
84
|
+
},
|
|
85
|
+
"files": [
|
|
86
|
+
"dist"
|
|
87
|
+
],
|
|
88
|
+
"eslintConfig": {
|
|
89
|
+
"extends": [
|
|
90
|
+
"react-app",
|
|
91
|
+
"react-app/jest",
|
|
92
|
+
"plugin:storybook/recommended",
|
|
93
|
+
"plugin:storybook/recommended"
|
|
94
|
+
],
|
|
95
|
+
"rules": {
|
|
96
|
+
"eqeqeq": "off",
|
|
97
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
98
|
+
"react-hooks/exhaustive-deps": "off"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|