@oomol-lab/open-flow 0.1.0-beta.82 → 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/dist/browser/{FlowCanvas-Dew2fmoT.js → FlowCanvas-ChbukrDh.js} +832 -269
- package/dist/browser/{createResourceDialog-bdOJa5Zk.js → createResourceDialog-Bi4fUnbD.js} +3 -3
- package/dist/browser/{dialog-CFlvkliO.js → dialog-BzoSxhXQ.js} +1 -1
- package/dist/browser/{exportPng-Cjdb6COo.js → exportPng-CrAFfOaD.js} +187 -70
- package/dist/browser/{flowChanges-URBEd4DI.js → flowChanges-C567g-Pc.js} +94 -24
- package/dist/browser/{flowWorkspace-BlXx-yAn.js → flowWorkspace-rvcneG4q.js} +706 -209
- package/dist/browser/licenses.md +2 -2
- package/dist/browser/{markdownContent-IS8xXDoc.js → markdownContent-B-GLj5DU.js} +1 -1
- package/dist/browser/preview.css +37 -0
- package/dist/browser/preview.js +947 -323
- package/dist/browser/{tooltip-BDcVTNpu.js → tooltip-DGj5pudg.js} +1 -1
- package/dist/browser/ui.css +37 -0
- package/dist/browser/workbench.css +37 -0
- package/dist/browser/workbench.js +11 -10
- package/dist/browser/{workbenchSelect-Ci0KCYv9.js → workbenchSelect-BIaEVTx6.js} +2 -2
- package/dist/browser/{wrapLayout-DZvW9dBs.js → wrapLayout-C4moMKgb.js} +9 -2
- package/dist/command/index.js +1 -1
- package/dist/render/browser/licenses.md +2 -2
- package/dist/render/browser/runtime.css +37 -0
- package/dist/render/browser/runtime.js +1684 -923
- package/dist/render/common/png.d.ts +8 -0
- package/dist/render/node/index.d.ts +1 -1
- package/dist/render/node/index.js +17 -0
- package/package.json +1 -1
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,6 +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-
|
|
3
|
+
import { r as getVideoLink } from "./FlowCanvas-ChbukrDh.js";
|
|
4
4
|
import { memo, useEffect, useMemo, useRef } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../../node_modules/.bun/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
|
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
|
}
|
|
@@ -1921,6 +1938,10 @@
|
|
|
1921
1938
|
place-content: center;
|
|
1922
1939
|
}
|
|
1923
1940
|
|
|
1941
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .place-items-center {
|
|
1942
|
+
place-items: center;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1924
1945
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .content-end {
|
|
1925
1946
|
align-content: flex-end;
|
|
1926
1947
|
}
|
|
@@ -2536,6 +2557,10 @@
|
|
|
2536
2557
|
fill: var(--ui-foreground);
|
|
2537
2558
|
}
|
|
2538
2559
|
|
|
2560
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .object-contain {
|
|
2561
|
+
object-fit: contain;
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2539
2564
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .object-cover {
|
|
2540
2565
|
object-fit: cover;
|
|
2541
2566
|
}
|
|
@@ -3087,6 +3112,10 @@
|
|
|
3087
3112
|
text-underline-offset: 4px;
|
|
3088
3113
|
}
|
|
3089
3114
|
|
|
3115
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .opacity-30 {
|
|
3116
|
+
opacity: .3;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3090
3119
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .opacity-40 {
|
|
3091
3120
|
opacity: .4;
|
|
3092
3121
|
}
|
|
@@ -5140,6 +5169,10 @@
|
|
|
5140
5169
|
max-width: var(--container-3xl);
|
|
5141
5170
|
}
|
|
5142
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
|
+
|
|
5143
5176
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .sm\:max-w-\[min\(42rem\,calc\(100\%-2rem\)\)\] {
|
|
5144
5177
|
max-width: min(42rem, 100% - 2rem);
|
|
5145
5178
|
}
|
|
@@ -5197,6 +5230,10 @@
|
|
|
5197
5230
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5198
5231
|
}
|
|
5199
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
|
+
|
|
5200
5237
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .md\:text-xs {
|
|
5201
5238
|
font-size: var(--text-xs);
|
|
5202
5239
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|