@dexteel/mesf-core 5.3.0 → 5.4.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 (252) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +27 -0
  3. package/dist/index.esm.js +5810 -9168
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +4 -4
  6. package/dist/MESFMain.d.ts +0 -14
  7. package/dist/account/AuthProvider.d.ts +0 -29
  8. package/dist/account/account.d.ts +0 -2
  9. package/dist/account/changePassword.d.ts +0 -2
  10. package/dist/account/index.d.ts +0 -6
  11. package/dist/account/login-strategies/LoginAsGuest.d.ts +0 -2
  12. package/dist/account/login-strategies/LoginWithEmailAndPassword.d.ts +0 -2
  13. package/dist/account/login-strategies/LoginWithWindowsAuthentication.d.ts +0 -2
  14. package/dist/account/login-strategies/azure-ad/AzureADAuthConfig.d.ts +0 -37
  15. package/dist/account/login-strategies/azure-ad/LoginWithAzureAD.d.ts +0 -5
  16. package/dist/account/login-strategies/azure-ad/LoginWithAzureADForm.d.ts +0 -2
  17. package/dist/account/login-strategies/windows.d.ts +0 -4
  18. package/dist/account/login.d.ts +0 -3
  19. package/dist/account/logout.d.ts +0 -2
  20. package/dist/account/models/login.models.d.ts +0 -15
  21. package/dist/account/useToken.d.ts +0 -11
  22. package/dist/components/home/home.d.ts +0 -3
  23. package/dist/components/modals/error-modal.d.ts +0 -9
  24. package/dist/components/modals/modal.mesf.d.ts +0 -23
  25. package/dist/components/navigation/Header.d.ts +0 -6
  26. package/dist/components/navigation/MainContainer.d.ts +0 -3
  27. package/dist/components/navigation/Navigation.d.ts +0 -8
  28. package/dist/components/navigation/TimeAndUserMenu.d.ts +0 -6
  29. package/dist/components/navigation/areaSelector/area-selector.d.ts +0 -2
  30. package/dist/components/navigation/hooks/useDefaultAreaId.d.ts +0 -1
  31. package/dist/components/shared/buttons/button-with-loading.d.ts +0 -8
  32. package/dist/configuration/configuration.d.ts +0 -6
  33. package/dist/configuration/formatters.d.ts +0 -7
  34. package/dist/configuration/index.d.ts +0 -9
  35. package/dist/configuration/pages/asset/ConfigurationAssetPage.d.ts +0 -2
  36. package/dist/configuration/pages/asset/components/AssetConfiguration/AssetView.d.ts +0 -2
  37. package/dist/configuration/pages/asset/components/AssetConfiguration/ConfigurationAssetComponent.d.ts +0 -2
  38. package/dist/configuration/pages/asset/components/AssetConfiguration/CustomDragPreview.d.ts +0 -8
  39. package/dist/configuration/pages/asset/components/AssetConfiguration/CustomNode.d.ts +0 -15
  40. package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts +0 -8
  41. package/dist/configuration/pages/asset/components/AssetConfiguration/TypeIcon.d.ts +0 -7
  42. package/dist/configuration/pages/asset/components/dialogs/create-new-asset-dialog.d.ts +0 -7
  43. package/dist/configuration/pages/asset/components/dialogs/edit-asset-dialog.d.ts +0 -7
  44. package/dist/configuration/pages/asset/components/dialogs/remove-asset-dialog.d.ts +0 -7
  45. package/dist/configuration/pages/asset/components/dialogs/viewer-asset-dialog.d.ts +0 -7
  46. package/dist/configuration/pages/asset/components/hooks/useAssetActions.d.ts +0 -24
  47. package/dist/configuration/pages/asset/components/hooks/useAssetCodes.d.ts +0 -3
  48. package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +0 -328
  49. package/dist/configuration/pages/asset/hooks/TransformAssetModelData.d.ts +0 -3
  50. package/dist/configuration/pages/asset/hooks/useSearchAssets.d.ts +0 -8
  51. package/dist/configuration/pages/asset/index.d.ts +0 -4
  52. package/dist/configuration/pages/asset/models/AssetAPI.d.ts +0 -9
  53. package/dist/configuration/pages/asset/models/AssetCode.d.ts +0 -8
  54. package/dist/configuration/pages/asset/models/AssetParameters.d.ts +0 -11
  55. package/dist/configuration/pages/asset/models/FileProperties.d.ts +0 -4
  56. package/dist/configuration/pages/asset/models/InitialValueDataAsset.d.ts +0 -2
  57. package/dist/configuration/pages/asset/reducers/ConfigurationAssetReducer.d.ts +0 -323
  58. package/dist/configuration/pages/asset/repositories/ConfigurationAssetRepository.d.ts +0 -4
  59. package/dist/configuration/pages/asset/theme.d.ts +0 -1
  60. package/dist/configuration/pages/job/JobsPage.d.ts +0 -4
  61. package/dist/configuration/pages/job/components/JobsTable/JobsDetails.d.ts +0 -12
  62. package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +0 -9
  63. package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts +0 -11
  64. package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsTableData.d.ts +0 -12
  65. package/dist/configuration/pages/job/components/ResetJob.d.ts +0 -9
  66. package/dist/configuration/pages/job/components/onEnableJob.d.ts +0 -9
  67. package/dist/configuration/pages/job/context/JobsContext.d.ts +0 -26
  68. package/dist/configuration/pages/job/index.d.ts +0 -4
  69. package/dist/configuration/pages/job/models/Job.d.ts +0 -21
  70. package/dist/configuration/pages/job/reducers/JobsReducer.d.ts +0 -20
  71. package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +0 -13
  72. package/dist/configuration/pages/log/LogsPage.d.ts +0 -4
  73. package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +0 -7
  74. package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +0 -8
  75. package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +0 -7
  76. package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +0 -11
  77. package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogTableData.d.ts +0 -12
  78. package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogsOptionsFunctions.d.ts +0 -11
  79. package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +0 -9
  80. package/dist/configuration/pages/log/context/LogsContext.d.ts +0 -61
  81. package/dist/configuration/pages/log/data/LogTypeCodes.d.ts +0 -21
  82. package/dist/configuration/pages/log/index.d.ts +0 -4
  83. package/dist/configuration/pages/log/models/Log.d.ts +0 -8
  84. package/dist/configuration/pages/log/models/SearchData.d.ts +0 -6
  85. package/dist/configuration/pages/log/reducers/LogsReducer.d.ts +0 -56
  86. package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +0 -1
  87. package/dist/configuration/pages/log/styles/tableStyles.d.ts +0 -1
  88. package/dist/configuration/pages/profiles/ProfilesPage.d.ts +0 -4
  89. package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +0 -7
  90. package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +0 -9
  91. package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ActionsOfProfile.d.ts +0 -9
  92. package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ProceduresDataTable/index.d.ts +0 -10
  93. package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +0 -7
  94. package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useProfilesOptionsFunctions.d.ts +0 -12
  95. package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +0 -17
  96. package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +0 -11
  97. package/dist/configuration/pages/profiles/components/common/Profiles/hook/useGetProfilesEffect.d.ts +0 -8
  98. package/dist/configuration/pages/profiles/context/ProfileContext.d.ts +0 -26
  99. package/dist/configuration/pages/profiles/index.d.ts +0 -4
  100. package/dist/configuration/pages/profiles/models/Action.d.ts +0 -4
  101. package/dist/configuration/pages/profiles/models/FormInitialValues.d.ts +0 -2
  102. package/dist/configuration/pages/profiles/models/Permission.d.ts +0 -4
  103. package/dist/configuration/pages/profiles/models/Profile.d.ts +0 -5
  104. package/dist/configuration/pages/profiles/reducers/ProfilesReducer.d.ts +0 -21
  105. package/dist/configuration/pages/profiles/repositories/ProfilesRepository.d.ts +0 -8
  106. package/dist/configuration/pages/realtime/client/index.d.ts +0 -3
  107. package/dist/configuration/pages/realtime/client/types.d.ts +0 -15
  108. package/dist/configuration/pages/realtime/config/index.d.ts +0 -4
  109. package/dist/configuration/pages/settings/SettingsPage.d.ts +0 -2
  110. package/dist/configuration/pages/settings/components/TableSettings.d.ts +0 -9
  111. package/dist/configuration/pages/settings/components/customHooks/useSettingsOptionsFunctions.d.ts +0 -12
  112. package/dist/configuration/pages/settings/components/customHooks/useTableSettings.d.ts +0 -11
  113. package/dist/configuration/pages/settings/components/upsertDelete/CreateSetting.d.ts +0 -7
  114. package/dist/configuration/pages/settings/components/upsertDelete/DeleteSetting.d.ts +0 -7
  115. package/dist/configuration/pages/settings/components/upsertDelete/EditSetting.d.ts +0 -7
  116. package/dist/configuration/pages/settings/context/SettingsContext.d.ts +0 -26
  117. package/dist/configuration/pages/settings/index.d.ts +0 -3
  118. package/dist/configuration/pages/settings/models/FormInitialValues.d.ts +0 -2
  119. package/dist/configuration/pages/settings/models/Setting.d.ts +0 -6
  120. package/dist/configuration/pages/settings/reducers/SettingReducer.d.ts +0 -20
  121. package/dist/configuration/pages/settings/repositories/settingRepository.d.ts +0 -3
  122. package/dist/configuration/pages/settings/styles/useStyles.d.ts +0 -1
  123. package/dist/configuration/pages/shifCrew/ShiftsCrewsPage.d.ts +0 -4
  124. package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +0 -7
  125. package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +0 -7
  126. package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +0 -7
  127. package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +0 -10
  128. package/dist/configuration/pages/shifCrew/components/customHooks/useShiftsOptionsFunctions.d.ts +0 -11
  129. package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +0 -20
  130. package/dist/configuration/pages/shifCrew/context/ShiftsCrewsContext.d.ts +0 -26
  131. package/dist/configuration/pages/shifCrew/index.d.ts +0 -4
  132. package/dist/configuration/pages/shifCrew/models/FormInitialValues.d.ts +0 -2
  133. package/dist/configuration/pages/shifCrew/models/ShiftParameters.d.ts +0 -12
  134. package/dist/configuration/pages/shifCrew/reducers/ShiftsCrewsReducer.d.ts +0 -20
  135. package/dist/configuration/pages/shifCrew/repositories/ShiftsCrewsRepository.d.ts +0 -4
  136. package/dist/configuration/pages/users/UsersPage.d.ts +0 -4
  137. package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +0 -8
  138. package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +0 -7
  139. package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +0 -8
  140. package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +0 -8
  141. package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +0 -8
  142. package/dist/configuration/pages/users/components/UsersDataTable/customHooks/buttonsCellRenderer.d.ts +0 -2
  143. package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +0 -20
  144. package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useUsersOptionsFunctions.d.ts +0 -13
  145. package/dist/configuration/pages/users/components/common/AuthTypeSelector.d.ts +0 -8
  146. package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +0 -10
  147. package/dist/configuration/pages/users/context/UsersContext.d.ts +0 -17
  148. package/dist/configuration/pages/users/index.d.ts +0 -4
  149. package/dist/configuration/pages/users/models/AuthType.d.ts +0 -4
  150. package/dist/configuration/pages/users/models/FormInitialValues.d.ts +0 -2
  151. package/dist/configuration/pages/users/models/Profile.d.ts +0 -8
  152. package/dist/configuration/pages/users/models/User.d.ts +0 -11
  153. package/dist/configuration/pages/users/reducers/UsersReducer.d.ts +0 -11
  154. package/dist/configuration/pages/users/repositories/UsersRepository.d.ts +0 -31
  155. package/dist/configuration/stylesGetters.d.ts +0 -14
  156. package/dist/configurationMenu.d.ts +0 -13
  157. package/dist/context/UTLSettingContext.d.ts +0 -41
  158. package/dist/context/assetContext.d.ts +0 -26
  159. package/dist/context/axiosInstance.d.ts +0 -2
  160. package/dist/context/userContext.d.ts +0 -83
  161. package/dist/controls/LazyLoading/LazyLoading.d.ts +0 -3
  162. package/dist/controls/alert.d.ts +0 -3
  163. package/dist/controls/charts/genericChart.d.ts +0 -10
  164. package/dist/controls/contextMenu/ContextMenu.d.ts +0 -2
  165. package/dist/controls/contextMenu/index.d.ts +0 -4
  166. package/dist/controls/contextMenu/models/MenuOptionType.d.ts +0 -10
  167. package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +0 -1
  168. package/dist/controls/contextMenu/useContextMenuMESF.d.ts +0 -22
  169. package/dist/controls/filters/TreePickerControl.d.ts +0 -11
  170. package/dist/controls/filters/TreePickerControlV2.d.ts +0 -15
  171. package/dist/controls/filters/dialogFilter.d.ts +0 -30
  172. package/dist/controls/filters/filters.d.ts +0 -40
  173. package/dist/controls/index.d.ts +0 -9
  174. package/dist/controls/panels.d.ts +0 -41
  175. package/dist/controls/shift-navigator/component/shift-navigator.control.d.ts +0 -7
  176. package/dist/controls/shift-navigator/context/ShiftNavigatorProvider.d.ts +0 -4
  177. package/dist/controls/shift-navigator/hook/useShiftNavigator.d.ts +0 -14
  178. package/dist/controls/shift-navigator/index.d.ts +0 -5
  179. package/dist/controls/shift-navigator/models/shift-navigator.model.d.ts +0 -30
  180. package/dist/controls/shift-navigator/repositories/ShiftsRepository.d.ts +0 -10
  181. package/dist/controls/shift-navigator-v2/component/shift-period-navigator.control.d.ts +0 -15
  182. package/dist/controls/shift-navigator-v2/index.d.ts +0 -4
  183. package/dist/controls/shift-navigator-v2/models/SearchShiftsParameters.d.ts +0 -4
  184. package/dist/controls/shift-navigator-v2/models/shift-data.d.ts +0 -22
  185. package/dist/controls/shift-navigator-v2/repositories/ShiftsRepository.d.ts +0 -14
  186. package/dist/controls/tables/GenericTable.d.ts +0 -5
  187. package/dist/controls/tables/dataGrid.d.ts +0 -10
  188. package/dist/css/themeMESF.d.ts +0 -1
  189. package/dist/globalContext.d.ts +0 -6
  190. package/dist/hooks/useMesfRealtime.d.ts +0 -5
  191. package/dist/hooks/useSearchAssets.d.ts +0 -3
  192. package/dist/hooks/useSearchUTLSetting.d.ts +0 -5
  193. package/dist/index.d.ts +0 -21
  194. package/dist/models/Asset.d.ts +0 -10
  195. package/dist/models/UTLSetting.d.ts +0 -4
  196. package/dist/pages/trendings/TrendingsPage.d.ts +0 -4
  197. package/dist/pages/trendings/components/chart/DateComponent.d.ts +0 -6
  198. package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -26
  199. package/dist/pages/trendings/components/chart/Trending.d.ts +0 -8
  200. package/dist/pages/trendings/components/chart/components/CellComponent.d.ts +0 -11
  201. package/dist/pages/trendings/components/chart/components/ColorPicker.d.ts +0 -8
  202. package/dist/pages/trendings/components/chart/components/DraggableLineControl.d.ts +0 -11
  203. package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts +0 -9
  204. package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts +0 -9
  205. package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +0 -8
  206. package/dist/pages/trendings/components/chart/components/modals/saveAsView/SaveAsViewModal.d.ts +0 -7
  207. package/dist/pages/trendings/components/chart/components/modals/saveView/SaveViewModal.d.ts +0 -7
  208. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/ContextMenu.d.ts +0 -15
  209. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/NewFolder/NewFolder.d.ts +0 -10
  210. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/RemoveFolder/RemoveFolder.d.ts +0 -10
  211. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/CustomDragView.d.ts +0 -8
  212. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagFolderCustomNode.d.ts +0 -20
  213. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts +0 -9
  214. package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts +0 -9
  215. package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +0 -120
  216. package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +0 -8
  217. package/dist/pages/trendings/components/chart/hooks/useGetVerticalLinePlugin.d.ts +0 -2
  218. package/dist/pages/trendings/components/chart/hooks/useTagsDataTable.d.ts +0 -24
  219. package/dist/pages/trendings/components/chart/hooks/useUpdateCursorData.d.ts +0 -2
  220. package/dist/pages/trendings/components/chart/hooks/useXAxisDatePlugin.d.ts +0 -2
  221. package/dist/pages/trendings/components/chart/hooks/useYAxisPlugin.d.ts +0 -2
  222. package/dist/pages/trendings/components/chart/models/TagsTree.model.d.ts +0 -12
  223. package/dist/pages/trendings/components/chart/models/TrendingModels.d.ts +0 -65
  224. package/dist/pages/trendings/components/chart/models/scopes.model.d.ts +0 -1
  225. package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +0 -13
  226. package/dist/pages/trendings/components/chart/sections/chart/hooks/useChartOptions.d.ts +0 -105
  227. package/dist/pages/trendings/components/chart/sections/header.d.ts +0 -6
  228. package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +0 -12
  229. package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +0 -1
  230. package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +0 -1
  231. package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +0 -1
  232. package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +0 -1
  233. package/dist/pages/trendings/components/chart/utils/areRangeSimilar.d.ts +0 -2
  234. package/dist/pages/trendings/components/chart/utils/buildTagsTree.d.ts +0 -4
  235. package/dist/pages/trendings/components/chart/utils/calculateScales.d.ts +0 -4
  236. package/dist/pages/trendings/components/chart/utils/dateNavigator.d.ts +0 -5
  237. package/dist/pages/trendings/components/chart/utils/formatDateTimeToString.d.ts +0 -4
  238. package/dist/pages/trendings/components/chart/utils/formatTimeDiffWithMs.d.ts +0 -1
  239. package/dist/pages/trendings/components/chart/utils/tagColors.d.ts +0 -2
  240. package/dist/pages/trendings/components/chart/utils/timeDifference.d.ts +0 -1
  241. package/dist/pages/trendings/index.d.ts +0 -3
  242. package/dist/pages/trendings/reducers/trendings.reducer.d.ts +0 -115
  243. package/dist/reducers/AssetReducer.d.ts +0 -20
  244. package/dist/reducers/UTLSettingsReducer.d.ts +0 -34
  245. package/dist/reducers/UserReducer.d.ts +0 -75
  246. package/dist/repositorie/MESF-frontend-Repositorie.d.ts +0 -4
  247. package/dist/routes/MESFMainRouter.d.ts +0 -3
  248. package/dist/services/ApiService.d.ts +0 -48
  249. package/dist/services/TimeService.d.ts +0 -15
  250. package/dist/services/index.d.ts +0 -2
  251. package/dist/utils/transforms.d.ts +0 -30
  252. package/dist/utils.d.ts +0 -22
