@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
package/package.json
CHANGED
package/dist/MESFMain.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from "react";
|
|
2
|
-
import { ConfigurationsType } from "./configurationMenu";
|
|
3
|
-
interface Props {
|
|
4
|
-
authentication: any;
|
|
5
|
-
routes: ReactNode;
|
|
6
|
-
navbar: ReactNode;
|
|
7
|
-
navbarTitle?: string;
|
|
8
|
-
configurations: ConfigurationsType;
|
|
9
|
-
showAreaSelector?: boolean;
|
|
10
|
-
showTrendingsIcon?: boolean;
|
|
11
|
-
byPassHeaderRoutes?: string[];
|
|
12
|
-
}
|
|
13
|
-
declare function MESFMain({ authentication, routes, navbar, navbarTitle, configurations, showAreaSelector, showTrendingsIcon, byPassHeaderRoutes, }: Props): React.JSX.Element;
|
|
14
|
-
export { MESFMain };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const AuthContext: React.Context<{
|
|
3
|
-
getUserName: () => string;
|
|
4
|
-
saveUserData: (userToken: any) => void;
|
|
5
|
-
clearUserData: () => void;
|
|
6
|
-
getFirstName: () => any;
|
|
7
|
-
getLastName: () => any;
|
|
8
|
-
getUserId: () => any;
|
|
9
|
-
hasPermission: (permissionId: number) => boolean;
|
|
10
|
-
token: string;
|
|
11
|
-
}>;
|
|
12
|
-
export type AuthConfig = {
|
|
13
|
-
guestIsEnabled: boolean;
|
|
14
|
-
useEmailAndPassword: boolean;
|
|
15
|
-
useAzureAD: boolean;
|
|
16
|
-
useWindowsAuth: boolean;
|
|
17
|
-
AzureConfig: AzureConfig;
|
|
18
|
-
};
|
|
19
|
-
export type AzureConfig = {
|
|
20
|
-
clientId: string;
|
|
21
|
-
authority: string;
|
|
22
|
-
redirectUri: string;
|
|
23
|
-
};
|
|
24
|
-
type AuthProviderProps = {
|
|
25
|
-
children: any;
|
|
26
|
-
authConfig: AuthConfig;
|
|
27
|
-
};
|
|
28
|
-
export declare const AuthProvider: ({ children, authConfig }: AuthProviderProps) => React.JSX.Element;
|
|
29
|
-
export {};
|
package/dist/account/index.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration object to be passed to MSAL instance on creation.
|
|
3
|
-
* For a full list of MSAL.js configuration parameters, visit:
|
|
4
|
-
* https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/configuration.md
|
|
5
|
-
*/
|
|
6
|
-
export declare const msalConfig: {
|
|
7
|
-
auth: {
|
|
8
|
-
clientId: string;
|
|
9
|
-
authority: string;
|
|
10
|
-
redirectUri: string;
|
|
11
|
-
};
|
|
12
|
-
cache: {
|
|
13
|
-
cacheLocation: string;
|
|
14
|
-
storeAuthStateInCookie: boolean;
|
|
15
|
-
};
|
|
16
|
-
system: {
|
|
17
|
-
loggerOptions: {
|
|
18
|
-
loggerCallback: (level: number, message: string, containsPii: boolean) => void;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Scopes you add here will be prompted for user consent during sign-in.
|
|
24
|
-
* By default, MSAL.js will add OIDC scopes (openid, profile, email) to any login request.
|
|
25
|
-
* For more information about OIDC scopes, visit:
|
|
26
|
-
* https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#openid-connect-scopes
|
|
27
|
-
*/
|
|
28
|
-
export declare const loginRequest: {
|
|
29
|
-
scopes: string[];
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Add here the scopes to request when obtaining an access token for MS Graph API. For more information, see:
|
|
33
|
-
* https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/resources-and-scopes.md
|
|
34
|
-
*/
|
|
35
|
-
export declare const graphConfig: {
|
|
36
|
-
graphMeEndpoint: string;
|
|
37
|
-
};
|
package/dist/account/login.d.ts
DELETED
package/dist/account/logout.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AuthConfig } from "../AuthProvider";
|
|
2
|
-
export type LoginParams = {
|
|
3
|
-
setToken?: Function;
|
|
4
|
-
authConfig: AuthConfig;
|
|
5
|
-
};
|
|
6
|
-
type Permission = string;
|
|
7
|
-
export type UserMESData = {
|
|
8
|
-
id: number;
|
|
9
|
-
firstName: string;
|
|
10
|
-
lastName: string;
|
|
11
|
-
username: string;
|
|
12
|
-
token: string;
|
|
13
|
-
permissions: Permission[];
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const getTokenFromLS: () => string;
|
|
2
|
-
export declare function useToken(): {
|
|
3
|
-
getUserName: () => string;
|
|
4
|
-
saveUserData: (userToken: any) => void;
|
|
5
|
-
clearUserData: () => void;
|
|
6
|
-
getFirstName: () => any;
|
|
7
|
-
getLastName: () => any;
|
|
8
|
-
getUserId: () => any;
|
|
9
|
-
hasPermission: (permissionId: number) => boolean;
|
|
10
|
-
token: string;
|
|
11
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
error: string | null;
|
|
4
|
-
onHide: () => void;
|
|
5
|
-
title?: string;
|
|
6
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | false;
|
|
7
|
-
}
|
|
8
|
-
export declare const ErrorModal: ({ error, onHide, title, size, }: Props) => React.JSX.Element | null;
|
|
9
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { DialogActions as MuiDialogActions, DialogContent as MuiDialogContent, StyleRules, type Theme } from "@material-ui/core";
|
|
2
|
-
import { type WithStyles } from "@material-ui/core/styles";
|
|
3
|
-
import React, { ReactNode } from "react";
|
|
4
|
-
declare const styles: (theme: Theme) => StyleRules;
|
|
5
|
-
export interface DialogTitleProps extends WithStyles<typeof styles> {
|
|
6
|
-
id: string;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
}
|
|
10
|
-
interface MESFModalProps {
|
|
11
|
-
handleClose: (shouldUpdate?: boolean) => void;
|
|
12
|
-
open: boolean;
|
|
13
|
-
id?: string;
|
|
14
|
-
maxWidth?: "xs" | "sm" | "md" | "lg" | "xl" | false;
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
title?: string;
|
|
17
|
-
}
|
|
18
|
-
declare function Modal({ children, title, handleClose, open, id, maxWidth, }: MESFModalProps): React.JSX.Element;
|
|
19
|
-
export declare const MesfModal: typeof Modal & {
|
|
20
|
-
Content: typeof MuiDialogContent;
|
|
21
|
-
Actions: typeof MuiDialogActions;
|
|
22
|
-
};
|
|
23
|
-
export default MesfModal;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const Navigation: ({ showAreaSelector, showTrendingsIcon, navbarTitle, byPassHeaderRoutes, }: {
|
|
3
|
-
showAreaSelector?: boolean;
|
|
4
|
-
showTrendingsIcon?: boolean;
|
|
5
|
-
navbarTitle?: string;
|
|
6
|
-
byPassHeaderRoutes?: string[];
|
|
7
|
-
}) => React.JSX.Element;
|
|
8
|
-
export default Navigation;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useDefaultAreaId: (setError: (err: string) => void) => () => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from "@material-ui/core";
|
|
2
|
-
import React, { ReactNode } from "react";
|
|
3
|
-
interface Props extends ButtonProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const ButtonWithLoading: ({ children, isLoading, ...props }: Props) => React.JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const CurrencyFormatter: Intl.NumberFormat;
|
|
2
|
-
declare const NumberFormatter: Intl.NumberFormat;
|
|
3
|
-
declare const IntegerFormatter: Intl.NumberFormat;
|
|
4
|
-
declare const DateTimeFormatter: Intl.DateTimeFormat;
|
|
5
|
-
declare const DateFormatter: Intl.DateTimeFormat;
|
|
6
|
-
declare const TimeFormatter: Intl.DateTimeFormat;
|
|
7
|
-
export { CurrencyFormatter, NumberFormatter, IntegerFormatter, DateTimeFormatter, DateFormatter, TimeFormatter, };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./pages/job/index";
|
|
2
|
-
export * from "./pages/log/index";
|
|
3
|
-
export * from "./pages/profiles/index";
|
|
4
|
-
export * from "./pages/shifCrew/index";
|
|
5
|
-
export * from "./pages/asset/index";
|
|
6
|
-
export * from "./pages/users/index";
|
|
7
|
-
export * from "./formatters";
|
|
8
|
-
export * from "./stylesGetters";
|
|
9
|
-
export * from "./configuration";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DragLayerMonitorProps } from "@minoru/react-dnd-treeview";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FileProperties } from "../../models/FileProperties";
|
|
4
|
-
type Props = {
|
|
5
|
-
monitorProps: DragLayerMonitorProps<FileProperties>;
|
|
6
|
-
};
|
|
7
|
-
export declare const CustomDragPreview: React.FC<Props>;
|
|
8
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NodeModel, RenderParams } from "@minoru/react-dnd-treeview";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FileProperties } from "../../models/FileProperties";
|
|
4
|
-
type Props = RenderParams & {
|
|
5
|
-
node: NodeModel<FileProperties>;
|
|
6
|
-
setContextMenuOver: (data: NodeModel<FileProperties>, e: React.MouseEvent<HTMLElement>) => void;
|
|
7
|
-
onDoubleClick: (data: NodeModel<FileProperties>, e: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
-
isSelected: boolean;
|
|
9
|
-
isDragging: boolean;
|
|
10
|
-
testIdPrefix?: string;
|
|
11
|
-
onClick: (e: React.MouseEvent, node: NodeModel<FileProperties>) => void;
|
|
12
|
-
"data-node-id"?: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const CustomNode: React.FC<Props>;
|
|
15
|
-
export {};
|
package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FileProperties } from "../../models/FileProperties";
|
|
4
|
-
type Props = {
|
|
5
|
-
dragSources: NodeModel<FileProperties>[];
|
|
6
|
-
};
|
|
7
|
-
export declare const MultipleDragPreview: React.FC<Props>;
|
|
8
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type DropOptions, type NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
-
import { FileProperties } from "../../models/FileProperties";
|
|
3
|
-
type Props = {
|
|
4
|
-
asset: NodeModel<FileProperties>[];
|
|
5
|
-
selectedNodes: NodeModel<FileProperties>[];
|
|
6
|
-
isCtrlPressing: boolean;
|
|
7
|
-
setIsCtrlPressing: Function;
|
|
8
|
-
setSelectedNodes: Function;
|
|
9
|
-
setIsDragging: Function;
|
|
10
|
-
onAssetUpdateEnd: (result: {
|
|
11
|
-
ok: true;
|
|
12
|
-
} | {
|
|
13
|
-
ok: false;
|
|
14
|
-
message: string;
|
|
15
|
-
}) => void;
|
|
16
|
-
onAssetUpdateStart?: () => void;
|
|
17
|
-
};
|
|
18
|
-
export declare const useAssetActions: ({ asset, selectedNodes, setSelectedNodes, isCtrlPressing, setIsDragging, setIsCtrlPressing, onAssetUpdateEnd, onAssetUpdateStart, }: Props) => {
|
|
19
|
-
handleDrop: (_: NodeModel<FileProperties>[], options: DropOptions<FileProperties>) => Promise<void>;
|
|
20
|
-
handleCtrlClick: (e: React.MouseEvent, node: NodeModel<FileProperties>) => void;
|
|
21
|
-
handleDragEnd: () => void;
|
|
22
|
-
handleDragStart: (node: NodeModel<FileProperties>) => void;
|
|
23
|
-
};
|
|
24
|
-
export {};
|