@dexteel/mesf-core 4.20.3 → 4.20.4

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.20.3"
2
+ ".": "4.20.4"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # Changelog
2
+
3
+ ## [4.20.4](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.20.3...@dexteel/mesf-core-v4.20.4) (2024-11-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **Config Users & Profiles:** show context menu on click options button ([#321](https://github.com/dexteel/mesf-core-frontend/issues/321)) ([bd3b3fb](https://github.com/dexteel/mesf-core-frontend/commit/bd3b3fbcf0c673923d2034174d587c729a919ce7))
9
+
10
+ ## [4.20.3] - 2024-10-22
11
+
12
+
13
+
1
14
  # Changelog
2
15
 
3
16
  ## [4.20.3](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.20.2...@dexteel/mesf-core-v4.20.3) (2024-10-22)
@@ -16,7 +16,7 @@ interface MESFModalProps {
16
16
  }
17
17
  declare function Modal({ children, title, handleClose, open, id, maxWidth, }: MESFModalProps): React.JSX.Element;
18
18
  export declare const MesfModal: typeof Modal & {
19
- Content: React.ComponentType<Pick<import("@material-ui/core").DialogContentProps, "color" | "content" | "translate" | "hidden" | "style" | "id" | "children" | "ref" | "slot" | "title" | "dividers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "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" | "innerRef"> & import("@material-ui/core").StyledComponentProps<"root">>;
20
- Actions: React.ComponentType<Pick<import("@material-ui/core").DialogActionsProps, "color" | "content" | "translate" | "hidden" | "style" | "id" | "children" | "ref" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "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" | "innerRef" | "disableSpacing"> & import("@material-ui/core").StyledComponentProps<"root">>;
19
+ Content: React.ComponentType<Pick<import("@material-ui/core").DialogContentProps, "color" | "content" | "translate" | "hidden" | "style" | "id" | "children" | "ref" | "slot" | "title" | "dividers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "placeholder" | "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" | "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" | "innerRef"> & import("@material-ui/core").StyledComponentProps<"root">>;
20
+ Actions: React.ComponentType<Pick<import("@material-ui/core").DialogActionsProps, "color" | "content" | "translate" | "hidden" | "style" | "id" | "children" | "ref" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "placeholder" | "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" | "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" | "innerRef" | "disableSpacing"> & import("@material-ui/core").StyledComponentProps<"root">>;
21
21
  };
22
22
  export default MesfModal;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const buttonsCellRenderer: (params: any) => React.JSX.Element;
package/dist/index.esm.js CHANGED
@@ -3060,7 +3060,7 @@ var useTableData$2 = function (_a) {
3060
3060
  ProfileName: ProfileName
3061
3061
  });
3062
3062
  });
3063
- var columnDefs = useState([
3063
+ var columnDefs = [
3064
3064
  {
3065
3065
  field: "ProfileName",
3066
3066
  headerName: "Profile name",
@@ -3106,7 +3106,9 @@ var useTableData$2 = function (_a) {
3106
3106
  }); })();
3107
3107
  } },
3108
3108
  React__default.createElement(DeleteIcon, { color: "secondary" })),
3109
- React__default.createElement(Button, { style: {}, onClick: function (e) { return showContextMenu(e, params.data); } },
3109
+ React__default.createElement(Button, { style: {}, onClick: function (e) {
3110
+ return showContextMenu(e, params.data, "TableProfiles");
3111
+ } },
3110
3112
  React__default.createElement(FormatListBulletedSharpIcon, { style: { height: "auto" }, color: "action" })))));
3111
3113
  },
3112
3114
  headerName: " ",
@@ -3117,7 +3119,7 @@ var useTableData$2 = function (_a) {
3117
3119
  flex: 2,
3118
3120
  minWidth: 300
3119
3121
  },
3120
- ])[0];
3122
+ ];
3121
3123
  return { rows: rows, columnDefs: columnDefs };
3122
3124
  };
3123
3125
 
@@ -3270,7 +3272,7 @@ var TableProfiles = function (_a) {
3270
3272
  margin: "20px 0 10px"
3271
3273
  } },
3272
3274
  React.createElement("div", { style: gridStyle, className: "ag-theme-alpine" },
3273
- React.createElement(AgGridReact, { rowData: rows, columnDefs: columnDefs, defaultColDef: defaultColDef, rowHeight: 34, headerHeight: 34, loadingOverlayComponent: loadingOverlayComponent, animateRows: true, getContextMenuItems: function (e) { return getContextMenuItems(e); }, pagination: true, rowSelection: "single", onRowDoubleClicked: function (event) {
3275
+ React.createElement(AgGridReact, { rowData: rows, columnDefs: columnDefs, defaultColDef: defaultColDef, rowHeight: 34, headerHeight: 34, loadingOverlayComponent: loadingOverlayComponent, animateRows: true, getContextMenuItems: function (e) { return getContextMenuItems(e); }, pagination: true, getRowId: function (params) { return params.data.ProfileId; }, rowSelection: "single", onRowDoubleClicked: function (event) {
3274
3276
  setProfile(event.data);
3275
3277
  setModalProceduresProfile(true);
3276
3278
  }, onGridReady: function (params) { return setGridApi(params.api); } }))),
@@ -4153,7 +4155,7 @@ var useTableData$1 = function (_a) {
4153
4155
  CanEdit: CanEdit
4154
4156
  });
4155
4157
  });
