ods-component-lib 1.19.2 → 1.19.3

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 (31) hide show
  1. package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
  2. package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +1 -1
  3. package/dist/components/devextreme/NoContentComponent.d.ts +1 -1
  4. package/dist/components/devextreme/OdsTransfer.d.ts +9 -2
  5. package/dist/index.js +81 -74
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.modern.js +81 -74
  8. package/dist/index.modern.js.map +1 -1
  9. package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +3 -1
  10. package/package.json +1 -1
  11. package/dist/components/antd/input/OdsInput..d.ts +0 -4
  12. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
  13. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
  14. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
  15. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
  16. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
  17. package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
  18. package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
  19. package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
  20. package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
  21. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
  22. package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
  23. package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
  24. package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
  25. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
  26. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
  27. package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
  28. package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
  29. /package/dist/components/antd/{datepicker/OdsDatepicker.styled.d.ts → datePicker/OdsDatePicker.Styled.d.ts} +0 -0
  30. /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
  31. /package/dist/components/antd/{datepicker/OdsDateRangepicker.d.ts → datePicker/OdsDateRangePicker.d.ts} +0 -0
@@ -1,7 +1,7 @@
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" | "styles" | "classNames" | "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>, "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"> & {
5
5
  locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
6
6
  size?: import("antd/es/button").ButtonSize;
7
7
  placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
@@ -12,6 +12,8 @@ declare const _default: {
12
12
  popupClassName?: string;
13
13
  rootClassName?: string;
14
14
  popupStyle?: import("react").CSSProperties;
15
+ styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
16
+ classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
15
17
  }, import("dayjs").Dayjs>) => import("react").JSX.Element;
16
18
  tags: string[];
17
19
  argTypes: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ods-component-lib",
3
- "version": "1.19.2",
3
+ "version": "1.19.3",
4
4
  "description": "Odeon design system component lib",
5
5
  "author": "OdeonTechnology",
6
6
  "license": "MIT",
