@m4l/components 0.0.26 → 0.0.31
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/CompanyLogo/index.js +0 -1
- package/dist/components/DataGrid/index.js +14 -11
- package/dist/components/DynamicFilter/components/ApplyedFilters/components/ApplyedFilter/index.d.ts +3 -0
- package/dist/components/DynamicFilter/components/ApplyedFilters/components/ApplyedFilter/styles.d.ts +6 -0
- package/dist/components/DynamicFilter/components/ApplyedFilters/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/ApplyedFilters/styles.d.ts +2 -0
- package/dist/components/DynamicFilter/components/ClearFilters/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/ClearFilters/styles.d.ts +3 -0
- package/dist/components/DynamicFilter/components/FilterButton/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/FilterButton/styles.d.ts +4 -0
- package/dist/components/DynamicFilter/components/InputFilter/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/InputFilter/styles.d.ts +3 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/BooleanFilter/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/BooleanFilter/styles.d.ts +3 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/DateTimeFilter/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/DateTimeFilter/styles.d.ts +3 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/StringFilter/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/StringFilter/styles.d.ts +3 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/factory.d.ts +6 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/components/validations.d.ts +5 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/index.d.ts +2 -0
- package/dist/components/DynamicFilter/components/PopupEditFilter/styles.d.ts +5 -0
- package/dist/components/DynamicFilter/contexts/BaseContext/index.d.ts +5 -0
- package/dist/components/DynamicFilter/contexts/BaseContext/types.d.ts +42 -0
- package/dist/components/DynamicFilter/hooks/useFilter.d.ts +1 -0
- package/dist/components/DynamicFilter/index.d.ts +3 -0
- package/dist/components/DynamicFilter/index.js +1392 -0
- package/dist/components/DynamicFilter/styles.d.ts +8 -0
- package/dist/components/DynamicFilter/types.d.ts +65 -0
- package/dist/components/FormActions/index.js +2 -1
- package/dist/components/FormActions/types.d.ts +2 -2
- package/dist/components/Icon/index.js +4 -2
- package/dist/components/Icon/styles.d.ts +1 -2
- package/dist/components/Icon/types.d.ts +4 -2
- package/dist/components/Image/index.js +1 -2
- package/dist/components/ModalDialog/dictionary.d.ts +1 -1
- package/dist/components/ModalDialog/index.js +3 -2
- package/dist/components/ModalDialog/types.d.ts +2 -1
- package/dist/components/ObjectLogs/index.js +51 -98
- package/dist/components/ObjectLogs/types.d.ts +0 -2
- package/dist/components/ScrollBar/index.d.ts +6 -3
- package/dist/components/ScrollBar/index.js +7 -15
- package/dist/components/hook-form/FormProvider/index.js +0 -1
- package/dist/components/hook-form/RHFAutocomplete/index.d.ts +4 -0
- package/dist/components/hook-form/RHFAutocomplete/styles.d.ts +5 -0
- package/dist/components/hook-form/RHFAutocomplete/types.d.ts +13 -0
- package/dist/components/hook-form/RHFAutocompleteAsync/index.js +0 -2
- package/dist/components/hook-form/RHFDateTime/index.d.ts +4 -0
- package/dist/components/hook-form/RHFDateTime/styles.d.ts +2 -0
- package/dist/components/hook-form/RHFDateTime/types.d.ts +9 -0
- package/dist/components/hook-form/RHFDateTime.js +72 -0
- package/dist/components/hook-form/RHFTextField/index.d.ts +1 -2
- package/dist/components/hook-form/RHFTextField/index.js +6 -3
- package/dist/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/index.d.ts +3 -0
- package/dist/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/styles.d.ts +4 -0
- package/dist/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/types.d.ts +11 -0
- package/dist/components/hook-form/RHFUpload/RHFUploadImage/index.d.ts +3 -0
- package/dist/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +14 -0
- package/dist/components/hook-form/RHFUpload/index.d.ts +1 -0
- package/dist/components/hook-form/RHFUpload/types.d.ts +4 -0
- package/dist/components/hook-form/RHFUpload.js +182 -0
- package/dist/components/hook-form/index.d.ts +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/mui_extended/MenuActions/index.js +1 -1
- package/dist/components/mui_extended/MenuActions/styles.d.ts +1 -1
- package/dist/contexts/ModalContext/types.d.ts +2 -1
- package/dist/index.js +51 -46
- package/dist/lodash.js +61 -1
- package/dist/node_modules.js +1307 -1
- package/dist/simplebar.js +1 -0
- package/dist/style.css +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/vendor.js +226 -0
- package/package.json +9 -8
- package/dist/components/ScrollBar/styles.d.ts +0 -6
- package/dist/components/ScrollBar/types.d.ts +0 -7
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TextFieldProps } from '@mui/material';
|
|
3
2
|
import { RHFTextFieldProps } from './types';
|
|
4
|
-
export declare function RHFTextField(props: RHFTextFieldProps & TextFieldProps): JSX.Element;
|
|
3
|
+
export declare const RHFTextField: import("react").ForwardRefExoticComponent<(Pick<RHFTextFieldProps & import("@mui/material").StandardTextFieldProps, "error" | "size" | "label" | "slot" | "select" | "style" | "title" | "color" | "translate" | "margin" | "sx" | "key" | "children" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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-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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "name" | "type" | "autoFocus" | "disabled" | "value" | "autoComplete" | "required" | "rows" | "fullWidth" | "focused" | "inputProps" | "inputRef" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "maxRows" | "minRows" | "SelectProps" | "skeletonProps"> | Pick<RHFTextFieldProps & import("@mui/material").FilledTextFieldProps, "error" | "size" | "label" | "slot" | "select" | "style" | "title" | "color" | "translate" | "margin" | "sx" | "key" | "children" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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-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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "name" | "type" | "autoFocus" | "disabled" | "value" | "autoComplete" | "required" | "rows" | "fullWidth" | "focused" | "inputProps" | "inputRef" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "maxRows" | "minRows" | "SelectProps" | "skeletonProps"> | Pick<RHFTextFieldProps & import("@mui/material").OutlinedTextFieldProps, "error" | "size" | "label" | "slot" | "select" | "style" | "title" | "color" | "translate" | "margin" | "sx" | "key" | "children" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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-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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "name" | "type" | "autoFocus" | "disabled" | "value" | "autoComplete" | "required" | "rows" | "fullWidth" | "focused" | "inputProps" | "inputRef" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "maxRows" | "minRows" | "SelectProps" | "skeletonProps">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useFormContext, Controller } from "react-hook-form";
|
|
2
2
|
import { Skeleton, TextField } from "@mui/material";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
+
import { forwardRef } from "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
6
7
|
theme
|
|
@@ -12,7 +13,7 @@ const SKTRHFWrapperTextField = styled("div")(({
|
|
|
12
13
|
padding: "12px 14px",
|
|
13
14
|
borderRadius: theme.spacing(1)
|
|
14
15
|
}));
|
|
15
|
-
|
|
16
|
+
const RHFTextField = forwardRef((props, ref) => {
|
|
16
17
|
const {
|
|
17
18
|
name,
|
|
18
19
|
autoComplete = "off",
|
|
@@ -20,7 +21,7 @@ function RHFTextField(props) {
|
|
|
20
21
|
...other
|
|
21
22
|
} = props;
|
|
22
23
|
const {
|
|
23
|
-
isSkeleton =
|
|
24
|
+
isSkeleton = false,
|
|
24
25
|
width = "100%",
|
|
25
26
|
height = 14
|
|
26
27
|
} = skeletoProps;
|
|
@@ -45,6 +46,7 @@ function RHFTextField(props) {
|
|
|
45
46
|
error
|
|
46
47
|
}
|
|
47
48
|
}) => /* @__PURE__ */ jsx(TextField, {
|
|
49
|
+
inputRef: ref,
|
|
48
50
|
autoComplete,
|
|
49
51
|
...field,
|
|
50
52
|
fullWidth: true,
|
|
@@ -53,5 +55,6 @@ function RHFTextField(props) {
|
|
|
53
55
|
...other
|
|
54
56
|
})
|
|
55
57
|
});
|
|
56
|
-
}
|
|
58
|
+
});
|
|
59
|
+
RHFTextField.displayName = "RHFTextField";
|
|
57
60
|
export { RHFTextField as R };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const RootStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const DropZoneStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const PlaceholderStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DropzoneOptions } from 'react-dropzone';
|
|
3
|
+
import type { SxProps } from '@mui/material';
|
|
4
|
+
import type { Theme } from '@mui/material/styles';
|
|
5
|
+
import { CustomFile } from '../../../types';
|
|
6
|
+
export interface UploadImageProps extends DropzoneOptions {
|
|
7
|
+
error?: boolean;
|
|
8
|
+
file: CustomFile | string | null;
|
|
9
|
+
helperText?: ReactNode;
|
|
10
|
+
sx?: SxProps<Theme>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DropzoneOptions } from 'react-dropzone';
|
|
3
|
+
import { CustomFile } from '../types';
|
|
4
|
+
import type { SxProps } from '@mui/material';
|
|
5
|
+
import type { Theme } from '@mui/material/styles';
|
|
6
|
+
export interface UploadImageProps extends DropzoneOptions {
|
|
7
|
+
error?: boolean;
|
|
8
|
+
file: CustomFile | string | null;
|
|
9
|
+
helperText?: ReactNode;
|
|
10
|
+
sx?: SxProps<Theme>;
|
|
11
|
+
}
|
|
12
|
+
export interface RHFUploadImageProps extends Omit<UploadImageProps, 'file' | 'onDrop'> {
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RHFUploadImage } from './RHFUploadImage/';
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { Typography, FormHelperText } from "@mui/material";
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
+
import { i as isString_1 } from "../../lodash.js";
|
|
5
|
+
import { u as useDropzone } from "../../node_modules.js";
|
|
6
|
+
import { I as Image } from "../Image/index.js";
|
|
7
|
+
import { useEnvironment } from "@m4l/core";
|
|
8
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
9
|
+
import "../../react-lazy-load-image-component.js";
|
|
10
|
+
import { styled } from "@mui/material/styles";
|
|
11
|
+
const RootStyle = styled("div")(({
|
|
12
|
+
theme
|
|
13
|
+
}) => ({
|
|
14
|
+
width: 144,
|
|
15
|
+
height: 144,
|
|
16
|
+
margin: "auto",
|
|
17
|
+
borderRadius: theme.spacing(1),
|
|
18
|
+
padding: theme.spacing(1),
|
|
19
|
+
border: `1px dashed ${theme.palette.grey[50032]}`
|
|
20
|
+
}));
|
|
21
|
+
const DropZoneStyle = styled("div")(({
|
|
22
|
+
theme
|
|
23
|
+
}) => ({
|
|
24
|
+
zIndex: 0,
|
|
25
|
+
width: "100%",
|
|
26
|
+
height: "100%",
|
|
27
|
+
outline: "none",
|
|
28
|
+
display: "flex",
|
|
29
|
+
overflow: "hidden",
|
|
30
|
+
borderRadius: theme.spacing(1),
|
|
31
|
+
position: "relative",
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
justifyContent: "center",
|
|
34
|
+
"& > *": {
|
|
35
|
+
width: "100%",
|
|
36
|
+
height: "100%"
|
|
37
|
+
},
|
|
38
|
+
"&:hover": {
|
|
39
|
+
cursor: "pointer",
|
|
40
|
+
"& .placeholder": {
|
|
41
|
+
zIndex: 9
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}));
|
|
45
|
+
const PlaceholderStyle = styled("div")(({
|
|
46
|
+
theme
|
|
47
|
+
}) => ({
|
|
48
|
+
display: "flex",
|
|
49
|
+
position: "absolute",
|
|
50
|
+
alignItems: "center",
|
|
51
|
+
flexDirection: "column",
|
|
52
|
+
justifyContent: "center",
|
|
53
|
+
color: theme.palette.text.secondary,
|
|
54
|
+
backgroundColor: theme.palette.background.neutral,
|
|
55
|
+
transition: theme.transitions.create("opacity", {
|
|
56
|
+
easing: theme.transitions.easing.easeInOut,
|
|
57
|
+
duration: theme.transitions.duration.shorter
|
|
58
|
+
}),
|
|
59
|
+
"&:hover": {
|
|
60
|
+
opacity: 0.72
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
function UploadImage({
|
|
64
|
+
error,
|
|
65
|
+
file,
|
|
66
|
+
helperText,
|
|
67
|
+
sx,
|
|
68
|
+
...other
|
|
69
|
+
}) {
|
|
70
|
+
const {
|
|
71
|
+
getRootProps,
|
|
72
|
+
getInputProps,
|
|
73
|
+
isDragActive,
|
|
74
|
+
isDragReject
|
|
75
|
+
} = useDropzone({
|
|
76
|
+
multiple: false,
|
|
77
|
+
...other
|
|
78
|
+
});
|
|
79
|
+
const {
|
|
80
|
+
host_static_assets,
|
|
81
|
+
environment
|
|
82
|
+
} = useEnvironment();
|
|
83
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
84
|
+
children: [/* @__PURE__ */ jsx(RootStyle, {
|
|
85
|
+
sx: {
|
|
86
|
+
...(isDragReject || error) && {
|
|
87
|
+
borderColor: "error.light"
|
|
88
|
+
},
|
|
89
|
+
...sx
|
|
90
|
+
},
|
|
91
|
+
children: /* @__PURE__ */ jsxs(DropZoneStyle, {
|
|
92
|
+
...getRootProps(),
|
|
93
|
+
sx: {
|
|
94
|
+
...isDragActive && {
|
|
95
|
+
opacity: 0.72
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
99
|
+
...getInputProps()
|
|
100
|
+
}), file && /* @__PURE__ */ jsx(Image, {
|
|
101
|
+
alt: "avatar",
|
|
102
|
+
src: isString_1(file) ? file : file.preview,
|
|
103
|
+
sx: {
|
|
104
|
+
zIndex: 8
|
|
105
|
+
}
|
|
106
|
+
}), /* @__PURE__ */ jsxs(PlaceholderStyle, {
|
|
107
|
+
className: "placeholder",
|
|
108
|
+
sx: {
|
|
109
|
+
...file && {
|
|
110
|
+
opacity: 0,
|
|
111
|
+
color: "common.white",
|
|
112
|
+
bgcolor: "grey.900",
|
|
113
|
+
"&:hover": {
|
|
114
|
+
opacity: 0.72
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
...(isDragReject || error) && {
|
|
118
|
+
bgcolor: "error.lighter"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
children: [/* @__PURE__ */ jsx(Image, {
|
|
122
|
+
src: `${host_static_assets}/${environment}/frontend/commons/assets/icons/more_vertical.svg`,
|
|
123
|
+
effect: "opacity",
|
|
124
|
+
width: "24",
|
|
125
|
+
height: "24",
|
|
126
|
+
mb: 1
|
|
127
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
128
|
+
variant: "caption",
|
|
129
|
+
children: file ? "Update photo" : "Upload photo"
|
|
130
|
+
})]
|
|
131
|
+
})]
|
|
132
|
+
})
|
|
133
|
+
}), helperText && helperText]
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
function RHFUploadImage({
|
|
137
|
+
name,
|
|
138
|
+
...other
|
|
139
|
+
}) {
|
|
140
|
+
const {
|
|
141
|
+
control,
|
|
142
|
+
setValue
|
|
143
|
+
} = useFormContext();
|
|
144
|
+
const handleDrop = useCallback((acceptedFiles) => {
|
|
145
|
+
const file = acceptedFiles[0];
|
|
146
|
+
console.log("handleDrop**", URL.createObjectURL(file));
|
|
147
|
+
if (file) {
|
|
148
|
+
setValue(name, {
|
|
149
|
+
...file,
|
|
150
|
+
preview: URL.createObjectURL(file)
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
}, [setValue]);
|
|
154
|
+
return /* @__PURE__ */ jsx(Controller, {
|
|
155
|
+
name,
|
|
156
|
+
control,
|
|
157
|
+
render: ({
|
|
158
|
+
field,
|
|
159
|
+
fieldState: {
|
|
160
|
+
error
|
|
161
|
+
}
|
|
162
|
+
}) => {
|
|
163
|
+
const checkError = !!error && !field.value;
|
|
164
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
165
|
+
children: [/* @__PURE__ */ jsx(UploadImage, {
|
|
166
|
+
onDrop: handleDrop,
|
|
167
|
+
error: checkError,
|
|
168
|
+
...other,
|
|
169
|
+
file: field.value
|
|
170
|
+
}), checkError && /* @__PURE__ */ jsx(FormHelperText, {
|
|
171
|
+
error: true,
|
|
172
|
+
sx: {
|
|
173
|
+
px: 2,
|
|
174
|
+
textAlign: "center"
|
|
175
|
+
},
|
|
176
|
+
children: error.message
|
|
177
|
+
})]
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
export { RHFUploadImage as R };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { FormProvider } from './FormProvider';
|
|
2
|
+
export { RHFAutocomplete } from './RHFAutocomplete';
|
|
2
3
|
export { RHFAutocompleteAsync } from './RHFAutocompleteAsync';
|
|
3
4
|
export { RHFCheckbox } from './RHFCheckbox';
|
|
5
|
+
export { RHFDateTime } from './RHFDateTime';
|
|
4
6
|
export { RHFMultiCheckbox } from './RHFMultiCheckbox';
|
|
5
7
|
export { RHFSelect } from './RHFSelect';
|
|
6
8
|
export { RHFTextField } from './RHFTextField';
|
|
7
9
|
export { RHFRadioGroup } from './RHFRadioGroup';
|
|
10
|
+
export * from './RHFUpload';
|
|
@@ -7,6 +7,7 @@ export { DateFormatter, BooleanFormatter } from '../components/DataGrid/formatte
|
|
|
7
7
|
export type { Column } from 'react-data-grid';
|
|
8
8
|
export type { RowKey } from '../components/DataGrid/types';
|
|
9
9
|
export { getGridComponentsDictionary } from '../components/DataGrid/dictionary';
|
|
10
|
+
export * from '../components/DynamicFilter';
|
|
10
11
|
export * from '../components/FormActions';
|
|
11
12
|
export * from '../components/FormActions/dictionary';
|
|
12
13
|
export * from '../components/Icon';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const WrapperMenuActions: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
4
|
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
5
|
-
color?: "
|
|
5
|
+
color?: "warning" | "info" | "primary" | "error" | "inherit" | "default" | "secondary" | "success" | undefined;
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
disableFocusRipple?: boolean | undefined;
|
|
8
8
|
edge?: false | "end" | "start" | undefined;
|
|
@@ -7,13 +7,14 @@ export interface StandarActions {
|
|
|
7
7
|
onClickIntro?: () => void;
|
|
8
8
|
onClickCancel?: () => void;
|
|
9
9
|
}
|
|
10
|
-
export declare type VariantModal = 'warning' | 'delete' | 'info';
|
|
10
|
+
export declare type VariantModal = 'warning' | 'delete' | 'info' | 'primary';
|
|
11
11
|
export interface ModalOpenOptions {
|
|
12
12
|
initialWidth?: number;
|
|
13
13
|
initialHeigth?: number;
|
|
14
14
|
maxWidth?: number;
|
|
15
15
|
maxHeigth?: number;
|
|
16
16
|
withClose?: boolean;
|
|
17
|
+
variant?: VariantModal;
|
|
17
18
|
onQueryClose?: () => void;
|
|
18
19
|
title: string;
|
|
19
20
|
iconComponent?: ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -1,73 +1,78 @@
|
|
|
1
|
+
export { v as varFade } from "./components/animate/variants/fade.js";
|
|
2
|
+
export { v as varBounce } from "./components/animate/variants/bounce.js";
|
|
3
|
+
export { v as varContainer } from "./components/animate/variants/container.js";
|
|
4
|
+
export { v as varTranEnter, a as varTranExit, b as varTranHover } from "./components/animate/variants/transition.js";
|
|
1
5
|
export { I as IconButton, a as IconButtonAnimate } from "./components/mui_extended/IconButton/index.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-hook-form";
|
|
6
|
+
export { M as MotionContainer } from "./components/animate/MotionContainer/index.js";
|
|
7
|
+
export { M as MotionLazyContainer } from "./components/animate/MotionLazyContainer/index.js";
|
|
7
8
|
export { F as FormProvider } from "./components/hook-form/FormProvider/index.js";
|
|
8
|
-
|
|
9
|
-
import "@m4l/core";
|
|
10
|
-
import "@mui/lab";
|
|
11
|
-
export { M as ModalContext, a as ModalProvider } from "./contexts/ModalContext/index.js";
|
|
9
|
+
export { R as RHFAutocomplete } from "./vendor.js";
|
|
12
10
|
export { R as RHFAutocompleteAsync } from "./components/hook-form/RHFAutocompleteAsync/index.js";
|
|
13
11
|
export { R as RHFCheckbox } from "./components/hook-form/RHFCheckbox/index.js";
|
|
12
|
+
export { R as RHFDateTime } from "./components/hook-form/RHFDateTime.js";
|
|
13
|
+
export { R as RHFMultiCheckbox } from "./components/hook-form/RHFMultiCheckbox/index.js";
|
|
14
|
+
export { R as RHFSelect } from "./components/hook-form/RHFSelect.js";
|
|
14
15
|
export { R as RHFTextField } from "./components/hook-form/RHFTextField/index.js";
|
|
16
|
+
export { R as RHFRadioGroup } from "./components/hook-form/RHFRadioGroup.js";
|
|
17
|
+
export { R as RHFUploadImage } from "./components/hook-form/RHFUpload.js";
|
|
18
|
+
export { A as Accordion } from "./components/mui_extended/Accordion/index.js";
|
|
19
|
+
export { B as BoxIcon } from "./components/mui_extended/BoxIcon/index.js";
|
|
20
|
+
export { B as Breadcrumbs } from "./components/mui_extended/Breadcrumbs/index.js";
|
|
21
|
+
export { L as LinkWithRoute } from "./components/mui_extended/LinkWithRoute/index.js";
|
|
15
22
|
export { L as LoadingButton } from "./components/mui_extended/LoadingButton/index.js";
|
|
16
|
-
export { M as MenuPopover } from "./components/mui_extended/MenuPopover/index.js";
|
|
17
23
|
export { M as MenuActions } from "./components/mui_extended/MenuActions/index.js";
|
|
24
|
+
export { M as MenuPopover } from "./components/mui_extended/MenuPopover/index.js";
|
|
18
25
|
export { P as Pager, g as getPagerComponentsDictionary } from "./components/mui_extended/Pager/index.js";
|
|
19
26
|
export { T as Tab } from "./components/mui_extended/Tab/index.js";
|
|
20
|
-
|
|
27
|
+
export { T as Typography } from "./components/mui_extended/Typography/index.js";
|
|
21
28
|
export { C as CompanyLogo } from "./components/CompanyLogo/index.js";
|
|
22
|
-
import "./react-lazy-load-image-component.js";
|
|
23
|
-
import "@mui/material/styles";
|
|
24
|
-
export { I as Image } from "./components/Image/index.js";
|
|
25
29
|
export { D as DataGrid, g as getGridComponentsDictionary } from "./components/DataGrid/index.js";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
export { B as BooleanFormatter } from "./components/DataGrid/formatters/BooleanFormatter/index.js";
|
|
31
|
+
export { D as DateFormatter } from "./components/DataGrid/formatters/DateFormatter/index.js";
|
|
32
|
+
export { D as DynamicFilter } from "./components/DynamicFilter/index.js";
|
|
29
33
|
export { F as FormActions, d as defaultActionsDictionary, g as getActionnsComponentsDictionary } from "./components/FormActions/index.js";
|
|
30
34
|
export { I as Icon } from "./components/Icon/index.js";
|
|
31
|
-
|
|
35
|
+
export { I as Image } from "./components/Image/index.js";
|
|
36
|
+
export { L as LanguagePopover } from "./components/LanguagePopover/index.js";
|
|
37
|
+
export { L as Loadable } from "./components/Loadable/index.js";
|
|
32
38
|
export { M as ModalDialog, d as defaultModalDialogDictionary, g as getModalDialogComponentsDictionary } from "./components/ModalDialog/index.js";
|
|
33
|
-
export { R as Resizeable } from "./components/Resizeable/index.js";
|
|
34
39
|
export { N as NoItemSelected, d as defaultNoItemSelectedDictionary, g as getNoItemSelectedComponentsDictionary } from "./components/NoItemSelected/index.js";
|
|
35
|
-
import "@mui/x-date-pickers";
|
|
36
40
|
export { O as ObjectLogs, d as defaultObjectLogDictionary, g as getObjectLogsComponentsDictionary } from "./components/ObjectLogs/index.js";
|
|
37
|
-
import "./react-json-view.js";
|
|
38
41
|
export { P as PaperForm } from "./components/PaperForm/index.js";
|
|
39
42
|
export { P as PropertyValue } from "./components/PropertyValue/index.js";
|
|
40
|
-
export {
|
|
41
|
-
import "./
|
|
43
|
+
export { R as Resizeable } from "./components/Resizeable/index.js";
|
|
44
|
+
import "./components/ScrollBar/index.js";
|
|
42
45
|
export { S as SplitLayout } from "./components/SplitLayout/index.js";
|
|
43
|
-
export {
|
|
44
|
-
export { v as varBounce } from "./components/animate/variants/bounce.js";
|
|
45
|
-
export { v as varContainer } from "./components/animate/variants/container.js";
|
|
46
|
-
export { v as varTranEnter, a as varTranExit, b as varTranHover } from "./components/animate/variants/transition.js";
|
|
47
|
-
export { M as MotionContainer } from "./components/animate/MotionContainer/index.js";
|
|
48
|
-
export { M as MotionLazyContainer } from "./components/animate/MotionLazyContainer/index.js";
|
|
49
|
-
export { R as RHFMultiCheckbox } from "./components/hook-form/RHFMultiCheckbox/index.js";
|
|
50
|
-
export { R as RHFSelect } from "./components/hook-form/RHFSelect.js";
|
|
51
|
-
export { R as RHFRadioGroup } from "./components/hook-form/RHFRadioGroup.js";
|
|
52
|
-
export { A as Accordion } from "./components/mui_extended/Accordion/index.js";
|
|
53
|
-
export { B as BoxIcon } from "./components/mui_extended/BoxIcon/index.js";
|
|
54
|
-
export { B as Breadcrumbs } from "./components/mui_extended/Breadcrumbs/index.js";
|
|
55
|
-
export { L as LinkWithRoute } from "./components/mui_extended/LinkWithRoute/index.js";
|
|
56
|
-
export { T as Typography } from "./components/mui_extended/Typography/index.js";
|
|
57
|
-
export { B as BooleanFormatter } from "./components/DataGrid/formatters/BooleanFormatter/index.js";
|
|
58
|
-
export { D as DateFormatter } from "./components/DataGrid/formatters/DateFormatter/index.js";
|
|
59
|
-
export { L as LanguagePopover } from "./components/LanguagePopover/index.js";
|
|
60
|
-
export { L as Loadable } from "./components/Loadable/index.js";
|
|
46
|
+
export { M as ModalContext, a as ModalProvider } from "./contexts/ModalContext/index.js";
|
|
61
47
|
export { u as useModal } from "./hooks/useModal/index.js";
|
|
48
|
+
import "framer-motion";
|
|
49
|
+
import "react";
|
|
50
|
+
import "@mui/material";
|
|
51
|
+
import "react/jsx-runtime";
|
|
52
|
+
import "@m4l/core";
|
|
53
|
+
import "react-hook-form";
|
|
62
54
|
import "./node_modules.js";
|
|
63
|
-
import "react-dom";
|
|
64
|
-
import "./react-data-grid.js";
|
|
65
|
-
import "clsx";
|
|
66
55
|
import "prop-types";
|
|
67
|
-
import "
|
|
56
|
+
import "@mui/material/styles";
|
|
57
|
+
import "react-router-dom";
|
|
58
|
+
import "@mui/lab";
|
|
59
|
+
import "@mui/x-date-pickers";
|
|
60
|
+
import "./lodash.js";
|
|
68
61
|
import "./commonjs.js";
|
|
62
|
+
import "react-dom";
|
|
63
|
+
import "clsx";
|
|
64
|
+
import "./react-lazy-load-image-component.js";
|
|
65
|
+
import "@m4l/graphics";
|
|
66
|
+
import "react-dnd";
|
|
67
|
+
import "react-dnd-html5-backend";
|
|
68
|
+
import "date-fns";
|
|
69
69
|
import "./simplebar.js";
|
|
70
70
|
import "./core-js.js";
|
|
71
|
-
import "./lodash.js";
|
|
72
71
|
import "./juggle.js";
|
|
73
72
|
import "./can-use-dom.js";
|
|
73
|
+
import "yup";
|
|
74
|
+
import "./react-draggable.js";
|
|
75
|
+
import "./react-json-view.js";
|
|
76
|
+
import "./react-splitter-layout.js";
|
|
77
|
+
import "./react-data-grid.js";
|
|
78
|
+
import "./react-resizable.js";
|
package/dist/lodash.js
CHANGED
|
@@ -1,4 +1,64 @@
|
|
|
1
1
|
import { c as commonjsGlobal } from "./commonjs.js";
|
|
2
|
+
var freeGlobal$4 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
3
|
+
var _freeGlobal = freeGlobal$4;
|
|
4
|
+
var freeGlobal$3 = _freeGlobal;
|
|
5
|
+
var freeSelf$3 = typeof self == "object" && self && self.Object === Object && self;
|
|
6
|
+
var root$4 = freeGlobal$3 || freeSelf$3 || Function("return this")();
|
|
7
|
+
var _root = root$4;
|
|
8
|
+
var root$3 = _root;
|
|
9
|
+
var Symbol$3 = root$3.Symbol;
|
|
10
|
+
var _Symbol = Symbol$3;
|
|
11
|
+
var Symbol$2 = _Symbol;
|
|
12
|
+
var objectProto$4 = Object.prototype;
|
|
13
|
+
var hasOwnProperty$1 = objectProto$4.hasOwnProperty;
|
|
14
|
+
var nativeObjectToString$1 = objectProto$4.toString;
|
|
15
|
+
var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
16
|
+
function getRawTag$1(value) {
|
|
17
|
+
var isOwn = hasOwnProperty$1.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
18
|
+
try {
|
|
19
|
+
value[symToStringTag$1] = void 0;
|
|
20
|
+
var unmasked = true;
|
|
21
|
+
} catch (e) {
|
|
22
|
+
}
|
|
23
|
+
var result = nativeObjectToString$1.call(value);
|
|
24
|
+
if (unmasked) {
|
|
25
|
+
if (isOwn) {
|
|
26
|
+
value[symToStringTag$1] = tag;
|
|
27
|
+
} else {
|
|
28
|
+
delete value[symToStringTag$1];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return result;
|
|
32
|
+
}
|
|
33
|
+
var _getRawTag = getRawTag$1;
|
|
34
|
+
var objectProto$3 = Object.prototype;
|
|
35
|
+
var nativeObjectToString = objectProto$3.toString;
|
|
36
|
+
function objectToString$4(value) {
|
|
37
|
+
return nativeObjectToString.call(value);
|
|
38
|
+
}
|
|
39
|
+
var _objectToString = objectToString$4;
|
|
40
|
+
var Symbol$1 = _Symbol, getRawTag = _getRawTag, objectToString$3 = _objectToString;
|
|
41
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
42
|
+
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
43
|
+
function baseGetTag$1(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value === void 0 ? undefinedTag : nullTag;
|
|
46
|
+
}
|
|
47
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString$3(value);
|
|
48
|
+
}
|
|
49
|
+
var _baseGetTag = baseGetTag$1;
|
|
50
|
+
var isArray$1 = Array.isArray;
|
|
51
|
+
var isArray_1 = isArray$1;
|
|
52
|
+
function isObjectLike$3(value) {
|
|
53
|
+
return value != null && typeof value == "object";
|
|
54
|
+
}
|
|
55
|
+
var isObjectLike_1 = isObjectLike$3;
|
|
56
|
+
var baseGetTag = _baseGetTag, isArray = isArray_1, isObjectLike$2 = isObjectLike_1;
|
|
57
|
+
var stringTag = "[object String]";
|
|
58
|
+
function isString(value) {
|
|
59
|
+
return typeof value == "string" || !isArray(value) && isObjectLike$2(value) && baseGetTag(value) == stringTag;
|
|
60
|
+
}
|
|
61
|
+
var isString_1 = isString;
|
|
2
62
|
var FUNC_ERROR_TEXT$2 = "Expected a function";
|
|
3
63
|
var NAN$1 = 0 / 0;
|
|
4
64
|
var symbolTag$1 = "[object Symbol]";
|
|
@@ -486,4 +546,4 @@ function isObject(value) {
|
|
|
486
546
|
return !!value && (type == "object" || type == "function");
|
|
487
547
|
}
|
|
488
548
|
var lodash_memoize = memoize;
|
|
489
|
-
export { lodash_debounce as a, lodash_memoize as b, lodash_throttle as l };
|
|
549
|
+
export { lodash_debounce as a, lodash_memoize as b, isString_1 as i, lodash_throttle as l };
|