@@ -1,30 +0,0 @@
1
- export interface ShiftInfo {
2
- CurrentShiftId: number;
3
- CurrentProductionDate: Date;
4
- CurrentProductionShift: number;
5
- CurrentShift: string;
6
- CurrentCrew: string;
7
- CurrentStart: Date;
8
- CurrentEnd: Date;
9
- PreviousShiftId: number;
10
- PreviousProductionDate: Date;
11
- PreviousProductionShift: number;
12
- PreviousShift: string;
13
- PreviousCrew: string;
14
- PreviousStart: Date;
15
- PreviousEnd: Date;
16
- NextShiftId: null | number;
17
- NextProductionDate: null | Date;
18
- NextProductionShift: null | number;
19
- NextShift: null | string;
20
- NextCrew: null | string;
21
- NextStart: null | Date;
22
- NextEnd: null | Date;
23
- LastShiftId: number;
24
- LastProductionDate: Date;
25
- LastProductionShift: number;
26
- LastShift: string;
27
- LastCrew: string;
28
- LastStart: Date;
29
- LastEnd: Date;
30
- }
@@ -1,10 +0,0 @@
1
- import { ShiftNavigatorFilterParams } from "../../shift-navigator-v2";
2
- export declare const getShiftByParameters: (parameters: ShiftNavigatorFilterParams) => Promise<{
3
- ok: boolean;
4
- data: any;
5
- message?: undefined;
6
- } | {
7
- ok: boolean;
8
- message: any;
9
- data?: undefined;
10
- }>;
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { SearchShiftsParameters } from "../models/SearchShiftsParameters";
3
- interface PeriodOption {
4
- value: string;
5
- label: string;
6
- }
7
- type Props = {
8
- value: SearchShiftsParameters | null;
9
- onChange: (value: any) => void;
10
- showShiftAndCrews?: boolean;
11
- dateFormat?: string;
12
- periodOptions?: PeriodOption[];
13
- };
14
- export declare const ShiftPeriodNavigatorControl: ({ value, onChange, showShiftAndCrews, dateFormat, periodOptions, }: Props) => React.JSX.Element;
15
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./component/shift-period-navigator.control";
2
- export * from "./models/SearchShiftsParameters";
3
- export * from "./models/shift-data";
4
- export * from "./repositories/ShiftsRepository";
@@ -1,4 +0,0 @@
1
- export interface SearchShiftsParameters {
2
- StartShiftId: number | null;
3
- EndShiftId: number | null;
4
- }
@@ -1,22 +0,0 @@
1
- export interface ShiftData {
2
- ShiftId: number;
3
- AssetId: number;
4
- ProductionDate: string;
5
- ProductionShift: number;
6
- Shift: string;
7
- Crew: string;
8
- Start: string | Date;
9
- End: string | Date;
10
- prevShiftId: number;
11
- nextShiftId: number;
12
- }
13
- export interface ShiftsResponse {
14
- errorMessage: null;
15
- returnValue: number;
16
- tables: {
17
- 0: {
18
- columns: string[];
19
- rows: ShiftData[];
20
- };
21
- };
22
- }
@@ -1,14 +0,0 @@
1
- import { ShiftsResponse } from "../models/shift-data";
2
- export interface ShiftNavigatorFilterParams {
3
- productionDate: Date | null;
4
- shiftId: number;
5
- }
6
- export declare const getShiftsRangeByParameters: (period: string | null, Start?: Date | null, End?: Date | null, StartShiftId?: number | null, EndShiftId?: number | null, action?: "prev" | "next" | "last" | null) => Promise<{
7
- ok: boolean;
8
- data: ShiftsResponse;
9
- message?: undefined;
10
- } | {
11
- ok: boolean;
12
- message: string;
13
- data?: undefined;
14
- }>;
@@ -1,5 +0,0 @@
1
- import React, { Component } from "react";
2
- declare class GenericTable extends Component<any> {
3
- render(): React.JSX.Element;
4
- }
5
- export { GenericTable };
@@ -1,10 +0,0 @@
1
- import PropTypes from "prop-types";
2
- import React from "react";
3
- declare const DataGridControl: {
4
- (props: any): React.JSX.Element;
5
- propTypes: {
6
- columns: PropTypes.Requireable<any[]>;
7
- rows: PropTypes.Requireable<any[]>;
8
- };
9
- };
10
- export { DataGridControl };
@@ -1 +0,0 @@
1
- export declare const themeMESF: import("@material-ui/core").Theme;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { ConfigurationsType } from "./configurationMenu";
3
- declare const RouterContext: React.Context<React.ReactNode>;
4
- declare const ConfigurationContext: React.Context<ConfigurationsType>;
5
- declare const NavbarContext: React.Context<React.ReactNode>;
6
- export { RouterContext, ConfigurationContext, NavbarContext };
@@ -1,5 +0,0 @@
1
- type Props = {
2
- onReceiveMessage: (author: string, message: string) => void;
3
- };
4
- export declare const useMesfRealtime: ({ onReceiveMessage }: Props) => void;
5
- export {};
@@ -1,3 +0,0 @@
1
- export declare const useSearchAssets: (setError: (err: string) => void) => {
2
- searchAssets: () => void;
3
- };
@@ -1,5 +0,0 @@
1
- export declare const useSearchUTLSettings: ({ onError, }: {
2
- onError: (err: string) => void;
3
- }) => {
4
- searchUTLSettings: () => Promise<void>;
5
- };
package/dist/index.d.ts DELETED
@@ -1,21 +0,0 @@
1
- export { LicenseManager } from "ag-grid-enterprise";
2
- export * from "./account";
3
- export * from "./context/axiosInstance";
4
- export * from "./MESFMain";
5
- export * from "./components/modals/modal.mesf";
6
- export * from "./components/modals/error-modal";
7
- export * from "./pages/trendings/TrendingsPage";
8
- export * from "./configuration";
9
- export * from "./context/UTLSettingContext";
10
- export * from "./context/assetContext";
11
- export * from "./context/userContext";
12
- export * from "./controls";
13
- export * from "./services";
14
- export * from "./utils";
15
- export * from "./components/shared/buttons/button-with-loading";
16
- export * from "./configuration/pages/users/models/User";
17
- export * from "./configuration/pages/users/repositories/UsersRepository";
18
- export * from "@microsoft/signalr";
19
- export * from "./hooks/useMesfRealtime";
20
- export * from "./css/themeMESF";
21
- export * from "./components/navigation/TimeAndUserMenu";
@@ -1,10 +0,0 @@
1
- export interface Asset {
2
- AssetId: number;
3
- AssetName: string;
4
- CanBeDefaultAsset: boolean;
5
- ParentAssetId: number | null;
6
- IsAsset: boolean;
7
- IsLeaf: boolean | null;
8
- ParentAssetName?: string | null;
9
- IsBranch: boolean;
10
- }
@@ -1,4 +0,0 @@
1
- export interface UTLSetting {
2
- SettingName: string;
3
- Value: string;
4
- }
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- type Props = {};
3
- export declare const TrendingsPage: (props: Props) => React.JSX.Element;
4
- export {};
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- type Props = {
3
- date: Date;
4
- };
5
- declare const DateComponent: React.FC<Props>;
6
- export default DateComponent;
@@ -1,26 +0,0 @@
1
- import { ChartData } from "chart.js";
2
- import React, { type Dispatch } from "react";
3
- import "./ContextMenu.css";
4
- import { CursorData, ViewTag } from "./models/TrendingModels";
5
- interface TableComponentProps {
6
- cursorData: CursorData;
7
- chartData: ChartData;
8
- getTagsFromAPI: Function;
9
- viewTagForDelete: ViewTag | null;
10
- setViewTagForDelete: Dispatch<ViewTag | null>;
11
- selectedRowTagId: number | null;
12
- setSelectedRowTagId: Dispatch<number | null>;
13
- handleRightClick: (e: any, tagId: number | null) => void;
14
- openContextMenu: boolean;
15
- setOpenContextMenu: Dispatch<boolean>;
16
- setContextMenuPosition: Dispatch<{
17
- x: number;
18
- y: number;
19
- }>;
20
- contextMenuPosition: {
21
- x: number;
22
- y: number;
23
- };
24
- }
25
- declare const TableComponent: React.FC<TableComponentProps>;
26
- export default TableComponent;
@@ -1,8 +0,0 @@
1
- import "chartjs-adapter-moment/dist/chartjs-adapter-moment.esm.js";
2
- import React from "react";
3
- interface TrendingProps {
4
- title: string;
5
- getTagsFromAPI: Function;
6
- }
7
- declare const Trending: React.FC<TrendingProps>;
8
- export default Trending;
@@ -1,11 +0,0 @@
1
- import { ChartData } from "chart.js";
2
- import React from "react";
3
- import { Tag } from "../models/TrendingModels";
4
- interface Props {
5
- tag: Tag;
6
- chartData: ChartData;
7
- index: number;
8
- limitX: number;
9
- }
10
- export declare const CellComponent: ({ tag, chartData, index, limitX }: Props) => React.JSX.Element;
11
- export {};
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface Props {
3
- onChange: Function;
4
- color: string;
5
- elementId?: number;
6
- }
7
- declare const ColorPicker: ({ onChange, color, elementId }: Props) => React.JSX.Element;
8
- export default ColorPicker;
@@ -1,11 +0,0 @@
1
- import { ChartArea } from "chart.js";
2
- import React from "react";
3
- interface DraggableLineControlProps {
4
- chartArea: ChartArea;
5
- initialLeft: number;
6
- otherLineCoord: number;
7
- onUpdate: (newLeft: number) => void;
8
- color: string;
9
- }
10
- declare const DraggableLineControl: React.FC<DraggableLineControlProps>;
11
- export default DraggableLineControl;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { View } from "../../../models/TrendingModels";
3
- interface Props {
4
- open: boolean;
5
- handleClose: (shouldUpdate: boolean) => void;
6
- view: View | null;
7
- }
8
- export declare const DeleteViewModal: ({ open, handleClose, view }: Props) => React.JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { View } from "../../../models/TrendingModels";
3
- interface Props {
4
- open: boolean;
5
- handleClose: (shouldUpdate: boolean) => void;
6
- view: View | null;
7
- }
8
- export declare const EditViewModal: ({ open, handleClose, view }: Props) => React.JSX.Element;
9
- export {};
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface Props {
3
- getTagsFromAPI: Function;
4
- open: boolean;
5
- handleClose: (shouldUpdate: boolean) => void;
6
- }
7
- export declare const LoadViewModal: ({ open, handleClose, getTagsFromAPI }: Props) => React.JSX.Element;
8
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface Props {
3
- open: boolean;
4
- handleClose: (shouldUpdate: boolean) => void;
5
- }
6
- export declare const SaveAsViewModal: ({ open, handleClose }: Props) => React.JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface Props {
3
- open: boolean;
4
- handleClose: (shouldUpdate: boolean) => void;
5
- }
6
- export declare const SaveViewModal: ({ open, handleClose }: Props) => React.JSX.Element;
7
- export {};
@@ -1,15 +0,0 @@
1
- import { NodeModel } from "@minoru/react-dnd-treeview";
2
- import React, { type Dispatch } from "react";
3
- import { TagFromTree } from "../../../../models/TagsTree.model";
4
- interface Props {
5
- isOpen: boolean;
6
- tagNodeSelectedInTree: NodeModel<TagFromTree> | null;
7
- anchorPoint: {
8
- x: number;
9
- y: number;
10
- } | null;
11
- getTagsTreeData: Function;
12
- setShowContextMenu: Dispatch<boolean>;
13
- }
14
- export declare const ContextMenu: ({ isOpen, anchorPoint, tagNodeSelectedInTree, getTagsTreeData, setShowContextMenu, }: Props) => React.JSX.Element;
15
- export {};
@@ -1,10 +0,0 @@
1
- import { NodeModel } from "@minoru/react-dnd-treeview";
2
- import React from "react";
3
- import { TagFromTree } from "../../../../../models/TagsTree.model";
4
- interface Props {
5
- open: boolean;
6
- handleClose: (shouldUpdate: boolean) => void;
7
- tagNodeSelectedInTree: NodeModel<TagFromTree> | null;
8
- }
9
- export declare const NewFolderModal: ({ open, handleClose, tagNodeSelectedInTree, }: Props) => React.JSX.Element;
10
- export {};
@@ -1,10 +0,0 @@
1
- import { NodeModel } from "@minoru/react-dnd-treeview";
2
- import React from "react";
3
- import { TagFromTree } from "../../../../../models/TagsTree.model";
4
- interface Props {
5
- open: boolean;
6
- handleClose: (shouldUpdate: boolean) => void;
7
- tagNodeSelectedInTree: NodeModel<TagFromTree> | null;
8
- }
9
- export declare const RemoveFolderModal: ({ open, handleClose, tagNodeSelectedInTree, }: Props) => React.JSX.Element;
10
- export {};
@@ -1,8 +0,0 @@
1
- import { DragLayerMonitorProps } from "@minoru/react-dnd-treeview";
2
- import React from "react";
3
- import { TagFromTree } from "../../../models/TagsTree.model";
4
- type Props = {
5
- monitorProps: DragLayerMonitorProps<TagFromTree>;
6
- };
7
- export declare const CustomDragPreview: React.FC<Props>;
8
- export {};
@@ -1,20 +0,0 @@
1
- import { NodeModel, RenderParams } from "@minoru/react-dnd-treeview";
2
- import React from "react";
3
- import { TagFromTree } from "../../../models/TagsTree.model";
4
- interface CustomNodeProps {
5
- node: NodeModel<TagFromTree>;
6
- setContextMenuOver: (data: NodeModel<TagFromTree>, e: React.MouseEvent<HTMLElement>) => void;
7
- options: RenderParams;
8
- openTagFolders: {
9
- [TagId: string]: string | number;
10
- [TagId: number]: string | number;
11
- };
12
- handleSelect: (node: NodeModel<TagFromTree>) => void;
13
- setOpenTagFolders: React.Dispatch<React.SetStateAction<{
14
- [TagId: string]: string | number;
15
- [TagId: number]: string | number;
16
- }>>;
17
- isSelected: boolean;
18
- }
19
- export declare const TagFolderCustomNode: React.FC<CustomNodeProps>;
20
- export {};
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { TagFromTree } from "../../../models/TagsTree.model";
3
- interface TagSelectionModalProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- onTagSelect: (tag: TagFromTree) => void;
7
- }
8
- export declare const TagSelectionModal: ({ isOpen, onClose, onTagSelect, }: TagSelectionModalProps) => React.JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { TagFromTree } from "../../../models/TagsTree.model";
3
- interface Props {
4
- open: boolean;
5
- handleClose: () => void;
6
- onTagSelect: (selected: TagFromTree) => void;
7
- }
8
- export declare const TagsTreeModal: ({ open, handleClose, onTagSelect }: Props) => React.JSX.Element;
9
- export {};
@@ -1,120 +0,0 @@
1
- import React, { type ReactNode } from "react";
2
- export declare const useTrendingContext: () => {
3
- state: {
4
- timeScopeStart: Date;
5
- timeScopeEnd: Date;
6
- scope: import("../models/scopes.model").scopeType;
7
- graphPan?: boolean;
8
- graphShouldUpdate: number;
9
- shouldRefetchSeries: number;
10
- views: import("../models/TrendingModels").View[];
11
- viewSelected: import("../models/TrendingModels").View | null;
12
- viewTags: import("../models/TrendingModels").ViewTagsMap;
13
- };
14
- actions: import("@reduxjs/toolkit").CaseReducerActions<{
15
- setTotalScope(state: import("immer/dist/internal").WritableDraft<{
16
- timeScopeStart: Date;
17
- timeScopeEnd: Date;
18
- scope: import("../models/scopes.model").scopeType;
19
- graphPan?: boolean;
20
- graphShouldUpdate: number;
21
- shouldRefetchSeries: number;
22
- views: import("../models/TrendingModels").View[];
23
- viewSelected: import("../models/TrendingModels").View | null;
24
- viewTags: import("../models/TrendingModels").ViewTagsMap;
25
- }>, { payload, type, }: {
26
- payload: {
27
- scope: import("../models/scopes.model").scopeType;
28
- start?: Date;
29
- end?: Date;
30
- graphPan?: boolean;
31
- } | {
32
- scope?: import("../models/scopes.model").scopeType;
33
- start: Date;
34
- end?: Date;
35
- graphPan?: boolean;
36
- } | {
37
- scope?: import("../models/scopes.model").scopeType;
38
- start?: Date;
39
- end: Date;
40
- graphPan?: boolean;
41
- } | {
42
- scope?: import("../models/scopes.model").scopeType;
43
- start: Date;
44
- end: Date;
45
- graphPan: boolean;
46
- };
47
- type: string;
48
- }): void;
49
- setViews(state: import("immer/dist/internal").WritableDraft<{
50
- timeScopeStart: Date;
51
- timeScopeEnd: Date;
52
- scope: import("../models/scopes.model").scopeType;
53
- graphPan?: boolean;
54
- graphShouldUpdate: number;
55
- shouldRefetchSeries: number;
56
- views: import("../models/TrendingModels").View[];
57
- viewSelected: import("../models/TrendingModels").View | null;
58
- viewTags: import("../models/TrendingModels").ViewTagsMap;
59
- }>, { payload }: {
60
- payload: any;
61
- type: string;
62
- }): void;
63
- setViewSelected(state: import("immer/dist/internal").WritableDraft<{
64
- timeScopeStart: Date;
65
- timeScopeEnd: Date;
66
- scope: import("../models/scopes.model").scopeType;
67
- graphPan?: boolean;
68
- graphShouldUpdate: number;
69
- shouldRefetchSeries: number;
70
- views: import("../models/TrendingModels").View[];
71
- viewSelected: import("../models/TrendingModels").View | null;
72
- viewTags: import("../models/TrendingModels").ViewTagsMap;
73
- }>, { payload }: {
74
- payload: any;
75
- type: string;
76
- }): void;
77
- setViewTags(state: import("immer/dist/internal").WritableDraft<{
78
- timeScopeStart: Date;
79
- timeScopeEnd: Date;
80
- scope: import("../models/scopes.model").scopeType;
81
- graphPan?: boolean;
82
- graphShouldUpdate: number;
83
- shouldRefetchSeries: number;
84
- views: import("../models/TrendingModels").View[];
85
- viewSelected: import("../models/TrendingModels").View | null;
86
- viewTags: import("../models/TrendingModels").ViewTagsMap;
87
- }>, { payload }: {
88
- payload: any;
89
- type: string;
90
- }): void;
91
- setViewTagsAndRefetch(state: import("immer/dist/internal").WritableDraft<{
92
- timeScopeStart: Date;
93
- timeScopeEnd: Date;
94
- scope: import("../models/scopes.model").scopeType;
95
- graphPan?: boolean;
96
- graphShouldUpdate: number;
97
- shouldRefetchSeries: number;
98
- views: import("../models/TrendingModels").View[];
99
- viewSelected: import("../models/TrendingModels").View | null;
100
- viewTags: import("../models/TrendingModels").ViewTagsMap;
101
- }>, { payload }: {
102
- payload: any;
103
- type: string;
104
- }): void;
105
- setGraphShouldUpdate(state: import("immer/dist/internal").WritableDraft<{
106
- timeScopeStart: Date;
107
- timeScopeEnd: Date;
108
- scope: import("../models/scopes.model").scopeType;
109
- graphPan?: boolean;
110
- graphShouldUpdate: number;
111
- shouldRefetchSeries: number;
112
- views: import("../models/TrendingModels").View[];
113
- viewSelected: import("../models/TrendingModels").View | null;
114
- viewTags: import("../models/TrendingModels").ViewTagsMap;
115
- }>): void;
116
- }, "__">;
117
- };
118
- export declare const TrendingProvider: ({ children }: {
119
- children: ReactNode;
120
- }) => React.JSX.Element;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import { CustomOptions } from "./models/TrendingModels";
3
- interface CustomOptionsComponentProps {
4
- customOptions: CustomOptions;
5
- setCustomOptions: React.Dispatch<React.SetStateAction<CustomOptions>>;
6
- }
7
- declare const CustomOptionsComponent: React.FC<CustomOptionsComponentProps>;
8
- export default CustomOptionsComponent;
@@ -1,2 +0,0 @@
1
- import { Plugin } from "chart.js";
2
- export declare const useGetVerticalLinePlugin: (setChartArea: (param: any) => void, setCoords: any) => Plugin;
@@ -1,24 +0,0 @@
1
- import { ChartData } from "chart.js";
2
- import { CursorData, ViewTagsMap } from "../models/TrendingModels";
3
- interface Props {
4
- cursorData: CursorData;
5
- viewTagsMap: ViewTagsMap;
6
- chartData: ChartData;
7
- }
8
- interface TagsDataTable {
9
- [tagName: string]: {
10
- y1: number;
11
- y2: number;
12
- y2y1: number;
13
- pmin: {
14
- x: number | Date;
15
- y: number;
16
- };
17
- pmax: {
18
- x: number | Date;
19
- y: number;
20
- };
21
- };
22
- }
23
- export declare const useTagsDataTable: ({ cursorData, viewTagsMap, chartData, }: Props) => TagsDataTable;
24
- export {};
@@ -1,2 +0,0 @@
1
- import { CursorData } from "../models/TrendingModels";
2
- export declare const updateCursorData: (chart: any, setCursorData: (cursorData: CursorData) => void) => void;
@@ -1,2 +0,0 @@
1
- import { Plugin } from "chart.js";
2
- export declare const useXAxisDatePlugin: () => Plugin;
@@ -1,2 +0,0 @@
1
- import { Plugin } from "chart.js";
2
- export declare const useYAxisPlugin: () => Plugin;
@@ -1,12 +0,0 @@
1
- export interface TagFromTree {
2
- TagId: number;
3
- ParentTagId: number | null;
4
- TagName: string;
5
- Alias: string;
6
- TagTypeCode: string;
7
- Color: string | null;
8
- MinScale: number | null;
9
- MaxScale: number | null;
10
- Unit: string | null;
11
- children: null | TagFromTree[];
12
- }