@dexteel/mesf-core 5.4.1 → 5.4.2
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 +13 -0
- package/dist/MESFMain.d.ts +14 -0
- package/dist/account/AuthProvider.d.ts +29 -0
- package/dist/account/account.d.ts +2 -0
- package/dist/account/changePassword.d.ts +2 -0
- package/dist/account/index.d.ts +6 -0
- package/dist/account/login-strategies/LoginAsGuest.d.ts +2 -0
- package/dist/account/login-strategies/LoginWithEmailAndPassword.d.ts +2 -0
- package/dist/account/login-strategies/LoginWithWindowsAuthentication.d.ts +2 -0
- package/dist/account/login-strategies/azure-ad/AzureADAuthConfig.d.ts +37 -0
- package/dist/account/login-strategies/azure-ad/LoginWithAzureAD.d.ts +5 -0
- package/dist/account/login-strategies/azure-ad/LoginWithAzureADForm.d.ts +2 -0
- package/dist/account/login-strategies/windows.d.ts +4 -0
- package/dist/account/login.d.ts +3 -0
- package/dist/account/logout.d.ts +2 -0
- package/dist/account/models/login.models.d.ts +15 -0
- package/dist/account/useToken.d.ts +11 -0
- package/dist/components/home/home.d.ts +3 -0
- package/dist/components/modals/error-modal.d.ts +9 -0
- package/dist/components/modals/modal.mesf.d.ts +23 -0
- package/dist/components/navigation/Header.d.ts +6 -0
- package/dist/components/navigation/MainContainer.d.ts +3 -0
- package/dist/components/navigation/Navigation.d.ts +8 -0
- package/dist/components/navigation/TimeAndUserMenu.d.ts +6 -0
- package/dist/components/navigation/areaSelector/area-selector.d.ts +2 -0
- package/dist/components/navigation/hooks/useDefaultAreaId.d.ts +1 -0
- package/dist/components/shared/buttons/button-with-loading.d.ts +8 -0
- package/dist/configuration/configuration.d.ts +6 -0
- package/dist/configuration/formatters.d.ts +7 -0
- package/dist/configuration/index.d.ts +9 -0
- package/dist/configuration/pages/asset/ConfigurationAssetPage.d.ts +2 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/AssetView.d.ts +2 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/ConfigurationAssetComponent.d.ts +2 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomDragPreview.d.ts +8 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomNode.d.ts +15 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts +8 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/TypeIcon.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/create-new-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/edit-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/remove-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/viewer-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/hooks/useAssetActions.d.ts +24 -0
- package/dist/configuration/pages/asset/components/hooks/useAssetCodes.d.ts +3 -0
- package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +328 -0
- package/dist/configuration/pages/asset/hooks/TransformAssetModelData.d.ts +3 -0
- package/dist/configuration/pages/asset/hooks/useSearchAssets.d.ts +8 -0
- package/dist/configuration/pages/asset/index.d.ts +4 -0
- package/dist/configuration/pages/asset/models/AssetAPI.d.ts +9 -0
- package/dist/configuration/pages/asset/models/AssetCode.d.ts +8 -0
- package/dist/configuration/pages/asset/models/AssetParameters.d.ts +11 -0
- package/dist/configuration/pages/asset/models/FileProperties.d.ts +4 -0
- package/dist/configuration/pages/asset/models/InitialValueDataAsset.d.ts +2 -0
- package/dist/configuration/pages/asset/reducers/ConfigurationAssetReducer.d.ts +323 -0
- package/dist/configuration/pages/asset/repositories/ConfigurationAssetRepository.d.ts +4 -0
- package/dist/configuration/pages/asset/theme.d.ts +1 -0
- package/dist/configuration/pages/job/JobsPage.d.ts +4 -0
- package/dist/configuration/pages/job/components/JobsTable/JobsDetails.d.ts +12 -0
- package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +7 -0
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts +11 -0
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsTableData.d.ts +12 -0
- package/dist/configuration/pages/job/components/ResetJob.d.ts +9 -0
- package/dist/configuration/pages/job/components/onEnableJob.d.ts +9 -0
- package/dist/configuration/pages/job/context/JobsContext.d.ts +26 -0
- package/dist/configuration/pages/job/index.d.ts +4 -0
- package/dist/configuration/pages/job/models/Job.d.ts +21 -0
- package/dist/configuration/pages/job/reducers/JobsReducer.d.ts +20 -0
- package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +13 -0
- package/dist/configuration/pages/log/LogsPage.d.ts +4 -0
- package/dist/configuration/pages/log/components/Filters/TimezoneSelector.d.ts +7 -0
- package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +7 -0
- package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +8 -0
- package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +7 -0
- package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +11 -0
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogTableData.d.ts +12 -0
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogsOptionsFunctions.d.ts +11 -0
- package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +9 -0
- package/dist/configuration/pages/log/context/LogsContext.d.ts +77 -0
- package/dist/configuration/pages/log/data/LogTypeCodes.d.ts +21 -0
- package/dist/configuration/pages/log/index.d.ts +4 -0
- package/dist/configuration/pages/log/models/Log.d.ts +8 -0
- package/dist/configuration/pages/log/models/SearchData.d.ts +6 -0
- package/dist/configuration/pages/log/reducers/LogsReducer.d.ts +72 -0
- package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +1 -0
- package/dist/configuration/pages/log/styles/tableStyles.d.ts +1 -0
- package/dist/configuration/pages/profiles/ProfilesPage.d.ts +4 -0
- package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +7 -0
- package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +9 -0
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ActionsOfProfile.d.ts +9 -0
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ProceduresDataTable/index.d.ts +8 -0
- package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +7 -0
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useProfilesOptionsFunctions.d.ts +12 -0
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +17 -0
- package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +11 -0
- package/dist/configuration/pages/profiles/components/common/Profiles/hook/useGetProfilesEffect.d.ts +8 -0
- package/dist/configuration/pages/profiles/context/ProfileContext.d.ts +26 -0
- package/dist/configuration/pages/profiles/index.d.ts +4 -0
- package/dist/configuration/pages/profiles/models/Action.d.ts +4 -0
- package/dist/configuration/pages/profiles/models/FormInitialValues.d.ts +2 -0
- package/dist/configuration/pages/profiles/models/Permission.d.ts +4 -0
- package/dist/configuration/pages/profiles/models/Profile.d.ts +5 -0
- package/dist/configuration/pages/profiles/reducers/ProfilesReducer.d.ts +21 -0
- package/dist/configuration/pages/profiles/repositories/ProfilesRepository.d.ts +8 -0
- package/dist/configuration/pages/realtime/client/index.d.ts +3 -0
- package/dist/configuration/pages/realtime/client/types.d.ts +15 -0
- package/dist/configuration/pages/realtime/config/index.d.ts +3 -0
- package/dist/configuration/pages/settings/SettingsPage.d.ts +2 -0
- package/dist/configuration/pages/settings/components/TableSettings.d.ts +9 -0
- package/dist/configuration/pages/settings/components/customHooks/useSettingsOptionsFunctions.d.ts +12 -0
- package/dist/configuration/pages/settings/components/customHooks/useTableSettings.d.ts +11 -0
- package/dist/configuration/pages/settings/components/upsertDelete/CreateSetting.d.ts +7 -0
- package/dist/configuration/pages/settings/components/upsertDelete/DeleteSetting.d.ts +7 -0
- package/dist/configuration/pages/settings/components/upsertDelete/EditSetting.d.ts +7 -0
- package/dist/configuration/pages/settings/context/SettingsContext.d.ts +26 -0
- package/dist/configuration/pages/settings/index.d.ts +3 -0
- package/dist/configuration/pages/settings/models/FormInitialValues.d.ts +2 -0
- package/dist/configuration/pages/settings/models/Setting.d.ts +6 -0
- package/dist/configuration/pages/settings/reducers/SettingReducer.d.ts +20 -0
- package/dist/configuration/pages/settings/repositories/settingRepository.d.ts +3 -0
- package/dist/configuration/pages/settings/styles/useStyles.d.ts +1 -0
- package/dist/configuration/pages/shifCrew/ShiftsCrewsPage.d.ts +4 -0
- package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +7 -0
- package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +7 -0
- package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +7 -0
- package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +7 -0
- package/dist/configuration/pages/shifCrew/components/customHooks/useShiftsOptionsFunctions.d.ts +11 -0
- package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +20 -0
- package/dist/configuration/pages/shifCrew/context/ShiftsCrewsContext.d.ts +26 -0
- package/dist/configuration/pages/shifCrew/index.d.ts +4 -0
- package/dist/configuration/pages/shifCrew/models/FormInitialValues.d.ts +2 -0
- package/dist/configuration/pages/shifCrew/models/ShiftParameters.d.ts +12 -0
- package/dist/configuration/pages/shifCrew/reducers/ShiftsCrewsReducer.d.ts +20 -0
- package/dist/configuration/pages/shifCrew/repositories/ShiftsCrewsRepository.d.ts +4 -0
- package/dist/configuration/pages/users/UsersPage.d.ts +4 -0
- package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +8 -0
- package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +7 -0
- package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +8 -0
- package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +8 -0
- package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +7 -0
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/buttonsCellRenderer.d.ts +2 -0
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +20 -0
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useUsersOptionsFunctions.d.ts +13 -0
- package/dist/configuration/pages/users/components/common/AuthTypeSelector.d.ts +8 -0
- package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +10 -0
- package/dist/configuration/pages/users/context/UsersContext.d.ts +17 -0
- package/dist/configuration/pages/users/index.d.ts +4 -0
- package/dist/configuration/pages/users/models/AuthType.d.ts +4 -0
- package/dist/configuration/pages/users/models/FormInitialValues.d.ts +2 -0
- package/dist/configuration/pages/users/models/Profile.d.ts +8 -0
- package/dist/configuration/pages/users/models/User.d.ts +11 -0
- package/dist/configuration/pages/users/reducers/UsersReducer.d.ts +11 -0
- package/dist/configuration/pages/users/repositories/UsersRepository.d.ts +31 -0
- package/dist/configuration/stylesGetters.d.ts +14 -0
- package/dist/configurationMenu.d.ts +13 -0
- package/dist/context/UTLSettingContext.d.ts +41 -0
- package/dist/context/assetContext.d.ts +26 -0
- package/dist/context/axiosInstance.d.ts +2 -0
- package/dist/context/userContext.d.ts +83 -0
- package/dist/controls/LazyLoading/LazyLoading.d.ts +3 -0
- package/dist/controls/alert.d.ts +3 -0
- package/dist/controls/charts/genericChart.d.ts +10 -0
- package/dist/controls/contextMenu/ContextMenu.d.ts +2 -0
- package/dist/controls/contextMenu/index.d.ts +4 -0
- package/dist/controls/contextMenu/models/MenuOptionType.d.ts +10 -0
- package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +1 -0
- package/dist/controls/contextMenu/useContextMenuMESF.d.ts +22 -0
- package/dist/controls/filters/TreePickerControl.d.ts +11 -0
- package/dist/controls/filters/TreePickerControlV2.d.ts +15 -0
- package/dist/controls/filters/dialogFilter.d.ts +30 -0
- package/dist/controls/filters/filters.d.ts +29 -0
- package/dist/controls/index.d.ts +9 -0
- package/dist/controls/panels.d.ts +41 -0
- package/dist/controls/shift-navigator/component/shift-navigator.control.d.ts +7 -0
- package/dist/controls/shift-navigator/context/ShiftNavigatorProvider.d.ts +4 -0
- package/dist/controls/shift-navigator/hook/useShiftNavigator.d.ts +14 -0
- package/dist/controls/shift-navigator/index.d.ts +5 -0
- package/dist/controls/shift-navigator/models/shift-navigator.model.d.ts +30 -0
- package/dist/controls/shift-navigator/repositories/ShiftsRepository.d.ts +10 -0
- package/dist/controls/shift-navigator-v2/component/shift-period-navigator.control.d.ts +15 -0
- package/dist/controls/shift-navigator-v2/index.d.ts +4 -0
- package/dist/controls/shift-navigator-v2/models/SearchShiftsParameters.d.ts +4 -0
- package/dist/controls/shift-navigator-v2/models/shift-data.d.ts +22 -0
- package/dist/controls/shift-navigator-v2/repositories/ShiftsRepository.d.ts +14 -0
- package/dist/controls/tables/GenericTable.d.ts +5 -0
- package/dist/controls/tables/dataGrid.d.ts +10 -0
- package/dist/css/themeMESF.d.ts +1 -0
- package/dist/globalContext.d.ts +6 -0
- package/dist/hooks/useMesfRealtime.d.ts +5 -0
- package/dist/hooks/useSearchAssets.d.ts +3 -0
- package/dist/hooks/useSearchUTLSetting.d.ts +5 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.esm.js +8813 -5545
- package/dist/index.esm.js.map +1 -1
- package/dist/models/Asset.d.ts +10 -0
- package/dist/models/UTLSetting.d.ts +4 -0
- package/dist/pages/trendings/TrendingsPage.d.ts +4 -0
- package/dist/pages/trendings/components/chart/DateComponent.d.ts +6 -0
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +26 -0
- package/dist/pages/trendings/components/chart/Trending.d.ts +8 -0
- package/dist/pages/trendings/components/chart/components/CellComponent.d.ts +11 -0
- package/dist/pages/trendings/components/chart/components/ColorPicker.d.ts +8 -0
- package/dist/pages/trendings/components/chart/components/DraggableLineControl.d.ts +11 -0
- package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts +9 -0
- package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts +9 -0
- package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +8 -0
- package/dist/pages/trendings/components/chart/components/modals/saveAsView/SaveAsViewModal.d.ts +7 -0
- package/dist/pages/trendings/components/chart/components/modals/saveView/SaveViewModal.d.ts +7 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/ContextMenu.d.ts +15 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/NewFolder/NewFolder.d.ts +10 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/RemoveFolder/RemoveFolder.d.ts +10 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/CustomDragView.d.ts +8 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagFolderCustomNode.d.ts +20 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts +9 -0
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts +9 -0
- package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +120 -0
- package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +8 -0
- package/dist/pages/trendings/components/chart/hooks/useGetVerticalLinePlugin.d.ts +2 -0
- package/dist/pages/trendings/components/chart/hooks/useTagsDataTable.d.ts +24 -0
- package/dist/pages/trendings/components/chart/hooks/useUpdateCursorData.d.ts +2 -0
- package/dist/pages/trendings/components/chart/hooks/useXAxisDatePlugin.d.ts +2 -0
- package/dist/pages/trendings/components/chart/hooks/useYAxisPlugin.d.ts +2 -0
- package/dist/pages/trendings/components/chart/models/TagsTree.model.d.ts +12 -0
- package/dist/pages/trendings/components/chart/models/TrendingModels.d.ts +65 -0
- package/dist/pages/trendings/components/chart/models/scopes.model.d.ts +1 -0
- package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +13 -0
- package/dist/pages/trendings/components/chart/sections/chart/hooks/useChartOptions.d.ts +105 -0
- package/dist/pages/trendings/components/chart/sections/header.d.ts +6 -0
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +12 -0
- package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +1 -0
- package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +1 -0
- package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +1 -0
- package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +1 -0
- package/dist/pages/trendings/components/chart/utils/areRangeSimilar.d.ts +2 -0
- package/dist/pages/trendings/components/chart/utils/buildTagsTree.d.ts +4 -0
- package/dist/pages/trendings/components/chart/utils/calculateScales.d.ts +4 -0
- package/dist/pages/trendings/components/chart/utils/dateNavigator.d.ts +5 -0
- package/dist/pages/trendings/components/chart/utils/formatDateTimeToString.d.ts +4 -0
- package/dist/pages/trendings/components/chart/utils/formatTimeDiffWithMs.d.ts +1 -0
- package/dist/pages/trendings/components/chart/utils/tagColors.d.ts +2 -0
- package/dist/pages/trendings/components/chart/utils/timeDifference.d.ts +1 -0
- package/dist/pages/trendings/index.d.ts +3 -0
- package/dist/pages/trendings/reducers/trendings.reducer.d.ts +115 -0
- package/dist/reducers/AssetReducer.d.ts +20 -0
- package/dist/reducers/UTLSettingsReducer.d.ts +34 -0
- package/dist/reducers/UserReducer.d.ts +75 -0
- package/dist/repositorie/MESF-frontend-Repositorie.d.ts +4 -0
- package/dist/routes/MESFMainRouter.d.ts +3 -0
- package/dist/services/ApiService.d.ts +48 -0
- package/dist/services/TimeService.d.ts +15 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/utils/transforms.d.ts +30 -0
- package/dist/utils.d.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ShiftParameters } from "../models/ShiftParameters";
|
|
2
|
+
export declare const ShiftsCrewsReducer: import("@reduxjs/toolkit").Slice<{
|
|
3
|
+
shifts: ShiftParameters[];
|
|
4
|
+
shiftTableData: ShiftParameters;
|
|
5
|
+
}, {
|
|
6
|
+
setShiftsCrews(state: import("immer/dist/internal").WritableDraft<{
|
|
7
|
+
shifts: ShiftParameters[];
|
|
8
|
+
shiftTableData: ShiftParameters;
|
|
9
|
+
}>, { payload }: {
|
|
10
|
+
payload: any;
|
|
11
|
+
type: string;
|
|
12
|
+
}): void;
|
|
13
|
+
setShiftTableData(state: import("immer/dist/internal").WritableDraft<{
|
|
14
|
+
shifts: ShiftParameters[];
|
|
15
|
+
shiftTableData: ShiftParameters;
|
|
16
|
+
}>, { payload }: {
|
|
17
|
+
payload: any;
|
|
18
|
+
type: string;
|
|
19
|
+
}): void;
|
|
20
|
+
}, "__">;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ShiftParameters } from "../models/ShiftParameters";
|
|
2
|
+
export declare const getShiftParameters: () => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
|
3
|
+
export declare const upsertShiftParameters: ({ PatternStart, ShiftCodes, Crews, CrewRotation, Comments, }: ShiftParameters) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
|
4
|
+
export declare const DeleteShiftParameters: (PatternStart: Date) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,13 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}, "__">;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 };
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,41 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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;
|
|
@@ -0,0 +1,83 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 };
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"contextMenu">;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,11 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { Component } from "react";
|
|
2
|
+
export declare class SimplePasswordControl extends Component<any> {
|
|
3
|
+
render(): React.JSX.Element;
|
|
4
|
+
}
|
|
5
|
+
export declare const formatNumber: (value: number) => string;
|
|
6
|
+
export type NumericTextControlProps = {
|
|
7
|
+
value: any;
|
|
8
|
+
title: any;
|
|
9
|
+
styleLabel: any;
|
|
10
|
+
readOnly: any;
|
|
11
|
+
styleTextBox: any;
|
|
12
|
+
onChange: any;
|
|
13
|
+
name: any;
|
|
14
|
+
typeNumber: any;
|
|
15
|
+
};
|
|
16
|
+
interface SimpleSelectorControlProps {
|
|
17
|
+
title?: string;
|
|
18
|
+
dataSource?: any[];
|
|
19
|
+
selectedValue?: any;
|
|
20
|
+
onChange?: (value: any) => void;
|
|
21
|
+
showColor?: boolean;
|
|
22
|
+
styleList?: React.CSSProperties;
|
|
23
|
+
hasChoose?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function SimpleSelectorControl({ title, dataSource, selectedValue, onChange, showColor, styleList, hasChoose, }: SimpleSelectorControlProps): React.JSX.Element;
|
|
26
|
+
export declare const MultipleSelectorControl: (props: any) => React.JSX.Element;
|
|
27
|
+
export declare const CheckBoxControl: (props: any) => React.JSX.Element;
|
|
28
|
+
export * from "./TreePickerControl";
|
|
29
|
+
export * from "./TreePickerControlV2";
|
|
@@ -0,0 +1,9 @@
|
|
|
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";
|
|
@@ -0,0 +1,41 @@
|
|
|
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 };
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|