@@ -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;
@@ -1,165 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: {
3
- title: string;
4
- component: (props: import("react").PropsWithChildren<{
5
- disabled?: boolean;
6
- onKeyDown?: (e: import("devextreme/ui/tree_list").KeyDownEvent<any, any>) => void;
7
- height?: string | number | (() => import("react").ReactText);
8
- width?: string | number | (() => import("react").ReactText);
9
- accessKey?: string;
10
- tabIndex?: number;
11
- activeStateEnabled?: boolean;
12
- hint?: string;
13
- hoverStateEnabled?: boolean;
14
- onContentReady?: (e: import("devextreme/ui/tree_list").ContentReadyEvent<any, any>) => void;
15
- visible?: boolean;
16
- bindingOptions?: {
17
- [key: string]: any;
18
- };
19
- elementAttr?: {
20
- [key: string]: any;
21
- };
22
- onDisposing?: (e: import("devextreme/ui/tree_list").DisposingEvent<any, any>) => void;
23
- onOptionChanged?: (e: import("devextreme/core/dom_component").OptionChangedEventInfo<import("devextreme/ui/tree_list").default<any, any>>) => void;
24
- rtlEnabled?: boolean;
25
- onInitialized?: (e: import("devextreme/ui/tree_list").InitializedEvent<any, any>) => void;
26
- allowColumnReordering?: boolean;
27
- allowColumnResizing?: boolean;
28
- autoNavigateToFocusedRow?: boolean;
29
- cacheEnabled?: boolean;
30
- cellHintEnabled?: boolean;
31
- columnAutoWidth?: boolean;
32
- columnChooser?: import("devextreme/common/grids").ColumnChooser;
33
- columnFixing?: import("devextreme/common/grids").ColumnFixing;
34
- columnHidingEnabled?: boolean;
35
- columnMinWidth?: number;
36
- columnResizingMode?: import("devextreme/common/grids").ColumnResizeMode;
37
- columnWidth?: number | "auto";
38
- dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
39
- dateSerializationFormat?: string;
40
- errorRowEnabled?: boolean;
41
- filterBuilder?: import("devextreme/ui/filter_builder").dxFilterBuilderOptions;
42
- filterBuilderPopup?: import("devextreme/ui/popup").Properties;
43
- filterPanel?: import("devextreme/common/grids").FilterPanel<import("devextreme/ui/tree_list").default<any, any>, any, any>;
44
- filterRow?: import("devextreme/common/grids").FilterRow;
45
- filterSyncEnabled?: boolean | "auto";
46
- filterValue?: string | Function | any[];
47
- focusedColumnIndex?: number;
48
- focusedRowEnabled?: boolean;
49
- focusedRowIndex?: number;
50
- focusedRowKey?: any;
51
- headerFilter?: import("devextreme/common/grids").HeaderFilter;
52
- highlightChanges?: boolean;
53
- keyboardNavigation?: import("devextreme/common/grids").KeyboardNavigation;
54
- loadPanel?: import("devextreme/common/grids").LoadPanel;
55
- noDataText?: string;
56
- onAdaptiveDetailRowPreparing?: (e: import("devextreme/ui/tree_list").AdaptiveDetailRowPreparingEvent<any, any>) => void;
57
- onDataErrorOccurred?: (e: import("devextreme/ui/tree_list").DataErrorOccurredEvent<any, any>) => void;
58
- onEditCanceled?: (e: import("devextreme/ui/tree_list").EditCanceledEvent<any, any>) => void;
59
- onEditCanceling?: (e: import("devextreme/ui/tree_list").EditCancelingEvent<any, any>) => void;
60
- onInitNewRow?: (e: import("devextreme/ui/tree_list").InitNewRowEvent<any, any>) => void;
61
- onRowCollapsed?: (e: import("devextreme/ui/tree_list").RowCollapsedEvent<any, any>) => void;
62
- onRowCollapsing?: (e: import("devextreme/ui/tree_list").RowCollapsingEvent<any, any>) => void;
63
- onRowExpanded?: (e: import("devextreme/ui/tree_list").RowCollapsedEvent<any, any>) => void;
64
- onRowExpanding?: (e: import("devextreme/ui/tree_list").RowCollapsingEvent<any, any>) => void;
65
- onRowInserted?: (e: import("devextreme/ui/tree_list").RowInsertedEvent<any, any>) => void;
66
- onRowInserting?: (e: import("devextreme/ui/tree_list").RowInsertingEvent<any, any>) => void;
67
- onRowRemoved?: (e: import("devextreme/ui/tree_list").RowRemovedEvent<any, any>) => void;
68
- onRowRemoving?: (e: import("devextreme/ui/tree_list").RowRemovingEvent<any, any>) => void;
69
- onRowUpdated?: (e: import("devextreme/ui/tree_list").RowUpdatedEvent<any, any>) => void;
70
- onRowUpdating?: (e: import("devextreme/ui/tree_list").RowUpdatingEvent<any, any>) => void;
71
- onRowValidating?: (e: import("devextreme/ui/tree_list").RowValidatingEvent<any, any>) => void;
72
- onSaved?: (e: import("devextreme/ui/tree_list").EditCanceledEvent<any, any>) => void;
73
- onSaving?: (e: import("devextreme/ui/tree_list").SavingEvent<any, any>) => void;
74
- onSelectionChanged?: (e: import("devextreme/events").EventInfo<import("devextreme/ui/tree_list").default<any, any>> & import("devextreme/common/grids").SelectionChangedInfo<any, any>) => void;
75
- onToolbarPreparing?: (e: import("devextreme/ui/tree_list").ToolbarPreparingEvent<any, any>) => void;
76
- pager?: import("devextreme/common/grids").Pager;
77
- renderAsync?: boolean;
78
- repaintChangesOnly?: boolean;
79
- rowAlternationEnabled?: boolean;
80
- rowDragging?: import("devextreme/common/grids").RowDragging<import("devextreme/ui/tree_list").default<any, any>, any, any>;
81
- searchPanel?: import("devextreme/common/grids").SearchPanel;
82
- selectedRowKeys?: any[];
83
- showBorders?: boolean;
84
- showColumnHeaders?: boolean;
85
- showColumnLines?: boolean;
86
- showRowLines?: boolean;
87
- sorting?: import("devextreme/common/grids").Sorting;
88
- stateStoring?: import("devextreme/common/grids").StateStoring;
89
- twoWayBindingEnabled?: boolean;
90
- wordWrapEnabled?: boolean;
91
- syncLookupFilterValues?: boolean;
92
- autoExpandAll?: boolean;
93
- columns?: (string | import("devextreme/ui/tree_list").Column<any, any>)[];
94
- customizeColumns?: (columns: import("devextreme/ui/tree_list").Column<any, any>[]) => void;
95
- dataStructure?: import("devextreme/common").DataStructure;
96
- editing?: import("devextreme/ui/tree_list").Editing<any, any>;
97
- expandNodesOnFiltering?: boolean;
98
- expandedRowKeys?: any[];
99
- filterMode?: import("devextreme/ui/tree_list").TreeListFilterMode;
100
- hasItemsExpr?: string | Function;
101
- itemsExpr?: string | Function;
102
- keyExpr?: string | Function;
103
- onCellClick?: (e: import("devextreme/ui/tree_list").CellClickEvent<any, any>) => void;
104
- onCellDblClick?: (e: import("devextreme/ui/tree_list").CellClickEvent<any, any>) => void;
105
- onCellHoverChanged?: (e: import("devextreme/ui/tree_list").CellHoverChangedEvent<any, any>) => void;
106
- onCellPrepared?: (e: import("devextreme/ui/tree_list").CellPreparedEvent<any, any>) => void;
107
- onContextMenuPreparing?: (e: import("devextreme/ui/tree_list").ContextMenuPreparingEvent<any, any>) => void;
108
- onEditingStart?: (e: import("devextreme/ui/tree_list").EditingStartEvent<any, any>) => void;
109
- onEditorPrepared?: (e: import("devextreme/ui/tree_list").EditorPreparedEvent<any, any>) => void;
110
- onEditorPreparing?: (e: import("devextreme/ui/tree_list").EditorPreparingEvent<any, any>) => void;
111
- onFocusedCellChanged?: (e: import("devextreme/ui/tree_list").FocusedCellChangedEvent<any, any>) => void;
112
- onFocusedCellChanging?: (e: import("devextreme/ui/tree_list").FocusedCellChangingEvent<any, any>) => void;
113
- onFocusedRowChanged?: (e: import("devextreme/ui/tree_list").FocusedRowChangedEvent<any, any>) => void;
114
- onFocusedRowChanging?: (e: import("devextreme/ui/tree_list").FocusedRowChangingEvent<any, any>) => void;
115
- onNodesInitialized?: (e: import("devextreme/ui/tree_list").NodesInitializedEvent<any, any>) => void;
116
- onRowClick?: (e: import("devextreme/ui/tree_list").RowClickEvent<any, any>) => void;
117
- onRowDblClick?: (e: import("devextreme/ui/tree_list").RowDblClickEvent<any, any>) => void;
118
- onRowPrepared?: (e: import("devextreme/ui/tree_list").RowPreparedEvent<any, any>) => void;
119
- paging?: import("devextreme/ui/tree_list").Paging;
120
- parentIdExpr?: string | Function;
121
- remoteOperations?: "auto" | {
122
- filtering?: boolean;
123
- grouping?: boolean;
124
- sorting?: boolean;
125
- };
126
- rootValue?: any;
127
- scrolling?: import("devextreme/ui/tree_list").Scrolling;
128
- selection?: import("devextreme/ui/tree_list").Selection;
129
- toolbar?: import("devextreme/ui/tree_list").Toolbar;
130
- } & import("devextreme-react/core/component-base").IHtmlOptions & {
131
- dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
132
- defaultColumns?: (string | import("devextreme/ui/tree_list").dxTreeListColumn<any, any>)[];
133
- defaultEditing?: Record<string, any>;
134
- defaultExpandedRowKeys?: any[];
135
- defaultFilterPanel?: Record<string, any>;
136
- defaultFilterValue?: string | any[] | (() => any);
137
- defaultFocusedColumnIndex?: number;
138
- defaultFocusedRowIndex?: number;
139
- defaultFocusedRowKey?: any;
140
- defaultPaging?: Record<string, any>;
141
- defaultSearchPanel?: Record<string, any>;
142
- defaultSelectedRowKeys?: any[];
143
- onColumnsChange?: (value: (string | import("devextreme/ui/tree_list").dxTreeListColumn<any, any>)[]) => void;
144
- onEditingChange?: (value: Record<string, any>) => void;
145
- onExpandedRowKeysChange?: (value: any[]) => void;
146
- onFilterPanelChange?: (value: Record<string, any>) => void;
147
- onFilterValueChange?: (value: string | any[] | (() => any)) => void;
148
- onFocusedColumnIndexChange?: (value: number) => void;
149
- onFocusedRowIndexChange?: (value: number) => void;
150
- onFocusedRowKeyChange?: (value: any) => void;
151
- onPagingChange?: (value: Record<string, any>) => void;
152
- onSearchPanelChange?: (value: Record<string, any>) => void;
153
- onSelectedRowKeysChange?: (value: any[]) => void;
154
- }>) => import("react").JSX.Element;
155
- tags: string[];
156
- argTypes: {};
157
- parameters: {
158
- controls: {
159
- sort: string;
160
- exclude: string[];
161
- };
162
- };
163
- };
164
- export default _default;
165
- export declare const BasicTreeList: any;
@@ -1,15 +0,0 @@
1
- import { TableProps } from "antd/es/table/InternalTable";
2
- export interface DataType {
3
- Task_Subject: string;
4
- Task_Start_Date: string;
5
- Task_Due_Date: number;
6
- Task_Status: string;
7
- Task_Priority: number;
8
- Task_Completion: number;
9
- Task_Parent_ID: number;
10
- }
11
- export declare const columns: TableProps<DataType>["columns"];
12
- export declare const priorities: {
13
- id: number;
14
- value: string;
15
- }[];
@@ -1,24 +0,0 @@
1
- export interface Employee {
2
- ID: number;
3
- Name: string;
4
- Picture?: string;
5
- }
6
- interface Task {
7
- Task_ID: number;
8
- Task_Assigned_Employee_ID: number;
9
- Task_Subject: string;
10
- Task_Start_Date: string;
11
- Task_Due_Date: string;
12
- Task_Status: string;
13
- Task_Priority: number;
14
- Task_Completion: number;
15
- Task_Parent_ID: number;
16
- Task_Assigned_Employee?: Employee;
17
- }
18
- export declare const tasks: Task[];
19
- export declare const employees: Employee[];
20
- export declare const priorities: {
21
- id: number;
22
- value: string;
23
- }[];
24
- export {};
@@ -1 +0,0 @@
1
- export declare const BasicTreeListTemplate: any;
@@ -1,4 +0,0 @@
1
- import { TreeListTypes } from 'devextreme-react/tree-list';
2
- import React from 'react';
3
- declare const EmployeeCell: (props: TreeListTypes.ColumnCellTemplateData) => React.JSX.Element;
4
- export default EmployeeCell;