@parallelworks/ui 0.36.0 → 0.37.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 +16 -0
- package/dist/ai/agent/permissions.d.ts +2 -2
- package/dist/ai/agent/permissions.js +3 -1
- package/dist/ai/components/agent/PermissionPicker.js +1 -0
- package/dist/ai/strings.d.ts +2 -0
- package/dist/ai/strings.js +2 -0
- package/dist/components/Dropdown.d.ts +2 -0
- package/dist/components/Dropdown.js +7 -2
- package/dist/components/Input.d.ts +11 -6
- package/dist/components/Input.js +93 -74
- package/dist/components/Provider.d.ts +31 -0
- package/dist/components/Provider.js +50 -2
- package/dist/editing.d.ts +404 -0
- package/dist/editor/EditorField.js +1 -1
- package/dist/editor/Monaco.d.ts +15 -1
- package/dist/editor/Monaco.js +117 -13
- package/dist/editor/editorModel.d.ts +5 -0
- package/dist/editor/editorModel.js +23 -0
- package/dist/editor/index.d.ts +4 -0
- package/dist/editor/index.js +5 -1
- package/dist/editor/lintContext.d.ts +21 -0
- package/dist/editor/lintContext.js +136 -0
- package/dist/editor/lintOwner.d.ts +2 -0
- package/dist/editor/lintOwner.js +5 -0
- package/dist/editor/nestedText.d.ts +13 -0
- package/dist/editor/nestedText.js +15 -0
- package/dist/editor/reveal.d.ts +4 -0
- package/dist/editor/reveal.js +15 -0
- package/dist/editor/settingsYaml.d.ts +12 -0
- package/dist/editor/settingsYaml.js +41 -0
- package/dist/form/Fields/DropdownField.js +1 -1
- package/dist/form/Fields/DurationField.js +1 -1
- package/dist/form/Form.js +1 -1
- package/dist/form/fieldRegistry.js +1 -1
- package/dist/form/index.js +5 -5
- package/dist/graph/InputDialog.d.ts +80 -0
- package/dist/graph/InputDialog.js +596 -0
- package/dist/graph/ProblemsButton.d.ts +9 -0
- package/dist/graph/ProblemsButton.js +61 -0
- package/dist/graph/ShortcutsButton.d.ts +15 -0
- package/dist/graph/SuggestionInput.d.ts +18 -0
- package/dist/graph/ToolbarPopover.d.ts +8 -0
- package/dist/graph/ToolbarPopover.js +71 -0
- package/dist/graph/editorApi.d.ts +51 -0
- package/dist/graph/editorChrome.d.ts +27 -0
- package/dist/graph/editorFields.d.ts +180 -0
- package/dist/graph/editorPrimitives.d.ts +60 -0
- package/dist/graph/editorPrimitives.js +59 -0
- package/dist/graph/editorStrings.d.ts +695 -0
- package/dist/graph/editorStrings.js +699 -0
- package/dist/graph/expressionRefs.d.ts +12 -0
- package/dist/graph/fieldProblems.d.ts +32 -0
- package/dist/graph/index.d.ts +6 -0
- package/dist/graph/index.js +5 -1
- package/dist/graph/inputLayout.d.ts +25 -0
- package/dist/graph/inputRefs.d.ts +103 -0
- package/dist/graph/records.d.ts +3 -0
- package/dist/graph/records.js +7 -0
- package/dist/graph/refusalText.d.ts +6 -0
- package/dist/graph/settingsViews.d.ts +26 -0
- package/dist/graph/usesInputs.d.ts +17 -0
- package/dist/graph/usesInputs.js +40 -0
- package/dist/icons/bi/BiRedo.js +16 -0
- package/dist/icons/bi/BiUndo.js +16 -0
- package/dist/icons/lu/LuBraces.js +27 -0
- package/dist/icons/lu/LuCode.js +27 -0
- package/dist/icons/lu/LuKeyboard.js +71 -0
- package/dist/icons/lu/LuNetwork.js +63 -0
- package/dist/icons/lu/LuTextCursorInput.js +45 -0
- package/dist/icons.d.ts +2 -2
- package/dist/icons.js +8 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/list/ActionToolbar.d.ts +2 -0
- package/dist/list/ActionToolbar.js +18 -5
- package/dist/list/RowContextMenu.d.ts +10 -1
- package/dist/list/RowContextMenu.js +185 -30
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WorkflowEditing } from '../editing.js';
|
|
2
|
+
import { type Json } from './editorFields.js';
|
|
3
|
+
export type RefGroup = 'inputs' | 'outputs' | 'matrix' | 'variables' | 'sessions' | 'env';
|
|
4
|
+
/** Something a `${{ }}` expression can read, as the parser names it. */
|
|
5
|
+
export interface ExpressionRef {
|
|
6
|
+
group: RefGroup;
|
|
7
|
+
/** The name the parser reads, such as needs.build.outputs.version. */
|
|
8
|
+
label: string;
|
|
9
|
+
expression: string;
|
|
10
|
+
}
|
|
11
|
+
/** Everything an expression in `job` can read; without a job, only what the whole workflow has. */
|
|
12
|
+
export declare function expressionRefs(editing: WorkflowEditing, workflow: Json | undefined, job?: string): ExpressionRef[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { LintFix } from '../editing.js';
|
|
3
|
+
/** A linter problem inside what a dialog edits; `at` is its path from there, such as ['run']. */
|
|
4
|
+
export interface ScopedProblem {
|
|
5
|
+
at: (string | number)[];
|
|
6
|
+
message: string;
|
|
7
|
+
fix?: LintFix | undefined;
|
|
8
|
+
}
|
|
9
|
+
/** Hands a form's fields the problems at the keys they set. */
|
|
10
|
+
export declare function FieldProblems({ problems, children, }: {
|
|
11
|
+
problems: ScopedProblem[];
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
/** Where the fields inside sit, such as `ssh` for a remote host's fields. */
|
|
15
|
+
export declare function LintScope({ at, children }: {
|
|
16
|
+
at: string;
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
}): import("react").JSX.Element;
|
|
19
|
+
/** The problems at the field with id `id`, which sets `key`; the dialog's list then leads to it. */
|
|
20
|
+
export declare function useFieldProblems(key: string | undefined, id: string): ScopedProblem[];
|
|
21
|
+
/** A field's problems as one message, and the buttons that make their likely fixes. */
|
|
22
|
+
export declare function useFieldLint(key: string | undefined, id: string, value: string, onChange: (value: string) => void): {
|
|
23
|
+
message: string | undefined;
|
|
24
|
+
fixes: ReactNode;
|
|
25
|
+
};
|
|
26
|
+
export declare function FixButtons({ fixes, onFix }: {
|
|
27
|
+
fixes: LintFix[];
|
|
28
|
+
onFix: (fix: LintFix) => void;
|
|
29
|
+
}): import("react").JSX.Element | null;
|
|
30
|
+
export declare function ProblemList({ problems }: {
|
|
31
|
+
problems: ScopedProblem[];
|
|
32
|
+
}): import("react").JSX.Element | null;
|
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
export { DependencyGraphPreview, default as DependencyGraph, type ViewMode, } from './DependencyGraph.js';
|
|
2
|
+
export type { DependencyGraphEditor, EditorProblem, RevealTarget, } from './editorApi.js';
|
|
3
|
+
export { trackDrag } from './editorPrimitives.js';
|
|
4
|
+
export { GRAPH_EDITOR_STRINGS, INPUTS_EDITOR_STRINGS } from './editorStrings.js';
|
|
5
|
+
export { inputTypes, offeredInputKeys } from './InputDialog.js';
|
|
6
|
+
export { type ListedProblem, ProblemsButton } from './ProblemsButton.js';
|
|
7
|
+
export type { SettingsView } from './settingsViews.js';
|
|
2
8
|
export type { RunLink } from './types.js';
|
package/dist/graph/index.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import DependencyGraph, { DependencyGraphPreview } from "./DependencyGraph.js";
|
|
2
|
-
|
|
2
|
+
import { trackDrag } from "./editorPrimitives.js";
|
|
3
|
+
import { GRAPH_EDITOR_STRINGS, INPUTS_EDITOR_STRINGS } from "./editorStrings.js";
|
|
4
|
+
import { inputTypes, offeredInputKeys } from "./InputDialog.js";
|
|
5
|
+
import { ProblemsButton } from "./ProblemsButton.js";
|
|
6
|
+
export { DependencyGraph, DependencyGraphPreview, GRAPH_EDITOR_STRINGS, INPUTS_EDITOR_STRINGS, ProblemsButton, inputTypes, offeredInputKeys, trackDrag };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { GraphEdit, InputPath, WorkflowEditing } from '../editing.js';
|
|
2
|
+
import { type FormLayoutNode } from '../form/layout.js';
|
|
3
|
+
import { type Json } from './records.js';
|
|
4
|
+
interface Drop {
|
|
5
|
+
parent: InputPath;
|
|
6
|
+
index: number;
|
|
7
|
+
beside?: {
|
|
8
|
+
path: InputPath;
|
|
9
|
+
side: 'left' | 'right';
|
|
10
|
+
};
|
|
11
|
+
stack?: {
|
|
12
|
+
path: InputPath;
|
|
13
|
+
side: 'above' | 'below';
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
type Node = FormLayoutNode;
|
|
17
|
+
/** Whether a list of inputs is drawn as a wizard, one step at a time. */
|
|
18
|
+
export declare function isWizard(list: unknown): boolean;
|
|
19
|
+
export declare function layoutList(editing: WorkflowEditing, inputs: unknown, path: InputPath): Json;
|
|
20
|
+
export declare function inputLayout(list: Json): Node;
|
|
21
|
+
export declare function layoutEdit(editing: WorkflowEditing, inputs: unknown, parent: InputPath, layout: Node | undefined): GraphEdit;
|
|
22
|
+
export declare function dropLayoutEdits(editing: WorkflowEditing, inputs: unknown, moving: InputPath[], drop: Drop, move: GraphEdit): GraphEdit[];
|
|
23
|
+
export declare function resizeLayout(editing: WorkflowEditing, inputs: unknown, left: InputPath, right: InputPath, split: [number, number]): GraphEdit | undefined;
|
|
24
|
+
export declare function withInputLayouts(editing: WorkflowEditing, inputs: unknown, edit: GraphEdit): GraphEdit;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { WorkflowEditing } from '../editing.js';
|
|
2
|
+
import { type Flag, type Json } from './editorFields.js';
|
|
3
|
+
import type { ExpressionRef } from './expressionRefs.js';
|
|
4
|
+
import { type Suggestion } from './SuggestionInput.js';
|
|
5
|
+
/** An input a workflow expression can read, by its path under `inputs`. */
|
|
6
|
+
export interface InputRef {
|
|
7
|
+
path: string[];
|
|
8
|
+
type: string;
|
|
9
|
+
label: string;
|
|
10
|
+
definition: Json;
|
|
11
|
+
}
|
|
12
|
+
/** Every input with a value, where a run reads it: groups nest unless flattened, lists hide their rows. */
|
|
13
|
+
export declare function inputRefs(editing: WorkflowEditing, inputs: Json | undefined): InputRef[];
|
|
14
|
+
export declare function refExpression(path: string[], suffix?: string): string;
|
|
15
|
+
/** The input `value` reads when it is exactly `${{ inputs.PATH[.suffix] }}`. */
|
|
16
|
+
export declare function readRef(value: unknown, suffix?: string): string[] | null;
|
|
17
|
+
export declare function flagExpression(path: string[], negated: boolean): string;
|
|
18
|
+
export declare function equalsExpression(path: string[], value: string, negated?: boolean): string;
|
|
19
|
+
/** Picks an existing input of the given types, or asks for a new one. */
|
|
20
|
+
export declare function InputRefSelect({ refs, types, value, onChange, onNew, newLabel, label, }: {
|
|
21
|
+
refs: InputRef[];
|
|
22
|
+
types: string[];
|
|
23
|
+
value: string[] | null;
|
|
24
|
+
onChange: (path: string[]) => void;
|
|
25
|
+
onNew?: (() => void) | undefined;
|
|
26
|
+
newLabel?: string;
|
|
27
|
+
label: string;
|
|
28
|
+
}): import("react").JSX.Element;
|
|
29
|
+
/** Where fields find inputs to read, and how they ask for a new one. */
|
|
30
|
+
export interface InputSource {
|
|
31
|
+
refs: InputRef[];
|
|
32
|
+
/** Outputs, matrix values, variables, sessions and env an expression here can read. */
|
|
33
|
+
extras?: ExpressionRef[] | undefined;
|
|
34
|
+
/** Opens a dialog for a new input of `type`, then reports where it lives. */
|
|
35
|
+
create?: ((type: string, onCreated: (path: string[]) => void) => void) | undefined;
|
|
36
|
+
}
|
|
37
|
+
/** A text field that takes any value, expressions included, with suggestions to pick from. */
|
|
38
|
+
export declare function ExpressionInput({ id, label, value, onChange, suggestions, placeholder, error, describedBy, required, }: {
|
|
39
|
+
id?: string;
|
|
40
|
+
label: string;
|
|
41
|
+
value: string;
|
|
42
|
+
onChange: (value: string) => void;
|
|
43
|
+
suggestions?: Suggestion[];
|
|
44
|
+
placeholder?: string | undefined;
|
|
45
|
+
error?: string | undefined;
|
|
46
|
+
describedBy?: string;
|
|
47
|
+
required?: boolean;
|
|
48
|
+
}): import("react").JSX.Element;
|
|
49
|
+
/** A switch, or an expression typed in its place, such as one that follows another input. */
|
|
50
|
+
export declare function FlagField({ label, yamlKey, description, value, original, fallback, onChange, source, }: {
|
|
51
|
+
label: string;
|
|
52
|
+
yamlKey?: string;
|
|
53
|
+
description: string;
|
|
54
|
+
value: Flag;
|
|
55
|
+
original: unknown;
|
|
56
|
+
fallback?: boolean;
|
|
57
|
+
onChange: (value: Flag) => void;
|
|
58
|
+
source?: InputSource | undefined;
|
|
59
|
+
}): import("react").JSX.Element;
|
|
60
|
+
/** When a job or step runs: any condition, typed, with the executor's status checks and the form's switches offered. */
|
|
61
|
+
export declare function ConditionField({ label, yamlKey, description, value, onChange, source, scope, }: {
|
|
62
|
+
label: string;
|
|
63
|
+
yamlKey?: string;
|
|
64
|
+
description: string;
|
|
65
|
+
value: string;
|
|
66
|
+
onChange: (value: string) => void;
|
|
67
|
+
source: InputSource;
|
|
68
|
+
/** A job's status checks read the jobs it needs; a step's, the steps before it. */
|
|
69
|
+
scope: 'job' | 'step';
|
|
70
|
+
}): import("react").JSX.Element;
|
|
71
|
+
/** A value typed in, with the form's inputs of the given types offered, or a new one made for it. */
|
|
72
|
+
export declare function ValueOrInputField({ label, yamlKey, description, value, onChange, source, types, suffix, literal, required, error, suggestions, placeholder, }: {
|
|
73
|
+
label: string;
|
|
74
|
+
yamlKey?: string;
|
|
75
|
+
description: string;
|
|
76
|
+
value: string;
|
|
77
|
+
onChange: (value: string) => void;
|
|
78
|
+
source: InputSource;
|
|
79
|
+
types: string[];
|
|
80
|
+
/** A property of the input's value to read, such as a cluster's ip. */
|
|
81
|
+
suffix?: string;
|
|
82
|
+
/** False when the schema takes only an expression here. */
|
|
83
|
+
literal?: boolean;
|
|
84
|
+
required?: boolean;
|
|
85
|
+
error?: string | undefined;
|
|
86
|
+
suggestions?: string[];
|
|
87
|
+
placeholder?: string;
|
|
88
|
+
}): import("react").JSX.Element;
|
|
89
|
+
/** A script field with a menu that drops an input's reference at the cursor. */
|
|
90
|
+
export declare function ScriptField({ label, yamlKey, description, value, onChange, source, rows, error, placeholder, }: {
|
|
91
|
+
label: string;
|
|
92
|
+
yamlKey?: string;
|
|
93
|
+
description: string;
|
|
94
|
+
value: string;
|
|
95
|
+
onChange: (value: string) => void;
|
|
96
|
+
source: InputSource;
|
|
97
|
+
/** Lines to show; without it the field starts one line tall and grows. */
|
|
98
|
+
rows?: number;
|
|
99
|
+
error?: string | undefined;
|
|
100
|
+
placeholder?: string;
|
|
101
|
+
}): import("react").JSX.Element;
|
|
102
|
+
/** References offered as suggestions on free-text values. */
|
|
103
|
+
export declare function refSuggestions(source: InputSource): string[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/graph/records.ts
|
|
2
|
+
/** `value` when it's a plain object, else an empty one, so its keys read without checks. */
|
|
3
|
+
function asRecord(value) {
|
|
4
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { asRecord };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EditRefusalReason, WorkflowEditing } from '../editing.js';
|
|
2
|
+
import { type GraphEditorStrings } from './editorStrings.js';
|
|
3
|
+
/** A refusal in the host's words, or the engine's English when the host gives none. */
|
|
4
|
+
export declare function refusalText(t: GraphEditorStrings, editing: WorkflowEditing, reason: EditRefusalReason): string;
|
|
5
|
+
/** What to tell the person when an edit throws: why it was refused, or the error itself. */
|
|
6
|
+
export declare function editErrorText(t: GraphEditorStrings, editing: WorkflowEditing, error: unknown): string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { WorkflowEditing } from '../editing.js';
|
|
2
|
+
import type { EditorMarker } from '../editor/Monaco.js';
|
|
3
|
+
import type { NestedWorkflowText } from '../editor/nestedText.js';
|
|
4
|
+
import { type Strings } from './editorFields.js';
|
|
5
|
+
import { type ScopedProblem } from './fieldProblems.js';
|
|
6
|
+
/** Which view the job, step, input and settings dialogs open in. */
|
|
7
|
+
export type SettingsView = 'form' | 'yaml';
|
|
8
|
+
export declare function yamlProblem(yaml: string, t: Strings, editing: WorkflowEditing): string | undefined;
|
|
9
|
+
export declare function ViewSwitch({ yaml, onForm, onYaml, }: {
|
|
10
|
+
yaml: boolean;
|
|
11
|
+
onForm: () => void;
|
|
12
|
+
onYaml: () => void;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
export interface ScopedProblems {
|
|
15
|
+
markers: EditorMarker[];
|
|
16
|
+
problems: ScopedProblem[];
|
|
17
|
+
}
|
|
18
|
+
export declare const NO_SCOPED: ScopedProblems;
|
|
19
|
+
export declare function YamlPane({ path, value, onChange, problem, scoped, nested, }: {
|
|
20
|
+
path: string;
|
|
21
|
+
value: string;
|
|
22
|
+
onChange: (value: string) => void;
|
|
23
|
+
problem: string | undefined;
|
|
24
|
+
scoped: ScopedProblems;
|
|
25
|
+
nested?: NestedWorkflowText | undefined;
|
|
26
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UIData, WorkflowJsonRef } from '../components/Provider.js';
|
|
2
|
+
import type { WorkflowEditing } from '../editing.js';
|
|
3
|
+
import { type Json } from './records.js';
|
|
4
|
+
/** The file a repository `uses` reads when its step names no `$yaml`. */
|
|
5
|
+
export declare const DEFAULT_REPO_YAML = "workflow.yaml";
|
|
6
|
+
/** The host a GitLab `uses` reads from when its step names no `$host`. */
|
|
7
|
+
export declare const DEFAULT_GITLAB_HOST = "gitlab.com";
|
|
8
|
+
export interface UsesSources {
|
|
9
|
+
resolve?: ((ref: WorkflowJsonRef) => Promise<unknown>) | undefined;
|
|
10
|
+
repos?: UIData['repoSuggestions'];
|
|
11
|
+
}
|
|
12
|
+
export declare function splitAtRef(value: string): [string, string];
|
|
13
|
+
/** The inputs of the workflow a step's `uses` names; null when it can't be read. */
|
|
14
|
+
export declare function loadUsesInputs(editing: WorkflowEditing, uses: string, where: {
|
|
15
|
+
yamlPath: string;
|
|
16
|
+
host: string;
|
|
17
|
+
}, sources: UsesSources): Promise<Json | null>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { asRecord } from "./records.js";
|
|
2
|
+
//#region src/graph/usesInputs.ts
|
|
3
|
+
/** The file a repository `uses` reads when its step names no `$yaml`. */
|
|
4
|
+
var DEFAULT_REPO_YAML = "workflow.yaml";
|
|
5
|
+
/** The host a GitLab `uses` reads from when its step names no `$host`. */
|
|
6
|
+
var DEFAULT_GITLAB_HOST = "gitlab.com";
|
|
7
|
+
function splitAtRef(value) {
|
|
8
|
+
const at = value.lastIndexOf("@");
|
|
9
|
+
return at === -1 ? [value, ""] : [value.slice(0, at), value.slice(at + 1)];
|
|
10
|
+
}
|
|
11
|
+
async function loadTarget(editing, uses, where, { resolve, repos }) {
|
|
12
|
+
if (/^(marketplace|workflow)\//.test(uses) && resolve) {
|
|
13
|
+
const rest = uses.slice(uses.indexOf("/") + 1);
|
|
14
|
+
if (!uses.startsWith("marketplace/")) return resolve({
|
|
15
|
+
kind: "workflow",
|
|
16
|
+
name: rest
|
|
17
|
+
});
|
|
18
|
+
const [slug = "", version = ""] = rest.includes("/") ? rest.split("/", 2) : rest.split("@", 2);
|
|
19
|
+
return resolve({
|
|
20
|
+
kind: "marketplace",
|
|
21
|
+
slug,
|
|
22
|
+
version: version || "latest"
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
const github = uses.startsWith("github/");
|
|
26
|
+
if ((github || uses.startsWith("gitlab/")) && repos) {
|
|
27
|
+
const [path, ref] = splitAtRef(uses.slice(uses.indexOf("/") + 1));
|
|
28
|
+
if (!path || !ref) return;
|
|
29
|
+
const repo = github ? path : `https://${where.host}/${path}`;
|
|
30
|
+
const text = await repos.file(repo, ref, where.yamlPath);
|
|
31
|
+
return text ? editing.loadYaml(text) : void 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/** The inputs of the workflow a step's `uses` names; null when it can't be read. */
|
|
35
|
+
async function loadUsesInputs(editing, uses, where, sources) {
|
|
36
|
+
const doc = await loadTarget(editing, uses, where, sources);
|
|
37
|
+
return doc ? asRecord(editing.workflowInputsSchema(asRecord(doc))) : null;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { DEFAULT_GITLAB_HOST, DEFAULT_REPO_YAML, loadUsesInputs, splitAtRef };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/bi/BiRedo.js
|
|
3
|
+
/*! BiRedo: BoxIcons (https://github.com/atisawd/boxicons), MIT https://github.com/atisawd/boxicons/blob/master/LICENSE */
|
|
4
|
+
function BiRedo(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": { "viewBox": "0 0 24 24" },
|
|
8
|
+
"child": [{
|
|
9
|
+
"tag": "path",
|
|
10
|
+
"attr": { "d": "M9 18h3v-2H9c-1.654 0-3-1.346-3-3s1.346-3 3-3h6v3l5-4-5-4v3H9c-2.757 0-5 2.243-5 5s2.243 5 5 5z" },
|
|
11
|
+
"child": []
|
|
12
|
+
}]
|
|
13
|
+
})(props);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { BiRedo };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/bi/BiUndo.js
|
|
3
|
+
/*! BiUndo: BoxIcons (https://github.com/atisawd/boxicons), MIT https://github.com/atisawd/boxicons/blob/master/LICENSE */
|
|
4
|
+
function BiUndo(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": { "viewBox": "0 0 24 24" },
|
|
8
|
+
"child": [{
|
|
9
|
+
"tag": "path",
|
|
10
|
+
"attr": { "d": "M9 10h6c1.654 0 3 1.346 3 3s-1.346 3-3 3h-3v2h3c2.757 0 5-2.243 5-5s-2.243-5-5-5H9V5L4 9l5 4v-3z" },
|
|
11
|
+
"child": []
|
|
12
|
+
}]
|
|
13
|
+
})(props);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { BiUndo };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/lu/LuBraces.js
|
|
3
|
+
/*! LuBraces: Lucide (https://lucide.dev/), ISC https://github.com/lucide-icons/lucide/blob/main/LICENSE */
|
|
4
|
+
function LuBraces(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": {
|
|
8
|
+
"viewBox": "0 0 24 24",
|
|
9
|
+
"fill": "none",
|
|
10
|
+
"stroke": "currentColor",
|
|
11
|
+
"strokeWidth": "2",
|
|
12
|
+
"strokeLinecap": "round",
|
|
13
|
+
"strokeLinejoin": "round"
|
|
14
|
+
},
|
|
15
|
+
"child": [{
|
|
16
|
+
"tag": "path",
|
|
17
|
+
"attr": { "d": "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" },
|
|
18
|
+
"child": []
|
|
19
|
+
}, {
|
|
20
|
+
"tag": "path",
|
|
21
|
+
"attr": { "d": "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" },
|
|
22
|
+
"child": []
|
|
23
|
+
}]
|
|
24
|
+
})(props);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { LuBraces };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/lu/LuCode.js
|
|
3
|
+
/*! LuCode: Lucide (https://lucide.dev/), ISC https://github.com/lucide-icons/lucide/blob/main/LICENSE */
|
|
4
|
+
function LuCode(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": {
|
|
8
|
+
"viewBox": "0 0 24 24",
|
|
9
|
+
"fill": "none",
|
|
10
|
+
"stroke": "currentColor",
|
|
11
|
+
"strokeWidth": "2",
|
|
12
|
+
"strokeLinecap": "round",
|
|
13
|
+
"strokeLinejoin": "round"
|
|
14
|
+
},
|
|
15
|
+
"child": [{
|
|
16
|
+
"tag": "polyline",
|
|
17
|
+
"attr": { "points": "16 18 22 12 16 6" },
|
|
18
|
+
"child": []
|
|
19
|
+
}, {
|
|
20
|
+
"tag": "polyline",
|
|
21
|
+
"attr": { "points": "8 6 2 12 8 18" },
|
|
22
|
+
"child": []
|
|
23
|
+
}]
|
|
24
|
+
})(props);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { LuCode };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/lu/LuKeyboard.js
|
|
3
|
+
/*! LuKeyboard: Lucide (https://lucide.dev/), ISC https://github.com/lucide-icons/lucide/blob/main/LICENSE */
|
|
4
|
+
function LuKeyboard(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": {
|
|
8
|
+
"viewBox": "0 0 24 24",
|
|
9
|
+
"fill": "none",
|
|
10
|
+
"stroke": "currentColor",
|
|
11
|
+
"strokeWidth": "2",
|
|
12
|
+
"strokeLinecap": "round",
|
|
13
|
+
"strokeLinejoin": "round"
|
|
14
|
+
},
|
|
15
|
+
"child": [
|
|
16
|
+
{
|
|
17
|
+
"tag": "path",
|
|
18
|
+
"attr": { "d": "M10 8h.01" },
|
|
19
|
+
"child": []
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"tag": "path",
|
|
23
|
+
"attr": { "d": "M12 12h.01" },
|
|
24
|
+
"child": []
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"tag": "path",
|
|
28
|
+
"attr": { "d": "M14 8h.01" },
|
|
29
|
+
"child": []
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"tag": "path",
|
|
33
|
+
"attr": { "d": "M16 12h.01" },
|
|
34
|
+
"child": []
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tag": "path",
|
|
38
|
+
"attr": { "d": "M18 8h.01" },
|
|
39
|
+
"child": []
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tag": "path",
|
|
43
|
+
"attr": { "d": "M6 8h.01" },
|
|
44
|
+
"child": []
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"tag": "path",
|
|
48
|
+
"attr": { "d": "M7 16h10" },
|
|
49
|
+
"child": []
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"tag": "path",
|
|
53
|
+
"attr": { "d": "M8 12h.01" },
|
|
54
|
+
"child": []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"tag": "rect",
|
|
58
|
+
"attr": {
|
|
59
|
+
"width": "20",
|
|
60
|
+
"height": "16",
|
|
61
|
+
"x": "2",
|
|
62
|
+
"y": "4",
|
|
63
|
+
"rx": "2"
|
|
64
|
+
},
|
|
65
|
+
"child": []
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
})(props);
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
export { LuKeyboard };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/lu/LuNetwork.js
|
|
3
|
+
/*! LuNetwork: Lucide (https://lucide.dev/), ISC https://github.com/lucide-icons/lucide/blob/main/LICENSE */
|
|
4
|
+
function LuNetwork(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": {
|
|
8
|
+
"viewBox": "0 0 24 24",
|
|
9
|
+
"fill": "none",
|
|
10
|
+
"stroke": "currentColor",
|
|
11
|
+
"strokeWidth": "2",
|
|
12
|
+
"strokeLinecap": "round",
|
|
13
|
+
"strokeLinejoin": "round"
|
|
14
|
+
},
|
|
15
|
+
"child": [
|
|
16
|
+
{
|
|
17
|
+
"tag": "rect",
|
|
18
|
+
"attr": {
|
|
19
|
+
"x": "16",
|
|
20
|
+
"y": "16",
|
|
21
|
+
"width": "6",
|
|
22
|
+
"height": "6",
|
|
23
|
+
"rx": "1"
|
|
24
|
+
},
|
|
25
|
+
"child": []
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"tag": "rect",
|
|
29
|
+
"attr": {
|
|
30
|
+
"x": "2",
|
|
31
|
+
"y": "16",
|
|
32
|
+
"width": "6",
|
|
33
|
+
"height": "6",
|
|
34
|
+
"rx": "1"
|
|
35
|
+
},
|
|
36
|
+
"child": []
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"tag": "rect",
|
|
40
|
+
"attr": {
|
|
41
|
+
"x": "9",
|
|
42
|
+
"y": "2",
|
|
43
|
+
"width": "6",
|
|
44
|
+
"height": "6",
|
|
45
|
+
"rx": "1"
|
|
46
|
+
},
|
|
47
|
+
"child": []
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"tag": "path",
|
|
51
|
+
"attr": { "d": "M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3" },
|
|
52
|
+
"child": []
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"tag": "path",
|
|
56
|
+
"attr": { "d": "M12 12V8" },
|
|
57
|
+
"child": []
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
})(props);
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { LuNetwork };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { GenIcon } from "react-icons/lib";
|
|
2
|
+
//#region src/icons/lu/LuTextCursorInput.js
|
|
3
|
+
/*! LuTextCursorInput: Lucide (https://lucide.dev/), ISC https://github.com/lucide-icons/lucide/blob/main/LICENSE */
|
|
4
|
+
function LuTextCursorInput(props) {
|
|
5
|
+
return GenIcon({
|
|
6
|
+
"tag": "svg",
|
|
7
|
+
"attr": {
|
|
8
|
+
"viewBox": "0 0 24 24",
|
|
9
|
+
"fill": "none",
|
|
10
|
+
"stroke": "currentColor",
|
|
11
|
+
"strokeWidth": "2",
|
|
12
|
+
"strokeLinecap": "round",
|
|
13
|
+
"strokeLinejoin": "round"
|
|
14
|
+
},
|
|
15
|
+
"child": [
|
|
16
|
+
{
|
|
17
|
+
"tag": "path",
|
|
18
|
+
"attr": { "d": "M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1" },
|
|
19
|
+
"child": []
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"tag": "path",
|
|
23
|
+
"attr": { "d": "M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5" },
|
|
24
|
+
"child": []
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"tag": "path",
|
|
28
|
+
"attr": { "d": "M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1" },
|
|
29
|
+
"child": []
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"tag": "path",
|
|
33
|
+
"attr": { "d": "M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7" },
|
|
34
|
+
"child": []
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tag": "path",
|
|
38
|
+
"attr": { "d": "M9 7v10" },
|
|
39
|
+
"child": []
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
})(props);
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { LuTextCursorInput };
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { IconType } from 'react-icons';
|
|
2
2
|
export { AiOutlineRollback as RollbackIcon } from 'react-icons/ai';
|
|
3
|
-
export { BiBell as UnmuteIcon, BiBellOff as MuteIcon, BiBuildings as OrganizationIcon, BiError as ErrorIcon, BiExpandVertical as ExpandVerticalIcon, BiPause as PauseIcon, BiPlay as StartIcon, BiSolidCheckShield as ShieldIcon, BiSolidTrashAlt as TrashIcon, BiStop as StopIcon, } from 'react-icons/bi';
|
|
3
|
+
export { BiBell as UnmuteIcon, BiBellOff as MuteIcon, BiBuildings as OrganizationIcon, BiError as ErrorIcon, BiExpandVertical as ExpandVerticalIcon, BiPause as PauseIcon, BiPlay as StartIcon, BiRedo as RedoIcon, BiSolidCheckShield as ShieldIcon, BiSolidTrashAlt as TrashIcon, BiStop as StopIcon, BiUndo as UndoIcon, } from 'react-icons/bi';
|
|
4
4
|
export { BsArrowsCollapse as CollapseIcon, BsBank2 as GovernmentIcon, BsBriefcase as BriefcaseIcon, BsBucket as BucketIcon, BsCalendarX as CalendarOffIcon, BsChatLeft as CommentIcon, BsChevronDoubleDown as ChevronDoubleDownIcon, BsChevronDoubleUp as ChevronDoubleUpIcon, BsClipboardCheck as ClipboardCheckIcon, BsCurrencyDollar as MoneyIcon, BsDash as MinusIcon, BsFileEarmarkZip as ZipIcon, BsFiles as FilesIcon, BsGeoAlt as MapPinIcon, BsGrid as GridIcon, BsLayers as InfrastructureLayersIcon, BsLayoutThreeColumns as ColumnsIcon, BsListUl as ListViewIcon, BsMortarboard as EducationIcon, BsMusicNoteBeamed as MusicIcon, BsOpenai as OpenAIIcon, BsPersonPlus as AddUserIcon, BsSearch as SearchOutlineIcon, BsSend as SendIcon, BsShieldSlash as ShieldOffIcon, BsStar as PinIcon, BsStarFill as PinFilledIcon, BsStopCircle as StopCircleIcon, BsTag as TagIcon, BsTelephone as PhoneIcon, BsTerminal as UserWorkspaceIcon, BsTerminalFill as UserWorkspaceFillIcon, BsThreeDots as MoreIcon, BsThreeDotsVertical as MenuIcon, BsZoomIn as ChartZoomIcon, } from 'react-icons/bs';
|
|
5
5
|
export { FaAmazon as AmazonIcon, FaAngleDown as AngleDownIcon, FaAngleLeft as AngleLeftIcon, FaAngleRight as AngleRightIcon, FaAngleUp as AngleUpIcon, FaArrowDown as ArrowDownIcon, FaArrowLeft as ArrowLeftIcon, FaArrowRight as ArrowRightIcon, FaArrowUp as ArrowUpIcon, FaBalanceScale as LegalIcon, FaCaretDown as CaretDownIcon, FaCentos as CentOSIcon, FaChartLine as ChartIcon, FaChartPie as PieChartIcon, FaCheck as CheckIcon, FaChevronDown as ChevronDownIcon, FaChevronUp as ChevronUpIcon, FaChrome as ChromeIcon, FaCloud as CloudIcon, FaCloudDownloadAlt as DownloadIcon, FaCog as CogIcon, FaCogs as GearsIcon, FaComments as ChatIcon, FaCompress as ShrinkIcon, FaDesktop as SnapshotIcon, FaDocker as DockerIcon, FaDollarSign as CostDashboardIcon, FaEdge as EdgeIcon, FaEdit as EditIcon, FaExclamationTriangle as WarningTriangleIcon, FaExpand as ExpandIcon, FaEye as HiddenFalseIcon, FaEyeSlash as HiddenTrueIcon, FaFile as FileSolidIcon, FaFilePdf as PdfSolidIcon, FaFilter as FilterIcon, FaFirefoxBrowser as FirefoxIcon, FaFlask as FlaskIcon, FaFolder as FolderSolidIcon, FaGithub as GitHubIcon, FaGitlab as GitLabIcon, FaGlobe as GlobeIcon, FaGlobeAmericas as MarketplaceIcon, FaGlobeAmericas as PublishIcon, FaImage as ImageSolidIcon, FaInfoCircle as InfoIcon, FaKey as KeyIcon, FaKey as PasswordIcon, FaLayerGroup as ResourceGroupIcon, FaLink as LinkIcon, FaLinkedin as LinkedInIcon, FaLinux as LinuxIcon, FaList as SchedulerIcon, FaLock as LockIcon, FaOpenid as OIDCIcon, FaOpera as OperaIcon, FaPaperclip as AttachmentIcon, FaPlus as AddIcon, FaPowerOff as PowerIcon, FaPrint as PrintIcon, FaQrcode as QRCodeIcon, FaQuestionCircle as UserGuideIcon, FaRedhat as RedHatIcon, FaRegCircle as NotRunningIcon, FaRegFileImage as ImageIcon, FaRegFolder as FolderIcon, FaRobot as RobotIcon, FaRocket as PartnerIcon, FaRunning as ExecuteWorkflow, FaSafari as SafariIcon, FaSave as SaveIcon, FaSearch as SearchIcon, FaShieldAlt as ShieldAltIcon, FaSlack as SlackIcon, FaStar as FeaturedIcon, FaStop as StopSolidIcon, FaSuse as SuseIcon, FaTerminal as TerminalIcon, FaTimes as TimesIcon, FaUbuntu as UbuntuIcon, FaUndoAlt as RetryIcon, FaUnlink as UnlinkIcon, FaUser as UserIcon, FaUsers as AccessIcon, FaUsers as SharingIcon, FaUsers as UsersIcon, FaWindows as WindowsIcon, } from 'react-icons/fa';
|
|
6
6
|
export { FaApple as AppleIcon, FaArrowsRotate as RefreshArrowsIcon, FaDebian as DebianIcon, FaFilterCircleXmark as FilterClearIcon, FaInbox as NotificationInboxIcon, FaLocationDot as IpAddressIcon, FaRegFilePdf as PdfIcon, FaRegFolderOpen as FolderOpenIcon, FaUpRightFromSquare as NewWindowIcon, FaWandMagicSparkles as CustomizeIcon, FaXTwitter as XTwitterIcon, } from 'react-icons/fa6';
|
|
@@ -13,7 +13,7 @@ export { HiMiniCheckCircle as SuccessIcon, HiMiniLanguage as LanguageIcon, HiMin
|
|
|
13
13
|
export { ImSpinner5 as RunningIcon } from 'react-icons/im';
|
|
14
14
|
export { IoIosNotifications as NotificationFillIcon, IoMdBuild as BuildWorkflowIcon, IoMdClose as CloseIcon, } from 'react-icons/io';
|
|
15
15
|
export { IoCloudUploadOutline as CloudUploadIcon, IoDocumentTextOutline as DocumentIcon, IoFileTrayFullOutline as FilesystemIcon, IoHeart as FavoriteIcon, IoHeartDislike as UnfavoriteIcon, IoHeartOutline as FavoriteOutlineIcon, IoInformationCircleOutline as InfoCircleIcon, IoSettingsOutline as SettingsIcon, IoWarningOutline as WarningIcon, } from 'react-icons/io5';
|
|
16
|
-
export { LuArrowRight as ArrowRightStrokeIcon, LuBadgeCheck as LicenseIcon, LuBrainCircuit as MlIcon, LuCalendar as CalendarIcon, LuCheck as CheckStrokeIcon, LuChevronLeft as ChevronLeftIcon, LuChevronRight as ChevronRightIcon, LuExternalLink as ExternalLink, LuEye as EyeIcon, LuEyeOff as EyeOffIcon, LuFolderTree as FolderTreeIcon, LuIdCard as IdCardIcon, LuLogs as EventsIcon, LuMail as MailIcon, LuMegaphone as MegaphoneIcon, LuMoon as MoonIcon, LuPartyPopper as CelebrateIcon, LuSettings2 as DisplayIcon, LuSheet as SpreadsheetIcon, LuShield as ShieldOutlineIcon, LuSun as SunIcon, LuX as XStrokeIcon, LuZoomIn as ZoomInIcon, LuZoomOut as ZoomOutIcon, } from 'react-icons/lu';
|
|
16
|
+
export { LuArrowRight as ArrowRightStrokeIcon, LuBadgeCheck as LicenseIcon, LuBraces as ExpressionIcon, LuBrainCircuit as MlIcon, LuCalendar as CalendarIcon, LuCheck as CheckStrokeIcon, LuChevronLeft as ChevronLeftIcon, LuChevronRight as ChevronRightIcon, LuCode as CodeIcon, LuExternalLink as ExternalLink, LuEye as EyeIcon, LuEyeOff as EyeOffIcon, LuFolderTree as FolderTreeIcon, LuIdCard as IdCardIcon, LuKeyboard as KeyboardIcon, LuLogs as EventsIcon, LuMail as MailIcon, LuMegaphone as MegaphoneIcon, LuMoon as MoonIcon, LuNetwork as GraphIcon, LuPartyPopper as CelebrateIcon, LuSettings2 as DisplayIcon, LuSheet as SpreadsheetIcon, LuShield as ShieldOutlineIcon, LuSun as SunIcon, LuTextCursorInput as InputFormIcon, LuX as XStrokeIcon, LuZoomIn as ZoomInIcon, LuZoomOut as ZoomOutIcon, } from 'react-icons/lu';
|
|
17
17
|
export { MdClear as ClearIcon, MdDragHandle as DragHandleIcon, MdInstallDesktop as InstallIcon, MdOutlineAttachMoney as EnableCostIcon, MdOutlineMoneyOff as DisableCostIcon, MdPieChart as QuotaIcon, MdRefresh as RefreshIcon, MdReplay as ReplayIcon, MdSmartphone as MFA, } from 'react-icons/md';
|
|
18
18
|
export { PiArrowBendUpRightBold as OpenInNewGraphIcon, PiPlugsConnectedFill as ConnectIcon, PiRectangleDashed as KubernetesNamespaceIcon, PiShareBold as ShareIcon, } from 'react-icons/pi';
|
|
19
19
|
export { SiAnthropic as AnthropicIcon, SiHelm as HelmIcon, SiKubernetes as KubernetesIcon, } from 'react-icons/si';
|