@oomol-lab/open-flow 0.1.0-beta.66 → 0.1.0-beta.68
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/browser/ContentIcon-Sx9bywU-.js +11861 -0
- package/dist/browser/FlowCanvas-CXpaeurx.js +22721 -0
- package/dist/browser/{createResourceDialog-C-Si_cYs.js → createResourceDialog-BKmimKA_.js} +3 -2
- package/dist/browser/dialog-ZmfcwuMS.js +8785 -0
- package/dist/browser/event-sources.d.ts +4 -1
- package/dist/browser/exportSvg-D4CqCcx2.js +659 -0
- package/dist/browser/flow-authoring-node.d.ts +2 -0
- package/dist/browser/flow-authoring.js +6 -5
- package/dist/browser/flow-change.js +6 -5
- package/dist/browser/{flowChanges-T4_R5p1f.js → flowChanges-B5tZMcGr.js} +3440 -15004
- package/dist/browser/{flowRunInputEditorStore-DJqmR6Qh.js → flowRunInputEditorStore-ys1-w9GW.js} +2 -1
- package/dist/browser/{flowWorkspace-C0J5C0oM.js → flowWorkspace-zFBFtZPo.js} +1232 -23701
- package/dist/browser/languages-gYzoQqCi.js +68 -0
- package/dist/browser/licenses.md +24 -0
- package/dist/browser/preview.css +125 -55
- package/dist/browser/preview.js +16256 -15986
- package/dist/browser/theme.css +1 -0
- package/dist/browser/{icons-BD3m0RQq.js → tooltip-CJjYs_2I.js} +280 -9041
- package/dist/browser/ui.css +38 -4
- package/dist/browser/{value-BADHeZ9I.js → value-BbFQZZ_V.js} +1 -68
- package/dist/browser/workbench-contract.d.ts +1 -1
- package/dist/browser/workbench.css +2907 -2871
- package/dist/browser/workbench.d.ts +0 -1
- package/dist/browser/workbench.js +760 -461
- package/dist/browser/{workbenchSelect-B-PFpF_Q.js → workbenchSelect-CChdgugI.js} +2 -1
- package/dist/command/index.js +25 -25
- package/dist/common/authoringExamples.d.ts +2 -2
- package/dist/common/control-api-conformance.js +57 -12
- package/dist/common/control-api.d.ts +12 -2
- package/dist/common/control-api.js +41 -8
- package/dist/common/control-requests.js +7 -6
- package/dist/common/decision.js +5 -4
- package/dist/common/flow-encoding.js +7 -4
- package/dist/common/flow-semantics.js +11 -8
- package/dist/common/integration-trigger.js +5 -4
- package/dist/common/mcp.js +42 -9
- package/dist/common/openapi.js +5 -4
- package/dist/common/poll-trigger.js +5 -4
- package/dist/common/scheduler.js +5 -4
- package/dist/common/webhook-trigger.js +5 -4
- package/dist/common/workflow.js +5 -4
- package/package.json +1 -1
- package/skills/open-flow/SKILL.md +9 -0
- package/skills/open-flow/references/flow-authoring.md +2 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//#region src/localization/common/languages.ts
|
|
2
|
+
var uiLanguages = [
|
|
3
|
+
"en",
|
|
4
|
+
"zh-CN",
|
|
5
|
+
"zh-TW",
|
|
6
|
+
"ja",
|
|
7
|
+
"ko",
|
|
8
|
+
"ru",
|
|
9
|
+
"fr"
|
|
10
|
+
];
|
|
11
|
+
/** Endonyms, shown in language pickers regardless of the current UI language. */
|
|
12
|
+
var uiLanguageNames = {
|
|
13
|
+
"en": "English",
|
|
14
|
+
"zh-CN": "简体中文",
|
|
15
|
+
"zh-TW": "繁體中文",
|
|
16
|
+
"ja": "日本語",
|
|
17
|
+
"ko": "한국어",
|
|
18
|
+
"ru": "Русский",
|
|
19
|
+
"fr": "Français"
|
|
20
|
+
};
|
|
21
|
+
var uiLanguageTags = new Map(uiLanguages.map((language) => [language.toLowerCase(), language]));
|
|
22
|
+
var traditionalChineseRegions = /* @__PURE__ */ new Set([
|
|
23
|
+
"hk",
|
|
24
|
+
"mo",
|
|
25
|
+
"tw"
|
|
26
|
+
]);
|
|
27
|
+
function isUiLanguage(value) {
|
|
28
|
+
return typeof value == "string" && uiLanguageTags.get(value.toLowerCase()) == value;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* BCP 47 aware resolution over candidates such as `navigator.languages`: an exact tag match
|
|
32
|
+
* (case-insensitive) wins; for zh an explicit script subtag beats the region (zh-Hant-* to zh-TW,
|
|
33
|
+
* zh-Hans-* to zh-CN), then zh-TW, zh-HK and zh-MO map to zh-TW and any other zh* to zh-CN; en, ja,
|
|
34
|
+
* ko, ru and fr also match on their primary subtag (fr-CA to fr, ja-JP to ja).
|
|
35
|
+
*/
|
|
36
|
+
function resolveUiLanguage(candidates, fallback = "en") {
|
|
37
|
+
for (const candidate of candidates) {
|
|
38
|
+
const language = candidate == null ? void 0 : matchUiLanguage(candidate);
|
|
39
|
+
if (language != null) return language;
|
|
40
|
+
}
|
|
41
|
+
return fallback;
|
|
42
|
+
}
|
|
43
|
+
function matchUiLanguage(candidate) {
|
|
44
|
+
const tag = candidate.trim().toLowerCase();
|
|
45
|
+
if (tag.length == 0) return void 0;
|
|
46
|
+
const exact = uiLanguageTags.get(tag);
|
|
47
|
+
if (exact != null) return exact;
|
|
48
|
+
const subtags = tag.split("-");
|
|
49
|
+
if (subtags[0] == "zh") {
|
|
50
|
+
if (subtags.includes("hant")) return "zh-TW";
|
|
51
|
+
if (subtags.includes("hans")) return "zh-CN";
|
|
52
|
+
return subtags.some((subtag) => traditionalChineseRegions.has(subtag)) ? "zh-TW" : "zh-CN";
|
|
53
|
+
}
|
|
54
|
+
return uiLanguageTags.get(subtags[0]);
|
|
55
|
+
}
|
|
56
|
+
function importedWorkflowName(language) {
|
|
57
|
+
return {
|
|
58
|
+
"en": "Imported workflow",
|
|
59
|
+
"zh-CN": "导入的工作流",
|
|
60
|
+
"zh-TW": "匯入的工作流",
|
|
61
|
+
"ja": "インポートしたワークフロー",
|
|
62
|
+
"ko": "가져온 워크플로",
|
|
63
|
+
"fr": "Workflow importé",
|
|
64
|
+
"ru": "Импортированный процесс"
|
|
65
|
+
}[language];
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
68
|
+
export { uiLanguages as a, uiLanguageNames as i, isUiLanguage as n, resolveUiLanguage as r, importedWorkflowName as t };
|
package/dist/browser/licenses.md
CHANGED
|
@@ -2858,6 +2858,30 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
2858
2858
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
2859
2859
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2860
2860
|
|
|
2861
|
+
## html-to-image - 1.11.11 (MIT)
|
|
2862
|
+
|
|
2863
|
+
MIT License
|
|
2864
|
+
|
|
2865
|
+
Copyright (c) 2017-2023 W.Y.
|
|
2866
|
+
|
|
2867
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2868
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2869
|
+
in the Software without restriction, including without limitation the rights
|
|
2870
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2871
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2872
|
+
furnished to do so, subject to the following conditions:
|
|
2873
|
+
|
|
2874
|
+
The above copyright notice and this permission notice shall be included in all
|
|
2875
|
+
copies or substantial portions of the Software.
|
|
2876
|
+
|
|
2877
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2878
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2879
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2880
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2881
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2882
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2883
|
+
SOFTWARE.
|
|
2884
|
+
|
|
2861
2885
|
## html-url-attributes - 3.0.1 (MIT)
|
|
2862
2886
|
|
|
2863
2887
|
(The MIT License)
|
package/dist/browser/preview.css
CHANGED
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
--open-flow-card: #fff;
|
|
98
98
|
--open-flow-node-surface: #f6f6f6;
|
|
99
99
|
--open-flow-node-content: #fff;
|
|
100
|
+
--open-flow-node-running-beam: oklch(72.3% .219 149.579);
|
|
100
101
|
--open-flow-comment-surface: #f3eddc;
|
|
101
102
|
--open-flow-comment-content: var(--open-flow-comment-surface);
|
|
102
103
|
}
|
|
@@ -725,6 +726,7 @@
|
|
|
725
726
|
--spacing: .25rem;
|
|
726
727
|
--container-xs: 20rem;
|
|
727
728
|
--container-sm: 24rem;
|
|
729
|
+
--container-md: 28rem;
|
|
728
730
|
--container-lg: 32rem;
|
|
729
731
|
--container-xl: 36rem;
|
|
730
732
|
--container-2xl: 42rem;
|
|
@@ -1431,6 +1433,10 @@
|
|
|
1431
1433
|
max-height: 85dvh;
|
|
1432
1434
|
}
|
|
1433
1435
|
|
|
1436
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-h-\[calc\(100dvh-2rem\)\] {
|
|
1437
|
+
max-height: calc(100dvh - 2rem);
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1434
1440
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-h-\[calc\(100dvh-32px\)\] {
|
|
1435
1441
|
max-height: calc(100dvh - 32px);
|
|
1436
1442
|
}
|
|
@@ -1539,10 +1545,6 @@
|
|
|
1539
1545
|
width: calc(var(--spacing) * 16);
|
|
1540
1546
|
}
|
|
1541
1547
|
|
|
1542
|
-
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .w-24 {
|
|
1543
|
-
width: calc(var(--spacing) * 24);
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
1548
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .w-28 {
|
|
1547
1549
|
width: calc(var(--spacing) * 28);
|
|
1548
1550
|
}
|
|
@@ -1619,6 +1621,10 @@
|
|
|
1619
1621
|
width: max-content;
|
|
1620
1622
|
}
|
|
1621
1623
|
|
|
1624
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .w-md {
|
|
1625
|
+
width: var(--container-md);
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1622
1628
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-w-\(--available-width\) {
|
|
1623
1629
|
max-width: var(--available-width);
|
|
1624
1630
|
}
|
|
@@ -1643,6 +1649,10 @@
|
|
|
1643
1649
|
max-width: calc(100% - 2rem);
|
|
1644
1650
|
}
|
|
1645
1651
|
|
|
1652
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-w-\[calc\(100vw-2rem\)\] {
|
|
1653
|
+
max-width: calc(100vw - 2rem);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1646
1656
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-w-\[calc\(100vw-24px\)\] {
|
|
1647
1657
|
max-width: calc(100vw - 24px);
|
|
1648
1658
|
}
|
|
@@ -1915,6 +1925,10 @@
|
|
|
1915
1925
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
|
|
1916
1926
|
}
|
|
1917
1927
|
|
|
1928
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .grid-rows-\[auto_minmax\(0\,1fr\)_auto\] {
|
|
1929
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1918
1932
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .grid-rows-\[minmax\(0\,1fr\)_auto\] {
|
|
1919
1933
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
1920
1934
|
}
|
|
@@ -2079,6 +2093,10 @@
|
|
|
2079
2093
|
column-gap: calc(var(--spacing) * 3);
|
|
2080
2094
|
}
|
|
2081
2095
|
|
|
2096
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .gap-x-6 {
|
|
2097
|
+
column-gap: calc(var(--spacing) * 6);
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2082
2100
|
:where(:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .-space-x-0\.5 > :not(:last-child)) {
|
|
2083
2101
|
--tw-space-x-reverse: 0;
|
|
2084
2102
|
margin-inline-start: calc(calc(var(--spacing) * -.5) * var(--tw-space-x-reverse));
|
|
@@ -2639,6 +2657,10 @@
|
|
|
2639
2657
|
padding-block: calc(var(--spacing) * 2);
|
|
2640
2658
|
}
|
|
2641
2659
|
|
|
2660
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .py-2\.5 {
|
|
2661
|
+
padding-block: calc(var(--spacing) * 2.5);
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2642
2664
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .py-3 {
|
|
2643
2665
|
padding-block: calc(var(--spacing) * 3);
|
|
2644
2666
|
}
|
|
@@ -2747,6 +2769,10 @@
|
|
|
2747
2769
|
padding-left: 22px;
|
|
2748
2770
|
}
|
|
2749
2771
|
|
|
2772
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .pl-\[calc\(1\.25rem\+1em\)\] {
|
|
2773
|
+
padding-left: calc(1.25rem + 1em);
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2750
2776
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .text-center {
|
|
2751
2777
|
text-align: center;
|
|
2752
2778
|
}
|
|
@@ -3274,6 +3300,10 @@
|
|
|
3274
3300
|
cursor: pointer;
|
|
3275
3301
|
}
|
|
3276
3302
|
|
|
3303
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .group-open\:rotate-90:is(:where(.group):is([open], :popover-open, :open) *) {
|
|
3304
|
+
rotate: 90deg;
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3277
3307
|
@media (hover: hover) {
|
|
3278
3308
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .group-hover\/app\:border-\[color-mix\(in_srgb\,var\(--ui-foreground\)_14\%\,var\(--ui-popover\)\)\]:is(:where(.group\/app):hover *) {
|
|
3279
3309
|
border-color: var(--ui-foreground);
|
|
@@ -5481,6 +5511,10 @@
|
|
|
5481
5511
|
height: calc(var(--spacing) * 4);
|
|
5482
5512
|
}
|
|
5483
5513
|
|
|
5514
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker {
|
|
5515
|
+
display: none;
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5484
5518
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .\[\.border-b\]\:pb-2.border-b {
|
|
5485
5519
|
padding-bottom: calc(var(--spacing) * 2);
|
|
5486
5520
|
}
|
|
@@ -8185,6 +8219,7 @@ svg.react-flow__connectionline {
|
|
|
8185
8219
|
}
|
|
8186
8220
|
|
|
8187
8221
|
.open-flow-workbench .account-control[data-status="warning"] {
|
|
8222
|
+
--ui-control-hover-background: var(--warning-control-hover-background);
|
|
8188
8223
|
border-color: var(--warning-border);
|
|
8189
8224
|
background: var(--warning-surface);
|
|
8190
8225
|
}
|
|
@@ -9259,49 +9294,80 @@ svg.react-flow__connectionline {
|
|
|
9259
9294
|
overflow: hidden;
|
|
9260
9295
|
white-space: nowrap;
|
|
9261
9296
|
text-overflow: ellipsis;
|
|
9262
|
-
}.
|
|
9297
|
+
}.CanvasCard_card_56d5c {
|
|
9263
9298
|
--card-stroke: var(--node-border-color);
|
|
9264
9299
|
--card-selection-stroke: var(--node-selected-border-color);
|
|
9265
9300
|
--card-shadow: 0 1px 2px rgb(0 0 0 / 3%), 0 4px 12px rgb(0 0 0 / 3%);
|
|
9301
|
+
--card-radius: 20px;
|
|
9266
9302
|
position: relative;
|
|
9267
9303
|
width: 100%;
|
|
9268
9304
|
padding: 8px;
|
|
9269
9305
|
border: 1px solid var(--card-stroke);
|
|
9270
|
-
border-radius:
|
|
9306
|
+
border-radius: var(--card-radius);
|
|
9271
9307
|
background: var(--open-flow-node-surface);
|
|
9272
9308
|
color: var(--text-4);
|
|
9273
9309
|
box-shadow: var(--card-shadow);
|
|
9274
9310
|
}
|
|
9275
9311
|
|
|
9276
|
-
.
|
|
9312
|
+
.CanvasCard_value_56d5c {
|
|
9277
9313
|
--card-shadow: 0 1px 2px rgb(0 0 0 / 3%);
|
|
9278
|
-
|
|
9314
|
+
--card-radius: 12px;
|
|
9279
9315
|
}
|
|
9280
|
-
.
|
|
9316
|
+
.CanvasCard_value_56d5c .CanvasCard_preview_56d5c {
|
|
9281
9317
|
border-radius: 6px;
|
|
9282
9318
|
}
|
|
9283
9319
|
|
|
9284
|
-
.
|
|
9320
|
+
.CanvasCard_comment_56d5c {
|
|
9285
9321
|
--card-stroke: var(--comment-border);
|
|
9286
9322
|
--card-selection-stroke: var(--comment-selected-border);
|
|
9287
9323
|
background: var(--comment-bg);
|
|
9288
9324
|
}
|
|
9289
9325
|
|
|
9290
|
-
.
|
|
9326
|
+
.CanvasCard_comment_56d5c .CanvasCard_preview_56d5c {
|
|
9291
9327
|
background: var(--comment-preview-bg);
|
|
9292
9328
|
border-color: color-mix(in srgb, var(--comment-border) 45%, transparent);
|
|
9293
9329
|
}
|
|
9294
9330
|
|
|
9295
|
-
.
|
|
9331
|
+
.CanvasCard_selected_56d5c {
|
|
9296
9332
|
--card-stroke: var(--card-selection-stroke);
|
|
9297
9333
|
box-shadow: 0 0 0 1px var(--card-stroke), var(--card-shadow);
|
|
9298
9334
|
}
|
|
9299
9335
|
|
|
9300
|
-
.
|
|
9336
|
+
.CanvasCard_problem_56d5c {
|
|
9301
9337
|
--card-stroke: var(--accent-red-1);
|
|
9302
9338
|
}
|
|
9303
9339
|
|
|
9304
|
-
.
|
|
9340
|
+
.CanvasCard_runningBeam_56d5c {
|
|
9341
|
+
position: absolute;
|
|
9342
|
+
inset: 0;
|
|
9343
|
+
width: 100%;
|
|
9344
|
+
height: 100%;
|
|
9345
|
+
pointer-events: none;
|
|
9346
|
+
fill: none;
|
|
9347
|
+
stroke: var(--open-flow-node-running-beam);
|
|
9348
|
+
stroke-width: 1px;
|
|
9349
|
+
animation: CanvasCard_running-beam_56d5c 4s linear infinite;
|
|
9350
|
+
}
|
|
9351
|
+
.CanvasCard_runningBeam_56d5c rect {
|
|
9352
|
+
width: calc(100% - 1px);
|
|
9353
|
+
height: calc(100% - 1px);
|
|
9354
|
+
rx: calc(var(--card-radius) - 1px);
|
|
9355
|
+
}
|
|
9356
|
+
|
|
9357
|
+
@keyframes CanvasCard_running-beam_56d5c {
|
|
9358
|
+
from {
|
|
9359
|
+
stroke-dashoffset: 0;
|
|
9360
|
+
}
|
|
9361
|
+
to {
|
|
9362
|
+
stroke-dashoffset: -1000px;
|
|
9363
|
+
}
|
|
9364
|
+
}
|
|
9365
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9366
|
+
.CanvasCard_runningBeam_56d5c {
|
|
9367
|
+
animation: none;
|
|
9368
|
+
}
|
|
9369
|
+
}
|
|
9370
|
+
.CanvasCard_header_56d5c {
|
|
9305
9371
|
min-height: 58px;
|
|
9306
9372
|
display: flex;
|
|
9307
9373
|
align-items: center;
|
|
@@ -9309,7 +9375,7 @@ svg.react-flow__connectionline {
|
|
|
9309
9375
|
padding: 8px 10px;
|
|
9310
9376
|
}
|
|
9311
9377
|
|
|
9312
|
-
.
|
|
9378
|
+
.CanvasCard_icon_56d5c {
|
|
9313
9379
|
display: inline-flex;
|
|
9314
9380
|
align-items: center;
|
|
9315
9381
|
justify-content: center;
|
|
@@ -9319,11 +9385,11 @@ svg.react-flow__connectionline {
|
|
|
9319
9385
|
font-size: 22px;
|
|
9320
9386
|
color: var(--text-2);
|
|
9321
9387
|
}
|
|
9322
|
-
.
|
|
9388
|
+
.CanvasCard_icon_56d5c > :where(img, svg) {
|
|
9323
9389
|
width: 24px;
|
|
9324
9390
|
height: 24px;
|
|
9325
9391
|
}
|
|
9326
|
-
.
|
|
9392
|
+
.CanvasCard_icon_56d5c:has(> img, > [data-icon-kind=initials]) {
|
|
9327
9393
|
--content-icon-initials-background: transparent;
|
|
9328
9394
|
width: 32px;
|
|
9329
9395
|
height: 32px;
|
|
@@ -9331,19 +9397,19 @@ svg.react-flow__connectionline {
|
|
|
9331
9397
|
border: 1px solid color-mix(in srgb, var(--ui-foreground) 14%, transparent);
|
|
9332
9398
|
border-radius: 11px;
|
|
9333
9399
|
}
|
|
9334
|
-
.
|
|
9400
|
+
.CanvasCard_icon_56d5c:has(> img, > [data-icon-kind=initials]) > img {
|
|
9335
9401
|
width: 20px;
|
|
9336
9402
|
height: 20px;
|
|
9337
9403
|
}
|
|
9338
9404
|
|
|
9339
|
-
.
|
|
9405
|
+
.CanvasCard_identity_56d5c {
|
|
9340
9406
|
display: flex;
|
|
9341
9407
|
flex: 1;
|
|
9342
9408
|
min-width: 0;
|
|
9343
9409
|
flex-direction: column;
|
|
9344
9410
|
gap: 4px;
|
|
9345
9411
|
}
|
|
9346
|
-
.
|
|
9412
|
+
.CanvasCard_identity_56d5c strong {
|
|
9347
9413
|
font-size: 14px;
|
|
9348
9414
|
font-weight: 600;
|
|
9349
9415
|
line-height: 20px;
|
|
@@ -9351,22 +9417,26 @@ svg.react-flow__connectionline {
|
|
|
9351
9417
|
white-space: nowrap;
|
|
9352
9418
|
text-overflow: ellipsis;
|
|
9353
9419
|
}
|
|
9354
|
-
.
|
|
9420
|
+
.CanvasCard_identity_56d5c > span {
|
|
9355
9421
|
font-size: 11px;
|
|
9356
9422
|
line-height: 15px;
|
|
9357
9423
|
color: var(--text-2);
|
|
9358
9424
|
}
|
|
9359
9425
|
|
|
9360
|
-
.
|
|
9426
|
+
.CanvasCard_indicator_56d5c {
|
|
9361
9427
|
font-size: 20px;
|
|
9362
9428
|
transform: translateX(4px);
|
|
9363
9429
|
}
|
|
9364
9430
|
|
|
9365
|
-
.
|
|
9431
|
+
.CanvasCard_warning_56d5c {
|
|
9432
|
+
color: var(--widget-warn-color);
|
|
9433
|
+
}
|
|
9434
|
+
|
|
9435
|
+
.CanvasCard_danger_56d5c {
|
|
9366
9436
|
color: var(--accent-red-1);
|
|
9367
9437
|
}
|
|
9368
9438
|
|
|
9369
|
-
.
|
|
9439
|
+
.CanvasCard_content_56d5c {
|
|
9370
9440
|
padding: 2px 10px 12px;
|
|
9371
9441
|
font-size: 13px;
|
|
9372
9442
|
line-height: 1.65;
|
|
@@ -9374,51 +9444,51 @@ svg.react-flow__connectionline {
|
|
|
9374
9444
|
overflow-wrap: anywhere;
|
|
9375
9445
|
}
|
|
9376
9446
|
|
|
9377
|
-
.
|
|
9447
|
+
.CanvasCard_preview_56d5c {
|
|
9378
9448
|
border: 1px solid color-mix(in srgb, var(--node-border-color) 45%, transparent);
|
|
9379
9449
|
border-radius: 12px;
|
|
9380
9450
|
background: var(--node-background-color);
|
|
9381
9451
|
overflow: hidden;
|
|
9382
9452
|
}
|
|
9383
9453
|
|
|
9384
|
-
.
|
|
9454
|
+
.CanvasCard_footer_56d5c {
|
|
9385
9455
|
margin: 2px 8px 0;
|
|
9386
9456
|
padding: 8px 0 2px;
|
|
9387
9457
|
border-top: 1px solid color-mix(in srgb, var(--node-border-color) 60%, transparent);
|
|
9388
9458
|
}
|
|
9389
9459
|
|
|
9390
|
-
.
|
|
9460
|
+
.CanvasCard_afterPreview_56d5c {
|
|
9391
9461
|
margin-top: 4px;
|
|
9392
9462
|
border-top: 0;
|
|
9393
9463
|
}
|
|
9394
9464
|
|
|
9395
|
-
.
|
|
9465
|
+
.CanvasCard_branches_56d5c {
|
|
9396
9466
|
grid-template-columns: minmax(0, 1fr) 12px 84px;
|
|
9397
9467
|
column-gap: 12px;
|
|
9398
9468
|
display: grid;
|
|
9399
9469
|
margin: 0 -8px;
|
|
9400
9470
|
}
|
|
9401
9471
|
|
|
9402
|
-
.
|
|
9472
|
+
.CanvasCard_collapse_56d5c {
|
|
9403
9473
|
display: grid;
|
|
9404
9474
|
grid-template-rows: 1fr;
|
|
9405
9475
|
transition: grid-template-rows 200ms ease;
|
|
9406
9476
|
}
|
|
9407
|
-
.
|
|
9477
|
+
.CanvasCard_collapse_56d5c[data-hidden=true] {
|
|
9408
9478
|
grid-template-rows: 0fr;
|
|
9409
9479
|
}
|
|
9410
9480
|
|
|
9411
|
-
.
|
|
9481
|
+
.CanvasCard_collapseInner_56d5c {
|
|
9412
9482
|
min-height: 0;
|
|
9413
9483
|
overflow: hidden;
|
|
9414
9484
|
}
|
|
9415
9485
|
|
|
9416
9486
|
@media (prefers-reduced-motion: reduce) {
|
|
9417
|
-
.
|
|
9487
|
+
.CanvasCard_collapse_56d5c {
|
|
9418
9488
|
transition: none;
|
|
9419
9489
|
}
|
|
9420
9490
|
}
|
|
9421
|
-
.
|
|
9491
|
+
.CanvasCard_compactIdentity_56d5c {
|
|
9422
9492
|
container: compact-node-identity/size;
|
|
9423
9493
|
position: absolute;
|
|
9424
9494
|
inset: 0;
|
|
@@ -9430,29 +9500,29 @@ svg.react-flow__connectionline {
|
|
|
9430
9500
|
visibility: hidden;
|
|
9431
9501
|
pointer-events: none;
|
|
9432
9502
|
}
|
|
9433
|
-
.
|
|
9503
|
+
.CanvasCard_compactIdentity_56d5c .CanvasCard_icon_56d5c {
|
|
9434
9504
|
width: 36px;
|
|
9435
9505
|
height: 36px;
|
|
9436
9506
|
font-size: 32px;
|
|
9437
9507
|
}
|
|
9438
|
-
.
|
|
9508
|
+
.CanvasCard_compactIdentity_56d5c .CanvasCard_icon_56d5c > :where(img, svg) {
|
|
9439
9509
|
width: 32px;
|
|
9440
9510
|
height: 32px;
|
|
9441
9511
|
}
|
|
9442
|
-
.
|
|
9512
|
+
.CanvasCard_compactIdentity_56d5c .CanvasCard_icon_56d5c:has(> img, > [data-icon-kind=initials]) {
|
|
9443
9513
|
width: 40px;
|
|
9444
9514
|
height: 40px;
|
|
9445
9515
|
font-size: 28px;
|
|
9446
9516
|
border-radius: 13px;
|
|
9447
9517
|
}
|
|
9448
|
-
.
|
|
9518
|
+
.CanvasCard_compactIdentity_56d5c .CanvasCard_icon_56d5c:has(> img, > [data-icon-kind=initials]) > img {
|
|
9449
9519
|
width: 28px;
|
|
9450
9520
|
height: 28px;
|
|
9451
9521
|
}
|
|
9452
|
-
.
|
|
9522
|
+
.CanvasCard_compactIdentity_56d5c .CanvasCard_indicator_56d5c {
|
|
9453
9523
|
font-size: 30px;
|
|
9454
9524
|
}
|
|
9455
|
-
.
|
|
9525
|
+
.CanvasCard_compactIdentity_56d5c strong {
|
|
9456
9526
|
flex: 1;
|
|
9457
9527
|
min-width: 0;
|
|
9458
9528
|
overflow: hidden;
|
|
@@ -9464,15 +9534,15 @@ svg.react-flow__connectionline {
|
|
|
9464
9534
|
transform: translateY(-1px);
|
|
9465
9535
|
}
|
|
9466
9536
|
|
|
9467
|
-
.
|
|
9537
|
+
.CanvasCard_compact_56d5c > .CanvasCard_header_56d5c {
|
|
9468
9538
|
visibility: hidden;
|
|
9469
9539
|
}
|
|
9470
|
-
.
|
|
9540
|
+
.CanvasCard_compact_56d5c .CanvasCard_compactIdentity_56d5c {
|
|
9471
9541
|
visibility: visible;
|
|
9472
9542
|
}
|
|
9473
9543
|
|
|
9474
9544
|
@container compact-node-identity (min-height: 72px) {
|
|
9475
|
-
.
|
|
9545
|
+
.CanvasCard_compactIdentity_56d5c strong {
|
|
9476
9546
|
display: -webkit-box;
|
|
9477
9547
|
-webkit-box-orient: vertical;
|
|
9478
9548
|
-webkit-line-clamp: 2;
|
|
@@ -9480,52 +9550,52 @@ svg.react-flow__connectionline {
|
|
|
9480
9550
|
overflow-wrap: anywhere;
|
|
9481
9551
|
}
|
|
9482
9552
|
}
|
|
9483
|
-
.
|
|
9553
|
+
.CanvasCard_withBody_56d5c {
|
|
9484
9554
|
position: relative;
|
|
9485
9555
|
}
|
|
9486
|
-
.
|
|
9556
|
+
.CanvasCard_withBody_56d5c .CanvasCard_compactIdentity_56d5c {
|
|
9487
9557
|
padding: 8px 10px;
|
|
9488
9558
|
}
|
|
9489
9559
|
|
|
9490
|
-
.
|
|
9560
|
+
.CanvasCard_compactContent_56d5c > :not(.CanvasCard_header_56d5c, .CanvasCard_runningBeam_56d5c) {
|
|
9491
9561
|
visibility: hidden;
|
|
9492
9562
|
}
|
|
9493
9563
|
|
|
9494
|
-
.
|
|
9564
|
+
.CanvasCard_compactContent_56d5c .CanvasCard_singleContent_56d5c {
|
|
9495
9565
|
border-radius: 12px;
|
|
9496
9566
|
background: var(--node-background-color);
|
|
9497
9567
|
visibility: visible;
|
|
9498
9568
|
}
|
|
9499
|
-
.
|
|
9569
|
+
.CanvasCard_compactContent_56d5c .CanvasCard_singleContent_56d5c > * {
|
|
9500
9570
|
visibility: hidden;
|
|
9501
9571
|
}
|
|
9502
9572
|
|
|
9503
|
-
.
|
|
9573
|
+
.CanvasCard_value_56d5c.CanvasCard_compactContent_56d5c .CanvasCard_singleContent_56d5c {
|
|
9504
9574
|
border-radius: 6px;
|
|
9505
9575
|
}
|
|
9506
9576
|
|
|
9507
|
-
.
|
|
9577
|
+
.CanvasCard_subtitle_56d5c {
|
|
9508
9578
|
display: flex;
|
|
9509
9579
|
align-items: center;
|
|
9510
9580
|
gap: 8px;
|
|
9511
9581
|
min-width: 0;
|
|
9512
9582
|
}
|
|
9513
|
-
.
|
|
9583
|
+
.CanvasCard_subtitle_56d5c > span:first-child {
|
|
9514
9584
|
min-width: 0;
|
|
9515
9585
|
overflow: hidden;
|
|
9516
9586
|
text-overflow: ellipsis;
|
|
9517
9587
|
white-space: nowrap;
|
|
9518
9588
|
}
|
|
9519
9589
|
|
|
9520
|
-
.
|
|
9590
|
+
.CanvasCard_fill_56d5c {
|
|
9521
9591
|
height: 100%;
|
|
9522
9592
|
display: grid;
|
|
9523
9593
|
grid-template-rows: auto minmax(0, 1fr);
|
|
9524
9594
|
}
|
|
9525
|
-
.
|
|
9526
|
-
.
|
|
9527
|
-
.
|
|
9528
|
-
.
|
|
9595
|
+
.CanvasCard_fill_56d5c > .CanvasCard_singleContent_56d5c,
|
|
9596
|
+
.CanvasCard_fill_56d5c .CanvasCard_collapse_56d5c,
|
|
9597
|
+
.CanvasCard_fill_56d5c .CanvasCard_collapseInner_56d5c,
|
|
9598
|
+
.CanvasCard_fill_56d5c .CanvasCard_preview_56d5c {
|
|
9529
9599
|
min-height: 0;
|
|
9530
9600
|
height: 100%;
|
|
9531
9601
|
}.NodeContentRows_rows_01c56 {
|