ods-component-lib 1.18.50 → 1.18.52

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 (33) hide show
  1. package/dist/components/antd/datepicker/OdsDateRangepicker.d.ts +1 -1
  2. package/dist/components/antd/image/OdsImage.d.ts +1 -4
  3. package/dist/components/antd/image/OdsImagePreviewGroup.d.ts +5 -1
  4. package/dist/components/antd/modal/OdsAdvanceModal.d.ts +7 -0
  5. package/dist/components/antd/typography/OdsTitle.d.ts +5 -1
  6. package/dist/components/devextreme/OdsRemoteDataGrid.d.ts +1 -0
  7. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +4 -0
  8. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
  9. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +77 -0
  10. package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +5 -0
  11. package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +3 -0
  12. package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +2 -0
  13. package/dist/index.js +8 -41
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.modern.js +8 -41
  16. package/dist/index.modern.js.map +1 -1
  17. package/dist/stories/OdsAlert/OdsAlert.stories.d.ts +54 -0
  18. package/dist/stories/OdsAlert/Samples/BasicAlert.Sample.d.ts +1 -0
  19. package/dist/stories/OdsAlert/Samples/IconAlert.Sample.d.ts +1 -0
  20. package/dist/stories/OdsBannerAlert/OdsBannerAlert.stories.d.ts +53 -0
  21. package/dist/stories/OdsBannerAlert/Samples/BasicBannerAlert.Sample.d.ts +1 -0
  22. package/dist/stories/OdsDateRangePicker/OdsDateRangePicker.stories.d.ts +2 -13
  23. package/dist/stories/OdsImage/OdsImage.stories.d.ts +14 -0
  24. package/dist/stories/OdsImage/Samples/Basic.Sample.d.ts +1 -0
  25. package/dist/stories/OdsImagePreviewGroup/OdsImagePreviewGroup.stories.d.ts +9 -0
  26. package/dist/stories/OdsImagePreviewGroup/Samples/OdsImagePreviewGroup.Sample.d.ts +1 -0
  27. package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
  28. package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
  29. package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
  30. package/dist/stories/OdsTimeline/OdsTimeline.stories.d.ts +47 -0
  31. package/dist/stories/OdsTitle/OdsTitle.stories.d.ts +64 -0
  32. package/dist/stories/OdsTitle/Samples/BasicTitle.Sample.d.ts +1 -0
  33. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ import OdsAlert from "../../components/antd/alert/OdsAlert";
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof OdsAlert;
5
+ tags: string[];
6
+ argTypes: {
7
+ action: {
8
+ description: string;
9
+ };
10
+ afterClose: {
11
+ action: string;
12
+ description: string;
13
+ };
14
+ banner: {
15
+ options: string[];
16
+ description: string;
17
+ };
18
+ closable: {
19
+ description: string;
20
+ };
21
+ description: {
22
+ description: string;
23
+ };
24
+ icon: {
25
+ description: string;
26
+ };
27
+ message: {
28
+ description: string;
29
+ };
30
+ showIcon: {
31
+ options: string[];
32
+ description: string;
33
+ };
34
+ type: {
35
+ options: string[];
36
+ control: {
37
+ type: string;
38
+ };
39
+ description: string;
40
+ };
41
+ onClose: {
42
+ action: string;
43
+ description: string;
44
+ };
45
+ };
46
+ parameters: {
47
+ controls: {
48
+ exclude: string[];
49
+ };
50
+ };
51
+ };
52
+ export default _default;
53
+ export declare const BasicAlert: any;
54
+ export declare const IconAlert: any;
@@ -0,0 +1 @@
1
+ export declare const BasicTemplate: any;
@@ -0,0 +1 @@
1
+ export declare const IconTemplate: any;
@@ -0,0 +1,53 @@
1
+ import OdsBannerAlert from "../../components/antd/alert/OdsBannerAlert";
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof OdsBannerAlert;
5
+ tags: string[];
6
+ argTypes: {
7
+ action: {
8
+ description: string;
9
+ };
10
+ afterClose: {
11
+ action: string;
12
+ description: string;
13
+ };
14
+ banner: {
15
+ options: string[];
16
+ description: string;
17
+ };
18
+ closable: {
19
+ description: string;
20
+ };
21
+ description: {
22
+ description: string;
23
+ };
24
+ icon: {
25
+ description: string;
26
+ };
27
+ message: {
28
+ description: string;
29
+ };
30
+ showIcon: {
31
+ options: string[];
32
+ description: string;
33
+ };
34
+ type: {
35
+ options: string[];
36
+ control: {
37
+ type: string;
38
+ };
39
+ description: string;
40
+ };
41
+ onClose: {
42
+ action: string;
43
+ description: string;
44
+ };
45
+ };
46
+ parameters: {
47
+ controls: {
48
+ exclude: string[];
49
+ };
50
+ };
51
+ };
52
+ export default _default;
53
+ export declare const BasicBannerAlert: any;
@@ -0,0 +1 @@
1
+ export declare const BasicTemplate: any;
@@ -1,18 +1,7 @@
1
- /// <reference types="react" />
1
+ import OdsDateRangePicker from '../../components/antd/datepicker/OdsDateRangepicker';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: (props: Pick<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "defaultValue" | "value" | "onChange" | "onOk" | "placeholder" | "id" | "disabled" | "onFocus" | "onBlur" | "onKeyDown" | "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" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "separator" | "ranges" | "allowEmpty"> & {
5
- locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
6
- size?: import("antd/es/button").ButtonSize;
7
- placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
8
- bordered?: boolean;
9
- status?: "" | "warning" | "error";
10
- variant?: "outlined" | "borderless" | "filled";
11
- dropdownClassName?: string;
12
- popupClassName?: string;
13
- rootClassName?: string;
14
- popupStyle?: import("react").CSSProperties;
15
- }) => import("react").JSX.Element;
4
+ component: typeof OdsDateRangePicker;
16
5
  tags: string[];
