@acuteinfo/common-base 1.2.38-beta.8 → 1.2.38-beta.9
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/common/printButton/printButton.d.ts +8 -1
- package/dist/components/dataTable/backdrop.d.ts +1 -1
- package/dist/components/dataTable/styledComponents/slider.d.ts +1 -1
- package/dist/components/report/gridTable.d.ts +1 -1
- package/dist/components/report/types.d.ts +1 -1
- package/dist/components/styledComponent/inputLabel/inputLabel.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/atoms.d.ts +16 -50
- package/dist/packages/form/src/field.d.ts +2 -40
- package/dist/packages/form/src/fieldArray.d.ts +4 -5
- package/dist/packages/form/src/fieldArrayStepper.d.ts +4 -5
- package/dist/packages/form/src/form.d.ts +2 -18
- package/package.json +1 -1
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { IReactToPrintProps } from "react-to-print";
|
|
2
2
|
export interface DefaultChieldData {
|
|
3
3
|
buttonText?: string;
|
|
4
|
+
/**
|
|
5
|
+
* Enable keyboard shortcut (Alt+S) when button text contains "save"
|
|
6
|
+
* @default true
|
|
7
|
+
*/
|
|
8
|
+
enableShortcut?: boolean;
|
|
9
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
10
|
+
eventKey?: string;
|
|
4
11
|
}
|
|
5
12
|
type PrintAllProps = Merge<DefaultChieldData, IReactToPrintProps>;
|
|
6
|
-
export declare const PrintButton: ({ content, buttonText, ...other }: PrintAllProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const PrintButton: ({ content, buttonText, enableShortcut, shortcut, eventKey, ...other }: PrintAllProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
14
|
export type Merge<A, B> = {
|
|
8
15
|
[K in keyof A]: K extends keyof B ? B[K] : A[K];
|
|
9
16
|
} & B extends infer O ? {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const CustomBackdrop: import("react").JSXElementConstructor<Omit<import("@mui/material/Backdrop").BackdropOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "onChange" | "onBlur" | "
|
|
4
|
+
}, "onChange" | "onBlur" | "children" | "ref" | "color" | "content" | "transitionDuration" | "translate" | "exit" | "hidden" | "style" | "open" | "classes" | "className" | "sx" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "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" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "components" | "componentsProps" | "slotProps" | "slots" | "enter" | "in" | "TransitionComponent" | "mountOnEnter" | "unmountOnExit" | "timeout" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "invisible">, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledSlider: import("react").JSXElementConstructor<Omit<import("@mui/material/Slider").SliderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
4
|
-
}, "onChange" | "value" | "
|
|
4
|
+
}, "onChange" | "value" | "color" | "scale" | "size" | "style" | "disabled" | "classes" | "className" | "sx" | "track" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "name" | "components" | "componentsProps" | "slotProps" | "slots" | "step" | "max" | "min" | "orientation" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat">, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "active" | "track" | "rail" | "thumb" | "valueLabel"> & object>;
|
|
@@ -49,7 +49,7 @@ interface GridTableType {
|
|
|
49
49
|
actions?: {
|
|
50
50
|
buttonStyle?: SxProps;
|
|
51
51
|
buttonName: ReactNode;
|
|
52
|
-
callback: (event: any, originalData: any, rows: any) => void;
|
|
52
|
+
callback: (event: any, originalData: any, rows: any, nonGroupedRawRows: any) => void;
|
|
53
53
|
enableShortcut?: boolean;
|
|
54
54
|
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
55
55
|
eventKey?: string;
|
|
@@ -195,7 +195,7 @@ export interface ReportGridProps {
|
|
|
195
195
|
actions?: {
|
|
196
196
|
buttonStyle?: SxProps;
|
|
197
197
|
buttonName: ReactNode;
|
|
198
|
-
callback: (event: any, originalData: any, rows: any) => void;
|
|
198
|
+
callback: (event: any, originalData: any, rows: any, nonGroupedRawRows: any) => void;
|
|
199
199
|
}[];
|
|
200
200
|
/**
|
|
201
201
|
* The callback function to extract out current report data.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const MyInputLabel: import("react").JSXElementConstructor<Omit<import("@mui/material/InputLabel").InputLabelOwnProps & Pick<import("@mui/material").FormLabelOwnProps, "color" | "filled"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLLabelElement | null) => void) | import("react").RefObject<HTMLLabelElement> | null | undefined;
|
|
4
|
-
}, "
|
|
4
|
+
}, "children" | "color" | "margin" | "size" | "style" | "filled" | "disabled" | "classes" | "variant" | "className" | "error" | "focused" | "required" | "sx" | "disableAnimation" | "shrink">, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "shrink"> & object>;
|
|
5
5
|
export default MyInputLabel;
|