@oomol-lab/open-flow 0.1.0-beta.81 → 0.1.0-beta.83
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 +35 -0
- package/dist/browser/{FlowCanvas-CrsiDHK8.js → FlowCanvas-ChbukrDh.js} +879 -535
- package/dist/browser/{createResourceDialog-CS3u9ga9.js → createResourceDialog-Bi4fUnbD.js} +5 -4
- package/dist/browser/{dialog-CFlvkliO.js → dialog-BzoSxhXQ.js} +1 -1
- package/dist/browser/{exportPng-BOPfjeEi.js → exportPng-CrAFfOaD.js} +187 -70
- package/dist/browser/{flowChanges-CFj5pL4Y.js → flowChanges-C567g-Pc.js} +2675 -93
- package/dist/browser/{flowWorkspace-BeQaeJ3e.js → flowWorkspace-rvcneG4q.js} +980 -2621
- package/dist/browser/licenses.md +2 -2
- package/dist/browser/{markdownContent-frwDfQQU.js → markdownContent-B-GLj5DU.js} +18 -40
- package/dist/browser/{markdownContent-CAG_CQfH.js → markdownContent-D8G_oNOe.js} +18 -41
- package/dist/browser/preview.css +125 -80
- package/dist/browser/preview.js +1093 -379
- package/dist/browser/{tooltip-BDcVTNpu.js → tooltip-DGj5pudg.js} +1 -1
- package/dist/browser/ui.css +45 -0
- package/dist/browser/{dist-CHwj9BhV.js → videoLink-NAWDmBtf.js} +35 -1
- package/dist/browser/workbench-contract.d.ts +6 -0
- package/dist/browser/workbench.css +296 -251
- package/dist/browser/workbench.d.ts +2 -0
- package/dist/browser/workbench.js +294 -141
- package/dist/browser/{workbenchSelect-Ci0KCYv9.js → workbenchSelect-BIaEVTx6.js} +2 -2
- package/dist/browser/{ContentIcon-CMn0c-kl.js → wrapLayout-C4moMKgb.js} +4400 -4148
- package/dist/command/index.js +43 -41
- package/dist/common/authoring.d.ts +1 -1
- package/dist/common/control-api-conformance.js +306 -2
- package/dist/common/control-api.d.ts +20 -0
- package/dist/common/control-api.js +306 -4
- package/dist/common/control-requests.d.ts +3 -5
- package/dist/common/control-requests.js +5 -7
- package/dist/common/flow-encoding.d.ts +1 -0
- package/dist/common/flow-encoding.js +167 -1
- package/dist/common/flow-semantics.js +20 -0
- package/dist/common/flow-workflowBundle.d.ts +27 -0
- package/dist/common/flow-workflowFile.d.ts +2 -0
- package/dist/common/flow-workflowReferences.d.ts +4 -0
- package/dist/common/mcp.d.ts +2 -0
- package/dist/common/mcp.js +312 -4
- package/dist/render/browser/licenses.md +4047 -0
- package/dist/render/browser/runtime.css +14914 -0
- package/dist/render/browser/runtime.js +267526 -0
- package/dist/render/common/png.d.ts +32 -0
- package/dist/render/node/index.d.ts +11 -0
- package/dist/render/node/index.js +9508 -0
- package/dist/render/node/licenses.md +75 -0
- package/package.json +12 -2
- package/src/control/common/api.ts +50 -0
- package/src/control/common/flowDecoders.ts +2 -0
- package/src/control/common/mcp.ts +4 -4
- package/src/control/common/requests.ts +12 -1
- package/src/flow/common/encoding.ts +1 -0
- package/src/flow/common/workflowBundle.ts +117 -0
- package/src/flow/common/workflowFile.ts +4 -0
- package/src/flow/common/workflowReferences.ts +20 -0
package/dist/browser/licenses.md
CHANGED
|
@@ -2858,11 +2858,11 @@ 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.
|
|
2861
|
+
## html-to-image - 1.11.13 (MIT)
|
|
2862
2862
|
|
|
2863
2863
|
MIT License
|
|
2864
2864
|
|
|
2865
|
-
Copyright (c) 2017-
|
|
2865
|
+
Copyright (c) 2017-2025 W.Y.
|
|
2866
2866
|
|
|
2867
2867
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2868
2868
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-CEgmsyvS.js";
|
|
2
2
|
import { i as isString, l as useTranslate } from "./dist-BFmpkX4P.js";
|
|
3
|
+
import { r as getVideoLink } from "./FlowCanvas-ChbukrDh.js";
|
|
3
4
|
import { memo, useEffect, useMemo, useRef } from "react";
|
|
4
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
//#region ../../node_modules/.bun/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
|
|
@@ -76506,8 +76507,8 @@ function createRehypePlugins(t) {
|
|
|
76506
76507
|
"iframe": [
|
|
76507
76508
|
"src",
|
|
76508
76509
|
"allow",
|
|
76509
|
-
"
|
|
76510
|
-
"
|
|
76510
|
+
"referrerPolicy",
|
|
76511
|
+
"allowFullScreen"
|
|
76511
76512
|
],
|
|
76512
76513
|
"*": ["className", "style"]
|
|
76513
76514
|
}
|
|
@@ -76520,50 +76521,27 @@ if (typeof window !== "undefined") {
|
|
|
76520
76521
|
isWebProtocol = protocol === "http:" || protocol === "https:";
|
|
76521
76522
|
}
|
|
76522
76523
|
function rewriteMaybeVideoLinkToIframe(node, t) {
|
|
76523
|
-
if (!isWebProtocol) return;
|
|
76524
|
-
const
|
|
76525
|
-
|
|
76526
|
-
|
|
76527
|
-
|
|
76528
|
-
|
|
76529
|
-
}
|
|
76530
|
-
var youtubeRegex = /https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]+)/;
|
|
76531
|
-
var bilibiliRegex = /https?:\/\/(?:www\.)?bilibili\.com\/video\/BV([a-zA-Z0-9]+)/;
|
|
76532
|
-
var commonIframeProps = {
|
|
76533
|
-
width: "100%",
|
|
76534
|
-
height: "auto",
|
|
76535
|
-
frameborder: "0",
|
|
76536
|
-
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
76537
|
-
referrerpolicy: "strict-origin-when-cross-origin",
|
|
76538
|
-
allowfullscreen: true
|
|
76539
|
-
};
|
|
76540
|
-
function isSupportedVideoLink(url) {
|
|
76541
|
-
return youtubeRegex.test(url) || bilibiliRegex.test(url);
|
|
76542
|
-
}
|
|
76543
|
-
function inPlaceEditVideoLink(node, url, t) {
|
|
76544
|
-
let match = url.match(youtubeRegex);
|
|
76545
|
-
if (match) {
|
|
76546
|
-
const videoId = match[1];
|
|
76547
|
-
node.tagName = "iframe";
|
|
76548
|
-
node.properties = {
|
|
76549
|
-
src: `https://www.youtube.com/embed/${videoId}`,
|
|
76550
|
-
title: t("markdown.videoYouTube"),
|
|
76551
|
-
...commonIframeProps
|
|
76552
|
-
};
|
|
76553
|
-
node.children = [];
|
|
76554
|
-
}
|
|
76555
|
-
match = url.match(bilibiliRegex);
|
|
76556
|
-
if (match) {
|
|
76557
|
-
const videoId = match[1];
|
|
76524
|
+
if (!isWebProtocol || node.type !== "element" || node.tagName !== "a") return;
|
|
76525
|
+
const href = node.properties.href;
|
|
76526
|
+
const firstChild = node.children[0];
|
|
76527
|
+
if (!isString(href) || firstChild?.type !== "element" || firstChild.tagName !== "img") return;
|
|
76528
|
+
const video = getVideoLink(href);
|
|
76529
|
+
if (video) {
|
|
76558
76530
|
node.tagName = "iframe";
|
|
76559
76531
|
node.properties = {
|
|
76560
|
-
|
|
76561
|
-
|
|
76562
|
-
|
|
76532
|
+
...commonIframeProps,
|
|
76533
|
+
src: video.src,
|
|
76534
|
+
title: t(video.titleKey)
|
|
76563
76535
|
};
|
|
76564
76536
|
node.children = [];
|
|
76565
76537
|
}
|
|
76566
76538
|
}
|
|
76539
|
+
var commonIframeProps = {
|
|
76540
|
+
style: "display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px",
|
|
76541
|
+
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
76542
|
+
referrerPolicy: "strict-origin-when-cross-origin",
|
|
76543
|
+
allowFullScreen: true
|
|
76544
|
+
};
|
|
76567
76545
|
var MarkdownContent = /* @__PURE__ */ memo(function MarkdownContent({ dark, unstyled, text, className = "", components, mermaid }) {
|
|
76568
76546
|
const t = useTranslate();
|
|
76569
76547
|
const rehypePlugins = useMemo(() => createRehypePlugins(t), [t]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-CEgmsyvS.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as useTranslate, o as isString, t as getVideoLink } from "./videoLink-NAWDmBtf.js";
|
|
3
3
|
import { memo, useEffect, useMemo, useRef } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.bun/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
|
|
@@ -76506,8 +76506,8 @@ function createRehypePlugins(t) {
|
|
|
76506
76506
|
"iframe": [
|
|
76507
76507
|
"src",
|
|
76508
76508
|
"allow",
|
|
76509
|
-
"
|
|
76510
|
-
"
|
|
76509
|
+
"referrerPolicy",
|
|
76510
|
+
"allowFullScreen"
|
|
76511
76511
|
],
|
|
76512
76512
|
"*": ["className", "style"]
|
|
76513
76513
|
}
|
|
@@ -76520,50 +76520,27 @@ if (typeof window !== "undefined") {
|
|
|
76520
76520
|
isWebProtocol = protocol === "http:" || protocol === "https:";
|
|
76521
76521
|
}
|
|
76522
76522
|
function rewriteMaybeVideoLinkToIframe(node, t) {
|
|
76523
|
-
if (!isWebProtocol) return;
|
|
76524
|
-
const
|
|
76525
|
-
|
|
76526
|
-
|
|
76527
|
-
|
|
76528
|
-
|
|
76529
|
-
}
|
|
76530
|
-
var youtubeRegex = /https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]+)/;
|
|
76531
|
-
var bilibiliRegex = /https?:\/\/(?:www\.)?bilibili\.com\/video\/BV([a-zA-Z0-9]+)/;
|
|
76532
|
-
var commonIframeProps = {
|
|
76533
|
-
width: "100%",
|
|
76534
|
-
height: "auto",
|
|
76535
|
-
frameborder: "0",
|
|
76536
|
-
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
76537
|
-
referrerpolicy: "strict-origin-when-cross-origin",
|
|
76538
|
-
allowfullscreen: true
|
|
76539
|
-
};
|
|
76540
|
-
function isSupportedVideoLink(url) {
|
|
76541
|
-
return youtubeRegex.test(url) || bilibiliRegex.test(url);
|
|
76542
|
-
}
|
|
76543
|
-
function inPlaceEditVideoLink(node, url, t) {
|
|
76544
|
-
let match = url.match(youtubeRegex);
|
|
76545
|
-
if (match) {
|
|
76546
|
-
const videoId = match[1];
|
|
76547
|
-
node.tagName = "iframe";
|
|
76548
|
-
node.properties = {
|
|
76549
|
-
src: `https://www.youtube.com/embed/${videoId}`,
|
|
76550
|
-
title: t("markdown.videoYouTube"),
|
|
76551
|
-
...commonIframeProps
|
|
76552
|
-
};
|
|
76553
|
-
node.children = [];
|
|
76554
|
-
}
|
|
76555
|
-
match = url.match(bilibiliRegex);
|
|
76556
|
-
if (match) {
|
|
76557
|
-
const videoId = match[1];
|
|
76523
|
+
if (!isWebProtocol || node.type !== "element" || node.tagName !== "a") return;
|
|
76524
|
+
const href = node.properties.href;
|
|
76525
|
+
const firstChild = node.children[0];
|
|
76526
|
+
if (!isString(href) || firstChild?.type !== "element" || firstChild.tagName !== "img") return;
|
|
76527
|
+
const video = getVideoLink(href);
|
|
76528
|
+
if (video) {
|
|
76558
76529
|
node.tagName = "iframe";
|
|
76559
76530
|
node.properties = {
|
|
76560
|
-
|
|
76561
|
-
|
|
76562
|
-
|
|
76531
|
+
...commonIframeProps,
|
|
76532
|
+
src: video.src,
|
|
76533
|
+
title: t(video.titleKey)
|
|
76563
76534
|
};
|
|
76564
76535
|
node.children = [];
|
|
76565
76536
|
}
|
|
76566
76537
|
}
|
|
76538
|
+
var commonIframeProps = {
|
|
76539
|
+
style: "display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px",
|
|
76540
|
+
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
76541
|
+
referrerPolicy: "strict-origin-when-cross-origin",
|
|
76542
|
+
allowFullScreen: true
|
|
76543
|
+
};
|
|
76567
76544
|
var MarkdownContent = /* @__PURE__ */ memo(function MarkdownContent({ dark, unstyled, text, className = "", components, mermaid }) {
|
|
76568
76545
|
const t = useTranslate();
|
|
76569
76546
|
const rehypePlugins = useMemo(() => createRehypePlugins(t), [t]);
|
package/dist/browser/preview.css
CHANGED
|
@@ -604,6 +604,7 @@
|
|
|
604
604
|
--container-xl: 36rem;
|
|
605
605
|
--container-2xl: 42rem;
|
|
606
606
|
--container-3xl: 48rem;
|
|
607
|
+
--container-4xl: 56rem;
|
|
607
608
|
--text-xs: .75rem;
|
|
608
609
|
--text-xs--line-height: calc(1 / .75);
|
|
609
610
|
--text-sm--line-height: calc(1.25 / .875);
|
|
@@ -1021,6 +1022,10 @@
|
|
|
1021
1022
|
margin-right: calc(var(--spacing) * 5);
|
|
1022
1023
|
}
|
|
1023
1024
|
|
|
1025
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .mr-auto {
|
|
1026
|
+
margin-right: auto;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1024
1029
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .-mb-4 {
|
|
1025
1030
|
margin-bottom: calc(var(--spacing) * -4);
|
|
1026
1031
|
}
|
|
@@ -1277,6 +1282,10 @@
|
|
|
1277
1282
|
height: min(32rem, 80dvh);
|
|
1278
1283
|
}
|
|
1279
1284
|
|
|
1285
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .h-\[min\(56dvh\,32rem\)\] {
|
|
1286
|
+
height: min(56dvh, 32rem);
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1280
1289
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .h-\[min\(560px\,80dvh\)\] {
|
|
1281
1290
|
height: min(560px, 80dvh);
|
|
1282
1291
|
}
|
|
@@ -1373,6 +1382,10 @@
|
|
|
1373
1382
|
max-height: min(80vh, 680px, var(--available-height));
|
|
1374
1383
|
}
|
|
1375
1384
|
|
|
1385
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-h-full {
|
|
1386
|
+
max-height: 100%;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1376
1389
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .min-h-0 {
|
|
1377
1390
|
min-height: 0;
|
|
1378
1391
|
}
|
|
@@ -1413,6 +1426,10 @@
|
|
|
1413
1426
|
min-height: calc(var(--spacing) * 40);
|
|
1414
1427
|
}
|
|
1415
1428
|
|
|
1429
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .min-h-52 {
|
|
1430
|
+
min-height: calc(var(--spacing) * 52);
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1416
1433
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .min-h-64 {
|
|
1417
1434
|
min-height: calc(var(--spacing) * 64);
|
|
1418
1435
|
}
|
|
@@ -1885,6 +1902,10 @@
|
|
|
1885
1902
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
|
|
1886
1903
|
}
|
|
1887
1904
|
|
|
1905
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .grid-rows-\[auto_auto_minmax\(0\,1fr\)_auto\] {
|
|
1906
|
+
grid-template-rows: auto auto minmax(0, 1fr) auto;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1888
1909
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .grid-rows-\[auto_minmax\(0\,1fr\)_auto\] {
|
|
1889
1910
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
1890
1911
|
}
|
|
@@ -1917,6 +1938,10 @@
|
|
|
1917
1938
|
place-content: center;
|
|
1918
1939
|
}
|
|
1919
1940
|
|
|
1941
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .place-items-center {
|
|
1942
|
+
place-items: center;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1920
1945
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .content-end {
|
|
1921
1946
|
align-content: flex-end;
|
|
1922
1947
|
}
|
|
@@ -2532,6 +2557,10 @@
|
|
|
2532
2557
|
fill: var(--ui-foreground);
|
|
2533
2558
|
}
|
|
2534
2559
|
|
|
2560
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .object-contain {
|
|
2561
|
+
object-fit: contain;
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2535
2564
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .object-cover {
|
|
2536
2565
|
object-fit: cover;
|
|
2537
2566
|
}
|
|
@@ -2752,6 +2781,10 @@
|
|
|
2752
2781
|
padding-left: calc(var(--spacing) * 4);
|
|
2753
2782
|
}
|
|
2754
2783
|
|
|
2784
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .pl-5 {
|
|
2785
|
+
padding-left: calc(var(--spacing) * 5);
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2755
2788
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .pl-6 {
|
|
2756
2789
|
padding-left: calc(var(--spacing) * 6);
|
|
2757
2790
|
}
|
|
@@ -3079,6 +3112,10 @@
|
|
|
3079
3112
|
text-underline-offset: 4px;
|
|
3080
3113
|
}
|
|
3081
3114
|
|
|
3115
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .opacity-30 {
|
|
3116
|
+
opacity: .3;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3082
3119
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .opacity-40 {
|
|
3083
3120
|
opacity: .4;
|
|
3084
3121
|
}
|
|
@@ -5132,6 +5169,10 @@
|
|
|
5132
5169
|
max-width: var(--container-3xl);
|
|
5133
5170
|
}
|
|
5134
5171
|
|
|
5172
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .sm\:max-w-4xl {
|
|
5173
|
+
max-width: var(--container-4xl);
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5135
5176
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .sm\:max-w-\[min\(42rem\,calc\(100\%-2rem\)\)\] {
|
|
5136
5177
|
max-width: min(42rem, 100% - 2rem);
|
|
5137
5178
|
}
|
|
@@ -5189,6 +5230,10 @@
|
|
|
5189
5230
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5190
5231
|
}
|
|
5191
5232
|
|
|
5233
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .md\:grid-cols-\[minmax\(0\,1fr\)_16rem\] {
|
|
5234
|
+
grid-template-columns: minmax(0, 1fr) 16rem;
|
|
5235
|
+
}
|
|
5236
|
+
|
|
5192
5237
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .md\:text-xs {
|
|
5193
5238
|
font-size: var(--text-xs);
|
|
5194
5239
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
@@ -10947,20 +10992,20 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
10947
10992
|
|
|
10948
10993
|
.ValuePreview_json_4d5e2 {
|
|
10949
10994
|
padding: 10px;
|
|
10950
|
-
}.
|
|
10995
|
+
}.CommentNodeContent_body_7c741 {
|
|
10951
10996
|
position: relative;
|
|
10952
10997
|
height: 100%;
|
|
10953
10998
|
min-height: 0;
|
|
10954
10999
|
}
|
|
10955
11000
|
|
|
10956
|
-
.
|
|
11001
|
+
.CommentNodeContent_container_7c741 {
|
|
10957
11002
|
height: 100%;
|
|
10958
11003
|
min-height: 0;
|
|
10959
|
-
overflow:
|
|
11004
|
+
overflow: hidden;
|
|
10960
11005
|
overscroll-behavior: contain;
|
|
10961
11006
|
}
|
|
10962
11007
|
|
|
10963
|
-
.
|
|
11008
|
+
.CommentNodeContent_resizeButton_7c741 {
|
|
10964
11009
|
position: absolute;
|
|
10965
11010
|
right: 2px;
|
|
10966
11011
|
bottom: 2px;
|
|
@@ -10976,27 +11021,27 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
10976
11021
|
cursor: nwse-resize;
|
|
10977
11022
|
touch-action: none;
|
|
10978
11023
|
}
|
|
10979
|
-
.
|
|
11024
|
+
.CommentNodeContent_resizeButton_7c741 > i {
|
|
10980
11025
|
width: 18px;
|
|
10981
11026
|
height: 18px;
|
|
10982
11027
|
}
|
|
10983
|
-
.
|
|
11028
|
+
.CommentNodeContent_resizeButton_7c741:hover, .CommentNodeContent_resizeButton_7c741:active {
|
|
10984
11029
|
color: var(--text-4);
|
|
10985
11030
|
}
|
|
10986
|
-
.
|
|
11031
|
+
.CommentNodeContent_resizeButton_7c741:focus-visible {
|
|
10987
11032
|
outline: 2px solid var(--comment-selected-border);
|
|
10988
11033
|
outline-offset: -2px;
|
|
10989
11034
|
}
|
|
10990
11035
|
|
|
10991
|
-
.open-flow-canvas-node-minimap1 .
|
|
11036
|
+
.open-flow-canvas-node-minimap1 .CommentNodeContent_sourceCode_7c741 {
|
|
10992
11037
|
visibility: hidden;
|
|
10993
11038
|
}
|
|
10994
11039
|
|
|
10995
|
-
.
|
|
11040
|
+
.CommentNodeContent_container_7c741 .markdown-body {
|
|
10996
11041
|
padding: 0;
|
|
10997
11042
|
}
|
|
10998
11043
|
|
|
10999
|
-
.
|
|
11044
|
+
.CommentNodeContent_markdown_7c741 {
|
|
11000
11045
|
padding: 12px 14px;
|
|
11001
11046
|
font-size: 13px;
|
|
11002
11047
|
line-height: 1.65;
|
|
@@ -11007,116 +11052,116 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
11007
11052
|
color: var(--note-ink);
|
|
11008
11053
|
font-family: var(--font-sans);
|
|
11009
11054
|
}
|
|
11010
|
-
.
|
|
11011
|
-
.
|
|
11012
|
-
.
|
|
11013
|
-
.
|
|
11014
|
-
.
|
|
11015
|
-
.
|
|
11055
|
+
.CommentNodeContent_markdown_7c741 h1,
|
|
11056
|
+
.CommentNodeContent_markdown_7c741 h2,
|
|
11057
|
+
.CommentNodeContent_markdown_7c741 h3,
|
|
11058
|
+
.CommentNodeContent_markdown_7c741 h4,
|
|
11059
|
+
.CommentNodeContent_markdown_7c741 h5,
|
|
11060
|
+
.CommentNodeContent_markdown_7c741 h6 {
|
|
11016
11061
|
color: var(--text-4);
|
|
11017
11062
|
margin: 18px 0 10px;
|
|
11018
11063
|
line-height: 1.4;
|
|
11019
11064
|
border-color: var(--note-rule);
|
|
11020
11065
|
}
|
|
11021
|
-
.
|
|
11022
|
-
.
|
|
11066
|
+
.CommentNodeContent_markdown_7c741 strong,
|
|
11067
|
+
.CommentNodeContent_markdown_7c741 b {
|
|
11023
11068
|
font-weight: 600;
|
|
11024
11069
|
}
|
|
11025
|
-
.
|
|
11026
|
-
.
|
|
11027
|
-
.
|
|
11028
|
-
.
|
|
11029
|
-
.
|
|
11030
|
-
.
|
|
11070
|
+
.CommentNodeContent_markdown_7c741 h1,
|
|
11071
|
+
.CommentNodeContent_markdown_7c741 h2,
|
|
11072
|
+
.CommentNodeContent_markdown_7c741 h3,
|
|
11073
|
+
.CommentNodeContent_markdown_7c741 h4,
|
|
11074
|
+
.CommentNodeContent_markdown_7c741 h5,
|
|
11075
|
+
.CommentNodeContent_markdown_7c741 h6 {
|
|
11031
11076
|
font-weight: 600;
|
|
11032
11077
|
}
|
|
11033
|
-
.
|
|
11034
|
-
.
|
|
11078
|
+
.CommentNodeContent_markdown_7c741 h1,
|
|
11079
|
+
.CommentNodeContent_markdown_7c741 h2 {
|
|
11035
11080
|
padding-bottom: 6px;
|
|
11036
11081
|
border-bottom: 1px solid var(--note-rule);
|
|
11037
11082
|
}
|
|
11038
|
-
.
|
|
11039
|
-
.
|
|
11040
|
-
.
|
|
11083
|
+
.CommentNodeContent_markdown_7c741 img,
|
|
11084
|
+
.CommentNodeContent_markdown_7c741 video,
|
|
11085
|
+
.CommentNodeContent_markdown_7c741 svg {
|
|
11041
11086
|
max-width: 100%;
|
|
11042
11087
|
}
|
|
11043
|
-
.
|
|
11088
|
+
.CommentNodeContent_markdown_7c741 img {
|
|
11044
11089
|
height: auto;
|
|
11045
11090
|
}
|
|
11046
|
-
.
|
|
11091
|
+
.CommentNodeContent_markdown_7c741 ul {
|
|
11047
11092
|
list-style: disc;
|
|
11048
11093
|
}
|
|
11049
|
-
.
|
|
11094
|
+
.CommentNodeContent_markdown_7c741 ol {
|
|
11050
11095
|
list-style: decimal;
|
|
11051
11096
|
}
|
|
11052
|
-
.
|
|
11097
|
+
.CommentNodeContent_markdown_7c741 .task-list-item {
|
|
11053
11098
|
list-style: none;
|
|
11054
11099
|
}
|
|
11055
|
-
.
|
|
11100
|
+
.CommentNodeContent_markdown_7c741 h1 {
|
|
11056
11101
|
font-size: 20px;
|
|
11057
11102
|
}
|
|
11058
|
-
.
|
|
11103
|
+
.CommentNodeContent_markdown_7c741 h2 {
|
|
11059
11104
|
font-size: 17px;
|
|
11060
11105
|
}
|
|
11061
|
-
.
|
|
11106
|
+
.CommentNodeContent_markdown_7c741 h3 {
|
|
11062
11107
|
font-size: 15px;
|
|
11063
11108
|
}
|
|
11064
|
-
.
|
|
11065
|
-
.
|
|
11066
|
-
.
|
|
11109
|
+
.CommentNodeContent_markdown_7c741 h4,
|
|
11110
|
+
.CommentNodeContent_markdown_7c741 h5,
|
|
11111
|
+
.CommentNodeContent_markdown_7c741 h6 {
|
|
11067
11112
|
font-size: 13px;
|
|
11068
11113
|
}
|
|
11069
|
-
.
|
|
11070
|
-
.
|
|
11071
|
-
.
|
|
11072
|
-
.
|
|
11073
|
-
.
|
|
11074
|
-
.
|
|
11114
|
+
.CommentNodeContent_markdown_7c741 p,
|
|
11115
|
+
.CommentNodeContent_markdown_7c741 ul,
|
|
11116
|
+
.CommentNodeContent_markdown_7c741 ol,
|
|
11117
|
+
.CommentNodeContent_markdown_7c741 blockquote,
|
|
11118
|
+
.CommentNodeContent_markdown_7c741 pre,
|
|
11119
|
+
.CommentNodeContent_markdown_7c741 table {
|
|
11075
11120
|
margin-top: 0;
|
|
11076
11121
|
margin-bottom: 12px;
|
|
11077
11122
|
}
|
|
11078
|
-
.
|
|
11123
|
+
.CommentNodeContent_markdown_7c741 > :first-child {
|
|
11079
11124
|
margin-top: 0;
|
|
11080
11125
|
}
|
|
11081
|
-
.
|
|
11126
|
+
.CommentNodeContent_markdown_7c741 > :last-child {
|
|
11082
11127
|
margin-bottom: 0;
|
|
11083
11128
|
}
|
|
11084
|
-
.
|
|
11085
|
-
.
|
|
11129
|
+
.CommentNodeContent_markdown_7c741 ul,
|
|
11130
|
+
.CommentNodeContent_markdown_7c741 ol {
|
|
11086
11131
|
padding-inline-start: 20px;
|
|
11087
11132
|
}
|
|
11088
|
-
.
|
|
11133
|
+
.CommentNodeContent_markdown_7c741 li + li {
|
|
11089
11134
|
margin-top: 4px;
|
|
11090
11135
|
}
|
|
11091
|
-
.
|
|
11136
|
+
.CommentNodeContent_markdown_7c741 li > p {
|
|
11092
11137
|
margin-bottom: 6px;
|
|
11093
11138
|
}
|
|
11094
|
-
.
|
|
11095
|
-
.
|
|
11139
|
+
.CommentNodeContent_markdown_7c741 li > ul,
|
|
11140
|
+
.CommentNodeContent_markdown_7c741 li > ol {
|
|
11096
11141
|
margin-bottom: 0;
|
|
11097
11142
|
}
|
|
11098
|
-
.
|
|
11143
|
+
.CommentNodeContent_markdown_7c741 a {
|
|
11099
11144
|
color: var(--note-ink);
|
|
11100
11145
|
text-decoration: underline;
|
|
11101
11146
|
text-decoration-color: var(--comment-selected-border);
|
|
11102
11147
|
text-underline-offset: 3px;
|
|
11103
11148
|
}
|
|
11104
|
-
.
|
|
11149
|
+
.CommentNodeContent_markdown_7c741 a:hover {
|
|
11105
11150
|
color: var(--text-4);
|
|
11106
11151
|
}
|
|
11107
|
-
.
|
|
11108
|
-
.
|
|
11152
|
+
.CommentNodeContent_markdown_7c741 code,
|
|
11153
|
+
.CommentNodeContent_markdown_7c741 pre {
|
|
11109
11154
|
overflow-x: auto;
|
|
11110
11155
|
font-family: var(--font-monospace);
|
|
11111
11156
|
}
|
|
11112
|
-
.
|
|
11157
|
+
.CommentNodeContent_markdown_7c741 code {
|
|
11113
11158
|
padding: 2px 4px;
|
|
11114
11159
|
font-size: 0.92em;
|
|
11115
11160
|
background: var(--note-code-bg);
|
|
11116
11161
|
color: var(--note-ink);
|
|
11117
11162
|
border-radius: 4px;
|
|
11118
11163
|
}
|
|
11119
|
-
.
|
|
11164
|
+
.CommentNodeContent_markdown_7c741 pre {
|
|
11120
11165
|
padding: 12px;
|
|
11121
11166
|
background: var(--note-code-bg);
|
|
11122
11167
|
border: 1px solid var(--note-rule);
|
|
@@ -11124,90 +11169,90 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
11124
11169
|
font-size: 12px;
|
|
11125
11170
|
line-height: 1.6;
|
|
11126
11171
|
}
|
|
11127
|
-
.
|
|
11172
|
+
.CommentNodeContent_markdown_7c741 pre code {
|
|
11128
11173
|
padding: 0;
|
|
11129
11174
|
font-size: inherit;
|
|
11130
11175
|
white-space: pre;
|
|
11131
11176
|
overflow-wrap: normal;
|
|
11132
11177
|
}
|
|
11133
|
-
.
|
|
11134
|
-
.
|
|
11178
|
+
.CommentNodeContent_markdown_7c741 pre code,
|
|
11179
|
+
.CommentNodeContent_markdown_7c741 .hljs {
|
|
11135
11180
|
background: transparent;
|
|
11136
11181
|
color: var(--note-ink);
|
|
11137
11182
|
}
|
|
11138
|
-
.
|
|
11183
|
+
.CommentNodeContent_markdown_7c741 .hljs-string {
|
|
11139
11184
|
color: var(--text-2);
|
|
11140
11185
|
}
|
|
11141
|
-
.
|
|
11142
|
-
.
|
|
11186
|
+
.CommentNodeContent_markdown_7c741 .hljs-keyword,
|
|
11187
|
+
.CommentNodeContent_markdown_7c741 .hljs-literal {
|
|
11143
11188
|
font-weight: 600;
|
|
11144
11189
|
}
|
|
11145
|
-
.
|
|
11190
|
+
.CommentNodeContent_markdown_7c741 blockquote {
|
|
11146
11191
|
margin-inline: 0;
|
|
11147
11192
|
color: var(--text-2);
|
|
11148
11193
|
padding-inline: 12px 0;
|
|
11149
11194
|
border-inline-start: 2px solid var(--comment-border);
|
|
11150
11195
|
}
|
|
11151
|
-
.
|
|
11196
|
+
.CommentNodeContent_markdown_7c741 hr {
|
|
11152
11197
|
margin: 16px 0;
|
|
11153
11198
|
background: var(--note-rule);
|
|
11154
11199
|
height: 1px;
|
|
11155
11200
|
border: 0;
|
|
11156
11201
|
}
|
|
11157
|
-
.
|
|
11202
|
+
.CommentNodeContent_markdown_7c741 table {
|
|
11158
11203
|
display: block;
|
|
11159
11204
|
max-width: 100%;
|
|
11160
11205
|
overflow-x: auto;
|
|
11161
11206
|
border-collapse: collapse;
|
|
11162
11207
|
width: 100%;
|
|
11163
11208
|
}
|
|
11164
|
-
.
|
|
11165
|
-
.
|
|
11209
|
+
.CommentNodeContent_markdown_7c741 th,
|
|
11210
|
+
.CommentNodeContent_markdown_7c741 td {
|
|
11166
11211
|
padding: 6px 8px;
|
|
11167
11212
|
border: 1px solid var(--note-rule);
|
|
11168
11213
|
text-align: start;
|
|
11169
11214
|
}
|
|
11170
|
-
.
|
|
11215
|
+
.CommentNodeContent_markdown_7c741 tr {
|
|
11171
11216
|
background: transparent;
|
|
11172
11217
|
border-color: var(--note-rule);
|
|
11173
11218
|
}
|
|
11174
|
-
.
|
|
11219
|
+
.CommentNodeContent_markdown_7c741 tr:nth-child(2n) {
|
|
11175
11220
|
background: var(--note-code-bg);
|
|
11176
11221
|
}
|
|
11177
|
-
.
|
|
11222
|
+
.CommentNodeContent_markdown_7c741 .CommentNodeContent_taskCheckbox_7c741 {
|
|
11178
11223
|
display: inline-flex;
|
|
11179
11224
|
width: 13px;
|
|
11180
11225
|
height: 13px;
|
|
11181
11226
|
margin: 0 6px 2px -20px;
|
|
11182
11227
|
vertical-align: middle;
|
|
11183
|
-
}.
|
|
11228
|
+
}.markdownPreview_container_2a1d9 {
|
|
11184
11229
|
position: relative;
|
|
11230
|
+
height: 100%;
|
|
11185
11231
|
outline-style: none;
|
|
11186
11232
|
}
|
|
11187
11233
|
|
|
11188
|
-
.
|
|
11234
|
+
.markdownPreview_body_2a1d9 {
|
|
11189
11235
|
height: 100%;
|
|
11190
11236
|
padding: 4px;
|
|
11191
11237
|
user-select: text;
|
|
11192
|
-
overflow-y: auto;
|
|
11193
11238
|
box-sizing: border-box;
|
|
11194
11239
|
}
|
|
11195
|
-
.
|
|
11240
|
+
.markdownPreview_body_2a1d9 video {
|
|
11196
11241
|
max-height: 640px;
|
|
11197
11242
|
min-height: 200px;
|
|
11198
11243
|
max-width: 100% !important;
|
|
11199
11244
|
}
|
|
11200
11245
|
|
|
11201
|
-
.
|
|
11246
|
+
.markdownPreview_draggable_2a1d9 .markdownPreview_body_2a1d9 {
|
|
11202
11247
|
user-select: none;
|
|
11203
11248
|
cursor: default;
|
|
11204
11249
|
}
|
|
11205
11250
|
|
|
11206
|
-
.
|
|
11251
|
+
.markdownPreview_body_2a1d9 pre code.hljs {
|
|
11207
11252
|
padding: 0 !important;
|
|
11208
11253
|
}
|
|
11209
11254
|
|
|
11210
|
-
.
|
|
11255
|
+
.markdownPreview_body_2a1d9 pre:has(code.language-mermaid > svg) {
|
|
11211
11256
|
text-align: center;
|
|
11212
11257
|
background-color: transparent;
|
|
11213
11258
|
}.NodeHead_container_e9871 {
|