@dexteel/mesf-core 3.9.2 → 3.10.1

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.
Files changed (74) hide show
  1. package/.deepsource.toml +4 -0
  2. package/dist/MESFMain.d.ts +2 -2
  3. package/dist/account/AuthProvider.d.ts +1 -1
  4. package/dist/account/account.d.ts +2 -2
  5. package/dist/account/changePassword.d.ts +2 -2
  6. package/dist/account/login-strategies/LoginAsGuest.d.ts +2 -2
  7. package/dist/account/login-strategies/LoginWithEmailAndPassword.d.ts +2 -2
  8. package/dist/account/login-strategies/azure-ad/LoginWithAzureAD.d.ts +2 -2
  9. package/dist/account/login-strategies/azure-ad/LoginWithAzureADForm.d.ts +2 -2
  10. package/dist/account/login.d.ts +2 -2
  11. package/dist/account/logout.d.ts +2 -2
  12. package/dist/components/home/home.d.ts +2 -2
  13. package/dist/components/modals/modal.mesf.d.ts +3 -3
  14. package/dist/components/navigation/Header.d.ts +2 -2
  15. package/dist/components/navigation/MainContainer.d.ts +2 -2
  16. package/dist/components/navigation/Navigation.d.ts +2 -2
  17. package/dist/components/navigation/areaSelector/area-selector.d.ts +2 -2
  18. package/dist/configuration/pages/job/JobsPage.d.ts +2 -2
  19. package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +2 -2
  20. package/dist/configuration/pages/job/context/JobsContext.d.ts +2 -2
  21. package/dist/configuration/pages/job/index.d.ts +2 -2
  22. package/dist/configuration/pages/log/LogsPage.d.ts +2 -2
  23. package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +2 -2
  24. package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +2 -2
  25. package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +2 -2
  26. package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +2 -2
  27. package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +2 -2
  28. package/dist/configuration/pages/log/context/LogsContext.d.ts +2 -2
  29. package/dist/configuration/pages/log/index.d.ts +2 -2
  30. package/dist/configuration/pages/profiles/ProfilesPage.d.ts +2 -2
  31. package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +2 -2
  32. package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +2 -2
  33. package/dist/configuration/pages/profiles/components/Edit/EditProfile.d.ts +2 -2
  34. package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +2 -2
  35. package/dist/configuration/pages/profiles/components/common/Pickers/PermissionsPicker.d.ts +2 -2
  36. package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +2 -2
  37. package/dist/configuration/pages/profiles/context/ProfileContext.d.ts +2 -2
  38. package/dist/configuration/pages/profiles/index.d.ts +2 -2
  39. package/dist/configuration/pages/shifCrew/ShiftsCrewsPage.d.ts +2 -2
  40. package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +2 -2
  41. package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +2 -2
  42. package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +2 -2
  43. package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +2 -2
  44. package/dist/configuration/pages/shifCrew/context/ShiftsCrewsContext.d.ts +2 -2
  45. package/dist/configuration/pages/shifCrew/index.d.ts +2 -2
  46. package/dist/configuration/pages/users/UsersPage.d.ts +2 -2
  47. package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +2 -2
  48. package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +2 -2
  49. package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +2 -2
  50. package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +2 -2
  51. package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +2 -2
  52. package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +2 -2
  53. package/dist/configuration/pages/users/context/UsersContext.d.ts +2 -2
  54. package/dist/configuration/pages/users/index.d.ts +2 -2
  55. package/dist/configuration/stylesGetters.d.ts +3 -3
  56. package/dist/configurationMenu.d.ts +1 -1
  57. package/dist/context/UTLSettingContext.d.ts +17 -0
  58. package/dist/context/assetContext.d.ts +2 -2
  59. package/dist/context/userContext.d.ts +2 -2
  60. package/dist/controls/LazyLoading/LazyLoading.d.ts +2 -2
  61. package/dist/controls/alert.d.ts +2 -2
  62. package/dist/controls/charts/genericChart.d.ts +2 -2
  63. package/dist/controls/filters/dialogFilter.d.ts +2 -2
  64. package/dist/controls/filters/filters.d.ts +11 -11
  65. package/dist/controls/panels.d.ts +5 -5
  66. package/dist/controls/tables/GenericTable.d.ts +2 -2
  67. package/dist/controls/tables/dataGrid.d.ts +2 -2
  68. package/dist/hooks/useSearchUTLSetting.d.ts +3 -0
  69. package/dist/index.d.ts +3 -2
  70. package/dist/index.esm.js +100 -24
  71. package/dist/models/UTLSetting.d.ts +4 -0
  72. package/dist/reducers/UTLSettingsReducer.d.ts +10 -0
  73. package/dist/routes/MESFMainRouter.d.ts +2 -2
  74. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ version = 1
