@aveonline/ui-react 2.5.4 → 2.6.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/dist/index.d.ts +2 -0
- package/dist/tailwind.css +1 -1
- package/dist/ui/atoms/Avatar/Avatar.d.ts +0 -1
- package/dist/ui/atoms/Badge/Badge.d.ts +0 -1
- package/dist/ui/atoms/Button/Button.d.ts +0 -1
- package/dist/ui/atoms/Checkbox/Checkbox.d.ts +0 -1
- package/dist/ui/atoms/Icon/Icon.d.ts +0 -1
- package/dist/ui/atoms/Icon/Svg.d.ts +0 -1
- package/dist/ui/atoms/Logo/Logo.d.ts +0 -1
- package/dist/ui/atoms/Radio/Radio.d.ts +0 -1
- package/dist/ui/atoms/Spinner/Spinner.d.ts +0 -1
- package/dist/ui/atoms/Switch/Switch.d.ts +0 -1
- package/dist/ui/atoms/Tooltip/Tooltip.d.ts +0 -1
- package/dist/ui/atoms/Tooltip/TooltipFloat.d.ts +0 -1
- package/dist/ui/atoms/Tracker/Tracker.d.ts +0 -1
- package/dist/ui/atoms/Typography/Heading/Heading.d.ts +0 -1
- package/dist/ui/atoms/Typography/Heading/IHeading.d.ts +0 -1
- package/dist/ui/atoms/Typography/Link/ILink.d.ts +0 -1
- package/dist/ui/atoms/Typography/Link/Link.d.ts +0 -1
- package/dist/ui/atoms/Typography/Text/IText.d.ts +0 -1
- package/dist/ui/atoms/Typography/Text/Text.d.ts +0 -1
- package/dist/ui/atoms/Typography/Text/TextRef.d.ts +0 -1
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/molecules/Cards/CardHistory/CardHistory.d.ts +0 -1
- package/dist/ui/molecules/Cards/CardSelect/CardSelect.d.ts +0 -1
- package/dist/ui/molecules/Cards/CardSelect/ICardSelect.d.ts +0 -1
- package/dist/ui/molecules/DateInputPicker/Atoms/CustomButton.d.ts +0 -1
- package/dist/ui/molecules/DateInputPicker/Atoms/CustomInput.d.ts +0 -1
- package/dist/ui/molecules/DateInputPicker/Atoms/CustomRangeInput.d.ts +0 -1
- package/dist/ui/molecules/DateInputPicker/Atoms/PluginEspecialDates.d.ts +0 -1
- package/dist/ui/molecules/DateInputPicker/DateInputPicker.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownButton/DropdownButton.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownButton/IDropdownButton.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownFilter/DropdownFilter.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownFilter/Popover.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownFilterMultiple/DropdownFilterMultiple.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownSummary/DropdownSummary.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownSummary/IDropdownSummary.d.ts +0 -1
- package/dist/ui/molecules/Dropdowns/DropdownUser/DropdownUser.d.ts +0 -1
- package/dist/ui/molecules/EmptyState/BoxSvg.d.ts +0 -1
- package/dist/ui/molecules/EmptyState/EmptyState.d.ts +0 -1
- package/dist/ui/molecules/EmptyState/PadlockSvg.d.ts +0 -1
- package/dist/ui/molecules/Field/Container.d.ts +0 -1
- package/dist/ui/molecules/Field/Field.d.ts +0 -1
- package/dist/ui/molecules/Field/Footer.d.ts +0 -1
- package/dist/ui/molecules/Field/IField.d.ts +0 -1
- package/dist/ui/molecules/Field/useField.d.ts +3 -1
- package/dist/ui/molecules/Flag/Flag.d.ts +0 -1
- package/dist/ui/molecules/Flag/IFlag.d.ts +0 -1
- package/dist/ui/molecules/Header/Header.d.ts +0 -1
- package/dist/ui/molecules/Header/IHeader.d.ts +0 -1
- package/dist/ui/molecules/Header/NavigationMovil.d.ts +0 -1
- package/dist/ui/molecules/Indicator/Bar/Bar.d.ts +0 -1
- package/dist/ui/molecules/Indicator/Graphic/Graphic.d.ts +0 -1
- package/dist/ui/molecules/Indicator/Line/ILine.d.ts +15 -0
- package/dist/ui/molecules/Indicator/Line/Line.d.ts +2 -0
- package/dist/ui/molecules/Indicator/Line/index.d.ts +2 -0
- package/dist/ui/molecules/Indicator/Pie/Pie.d.ts +0 -1
- package/dist/ui/molecules/Indicator/TimeLine/ITimeline.d.ts +23 -0
- package/dist/ui/molecules/Indicator/TimeLine/TimeLine.d.ts +3 -0
- package/dist/ui/molecules/Indicator/TimeLine/atoms/ITickX.d.ts +18 -0
- package/dist/ui/molecules/Indicator/TimeLine/atoms/ITickY.d.ts +23 -0
- package/dist/ui/molecules/Indicator/TimeLine/atoms/TickX.d.ts +2 -0
- package/dist/ui/molecules/Indicator/TimeLine/atoms/TickY.d.ts +2 -0
- package/dist/ui/molecules/Indicator/TimeLine/atoms/Tooltip.d.ts +9 -0
- package/dist/ui/molecules/Indicator/TimeLine/atoms/index.d.ts +3 -0
- package/dist/ui/molecules/Indicator/TimeLine/index.d.ts +2 -0
- package/dist/ui/molecules/Indicator/TimeLine/useDays.d.ts +15 -0
- package/dist/ui/molecules/Indicator/TimeLine/useTimeLine.d.ts +13 -0
- package/dist/ui/molecules/InlineError/InlineError.d.ts +0 -1
- package/dist/ui/molecules/Modal/IModal.d.ts +0 -1
- package/dist/ui/molecules/Modal/Modal.d.ts +0 -1
- package/dist/ui/molecules/Navigation/Navigation.d.ts +0 -1
- package/dist/ui/molecules/Selectable/AsyncCreatableSelect/AsyncCreatableSelect.d.ts +0 -1
- package/dist/ui/molecules/Selectable/AsyncSelect/AsyncSelect.d.ts +0 -1
- package/dist/ui/molecules/Selectable/Select/Select.d.ts +0 -1
- package/dist/ui/molecules/Selectable/SelectButton/Option.d.ts +0 -1
- package/dist/ui/molecules/Selectable/SelectButton/SelectButton.d.ts +0 -1
- package/dist/ui/molecules/Selectable/SelectCountry/Option.d.ts +0 -1
- package/dist/ui/molecules/Selectable/SelectCountry/Prefix.d.ts +0 -1
- package/dist/ui/molecules/Selectable/SelectCountry/SelectCountry.d.ts +0 -1
- package/dist/ui/molecules/Selectable/SelectCountry/SingleValue.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/ClearIndicator.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/Container.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/Control.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/DropdownIndicator.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/Option.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/Placeholder.d.ts +0 -1
- package/dist/ui/molecules/Selectable/atoms/SingleValue.d.ts +0 -1
- package/dist/ui/molecules/Summary/Summary.d.ts +0 -1
- package/dist/ui/molecules/Tab/ITab.d.ts +0 -1
- package/dist/ui/molecules/Tab/Tab.d.ts +0 -1
- package/dist/ui/molecules/TabNav/TabNav.d.ts +0 -1
- package/dist/ui/molecules/Table/AsyncTable/AsyncTable.d.ts +0 -1
- package/dist/ui/molecules/Table/AsyncTable/atoms/ButtonPagination.d.ts +0 -1
- package/dist/ui/molecules/Table/AsyncTable/atoms/InputSearch.d.ts +0 -1
- package/dist/ui/molecules/Table/AsyncTable/atoms/SortTable.d.ts +0 -1
- package/dist/ui/molecules/Table/AsyncTable/atoms/pagination/Pagination.d.ts +0 -1
- package/dist/ui/molecules/Table/Table/Table.d.ts +0 -1
- package/dist/ui/molecules/Table/Table/atoms/ButtonPagination.d.ts +0 -1
- package/dist/ui/molecules/Table/Table/atoms/InputSearch.d.ts +0 -1
- package/dist/ui/molecules/Table/Table/atoms/Pagination.d.ts +0 -1
- package/dist/ui/molecules/Table/Table/atoms/SortTable.d.ts +0 -1
- package/dist/ui/molecules/TextArea/Footer.d.ts +0 -1
- package/dist/ui/molecules/TextArea/TextArea.d.ts +0 -1
- package/dist/ui/templates/Main/Main.d.ts +0 -1
- package/dist/ui-react.mjs +18498 -19054
- package/package.json +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Margin } from 'recharts/types/util/types';
|
|
2
|
+
import { YAxisProps } from 'recharts';
|
|
3
|
+
import { PositionY } from './atoms/ITickY';
|
|
4
|
+
export interface Data {
|
|
5
|
+
day: string | number;
|
|
6
|
+
group: number | string;
|
|
7
|
+
toolTipText: string;
|
|
8
|
+
toolTipTitle: string;
|
|
9
|
+
}
|
|
10
|
+
interface IScatterChart {
|
|
11
|
+
margin: Margin;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ITimeLine {
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
data: Data[];
|
|
18
|
+
positionY?: PositionY[];
|
|
19
|
+
classContainer?: string;
|
|
20
|
+
paddingTickY?: YAxisProps['padding'];
|
|
21
|
+
scatterChart?: IScatterChart;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IDayFormat {
|
|
2
|
+
day: number;
|
|
3
|
+
aux: number;
|
|
4
|
+
month: number;
|
|
5
|
+
year: number;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
group?: string | number;
|
|
9
|
+
text?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICustomizedAxisTickX {
|
|
12
|
+
x?: number;
|
|
13
|
+
y?: number;
|
|
14
|
+
payload?: {
|
|
15
|
+
value: number;
|
|
16
|
+
};
|
|
17
|
+
date: IDayFormat[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface ElementY {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
}
|
|
7
|
+
interface PositionY {
|
|
8
|
+
className: string;
|
|
9
|
+
positionrect?: ElementY;
|
|
10
|
+
text?: string;
|
|
11
|
+
value: number | string;
|
|
12
|
+
group: number | string;
|
|
13
|
+
toolTipText?: string;
|
|
14
|
+
toolTipTitle?: string;
|
|
15
|
+
}
|
|
16
|
+
interface ICustomizedAxisTickY {
|
|
17
|
+
x?: number;
|
|
18
|
+
y?: number;
|
|
19
|
+
group?: number | string;
|
|
20
|
+
positionY?: PositionY[];
|
|
21
|
+
tick: PositionY;
|
|
22
|
+
}
|
|
23
|
+
export type { ElementY, PositionY, ICustomizedAxisTickY };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NameType, Payload, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
2
|
+
import { DayInfo } from '../useDays';
|
|
3
|
+
interface Props<TValue extends ValueType, TName extends NameType> {
|
|
4
|
+
active?: boolean;
|
|
5
|
+
payload?: Payload<TValue, TName>[];
|
|
6
|
+
data: DayInfo[];
|
|
7
|
+
}
|
|
8
|
+
export default function CustomTooltip<TValue extends ValueType, TName extends NameType>({ active, payload, data }: Props<TValue, TName>): JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface DayInfo {
|
|
2
|
+
day: number;
|
|
3
|
+
aux: number;
|
|
4
|
+
month: number;
|
|
5
|
+
year: number;
|
|
6
|
+
group?: string | number;
|
|
7
|
+
toolTipText?: string;
|
|
8
|
+
toolTipTitle?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const useGenerateDaysArray: () => {
|
|
11
|
+
daysFormat: DayInfo[];
|
|
12
|
+
days: number[];
|
|
13
|
+
actualMonth: number;
|
|
14
|
+
actualYear: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Data } from './ITimeline';
|
|
2
|
+
import { PositionY } from './atoms/ITickY';
|
|
3
|
+
import { DayInfo } from './useDays';
|
|
4
|
+
interface Props {
|
|
5
|
+
data: Data[];
|
|
6
|
+
daysFormat: DayInfo[];
|
|
7
|
+
positionY?: PositionY[];
|
|
8
|
+
}
|
|
9
|
+
export declare function useTimeLine({ positionY, daysFormat, data }: Props): {
|
|
10
|
+
updatedDaysFormat: DayInfo[];
|
|
11
|
+
numberArrayTicks: () => number[];
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { IInlineError } from './IInlineError';
|
|
3
2
|
/**
|
|
4
3
|
* Inline errors are brief, in-context messages that tell merchants something went wrong with a single or group of inputs in a form. Use inline errors to help merchants understand why a form input may not be valid and how to fix it.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITextArea } from './ITextArea';
|
|
3
2
|
declare const TextArea: import("react").ForwardRefExoticComponent<Pick<ITextArea, "error" | "size" | "className" | "color" | "disabled" | "default" | "children" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "src" | "alt" | "as" | "type" | "onClick" | "start" | "id" | "name" | "value" | "helpText" | "onChange" | "isError" | "checked" | "target" | "hidden" | "htmlFor" | "kind" | "download" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "open" | "content" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "width" | "wmode" | "wrap" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "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-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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "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" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "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" | "showErrorText" | "resizable" | "onChangeValue"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
4
3
|
export default TextArea;
|