stickyflow 0.11.2 → 0.12.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/CHANGELOG.md +27 -0
- package/dist/binding/index.cjs +9 -9
- package/dist/binding/index.d.cts +3 -3
- package/dist/binding/index.d.ts +3 -3
- package/dist/binding/index.js +3 -3
- package/dist/{chunk-WZA3DJJH.cjs → chunk-3OF37CZX.cjs} +15 -15
- package/dist/{chunk-WZA3DJJH.cjs.map → chunk-3OF37CZX.cjs.map} +1 -1
- package/dist/{chunk-VYQ6N5SI.cjs → chunk-3XPNGIMV.cjs} +37 -37
- package/dist/chunk-3XPNGIMV.cjs.map +1 -0
- package/dist/{chunk-G6IW2IX3.js → chunk-4SXXMOXR.js} +31 -5
- package/dist/chunk-4SXXMOXR.js.map +1 -0
- package/dist/{chunk-4KBU4CFU.cjs → chunk-EG7VZJZX.cjs} +23 -23
- package/dist/{chunk-4KBU4CFU.cjs.map → chunk-EG7VZJZX.cjs.map} +1 -1
- package/dist/{chunk-BFQWCOEC.js → chunk-FYSJMUJI.js} +3 -3
- package/dist/{chunk-BFQWCOEC.js.map → chunk-FYSJMUJI.js.map} +1 -1
- package/dist/{chunk-UD6IG2PG.js → chunk-LDRUTQF7.js} +4 -4
- package/dist/{chunk-UD6IG2PG.js.map → chunk-LDRUTQF7.js.map} +1 -1
- package/dist/{chunk-DGAVCN4D.js → chunk-Q4OIDWT6.js} +6 -6
- package/dist/chunk-Q4OIDWT6.js.map +1 -0
- package/dist/{chunk-UHKFJBY5.cjs → chunk-SKGJXCAO.cjs} +31 -5
- package/dist/chunk-SKGJXCAO.cjs.map +1 -0
- package/dist/{chunk-TQIYK5OA.js → chunk-UCOMSZPC.js} +12 -10
- package/dist/chunk-UCOMSZPC.js.map +1 -0
- package/dist/{chunk-EHH6ZDK6.cjs → chunk-ZE2KRWOM.cjs} +665 -663
- package/dist/chunk-ZE2KRWOM.cjs.map +1 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/interaction/index.cjs +364 -260
- package/dist/interaction/index.cjs.map +1 -1
- package/dist/interaction/index.js +131 -27
- package/dist/interaction/index.js.map +1 -1
- package/dist/{runtime-C-C5v9po.d.cts → runtime-BJDaqo6f.d.cts} +1 -1
- package/dist/{runtime-lCAfU-1Q.d.ts → runtime-DaconR36.d.ts} +1 -1
- package/dist/{runtimeTypes-BDA_CfWh.d.ts → runtimeTypes-BE_GI1yU.d.ts} +1 -1
- package/dist/{runtimeTypes-B7p6b1Bi.d.cts → runtimeTypes-BE_nllY6.d.cts} +1 -1
- package/dist/stickyflow-diagram.global.js +39 -39
- package/dist/stickyflow-diagram.global.js.map +1 -1
- package/dist/viewer/index.cjs +9 -9
- package/dist/viewer/index.d.cts +1 -1
- package/dist/viewer/index.d.ts +1 -1
- package/dist/viewer/index.js +4 -4
- package/dist/web-component/index.cjs +6 -6
- package/dist/web-component/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-DGAVCN4D.js.map +0 -1
- package/dist/chunk-EHH6ZDK6.cjs.map +0 -1
- package/dist/chunk-G6IW2IX3.js.map +0 -1
- package/dist/chunk-TQIYK5OA.js.map +0 -1
- package/dist/chunk-UHKFJBY5.cjs.map +0 -1
- package/dist/chunk-VYQ6N5SI.cjs.map +0 -1
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunk3XPNGIMV_cjs = require('../chunk-3XPNGIMV.cjs');
|
|
4
|
+
require('../chunk-ZE2KRWOM.cjs');
|
|
5
|
+
require('../chunk-3OF37CZX.cjs');
|
|
6
|
+
require('../chunk-SKGJXCAO.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "SHADER_DEFAULTS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3XPNGIMV_cjs.SHADER_DEFAULTS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "connectInteraction", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3XPNGIMV_cjs.connectInteraction; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createViewer", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk3XPNGIMV_cjs.createViewer; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "registerShaderProgram", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3XPNGIMV_cjs.registerShaderProgram; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "shaderProgram", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk3XPNGIMV_cjs.shaderProgram; }
|
|
29
29
|
});
|
|
30
30
|
//# sourceMappingURL=index.cjs.map
|
|
31
31
|
//# sourceMappingURL=index.cjs.map
|
package/dist/viewer/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { V as Viewer, a as ViewerOptions } from '../types-CZJzycKw.cjs';
|
|
2
2
|
export { M as Modifiers, b as OwnerPointerEvent, O as OwnerRef, S as SceneDiff, c as SceneDiffEvent, d as SelectionChangeEvent, U as Unsubscribe, e as ViewBox, f as ViewerErrorEvent, g as ViewerEventHandler, h as ViewerEventMap, i as ViewerEventName, j as ViewerImageExportOptions, k as ViewerImageFormat, l as ViewerSource } from '../types-CZJzycKw.cjs';
|
|
3
|
-
import { b as BindingRuntime } from '../runtimeTypes-
|
|
3
|
+
import { b as BindingRuntime } from '../runtimeTypes-BE_nllY6.cjs';
|
|
4
4
|
import { Q as ShaderParameter } from '../render-BDO4S5uF.cjs';
|
|
5
5
|
|
|
6
6
|
interface InteractionOptions {
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { V as Viewer, a as ViewerOptions } from '../types-Dp8JVZLB.js';
|
|
2
2
|
export { M as Modifiers, b as OwnerPointerEvent, O as OwnerRef, S as SceneDiff, c as SceneDiffEvent, d as SelectionChangeEvent, U as Unsubscribe, e as ViewBox, f as ViewerErrorEvent, g as ViewerEventHandler, h as ViewerEventMap, i as ViewerEventName, j as ViewerImageExportOptions, k as ViewerImageFormat, l as ViewerSource } from '../types-Dp8JVZLB.js';
|
|
3
|
-
import { b as BindingRuntime } from '../runtimeTypes-
|
|
3
|
+
import { b as BindingRuntime } from '../runtimeTypes-BE_GI1yU.js';
|
|
4
4
|
import { Q as ShaderParameter } from '../render-BDO4S5uF.js';
|
|
5
5
|
|
|
6
6
|
interface InteractionOptions {
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { SHADER_DEFAULTS, connectInteraction, createViewer, registerShaderProgram, shaderProgram } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { SHADER_DEFAULTS, connectInteraction, createViewer, registerShaderProgram, shaderProgram } from '../chunk-Q4OIDWT6.js';
|
|
2
|
+
import '../chunk-UCOMSZPC.js';
|
|
3
|
+
import '../chunk-FYSJMUJI.js';
|
|
4
|
+
import '../chunk-4SXXMOXR.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunk3XPNGIMV_cjs = require('../chunk-3XPNGIMV.cjs');
|
|
4
|
+
var chunkZE2KRWOM_cjs = require('../chunk-ZE2KRWOM.cjs');
|
|
5
|
+
require('../chunk-3OF37CZX.cjs');
|
|
6
|
+
require('../chunk-SKGJXCAO.cjs');
|
|
7
7
|
|
|
8
8
|
// src/runtime/webComponent/config.ts
|
|
9
9
|
var OBSERVED_ATTRS = ["source", "interactive", "padding", "diagram-id"];
|
|
@@ -43,7 +43,7 @@ function showRenderError(container, error) {
|
|
|
43
43
|
container.replaceChildren(box);
|
|
44
44
|
}
|
|
45
45
|
function mountInteractiveDiagram(container, source, config) {
|
|
46
|
-
return
|
|
46
|
+
return chunk3XPNGIMV_cjs.createViewer({
|
|
47
47
|
container,
|
|
48
48
|
source,
|
|
49
49
|
interactive: true,
|
|
@@ -52,7 +52,7 @@ function mountInteractiveDiagram(container, source, config) {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
function mountStaticDiagram(container, source, config) {
|
|
55
|
-
container.innerHTML =
|
|
55
|
+
container.innerHTML = chunkZE2KRWOM_cjs.render(source, { padding: config.padding }).svg;
|
|
56
56
|
}
|
|
57
57
|
function mountShadowDiagram(root, config) {
|
|
58
58
|
const container = createShadowContainer(root);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createViewer } from '../chunk-
|
|
2
|
-
import { render } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
import { createViewer } from '../chunk-Q4OIDWT6.js';
|
|
2
|
+
import { render } from '../chunk-UCOMSZPC.js';
|
|
3
|
+
import '../chunk-FYSJMUJI.js';
|
|
4
|
+
import '../chunk-4SXXMOXR.js';
|
|
5
5
|
|
|
6
6
|
// src/runtime/webComponent/config.ts
|
|
7
7
|
var OBSERVED_ATTRS = ["source", "interactive", "padding", "diagram-id"];
|