@dexteel/mesf-core 5.3.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +27 -0
- package/dist/index.esm.js +5810 -9168
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
- package/dist/MESFMain.d.ts +0 -14
- package/dist/account/AuthProvider.d.ts +0 -29
- package/dist/account/account.d.ts +0 -2
- package/dist/account/changePassword.d.ts +0 -2
- package/dist/account/index.d.ts +0 -6
- package/dist/account/login-strategies/LoginAsGuest.d.ts +0 -2
- package/dist/account/login-strategies/LoginWithEmailAndPassword.d.ts +0 -2
- package/dist/account/login-strategies/LoginWithWindowsAuthentication.d.ts +0 -2
- package/dist/account/login-strategies/azure-ad/AzureADAuthConfig.d.ts +0 -37
- package/dist/account/login-strategies/azure-ad/LoginWithAzureAD.d.ts +0 -5
- package/dist/account/login-strategies/azure-ad/LoginWithAzureADForm.d.ts +0 -2
- package/dist/account/login-strategies/windows.d.ts +0 -4
- package/dist/account/login.d.ts +0 -3
- package/dist/account/logout.d.ts +0 -2
- package/dist/account/models/login.models.d.ts +0 -15
- package/dist/account/useToken.d.ts +0 -11
- package/dist/components/home/home.d.ts +0 -3
- package/dist/components/modals/error-modal.d.ts +0 -9
- package/dist/components/modals/modal.mesf.d.ts +0 -23
- package/dist/components/navigation/Header.d.ts +0 -6
- package/dist/components/navigation/MainContainer.d.ts +0 -3
- package/dist/components/navigation/Navigation.d.ts +0 -8
- package/dist/components/navigation/TimeAndUserMenu.d.ts +0 -6
- package/dist/components/navigation/areaSelector/area-selector.d.ts +0 -2
- package/dist/components/navigation/hooks/useDefaultAreaId.d.ts +0 -1
- package/dist/components/shared/buttons/button-with-loading.d.ts +0 -8
- package/dist/configuration/configuration.d.ts +0 -6
- package/dist/configuration/formatters.d.ts +0 -7
- package/dist/configuration/index.d.ts +0 -9
- package/dist/configuration/pages/asset/ConfigurationAssetPage.d.ts +0 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/AssetView.d.ts +0 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/ConfigurationAssetComponent.d.ts +0 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomDragPreview.d.ts +0 -8
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomNode.d.ts +0 -15
- package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts +0 -8
- package/dist/configuration/pages/asset/components/AssetConfiguration/TypeIcon.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/create-new-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/edit-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/remove-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/dialogs/viewer-asset-dialog.d.ts +0 -7
- package/dist/configuration/pages/asset/components/hooks/useAssetActions.d.ts +0 -24
- package/dist/configuration/pages/asset/components/hooks/useAssetCodes.d.ts +0 -3
- package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +0 -328
- package/dist/configuration/pages/asset/hooks/TransformAssetModelData.d.ts +0 -3
- package/dist/configuration/pages/asset/hooks/useSearchAssets.d.ts +0 -8
- package/dist/configuration/pages/asset/index.d.ts +0 -4
- package/dist/configuration/pages/asset/models/AssetAPI.d.ts +0 -9
- package/dist/configuration/pages/asset/models/AssetCode.d.ts +0 -8
- package/dist/configuration/pages/asset/models/AssetParameters.d.ts +0 -11
- package/dist/configuration/pages/asset/models/FileProperties.d.ts +0 -4
- package/dist/configuration/pages/asset/models/InitialValueDataAsset.d.ts +0 -2
- package/dist/configuration/pages/asset/reducers/ConfigurationAssetReducer.d.ts +0 -323
- package/dist/configuration/pages/asset/repositories/ConfigurationAssetRepository.d.ts +0 -4
- package/dist/configuration/pages/asset/theme.d.ts +0 -1
- package/dist/configuration/pages/job/JobsPage.d.ts +0 -4
- package/dist/configuration/pages/job/components/JobsTable/JobsDetails.d.ts +0 -12
- package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +0 -9
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts +0 -11
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsTableData.d.ts +0 -12
- package/dist/configuration/pages/job/components/ResetJob.d.ts +0 -9
- package/dist/configuration/pages/job/components/onEnableJob.d.ts +0 -9
- package/dist/configuration/pages/job/context/JobsContext.d.ts +0 -26
- package/dist/configuration/pages/job/index.d.ts +0 -4
- package/dist/configuration/pages/job/models/Job.d.ts +0 -21
- package/dist/configuration/pages/job/reducers/JobsReducer.d.ts +0 -20
- package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +0 -13
- package/dist/configuration/pages/log/LogsPage.d.ts +0 -4
- package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +0 -7
- package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +0 -8
- package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +0 -7
- package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +0 -11
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogTableData.d.ts +0 -12
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogsOptionsFunctions.d.ts +0 -11
- package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +0 -9
- package/dist/configuration/pages/log/context/LogsContext.d.ts +0 -61
- package/dist/configuration/pages/log/data/LogTypeCodes.d.ts +0 -21
- package/dist/configuration/pages/log/index.d.ts +0 -4
- package/dist/configuration/pages/log/models/Log.d.ts +0 -8
- package/dist/configuration/pages/log/models/SearchData.d.ts +0 -6
- package/dist/configuration/pages/log/reducers/LogsReducer.d.ts +0 -56
- package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +0 -1
- package/dist/configuration/pages/log/styles/tableStyles.d.ts +0 -1
- package/dist/configuration/pages/profiles/ProfilesPage.d.ts +0 -4
- package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +0 -7
- package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +0 -9
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ActionsOfProfile.d.ts +0 -9
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ProceduresDataTable/index.d.ts +0 -10
- package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +0 -7
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useProfilesOptionsFunctions.d.ts +0 -12
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +0 -17
- package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +0 -11
- package/dist/configuration/pages/profiles/components/common/Profiles/hook/useGetProfilesEffect.d.ts +0 -8
- package/dist/configuration/pages/profiles/context/ProfileContext.d.ts +0 -26
- package/dist/configuration/pages/profiles/index.d.ts +0 -4
- package/dist/configuration/pages/profiles/models/Action.d.ts +0 -4
- package/dist/configuration/pages/profiles/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/profiles/models/Permission.d.ts +0 -4
- package/dist/configuration/pages/profiles/models/Profile.d.ts +0 -5
- package/dist/configuration/pages/profiles/reducers/ProfilesReducer.d.ts +0 -21
- package/dist/configuration/pages/profiles/repositories/ProfilesRepository.d.ts +0 -8
- package/dist/configuration/pages/realtime/client/index.d.ts +0 -3
- package/dist/configuration/pages/realtime/client/types.d.ts +0 -15
- package/dist/configuration/pages/realtime/config/index.d.ts +0 -4
- package/dist/configuration/pages/settings/SettingsPage.d.ts +0 -2
- package/dist/configuration/pages/settings/components/TableSettings.d.ts +0 -9
- package/dist/configuration/pages/settings/components/customHooks/useSettingsOptionsFunctions.d.ts +0 -12
- package/dist/configuration/pages/settings/components/customHooks/useTableSettings.d.ts +0 -11
- package/dist/configuration/pages/settings/components/upsertDelete/CreateSetting.d.ts +0 -7
- package/dist/configuration/pages/settings/components/upsertDelete/DeleteSetting.d.ts +0 -7
- package/dist/configuration/pages/settings/components/upsertDelete/EditSetting.d.ts +0 -7
- package/dist/configuration/pages/settings/context/SettingsContext.d.ts +0 -26
- package/dist/configuration/pages/settings/index.d.ts +0 -3
- package/dist/configuration/pages/settings/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/settings/models/Setting.d.ts +0 -6
- package/dist/configuration/pages/settings/reducers/SettingReducer.d.ts +0 -20
- package/dist/configuration/pages/settings/repositories/settingRepository.d.ts +0 -3
- package/dist/configuration/pages/settings/styles/useStyles.d.ts +0 -1
- package/dist/configuration/pages/shifCrew/ShiftsCrewsPage.d.ts +0 -4
- package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +0 -7
- package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +0 -7
- package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +0 -7
- package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +0 -10
- package/dist/configuration/pages/shifCrew/components/customHooks/useShiftsOptionsFunctions.d.ts +0 -11
- package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +0 -20
- package/dist/configuration/pages/shifCrew/context/ShiftsCrewsContext.d.ts +0 -26
- package/dist/configuration/pages/shifCrew/index.d.ts +0 -4
- package/dist/configuration/pages/shifCrew/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/shifCrew/models/ShiftParameters.d.ts +0 -12
- package/dist/configuration/pages/shifCrew/reducers/ShiftsCrewsReducer.d.ts +0 -20
- package/dist/configuration/pages/shifCrew/repositories/ShiftsCrewsRepository.d.ts +0 -4
- package/dist/configuration/pages/users/UsersPage.d.ts +0 -4
- package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +0 -8
- package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +0 -7
- package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +0 -8
- package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +0 -8
- package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +0 -8
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/buttonsCellRenderer.d.ts +0 -2
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +0 -20
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useUsersOptionsFunctions.d.ts +0 -13
- package/dist/configuration/pages/users/components/common/AuthTypeSelector.d.ts +0 -8
- package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +0 -10
- package/dist/configuration/pages/users/context/UsersContext.d.ts +0 -17
- package/dist/configuration/pages/users/index.d.ts +0 -4
- package/dist/configuration/pages/users/models/AuthType.d.ts +0 -4
- package/dist/configuration/pages/users/models/FormInitialValues.d.ts +0 -2
- package/dist/configuration/pages/users/models/Profile.d.ts +0 -8
- package/dist/configuration/pages/users/models/User.d.ts +0 -11
- package/dist/configuration/pages/users/reducers/UsersReducer.d.ts +0 -11
- package/dist/configuration/pages/users/repositories/UsersRepository.d.ts +0 -31
- package/dist/configuration/stylesGetters.d.ts +0 -14
- package/dist/configurationMenu.d.ts +0 -13
- package/dist/context/UTLSettingContext.d.ts +0 -41
- package/dist/context/assetContext.d.ts +0 -26
- package/dist/context/axiosInstance.d.ts +0 -2
- package/dist/context/userContext.d.ts +0 -83
- package/dist/controls/LazyLoading/LazyLoading.d.ts +0 -3
- package/dist/controls/alert.d.ts +0 -3
- package/dist/controls/charts/genericChart.d.ts +0 -10
- package/dist/controls/contextMenu/ContextMenu.d.ts +0 -2
- package/dist/controls/contextMenu/index.d.ts +0 -4
- package/dist/controls/contextMenu/models/MenuOptionType.d.ts +0 -10
- package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +0 -1
- package/dist/controls/contextMenu/useContextMenuMESF.d.ts +0 -22
- package/dist/controls/filters/TreePickerControl.d.ts +0 -11
- package/dist/controls/filters/TreePickerControlV2.d.ts +0 -15
- package/dist/controls/filters/dialogFilter.d.ts +0 -30
- package/dist/controls/filters/filters.d.ts +0 -40
- package/dist/controls/index.d.ts +0 -9
- package/dist/controls/panels.d.ts +0 -41
- package/dist/controls/shift-navigator/component/shift-navigator.control.d.ts +0 -7
- package/dist/controls/shift-navigator/context/ShiftNavigatorProvider.d.ts +0 -4
- package/dist/controls/shift-navigator/hook/useShiftNavigator.d.ts +0 -14
- package/dist/controls/shift-navigator/index.d.ts +0 -5
- package/dist/controls/shift-navigator/models/shift-navigator.model.d.ts +0 -30
- package/dist/controls/shift-navigator/repositories/ShiftsRepository.d.ts +0 -10
- package/dist/controls/shift-navigator-v2/component/shift-period-navigator.control.d.ts +0 -15
- package/dist/controls/shift-navigator-v2/index.d.ts +0 -4
- package/dist/controls/shift-navigator-v2/models/SearchShiftsParameters.d.ts +0 -4
- package/dist/controls/shift-navigator-v2/models/shift-data.d.ts +0 -22
- package/dist/controls/shift-navigator-v2/repositories/ShiftsRepository.d.ts +0 -14
- package/dist/controls/tables/GenericTable.d.ts +0 -5
- package/dist/controls/tables/dataGrid.d.ts +0 -10
- package/dist/css/themeMESF.d.ts +0 -1
- package/dist/globalContext.d.ts +0 -6
- package/dist/hooks/useMesfRealtime.d.ts +0 -5
- package/dist/hooks/useSearchAssets.d.ts +0 -3
- package/dist/hooks/useSearchUTLSetting.d.ts +0 -5
- package/dist/index.d.ts +0 -21
- package/dist/models/Asset.d.ts +0 -10
- package/dist/models/UTLSetting.d.ts +0 -4
- package/dist/pages/trendings/TrendingsPage.d.ts +0 -4
- package/dist/pages/trendings/components/chart/DateComponent.d.ts +0 -6
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -26
- package/dist/pages/trendings/components/chart/Trending.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/CellComponent.d.ts +0 -11
- package/dist/pages/trendings/components/chart/components/ColorPicker.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/DraggableLineControl.d.ts +0 -11
- package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/modals/saveAsView/SaveAsViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/saveView/SaveViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/ContextMenu.d.ts +0 -15
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/NewFolder/NewFolder.d.ts +0 -10
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/RemoveFolder/RemoveFolder.d.ts +0 -10
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/CustomDragView.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagFolderCustomNode.d.ts +0 -20
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +0 -120
- package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +0 -8
- package/dist/pages/trendings/components/chart/hooks/useGetVerticalLinePlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useTagsDataTable.d.ts +0 -24
- package/dist/pages/trendings/components/chart/hooks/useUpdateCursorData.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useXAxisDatePlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useYAxisPlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/models/TagsTree.model.d.ts +0 -12
- package/dist/pages/trendings/components/chart/models/TrendingModels.d.ts +0 -65
- package/dist/pages/trendings/components/chart/models/scopes.model.d.ts +0 -1
- package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +0 -13
- package/dist/pages/trendings/components/chart/sections/chart/hooks/useChartOptions.d.ts +0 -105
- package/dist/pages/trendings/components/chart/sections/header.d.ts +0 -6
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +0 -12
- package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/utils/areRangeSimilar.d.ts +0 -2
- package/dist/pages/trendings/components/chart/utils/buildTagsTree.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/calculateScales.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/dateNavigator.d.ts +0 -5
- package/dist/pages/trendings/components/chart/utils/formatDateTimeToString.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/formatTimeDiffWithMs.d.ts +0 -1
- package/dist/pages/trendings/components/chart/utils/tagColors.d.ts +0 -2
- package/dist/pages/trendings/components/chart/utils/timeDifference.d.ts +0 -1
- package/dist/pages/trendings/index.d.ts +0 -3
- package/dist/pages/trendings/reducers/trendings.reducer.d.ts +0 -115
- package/dist/reducers/AssetReducer.d.ts +0 -20
- package/dist/reducers/UTLSettingsReducer.d.ts +0 -34
- package/dist/reducers/UserReducer.d.ts +0 -75
- package/dist/repositorie/MESF-frontend-Repositorie.d.ts +0 -4
- package/dist/routes/MESFMainRouter.d.ts +0 -3
- package/dist/services/ApiService.d.ts +0 -48
- package/dist/services/TimeService.d.ts +0 -15
- package/dist/services/index.d.ts +0 -2
- package/dist/utils/transforms.d.ts +0 -30
- package/dist/utils.d.ts +0 -22
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export type ViewTagsMap = {
|
|
2
|
-
[tagId: number]: {
|
|
3
|
-
viewTag: ViewTag;
|
|
4
|
-
order: number;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export interface TimeScope {
|
|
8
|
-
start: Date;
|
|
9
|
-
end: Date;
|
|
10
|
-
}
|
|
11
|
-
export interface Sample {
|
|
12
|
-
timestamp: number;
|
|
13
|
-
value: number;
|
|
14
|
-
}
|
|
15
|
-
export type SampleArray = Sample[][];
|
|
16
|
-
export interface Tag {
|
|
17
|
-
tagId: number;
|
|
18
|
-
tagName: string;
|
|
19
|
-
alias: string;
|
|
20
|
-
tagType: string;
|
|
21
|
-
color: string;
|
|
22
|
-
minValue: number;
|
|
23
|
-
maxValue: number;
|
|
24
|
-
unit: number;
|
|
25
|
-
visible: boolean;
|
|
26
|
-
}
|
|
27
|
-
export interface CursorData {
|
|
28
|
-
x1: Date;
|
|
29
|
-
x2: Date;
|
|
30
|
-
values: number[];
|
|
31
|
-
}
|
|
32
|
-
export interface LineCoords {
|
|
33
|
-
x1: number;
|
|
34
|
-
x2: number;
|
|
35
|
-
}
|
|
36
|
-
export interface CustomOptions {
|
|
37
|
-
showGrid: boolean;
|
|
38
|
-
stepped: boolean;
|
|
39
|
-
}
|
|
40
|
-
export type TagList = Tag[];
|
|
41
|
-
export interface View {
|
|
42
|
-
ViewId: number;
|
|
43
|
-
ViewName: string;
|
|
44
|
-
UserName: string | null;
|
|
45
|
-
IsPublic: boolean;
|
|
46
|
-
LastModified: Date | null;
|
|
47
|
-
LastModifiedBy: number | null;
|
|
48
|
-
}
|
|
49
|
-
export interface ViewTag {
|
|
50
|
-
ViewId: number;
|
|
51
|
-
TagId: number;
|
|
52
|
-
TagName: string;
|
|
53
|
-
Alias: string;
|
|
54
|
-
TagType: string;
|
|
55
|
-
Color: string;
|
|
56
|
-
MinScale: number;
|
|
57
|
-
MaxScale: number;
|
|
58
|
-
Unit: string;
|
|
59
|
-
IsVisible: boolean;
|
|
60
|
-
IsAutoScale: boolean;
|
|
61
|
-
}
|
|
62
|
-
export interface ViewTagDataSet {
|
|
63
|
-
timestamp: number;
|
|
64
|
-
value: number;
|
|
65
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type scopeType = "10 min" | "1 hour" | "4 hours" | "12 hours" | "1 day" | "10 days" | "custom";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const getTagsTree: () => Promise<import("../../../../../services").ResponseMESF>;
|
|
2
|
-
export declare const deleteTagFolder: (TagFolderId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
3
|
-
export declare const upsertTagFolder: (TagFolderId: number | null, ParentTagFolderId: number | null, TagFolderName: string, IsActive: boolean) => Promise<import("../../../../../services").ResponseMESF>;
|
|
4
|
-
export declare const changeTagFolderToTag: (TagId: number | null, TagFolderId: number | null) => Promise<import("../../../../../services").ResponseMESF>;
|
|
5
|
-
export declare const getSeriesData: (TagIds: string, Start: number | null, End: number | null, SampleCount: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
6
|
-
export declare const saveTagDefaults: (TagId: number, Alias: string, Color: string, MinScale: number, MaxScale: number, Unit: string) => Promise<import("../../../../../services").ResponseMESF>;
|
|
7
|
-
export declare const getViews: (Search: string | null) => Promise<import("../../../../../services").ResponseMESF>;
|
|
8
|
-
export declare const upsertView: (ViewId: number | null, ViewName: string, isPublic: boolean) => Promise<import("../../../../../services").ResponseMESF>;
|
|
9
|
-
export declare const deleteView: (ViewId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
10
|
-
export declare const getViewTags: (ViewId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
11
|
-
export declare const upsertViewTag: (ViewId: number, TagId: number, Color: string, MinScale: number, MaxScale: number, IsVisible: boolean, IsAutoScale: boolean, Unit: string) => Promise<import("../../../../../services").ResponseMESF>;
|
|
12
|
-
export declare const deleteViewTag: (ViewId: number, TagId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
13
|
-
export declare const deleteAllViewTagsFromView: (ViewId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
export declare const useChartOptions: () => [{
|
|
2
|
-
animation: {
|
|
3
|
-
duration: number;
|
|
4
|
-
};
|
|
5
|
-
responsive: boolean;
|
|
6
|
-
maintainAspectRatio: boolean;
|
|
7
|
-
scales: {
|
|
8
|
-
x: {
|
|
9
|
-
type: "time";
|
|
10
|
-
ticks: {
|
|
11
|
-
autoSkip: boolean;
|
|
12
|
-
maxTicksLimit: number;
|
|
13
|
-
callback: (value: any, index: any, ticks: any) => string | string[];
|
|
14
|
-
};
|
|
15
|
-
grid: {
|
|
16
|
-
display: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
y: {
|
|
20
|
-
grid: {
|
|
21
|
-
display: boolean;
|
|
22
|
-
};
|
|
23
|
-
afterUpdate(axis: any): void;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
plugins: {
|
|
27
|
-
tooltip: {
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
};
|
|
30
|
-
legend: {
|
|
31
|
-
display: boolean;
|
|
32
|
-
};
|
|
33
|
-
zoom: {
|
|
34
|
-
zoom: {
|
|
35
|
-
wheel: {
|
|
36
|
-
enabled: boolean;
|
|
37
|
-
mode: "x";
|
|
38
|
-
};
|
|
39
|
-
pinch: {
|
|
40
|
-
enabled: boolean;
|
|
41
|
-
mode: "x";
|
|
42
|
-
};
|
|
43
|
-
onZoom: ({ chart }: any) => void;
|
|
44
|
-
mode: "x";
|
|
45
|
-
};
|
|
46
|
-
pan: {
|
|
47
|
-
enabled: boolean;
|
|
48
|
-
mode: "x";
|
|
49
|
-
onPan: ({ chart }: any) => void;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
}, import("react").Dispatch<import("react").SetStateAction<{
|
|
54
|
-
animation: {
|
|
55
|
-
duration: number;
|
|
56
|
-
};
|
|
57
|
-
responsive: boolean;
|
|
58
|
-
maintainAspectRatio: boolean;
|
|
59
|
-
scales: {
|
|
60
|
-
x: {
|
|
61
|
-
type: "time";
|
|
62
|
-
ticks: {
|
|
63
|
-
autoSkip: boolean;
|
|
64
|
-
maxTicksLimit: number;
|
|
65
|
-
callback: (value: any, index: any, ticks: any) => string | string[];
|
|
66
|
-
};
|
|
67
|
-
grid: {
|
|
68
|
-
display: boolean;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
y: {
|
|
72
|
-
grid: {
|
|
73
|
-
display: boolean;
|
|
74
|
-
};
|
|
75
|
-
afterUpdate(axis: any): void;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
plugins: {
|
|
79
|
-
tooltip: {
|
|
80
|
-
enabled: boolean;
|
|
81
|
-
};
|
|
82
|
-
legend: {
|
|
83
|
-
display: boolean;
|
|
84
|
-
};
|
|
85
|
-
zoom: {
|
|
86
|
-
zoom: {
|
|
87
|
-
wheel: {
|
|
88
|
-
enabled: boolean;
|
|
89
|
-
mode: "x";
|
|
90
|
-
};
|
|
91
|
-
pinch: {
|
|
92
|
-
enabled: boolean;
|
|
93
|
-
mode: "x";
|
|
94
|
-
};
|
|
95
|
-
onZoom: ({ chart }: any) => void;
|
|
96
|
-
mode: "x";
|
|
97
|
-
};
|
|
98
|
-
pan: {
|
|
99
|
-
enabled: boolean;
|
|
100
|
-
mode: "x";
|
|
101
|
-
onPan: ({ chart }: any) => void;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}>>];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ViewTagDataSet } from "../models/TrendingModels";
|
|
3
|
-
interface Props {
|
|
4
|
-
series: ViewTagDataSet[][];
|
|
5
|
-
chartOptions: any;
|
|
6
|
-
setChartOptions: any;
|
|
7
|
-
setCursorData: any;
|
|
8
|
-
chartData: any;
|
|
9
|
-
setChartData: any;
|
|
10
|
-
}
|
|
11
|
-
export declare const TrendingChart: ({ series, chartOptions, setChartOptions, chartData, setCursorData, setChartData, }: Props) => React.JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTagColorsStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"swatch" | "popover">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTagsTableStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"topTitles" | "color" | "scale" | "checkbox" | "visible" | "bottomTitlesRow" | "rowHover" | "doubleInput" | "inputCol" | "aliasCol" | "viewSelected" | "autoScale" | "unit" | "numberInput" | "xStats" | "dataType">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTagsTreeModalStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"dataTypeOfTree" | "icon" | "root" | "customNodeRoot" | "arrow" | "arrow > div" | "arrow.is-open" | "filetype" | "label" | "selected" | "dragging" | "contextMenu" | "storyRoot" | "assetRoot" | "dropTarget" | "customDragRoot" | "customDragLabel">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTrendingStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"datetimePicker" | "select" | "labelOptions" | "isPublicCheckbox" | "navigatorButton" | "iconContainer" | "optionContainer" | "optionLabel" | "inputCustom">;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
-
import { TagFromTree } from "../models/TagsTree.model";
|
|
3
|
-
export declare function buildTagsTree(data: TagFromTree[]): TagFromTree[];
|
|
4
|
-
export declare function buildTagsTreeV2(data: TagFromTree[]): NodeModel<TagFromTree>[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatTimeDiffWithMs: (start: number, end: number) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const timeDifference: (start: number, end: number) => string;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { View, ViewTagsMap } from "../components/chart/models/TrendingModels";
|
|
2
|
-
import { scopeType } from "../components/chart/models/scopes.model";
|
|
3
|
-
export declare const TrendingsReducer: import("@reduxjs/toolkit").Slice<{
|
|
4
|
-
timeScopeStart: Date;
|
|
5
|
-
timeScopeEnd: Date;
|
|
6
|
-
scope: scopeType;
|
|
7
|
-
graphPan?: boolean;
|
|
8
|
-
graphShouldUpdate: number;
|
|
9
|
-
shouldRefetchSeries: number;
|
|
10
|
-
views: View[];
|
|
11
|
-
viewSelected: View | null;
|
|
12
|
-
viewTags: ViewTagsMap;
|
|
13
|
-
}, {
|
|
14
|
-
setTotalScope(state: import("immer/dist/internal").WritableDraft<{
|
|
15
|
-
timeScopeStart: Date;
|
|
16
|
-
timeScopeEnd: Date;
|
|
17
|
-
scope: scopeType;
|
|
18
|
-
graphPan?: boolean;
|
|
19
|
-
graphShouldUpdate: number;
|
|
20
|
-
shouldRefetchSeries: number;
|
|
21
|
-
views: View[];
|
|
22
|
-
viewSelected: View | null;
|
|
23
|
-
viewTags: ViewTagsMap;
|
|
24
|
-
}>, { payload, type, }: {
|
|
25
|
-
payload: {
|
|
26
|
-
scope: scopeType;
|
|
27
|
-
start?: Date;
|
|
28
|
-
end?: Date;
|
|
29
|
-
graphPan?: boolean;
|
|
30
|
-
} | {
|
|
31
|
-
scope?: scopeType;
|
|
32
|
-
start: Date;
|
|
33
|
-
end?: Date;
|
|
34
|
-
graphPan?: boolean;
|
|
35
|
-
} | {
|
|
36
|
-
scope?: scopeType;
|
|
37
|
-
start?: Date;
|
|
38
|
-
end: Date;
|
|
39
|
-
graphPan?: boolean;
|
|
40
|
-
} | {
|
|
41
|
-
scope?: scopeType;
|
|
42
|
-
start: Date;
|
|
43
|
-
end: Date;
|
|
44
|
-
graphPan: boolean;
|
|
45
|
-
};
|
|
46
|
-
type: string;
|
|
47
|
-
}): void;
|
|
48
|
-
setViews(state: import("immer/dist/internal").WritableDraft<{
|
|
49
|
-
timeScopeStart: Date;
|
|
50
|
-
timeScopeEnd: Date;
|
|
51
|
-
scope: scopeType;
|
|
52
|
-
graphPan?: boolean;
|
|
53
|
-
graphShouldUpdate: number;
|
|
54
|
-
shouldRefetchSeries: number;
|
|
55
|
-
views: View[];
|
|
56
|
-
viewSelected: View | null;
|
|
57
|
-
viewTags: ViewTagsMap;
|
|
58
|
-
}>, { payload }: {
|
|
59
|
-
payload: any;
|
|
60
|
-
type: string;
|
|
61
|
-
}): void;
|
|
62
|
-
setViewSelected(state: import("immer/dist/internal").WritableDraft<{
|
|
63
|
-
timeScopeStart: Date;
|
|
64
|
-
timeScopeEnd: Date;
|
|
65
|
-
scope: scopeType;
|
|
66
|
-
graphPan?: boolean;
|
|
67
|
-
graphShouldUpdate: number;
|
|
68
|
-
shouldRefetchSeries: number;
|
|
69
|
-
views: View[];
|
|
70
|
-
viewSelected: View | null;
|
|
71
|
-
viewTags: ViewTagsMap;
|
|
72
|
-
}>, { payload }: {
|
|
73
|
-
payload: any;
|
|
74
|
-
type: string;
|
|
75
|
-
}): void;
|
|
76
|
-
setViewTags(state: import("immer/dist/internal").WritableDraft<{
|
|
77
|
-
timeScopeStart: Date;
|
|
78
|
-
timeScopeEnd: Date;
|
|
79
|
-
scope: scopeType;
|
|
80
|
-
graphPan?: boolean;
|
|
81
|
-
graphShouldUpdate: number;
|
|
82
|
-
shouldRefetchSeries: number;
|
|
83
|
-
views: View[];
|
|
84
|
-
viewSelected: View | null;
|
|
85
|
-
viewTags: ViewTagsMap;
|
|
86
|
-
}>, { payload }: {
|
|
87
|
-
payload: any;
|
|
88
|
-
type: string;
|
|
89
|
-
}): void;
|
|
90
|
-
setViewTagsAndRefetch(state: import("immer/dist/internal").WritableDraft<{
|
|
91
|
-
timeScopeStart: Date;
|
|
92
|
-
timeScopeEnd: Date;
|
|
93
|
-
scope: scopeType;
|
|
94
|
-
graphPan?: boolean;
|
|
95
|
-
graphShouldUpdate: number;
|
|
96
|
-
shouldRefetchSeries: number;
|
|
97
|
-
views: View[];
|
|
98
|
-
viewSelected: View | null;
|
|
99
|
-
viewTags: ViewTagsMap;
|
|
100
|
-
}>, { payload }: {
|
|
101
|
-
payload: any;
|
|
102
|
-
type: string;
|
|
103
|
-
}): void;
|
|
104
|
-
setGraphShouldUpdate(state: import("immer/dist/internal").WritableDraft<{
|
|
105
|
-
timeScopeStart: Date;
|
|
106
|
-
timeScopeEnd: Date;
|
|
107
|
-
scope: scopeType;
|
|
108
|
-
graphPan?: boolean;
|
|
109
|
-
graphShouldUpdate: number;
|
|
110
|
-
shouldRefetchSeries: number;
|
|
111
|
-
views: View[];
|
|
112
|
-
viewSelected: View | null;
|
|
113
|
-
viewTags: ViewTagsMap;
|
|
114
|
-
}>): void;
|
|
115
|
-
}, "__">;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Asset } from "../models/Asset";
|
|
2
|
-
export declare const AssetReducer: import("@reduxjs/toolkit").Slice<{
|
|
3
|
-
areasList: Asset[];
|
|
4
|
-
allAssets: Asset[];
|
|
5
|
-
}, {
|
|
6
|
-
setAreasList(state: import("immer/dist/internal").WritableDraft<{
|
|
7
|
-
areasList: Asset[];
|
|
8
|
-
allAssets: Asset[];
|
|
9
|
-
}>, { payload }: {
|
|
10
|
-
payload: any;
|
|
11
|
-
type: string;
|
|
12
|
-
}): void;
|
|
13
|
-
setAllAssets(state: import("immer/dist/internal").WritableDraft<{
|
|
14
|
-
areasList: Asset[];
|
|
15
|
-
allAssets: Asset[];
|
|
16
|
-
}>, { payload }: {
|
|
17
|
-
payload: any;
|
|
18
|
-
type: string;
|
|
19
|
-
}): void;
|
|
20
|
-
}, "__">;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type SettingModel = {
|
|
2
|
-
SettingName: string;
|
|
3
|
-
Value: string;
|
|
4
|
-
};
|
|
5
|
-
type SettingsMap = {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
export declare const UTLSettingsReducer: import("@reduxjs/toolkit").Slice<{
|
|
9
|
-
serverTimeZone: string;
|
|
10
|
-
settings: SettingsMap;
|
|
11
|
-
}, {
|
|
12
|
-
setServerTimeZone(state: import("immer/dist/internal").WritableDraft<{
|
|
13
|
-
serverTimeZone: string;
|
|
14
|
-
settings: SettingsMap;
|
|
15
|
-
}>, { payload }: {
|
|
16
|
-
payload: any;
|
|
17
|
-
type: string;
|
|
18
|
-
}): void;
|
|
19
|
-
setSetting(state: import("immer/dist/internal").WritableDraft<{
|
|
20
|
-
serverTimeZone: string;
|
|
21
|
-
settings: SettingsMap;
|
|
22
|
-
}>, { payload }: {
|
|
23
|
-
payload: any;
|
|
24
|
-
type: string;
|
|
25
|
-
}): void;
|
|
26
|
-
initSettings(state: import("immer/dist/internal").WritableDraft<{
|
|
27
|
-
serverTimeZone: string;
|
|
28
|
-
settings: SettingsMap;
|
|
29
|
-
}>, { payload }: {
|
|
30
|
-
payload: any;
|
|
31
|
-
type: string;
|
|
32
|
-
}): void;
|
|
33
|
-
}, "__">;
|
|
34
|
-
export {};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export declare const UserReducer: import("@reduxjs/toolkit").Slice<{
|
|
2
|
-
userLastName: string;
|
|
3
|
-
userId: number | null;
|
|
4
|
-
defaultAreaId: number | string | null;
|
|
5
|
-
defaultAreaName: string | null;
|
|
6
|
-
userLogged: boolean;
|
|
7
|
-
permissions: string[];
|
|
8
|
-
}, {
|
|
9
|
-
setUserId(state: import("immer/dist/internal").WritableDraft<{
|
|
10
|
-
userLastName: string;
|
|
11
|
-
userId: number | null;
|
|
12
|
-
defaultAreaId: number | string | null;
|
|
13
|
-
defaultAreaName: string | null;
|
|
14
|
-
userLogged: boolean;
|
|
15
|
-
permissions: string[];
|
|
16
|
-
}>, { payload }: {
|
|
17
|
-
payload: any;
|
|
18
|
-
type: string;
|
|
19
|
-
}): void;
|
|
20
|
-
setUserLastName(state: import("immer/dist/internal").WritableDraft<{
|
|
21
|
-
userLastName: string;
|
|
22
|
-
userId: number | null;
|
|
23
|
-
defaultAreaId: number | string | null;
|
|
24
|
-
defaultAreaName: string | null;
|
|
25
|
-
userLogged: boolean;
|
|
26
|
-
permissions: string[];
|
|
27
|
-
}>, { payload }: {
|
|
28
|
-
payload: any;
|
|
29
|
-
type: string;
|
|
30
|
-
}): void;
|
|
31
|
-
setDefaultAreaId(state: import("immer/dist/internal").WritableDraft<{
|
|
32
|
-
userLastName: string;
|
|
33
|
-
userId: number | null;
|
|
34
|
-
defaultAreaId: number | string | null;
|
|
35
|
-
defaultAreaName: string | null;
|
|
36
|
-
userLogged: boolean;
|
|
37
|
-
permissions: string[];
|
|
38
|
-
}>, { payload }: {
|
|
39
|
-
payload: any;
|
|
40
|
-
type: string;
|
|
41
|
-
}): void;
|
|
42
|
-
setDefaultAreaName(state: import("immer/dist/internal").WritableDraft<{
|
|
43
|
-
userLastName: string;
|
|
44
|
-
userId: number | null;
|
|
45
|
-
defaultAreaId: number | string | null;
|
|
46
|
-
defaultAreaName: string | null;
|
|
47
|
-
userLogged: boolean;
|
|
48
|
-
permissions: string[];
|
|
49
|
-
}>, { payload }: {
|
|
50
|
-
payload: any;
|
|
51
|
-
type: string;
|
|
52
|
-
}): void;
|
|
53
|
-
setUserLogged(state: import("immer/dist/internal").WritableDraft<{
|
|
54
|
-
userLastName: string;
|
|
55
|
-
userId: number | null;
|
|
56
|
-
defaultAreaId: number | string | null;
|
|
57
|
-
defaultAreaName: string | null;
|
|
58
|
-
userLogged: boolean;
|
|
59
|
-
permissions: string[];
|
|
60
|
-
}>, { payload }: {
|
|
61
|
-
payload: any;
|
|
62
|
-
type: string;
|
|
63
|
-
}): void;
|
|
64
|
-
setPermissions(state: import("immer/dist/internal").WritableDraft<{
|
|
65
|
-
userLastName: string;
|
|
66
|
-
userId: number | null;
|
|
67
|
-
defaultAreaId: number | string | null;
|
|
68
|
-
defaultAreaName: string | null;
|
|
69
|
-
userLogged: boolean;
|
|
70
|
-
permissions: string[];
|
|
71
|
-
}>, { payload }: {
|
|
72
|
-
payload: any;
|
|
73
|
-
type: string;
|
|
74
|
-
}): void;
|
|
75
|
-
}, "__">;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const getUser: (UserId: number, UserName: string | null) => Promise<import("../services").ResponseMESF>;
|
|
2
|
-
export declare const getAssets: () => Promise<import("../services").ResponseMESF>;
|
|
3
|
-
export declare const getUTLSettings: () => Promise<import("../services").ResponseMESF>;
|
|
4
|
-
export declare const upsertDefaultAreaId: (UserId: number, DefaultAreaId: number | null) => Promise<import("../services").ResponseMESF>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
type ExportColumn = {
|
|
2
|
-
columnName?: string;
|
|
3
|
-
caption?: string;
|
|
4
|
-
order?: number;
|
|
5
|
-
};
|
|
6
|
-
type ExportSheet = {
|
|
7
|
-
order?: number;
|
|
8
|
-
resultSetIndex?: number;
|
|
9
|
-
sheetName?: string;
|
|
10
|
-
showAllColumns?: boolean;
|
|
11
|
-
columns?: ExportColumn[];
|
|
12
|
-
};
|
|
13
|
-
type ExportStructure = {
|
|
14
|
-
showAllSheets?: boolean;
|
|
15
|
-
sheets?: ExportSheet[];
|
|
16
|
-
};
|
|
17
|
-
export type ResponseMESF = {
|
|
18
|
-
ok: false;
|
|
19
|
-
message: string;
|
|
20
|
-
} | {
|
|
21
|
-
ok: true;
|
|
22
|
-
data: any;
|
|
23
|
-
};
|
|
24
|
-
export type spParameter = {
|
|
25
|
-
name: string;
|
|
26
|
-
value: string | number | boolean | null | Date;
|
|
27
|
-
};
|
|
28
|
-
export declare class MESApiService {
|
|
29
|
-
private config;
|
|
30
|
-
hasErrors: boolean;
|
|
31
|
-
error: any;
|
|
32
|
-
private TOKEN;
|
|
33
|
-
constructor();
|
|
34
|
-
prepareCall(): void;
|
|
35
|
-
changePassword(userId: string, password: string): Promise<any>;
|
|
36
|
-
authenticate(userName: string, password: string): Promise<any>;
|
|
37
|
-
loginWithAzureAD(accessToken: string): Promise<any>;
|
|
38
|
-
loginWithWindowsAuthentication(): Promise<Response>;
|
|
39
|
-
uploadFiles(selectedFiles: File[], folderName?: string): Promise<any>;
|
|
40
|
-
call(procedure: string, parameters: any[], database?: string): Promise<any>;
|
|
41
|
-
callV2(procedure: string, parameters: any[], database?: string): Promise<ResponseMESF>;
|
|
42
|
-
callJSON(procedure: string, parameters: any[], database?: string): Promise<any>;
|
|
43
|
-
import(procedure: string, parameters: any[], files: any[], uniqueFile: any, database?: string): Promise<any>;
|
|
44
|
-
export(procedure: string, parameters: spParameter[], fileName: string, database?: string): Promise<string | void>;
|
|
45
|
-
exportExcel(procedure: string, parameters: spParameter[], fileName: string, excelStructure: ExportStructure, database?: string): Promise<string | void>;
|
|
46
|
-
checkIfWindowsAuthIsEnabled(): Promise<any>;
|
|
47
|
-
}
|
|
48
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import moment from "moment-timezone";
|
|
2
|
-
export declare class TimeService {
|
|
3
|
-
private static instance;
|
|
4
|
-
private timeZone;
|
|
5
|
-
private constructor();
|
|
6
|
-
static getInstance(): TimeService;
|
|
7
|
-
setTimeZone(timeZone: string): void;
|
|
8
|
-
toUTC(datetime: Date | string, format: string): string;
|
|
9
|
-
toLocalServerTime(datetime: Date | string | null | undefined, format: string): string;
|
|
10
|
-
getServerTimeZone(): string;
|
|
11
|
-
}
|
|
12
|
-
export declare const getMomentTz: () => typeof moment;
|
|
13
|
-
export declare const dxtServerTimeZone: () => () => string;
|
|
14
|
-
export declare const dxtToUTC: (datetime: Date | string, format: string) => string;
|
|
15
|
-
export declare const dxtToLocalServerTime: (datetime: Date | string | null | undefined, format: string) => string;
|
package/dist/services/index.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Asset } from "../models/Asset";
|
|
2
|
-
interface AssetCode {
|
|
3
|
-
id: number;
|
|
4
|
-
parentId: number;
|
|
5
|
-
name: string;
|
|
6
|
-
isActive: boolean | null;
|
|
7
|
-
}
|
|
8
|
-
export interface TreeCode {
|
|
9
|
-
id: number;
|
|
10
|
-
name: string;
|
|
11
|
-
parentId: number | null;
|
|
12
|
-
TreeId: number;
|
|
13
|
-
ParentTreeId: number | null;
|
|
14
|
-
Title: string | null;
|
|
15
|
-
Abbrev: string | null;
|
|
16
|
-
UniqueKey: string | null;
|
|
17
|
-
isLeaf: boolean | null;
|
|
18
|
-
isActive: boolean | null;
|
|
19
|
-
children?: TreeCode[] | null;
|
|
20
|
-
}
|
|
21
|
-
declare const TransformAssetCodeModel: (data: Asset) => AssetCode;
|
|
22
|
-
declare const TransformTreeCodeModel: (data: {
|
|
23
|
-
TreeId: number;
|
|
24
|
-
ParentTreeId: number;
|
|
25
|
-
Title: string | null;
|
|
26
|
-
Abbrev: string | null;
|
|
27
|
-
UniqueKey: string | null;
|
|
28
|
-
isLeaf: boolean | null;
|
|
29
|
-
}) => TreeCode;
|
|
30
|
-
export { TransformAssetCodeModel, TransformTreeCodeModel };
|
package/dist/utils.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const getError: (error: any) => any;
|
|
2
|
-
export declare const MESSAGE_API: {
|
|
3
|
-
ERROR_MESSAGE: string;
|
|
4
|
-
ERROR_EMPTY_SEARCH: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const MESSAGE_ERRORS: {
|
|
7
|
-
ERROR_TITLE: string;
|
|
8
|
-
ERROR_EMPTY_SEARCH: string;
|
|
9
|
-
ERROR_USER_API: string;
|
|
10
|
-
ERROR_USER_DEFAULT: string;
|
|
11
|
-
ERROR_SAVE_DATA: string;
|
|
12
|
-
SUCCESS_SAVE_DATA: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const USER_LABELS: {
|
|
15
|
-
CHOOSE_OPTION: string;
|
|
16
|
-
};
|
|
17
|
-
export declare class FetchError extends Error {
|
|
18
|
-
status: number;
|
|
19
|
-
internalError: string;
|
|
20
|
-
constructor(message: string, status: number, internalError: string);
|
|
21
|
-
getMessageUser: () => string;
|
|
22
|
-
}
|