4156
- var columnDefs = useState([
4158
+ var columnDefs = [
4157
4159
  {
4158
4160
  field: "PatternStart",
4159
4161
  headerName: "Pattern Start",
@@ -4236,7 +4238,7 @@ var useTableData$1 = function (_a) {
4236
4238
  }); })();
4237
4239
  } },
4238
4240
  React__default.createElement(DeleteIcon, { color: "secondary" })),
4239
- React__default.createElement(Button, { style: {}, onClick: function (e) { return showContextMenu(e, params.data); } },
4241
+ React__default.createElement(Button, { style: {}, onClick: function (e) { return showContextMenu(e, params.data, "TableShifts"); } },
4240
4242
  React__default.createElement(FormatListBulletedSharpIcon, { color: "action" })))));
4241
4243
  },
4242
4244
  field: "",
@@ -4246,7 +4248,7 @@ var useTableData$1 = function (_a) {
4246
4248
  autoHeight: false,
4247
4249
  suppressNavigable: true
4248
4250
  },
4249
- ])[0];
4251
+ ];
4250
4252
  return { rows: rows, columnDefs: columnDefs };
4251
4253
  };
4252
4254
 
@@ -6670,11 +6672,60 @@ var useStyles$3 = makeStyles(function (theme) { return ({
6670
6672
  }
6671
6673
  }
6672
6674
  }); });
