@dexteel/mesf-core 5.4.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 +14 -0
- package/dist/index.esm.js +5808 -9164
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- 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,8 +0,0 @@
|
|
|
1
|
-
import "ag-grid-community/styles/ag-theme-material.min.css";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
type Props = {
|
|
4
|
-
getUsersFromAPI: Function;
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const TableUsers: ({ getUsersFromAPI, isLoading }: Props) => React.JSX.Element;
|
|
8
|
-
export {};
|
package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ColDef } from "ag-grid-community";
|
|
2
|
-
type Props = {
|
|
3
|
-
setUserId: Function;
|
|
4
|
-
setOpenModalEditDataUser: Function;
|
|
5
|
-
setOpenModalDeleteUser: Function;
|
|
6
|
-
setOpenModalChangePasswordd: Function;
|
|
7
|
-
showContextMenu: Function;
|
|
8
|
-
};
|
|
9
|
-
export declare const useTableData: ({ setUserId, setOpenModalEditDataUser, setOpenModalDeleteUser, setOpenModalChangePasswordd, showContextMenu, }: Props) => {
|
|
10
|
-
rows: {
|
|
11
|
-
UserId: number | null;
|
|
12
|
-
UserName: string;
|
|
13
|
-
LastName: string;
|
|
14
|
-
FirstName: string;
|
|
15
|
-
Profiles: string;
|
|
16
|
-
id: number | null;
|
|
17
|
-
}[];
|
|
18
|
-
columnDefs: ColDef<any, any>[];
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MenuOptionType } from "../../../../../../controls";
|
|
2
|
-
import { User } from "../../../models/User";
|
|
3
|
-
type Props = {
|
|
4
|
-
setUserId: Function;
|
|
5
|
-
setShowEditModal: Function;
|
|
6
|
-
setShowDeleteModal: Function;
|
|
7
|
-
setShowCreateModal: Function;
|
|
8
|
-
setShowChangePasswordModal: Function;
|
|
9
|
-
};
|
|
10
|
-
export declare const useUsersOptionsFunctions: ({ setUserId, setShowEditModal, setShowDeleteModal, setShowCreateModal, setShowChangePasswordModal, }: Props) => {
|
|
11
|
-
getMenuOptions: (data: User) => MenuOptionType[];
|
|
12
|
-
};
|
|
13
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
value: number[];
|
|
4
|
-
onChange: Function;
|
|
5
|
-
userIdForDelete: number | null;
|
|
6
|
-
setprofileError: (err: string) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const ProfilesPicker: ({ value, onChange, userIdForDelete, setprofileError, disabled, }: Props) => React.JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React, type ReactNode } from "react";
|
|
2
|
-
export declare const useUsersContext: () => {
|
|
3
|
-
state: {
|
|
4
|
-
users: import("../models/User").User[];
|
|
5
|
-
};
|
|
6
|
-
actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
7
|
-
setUsers(state: import("immer/dist/internal").WritableDraft<{
|
|
8
|
-
users: import("../models/User").User[];
|
|
9
|
-
}>, { payload }: {
|
|
10
|
-
payload: any;
|
|
11
|
-
type: string;
|
|
12
|
-
}): void;
|
|
13
|
-
}, "__">;
|
|
14
|
-
};
|
|
15
|
-
export declare const UsersProvider: ({ children }: {
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}) => React.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { User } from "../models/User";
|
|
2
|
-
export declare const UsersReducer: import("@reduxjs/toolkit").Slice<{
|
|
3
|
-
users: User[];
|
|
4
|
-
}, {
|
|
5
|
-
setUsers(state: import("immer/dist/internal").WritableDraft<{
|
|
6
|
-
users: User[];
|
|
7
|
-
}>, { payload }: {
|
|
8
|
-
payload: any;
|
|
9
|
-
type: string;
|
|
10
|
-
}): void;
|
|
11
|
-
}, "__">;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { User } from "../models/User";
|
|
2
|
-
export declare const getUsers: () => Promise<import("../../../../services").ResponseMESF>;
|
|
3
|
-
export declare const getDataUser: (UserId: number | null) => Promise<import("../../../../services").ResponseMESF>;
|
|
4
|
-
export declare const getProfiles: () => Promise<import("../../../../services").ResponseMESF>;
|
|
5
|
-
export declare const deleteUser: (userId: number) => Promise<import("../../../../services").ResponseMESF>;
|
|
6
|
-
export declare const setPassword: (userId: number, password: string) => Promise<{
|
|
7
|
-
ok: boolean;
|
|
8
|
-
data: any;
|
|
9
|
-
message?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
ok: boolean;
|
|
12
|
-
message: any;
|
|
13
|
-
data?: undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export declare const upsertUser: (user: User) => Promise<import("../../../../services").ResponseMESF>;
|
|
16
|
-
export declare const getAuthTypes: () => Promise<import("../../../../services").ResponseMESF>;
|
|
17
|
-
export declare const setProfilesToUser: (UserId: number, profileIds: number[]) => Promise<import("../../../../services").ResponseMESF>;
|
|
18
|
-
type PermissionsProp = {
|
|
19
|
-
UserId: number;
|
|
20
|
-
UserName?: string | null;
|
|
21
|
-
} | {
|
|
22
|
-
UserId?: number | null;
|
|
23
|
-
UserName: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const getUserPermissionsFromAPI: ({ UserId, UserName, }: PermissionsProp) => Promise<{
|
|
26
|
-
UserId: number;
|
|
27
|
-
UserName: string;
|
|
28
|
-
ProfilesId: string;
|
|
29
|
-
Permissions: string;
|
|
30
|
-
} | null>;
|
|
31
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const getShiftStyle: (shift: string) => {
|
|
3
|
-
color: string;
|
|
4
|
-
} | {
|
|
5
|
-
color?: undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const getCrewStyle: (crew: string) => {
|
|
8
|
-
color: string;
|
|
9
|
-
} | {
|
|
10
|
-
color?: undefined;
|
|
11
|
-
};
|
|
12
|
-
declare const GetShiftColor: (props: any) => React.JSX.Element;
|
|
13
|
-
declare const GetCrewColor: (props: any) => React.JSX.Element;
|
|
14
|
-
export { getShiftStyle, getCrewStyle, GetShiftColor, GetCrewColor };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface SectionComponent {
|
|
3
|
-
path: string;
|
|
4
|
-
sidebar: FC;
|
|
5
|
-
main: FC;
|
|
6
|
-
exact?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export type SidebarType = FC<{
|
|
9
|
-
option?: string;
|
|
10
|
-
}>;
|
|
11
|
-
export type ConfigurationsType = [SectionComponent[], SidebarType];
|
|
12
|
-
declare const Configuration: FC;
|
|
13
|
-
export default Configuration;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { default as React, type ReactNode } from "react";
|
|
2
|
-
export declare const useUTLSettingsContext: () => {
|
|
3
|
-
state: {
|
|
4
|
-
serverTimeZone: string;
|
|
5
|
-
settings: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
10
|
-
setServerTimeZone(state: import("immer/dist/internal").WritableDraft<{
|
|
11
|
-
serverTimeZone: string;
|
|
12
|
-
settings: {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
};
|
|
15
|
-
}>, { payload }: {
|
|
16
|
-
payload: any;
|
|
17
|
-
type: string;
|
|
18
|
-
}): void;
|
|
19
|
-
setSetting(state: import("immer/dist/internal").WritableDraft<{
|
|
20
|
-
serverTimeZone: string;
|
|
21
|
-
settings: {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
};
|
|
24
|
-
}>, { payload }: {
|
|
25
|
-
payload: any;
|
|
26
|
-
type: string;
|
|
27
|
-
}): void;
|
|
28
|
-
initSettings(state: import("immer/dist/internal").WritableDraft<{
|
|
29
|
-
serverTimeZone: string;
|
|
30
|
-
settings: {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
};
|
|
33
|
-
}>, { payload }: {
|
|
34
|
-
payload: any;
|
|
35
|
-
type: string;
|
|
36
|
-
}): void;
|
|
37
|
-
}, "__">;
|
|
38
|
-
};
|
|
39
|
-
export declare const UTLSettingsProvider: ({ children }: {
|
|
40
|
-
children: ReactNode;
|
|
41
|
-
}) => React.JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React, type ReactNode } from "react";
|
|
2
|
-
export declare const useAssetContext: () => {
|
|
3
|
-
state: {
|
|
4
|
-
areasList: import("../models/Asset").Asset[];
|
|
5
|
-
allAssets: import("../models/Asset").Asset[];
|
|
6
|
-
};
|
|
7
|
-
actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
8
|
-
setAreasList(state: import("immer/dist/internal").WritableDraft<{
|
|
9
|
-
areasList: import("../models/Asset").Asset[];
|
|
10
|
-
allAssets: import("../models/Asset").Asset[];
|
|
11
|
-
}>, { payload }: {
|
|
12
|
-
payload: any;
|
|
13
|
-
type: string;
|
|
14
|
-
}): void;
|
|
15
|
-
setAllAssets(state: import("immer/dist/internal").WritableDraft<{
|
|
16
|
-
areasList: import("../models/Asset").Asset[];
|
|
17
|
-
allAssets: import("../models/Asset").Asset[];
|
|
18
|
-
}>, { payload }: {
|
|
19
|
-
payload: any;
|
|
20
|
-
type: string;
|
|
21
|
-
}): void;
|
|
22
|
-
}, "__">;
|
|
23
|
-
};
|
|
24
|
-
export declare const AssetProvider: ({ children }: {
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
}) => React.JSX.Element;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { default as React, type ReactNode } from "react";
|
|
2
|
-
export declare const useUserContext: () => {
|
|
3
|
-
state: {
|
|
4
|
-
userLastName: string;
|
|
5
|
-
userId: number | null;
|
|
6
|
-
defaultAreaId: number | string | null;
|
|
7
|
-
defaultAreaName: string | null;
|
|
8
|
-
userLogged: boolean;
|
|
9
|
-
permissions: string[];
|
|
10
|
-
};
|
|
11
|
-
actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
12
|
-
setUserId(state: import("immer/dist/internal").WritableDraft<{
|
|
13
|
-
userLastName: string;
|
|
14
|
-
userId: number | null;
|
|
15
|
-
defaultAreaId: number | string | null;
|
|
16
|
-
defaultAreaName: string | null;
|
|
17
|
-
userLogged: boolean;
|
|
18
|
-
permissions: string[];
|
|
19
|
-
}>, { payload }: {
|
|
20
|
-
payload: any;
|
|
21
|
-
type: string;
|
|
22
|
-
}): void;
|
|
23
|
-
setUserLastName(state: import("immer/dist/internal").WritableDraft<{
|
|
24
|
-
userLastName: string;
|
|
25
|
-
userId: number | null;
|
|
26
|
-
defaultAreaId: number | string | null;
|
|
27
|
-
defaultAreaName: string | null;
|
|
28
|
-
userLogged: boolean;
|
|
29
|
-
permissions: string[];
|
|
30
|
-
}>, { payload }: {
|
|
31
|
-
payload: any;
|
|
32
|
-
type: string;
|
|
33
|
-
}): void;
|
|
34
|
-
setDefaultAreaId(state: import("immer/dist/internal").WritableDraft<{
|
|
35
|
-
userLastName: string;
|
|
36
|
-
userId: number | null;
|
|
37
|
-
defaultAreaId: number | string | null;
|
|
38
|
-
defaultAreaName: string | null;
|
|
39
|
-
userLogged: boolean;
|
|
40
|
-
permissions: string[];
|
|
41
|
-
}>, { payload }: {
|
|
42
|
-
payload: any;
|
|
43
|
-
type: string;
|
|
44
|
-
}): void;
|
|
45
|
-
setDefaultAreaName(state: import("immer/dist/internal").WritableDraft<{
|
|
46
|
-
userLastName: string;
|
|
47
|
-
userId: number | null;
|
|
48
|
-
defaultAreaId: number | string | null;
|
|
49
|
-
defaultAreaName: string | null;
|
|
50
|
-
userLogged: boolean;
|
|
51
|
-
permissions: string[];
|
|
52
|
-
}>, { payload }: {
|
|
53
|
-
payload: any;
|
|
54
|
-
type: string;
|
|
55
|
-
}): void;
|
|
56
|
-
setUserLogged(state: import("immer/dist/internal").WritableDraft<{
|
|
57
|
-
userLastName: string;
|
|
58
|
-
userId: number | null;
|
|
59
|
-
defaultAreaId: number | string | null;
|
|
60
|
-
defaultAreaName: string | null;
|
|
61
|
-
userLogged: boolean;
|
|
62
|
-
permissions: string[];
|
|
63
|
-
}>, { payload }: {
|
|
64
|
-
payload: any;
|
|
65
|
-
type: string;
|
|
66
|
-
}): void;
|
|
67
|
-
setPermissions(state: import("immer/dist/internal").WritableDraft<{
|
|
68
|
-
userLastName: string;
|
|
69
|
-
userId: number | null;
|
|
70
|
-
defaultAreaId: number | string | null;
|
|
71
|
-
defaultAreaName: string | null;
|
|
72
|
-
userLogged: boolean;
|
|
73
|
-
permissions: string[];
|
|
74
|
-
}>, { payload }: {
|
|
75
|
-
payload: any;
|
|
76
|
-
type: string;
|
|
77
|
-
}): void;
|
|
78
|
-
}, "__">;
|
|
79
|
-
};
|
|
80
|
-
export declare const useHasPermission: () => (permission: string) => boolean;
|
|
81
|
-
export declare const UserProvider: ({ children }: {
|
|
82
|
-
children: ReactNode;
|
|
83
|
-
}) => React.JSX.Element;
|
package/dist/controls/alert.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import PropTypes from "prop-types";
|
|
2
|
-
import React from "react";
|
|
3
|
-
declare const BarChartControl: {
|
|
4
|
-
(props: any): React.JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
data: PropTypes.Requireable<any[]>;
|
|
7
|
-
keys: PropTypes.Requireable<any[]>;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export { BarChartControl };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { CSSProperties, ReactNode } from "react";
|
|
3
|
-
export interface MenuOptionType {
|
|
4
|
-
name: string;
|
|
5
|
-
key: string;
|
|
6
|
-
onClick?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>) => void;
|
|
7
|
-
style?: CSSProperties;
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"contextMenu">;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from "react";
|
|
2
|
-
import { MenuOptionType } from "./models/MenuOptionType";
|
|
3
|
-
type ContextMenuConfig = {
|
|
4
|
-
id: string;
|
|
5
|
-
getOptions: (data: any) => MenuOptionType[];
|
|
6
|
-
};
|
|
7
|
-
interface ContextMenuMESFContextType {
|
|
8
|
-
show: boolean;
|
|
9
|
-
position: {
|
|
10
|
-
x: number;
|
|
11
|
-
y: number;
|
|
12
|
-
};
|
|
13
|
-
options: MenuOptionType[];
|
|
14
|
-
showContextMenu: (e: React.MouseEvent, data: any, configId: string) => void;
|
|
15
|
-
registerConfig: (config: ContextMenuConfig) => void;
|
|
16
|
-
onClickOutside: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const ContextMenuMESFProvider: ({ children, }: {
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
}) => React.JSX.Element;
|
|
21
|
-
export declare const useContextMenuMESF: () => ContextMenuMESFContextType;
|
|
22
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type TreePickerControlProps = {
|
|
3
|
-
onSelect: (value: number, description: string, findNode: any, showPath?: boolean, listAssetDrawings?: number[], multipleSelectNodes?: boolean, onHide?: (showAssetTree?: boolean) => void, showAssetTree?: boolean) => void;
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
setListAssetDrawings?: Function;
|
|
6
|
-
onSuccess?: (success: boolean) => void;
|
|
7
|
-
showClearButton?: boolean;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
export declare const TreePickerControl: (props: TreePickerControlProps) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TreeNode } from "./dialogFilter";
|
|
3
|
-
type TreePickerControlProps = {
|
|
4
|
-
onSelect: (value: number, description: string, findNode: any, showPath?: boolean, listAssetDrawings?: number[], multipleSelectNodes?: boolean, onHide?: (showAssetTree?: boolean) => void, showAssetTree?: boolean) => void;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
setListAssetDrawings?: Function;
|
|
7
|
-
onSuccess?: (success: boolean) => void;
|
|
8
|
-
showClearButton?: boolean;
|
|
9
|
-
showFullPath?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
dataSource: TreeNode;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
14
|
-
export declare const TreePickerControlV2: (props: TreePickerControlProps) => React.JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface TreeNode {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
isCode: boolean;
|
|
6
|
-
isActive: boolean;
|
|
7
|
-
isInternal?: boolean;
|
|
8
|
-
isSelectable?: boolean;
|
|
9
|
-
isLeaf?: boolean;
|
|
10
|
-
children?: TreeNode[];
|
|
11
|
-
delayCategoryColor?: string;
|
|
12
|
-
}
|
|
13
|
-
interface ModalTreeFilterControlProps {
|
|
14
|
-
onClose: (value?: number, name?: string, node?: TreeNode) => void;
|
|
15
|
-
value?: number;
|
|
16
|
-
open: boolean;
|
|
17
|
-
title: string;
|
|
18
|
-
data: TreeNode;
|
|
19
|
-
selectBranch: boolean;
|
|
20
|
-
selectActive: boolean;
|
|
21
|
-
selectInternal: boolean;
|
|
22
|
-
multipleSelectNodes: boolean;
|
|
23
|
-
onHide?: (value: boolean) => void;
|
|
24
|
-
listAssetDrawings?: number[];
|
|
25
|
-
setListAssetDrawings?: React.Dispatch<React.SetStateAction<number[]>>;
|
|
26
|
-
onSuccess?: (value: boolean) => void;
|
|
27
|
-
isLoading: boolean;
|
|
28
|
-
}
|
|
29
|
-
declare const ModalTreeFilterControl: React.FC<ModalTreeFilterControlProps>;
|
|
30
|
-
export { ModalTreeFilterControl };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React, { Component } from "react";
|
|
2
|
-
export declare class SimpleTextControl extends Component<any> {
|
|
3
|
-
render(): React.JSX.Element;
|
|
4
|
-
}
|
|
5
|
-
export declare class SimplePasswordControl extends Component<any> {
|
|
6
|
-
render(): React.JSX.Element;
|
|
7
|
-
}
|
|
8
|
-
export declare const formatNumber: (value: number) => string;
|
|
9
|
-
export type NumericTextControlProps = {
|
|
10
|
-
value: any;
|
|
11
|
-
title: any;
|
|
12
|
-
styleLabel: any;
|
|
13
|
-
readOnly: any;
|
|
14
|
-
styleTextBox: any;
|
|
15
|
-
onChange: any;
|
|
16
|
-
name: any;
|
|
17
|
-
typeNumber: any;
|
|
18
|
-
};
|
|
19
|
-
export declare const NumericTextControl: (props: NumericTextControlProps) => React.JSX.Element;
|
|
20
|
-
export declare class HorizontalTextControl extends Component<any> {
|
|
21
|
-
render(): React.JSX.Element;
|
|
22
|
-
}
|
|
23
|
-
export declare class SimpleTextAreaControl extends Component<any> {
|
|
24
|
-
render(): React.JSX.Element;
|
|
25
|
-
}
|
|
26
|
-
interface SimpleSelectorControlProps {
|
|
27
|
-
title?: string;
|
|
28
|
-
dataSource?: any[];
|
|
29
|
-
selectedValue?: any;
|
|
30
|
-
onChange?: (value: any) => void;
|
|
31
|
-
showColor?: boolean;
|
|
32
|
-
styleList?: React.CSSProperties;
|
|
33
|
-
hasChoose?: boolean;
|
|
34
|
-
}
|
|
35
|
-
export declare function SimpleSelectorControl({ title, dataSource, selectedValue, onChange, showColor, styleList, hasChoose, }: SimpleSelectorControlProps): React.JSX.Element;
|
|
36
|
-
export declare const MultipleSelectorControl: (props: any) => React.JSX.Element;
|
|
37
|
-
export declare const CheckBoxControl: (props: any) => React.JSX.Element;
|
|
38
|
-
export declare const UploadFileControl: (props: any) => React.JSX.Element;
|
|
39
|
-
export * from "./TreePickerControl";
|
|
40
|
-
export * from "./TreePickerControlV2";
|
package/dist/controls/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./charts/genericChart";
|
|
2
|
-
export * from "./filters/filters";
|
|
3
|
-
export * from "./filters/dialogFilter";
|
|
4
|
-
export * from "./tables/GenericTable";
|
|
5
|
-
export * from "./tables/dataGrid";
|
|
6
|
-
export * from "./panels";
|
|
7
|
-
export * from "./shift-navigator";
|
|
8
|
-
export * from "./shift-navigator-v2";
|
|
9
|
-
export * from "./contextMenu";
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React, { type MouseEventHandler } from "react";
|
|
2
|
-
type GenericPanelProps = {
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
showPromptSuccess?: boolean;
|
|
6
|
-
showPromptError?: boolean;
|
|
7
|
-
onDismissSuccess?: MouseEventHandler;
|
|
8
|
-
onDismissError?: MouseEventHandler;
|
|
9
|
-
successMessage?: string;
|
|
10
|
-
error?: any;
|
|
11
|
-
children: any;
|
|
12
|
-
};
|
|
13
|
-
declare const GenericPanel: ({ title, description, showPromptSuccess, showPromptError, onDismissSuccess, onDismissError, successMessage, error, children, }: GenericPanelProps) => React.JSX.Element;
|
|
14
|
-
type MasterDetailPanelProps = {
|
|
15
|
-
title: string;
|
|
16
|
-
onSave: MouseEventHandler;
|
|
17
|
-
onCancel: MouseEventHandler;
|
|
18
|
-
onDelete: MouseEventHandler;
|
|
19
|
-
saveStatus: boolean;
|
|
20
|
-
deleteStatus: boolean;
|
|
21
|
-
showSave: boolean;
|
|
22
|
-
showDelete: boolean;
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
};
|
|
25
|
-
declare const MasterDetailPanel: ({ title, onSave, onCancel, onDelete, saveStatus, deleteStatus, showSave, showDelete, children, }: MasterDetailPanelProps) => React.JSX.Element;
|
|
26
|
-
type ExtraButton = {
|
|
27
|
-
name: string;
|
|
28
|
-
onClick: MouseEventHandler;
|
|
29
|
-
};
|
|
30
|
-
type FilterPanelProps = {
|
|
31
|
-
onClickExport?: Function;
|
|
32
|
-
onClickReset: Function;
|
|
33
|
-
OnClickGo: Function;
|
|
34
|
-
showButtons: boolean;
|
|
35
|
-
showExport: boolean;
|
|
36
|
-
extraButtons?: ExtraButton[];
|
|
37
|
-
children?: React.ReactNode;
|
|
38
|
-
};
|
|
39
|
-
declare const FilterPanel: (props: FilterPanelProps) => React.JSX.Element;
|
|
40
|
-
declare const LongFilterPanel: (props: FilterPanelProps) => React.JSX.Element;
|
|
41
|
-
export { GenericPanel, FilterPanel, MasterDetailPanel, LongFilterPanel };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type ShiftNavigatorDirection = "Previous" | "Next" | "Last";
|
|
3
|
-
export declare const ShiftDayNavigatorControl: (props: {
|
|
4
|
-
useRouter?: boolean;
|
|
5
|
-
onShiftChange?: (shiftId: number) => void;
|
|
6
|
-
preventInit?: boolean;
|
|
7
|
-
}) => React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ShiftNavigatorDirection } from "../component/shift-navigator.control";
|
|
2
|
-
import { ShiftInfo } from "../models/shift-navigator.model";
|
|
3
|
-
export declare const useShiftNavigatorManager: () => {
|
|
4
|
-
shiftInfo: ShiftInfo | null;
|
|
5
|
-
moveShift: (direction: ShiftNavigatorDirection) => Promise<ShiftInfo | void>;
|
|
6
|
-
getShiftDataFromAPI: (productionDate: Date | null, shiftId: number) => Promise<ShiftInfo | void>;
|
|
7
|
-
initShiftNavigator: () => Promise<ShiftInfo | void>;
|
|
8
|
-
};
|
|
9
|
-
export type ShiftNavigatorManagerResult = {
|
|
10
|
-
shiftInfo: ShiftInfo | null;
|
|
11
|
-
moveShift: (direction: ShiftNavigatorDirection) => Promise<ShiftInfo | void>;
|
|
12
|
-
getShiftDataFromAPI: (productionDate: Date | null, shiftId: number) => Promise<ShiftInfo | void>;
|
|
13
|
-
initShiftNavigator: () => Promise<ShiftInfo | void>;
|
|
14
|
-
};
|