ods-component-lib 1.19.13 → 1.20.0

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 (32) hide show
  1. package/README.md +39 -39
  2. package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
  3. package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +1 -1
  4. package/dist/components/devextreme/OdsTransfer.d.ts +1 -0
  5. package/dist/index.css +267 -267
  6. package/dist/index.js +73 -361
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.modern.js +73 -361
  9. package/dist/index.modern.js.map +1 -1
  10. package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +2 -2
  11. package/package.json +101 -101
  12. package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +0 -1
  13. package/dist/components/antd/input/OdsInput..d.ts +0 -4
  14. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
  15. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
  16. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
  17. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
  18. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
  19. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
  20. package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
  21. package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
  22. package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
  23. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
  24. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
  25. package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
  26. package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
  27. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
  28. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
  29. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
  30. package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
  31. /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
  32. /package/dist/components/antd/{datepicker/OdsDateRangepicker.d.ts → datePicker/OdsDateRangePicker.d.ts} +0 -0
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  declare const _default: {
3
3
  title: string;
4
- component: (props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Pick<import("rc-picker").PickerProps<import("dayjs").Dayjs>, "defaultValue" | "value" | "onChange" | "onOk" | "placeholder" | "id" | "disabled" | "onFocus" | "onBlur" | "onKeyDown" | "prefix" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "maxLength" | "minLength" | "multiple" | "name" | "pattern" | "readOnly" | "required" | "src" | "step" | "type" | "width" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "prevIcon" | "nextIcon" | "superPrevIcon" | "superNextIcon" | "format" | "showNow" | "showHour" | "showMinute" | "showSecond" | "showMillisecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "millisecondStep" | "hideDisabledOptions" | "defaultOpenValue" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "disabledTime" | "changeOnScroll" | "removeIcon" | "maxTagCount" | "onCalendarChange" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange" | "presets" | "mode" | "onPanelChange" | "direction" | "prefixCls" | "picker" | "showTime" | "showWeek" | "suffixIcon" | "allowClear" | "clearIcon" | "inputReadOnly" | "order" | "disabledDate" | "minDate" | "maxDate" | "defaultOpen" | "open" | "onOpenChange" | "popupAlign" | "getPopupContainer" | "placement" | "builtinPlacements" | "needConfirm" | "changeOnBlur" | "preserveInvalidOnBlur" | "transitionName" | "components" | "inputRender" | "cellRender" | "dateRender" | "monthCellRender" | "showToday" | "panelRender" | "renderExtraFooter"> & {
4
+ component: (props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Pick<import("rc-picker").PickerProps<import("dayjs").Dayjs>, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "role" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "id" | "mode" | "direction" | "maxLength" | "tabIndex" | "autoFocus" | "placeholder" | "disabled" | "open" | "defaultOpen" | "maxTagCount" | "allowClear" | "prefix" | "suffixIcon" | "clearIcon" | "removeIcon" | "transitionName" | "placement" | "builtinPlacements" | "getPopupContainer" | "onBlur" | "onFocus" | "onKeyUp" | "onKeyDown" | "onMouseDown" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "value" | "defaultValue" | "onChange" | "list" | "step" | "onOpenChange" | "color" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disabledDate" | "monthCellRender" | "cellRender" | "showWeek" | "onPanelChange" | "multiple" | "height" | "order" | "width" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "minLength" | "readOnly" | "required" | "src" | "format" | "changeOnBlur" | "onOk" | "prevIcon" | "nextIcon" | "superPrevIcon" | "superNextIcon" | "showNow" | "showHour" | "showMinute" | "showSecond" | "showMillisecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "millisecondStep" | "hideDisabledOptions" | "defaultOpenValue" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "disabledTime" | "changeOnScroll" | "onCalendarChange" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange" | "presets" | "picker" | "showTime" | "inputReadOnly" | "minDate" | "maxDate" | "popupAlign" | "needConfirm" | "preserveInvalidOnBlur" | "components" | "inputRender" | "dateRender" | "showToday" | "panelRender" | "renderExtraFooter"> & {
5
5
  locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
6
6
  size?: import("antd/es/button").ButtonSize;
7
- placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
7
+ placement?: import("rc-select/lib/interface").Placement;
8
8
  bordered?: boolean;
9
9
  status?: "" | "warning" | "error";
10
10
  variant?: "outlined" | "borderless" | "filled" | "underlined";
package/package.json CHANGED
@@ -1,101 +1,101 @@
1
- {
2
- "name": "ods-component-lib",
3
- "version": "1.19.13",
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.20.0",
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
+ "storybook": "storybook dev -p 3010",
24
+ "build-storybook": "storybook build",
25
+ "build-storybook-docs": "storybook build --docs",
26
+ "plop": "plop",
27
+ "patch": "npm version patch"
28
+ },
29
+ "peerDependencies": {
30
+ "devextreme": "25.1.3",
31
+ "devextreme-react": "25.1.3",
32
+ "react": "^18.2.0"
33
+ },
34
+ "dependencies": {
35
+ "@ant-design/icons": "5.6.1",
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": "25.1.3",
43
+ "devextreme-react": "25.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.18",
53
+ "query-string": "^8.1.0",
54
+ "react": "^18.2.0",
55
+ "react-fast-marquee": "^1.6.0",
56
+ "react-loading-overlay-ts": "^2.0.2",
57
+ "react-phone-input-2": "^2.15.1",
58
+ "react-spinners": "^0.13.8",
59
+ "styled-components": "^5.3.11"
60
+ },
61
+ "devDependencies": {
62
+ "@chromatic-com/storybook": "^1.2.25",
63
+ "@storybook/addon-essentials": "^8.0.2",
64
+ "@storybook/addon-interactions": "^8.0.2",
65
+ "@storybook/addon-links": "^8.0.2",
66
+ "@storybook/addon-onboarding": "^8.0.2",
67
+ "@storybook/addon-webpack5-compiler-swc": "^1.0.2",
68
+ "@storybook/blocks": "^8.0.2",
69
+ "@storybook/react": "^8.0.2",
70
+ "@storybook/react-webpack5": "^8.0.2",
71
+ "@storybook/test": "^8.0.2",
72
+ "@types/react": "^16.9.27",
73
+ "@types/react-dom": "^16.9.7",
74
+ "antd": "^5.5.2",
75
+ "cross-env": "^7.0.2",
76
+ "eslint": "^6.8.0",
77
+ "eslint-plugin-storybook": "^0.8.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 +0,0 @@
1
- export declare const StyledDatepicker: import("styled-components").StyledComponent<import("antd/es/date-picker").DatePickerType, any, {}, never>;
@@ -1,4 +0,0 @@
1
- import { InputProps } from 'antd';
2
- import React from 'react';
3
- declare function OdsInput(props?: InputProps): React.JSX.Element;
4
- export default OdsInput;
@@ -1,3 +0,0 @@
1
- export declare const seatPositions: {
2
- [key: string]: string;
3
- };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { MemoizedCellProps } from "./OdsCabinGrid.Types";
3
- export declare const createSeatData: (rowRangeStart: number, rowRangeEnd: number, cabinPlan: string) => any[];
4
- export declare const MemoizedCell: React.MemoExoticComponent<({ data, field, toggleAttribute, disableSeat, styles, }: MemoizedCellProps) => React.JSX.Element>;
@@ -1,12 +0,0 @@
1
- export declare const getCheckboxStyle: (type: string, active: boolean) => {
2
- width: string;
3
- height: string;
4
- borderRadius: string;
5
- display: string;
6
- alignItems: string;
7
- justifyContent: string;
8
- cursor: string;
9
- padding: string;
10
- backgroundColor: string;
11
- };
12
- export declare const getIconColor: (type: string, active: boolean) => string;
@@ -1,94 +0,0 @@
1
- export declare const checkboxBase: {
2
- width: string;
3
- height: string;
4
- borderRadius: string;
5
- display: string;
6
- alignItems: string;
7
- justifyContent: string;
8
- cursor: string;
9
- padding: string;
10
- backgroundColor: string;
11
- };
12
- export declare const availableActive: {
13
- color: string;
14
- border: string;
15
- backgroundColor: string;
16
- };
17
- export declare const availableInactive: {
18
- color: string;
19
- border: string;
20
- backgroundColor: string;
21
- };
22
- export declare const childrenAllowedActive: {
23
- border: string;
24
- backgroundColor: string;
25
- };
26
- export declare const childrenAllowedInactive: {
27
- border: string;
28
- backgroundColor: string;
29
- };
30
- export declare const bottleActive: {
31
- border: string;
32
- backgroundColor: string;
33
- };
34
- export declare const bottleInactive: {
35
- border: string;
36
- backgroundColor: string;
37
- };
38
- export declare const lapPassengersAllowedActive: {
39
- border: string;
40
- backgroundColor: string;
41
- };
42
- export declare const lapPassengersAllowedInactive: {
43
- border: string;
44
- backgroundColor: string;
45
- };
46
- export declare const crossActive: {
47
- border: string;
48
- backgroundColor: string;
49
- };
50
- export declare const crossInactive: {
51
- border: string;
52
- backgroundColor: string;
53
- };
54
- export declare const iconColors: {
55
- available: {
56
- active: string;
57
- inactive: string;
58
- };
59
- childrenAllowed: {
60
- active: string;
61
- inactive: string;
62
- };
63
- bottle: {
64
- active: string;
65
- inactive: string;
66
- };
67
- lapPassengersAllowed: {
68
- active: string;
69
- inactive: string;
70
- };
71
- cross: {
72
- active: string;
73
- inactive: string;
74
- };
75
- };
76
- export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
77
- cabinContainer: import("antd-style").SerializedStyles;
78
- gridConfig: import("antd-style").SerializedStyles;
79
- optionGroup: import("antd-style").SerializedStyles;
80
- optionLabel: import("antd-style").SerializedStyles;
81
- bulkUpdateBtn: import("antd-style").SerializedStyles;
82
- seatAttributes: import("antd-style").SerializedStyles;
83
- emptySpace: import("antd-style").SerializedStyles;
84
- headerCell: import("antd-style").SerializedStyles;
85
- headerCheckbox: import("antd-style").SerializedStyles;
86
- headerText: import("antd-style").SerializedStyles;
87
- headerCellStyle: import("antd-style").SerializedStyles;
88
- headerEmptySpace: import("antd-style").SerializedStyles;
89
- rowCell: import("antd-style").SerializedStyles;
90
- rowCheckbox: import("antd-style").SerializedStyles;
91
- exitSwitchContainer: import("antd-style").SerializedStyles;
92
- exitSwitch: import("antd-style").SerializedStyles;
93
- cellContent: import("antd-style").SerializedStyles;
94
- }>;
@@ -1,46 +0,0 @@
1
- export interface Seat {
2
- row: number;
3
- exit: boolean;
4
- Color?: {
5
- text: string;
6
- color: string;
7
- };
8
- [key: string]: any;
9
- }
10
- export interface MemoizedCellProps {
11
- data: any;
12
- field: string;
13
- toggleAttribute: (rowNumber: number, field: string, attribute: string) => void;
14
- disableSeat: (rowNumber: number, field: string) => void;
15
- styles: {
16
- seatAttributes: string;
17
- };
18
- }
19
- export declare type CabinPlanType = '3-3' | '3-5-3';
20
- export interface BulkUpdate {
21
- row: number;
22
- seat: string;
23
- openToSale?: boolean;
24
- availableForChild?: boolean;
25
- availableForInfant?: boolean;
26
- availableForInfantwSeat?: boolean;
27
- delete?: boolean;
28
- }
29
- export interface CabinGridProps {
30
- numberOfAisle?: number;
31
- rowRangeStart?: number;
32
- rowRangeEnd?: number;
33
- seatPositions?: {
34
- [key: string]: string;
35
- };
36
- onSelectionChange?: (selection: SelectionChangeData) => void;
37
- rowLabel?: string;
38
- exitLabel?: string;
39
- bulkUpdate?: BulkUpdate[];
40
- }
41
- export interface SelectionChangeData {
42
- selectedSeats: Array<{
43
- row: number;
44
- seat: string;
45
- }>;
46
- }
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { CabinGridProps } from "./OdsCabinGrid.Types";
3
- declare const CabinGrid: React.FC<CabinGridProps>;
4
- export default CabinGrid;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import "./DxDataGrid.css";
3
- declare function OdsDataGrid(props: any): React.JSX.Element;
4
- export default OdsDataGrid;
@@ -1,4 +0,0 @@
1
- import { ITreeListOptions } from "devextreme-react/tree-list";
2
- import React from "react";
3
- declare const DxTreeList: (props: ITreeListOptions<any, any>) => React.JSX.Element;
4
- export default DxTreeList;
@@ -1,3 +0,0 @@
1
- declare const _default: import("@storybook/core/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("@storybook/core/csf").Args>;
2
- export default _default;
3
- export declare const DefaultMasterDetail: any;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DataGridColumns: ({
3
- dataField: string;
4
- dataType: string;
5
- caption: string;
6
- cellRender?: undefined;
7
- dataSource?: undefined;
8
- } | {
9
- dataField: string;
10
- caption: string;
11
- cellRender: (value: any) => import("react").JSX.Element;
12
- dataSource: {
13
- label: string;
14
- value: boolean;
15
- }[];
16
- dataType?: undefined;
17
- })[];
18
- export declare const DetailGridColumns: {
19
- dataField: string;
20
- dataType: string;
21
- caption: string;
22
- }[];
@@ -1,44 +0,0 @@
1
- export declare const MockData: {
2
- ID: number;
3
- Name: string;
4
- Currency: string;
5
- IsActive: boolean;
6
- }[];
7
- export declare const DetailMockData: {
8
- 15007: {
9
- Name: string;
10
- Currency: string;
11
- IsActive: boolean;
12
- SubName: string;
13
- }[];
14
- 15020: {
15
- Name: string;
16
- Currency: string;
17
- IsActive: boolean;
18
- SubName: string;
19
- }[];
20
- 15021: {
21
- Name: string;
22
- Currency: string;
23
- IsActive: boolean;
24
- SubName: string;
25
- }[];
26
- 15022: {
27
- Name: string;
28
- Currency: string;
29
- IsActive: boolean;
30
- SubName: string;
31
- }[];
32
- 15023: {
33
- Name: string;
34
- Currency: string;
35
- IsActive: boolean;
36
- SubName: string;
37
- }[];
38
- 15024: {
39
- Name: string;
40
- Currency: string;
41
- IsActive: boolean;
42
- SubName: string;
43
- }[];
44
- };
@@ -1,16 +0,0 @@
1
- import OdsSwitch from "../../components/antd/switch/OdsSwitch";
2
- declare const _default: {
3
- title: string;
4
- component: typeof OdsSwitch;
5
- tags: string[];
6
- argTypes: any;
7
- parameters: {
8
- controls: {};
9
- };
10
- };
11
- export default _default;
12
- export declare const BasicDisabled: any;
13
- export declare const Checked: any;
14
- export declare const CheckedLoading: any;
15
- export declare const CheckedChildrenDisplayText: any;
16
- export declare const CheckedChildrenDisplayIcon: any;