@camunda/camunda-composite-components 0.15.2-rc.0 → 0.17.0
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/README.md +1 -1
- package/lib/esm/package.json +22 -22
- package/lib/esm/src/assets/c3-icons.d.ts +4 -5
- package/lib/esm/src/components/c3-app-teaser/app-teaser-cards.d.ts +2 -3
- package/lib/esm/src/components/c3-app-teaser/app-teaster-card.d.ts +2 -2
- package/lib/esm/src/components/c3-data-table/link-button/link-button.types.d.ts +1 -0
- package/lib/esm/src/components/c3-empty-state/c3-empty-state.d.ts +1 -2
- package/lib/esm/src/components/c3-help-center/help-center-hint.d.ts +3 -2
- package/lib/esm/src/components/c3-help-center/styles.d.ts +2 -3
- package/lib/esm/src/components/c3-help-center/styles.js +1 -1
- package/lib/esm/src/components/c3-help-center/tabs/feedback.js +4 -1
- package/lib/esm/src/components/c3-help-center/tabs/tabContent.d.ts +2 -2
- package/lib/esm/src/components/c3-navigation/c3-navigation-actions/c3-action-buttons.types.d.ts +2 -2
- package/lib/esm/src/components/c3-navigation/c3-navigation-appbar/c3-navigation-appbar.d.ts +1 -0
- package/lib/esm/src/components/c3-navigation/c3-navigation-appbar/c3-navigation-appbar.js +2 -2
- package/lib/esm/src/components/c3-navigation/c3-navigation-appbar/components.d.ts +1 -1
- package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar-element.d.ts +2 -3
- package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.d.ts +2 -2
- package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.js +1 -1
- package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types.d.ts +3 -3
- package/lib/esm/src/components/c3-navigation/c3-navigation.d.ts +1 -2
- package/lib/esm/src/components/c3-navigation/c3-navigation.types.d.ts +2 -2
- package/lib/esm/src/components/c3-navigation/c3-notification-provider/c3-notification-container.d.ts +4 -4
- package/lib/esm/src/components/c3-navigation/c3-org-sidebar/c3-org-sidebar.js +1 -1
- package/lib/esm/src/components/c3-navigation/c3-org-sidebar/components.d.ts +9 -15
- package/lib/esm/src/components/c3-navigation/c3-org-sidebar/components.js +1 -1
- package/lib/esm/src/components/c3-navigation/stories/story-helpers.d.ts +1 -2
- package/lib/esm/src/components/c3-onboarding-survey/onboardingModal.d.ts +10 -11
- package/lib/esm/src/components/c3-onboarding-survey/onboardingPage.d.ts +9 -9
- package/lib/esm/src/components/c3-page/c3-tabs/c3-tabs.types.d.ts +1 -1
- package/lib/esm/src/components/c3-user-configuration/c3-profile-provider/c3-profile-provider.d.ts +4 -2
- package/lib/esm/src/components/styles.d.ts +3 -4
- package/lib/esm/src/hooks/useApi.d.ts +3 -3
- package/package.json +115 -116
- package/LICENSE +0 -201
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ return (
|
|
|
71
71
|
|
|
72
72
|
- [Console team](https://confluence.camunda.com/display/HAN/Console+Team)
|
|
73
73
|
started this, their C4 repo can be found
|
|
74
|
-
[here](https://github.com/camunda
|
|
74
|
+
[here](https://github.com/camunda/camunda-cloud-management-apps/tree/main/packages/c4)
|
|
75
75
|
- [Identity team](https://github.com/camunda/team-identity):
|
|
76
76
|
[c4-identity](https://github.com/camunda-cloud/c4-identity)
|
|
77
77
|
|
package/lib/esm/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/camunda-composite-components",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"
|
|
3
|
+
"version": "0.17.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
6
7
|
},
|
|
7
|
-
"version": "0.15.1",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"clean": "rimraf lib/",
|
|
10
|
-
"build": "
|
|
10
|
+
"build": "pnpm clean && tsc",
|
|
11
11
|
"storybook": "storybook dev -p 6006",
|
|
12
|
-
"start": "
|
|
13
|
-
"build
|
|
14
|
-
"build:all": "
|
|
15
|
-
"serve:storybook": "serve ./storybook-static -p 6006 -n -L",
|
|
12
|
+
"start": "pnpm storybook",
|
|
13
|
+
"build-storybook": "storybook build",
|
|
14
|
+
"build:all": "pnpm build && pnpm build-storybook",
|
|
15
|
+
"serve:storybook": "npx --yes serve ./storybook-static -p 6006 -n -L",
|
|
16
16
|
"prepare": "husky",
|
|
17
17
|
"format": "prettier --write .",
|
|
18
18
|
"lint": "eslint src/",
|
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
"test:ts": "tsc --noEmit --project ./tsconfig.json",
|
|
21
21
|
"test:storybook": "TEST_A11Y=true test-storybook",
|
|
22
22
|
"test:storybook:smoke": "test-storybook",
|
|
23
|
-
"start:docker-storybook": "
|
|
24
|
-
"test:visual-regression": "wait-on http://localhost:6006 &&
|
|
25
|
-
"test:visual-regression:ui": "
|
|
26
|
-
"report:visual-regression": "
|
|
27
|
-
"update:visual-regression": "
|
|
28
|
-
"test:visual-regression:docker": "docker exec -it -t c3-visual-regression
|
|
29
|
-
"update:visual-regression:docker": "docker exec -it -t c3-visual-regression
|
|
30
|
-
"test": "
|
|
23
|
+
"start:docker-storybook": "pnpm build-storybook && docker-compose up -d && docker-compose exec c3-visual-regression pnpm serve:storybook",
|
|
24
|
+
"test:visual-regression": "wait-on http://localhost:6006 && pnpm playwright test",
|
|
25
|
+
"test:visual-regression:ui": "pnpm playwright test --ui",
|
|
26
|
+
"report:visual-regression": "pnpm playwright show-report",
|
|
27
|
+
"update:visual-regression": "pnpm playwright test --update-snapshots",
|
|
28
|
+
"test:visual-regression:docker": "docker exec -it -t c3-visual-regression pnpm test:visual-regression",
|
|
29
|
+
"update:visual-regression:docker": "docker exec -it -t c3-visual-regression pnpm update:visual-regression",
|
|
30
|
+
"test:all": "pnpm test:ts && pnpm serve:storybook & wait-on http://localhost:6006 && pnpm test:storybook && pnpm test:visual-regression:docker",
|
|
31
|
+
"test": "pnpm test:ts"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@babel/core": "7.25.7",
|
|
@@ -57,8 +58,8 @@
|
|
|
57
58
|
"@types/event-source-polyfill": "1.0.5",
|
|
58
59
|
"@types/mixpanel-browser": "2.49.0",
|
|
59
60
|
"@types/node": "20.12.4",
|
|
60
|
-
"@types/react": "18.
|
|
61
|
-
"@types/react-dom": "18.
|
|
61
|
+
"@types/react": "18.0.28",
|
|
62
|
+
"@types/react-dom": "18.0.11",
|
|
62
63
|
"@types/styled-components": "5.1.34",
|
|
63
64
|
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
64
65
|
"@typescript-eslint/parser": "7.17.0",
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"storybook": "8.2.9",
|
|
90
91
|
"style-loader": "4.0.0",
|
|
91
92
|
"styled-components": "6.1.8",
|
|
92
|
-
"typescript": "
|
|
93
|
+
"typescript": "4.9.5",
|
|
93
94
|
"wait-on": "7.2.0",
|
|
94
95
|
"webpack": "5.94.0"
|
|
95
96
|
},
|
|
@@ -112,6 +113,5 @@
|
|
|
112
113
|
"/lib"
|
|
113
114
|
],
|
|
114
115
|
"author": "Camunda",
|
|
115
|
-
"license": "Apache-2.0"
|
|
116
|
-
"packageManager": "yarn@4.3.1"
|
|
116
|
+
"license": "Apache-2.0"
|
|
117
117
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { C3IconProps } from "./c3-icons.types";
|
|
3
|
-
export declare const C3AppMenuIcon: ({ size }: C3IconProps) =>
|
|
4
|
-
export declare const C3NotificationsUnreadIcon: ({ size }: C3IconProps) =>
|
|
5
|
-
export declare const C3BellIcon: ({ size }: C3IconProps) =>
|
|
6
|
-
export declare const CamundaLogo: () =>
|
|
2
|
+
export declare const C3AppMenuIcon: ({ size }: C3IconProps) => JSX.Element;
|
|
3
|
+
export declare const C3NotificationsUnreadIcon: ({ size }: C3IconProps) => JSX.Element;
|
|
4
|
+
export declare const C3BellIcon: ({ size }: C3IconProps) => JSX.Element;
|
|
5
|
+
export declare const CamundaLogo: () => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { AppTeaserCardProps } from "./app-teaster-card";
|
|
3
2
|
type AppTeaserCardsProps = {
|
|
4
3
|
title: string;
|
|
5
|
-
subtitle:
|
|
4
|
+
subtitle: JSX.Element;
|
|
6
5
|
cards: AppTeaserCardProps[];
|
|
7
6
|
cta: {
|
|
8
7
|
text: string;
|
|
@@ -13,5 +12,5 @@ type AppTeaserCardsProps = {
|
|
|
13
12
|
};
|
|
14
13
|
subtext: string;
|
|
15
14
|
};
|
|
16
|
-
export declare const AppTeaserCards: ({ title, subtitle, cards, cta, subtext, }: AppTeaserCardsProps) =>
|
|
15
|
+
export declare const AppTeaserCards: ({ title, subtitle, cards, cta, subtext, }: AppTeaserCardsProps) => JSX.Element;
|
|
17
16
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
2
|
export type AppTeaserCardProps = {
|
|
3
3
|
grid?: {
|
|
4
4
|
column?: number | string;
|
|
@@ -11,4 +11,4 @@ export type AppTeaserCardProps = {
|
|
|
11
11
|
};
|
|
12
12
|
description: ReactNode;
|
|
13
13
|
};
|
|
14
|
-
export declare const AppTeaserCard: (props: AppTeaserCardProps) =>
|
|
14
|
+
export declare const AppTeaserCard: (props: AppTeaserCardProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { C3EmptyStateProps } from "./c3-empty-state.types";
|
|
2
|
-
|
|
3
|
-
export declare const C3EmptyState: ({ icon, heading, description, button, link, }: C3EmptyStateProps) => React.JSX.Element;
|
|
2
|
+
export declare const C3EmptyState: ({ icon, heading, description, button, link, }: C3EmptyStateProps) => JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const HelpCenterHint: ({ children }: {
|
|
2
|
+
children: JSX.Element;
|
|
3
|
+
}) => JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ModalBodyProps, ModalHeaderProps } from "@carbon/react";
|
|
2
1
|
import { FC } from "react";
|
|
3
2
|
export declare const headingStyles: import("styled-components").RuleSet<object>;
|
|
4
|
-
export declare const StyledModalHeader: FC<
|
|
5
|
-
export declare const StyledModalBody: FC<
|
|
3
|
+
export declare const StyledModalHeader: FC<any>;
|
|
4
|
+
export declare const StyledModalBody: FC<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { body01, heading01, heading02, heading03, heading04, heading05, heading06, } from "../styles";
|
|
3
|
-
import { ModalBody, ModalHeader
|
|
3
|
+
import { ModalBody, ModalHeader } from "@carbon/react";
|
|
4
4
|
export const headingStyles = css `
|
|
5
5
|
h1 {
|
|
6
6
|
${heading06}
|
|
@@ -41,7 +41,10 @@ export const Feedback = (props) => {
|
|
|
41
41
|
React.useEffect(() => {
|
|
42
42
|
switch (selectedType) {
|
|
43
43
|
case ReportType.Feedback:
|
|
44
|
-
setContent({
|
|
44
|
+
setContent({
|
|
45
|
+
title: Title.Feedback,
|
|
46
|
+
placeholder: Placeholder.Feedback,
|
|
47
|
+
});
|
|
45
48
|
break;
|
|
46
49
|
case ReportType.Bug:
|
|
47
50
|
setContent({ title: Title.Bug, placeholder: Placeholder.Bug });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
import { Dict } from "mixpanel-browser";
|
|
3
3
|
import { WpCardType } from "../c3-help-center.types";
|
|
4
4
|
export declare const TAB_TYPES: {
|
|
@@ -6,7 +6,7 @@ export declare const TAB_TYPES: {
|
|
|
6
6
|
readonly Column: "column";
|
|
7
7
|
};
|
|
8
8
|
export type TabType = (typeof TAB_TYPES)[keyof typeof TAB_TYPES];
|
|
9
|
-
export declare const TileWrapper:
|
|
9
|
+
export declare const TileWrapper: any;
|
|
10
10
|
export declare const TabContent: FC<{
|
|
11
11
|
onboarding: {
|
|
12
12
|
complete: boolean;
|
|
@@ -25,8 +25,8 @@ const getClustersToRender = (clusters, activeOrg, appToNavigateTo) => {
|
|
|
25
25
|
endpoints[appToNavigateTo] &&
|
|
26
26
|
// either the user has appreadpermissions on this app
|
|
27
27
|
(activeOrg?.permissions?.cluster?.[appToNavigateTo]?.read ||
|
|
28
|
-
// OR this is a 8.
|
|
29
|
-
[1, 2, 3, 4, 5, 6].every((
|
|
28
|
+
// OR this is a 8.8+ cluster - in this case we also allow rendering this item
|
|
29
|
+
[1, 2, 3, 4, 5, 6, 7].every((pre8Minor) => !generation.name.includes(`8.${pre8Minor}`))));
|
|
30
30
|
};
|
|
31
31
|
const OrgPickerModal = ({ isOpen, onCancel, orgs, activeOrg, loadingStatus, appToNavigateTo, domain, }) => {
|
|
32
32
|
const hasNoTeams = Object.values(orgs ?? {})?.every(({ org }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { SideNavProps } from "carbon-components-react";
|
|
3
|
-
export declare const NavWrapper:
|
|
3
|
+
export declare const NavWrapper: any;
|
|
4
4
|
export declare const SideNav: FC<SideNavProps & {
|
|
5
5
|
ref: unknown;
|
|
6
6
|
}>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { C3NavigationElementProps } from "../c3-navigation.types";
|
|
2
2
|
import { C3NavigationSideBarProps } from "./c3-navigation-sidebar.types";
|
|
3
|
-
import React from "react";
|
|
4
3
|
declare const C3NavigationSidebarElement: (props: {
|
|
5
4
|
element: C3NavigationElementProps;
|
|
6
5
|
index: number;
|
|
7
|
-
itemTabIndex?: number;
|
|
6
|
+
itemTabIndex?: number | undefined;
|
|
8
7
|
sideBar: C3NavigationSideBarProps;
|
|
9
8
|
setSideBarOpen: (open: boolean) => void;
|
|
10
9
|
scrollBarWidth: number;
|
|
11
|
-
}) =>
|
|
10
|
+
}) => JSX.Element;
|
|
12
11
|
export default C3NavigationSidebarElement;
|
package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement, ReactNode } from "react";
|
|
2
2
|
import { C3NavigationSideBarProps } from "./c3-navigation-sidebar.types";
|
|
3
3
|
declare const C3NavigationSideBar: (props: {
|
|
4
4
|
sideBar: C3NavigationSideBarProps;
|
|
@@ -6,5 +6,5 @@ declare const C3NavigationSideBar: (props: {
|
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
version?: ReactNode;
|
|
8
8
|
bottomChildren?: ReactNode;
|
|
9
|
-
}) =>
|
|
9
|
+
}) => JSX.Element;
|
|
10
10
|
export default C3NavigationSideBar;
|
|
@@ -61,7 +61,7 @@ const C3NavigationSideBar = (props) => {
|
|
|
61
61
|
, {
|
|
62
62
|
// eslint-disable-next-line
|
|
63
63
|
// @ts-ignore
|
|
64
|
-
ref: setIconRef, "aria-label": `Open ${sideBar.ariaLabel}`, "aria-expanded": isOpen, "aria-controls": id, onClick: () => {
|
|
64
|
+
ref: setIconRef, "aria-label": sideBar.tooltip ?? `Open ${sideBar.ariaLabel}`, "aria-expanded": isOpen, "aria-controls": id, onClick: () => {
|
|
65
65
|
setIsOpen(!isOpen);
|
|
66
66
|
}, isActive: isOpen, tooltipAlignment: sideBar.type === "user" ? "end" : "center",
|
|
67
67
|
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
|
package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C3NavigationElementProps } from "../c3-navigation.types";
|
|
2
2
|
import { Notification } from "../../../api/notifications";
|
|
3
|
-
import React from "react";
|
|
4
3
|
export type C3NavigationSideBarBaseProps = {
|
|
5
4
|
ariaLabel?: string;
|
|
5
|
+
tooltip?: string;
|
|
6
6
|
isOpen?: boolean;
|
|
7
7
|
onOpen?: () => void;
|
|
8
8
|
closeOnClick?: boolean;
|
|
@@ -38,7 +38,7 @@ export type C3NavigationUserSideBarProps = C3NavigationSideBarBaseProps & {
|
|
|
38
38
|
type: "user";
|
|
39
39
|
version?: string;
|
|
40
40
|
customElements?: {
|
|
41
|
-
customSection?:
|
|
41
|
+
customSection?: JSX.Element;
|
|
42
42
|
profile?: {
|
|
43
43
|
label: string;
|
|
44
44
|
user: {
|
|
@@ -61,7 +61,7 @@ export type C3NavigationNotificationsSideBarProps = C3NavigationSideBarBaseProps
|
|
|
61
61
|
onLinkClick?: (meta: Notification["meta"]) => void;
|
|
62
62
|
};
|
|
63
63
|
type AppTeaserRouteProps = any;
|
|
64
|
-
export type C3NavigationAppBarProps = C3NavigationSideBarBaseProps & {
|
|
64
|
+
export type C3NavigationAppBarProps = Omit<C3NavigationSideBarBaseProps, "tooltip"> & {
|
|
65
65
|
type: "app";
|
|
66
66
|
appTeaserRouteProps?: {
|
|
67
67
|
operate?: AppTeaserRouteProps;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { C3NavigationProps } from "./c3-navigation.types";
|
|
3
2
|
export declare const SECOND = 1000;
|
|
4
3
|
export declare const MINUTE: number;
|
|
5
4
|
export declare const HOUR: number;
|
|
6
5
|
export declare const DAY: number;
|
|
7
|
-
export declare const C3Navigation: ({ app, appBar, forwardRef, navbar, orgSideBar, infoSideBar, infoButton, helpCenter, actionButtons, userSideBar, notificationSideBar, clusterUuid, options, }: C3NavigationProps) =>
|
|
6
|
+
export declare const C3Navigation: ({ app, appBar, forwardRef, navbar, orgSideBar, infoSideBar, infoButton, helpCenter, actionButtons, userSideBar, notificationSideBar, clusterUuid, options, }: C3NavigationProps) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Tag } from "@carbon/react";
|
|
2
3
|
import { Endpoints, Stage } from "../../api/endpoints.const";
|
|
3
4
|
import { C3NavigationAppBarProps, C3NavigationInfoSideBarProps, C3NavigationNotificationsSideBarProps, C3NavigationOrgSideBarProps, C3NavigationUserSideBarProps } from "./c3-navigation-sidebar/c3-navigation-sidebar.types";
|
|
4
5
|
import { C3ActionButtonsProps } from "./c3-navigation-actions/c3-action-buttons.types";
|
|
5
6
|
import { C3HelpCenterProps } from "../c3-help-center/c3-help-center";
|
|
6
7
|
import { CamundaClusterStage } from "../c3-cluster-tag/c3-cluster-tag.types";
|
|
7
|
-
import { CarbonIconType } from "@carbon/react/icons";
|
|
8
8
|
export interface C3NavigationAppProps {
|
|
9
9
|
prefix?: string;
|
|
10
10
|
name: string;
|
|
@@ -39,7 +39,7 @@ export interface C3NavigationNavBarProps {
|
|
|
39
39
|
label: string;
|
|
40
40
|
key: string;
|
|
41
41
|
color?: React.ComponentProps<typeof Tag>["type"];
|
|
42
|
-
renderIcon?:
|
|
42
|
+
renderIcon?: any;
|
|
43
43
|
tooltip?: {
|
|
44
44
|
content: React.ReactNode;
|
|
45
45
|
buttonLabel: string;
|
package/lib/esm/src/components/c3-navigation/c3-notification-provider/c3-notification-container.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
import { Notification as NotificationProps } from "../../../api/notifications";
|
|
3
|
-
export declare const NotificationTitle:
|
|
4
|
-
export declare const NotificationDescription:
|
|
5
|
-
export declare const LinkContainer:
|
|
3
|
+
export declare const NotificationTitle: any;
|
|
4
|
+
export declare const NotificationDescription: any;
|
|
5
|
+
export declare const LinkContainer: any;
|
|
6
6
|
declare const C3NotificationContainer: FC<NotificationProps & {
|
|
7
7
|
onRead: () => void;
|
|
8
8
|
onDismiss: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import { Button, FormLabel, TreeNode, TreeView
|
|
2
|
+
import { Button, FormLabel, TreeNode, TreeView } from "@carbon/react";
|
|
3
3
|
import { Enterprise } from "@carbon/react/icons";
|
|
4
4
|
import C3NavigationSideBar from "../c3-navigation-sidebar/c3-navigation-sidebar";
|
|
5
5
|
import { SwitcherDivider } from "../c3-navigation-sidebar/components";
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ModalProps } from "@carbon/react/es/components/Modal/Modal";
|
|
1
|
+
import { FC } from "react";
|
|
3
2
|
import { DropdownProps } from "@carbon/react/lib/components/Dropdown/Dropdown";
|
|
4
3
|
import { Organization } from "../../../utils/camunda.types";
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare const
|
|
10
|
-
|
|
11
|
-
}>>;
|
|
12
|
-
export declare const ActiveOrgNameWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
13
|
-
export declare const ActiveOrgName: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
14
|
-
$isCustomized?: boolean | undefined;
|
|
15
|
-
}>>;
|
|
4
|
+
import { LoadingStatus } from "../c3-navigation-appbar/c3-navigation-appbar";
|
|
5
|
+
export declare const ActiveOrgWrapperCustom: any;
|
|
6
|
+
export declare const ActiveOrgWrapper: any;
|
|
7
|
+
export declare const ActiveSuperorgWrapper: any;
|
|
8
|
+
export declare const ActiveOrgNameWrapper: any;
|
|
9
|
+
export declare const ActiveOrgName: any;
|
|
16
10
|
export declare const ConfirmLeaveModal: FC<{
|
|
17
11
|
isOpen: boolean;
|
|
18
12
|
orgName: string;
|
|
19
13
|
onConfirm: () => void;
|
|
20
14
|
onCancel: () => void;
|
|
21
|
-
loadingStatus:
|
|
15
|
+
loadingStatus: LoadingStatus;
|
|
22
16
|
}>;
|
|
23
17
|
export declare const ManageOrgOverflowMenu: FC<{
|
|
24
18
|
canManage: boolean;
|
|
@@ -32,4 +26,4 @@ export declare const ManageOrgOverflowMenu: FC<{
|
|
|
32
26
|
export declare const StyledDropdown: FC<DropdownProps<Organization> & {
|
|
33
27
|
$scrollBarWidth: number;
|
|
34
28
|
}>;
|
|
35
|
-
export declare const OrgListWrapper:
|
|
29
|
+
export declare const OrgListWrapper: any;
|
|
@@ -65,7 +65,7 @@ export const ManageOrgOverflowMenu = ({ canManage, canLeave, isLastOrg, isOrgMem
|
|
|
65
65
|
: isLastOrg
|
|
66
66
|
? "You need to be a member of at least one organization. Join a different organization first if you wish to leave."
|
|
67
67
|
: "Owners cannot leave an organization directly. Assign another user as an owner if you wish to leave.";
|
|
68
|
-
return (React.createElement(StyledOverflowMenu, { size: "sm", flipped: true, "aria-label": "Organization options menu", "data-floating-menu-container": "cds--header-panel", align: "top-right" },
|
|
68
|
+
return (React.createElement(StyledOverflowMenu, { size: "sm", flipped: true, "aria-label": "Organization options menu", "data-floating-menu-container": "cds--header-panel", ...{ align: "top-right" } },
|
|
69
69
|
canManage && (React.createElement(OverflowMenuItem, { itemText: "Manage organization", onClick: onManage, "aria-label": `Manage organization - ${orgName}` })),
|
|
70
70
|
canLeave ? (leaveMenuItem) : (React.createElement(PopoverWrapper, { open: isPopoverShown, label: popoverLabel, align: "bottom-right" },
|
|
71
71
|
leaveMenuItem,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { C3NavigationAppProps, C3NavigationElementProps, C3NavigationNavBarProps, C3NavigationProps } from "../c3-navigation.types";
|
|
3
2
|
import { C3HelpCenterProps } from "../../c3-help-center/c3-help-center";
|
|
4
3
|
export declare function createAppProps(): C3NavigationAppProps;
|
|
@@ -26,7 +25,7 @@ export declare function createOrgSideBarProps(options: {
|
|
|
26
25
|
}): C3NavigationProps["orgSideBar"];
|
|
27
26
|
export declare function createUserSideBarProps(options: {
|
|
28
27
|
isOpen: boolean;
|
|
29
|
-
customSection?:
|
|
28
|
+
customSection?: JSX.Element;
|
|
30
29
|
hideThemeSelector?: boolean;
|
|
31
30
|
}): C3NavigationProps["userSideBar"];
|
|
32
31
|
export declare function createNotificationSideBarProps(options: {
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { ModalBodyProps } from "@carbon/react";
|
|
2
1
|
import React, { FC } from "react";
|
|
3
|
-
export declare const StyledModalBody: FC<
|
|
2
|
+
export declare const StyledModalBody: FC<any>;
|
|
4
3
|
export declare const OnboardingModal: ({ isDoingAsyncWork, heading, headingLabel, primaryButtonText, primaryButtonDisabled, secondaryButtonText, tertiaryButtonText, loadingText, error, danger, theme, onRequestClose, onSecondary, onPrimary, onTertiary, children, }: {
|
|
5
4
|
isDoingAsyncWork: boolean;
|
|
6
5
|
heading: string;
|
|
7
|
-
headingLabel?: string;
|
|
6
|
+
headingLabel?: string | undefined;
|
|
8
7
|
primaryButtonText: string;
|
|
9
|
-
primaryButtonDisabled?: boolean;
|
|
10
|
-
secondaryButtonText?: string;
|
|
11
|
-
tertiaryButtonText?: string;
|
|
8
|
+
primaryButtonDisabled?: boolean | undefined;
|
|
9
|
+
secondaryButtonText?: string | undefined;
|
|
10
|
+
tertiaryButtonText?: string | undefined;
|
|
12
11
|
loadingText: string;
|
|
13
12
|
error?: {
|
|
14
13
|
title: string;
|
|
15
14
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
danger?: boolean;
|
|
15
|
+
} | undefined;
|
|
16
|
+
danger?: boolean | undefined;
|
|
18
17
|
theme: string;
|
|
19
18
|
onRequestClose: (skip: boolean) => void;
|
|
20
|
-
onSecondary?: () => void;
|
|
21
|
-
onPrimary?: () => void;
|
|
22
|
-
onTertiary?: () => void;
|
|
19
|
+
onSecondary?: (() => void) | undefined;
|
|
20
|
+
onPrimary?: (() => void) | undefined;
|
|
21
|
+
onTertiary?: (() => void) | undefined;
|
|
23
22
|
children?: React.ReactNode;
|
|
24
23
|
}) => JSX.Element;
|
|
@@ -2,19 +2,19 @@ import React from "react";
|
|
|
2
2
|
export declare const OnboardingPage: ({ isDoingAsyncWork, heading, headingLabel, primaryButtonText, primaryButtonDisabled, secondaryButtonText, tertiaryButtonText, loadingText, error, danger, onSecondary, onPrimary, onTertiary, children, }: {
|
|
3
3
|
isDoingAsyncWork: boolean;
|
|
4
4
|
heading: string;
|
|
5
|
-
headingLabel?: string;
|
|
5
|
+
headingLabel?: string | undefined;
|
|
6
6
|
primaryButtonText: string;
|
|
7
|
-
primaryButtonDisabled?: boolean;
|
|
8
|
-
secondaryButtonText?: string;
|
|
9
|
-
tertiaryButtonText?: string;
|
|
7
|
+
primaryButtonDisabled?: boolean | undefined;
|
|
8
|
+
secondaryButtonText?: string | undefined;
|
|
9
|
+
tertiaryButtonText?: string | undefined;
|
|
10
10
|
loadingText: string;
|
|
11
11
|
error?: {
|
|
12
12
|
title: string;
|
|
13
13
|
description: string;
|
|
14
|
-
};
|
|
15
|
-
danger?: boolean;
|
|
16
|
-
onSecondary?: () => void;
|
|
17
|
-
onPrimary?: () => void;
|
|
18
|
-
onTertiary?: () => void;
|
|
14
|
+
} | undefined;
|
|
15
|
+
danger?: boolean | undefined;
|
|
16
|
+
onSecondary?: (() => void) | undefined;
|
|
17
|
+
onPrimary?: (() => void) | undefined;
|
|
18
|
+
onTertiary?: (() => void) | undefined;
|
|
19
19
|
children?: React.ReactNode;
|
|
20
20
|
}) => JSX.Element;
|
package/lib/esm/src/components/c3-user-configuration/c3-profile-provider/c3-profile-provider.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { ResolvedTheme } from "./carbon-theme-provider";
|
|
3
3
|
import { Cluster, Organization } from "../../../utils/camunda.types";
|
|
4
4
|
import { RequestResponse } from "../../../api/api";
|
|
@@ -18,5 +18,7 @@ export type C3ProfileContextValue = {
|
|
|
18
18
|
loadClustersById: (orgId: string) => Promise<RequestResponse<Cluster[] | null>> | undefined;
|
|
19
19
|
};
|
|
20
20
|
export declare const C3ProfileContext: React.Context<C3ProfileContextValue>;
|
|
21
|
-
export declare const C3ProfileProvider:
|
|
21
|
+
export declare const C3ProfileProvider: ({ children }: {
|
|
22
|
+
children: JSX.Element;
|
|
23
|
+
}) => JSX.Element;
|
|
22
24
|
export declare const useC3Profile: () => C3ProfileContextValue;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const heading01: import("styled-components").RuleSet<object>;
|
|
3
2
|
export declare const heading02: import("styled-components").RuleSet<object>;
|
|
4
3
|
export declare const heading03: import("styled-components").RuleSet<object>;
|
|
@@ -6,9 +5,9 @@ export declare const heading04: import("styled-components").RuleSet<object>;
|
|
|
6
5
|
export declare const heading05: import("styled-components").RuleSet<object>;
|
|
7
6
|
export declare const heading06: import("styled-components").RuleSet<object>;
|
|
8
7
|
export declare const body02: import("styled-components").RuleSet<object>;
|
|
9
|
-
export declare const Body02:
|
|
8
|
+
export declare const Body02: any;
|
|
10
9
|
export declare const body01: import("styled-components").RuleSet<object>;
|
|
11
|
-
export declare const Body01:
|
|
10
|
+
export declare const Body01: any;
|
|
12
11
|
export declare const label01: import("styled-components").RuleSet<object>;
|
|
13
12
|
export declare const fontMapping: import("styled-components").RuleSet<object>;
|
|
14
|
-
export declare const DefaultStyleWrapper:
|
|
13
|
+
export declare const DefaultStyleWrapper: any;
|
|
@@ -6,9 +6,9 @@ type OnError = () => void;
|
|
|
6
6
|
declare const useApi: <R = undefined>({ queryFn, queryKey, onSuccess, onError, enabled, }: {
|
|
7
7
|
queryFn: QueryFn<R>;
|
|
8
8
|
queryKey: unknown[];
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
onSuccess?: OnSuccess<R
|
|
11
|
-
onError?: OnError;
|
|
9
|
+
enabled?: boolean | undefined;
|
|
10
|
+
onSuccess?: OnSuccess<R> | undefined;
|
|
11
|
+
onError?: OnError | undefined;
|
|
12
12
|
}) => {
|
|
13
13
|
data: R | null;
|
|
14
14
|
setData: import("react").Dispatch<import("react").SetStateAction<R | null>>;
|
package/package.json
CHANGED
|
@@ -1,117 +1,116 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
2
|
+
"name": "@camunda/camunda-composite-components",
|
|
3
|
+
"version": "0.17.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@babel/core": "7.25.7",
|
|
10
|
+
"@babel/preset-env": "7.25.7",
|
|
11
|
+
"@babel/preset-react": "7.25.7",
|
|
12
|
+
"@babel/preset-typescript": "7.25.7",
|
|
13
|
+
"@carbon/react": "1.69.0",
|
|
14
|
+
"@mdx-js/react": "3.0.1",
|
|
15
|
+
"@playwright/test": "1.45.2",
|
|
16
|
+
"@semantic-release/changelog": "6.0.3",
|
|
17
|
+
"@semantic-release/git": "10.0.1",
|
|
18
|
+
"@storybook/addon-a11y": "8.2.9",
|
|
19
|
+
"@storybook/addon-actions": "8.2.9",
|
|
20
|
+
"@storybook/addon-docs": "8.2.9",
|
|
21
|
+
"@storybook/addon-essentials": "8.2.9",
|
|
22
|
+
"@storybook/addon-interactions": "8.2.9",
|
|
23
|
+
"@storybook/addon-links": "8.2.9",
|
|
24
|
+
"@storybook/addon-mdx-gfm": "8.2.9",
|
|
25
|
+
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
|
|
26
|
+
"@storybook/blocks": "8.2.9",
|
|
27
|
+
"@storybook/preset-scss": "1.0.3",
|
|
28
|
+
"@storybook/react": "8.2.9",
|
|
29
|
+
"@storybook/react-webpack5": "8.2.9",
|
|
30
|
+
"@storybook/test": "8.2.9",
|
|
31
|
+
"@storybook/test-runner": "0.19.1",
|
|
32
|
+
"@types/carbon-components-react": "7.55.10",
|
|
33
|
+
"@types/event-source-polyfill": "1.0.5",
|
|
34
|
+
"@types/mixpanel-browser": "2.49.0",
|
|
35
|
+
"@types/node": "20.12.4",
|
|
36
|
+
"@types/react": "18.0.28",
|
|
37
|
+
"@types/react-dom": "18.0.11",
|
|
38
|
+
"@types/styled-components": "5.1.34",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
40
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
41
|
+
"axe-playwright": "2.0.1",
|
|
42
|
+
"babel-loader": "9.2.1",
|
|
43
|
+
"conventional-changelog-conventionalcommits": "7.0.2",
|
|
44
|
+
"copyfiles": "2.4.1",
|
|
45
|
+
"css-loader": "7.1.0",
|
|
46
|
+
"eslint": "8.57.0",
|
|
47
|
+
"eslint-config-prettier": "9.1.0",
|
|
48
|
+
"eslint-import-resolver-typescript": "3.6.1",
|
|
49
|
+
"eslint-plugin-import": "2.29.1",
|
|
50
|
+
"eslint-plugin-prettier": "5.2.1",
|
|
51
|
+
"eslint-plugin-react": "7.35.0",
|
|
52
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
53
|
+
"eslint-plugin-storybook": "0.8.0",
|
|
54
|
+
"event-source-polyfill": "1.0.31",
|
|
55
|
+
"husky": "9.1.2",
|
|
56
|
+
"mixpanel-browser": "2.49.0",
|
|
57
|
+
"prettier": "3.3.3",
|
|
58
|
+
"react": "18.2.0",
|
|
59
|
+
"react-dom": "18.2.0",
|
|
60
|
+
"rimraf": "6.0.1",
|
|
61
|
+
"sass": "1.74.1",
|
|
62
|
+
"sass-loader": "14.1.1",
|
|
63
|
+
"semantic-release": "23.0.7",
|
|
64
|
+
"serve": "14.2.1",
|
|
65
|
+
"storybook": "8.2.9",
|
|
66
|
+
"style-loader": "4.0.0",
|
|
67
|
+
"styled-components": "6.1.8",
|
|
68
|
+
"typescript": "4.9.5",
|
|
69
|
+
"wait-on": "7.2.0",
|
|
70
|
+
"webpack": "5.94.0"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"jwt-decode": "4.0.0",
|
|
74
|
+
"react-error-boundary": "4.0.13",
|
|
75
|
+
"react-markdown": "8.0.7"
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"@carbon/react": "1.x",
|
|
79
|
+
"event-source-polyfill": "1.0.x",
|
|
80
|
+
"react": "18.x",
|
|
81
|
+
"react-dom": "18.x",
|
|
82
|
+
"styled-components": "5.x || 6.x"
|
|
83
|
+
},
|
|
84
|
+
"description": "Camunda Composite Components",
|
|
85
|
+
"main": "./lib/esm/src/index.js",
|
|
86
|
+
"types": "./lib/esm/src/index.d.ts",
|
|
87
|
+
"files": [
|
|
88
|
+
"/lib"
|
|
89
|
+
],
|
|
90
|
+
"author": "Camunda",
|
|
91
|
+
"license": "Apache-2.0",
|
|
92
|
+
"scripts": {
|
|
93
|
+
"clean": "rimraf lib/",
|
|
94
|
+
"build": "pnpm clean && tsc",
|
|
95
|
+
"storybook": "storybook dev -p 6006",
|
|
96
|
+
"start": "pnpm storybook",
|
|
97
|
+
"build-storybook": "storybook build",
|
|
98
|
+
"build:all": "pnpm build && pnpm build-storybook",
|
|
99
|
+
"serve:storybook": "npx --yes serve ./storybook-static -p 6006 -n -L",
|
|
100
|
+
"format": "prettier --write .",
|
|
101
|
+
"lint": "eslint src/",
|
|
102
|
+
"lint:fix": "eslint --fix src/",
|
|
103
|
+
"test:ts": "tsc --noEmit --project ./tsconfig.json",
|
|
104
|
+
"test:storybook": "TEST_A11Y=true test-storybook",
|
|
105
|
+
"test:storybook:smoke": "test-storybook",
|
|
106
|
+
"start:docker-storybook": "pnpm build-storybook && docker-compose up -d && docker-compose exec c3-visual-regression pnpm serve:storybook",
|
|
107
|
+
"test:visual-regression": "wait-on http://localhost:6006 && pnpm playwright test",
|
|
108
|
+
"test:visual-regression:ui": "pnpm playwright test --ui",
|
|
109
|
+
"report:visual-regression": "pnpm playwright show-report",
|
|
110
|
+
"update:visual-regression": "pnpm playwright test --update-snapshots",
|
|
111
|
+
"test:visual-regression:docker": "docker exec -it -t c3-visual-regression pnpm test:visual-regression",
|
|
112
|
+
"update:visual-regression:docker": "docker exec -it -t c3-visual-regression pnpm update:visual-regression",
|
|
113
|
+
"test:all": "pnpm test:ts && pnpm serve:storybook & wait-on http://localhost:6006 && pnpm test:storybook && pnpm test:visual-regression:docker",
|
|
114
|
+
"test": "pnpm test:ts"
|
|
115
|
+
}
|
|
116
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2021 - present Camunda Services GmbH
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|