@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.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +27 -0
- package/dist/index.esm.js +5810 -9168
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
- package/dist/MESFMain.d.ts +0 -14
- package/dist/account/AuthProvider.d.ts +0 -29
- package/dist/account/account.d.ts +0 -2
- package/dist/account/changePassword.d.ts +0 -2
- package/dist/account/index.d.ts +0 -6
- package/dist/account/login-strategies/LoginAsGuest.d.ts +0 -2
- package/dist/account/login-strategies/LoginWithEmailAndPassword.d.ts +0 -2
- package/dist/account/login-strategies/LoginWithWindowsAuthentication.d.ts +0 -2
- package/dist/account/login-strategies/azure-ad/AzureADAuthConfig.d.ts +0 -37
- package/dist/account/login-strategies/azure-ad/LoginWithAzureAD.d.ts +0 -5
- package/dist/account/login-strategies/azure-ad/LoginWithAzureADForm.d.ts +0 -2
- package/dist/account/login-strategies/windows.d.ts +0 -4
- package/dist/account/login.d.ts +0 -3
- package/dist/account/logout.d.ts +0 -2
- package/dist/account/models/login.models.d.ts +0 -15
- package/dist/account/useToken.d.ts +0 -11
- package/dist/components/home/home.d.ts +0 -3
- package/dist/components/modals/error-modal.d.ts +0 -9
- package/dist/components/modals/modal.mesf.d.ts +0 -23
- package/dist/components/navigation/Header.d.ts +0 -6
- package/dist/components/navigation/MainContainer.d.ts +0 -3
- package/dist/components/navigation/Navigation.d.ts +0 -8
- package/dist/components/navigation/TimeAndUserMenu.d.ts +0 -6
- package/dist/components/navigation/areaSelector/area-selector.d.ts +0 -2
- package/dist/components/navigation/hooks/useDefaultAreaId.d.ts +0 -1
- package/dist/components/shared/buttons/button-with-loading.d.ts +0 -8
- package/dist/configuration/configuration.d.ts +0 -6
- package/dist/configuration/formatters.d.ts +0 -7
- package/dist/configuration/index.d.ts +0 -9
- package/dist/configuration/pages/asset/ConfigurationAssetPage.d.ts +0 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/AssetView.d.ts +0 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/ConfigurationAssetComponent.d.ts +0 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomDragPreview.d.ts +0 -8
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomNode.d.ts +0 -15
- package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts +0 -8
- package/dist/configuration/pages/asset/components/AssetConfiguration/TypeIcon.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/create-new-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/edit-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/remove-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/viewer-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/hooks/useAssetActions.d.ts +0 -24
- package/dist/configuration/pages/asset/components/hooks/useAssetCodes.d.ts +0 -3
- package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +0 -328
- package/dist/configuration/pages/asset/hooks/TransformAssetModelData.d.ts +0 -3
- package/dist/configuration/pages/asset/hooks/useSearchAssets.d.ts +0 -8
- package/dist/configuration/pages/asset/index.d.ts +0 -4
- package/dist/configuration/pages/asset/models/AssetAPI.d.ts +0 -9
- package/dist/configuration/pages/asset/models/AssetCode.d.ts +0 -8
- package/dist/configuration/pages/asset/models/AssetParameters.d.ts +0 -11
- package/dist/configuration/pages/asset/models/FileProperties.d.ts +0 -4
- package/dist/configuration/pages/asset/models/InitialValueDataAsset.d.ts +0 -2
- package/dist/configuration/pages/asset/reducers/ConfigurationAssetReducer.d.ts +0 -323
- package/dist/configuration/pages/asset/repositories/ConfigurationAssetRepository.d.ts +0 -4
- package/dist/configuration/pages/asset/theme.d.ts +0 -1
- package/dist/configuration/pages/job/JobsPage.d.ts +0 -4
- package/dist/configuration/pages/job/components/JobsTable/JobsDetails.d.ts +0 -12
- package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +0 -9
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts +0 -11
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsTableData.d.ts +0 -12
- package/dist/configuration/pages/job/components/ResetJob.d.ts +0 -9
- package/dist/configuration/pages/job/components/onEnableJob.d.ts +0 -9
- package/dist/configuration/pages/job/context/JobsContext.d.ts +0 -26
- package/dist/configuration/pages/job/index.d.ts +0 -4
- package/dist/configuration/pages/job/models/Job.d.ts +0 -21
- package/dist/configuration/pages/job/reducers/JobsReducer.d.ts +0 -20
- package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +0 -13
- package/dist/configuration/pages/log/LogsPage.d.ts +0 -4
- package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +0 -7
- package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +0 -8
- package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +0 -7
- package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +0 -11
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogTableData.d.ts +0 -12
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogsOptionsFunctions.d.ts +0 -11
- package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +0 -9
- package/dist/configuration/pages/log/context/LogsContext.d.ts +0 -61
- package/dist/configuration/pages/log/data/LogTypeCodes.d.ts +0 -21
- package/dist/configuration/pages/log/index.d.ts +0 -4
- package/dist/configuration/pages/log/models/Log.d.ts +0 -8
- package/dist/configuration/pages/log/models/SearchData.d.ts +0 -6
- package/dist/configuration/pages/log/reducers/LogsReducer.d.ts +0 -56
- package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +0 -1
- package/dist/configuration/pages/log/styles/tableStyles.d.ts +0 -1
- package/dist/configuration/pages/profiles/ProfilesPage.d.ts +0 -4
- package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +0 -7
- package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +0 -9
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ActionsOfProfile.d.ts +0 -9
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ProceduresDataTable/index.d.ts +0 -10
- package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +0 -7
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useProfilesOptionsFunctions.d.ts +0 -12
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +0 -17
- package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +0 -11
- package/dist/configuration/pages/profiles/components/common/Profiles/hook/useGetProfilesEffect.d.ts +0 -8
- package/dist/configuration/pages/profiles/context/ProfileContext.d.ts +0 -26
- package/dist/configuration/pages/profiles/index.d.ts +0 -4
- package/dist/configuration/pages/profiles/models/Action.d.ts +0 -4
- package/dist/configuration/pages/profiles/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/profiles/models/Permission.d.ts +0 -4
- package/dist/configuration/pages/profiles/models/Profile.d.ts +0 -5
- package/dist/configuration/pages/profiles/reducers/ProfilesReducer.d.ts +0 -21
- package/dist/configuration/pages/profiles/repositories/ProfilesRepository.d.ts +0 -8
- package/dist/configuration/pages/realtime/client/index.d.ts +0 -3
- package/dist/configuration/pages/realtime/client/types.d.ts +0 -15
- package/dist/configuration/pages/realtime/config/index.d.ts +0 -4
- package/dist/configuration/pages/settings/SettingsPage.d.ts +0 -2
- package/dist/configuration/pages/settings/components/TableSettings.d.ts +0 -9
- package/dist/configuration/pages/settings/components/customHooks/useSettingsOptionsFunctions.d.ts +0 -12
- package/dist/configuration/pages/settings/components/customHooks/useTableSettings.d.ts +0 -11
- package/dist/configuration/pages/settings/components/upsertDelete/CreateSetting.d.ts +0 -7
- package/dist/configuration/pages/settings/components/upsertDelete/DeleteSetting.d.ts +0 -7
- package/dist/configuration/pages/settings/components/upsertDelete/EditSetting.d.ts +0 -7
- package/dist/configuration/pages/settings/context/SettingsContext.d.ts +0 -26
- package/dist/configuration/pages/settings/index.d.ts +0 -3
- package/dist/configuration/pages/settings/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/settings/models/Setting.d.ts +0 -6
- package/dist/configuration/pages/settings/reducers/SettingReducer.d.ts +0 -20
- package/dist/configuration/pages/settings/repositories/settingRepository.d.ts +0 -3
- package/dist/configuration/pages/settings/styles/useStyles.d.ts +0 -1
- package/dist/configuration/pages/shifCrew/ShiftsCrewsPage.d.ts +0 -4
- package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +0 -7
- package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +0 -7
- package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +0 -7
- package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +0 -10
- package/dist/configuration/pages/shifCrew/components/customHooks/useShiftsOptionsFunctions.d.ts +0 -11
- package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +0 -20
- package/dist/configuration/pages/shifCrew/context/ShiftsCrewsContext.d.ts +0 -26
- package/dist/configuration/pages/shifCrew/index.d.ts +0 -4
- package/dist/configuration/pages/shifCrew/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/shifCrew/models/ShiftParameters.d.ts +0 -12
- package/dist/configuration/pages/shifCrew/reducers/ShiftsCrewsReducer.d.ts +0 -20
- package/dist/configuration/pages/shifCrew/repositories/ShiftsCrewsRepository.d.ts +0 -4
- package/dist/configuration/pages/users/UsersPage.d.ts +0 -4
- package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +0 -8
- package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +0 -7
- package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +0 -8
- package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +0 -8
- package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +0 -8
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/buttonsCellRenderer.d.ts +0 -2
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +0 -20
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useUsersOptionsFunctions.d.ts +0 -13
- package/dist/configuration/pages/users/components/common/AuthTypeSelector.d.ts +0 -8
- package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +0 -10
- package/dist/configuration/pages/users/context/UsersContext.d.ts +0 -17
- package/dist/configuration/pages/users/index.d.ts +0 -4
- package/dist/configuration/pages/users/models/AuthType.d.ts +0 -4
- package/dist/configuration/pages/users/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/users/models/Profile.d.ts +0 -8
- package/dist/configuration/pages/users/models/User.d.ts +0 -11
- package/dist/configuration/pages/users/reducers/UsersReducer.d.ts +0 -11
- package/dist/configuration/pages/users/repositories/UsersRepository.d.ts +0 -31
- package/dist/configuration/stylesGetters.d.ts +0 -14
- package/dist/configurationMenu.d.ts +0 -13
- package/dist/context/UTLSettingContext.d.ts +0 -41
- package/dist/context/assetContext.d.ts +0 -26
- package/dist/context/axiosInstance.d.ts +0 -2
- package/dist/context/userContext.d.ts +0 -83
- package/dist/controls/LazyLoading/LazyLoading.d.ts +0 -3
- package/dist/controls/alert.d.ts +0 -3
- package/dist/controls/charts/genericChart.d.ts +0 -10
- package/dist/controls/contextMenu/ContextMenu.d.ts +0 -2
- package/dist/controls/contextMenu/index.d.ts +0 -4
- package/dist/controls/contextMenu/models/MenuOptionType.d.ts +0 -10
- package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +0 -1
- package/dist/controls/contextMenu/useContextMenuMESF.d.ts +0 -22
- package/dist/controls/filters/TreePickerControl.d.ts +0 -11
- package/dist/controls/filters/TreePickerControlV2.d.ts +0 -15
- package/dist/controls/filters/dialogFilter.d.ts +0 -30
- package/dist/controls/filters/filters.d.ts +0 -40
- package/dist/controls/index.d.ts +0 -9
- package/dist/controls/panels.d.ts +0 -41
- package/dist/controls/shift-navigator/component/shift-navigator.control.d.ts +0 -7
- package/dist/controls/shift-navigator/context/ShiftNavigatorProvider.d.ts +0 -4
- package/dist/controls/shift-navigator/hook/useShiftNavigator.d.ts +0 -14
- package/dist/controls/shift-navigator/index.d.ts +0 -5
- package/dist/controls/shift-navigator/models/shift-navigator.model.d.ts +0 -30
- package/dist/controls/shift-navigator/repositories/ShiftsRepository.d.ts +0 -10
- package/dist/controls/shift-navigator-v2/component/shift-period-navigator.control.d.ts +0 -15
- package/dist/controls/shift-navigator-v2/index.d.ts +0 -4
- package/dist/controls/shift-navigator-v2/models/SearchShiftsParameters.d.ts +0 -4
- package/dist/controls/shift-navigator-v2/models/shift-data.d.ts +0 -22
- package/dist/controls/shift-navigator-v2/repositories/ShiftsRepository.d.ts +0 -14
- package/dist/controls/tables/GenericTable.d.ts +0 -5
- package/dist/controls/tables/dataGrid.d.ts +0 -10
- package/dist/css/themeMESF.d.ts +0 -1
- package/dist/globalContext.d.ts +0 -6
- package/dist/hooks/useMesfRealtime.d.ts +0 -5
- package/dist/hooks/useSearchAssets.d.ts +0 -3
- package/dist/hooks/useSearchUTLSetting.d.ts +0 -5
- package/dist/index.d.ts +0 -21
- package/dist/models/Asset.d.ts +0 -10
- package/dist/models/UTLSetting.d.ts +0 -4
- package/dist/pages/trendings/TrendingsPage.d.ts +0 -4
- package/dist/pages/trendings/components/chart/DateComponent.d.ts +0 -6
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -26
- package/dist/pages/trendings/components/chart/Trending.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/CellComponent.d.ts +0 -11
- package/dist/pages/trendings/components/chart/components/ColorPicker.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/DraggableLineControl.d.ts +0 -11
- package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/modals/saveAsView/SaveAsViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/saveView/SaveViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/ContextMenu.d.ts +0 -15
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/NewFolder/NewFolder.d.ts +0 -10
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/RemoveFolder/RemoveFolder.d.ts +0 -10
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/CustomDragView.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagFolderCustomNode.d.ts +0 -20
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +0 -120
- package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +0 -8
- package/dist/pages/trendings/components/chart/hooks/useGetVerticalLinePlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useTagsDataTable.d.ts +0 -24
- package/dist/pages/trendings/components/chart/hooks/useUpdateCursorData.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useXAxisDatePlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useYAxisPlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/models/TagsTree.model.d.ts +0 -12
- package/dist/pages/trendings/components/chart/models/TrendingModels.d.ts +0 -65
- package/dist/pages/trendings/components/chart/models/scopes.model.d.ts +0 -1
- package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +0 -13
- package/dist/pages/trendings/components/chart/sections/chart/hooks/useChartOptions.d.ts +0 -105
- package/dist/pages/trendings/components/chart/sections/header.d.ts +0 -6
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +0 -12
- package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/utils/areRangeSimilar.d.ts +0 -2
- package/dist/pages/trendings/components/chart/utils/buildTagsTree.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/calculateScales.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/dateNavigator.d.ts +0 -5
- package/dist/pages/trendings/components/chart/utils/formatDateTimeToString.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/formatTimeDiffWithMs.d.ts +0 -1
- package/dist/pages/trendings/components/chart/utils/tagColors.d.ts +0 -2
- package/dist/pages/trendings/components/chart/utils/timeDifference.d.ts +0 -1
- package/dist/pages/trendings/index.d.ts +0 -3
- package/dist/pages/trendings/reducers/trendings.reducer.d.ts +0 -115
- package/dist/reducers/AssetReducer.d.ts +0 -20
- package/dist/reducers/UTLSettingsReducer.d.ts +0 -34
- package/dist/reducers/UserReducer.d.ts +0 -75
- package/dist/repositorie/MESF-frontend-Repositorie.d.ts +0 -4
- package/dist/routes/MESFMainRouter.d.ts +0 -3
- package/dist/services/ApiService.d.ts +0 -48
- package/dist/services/TimeService.d.ts +0 -15
- package/dist/services/index.d.ts +0 -2
- package/dist/utils/transforms.d.ts +0 -30
- 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,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,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 };
|
package/dist/css/themeMESF.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const themeMESF: import("@material-ui/core").Theme;
|
package/dist/globalContext.d.ts
DELETED
|
@@ -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 };
|
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";
|
package/dist/models/Asset.d.ts
DELETED
|
@@ -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,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,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;
|
package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts
DELETED
|
@@ -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 {};
|
package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts
DELETED
|
@@ -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,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 {};
|
package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/CustomDragView.d.ts
DELETED
|
@@ -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 {};
|
package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts
DELETED
|
@@ -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 {};
|
package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts
DELETED
|
@@ -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,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,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
|
-
}
|