@parallelworks/ui 0.12.1 → 0.14.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/dist/chunks/{BareModal-DBa84JZO.js → BareModal-BqroLbZ5.js} +1 -0
- package/dist/chunks/{CodePreviewEditor-hwjZof0M.js → CodePreviewEditor-67A_SKgE.js} +1 -1
- package/dist/chunks/{CreateModal-DLCC8t_x.js → CreateModal-DoA2WsXf.js} +28 -8
- package/dist/chunks/{Monaco-DCwRDrPm.js → Monaco-H56KyEdb.js} +22 -12
- package/dist/chunks/{PageHeader-dyoL44ue.js → PageHeader-CxxbidPp.js} +44 -10
- package/dist/chunks/{Provider-CfFV-vc5.js → Provider-CbFVFB7O.js} +8 -2
- package/dist/chunks/RequiredMark-DfLdYbYZ.js +11 -0
- package/dist/chunks/{StatusBadge-P6C2tv7Z.js → StatusBadge-RRUI78iS.js} +4 -4
- package/dist/chunks/{SwitchToggle-DcPCXkqL.js → SwitchToggle-DbW0Q__L.js} +49 -32
- package/dist/chunks/{Table-ByziK93x.js → Table-CutP1bRt.js} +22 -6
- package/dist/chunks/{Tooltip-WgbiC_nd.js → Tooltip-n9w7Tkt1.js} +28 -3
- package/dist/chunks/{editor-BH81U5-C.js → editor-BZ9Buwi4.js} +34 -23
- package/dist/chunks/lib-DyJvmbzj.js +256 -0
- package/dist/chunks/{list-CWVR3dfZ.js → list-CBZpAYP7.js} +35 -15
- package/dist/components/Breadcrumbs.d.ts +9 -0
- package/dist/components/CollapsiblePanel.d.ts +4 -4
- package/dist/components/CreateModal.d.ts +8 -8
- package/dist/components/Dropdown.d.ts +5 -3
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Listbox.d.ts +7 -4
- package/dist/components/Loader.d.ts +1 -1
- package/dist/components/MultiSelect.d.ts +8 -5
- package/dist/components/PageHeader.d.ts +4 -3
- package/dist/components/Pagination.d.ts +2 -2
- package/dist/components/Provider.d.ts +9 -3
- package/dist/components/RequiredMark.d.ts +1 -0
- package/dist/components/SettingRow.d.ts +1 -1
- package/dist/components/SwitchToggle.d.ts +3 -2
- package/dist/components/Table.d.ts +5 -3
- package/dist/components/Tooltip.d.ts +7 -1
- package/dist/components/dropdownUtils.d.ts +6 -6
- package/dist/editor/FormCodePanel.d.ts +3 -3
- package/dist/editor/Monaco.d.ts +2 -2
- package/dist/editor/index.js +1 -1
- package/dist/file-explorer/FileExplorer.d.ts +2 -2
- package/dist/file-explorer/helpers.d.ts +2 -2
- package/dist/file-explorer/index.js +46 -18
- package/dist/file-explorer/lib/fileExplorer.d.ts +1 -1
- package/dist/file-explorer/lib/types.d.ts +21 -21
- package/dist/form/FieldWrapper.d.ts +6 -1
- package/dist/form/Fields/ResourceOptionIcon.d.ts +1 -1
- package/dist/form/Fields/StepField.d.ts +1 -1
- package/dist/form/Form.d.ts +28 -27
- package/dist/form/SpecialTypes/DropdownWrapper.d.ts +16 -3
- package/dist/form/SpecialTypes/FormikCustomDropdown.d.ts +11 -11
- package/dist/form/SpecialTypes/FormikCustomInput.d.ts +12 -10
- package/dist/form/SpecialTypes/FormikMultiSelectDropdown.d.ts +1 -1
- package/dist/form/SpecialTypes/FormikNumericInput.d.ts +2 -2
- package/dist/form/Wizard/WizardContainer.d.ts +1 -1
- package/dist/form/Wizard/WizardStepContent.d.ts +2 -2
- package/dist/form/Wizard/types.d.ts +21 -14
- package/dist/form/Wizard/utils.d.ts +1 -1
- package/dist/form/fieldContext.d.ts +19 -0
- package/dist/form/index.d.ts +2 -1
- package/dist/form/index.js +191 -106
- package/dist/form/lib.d.ts +3 -3
- package/dist/form/types/fieldComponentTypes.d.ts +2 -2
- package/dist/form/useParsedOpts.d.ts +1 -1
- package/dist/form/utils/getParentValue.d.ts +3 -1
- package/dist/form/utils/getValueUsingPath.d.ts +1 -1
- package/dist/form/utils/pwResolver.d.ts +4 -4
- package/dist/icons.d.ts +8 -8
- package/dist/icons.js +4 -4
- package/dist/index.d.ts +4 -3
- package/dist/index.js +51 -21
- package/dist/list/ActionToolbar.d.ts +4 -4
- package/dist/list/HoverCard.d.ts +3 -1
- package/dist/list/ListPage.d.ts +3 -3
- package/dist/list/ListTable.d.ts +1 -1
- package/dist/list/RowContextMenu.d.ts +20 -20
- package/dist/list/index.js +2 -2
- package/dist/logviewer/index.js +24 -7
- package/dist/styles/theme.css +6 -6
- package/dist/styles.css +1 -1
- package/dist/theme/index.js +4 -3
- package/dist/workflow/AnnotationBanner.d.ts +2 -1
- package/dist/workflow/DependencyGraph.d.ts +15 -3
- package/dist/workflow/JobSummary.d.ts +2 -25
- package/dist/workflow/MatrixGroup.d.ts +3 -2
- package/dist/workflow/TreeView.d.ts +1 -32
- package/dist/workflow/index.js +235 -138
- package/dist/workflow/types.d.ts +48 -0
- package/package.json +2 -6
- package/dist/chunks/lib-DTgL8klR.js +0 -191
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type MatrixGroup, type TStatus } from '@parallelworks/workflow-parser';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
+
import type { WorkflowJob } from './types.js';
|
|
3
4
|
/** Matrix group item in the summary sidebar. */
|
|
4
5
|
export declare function MatrixGroupSummaryItem({ matrixGroup, status, isExpanded, onToggle, jobs, isStepsOpen, onJobClick, onStepClick, onStepLogClick, onSubworkflowIcon, isSubworkflowExpanded, renderSubworkflow, preview, }: {
|
|
5
6
|
matrixGroup: MatrixGroup;
|
|
6
7
|
status: TStatus;
|
|
7
8
|
isExpanded: boolean;
|
|
8
9
|
onToggle: () => void;
|
|
9
|
-
jobs: Record<string,
|
|
10
|
+
jobs: Record<string, WorkflowJob>;
|
|
10
11
|
isStepsOpen: (j: string) => boolean;
|
|
11
12
|
onJobClick: (j: string) => void;
|
|
12
13
|
onStepClick: (j: string, s: string | number) => void;
|
|
@@ -23,7 +24,7 @@ export declare function MatrixGroupNode({ matrixGroup, jobNames, idPrefix, isExp
|
|
|
23
24
|
idPrefix: string;
|
|
24
25
|
isExpanded: boolean;
|
|
25
26
|
onToggle: () => void;
|
|
26
|
-
jobs: Record<string,
|
|
27
|
+
jobs: Record<string, WorkflowJob>;
|
|
27
28
|
activeDists: Map<string, number> | null;
|
|
28
29
|
onMouseEnter: () => void;
|
|
29
30
|
onMouseLeave: () => void;
|
|
@@ -1,35 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
interface Step {
|
|
3
|
-
subworkflow?: any;
|
|
4
|
-
name?: string;
|
|
5
|
-
status: TStatus;
|
|
6
|
-
run?: string;
|
|
7
|
-
uses?: string;
|
|
8
|
-
image?: string;
|
|
9
|
-
startedAt?: string;
|
|
10
|
-
completedAt?: string;
|
|
11
|
-
}
|
|
12
|
-
interface Job {
|
|
13
|
-
status: TStatus;
|
|
14
|
-
needs?: string[];
|
|
15
|
-
steps: Step[];
|
|
16
|
-
startedAt?: string;
|
|
17
|
-
completedAt?: string;
|
|
18
|
-
if?: boolean;
|
|
19
|
-
_matrix?: {
|
|
20
|
-
originaljob: string;
|
|
21
|
-
index: number;
|
|
22
|
-
totalingroup: number;
|
|
23
|
-
groupjobs: string[];
|
|
24
|
-
values: Record<string, any>;
|
|
25
|
-
failfast: boolean;
|
|
26
|
-
maxparallel: number;
|
|
27
|
-
};
|
|
28
|
-
_matrixGroup?: {
|
|
29
|
-
originaljob: string;
|
|
30
|
-
members: string[];
|
|
31
|
-
};
|
|
32
|
-
}
|
|
1
|
+
import type { WorkflowJob as Job } from './types.js';
|
|
33
2
|
interface TreeViewProps {
|
|
34
3
|
jobs: Record<string, Job>;
|
|
35
4
|
workflowName: string;
|