stickyflow 0.9.0 → 0.9.2
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 +16 -0
- package/dist/binding/index.cjs +9 -9
- package/dist/binding/index.js +3 -3
- package/dist/{chunk-B3YRZVMR.cjs → chunk-2GKXPZRL.cjs} +23 -23
- package/dist/{chunk-B3YRZVMR.cjs.map → chunk-2GKXPZRL.cjs.map} +1 -1
- package/dist/{chunk-SQBF2BKT.cjs → chunk-3EOG34QN.cjs} +48 -44
- package/dist/chunk-3EOG34QN.cjs.map +1 -0
- package/dist/{chunk-CM35H45Z.js → chunk-AAP24GBG.js} +3 -3
- package/dist/{chunk-CM35H45Z.js.map → chunk-AAP24GBG.js.map} +1 -1
- package/dist/{chunk-QL7MNEMT.cjs → chunk-C25NWWIH.cjs} +48 -3
- package/dist/chunk-C25NWWIH.cjs.map +1 -0
- package/dist/{chunk-ZCGZJBAT.js → chunk-C3LVKPWQ.js} +19 -15
- package/dist/chunk-C3LVKPWQ.js.map +1 -0
- package/dist/{chunk-YSXD5IVZ.cjs → chunk-EURX7QT3.cjs} +672 -657
- package/dist/chunk-EURX7QT3.cjs.map +1 -0
- package/dist/{chunk-FS6L462E.js → chunk-G2N3KJYJ.js} +22 -7
- package/dist/chunk-G2N3KJYJ.js.map +1 -0
- package/dist/{chunk-OUWGWDJ2.cjs → chunk-MR32IJQO.cjs} +15 -15
- package/dist/{chunk-OUWGWDJ2.cjs.map → chunk-MR32IJQO.cjs.map} +1 -1
- package/dist/{chunk-D2266VBZ.js → chunk-Q6FBISNP.js} +48 -3
- package/dist/chunk-Q6FBISNP.js.map +1 -0
- package/dist/{chunk-BUVUJMWT.js → chunk-XNNNIOJU.js} +4 -4
- package/dist/{chunk-BUVUJMWT.js.map → chunk-XNNNIOJU.js.map} +1 -1
- package/dist/index.cjs +36 -36
- package/dist/index.js +5 -5
- package/dist/interaction/index.cjs +230 -230
- package/dist/interaction/index.js +2 -2
- package/dist/stickyflow-diagram.global.js +37 -37
- package/dist/stickyflow-diagram.global.js.map +1 -1
- package/dist/viewer/index.cjs +9 -9
- 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-D2266VBZ.js.map +0 -1
- package/dist/chunk-FS6L462E.js.map +0 -1
- package/dist/chunk-QL7MNEMT.cjs.map +0 -1
- package/dist/chunk-SQBF2BKT.cjs.map +0 -1
- package/dist/chunk-YSXD5IVZ.cjs.map +0 -1
- package/dist/chunk-ZCGZJBAT.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunk2GKXPZRL_cjs = require('./chunk-2GKXPZRL.cjs');
|
|
4
|
+
var chunkEURX7QT3_cjs = require('./chunk-EURX7QT3.cjs');
|
|
5
|
+
var chunkC25NWWIH_cjs = require('./chunk-C25NWWIH.cjs');
|
|
6
6
|
|
|
7
7
|
// src/model/shape/supportedTypes.ts
|
|
8
8
|
var SHAPE_TYPES = [
|
|
@@ -75,8 +75,8 @@ function flattenGroups(groups, buckets) {
|
|
|
75
75
|
|
|
76
76
|
// src/adapters/importJson/assembly.ts
|
|
77
77
|
function sflToImportJson(sfl) {
|
|
78
|
-
const state =
|
|
79
|
-
const collected =
|
|
78
|
+
const state = chunkC25NWWIH_cjs.sflToCanvasState(sfl);
|
|
79
|
+
const collected = chunkEURX7QT3_cjs.collectCanvasObjects(state);
|
|
80
80
|
const canvas = emptyBuckets();
|
|
81
81
|
const { groupBuckets, bucketFor } = createBucketResolver(indexGroupMembership(state.groups), canvas);
|
|
82
82
|
for (const shape of collected.shapes) {
|
|
@@ -107,127 +107,127 @@ function sflToImportJson(sfl) {
|
|
|
107
107
|
|
|
108
108
|
Object.defineProperty(exports, "buildBindingGraph", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk2GKXPZRL_cjs.buildBindingGraph; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "createBindingRuntime", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunk2GKXPZRL_cjs.createBindingRuntime; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "createDataSource", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunk2GKXPZRL_cjs.createDataSource; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "interactiveElements", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunk2GKXPZRL_cjs.interactiveElements; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "renderBound", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunk2GKXPZRL_cjs.renderBound; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "decodeColor", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkEURX7QT3_cjs.decodeColor; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "decodeShadow", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkEURX7QT3_cjs.decodeShadow; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "defineComponent", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkEURX7QT3_cjs.defineComponent; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "render", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkEURX7QT3_cjs.render; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "renderCanvas", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkEURX7QT3_cjs.renderCanvas; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "sflToRenderInput", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkEURX7QT3_cjs.sflToRenderInput; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "AXIS_COS", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkC25NWWIH_cjs.AXIS_COS; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "AXIS_SIN", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkC25NWWIH_cjs.AXIS_SIN; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "CHART_TYPES", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkC25NWWIH_cjs.CHART_TYPES; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "COMPONENT_CATEGORIES", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkC25NWWIH_cjs.COMPONENT_CATEGORIES; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "DOM_CONTRACT_VERSION", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkC25NWWIH_cjs.DOM_CONTRACT_VERSION; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "canonicalize", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkC25NWWIH_cjs.canonicalizeSource; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "componentTypes", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkC25NWWIH_cjs.componentTypes; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "flattenPath", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkC25NWWIH_cjs.flattenPath; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "getComponentDescriptor", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkC25NWWIH_cjs.getComponentDescriptor; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "isChartObject", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkC25NWWIH_cjs.isChartObject; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "isDimensionObject", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkC25NWWIH_cjs.isDimensionObject; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "isGenericComponent", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkC25NWWIH_cjs.isGenericComponent; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "isIsometricObject", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkC25NWWIH_cjs.isIsometricObject; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "isPathObject", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkC25NWWIH_cjs.isPathObject; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "isSwimlaneObject", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkC25NWWIH_cjs.isSwimlaneObject; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "parse", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkC25NWWIH_cjs.parseSource; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "pathBounds", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkC25NWWIH_cjs.pathBounds; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "pathToSymbol", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkC25NWWIH_cjs.pathToSymbol; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "sflToCanvasState", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkC25NWWIH_cjs.sflToCanvasState; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "symbolToPath", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkC25NWWIH_cjs.symbolToPath; }
|
|
231
231
|
});
|
|
232
232
|
exports.SHAPE_TYPES = SHAPE_TYPES;
|
|
233
233
|
exports.sflToImportJson = sflToImportJson;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { buildBindingGraph, createBindingRuntime, createDataSource, interactiveElements, renderBound } from './chunk-
|
|
2
|
-
import { collectCanvasObjects } from './chunk-
|
|
3
|
-
export { decodeColor, decodeShadow, defineComponent, render, renderCanvas, sflToRenderInput } from './chunk-
|
|
4
|
-
import { sflToCanvasState } from './chunk-
|
|
5
|
-
export { AXIS_COS, AXIS_SIN, CHART_TYPES, COMPONENT_CATEGORIES, DOM_CONTRACT_VERSION, canonicalizeSource as canonicalize, componentTypes, flattenPath, getComponentDescriptor, isChartObject, isDimensionObject, isGenericComponent, isIsometricObject, isPathObject, isSwimlaneObject, parseSource as parse, pathBounds, pathToSymbol, sflToCanvasState, symbolToPath } from './chunk-
|
|
1
|
+
export { buildBindingGraph, createBindingRuntime, createDataSource, interactiveElements, renderBound } from './chunk-XNNNIOJU.js';
|
|
2
|
+
import { collectCanvasObjects } from './chunk-G2N3KJYJ.js';
|
|
3
|
+
export { decodeColor, decodeShadow, defineComponent, render, renderCanvas, sflToRenderInput } from './chunk-G2N3KJYJ.js';
|
|
4
|
+
import { sflToCanvasState } from './chunk-Q6FBISNP.js';
|
|
5
|
+
export { AXIS_COS, AXIS_SIN, CHART_TYPES, COMPONENT_CATEGORIES, DOM_CONTRACT_VERSION, canonicalizeSource as canonicalize, componentTypes, flattenPath, getComponentDescriptor, isChartObject, isDimensionObject, isGenericComponent, isIsometricObject, isPathObject, isSwimlaneObject, parseSource as parse, pathBounds, pathToSymbol, sflToCanvasState, symbolToPath } from './chunk-Q6FBISNP.js';
|
|
6
6
|
|
|
7
7
|
// src/model/shape/supportedTypes.ts
|
|
8
8
|
var SHAPE_TYPES = [
|