2
+
3
+ [[analyzers]]
4
+ name = "javascript"
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import './css/index.css';
3
3
  interface Props {
4
4
  authentication: any;
@@ -7,5 +7,5 @@ interface Props {
7
7
  configurations: any;
8
8
  showAreaSelector?: boolean;
9
9
  }
10
- declare function MESFMain({ authentication, routes, navbar, configurations, showAreaSelector }: Props): JSX.Element;
10
+ declare function MESFMain({ authentication, routes, navbar, configurations, showAreaSelector }: Props): React.JSX.Element;
11
11
  export { MESFMain };
@@ -24,5 +24,5 @@ type AuthProviderProps = {
24
24
  children: any;
25
25
  authConfig: AuthConfig;
26
26
  };
27
- export declare const AuthProvider: ({ children, authConfig }: AuthProviderProps) => JSX.Element;
27
+ export declare const AuthProvider: ({ children, authConfig }: AuthProviderProps) => React.JSX.Element;
28
28
  export {};
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Account: () => JSX.Element;
1
+ import React from "react";
2
+ export declare const Account: () => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ChangePassword(props: any): JSX.Element;
1
+ import React from 'react';
2
+ export declare function ChangePassword(props: any): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const LoginAsGuest: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const LoginAsGuest: () => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const LoginWithEmailAndPassword: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const LoginWithEmailAndPassword: () => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { AzureConfig } from "../../AuthProvider";
3
3
  export declare const LoginWithAzureAD: ({ config }: {
4
4
  config: AzureConfig;
5
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const LoginWithAzureADForm: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const LoginWithAzureADForm: () => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { LoginParams } from "./models/login.models";
3
- export declare function Login({ authConfig }: LoginParams): JSX.Element;
3
+ export declare function Login({ authConfig }: LoginParams): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function Logout(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function Logout(): React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const Home: () => JSX.Element;
1
+ import React from "react";
2
+ declare const Home: () => React.JSX.Element;
3
3
  export { Home };
@@ -14,9 +14,9 @@ interface MESFModalProps {
14
14
  children: ReactNode;
15
15
  title?: string;
16
16
  }
17
- declare function Modal({ children, title, handleClose, open, id, maxWidth }: MESFModalProps): JSX.Element;
17
+ declare function Modal({ children, title, handleClose, open, id, maxWidth }: MESFModalProps): React.JSX.Element;
18
18
  declare const _default: typeof Modal & {
19
- Content: React.ComponentType<Pick<import("@material-ui/core/DialogContent").DialogContentProps, "color" | "translate" | "hidden" | "style" | "id" | "children" | "ref" | "slot" | "title" | "dividers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "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" | "innerRef"> & import("@material-ui/core/styles").StyledComponentProps<"root">>;
20
- Actions: React.ComponentType<Pick<import("@material-ui/core/DialogActions").DialogActionsProps, "color" | "translate" | "hidden" | "style" | "id" | "children" | "ref" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "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" | "innerRef" | "disableSpacing"> & import("@material-ui/core/styles").StyledComponentProps<"root">>;
19
+ Content: React.ComponentType<Pick<import("@material-ui/core/DialogContent").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/styles").StyledComponentProps<"root">>;
20
+ Actions: React.ComponentType<Pick<import("@material-ui/core/DialogActions").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/styles").StyledComponentProps<"root">>;
21
21
  };
22
22
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  export default function Header({ showAreaSelector }: {
3
3
  showAreaSelector?: boolean;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const MESFMainContainer: () => JSX.Element;
1
+ import React from "react";
2
+ declare const MESFMainContainer: () => React.JSX.Element;
3
3
  export { MESFMainContainer };
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  declare const Navigation: ({ showAreaSelector }: {
3
3
  showAreaSelector?: boolean | undefined;
4
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
5
5
  export default Navigation;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const AreaSelector: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const AreaSelector: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  type Props = {};
3
- export declare const Jobs: (prop: Props) => JSX.Element;
3
+ export declare const Jobs: (prop: Props) => React.JSX.Element;
4
4
  export {};
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const TableJobs: () => JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const TableJobs: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useJobsContext: () => {
3
3
  state: {
4
4
  jobsData: import("../models/Job").Job[];
@@ -14,4 +14,4 @@ export declare const useJobsContext: () => {
14
14
  };
15
15
  export declare const JobsProvider: ({ children }: {
16
16
  children: ReactNode;
17
- }) => JSX.Element;
17
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {};
3
- declare const JobsPage: (props: Props) => JSX.Element;
3
+ declare const JobsPage: (props: Props) => React.JSX.Element;
4
4
  export default JobsPage;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  type Props = {};
3
- export declare const Logs: (prop: Props) => JSX.Element;
3
+ export declare const Logs: (prop: Props) => React.JSX.Element;
4
4
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  LogTypeCode: number | string | null;
4
4
  setLogTypeCodeFilter: (logTypeCode: number | string | null) => void;
5
5
  };
6
- export declare const CodeFilter: ({ LogTypeCode, setLogTypeCodeFilter }: Props) => JSX.Element;
6
+ export declare const CodeFilter: ({ LogTypeCode, setLogTypeCodeFilter }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  date: Date;
4
4
  setDate: (date: Date) => void;
5
5
  label: string | undefined;
6
6
  };
7
- export declare const DateFilter: ({ date, setDate, label }: Props) => JSX.Element;
7
+ export declare const DateFilter: ({ date, setDate, label }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  search: string;
4
4
  setSearch: Function;
5
5
  };
6
- export declare const SearchFilter: ({ search, setSearch }: Props) => JSX.Element;
6
+ export declare const SearchFilter: ({ search, setSearch }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const TableLogs: () => JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const TableLogs: () => React.JSX.Element;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Log } from '../../models/Log';
3
3
  type Props = {
4
4
  show: boolean;
5
5
  onHide: (show: boolean) => void;
6
6
  selectedLog: Log | undefined;
7
7
  };
8
- export declare const ModalLogSelected: ({ show, onHide, selectedLog }: Props) => JSX.Element;
8
+ export declare const ModalLogSelected: ({ show, onHide, selectedLog }: Props) => React.JSX.Element;
9
9
  export {};
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useLogsContext: () => {
3
3
  state: {
4
4
  logs: import("../models/Log").Log[];
@@ -58,4 +58,4 @@ export declare const useLogsContext: () => {
58
58
  };
59
59
  export declare const LogsProvider: ({ children }: {
60
60
  children: ReactNode;
61
- }) => JSX.Element;
61
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {};
3
- declare const LogsPage: (props: Props) => JSX.Element;
3
+ declare const LogsPage: (props: Props) => React.JSX.Element;
4
4
  export default LogsPage;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  type Props = {};
3
- export declare const Profiles: (prop: Props) => JSX.Element;
3
+ export declare const Profiles: (prop: Props) => React.JSX.Element;
4
4
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  show: boolean;
4
4
  onHide: () => void;
5
5
  getProfilesFromAPI: Function;
6
6
  };
7
- export declare const CreateProfile: ({ show, onHide, getProfilesFromAPI }: Props) => JSX.Element;
7
+ export declare const CreateProfile: ({ show, onHide, getProfilesFromAPI }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Profile } from '../../models/Profile';
3
3
  type Props = {
4
4
  profileForDelete: Profile | null;
5
5
  show: boolean;
6
6
  onHide: (shouldUpdate: boolean) => void;
7
7
  };
8
- export declare const DeleteProfile: ({ profileForDelete, show, onHide }: Props) => JSX.Element;
8
+ export declare const DeleteProfile: ({ profileForDelete, show, onHide }: Props) => React.JSX.Element;
9
9
  export {};
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Profile } from '../../models/Profile';
3
3
  type Props = {
4
4
  profileForEdit: Profile | null;
5
5
  show: boolean;
6
6
  onHide: (shouldUpdate: boolean) => void;
7
7
  };
8
- export declare const EditProfile: ({ profileForEdit, show, onHide }: Props) => JSX.Element;
8
+ export declare const EditProfile: ({ profileForEdit, show, onHide }: Props) => React.JSX.Element;
9
9
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  getProfilesFromAPI: Function;
4
4
  isLoading: boolean;
5
5
  };
6
- export declare const TableProfiles: ({ getProfilesFromAPI, isLoading }: Props) => JSX.Element;
6
+ export declare const TableProfiles: ({ getProfilesFromAPI, isLoading }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  value: number[];
4
4
  onChange: Function;
@@ -7,5 +7,5 @@ type Props = {
7
7
  setIsLoading: (isLoading: boolean) => void;
8
8
  profilesToProfiles: number[];
9
9
  };
10
- export declare const PermissionsPicker: ({ isLoading, setIsLoading, profileForDelete, value, onChange, profilesToProfiles }: Props) => JSX.Element;
10
+ export declare const PermissionsPicker: ({ isLoading, setIsLoading, profileForDelete, value, onChange, profilesToProfiles }: Props) => React.JSX.Element;
11
11
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  value: number[];
4
4
  onChange: Function;
@@ -7,5 +7,5 @@ type Props = {
7
7
  setIsLoading: (isLoading: boolean) => void;
8
8
  profileIdForEdit: number | null | undefined;
9
9
  };
10
- export declare const ProfilesPicker: ({ isLoading, setIsLoading, profileForDelete, profileIdForEdit, value, onChange }: Props) => JSX.Element;
10
+ export declare const ProfilesPicker: ({ isLoading, setIsLoading, profileForDelete, profileIdForEdit, value, onChange }: Props) => React.JSX.Element;
11
11
  export {};
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useProfilesContext: () => {
3
3
  state: {
4
4
  profiles: import("../models/Profile").Profile[];
@@ -23,4 +23,4 @@ export declare const useProfilesContext: () => {
23
23
  };
24
24
  export declare const ProfilesProvider: ({ children }: {
25
25
  children: ReactNode;
26
- }) => JSX.Element;
26
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {};
3
- declare const UsersPage: (props: Props) => JSX.Element;
3
+ declare const UsersPage: (props: Props) => React.JSX.Element;
4
4
  export default UsersPage;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  type Props = {};
3
- export declare const ShiftsCrews: (prop: Props) => JSX.Element;
3
+ export declare const ShiftsCrews: (prop: Props) => React.JSX.Element;
4
4
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  show: boolean;
4
4
  onHide: () => void;
5
5
  getShiftsCrewsFromAPI: Function;
6
6
  };
7
- export declare const CreateShift: ({ show, onHide, getShiftsCrewsFromAPI }: Props) => JSX.Element;
7
+ export declare const CreateShift: ({ show, onHide, getShiftsCrewsFromAPI }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  show: boolean;
4
4
  onHide: (shouldUpdate: boolean) => void;
5
5
  };
6
- export declare const DeleteShift: ({ show, onHide }: Props) => JSX.Element;
6
+ export declare const DeleteShift: ({ show, onHide }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  show: boolean;
4
4
  onHide: (shouldUpdate: boolean) => void;
5
5
  };
6
- export declare const EditShift: ({ show, onHide }: Props) => JSX.Element;
6
+ export declare const EditShift: ({ show, onHide }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  getShiftsCrewsFromAPI: Function;
4
4
  isLoading: boolean;
5
5
  };
6
- export declare const TableShiftsCrews: ({ isLoading, getShiftsCrewsFromAPI }: Props) => JSX.Element;
6
+ export declare const TableShiftsCrews: ({ isLoading, getShiftsCrewsFromAPI }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useShiftsCrewsContext: () => {
3
3
  state: {
4
4
  shifts: import("../models/ShiftParameters").ShiftParameters[];
@@ -34,4 +34,4 @@ export declare const useShiftsCrewsContext: () => {
34
34
  };
35
35
  export declare const ShiftsCrewsProvider: ({ children }: {
36
36
  children: ReactNode;
37
- }) => JSX.Element;
37
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {};
3
- declare const ShiftsCrewsPage: (props: Props) => JSX.Element;
3
+ declare const ShiftsCrewsPage: (props: Props) => React.JSX.Element;
4
4
  export default ShiftsCrewsPage;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  type Props = {};
3
- export declare const Users: (prop: Props) => JSX.Element;
3
+ export declare const Users: (prop: Props) => React.JSX.Element;
4
4
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  show: boolean;
4
4
  userId: number | null;
5
5
  onHide: (shouldUpdate: boolean) => void;
6
6
  };
7
- export declare const ChangePassword: ({ show, userId, onHide }: Props) => JSX.Element;
7
+ export declare const ChangePassword: ({ show, userId, onHide }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  show: boolean;
4
4
  onHide: () => void;
5
5
  getUsersFromAPI: Function;
6
6
  };
7
- export declare const CreateUser: ({ show, onHide, getUsersFromAPI }: Props) => JSX.Element;
7
+ export declare const CreateUser: ({ show, onHide, getUsersFromAPI }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  userIdForDelete: number | null;
4
4
  show: boolean;
5
5
  onHide: (shouldUpdate: boolean) => void;
6
6
  };
7
- export declare const DeleteUser: ({ userIdForDelete, show, onHide }: Props) => JSX.Element;
7
+ export declare const DeleteUser: ({ userIdForDelete, show, onHide }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  userIdForEdit: number | null;
4
4
  show: boolean;
5
5
  onHide: (shouldUpdate: boolean) => void;
6
6
  };
7
- export declare const EditUser: ({ userIdForEdit, show, onHide }: Props) => JSX.Element;
7
+ export declare const EditUser: ({ userIdForEdit, show, onHide }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {
3
3
  getUsersFromAPI: Function;
4
4
  isLoading: boolean;
5
5
  };
6
- export declare const TableUsers: ({ getUsersFromAPI, isLoading }: Props) => JSX.Element;
6
+ export declare const TableUsers: ({ getUsersFromAPI, isLoading }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  value: number[];
4
4
  onChange: Function;
5
5
  userIdForDelete: number | null;
6
6
  };
7
- export declare const ProfilesPicker: ({ value, onChange, userIdForDelete }: Props) => JSX.Element;
7
+ export declare const ProfilesPicker: ({ value, onChange, userIdForDelete }: Props) => React.JSX.Element;
8
8
  export {};
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useUsersContext: () => {
3
3
  state: {
4
4
  users: import("../models/User").User[];
@@ -14,4 +14,4 @@ export declare const useUsersContext: () => {
14
14
  };
15
15
  export declare const UsersProvider: ({ children }: {
16
16
  children: ReactNode;
17
- }) => JSX.Element;
17
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  type Props = {};
3
- declare const UsersPage: (props: Props) => JSX.Element;
3
+ declare const UsersPage: (props: Props) => React.JSX.Element;
4
4
  export default UsersPage;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  declare const getShiftStyle: (shift: string) => {
3
3
  color: string;
4
4
  } | {
@@ -9,6 +9,6 @@ declare const getCrewStyle: (crew: string) => {
9
9
  } | {
10
10
  color?: undefined;
11
11
  };
12
- declare const GetShiftColor: (props: any) => JSX.Element;
13
- declare const GetCrewColor: (props: any) => JSX.Element;
12
+ declare const GetShiftColor: (props: any) => React.JSX.Element;
13
+ declare const GetCrewColor: (props: any) => React.JSX.Element;
14
14
  export { getShiftStyle, getCrewStyle, GetShiftColor, GetCrewColor };
@@ -13,5 +13,5 @@ export type ConfigurationsType = [
13
13
  SectionComponent[],
14
14
  SidebarType
15
15
  ];
16
- export default function Configuration(): JSX.Element;
16
+ export default function Configuration(): React.JSX.Element;
17
17
  export {};
@@ -0,0 +1,17 @@
1
+ import { default as React, ReactNode } from "react";
2
+ export declare const useUTLSettingsContext: () => {
3
+ state: {
4
+ hideBlueBoxes: any;
5
+ };
6
+ actions: import("@reduxjs/toolkit").CaseReducerActions<{
7
+ setHideBlueBoxes(state: import("immer/dist/internal").WritableDraft<{
8
+ hideBlueBoxes: any;
9
+ }>, { payload }: {
10
+ payload: any;
11
+ type: string;
12
+ }): void;
13
+ }, "__">;
14
+ };
15
+ export declare const UTLSettingsProvider: ({ children }: {
16
+ children: ReactNode;
17
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useAssetContext: () => {
3
3
  state: {
4
4
  areasList: import("../models/Asset").Asset[];
@@ -23,4 +23,4 @@ export declare const useAssetContext: () => {
23
23
  };
24
24
  export declare const AssetProvider: ({ children }: {
25
25
  children: ReactNode;
26
- }) => JSX.Element;
26
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { default as React, ReactNode } from "react";
2
2
  export declare const useUserContext: () => {
3
3
  state: {
4
4
  userLastName: string;
@@ -62,4 +62,4 @@ export declare const useUserContext: () => {
62
62
  };
63
63
  export declare const UserProvider: ({ children }: {
64
64
  children: ReactNode;
65
- }) => JSX.Element;
65
+ }) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import "./LazyLoading.css";
3
- export declare const LazyLoading: () => JSX.Element;
3
+ export declare const LazyLoading: () => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { AlertProps } from '@material-ui/lab/Alert';
3
- export declare const Alert: (props: AlertProps) => JSX.Element;
3
+ export declare const Alert: (props: AlertProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import PropTypes from 'prop-types';
3
3
  declare const BarChartControl: {
4
- (props: any): JSX.Element;
4
+ (props: any): React.JSX.Element;
5
5
  propTypes: {
6
6
  data: PropTypes.Requireable<any[]>;
7
7
  keys: PropTypes.Requireable<any[]>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import PropTypes from 'prop-types';
3
3
  declare const ModalTreeFilterControl: {
4
- (props: any): JSX.Element;
4
+ (props: any): React.JSX.Element;
5
5
  propTypes: {
6
6
  onClose: PropTypes.Validator<(...args: any[]) => any>;
7
7
  open: PropTypes.Validator<boolean>;
@@ -1,14 +1,14 @@
1
- import { Component } from "react";
1
+ import React, { Component } from "react";
2
2
  type TreePickerControlProps = {
3
3
  onSelect: (value: string, description: string, findNode: any) => void;
4
4
  [key: string]: any;
5
5
  };
6
- export declare const TreePickerControl: (props: TreePickerControlProps) => JSX.Element;
6
+ export declare const TreePickerControl: (props: TreePickerControlProps) => React.JSX.Element;
7
7
  export declare class SimpleTextControl extends Component<any> {
8
- render(): JSX.Element;
8
+ render(): React.JSX.Element;
9
9
  }
10
10
  export declare class SimplePasswordControl extends Component<any> {
11
- render(): JSX.Element;
11
+ render(): React.JSX.Element;
12
12
  }
13
13
  export declare const formatNumber: (value: number) => string;
14
14
  export type NumericTextControlProps = {
@@ -21,12 +21,12 @@ export type NumericTextControlProps = {
21
21
  name: any;
22
22
  typeNumber: any;
23
23
  };
24
- export declare const NumericTextControl: (props: NumericTextControlProps) => JSX.Element;
24
+ export declare const NumericTextControl: (props: NumericTextControlProps) => React.JSX.Element;
25
25
  export declare class HorizontalTextControl extends Component<any> {
26
- render(): JSX.Element;
26
+ render(): React.JSX.Element;
27
27
  }
28
28
  export declare class SimpleTextAreaControl extends Component<any> {
29
- render(): JSX.Element;
29
+ render(): React.JSX.Element;
30
30
  }
31
31
  interface SimpleSelectorControlProps {
32
32
  title?: string;
@@ -38,8 +38,8 @@ interface SimpleSelectorControlProps {
38
38
  styleList?: any;
39
39
  hasChoose?: boolean;
40
40
  }
41
- export declare function SimpleSelectorControl({ title, dataSource, selectedValue, onChange, showColor, styleLabel, styleList, hasChoose }: SimpleSelectorControlProps): JSX.Element;
42
- export declare const MultipleSelectorControl: (props: any) => JSX.Element;
43
- export declare const CheckBoxControl: (props: any) => JSX.Element;
44
- export declare const UploadFileControl: (props: any) => JSX.Element;
41
+ export declare function SimpleSelectorControl({ title, dataSource, selectedValue, onChange, showColor, styleLabel, styleList, hasChoose }: SimpleSelectorControlProps): React.JSX.Element;
42
+ export declare const MultipleSelectorControl: (props: any) => React.JSX.Element;
43
+ export declare const CheckBoxControl: (props: any) => React.JSX.Element;
44
+ export declare const UploadFileControl: (props: any) => React.JSX.Element;
45
45
  export {};
@@ -1,4 +1,4 @@
1
- import { Component, MouseEventHandler } from "react";
1
+ import React, { Component, MouseEventHandler } from "react";
2
2
  type GenericPanelProps = {
3
3
  title: string;
4
4
  description: string;
@@ -12,7 +12,7 @@ type GenericPanelProps = {
12
12
  };
13
13
  /********************MATERIAL UI STYLES********************************** */
14
14
  /************************************************************************* */
15
- declare const GenericPanel: ({ title, description, showPromptSuccess, showPromptError, onDismissSuccess, onDismissError, successMessage, error, children, }: GenericPanelProps) => JSX.Element;
15
+ declare const GenericPanel: ({ title, description, showPromptSuccess, showPromptError, onDismissSuccess, onDismissError, successMessage, error, children, }: GenericPanelProps) => React.JSX.Element;
16
16
  type MasterDetailPanelProps = {
17
17
  title: string;
18
18
  onSave: MouseEventHandler;
@@ -25,7 +25,7 @@ type MasterDetailPanelProps = {
25
25
  };
26
26
  declare class MasterDetailPanel extends Component<MasterDetailPanelProps> {
27
27
  useStyles(): (props?: any) => import("@material-ui/styles").ClassNameMap<"root">;
28
- render(): JSX.Element;
28
+ render(): React.JSX.Element;
29
29
  }
30
30
  type ExtraButton = {
31
31
  name: string;
@@ -47,7 +47,7 @@ declare class FilterPanel extends Component<FilterPanelProps> {
47
47
  ExportData(): void;
48
48
  ResetFilterValues(): void;
49
49
  GetFilterValues(): void;
50
- render(): JSX.Element;
50
+ render(): React.JSX.Element;
51
51
  }
52
52
  declare class LongFilterPanel extends Component<FilterPanelProps> {
53
53
  onClickGo: MouseEventHandler;
@@ -57,6 +57,6 @@ declare class LongFilterPanel extends Component<FilterPanelProps> {
57
57
  ExportData(): void;
58
58
  ResetFilterValues(): void;
59
59
  GetFilterValues(): void;
60
- render(): JSX.Element;
60
+ render(): React.JSX.Element;
61
61
  }
62
62
  export { GenericPanel, FilterPanel, MasterDetailPanel, LongFilterPanel };
@@ -1,5 +1,5 @@
1
- import { Component } from "react";
1
+ import React, { Component } from "react";
2
2
  declare class GenericTable extends Component<any> {
3
- render(): JSX.Element;
3
+ render(): React.JSX.Element;
4
4
  }
5
5
  export { GenericTable };
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import PropTypes from 'prop-types';
3
3
  declare const DataGridControl: {
4
- (props: any): JSX.Element;
4
+ (props: any): React.JSX.Element;
5
5
  propTypes: {
6
6
  columns: PropTypes.Requireable<any[]>;
7
7
  rows: PropTypes.Requireable<any[]>;
@@ -0,0 +1,3 @@
1
+ export declare const useSearchUTLSettings: () => {
2
+ searchUTLSettings: () => void;
3
+ };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
+ export * from "./MESFMain";
1
2
  export * from "./account";
2
3
  export * from "./components/modals/modal.mesf";
3
4
  export * from "./configuration";
5
+ export * from "./context/UTLSettingContext";
4
6
  export * from "./context/assetContext";
7
+ export * from "./context/axiosInstance";
5
8
  export * from "./context/userContext";
6
9
  export * from "./controls";
7
- export * from "./MESFMain";
8
10
  export * from "./services";
9
11
  export * from "./utils";
10
- export * from "./context/axiosInstance";
package/dist/index.esm.js CHANGED
@@ -1,24 +1,24 @@
1
- import { Typography, TextField, FormHelperText, CircularProgress as CircularProgress$1, Grid as Grid$1, Snackbar as Snackbar$1, makeStyles as makeStyles$1, createStyles as createStyles$1, Dialog as Dialog$1, DialogTitle as DialogTitle$2, DialogContent as DialogContent$2, List, ListItem, ListItemText, DialogActions as DialogActions$2 } from '@material-ui/core';
2
- import { get as get$1, isEmpty } from 'lodash-es';
3
1
  import * as React from 'react';
4
2
  import React__default, { useState, useRef, useEffect, Component, createContext, useContext, useCallback, lazy, Suspense } from 'react';
3
+ import { Outlet, useNavigate, useSearchParams, Link, useParams, Navigate, Routes, Route, BrowserRouter } from 'react-router-dom';
4
+ import { Typography, TextField, FormHelperText, CircularProgress as CircularProgress$1, Grid as Grid$1, Snackbar as Snackbar$1, makeStyles as makeStyles$1, createStyles as createStyles$1, Dialog as Dialog$1, DialogTitle as DialogTitle$2, DialogContent as DialogContent$2, List, ListItem, ListItemText, DialogActions as DialogActions$2 } from '@material-ui/core';
5
+ import { get as get$1, isEmpty } from 'lodash-es';
5
6
  import { Alert as Alert$1, Modal as Modal$2, Navbar, Container, Nav, NavDropdown } from 'react-bootstrap';
6
7
  import DialogTitle$1 from '@material-ui/core/DialogTitle';
7
8
  import DialogContent$1 from '@material-ui/core/DialogContent';
8
9
  import DialogActions$1 from '@material-ui/core/DialogActions';
9
10
  import Dialog from '@material-ui/core/Dialog';
10
11
  import Button from '@material-ui/core/Button';
11
- import { Outlet, useNavigate, useSearchParams, Link, useParams, Navigate, Routes, Route, BrowserRouter } from 'react-router-dom';
12
- import Paper from '@material-ui/core/Paper';
13
- import Grid from '@material-ui/core/Grid';
14
12
  import { useMsal, MsalProvider } from '@azure/msal-react';
15
13
  import { LogLevel, PublicClientApplication } from '@azure/msal-browser';
14
+ import { useComplexState } from 'use-complex-state';
15
+ import { createSlice } from '@reduxjs/toolkit';
16
16
  import MenuItem from '@material-ui/core/MenuItem';
17
17
  import MenuList from '@material-ui/core/MenuList';
18
+ import Paper from '@material-ui/core/Paper';
19
+ import Grid from '@material-ui/core/Grid';
18
20
  import axios from 'axios';
19
21
  import PersonPinCircleIcon from '@material-ui/icons/PersonPinCircle';
20
- import { useComplexState } from 'use-complex-state';
21
- import { createSlice } from '@reduxjs/toolkit';
22
22
  import moment from 'moment';
23
23
  import { withStyles, alpha, makeStyles, createStyles, useTheme } from '@material-ui/core/styles';
24
24
  import { get, useForm, Controller } from 'react-hook-form';
@@ -74,7 +74,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
74
74
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
75
75
  PERFORMANCE OF THIS SOFTWARE.
76
76
  ***************************************************************************** */
77
- /* global Reflect, Promise */
77
+ /* global Reflect, Promise, SuppressedError, Symbol */
78
78
 
79
79
  var extendStatics = function(d, b) {
80
80
  extendStatics = Object.setPrototypeOf ||
@@ -160,7 +160,12 @@ function __spreadArray(to, from, pack) {
160
160
  }
161
161
  }
162
162
  return to.concat(ar || Array.prototype.slice.call(from));
163
- }
163
+ }
164
+
165
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
166
+ var e = new Error(message);
167
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
168
+ };
164
169
 
165
170
  var BarChartControl = function (props) {
166
171
  var height = props.height, minWidth = props.minWidth, data = props.data, keys = props.keys, indexBy = props.indexBy, legendX = props.legendX, legendY = props.legendY, colors = props.colors, other = __rest(props, ["height", "minWidth", "data", "keys", "indexBy", "legendX", "legendY", "colors"]);
@@ -5152,6 +5157,29 @@ var getAssets = function () { return __awaiter(void 0, void 0, void 0, function
5152
5157
  }
5153
5158
  });
5154
5159
  }); };
5160
+ var getUTLSettings = function () { return __awaiter(void 0, void 0, void 0, function () {
5161
+ var apiService, resp, e_3;
5162
+ return __generator(this, function (_a) {
5163
+ switch (_a.label) {
5164
+ case 0:
5165
+ apiService = new MESApiService();
5166
+ _a.label = 1;
5167
+ case 1:
5168
+ _a.trys.push([1, 3, , 4]);
5169
+ return [4 /*yield*/, apiService.call("[UTL].[GetSettings]", [])];
5170
+ case 2:
5171
+ resp = _a.sent();
5172
+ return [2 /*return*/, {
5173
+ ok: true,
5174
+ data: resp
5175
+ }];
5176
+ case 3:
5177
+ e_3 = _a.sent();
5178
+ return [2 /*return*/, { ok: false, message: e_3.toString() }];
5179
+ case 4: return [2 /*return*/];
5180
+ }
5181
+ });
5182
+ }); };
5155
5183
  var upsertDefaultAreaId = function (UserId, DefaultAreaId) { return __awaiter(void 0, void 0, void 0, function () {
5156
5184
  var apiService, parameters, resp, e_4;
5157
5185
  return __generator(this, function (_a) {
@@ -5706,6 +5734,13 @@ function Logout() {
5706
5734
  React__default.createElement("div", null, "logging out!!!")));
5707
5735
  }
5708
5736
 
5737
+ var RouterContext = React__default.createContext(function () { return React__default.createElement(React__default.Fragment, null); });
5738
+ var ConfigurationContext = React__default.createContext([
5739
+ [],
5740
+ function () { return (React__default.createElement(React__default.Fragment, null)); }
5741
+ ]);
5742
+ var NavbarContext = React__default.createContext(function () { return React__default.createElement(React__default.Fragment, null); });
5743
+
5709
5744
  var AssetInitialState = {
5710
5745
  areasList: [],
5711
5746
  allAssets: []
@@ -5740,13 +5775,6 @@ var AssetProvider = function (_a) {
5740
5775
  return (React__default.createElement(AssetContext.Provider, { value: { state: state, actions: actions } }, children));
5741
5776
  };
5742
5777
 
5743
- var RouterContext = React__default.createContext(function () { return React__default.createElement(React__default.Fragment, null); });
5744
- var ConfigurationContext = React__default.createContext([
5745
- [],
5746
- function () { return (React__default.createElement(React__default.Fragment, null)); }
5747
- ]);
5748
- var NavbarContext = React__default.createContext(function () { return React__default.createElement(React__default.Fragment, null); });
5749
-
5750
5778
  var useSearchAssets = function () {
5751
5779
  var _a = useAssetContext().actions, setAllAssets = _a.setAllAssets, setAreasList = _a.setAreasList;
5752
5780
  var searchAssets = function () {
@@ -5769,6 +5797,51 @@ var useSearchAssets = function () {
5769
5797
  return { searchAssets: searchAssets };
5770
5798
  };
5771
5799
 
5800
+ var UTLSettingsInitialState = {
5801
+ hideBlueBoxes: {}
5802
+ };
5803
+ var UTLSettingsReducer = createSlice({
5804
+ name: "__",
5805
+ initialState: UTLSettingsInitialState,
5806
+ reducers: {
5807
+ setHideBlueBoxes: function (state, _a) {
5808
+ var payload = _a.payload;
5809
+ state.hideBlueBoxes = payload;
5810
+ }
5811
+ }
5812
+ });
5813
+
5814
+ var UTLSettingsContext = createContext({
5815
+ state: UTLSettingsReducer.getInitialState(),
5816
+ actions: UTLSettingsReducer.actions
5817
+ });
5818
+ var useUTLSettingsContext = function () { return useContext(UTLSettingsContext); };
5819
+ var UTLSettingsProvider = function (_a) {
5820
+ var children = _a.children;
5821
+ var _b = useComplexState({
5822
+ initialState: UTLSettingsReducer.getInitialState(),
5823
+ reducers: UTLSettingsReducer.caseReducers
5824
+ }), state = _b[0], actions = _b[1];
5825
+ return (React__default.createElement(UTLSettingsContext.Provider, { value: { state: state, actions: actions } }, children));
5826
+ };
5827
+
5828
+ var useSearchUTLSettings = function () {
5829
+ var setHideBlueBoxes = useUTLSettingsContext().actions.setHideBlueBoxes;
5830
+ var searchUTLSettings = function () {
5831
+ getUTLSettings().then(function (res) { return __awaiter(void 0, void 0, void 0, function () {
5832
+ var hideBlueBoxesSetting;
5833
+ return __generator(this, function (_a) {
5834
+ hideBlueBoxesSetting = get$1(res, "data.tables[0].rows[4]", {});
5835
+ hideBlueBoxesSetting.SettingName =
5836
+ hideBlueBoxesSetting === null || hideBlueBoxesSetting === void 0 ? void 0 : hideBlueBoxesSetting.SettingName.trim();
5837
+ setHideBlueBoxes(hideBlueBoxesSetting);
5838
+ return [2 /*return*/];
5839
+ });
5840
+ }); });
5841
+ };
5842
+ return { searchUTLSettings: searchUTLSettings };
5843
+ };
5844
+
5772
5845
  var AreaSelector$1 = lazy(function () { return Promise.resolve().then(function () { return areaSelector; }).then(function (mod) { return ({ "default": mod.AreaSelector }); }); });
5773
5846
  function Header(_a) {
5774
5847
  var _b = _a.showAreaSelector, showAreaSelector = _b === void 0 ? false : _b;
@@ -5777,6 +5850,7 @@ function Header(_a) {
5777
5850
  var CustomNavbar = useContext(NavbarContext);
5778
5851
  var userName = useState(getUserName())[0];
5779
5852
  var searchAssets = useSearchAssets().searchAssets;
5853
+ var searchUTLSettings = useSearchUTLSettings().searchUTLSettings;
5780
5854
  var userLogged = useUserContext().state.userLogged;
5781
5855
  var tick = function () {
5782
5856
  setDate(new Date());
@@ -5792,6 +5866,7 @@ function Header(_a) {
5792
5866
  useEffect(function () {
5793
5867
  if (showAreaSelector && userLogged) {
5794
5868
  searchAssets();
5869
+ searchUTLSettings();
5795
5870
  }
5796
5871
  }, [userLogged]);
5797
5872
  return (React__default.createElement(Navbar, { variant: "dark", expand: "lg", className: "mes-primary-color mes-menu-top" },
@@ -5932,13 +6007,14 @@ function MESFMain(_a) {
5932
6007
  return (React__default.createElement(AuthProvider, { authConfig: authentication },
5933
6008
  React__default.createElement(UserProvider, null,
5934
6009
  React__default.createElement(AssetProvider, null,
5935
- React__default.createElement(RouterContext.Provider, { value: routes },
5936
- React__default.createElement(NavbarContext.Provider, { value: navbar },
5937
- React__default.createElement(ConfigurationContext.Provider, { value: configurations },
5938
- React__default.createElement(BrowserRouter, { basename: base$1 },
5939
- React__default.createElement(Routes, null,
5940
- React__default.createElement(Route, { path: "/logout", element: React__default.createElement(Logout, null) })),
5941
- React__default.createElement(Navigation, { showAreaSelector: showAreaSelector })))))))));
6010
+ React__default.createElement(UTLSettingsProvider, null,
6011
+ React__default.createElement(RouterContext.Provider, { value: routes },
6012
+ React__default.createElement(NavbarContext.Provider, { value: navbar },
6013
+ React__default.createElement(ConfigurationContext.Provider, { value: configurations },
6014
+ React__default.createElement(BrowserRouter, { basename: base$1 },
6015
+ React__default.createElement(Routes, null,
6016
+ React__default.createElement(Route, { path: "/logout", element: React__default.createElement(Logout, null) })),
6017
+ React__default.createElement(Navigation, { showAreaSelector: showAreaSelector }))))))))));
5942
6018
  }
5943
6019
 
5944
6020
  var base = document.getElementsByTagName('base')[0].getAttribute('href') || '/';
@@ -6163,4 +6239,4 @@ var areaSelector = /*#__PURE__*/Object.freeze({
6163
6239
  AreaSelector: AreaSelector
6164
6240
  });
6165
6241
 
6166
- export { Account, AssetProvider, AuthContext, AuthProvider, BarChartControl, ChangePassword, CheckBoxControl, Configuration$1 as Configuration, CurrencyFormatter, DataGridControl, DateFormatter, DateTimeFormatter, FetchError, FilterPanel, GenericPanel, GenericTable, GetCrewColor, GetShiftColor, HorizontalTextControl, IntegerFormatter, Login, Logout, LongFilterPanel, MESApiService, MESFMain, MESSAGE_API, MESSAGE_ERRORS, MasterDetailPanel, ModalTreeFilterControl, MultipleSelectorControl, NumberFormatter, NumericTextControl, SimplePasswordControl, SimpleSelectorControl, SimpleTextAreaControl, SimpleTextControl, TimeFormatter, TreePickerControl, USER_LABELS, UploadFileControl, UserProvider, axiosInstance, formatNumber, getCrewStyle, getShiftStyle, getTokenFromLS, renewToken, useAssetContext, useToken, useUserContext };
6242
+ export { Account, AssetProvider, AuthContext, AuthProvider, BarChartControl, ChangePassword, CheckBoxControl, Configuration$1 as Configuration, CurrencyFormatter, DataGridControl, DateFormatter, DateTimeFormatter, FetchError, FilterPanel, GenericPanel, GenericTable, GetCrewColor, GetShiftColor, HorizontalTextControl, IntegerFormatter, Login, Logout, LongFilterPanel, MESApiService, MESFMain, MESSAGE_API, MESSAGE_ERRORS, MasterDetailPanel, ModalTreeFilterControl, MultipleSelectorControl, NumberFormatter, NumericTextControl, SimplePasswordControl, SimpleSelectorControl, SimpleTextAreaControl, SimpleTextControl, TimeFormatter, TreePickerControl, USER_LABELS, UTLSettingsProvider, UploadFileControl, UserProvider, axiosInstance, formatNumber, getCrewStyle, getShiftStyle, getTokenFromLS, renewToken, useAssetContext, useToken, useUTLSettingsContext, useUserContext };
@@ -0,0 +1,4 @@
1
+ export interface UTLSetting {
2
+ SettingName: string;
3
+ Value: string;
4
+ }
@@ -0,0 +1,10 @@
1
+ export declare const UTLSettingsReducer: import("@reduxjs/toolkit").Slice<{
2
+ hideBlueBoxes: any;
3
+ }, {
4
+ setHideBlueBoxes(state: import("immer/dist/internal").WritableDraft<{
5
+ hideBlueBoxes: any;
6
+ }>, { payload }: {
7
+ payload: any;
8
+ type: string;
9
+ }): void;
10
+ }, "__">;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const MESFMainRouter: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const MESFMainRouter: () => React.JSX.Element;
3
3
  export default MESFMainRouter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexteel/mesf-core",
3
- "version": "3.9.2",
3
+ "version": "3.10.1",
4
4
  "author": "Dexteel Team",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",