ods-component-lib 1.18.37 → 1.18.38
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/dist/components/antd/button/OdsButton.d.ts +7 -5
- package/dist/components/antd/datepicker/{OdsDateRangePicker.d.ts → OdsDateRangepicker.d.ts} +1 -1
- package/dist/components/antd/table/OdsBasicTable.d.ts +2 -1
- package/dist/components/antd/table/OdsSelectableTable.d.ts +2 -1
- package/dist/index.js +11 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11 -15
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsCustomMultiSelect/OdsCustomMultiSelect.stories.d.ts +9 -0
- package/dist/stories/OdsCustomMultiSelect/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsCustomMultiSelect/Samples/ModeMultiple.Sample.d.ts +1 -0
- package/dist/stories/OdsDateRangePicker/OdsDateRangePicker.stories.d.ts +34 -0
- package/dist/stories/OdsDateRangePicker/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsDateRangePicker/Samples/LimitDateRange.Sample.d.ts +1 -0
- package/dist/stories/OdsDateRangePicker/Samples/SelectRangeDatesInSevenDays.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +28 -0
- package/dist/stories/OdsDatepicker/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/Samples/DateFormat.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/Samples/MaskFormat.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/Samples/Multiple.Sample.d.ts +1 -0
- package/dist/stories/OdsDatepicker/Samples/NeedConfirm.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/OdsSelect.stories.d.ts +65 -0
- package/dist/stories/OdsSelect/Samples/BasicWithDisabled.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/CustomSelectionRenderTemplate.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/CustomTagRenderWithDefaultValueTemplate.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/ModeMultipleMaxCount.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/ModeMultipleNumber.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/ModeMultipleResponsive.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/ModeSingle.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/Samples/ModeTags.Sample.d.ts +1 -0
- package/dist/stories/OdsTable/OdsTable.stories.d.ts +126 -0
- package/dist/stories/OdsTable/Samples/BasicTable/OdsBasicTable.Constants.d.ts +9 -0
- package/dist/stories/OdsTable/Samples/BasicTable/OdsBasicTable.MockData.d.ts +2 -0
- package/dist/stories/OdsTable/Samples/BasicTable/OdsBasicTable.Sample.d.ts +1 -0
- package/dist/stories/OdsTable/Samples/SelectableTable/OdsSelectableTable.Constants.d.ts +9 -0
- package/dist/stories/OdsTable/Samples/SelectableTable/OdsSelectableTable.MockData.d.ts +2 -0
- package/dist/stories/OdsTable/Samples/SelectableTable/OdsSelectableTable.Sample.d.ts +1 -0
- package/package.json +3 -2
- package/dist/components/devextreme/OdsDatagridProps.d.ts +0 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import CustomMultiSelect from "../../components/antd/select/OdsCustomMultiSelect";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof CustomMultiSelect;
|
|
5
|
+
tags: string[];
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Basic: any;
|
|
9
|
+
export declare const ModeMultiple: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModeMultipleTemplate: any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
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;
|
|
16
|
+
tags: string[];
|
|
17
|
+
argTypes: {
|
|
18
|
+
onChange: {
|
|
19
|
+
action: string;
|
|
20
|
+
};
|
|
21
|
+
disabledDate: {
|
|
22
|
+
control: boolean;
|
|
23
|
+
description: string;
|
|
24
|
+
type: {
|
|
25
|
+
name: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
|
+
export declare const Basic: any;
|
|
33
|
+
export declare const LimitDateRange: any;
|
|
34
|
+
export declare const SelectRangeDatesInSevenDays: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LimitDateRangeTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SelectRangeDatesInSevenDaysTemplate: any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
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" | "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" | "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"> & {
|
|
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("dayjs").Dayjs>) => import("react").JSX.Element;
|
|
16
|
+
tags: string[];
|
|
17
|
+
argTypes: {
|
|
18
|
+
onChange: {
|
|
19
|
+
action: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
export declare const Basic: any;
|
|
25
|
+
export declare const MaskFormat: any;
|
|
26
|
+
export declare const DateFormat: any;
|
|
27
|
+
export declare const Multiple: any;
|
|
28
|
+
export declare const NeedConfirm: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DateFormatTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MaskFormatTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MultipleTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NeedConfirmTemplate: any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import Select from "../../components/antd/select/OdsSelect";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof Select;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
size: {
|
|
8
|
+
options: string[];
|
|
9
|
+
control: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
variant: {
|
|
14
|
+
options: string[];
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
onBlur: {
|
|
20
|
+
action: string;
|
|
21
|
+
};
|
|
22
|
+
onChange: {
|
|
23
|
+
action: string;
|
|
24
|
+
};
|
|
25
|
+
onClear: {
|
|
26
|
+
action: string;
|
|
27
|
+
};
|
|
28
|
+
onDeselect: {
|
|
29
|
+
action: string;
|
|
30
|
+
};
|
|
31
|
+
onDropdownVisibleChange: {
|
|
32
|
+
action: string;
|
|
33
|
+
};
|
|
34
|
+
onFocus: {
|
|
35
|
+
action: string;
|
|
36
|
+
};
|
|
37
|
+
onInputKeyDown: {
|
|
38
|
+
action: string;
|
|
39
|
+
};
|
|
40
|
+
onMouseEnter: {
|
|
41
|
+
action: string;
|
|
42
|
+
};
|
|
43
|
+
onMouseLeave: {
|
|
44
|
+
action: string;
|
|
45
|
+
};
|
|
46
|
+
onPopupScroll: {
|
|
47
|
+
action: string;
|
|
48
|
+
};
|
|
49
|
+
onSearch: {
|
|
50
|
+
action: string;
|
|
51
|
+
};
|
|
52
|
+
onSelect: {
|
|
53
|
+
action: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
58
|
+
export declare const BasicWithDisabled: any;
|
|
59
|
+
export declare const ModeSingleAllowClearShowSearch: any;
|
|
60
|
+
export declare const ModeMultipleMaxCount: any;
|
|
61
|
+
export declare const ModeMultipleResponsive: any;
|
|
62
|
+
export declare const ModeMultipleNumber: any;
|
|
63
|
+
export declare const ModeTags: any;
|
|
64
|
+
export declare const CustomTagRenderWithDefaultValue: any;
|
|
65
|
+
export declare const CustomSelectionRender: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicWithDisabledTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CustomSelectionRenderTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CustomTagRenderWithDefaultValueTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModeMultipleMaxCountTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModeMultipleNumberTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModeMultipleResponsiveTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModeSingleAllowClearShowSearchTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModeTagsTemplate: any;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import OdsBasicTable from "../../components/antd/table/OdsBasicTable";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsBasicTable;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
dataSource: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
columns: {
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
pagination: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
loading: {
|
|
17
|
+
description: string;
|
|
18
|
+
defaultValue: {
|
|
19
|
+
summary: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
description: string;
|
|
24
|
+
defaultValue: {
|
|
25
|
+
summary: string;
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
28
|
+
control: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
bordered: {
|
|
33
|
+
description: string;
|
|
34
|
+
defaultValue: {
|
|
35
|
+
summary: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
locale: {
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
onChange: {
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
rowSelection: {
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
getPopupContainer: {
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
scroll: {
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
sortDirections: {
|
|
54
|
+
description: string;
|
|
55
|
+
defaultValue: {
|
|
56
|
+
summary: string[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
showSorterTooltip: {
|
|
60
|
+
description: string;
|
|
61
|
+
defaultValue: {
|
|
62
|
+
summary: {
|
|
63
|
+
target: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
virtual: {
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
title: {
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
rowKey: {
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
tableLayout: {
|
|
77
|
+
description: string;
|
|
78
|
+
options: string[];
|
|
79
|
+
control: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
defaultValue: {
|
|
83
|
+
summary: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
expandable: {
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
rowClassName: {
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
footer: {
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
summary: {
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
showHeader: {
|
|
99
|
+
description: string;
|
|
100
|
+
defaultValue: {
|
|
101
|
+
summary: boolean;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
components: {
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
onRow: {
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
onHeaderRow: {
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
sticky: {
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
parameters: {
|
|
118
|
+
controls: {
|
|
119
|
+
sort: string;
|
|
120
|
+
exclude: string[];
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export default _default;
|
|
125
|
+
export declare const BasicTable: any;
|
|
126
|
+
export declare const SelectableTable: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTableTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SelectableTableTemplate: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ods-component-lib",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.38",
|
|
4
4
|
"description": "Odeon design system component lib",
|
|
5
5
|
"author": "OdeonTechnology",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"predeploy": "cd example && npm install && npm run build",
|
|
24
24
|
"deploy": "gh-pages -d example/build",
|
|
25
25
|
"storybook": "storybook dev -p 6006",
|
|
26
|
-
"build-storybook": "storybook build"
|
|
26
|
+
"build-storybook": "storybook build",
|
|
27
|
+
"build-storybook-docs": "storybook build --docs"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
30
|
"react": "^18.2.0"
|