6675
+ var buttonsCellRenderer = function (params) {
6676
+ var classes = useStyles$3();
6677
+ var setUserId = params.setUserId, setOpenModalEditDataUser = params.setOpenModalEditDataUser, setOpenModalDeleteUser = params.setOpenModalDeleteUser, setOpenModalChangePasswordd = params.setOpenModalChangePasswordd, showContextMenu = params.showContextMenu;
6678
+ return (React__default.createElement(Grid, { container: true, style: {
6679
+ height: "100%",
6680
+ display: "flex",
6681
+ justifyContent: "center",
6682
+ alignItems: "center"
6683
+ }, className: classes.buttons },
6684
+ React__default.createElement(Grid, { item: true, xs: 12, md: 12, style: {
6685
+ display: "flex",
6686
+ justifyContent: "center",
6687
+ alignItems: "center"
6688
+ } },
6689
+ React__default.createElement(Button, { onClick: function () {
6690
+ (function () { return __awaiter(void 0, void 0, void 0, function () {
6691
+ return __generator(this, function (_a) {
6692
+ setUserId(params.data.UserId);
6693
+ setOpenModalChangePasswordd(true);
6694
+ return [2 /*return*/];
6695
+ });
6696
+ }); })();
6697
+ } },
6698
+ React__default.createElement(LockOutlinedIcon, { style: { height: "auto" }, color: "primary" })),
6699
+ React__default.createElement(Button, { onClick: function () {
6700
+ (function () { return __awaiter(void 0, void 0, void 0, function () {
6701
+ return __generator(this, function (_a) {
6702
+ setUserId(params.data.UserId);
6703
+ setOpenModalEditDataUser(true);
6704
+ return [2 /*return*/];
6705
+ });
6706
+ }); })();
6707
+ } },
6708
+ React__default.createElement(EditIcon, { style: { height: "auto" }, color: "primary" })),
6709
+ React__default.createElement(Button, { onClick: function () {
6710
+ (function () { return __awaiter(void 0, void 0, void 0, function () {
6711
+ return __generator(this, function (_a) {
6712
+ setUserId(params.data.UserId);
6713
+ setOpenModalDeleteUser(true);
6714
+ return [2 /*return*/];
6715
+ });
6716
+ }); })();
6717
+ } },
6718
+ React__default.createElement(DeleteIcon, { style: { height: "auto" }, color: "secondary" })),
6719
+ React__default.createElement(Button, { style: {}, onClick: function (e) {
6720
+ showContextMenu(e, params.data, "TableUsers");
6721
+ } },
6722
+ React__default.createElement(FormatListBulletedSharpIcon, { style: { height: "auto" }, color: "action" })))));
6723
+ };
6724
+
6673
6725
  var useTableData = function (_a) {
6674
6726
  var setUserId = _a.setUserId, setOpenModalEditDataUser = _a.setOpenModalEditDataUser, setOpenModalDeleteUser = _a.setOpenModalDeleteUser, setOpenModalChangePasswordd = _a.setOpenModalChangePasswordd, showContextMenu = _a.showContextMenu;
6675
6727
  var state = useUsersContext().state;
6676
- var classes = useStyles$3();
6677
- var columnDefs = useState([
6728
+ var columnDefs = [
6678
6729
  {
6679
6730
  field: "UserName",
6680
6731
  headerName: "UserName",
@@ -6727,50 +6778,13 @@ var useTableData = function (_a) {
6727
6778
  }
6728
6779
  },
6729
6780
  {
6730
- cellRenderer: function (params) {
6731
- return (React__default.createElement(Grid, { container: true, style: {
6732
- height: "100%",
6733
- display: "flex",
6734
- justifyContent: "center",
6735
- alignItems: "center"
6736
- }, className: classes.buttons },
6737
- React__default.createElement(Grid, { item: true, xs: 12, md: 12, style: {
6738
- display: "flex",
6739
- justifyContent: "center",
6740
- alignItems: "center"
6741
- } },
6742
- React__default.createElement(Button, { onClick: function () {
6743
- (function () { return __awaiter(void 0, void 0, void 0, function () {
6744
- return __generator(this, function (_a) {
6745
- setUserId(params.data.UserId);
6746
- setOpenModalChangePasswordd(true);
6747
- return [2 /*return*/];
6748
- });
6749
- }); })();
6750
- } },
6751
- React__default.createElement(LockOutlinedIcon, { style: { height: "auto" }, color: "primary" })),
6752
- React__default.createElement(Button, { onClick: function () {
6753
- (function () { return __awaiter(void 0, void 0, void 0, function () {
6754
- return __generator(this, function (_a) {
6755
- setUserId(params.data.UserId);
6756
- setOpenModalEditDataUser(true);
6757
- return [2 /*return*/];
6758
- });
6759
- }); })();
6760
- } },
6761
- React__default.createElement(EditIcon, { style: { height: "auto" }, color: "primary" })),
6762
- React__default.createElement(Button, { onClick: function () {
6763
- (function () { return __awaiter(void 0, void 0, void 0, function () {
6764
- return __generator(this, function (_a) {
6765
- setUserId(params.data.UserId);
6766
- setOpenModalDeleteUser(true);
6767
- return [2 /*return*/];
6768
- });
6769
- }); })();
6770
- } },
6771
- React__default.createElement(DeleteIcon, { style: { height: "auto" }, color: "secondary" })),
6772
- React__default.createElement(Button, { style: {}, onClick: function (e) { return showContextMenu(e, params.data); } },
6773
- React__default.createElement(FormatListBulletedSharpIcon, { style: { height: "auto" }, color: "action" })))));
6781
+ cellRenderer: buttonsCellRenderer,
6782
+ cellRendererParams: {
6783
+ setUserId: setUserId,
6784
+ setOpenModalEditDataUser: setOpenModalEditDataUser,
6785
+ setOpenModalDeleteUser: setOpenModalDeleteUser,
6786
+ setOpenModalChangePasswordd: setOpenModalChangePasswordd,
6787
+ showContextMenu: showContextMenu
6774
6788
  },
6775
6789
  wrapText: false,
6776
6790
  autoHeight: false,
@@ -6781,7 +6795,7 @@ var useTableData = function (_a) {
6781
6795
  minWidth: 260,
6782
6796
  maxWidth: 260
6783
6797
  },
6784
- ])[0];
6798
+ ];
6785
6799
  var rows = state.users.map(function (_a) {
6786
6800
  var UserId = _a.UserId, UserName = _a.UserName, LastName = _a.LastName, FirstName = _a.FirstName, Profiles = _a.Profiles;
6787
6801
  return ({
@@ -7018,7 +7032,7 @@ var TableUsers = function (_a) {
7018
7032
  margin: "20px 0 10px"
7019
7033
  } },
7020
7034
  React.createElement("div", { style: gridStyle, className: "ag-theme-alpine" },
7021
- React.createElement(AgGridReact, { rowData: rows, columnDefs: columnDefs, defaultColDef: defaultColDef, rowHeight: 34, headerHeight: 34, loadingOverlayComponent: loadingOverlayComponent, animateRows: true, getContextMenuItems: getContextMenuItems, pagination: true, rowSelection: "single", onRowDoubleClicked: function (event) {
7035
+ React.createElement(AgGridReact, { rowData: rows, columnDefs: columnDefs, defaultColDef: defaultColDef, rowHeight: 34, headerHeight: 34, loadingOverlayComponent: loadingOverlayComponent, animateRows: true, getContextMenuItems: getContextMenuItems, pagination: true, getRowId: function (params) { return params.data.UserId; }, rowSelection: "single", onRowDoubleClicked: function (event) {
7022
7036
  setUserId(event.data.UserId);
7023
7037
  setOpenModalEditDataUser(true);
7024
7038
  }, onGridReady: function (params) { return setGridApi(params.api); } }))),