17
6
  argTypes: any;
18
7
  parameters: {
@@ -0,0 +1,14 @@
1
+ import OdsImage from '../../components/antd/image/OdsImage';
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof OdsImage;
5
+ tags: string[];
6
+ argTypes: any;
7
+ parameters: {
8
+ controls: {
9
+ exclude: any;
10
+ };
11
+ };
12
+ };
13
+ export default _default;
14
+ export declare const Basic: any;
@@ -0,0 +1 @@
1
+ export declare const BasicTemplate: any;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: (props: any) => import("react").JSX.Element;
5
+ tags: string[];
6
+ argTypes: any;
7
+ };
8
+ export default _default;
9
+ export declare const OdsImagePreviewGroupSample: any;
@@ -0,0 +1 @@
1
+ export declare const OdsImagePreviewGroupTemplate: any;
@@ -0,0 +1,3 @@
1
+ import { IOdsTimelineColumnProps } from "../../components/devextreme/OdsTimeline/OdsTimeline.Types";
2
+ export declare const columns: IOdsTimelineColumnProps[];
3
+ export declare const Constants: {};
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { ICheckboxColumnChange, IStatusColumnChange } from "../../components/devextreme/OdsTimeline/OdsTimeline.Types";
3
+ export declare const onStatusColumnChange: (e: IStatusColumnChange) => void;
4
+ export declare const onCheckboxColumnChange: (e: ICheckboxColumnChange) => void;
5
+ export declare const linkCellComponent: (props: any) => React.JSX.Element;
6
+ export declare const optionsCellComponent: (props: any) => React.JSX.Element;
@@ -0,0 +1,39 @@
1
+ export declare const tasks: {
2
+ id: number;
3
+ parentId: number;
4
+ title: string;
5
+ hotel: string;
6
+ brand: string;
7
+ provider: string;
8
+ isChecked: boolean;
9
+ hasImport: boolean;
10
+ hasExport: boolean;
11
+ hasBooking: boolean;
12
+ importType: {
13
+ type: string;
14
+ isActive: boolean;
15
+ }[];
16
+ exportType: {
17
+ type: string;
18
+ isActive: boolean;
19
+ }[];
20
+ start: Date;
21
+ end: Date;
22
+ color: string;
23
+ progress: number;
24
+ }[];
25
+ export declare const dependencies: {
26
+ id: number;
27
+ predecessorId: number;
28
+ successorId: number;
29
+ type: number;
30
+ }[];
31
+ export declare const resources: {
32
+ id: number;
33
+ text: string;
34
+ }[];
35
+ export declare const resourceAssignments: {
36
+ id: number;
37
+ taskId: number;
38
+ resourceId: number;
39
+ }[];
@@ -0,0 +1,47 @@
1
+ import React from "react";
2
+ import "devextreme/dist/css/dx.light.css";
3
+ import "devexpress-gantt/dist/dx-gantt.min.css";
4
+ import { IOdsTimelineProps } from "../../components/devextreme/OdsTimeline/OdsTimeline.Types";
5
+ import "./OdsTimeline.css";
6
+ declare const _default: {
7
+ title: string;
8
+ component: (props: IOdsTimelineProps) => React.JSX.Element;
9
+ tags: string[];
10
+ argTypes: {
11
+ onScaleCellPrepared: {
12
+ description: string;
13
+ };
14
+ taskContentRender: {
15
+ description: string;
16
+ };
17
+ taskContentComponent: {
18
+ description: string;
19
+ };
20
+ taskProgressTooltipContentRender: {
21
+ description: string;
22
+ };
23
+ taskProgressTooltipContentComponent: {
24
+ description: string;
25
+ };
26
+ taskTimeTooltipContentRender: {
27
+ description: string;
28
+ };
29
+ taskTimeTooltipContentComponent: {
30
+ description: string;
31
+ };
32
+ taskTooltipContentRender: {
33
+ description: string;
34
+ };
35
+ taskTooltipContentComponent: {
36
+ description: string;
37
+ };
38
+ };
39
+ parameters: {
40
+ layout: string;
41
+ controls: {
42
+ exclude: string[];
43
+ };
44
+ };
45
+ };
46
+ export default _default;
47
+ export declare const TimelineTemplate: any;
@@ -0,0 +1,64 @@
1
+ import OdsTitle from "../../components/antd/typography/OdsTitle";
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof OdsTitle;
5
+ tags: string[];
6
+ argTypes: {
7
+ code: {
8
+ options: string[];
9
+ description: string;
10
+ };
11
+ copyable: {
12
+ description: string;
13
+ };
14
+ delete: {
15
+ description: string;
16
+ };
17
+ disabled: {
18
+ options: string[];
19
+ description: string;
20
+ };
21
+ editable: {
22
+ description: string;
23
+ };
24
+ ellipsis: {
25
+ description: string;
26
+ };
27
+ level: {
28
+ options: string[];
29
+ control: {
30
+ type: string;
31
+ };
32
+ description: string;
33
+ };
34
+ mark: {
35
+ options: string[];
36
+ description: string;
37
+ };
38
+ onClick: {
39
+ action: string;
40
+ description: string;
41
+ };
42
+ italic: {
43
+ options: string[];
44
+ description: string;
45
+ };
46
+ type: {
47
+ options: string[];
48
+ control: {
49
+ type: string;
50
+ };
51
+ description: string;
52
+ };
53
+ underline: {
54
+ description: string;
55
+ };
56
+ };
57
+ parameters: {
58
+ controls: {
59
+ exclude: string[];
60
+ };
61
+ };
62
+ };
63
+ export default _default;
64
+ export declare const BasicCard: any;
@@ -0,0 +1 @@
1
+ export declare const BasicTemplate: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ods-component-lib",
3
- "version": "1.18.50",
3
+ "version": "1.18.52",
4
4
  "description": "Odeon design system component lib",
5
5
  "author": "OdeonTechnology",
6
6
  "license": "MIT",