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.
- package/README.md +39 -39
- package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
- package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +1 -1
- package/dist/components/devextreme/OdsTransfer.d.ts +1 -0
- package/dist/index.css +267 -267
- package/dist/index.js +73 -361
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +73 -361
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +2 -2
- package/package.json +101 -101
- package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +0 -1
- package/dist/components/antd/input/OdsInput..d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
- package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
- package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
- package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
- package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
- package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
- /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
- /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>, "
|
|
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?: "
|
|
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.
|
|
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
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"storybook": "storybook
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"react": "^18.2.0"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@ant-design/icons": "
|
|
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": "
|
|
43
|
-
"devextreme-react": "
|
|
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.
|
|
53
|
-
"
|
|
54
|
-
"react
|
|
55
|
-
"react-
|
|
56
|
-
"react-
|
|
57
|
-
"react-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"@storybook
|
|
63
|
-
"@storybook/addon-
|
|
64
|
-
"@storybook/addon-
|
|
65
|
-
"@storybook/addon-
|
|
66
|
-
"@storybook/addon-
|
|
67
|
-
"@storybook/
|
|
68
|
-
"@storybook/
|
|
69
|
-
"@storybook/react
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@
|
|
72
|
-
"@types/react
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"eslint
|
|
77
|
-
"
|
|
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 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,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;
|