@pipelex/mthds-ui 0.51.0 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/form/react/index.d.ts +23 -6
- package/dist/form/react/index.js +8 -3
- package/dist/form/react/index.js.map +1 -1
- package/dist/graph/react/index.d.ts +68 -4
- package/dist/graph/react/index.js +36 -6
- package/dist/graph/react/index.js.map +1 -1
- package/dist/standalone/graph-standalone.html +131 -131
- package/dist/standalone/graph-viewer.css +1 -1
- package/dist/standalone/graph-viewer.js +130 -130
- package/package.json +2 -2
|
@@ -366,7 +366,9 @@ function StuffResultPanel({
|
|
|
366
366
|
producerPipeRef,
|
|
367
367
|
consumer,
|
|
368
368
|
resolveUrl,
|
|
369
|
+
loadText,
|
|
369
370
|
resolveRendition,
|
|
371
|
+
resolveDocumentPdf,
|
|
370
372
|
resolveShareUrl,
|
|
371
373
|
saveFiles,
|
|
372
374
|
downloads
|
|
@@ -380,11 +382,13 @@ function StuffResultPanel({
|
|
|
380
382
|
);
|
|
381
383
|
if (field) {
|
|
382
384
|
const panel = /* @__PURE__ */ jsx3(StuffViewer, { field, value: stuff.data, name: stuff.name });
|
|
383
|
-
return resolveUrl || resolveRendition || resolveShareUrl || saveFiles || downloads ? /* @__PURE__ */ jsx3(
|
|
385
|
+
return resolveUrl || loadText || resolveRendition || resolveDocumentPdf || resolveShareUrl || saveFiles || downloads ? /* @__PURE__ */ jsx3(
|
|
384
386
|
ResultEnvProvider,
|
|
385
387
|
{
|
|
386
388
|
resolveUrl,
|
|
389
|
+
loadText,
|
|
387
390
|
resolveRendition,
|
|
391
|
+
resolveDocumentPdf,
|
|
388
392
|
resolveShareUrl,
|
|
389
393
|
saveFiles,
|
|
390
394
|
downloads,
|
|
@@ -2297,12 +2301,20 @@ function ResultView({
|
|
|
2297
2301
|
const descriptors = resultDescriptors(artifacts);
|
|
2298
2302
|
if (!descriptors) return null;
|
|
2299
2303
|
const concept = stuff.concept && graphspec ? resolveConceptRef(graphspec, stuff.concept) : void 0;
|
|
2300
|
-
const {
|
|
2304
|
+
const {
|
|
2305
|
+
resolveUrl,
|
|
2306
|
+
loadText,
|
|
2307
|
+
resolveRendition,
|
|
2308
|
+
resolveDocumentPdf,
|
|
2309
|
+
resolveShareUrl,
|
|
2310
|
+
saveFiles,
|
|
2311
|
+
downloads
|
|
2312
|
+
} = valueOptions;
|
|
2301
2313
|
return /* @__PURE__ */ jsx22(
|
|
2302
2314
|
StuffResultPanel,
|
|
2303
|
-
__spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, descriptors), {
|
|
2315
|
+
__spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, descriptors), {
|
|
2304
2316
|
stuff
|
|
2305
|
-
}), concept ? { concept } : {}), producerPipeRef ? { producerPipeRef } : {}), consumer ? { consumer } : {}), resolveUrl ? { resolveUrl } : {}), resolveRendition ? { resolveRendition } : {}), resolveShareUrl ? { resolveShareUrl } : {}), saveFiles ? { saveFiles } : {}), downloads ? { downloads } : {}), {
|
|
2317
|
+
}), concept ? { concept } : {}), producerPipeRef ? { producerPipeRef } : {}), consumer ? { consumer } : {}), resolveUrl ? { resolveUrl } : {}), loadText ? { loadText } : {}), resolveRendition ? { resolveRendition } : {}), resolveDocumentPdf ? { resolveDocumentPdf } : {}), resolveShareUrl ? { resolveShareUrl } : {}), saveFiles ? { saveFiles } : {}), downloads ? { downloads } : {}), {
|
|
2306
2318
|
theme
|
|
2307
2319
|
})
|
|
2308
2320
|
);
|
|
@@ -4029,7 +4041,9 @@ function GraphViewerCanvas(props) {
|
|
|
4029
4041
|
onPaneClick,
|
|
4030
4042
|
renderDetailExtra,
|
|
4031
4043
|
resolveUrl,
|
|
4044
|
+
loadText,
|
|
4032
4045
|
resolveRendition,
|
|
4046
|
+
resolveDocumentPdf,
|
|
4033
4047
|
resolveShareUrl,
|
|
4034
4048
|
saveFiles,
|
|
4035
4049
|
downloads,
|
|
@@ -4756,8 +4770,24 @@ function GraphViewerCanvas(props) {
|
|
|
4756
4770
|
[projectedData, graphStyle]
|
|
4757
4771
|
);
|
|
4758
4772
|
const valueOptions = React13.useMemo(
|
|
4759
|
-
() => ({
|
|
4760
|
-
|
|
4773
|
+
() => ({
|
|
4774
|
+
resolveUrl,
|
|
4775
|
+
loadText,
|
|
4776
|
+
resolveRendition,
|
|
4777
|
+
resolveDocumentPdf,
|
|
4778
|
+
resolveShareUrl,
|
|
4779
|
+
saveFiles,
|
|
4780
|
+
downloads
|
|
4781
|
+
}),
|
|
4782
|
+
[
|
|
4783
|
+
resolveUrl,
|
|
4784
|
+
loadText,
|
|
4785
|
+
resolveRendition,
|
|
4786
|
+
resolveDocumentPdf,
|
|
4787
|
+
resolveShareUrl,
|
|
4788
|
+
saveFiles,
|
|
4789
|
+
downloads
|
|
4790
|
+
]
|
|
4761
4791
|
);
|
|
4762
4792
|
const effectiveToolbarPosition = resolveToolbarPosition(
|
|
4763
4793
|
toolbarPositionProp,
|