2020-03-23 15:35:58 +01:00
|
|
|
/*
|
|
|
|
|
* MIT License
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2020-present Cloudogu GmbH and Contributors
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
|
|
|
* in the Software without restriction, including without limitation the rights
|
|
|
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
|
|
*
|
|
|
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
|
|
|
* copies or substantial portions of the Software.
|
|
|
|
|
*
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
|
* SOFTWARE.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-10-19 16:38:07 +02:00
|
|
|
import * as validation from "./validation";
|
|
|
|
|
import * as repositories from "./repositories";
|
2018-09-05 14:32:49 +02:00
|
|
|
|
2021-02-24 08:17:40 +01:00
|
|
|
import { urls } from "@scm-manager/ui-api";
|
|
|
|
|
|
2019-10-21 10:57:56 +02:00
|
|
|
// not sure if it is required
|
|
|
|
|
import {
|
|
|
|
|
AnnotationFactory,
|
|
|
|
|
AnnotationFactoryContext,
|
2021-08-09 12:07:28 +02:00
|
|
|
BaseContext,
|
|
|
|
|
Change,
|
|
|
|
|
DiffEventContext,
|
2019-10-21 10:57:56 +02:00
|
|
|
DiffEventHandler,
|
2021-08-09 12:07:28 +02:00
|
|
|
File,
|
|
|
|
|
FileChangeType,
|
|
|
|
|
Hunk,
|
2019-10-21 10:57:56 +02:00
|
|
|
} from "./repos";
|
|
|
|
|
|
2021-02-24 08:17:40 +01:00
|
|
|
export { validation, repositories };
|
2018-09-05 14:32:49 +02:00
|
|
|
|
2019-10-19 16:38:07 +02:00
|
|
|
export { default as DateFromNow } from "./DateFromNow";
|
2020-06-12 08:19:33 +02:00
|
|
|
export { default as DateShort } from "./DateShort";
|
2021-06-04 14:05:47 +02:00
|
|
|
export { default as Duration } from "./Duration";
|
2019-10-19 16:38:07 +02:00
|
|
|
export { default as ErrorNotification } from "./ErrorNotification";
|
|
|
|
|
export { default as ErrorPage } from "./ErrorPage";
|
|
|
|
|
export { default as Icon } from "./Icon";
|
|
|
|
|
export { default as Image } from "./Image";
|
|
|
|
|
export { default as Loading } from "./Loading";
|
|
|
|
|
export { default as Logo } from "./Logo";
|
|
|
|
|
export { default as MailLink } from "./MailLink";
|
|
|
|
|
export { default as Notification } from "./Notification";
|
|
|
|
|
export { default as Paginator } from "./Paginator";
|
|
|
|
|
export { default as LinkPaginator } from "./LinkPaginator";
|
|
|
|
|
export { default as StatePaginator } from "./StatePaginator";
|
2018-11-28 10:33:06 +01:00
|
|
|
|
2019-10-19 16:38:07 +02:00
|
|
|
export { default as FileSize } from "./FileSize";
|
|
|
|
|
export { default as ProtectedRoute } from "./ProtectedRoute";
|
2018-11-13 07:39:19 +01:00
|
|
|
export { default as Help } from "./Help";
|
|
|
|
|
export { default as HelpIcon } from "./HelpIcon";
|
2019-09-16 17:16:56 +02:00
|
|
|
export { default as Tag } from "./Tag";
|
2018-11-13 07:39:19 +01:00
|
|
|
export { default as Tooltip } from "./Tooltip";
|
2019-10-20 16:59:02 +02:00
|
|
|
export { default as Autocomplete } from "./Autocomplete";
|
|
|
|
|
export { default as GroupAutocomplete } from "./GroupAutocomplete";
|
|
|
|
|
export { default as UserAutocomplete } from "./UserAutocomplete";
|
2018-12-14 16:01:57 +01:00
|
|
|
export { default as BranchSelector } from "./BranchSelector";
|
2019-06-26 15:06:59 +02:00
|
|
|
export { default as Breadcrumb } from "./Breadcrumb";
|
2021-03-11 10:28:18 +01:00
|
|
|
export { default as MarkdownView } from "./markdown/MarkdownView";
|
2019-03-12 18:46:44 +01:00
|
|
|
export { default as SyntaxHighlighter } from "./SyntaxHighlighter";
|
2019-03-13 21:41:08 +01:00
|
|
|
export { default as ErrorBoundary } from "./ErrorBoundary";
|
2019-10-19 16:38:07 +02:00
|
|
|
export { default as OverviewPageActions } from "./OverviewPageActions";
|
2019-07-09 13:29:25 +02:00
|
|
|
export { default as CardColumnGroup } from "./CardColumnGroup";
|
2020-11-30 10:01:21 +01:00
|
|
|
export { default as CreateTagModal } from "./modals/CreateTagModal";
|
2019-07-09 13:29:25 +02:00
|
|
|
export { default as CardColumn } from "./CardColumn";
|
2020-04-06 14:15:28 +02:00
|
|
|
export { default as CardColumnSmall } from "./CardColumnSmall";
|
2020-06-10 08:11:48 +02:00
|
|
|
export { default as CommaSeparatedList } from "./CommaSeparatedList";
|
2020-06-30 18:11:23 +02:00
|
|
|
export { default as SplitAndReplace, Replacement } from "./SplitAndReplace";
|
2021-03-11 10:28:18 +01:00
|
|
|
export { regExpPattern as changesetShortLinkRegex } from "./markdown/remarkChangesetShortLinkParser";
|
|
|
|
|
export * from "./markdown/PluginApi";
|
2021-05-05 14:43:16 +02:00
|
|
|
export * from "./devices";
|
2021-08-09 12:07:28 +02:00
|
|
|
export { default as copyToClipboard } from "./CopyToClipboard";
|
2018-08-31 13:06:01 +02:00
|
|
|
|
2019-12-05 13:16:54 +01:00
|
|
|
export { default as comparators } from "./comparators";
|
|
|
|
|
|
2020-08-12 10:54:16 +02:00
|
|
|
export { isDevBuild, createAttributesForTesting } from "./devBuild";
|
2018-12-10 08:45:59 +01:00
|
|
|
export * from "./avatar";
|
2018-09-05 14:32:49 +02:00
|
|
|
export * from "./buttons";
|
2018-11-06 16:36:11 +01:00
|
|
|
export * from "./config";
|
2018-09-05 14:32:49 +02:00
|
|
|
export * from "./forms";
|
|
|
|
|
export * from "./layout";
|
|
|
|
|
export * from "./modals";
|
|
|
|
|
export * from "./navigation";
|
2018-12-10 08:45:59 +01:00
|
|
|
export * from "./repos";
|
2019-12-02 15:59:32 +01:00
|
|
|
export * from "./table";
|
2019-12-11 15:44:09 +01:00
|
|
|
export * from "./toast";
|
2020-08-06 13:00:54 +02:00
|
|
|
export * from "./popover";
|
2021-07-28 11:19:00 +02:00
|
|
|
export * from "./search";
|
2021-04-29 13:15:22 +02:00
|
|
|
export * from "./markdown/markdownExtensions";
|
2019-02-27 11:56:50 +01:00
|
|
|
|
2019-10-19 16:38:07 +02:00
|
|
|
export {
|
|
|
|
|
File,
|
|
|
|
|
FileChangeType,
|
|
|
|
|
Hunk,
|
|
|
|
|
Change,
|
|
|
|
|
BaseContext,
|
|
|
|
|
AnnotationFactory,
|
|
|
|
|
AnnotationFactoryContext,
|
|
|
|
|
DiffEventHandler,
|
2021-08-09 12:07:28 +02:00
|
|
|
DiffEventContext,
|
2019-10-19 16:38:07 +02:00
|
|
|
};
|
2021-02-24 08:17:40 +01:00
|
|
|
|
|
|
|
|
// Re-export from ui-api
|
|
|
|
|
export { apiClient } from "@scm-manager/ui-api";
|
|
|
|
|
export {
|
|
|
|
|
Violation,
|
|
|
|
|
AdditionalMessage,
|
|
|
|
|
BackendErrorContent,
|
|
|
|
|
BackendError,
|
|
|
|
|
UnauthorizedError,
|
|
|
|
|
ForbiddenError,
|
|
|
|
|
NotFoundError,
|
|
|
|
|
ConflictError,
|
|
|
|
|
MissingLinkError,
|
|
|
|
|
createBackendError,
|
|
|
|
|
isBackendError,
|
2021-08-09 12:07:28 +02:00
|
|
|
TOKEN_EXPIRED_ERROR_CODE,
|
2021-02-24 08:17:40 +01:00
|
|
|
} from "@scm-manager/ui-api";
|
|
|
|
|
|
|
|
|
|
export { urls };
|
|
|
|
|
export const getPageFromMatch = urls.getPageFromMatch;
|