@neo4j-ndl/react-graph 2.1.5 → 2.1.7
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/lib/cjs/_generated/style-rules/index.js +7 -1
- package/lib/cjs/_generated/style-rules/index.js.map +1 -1
- package/lib/cjs/_generated/style-rules/literal-schemas.js +32 -1
- package/lib/cjs/_generated/style-rules/literal-schemas.js.map +1 -1
- package/lib/cjs/_generated/style-rules/range-utils.js +46 -0
- package/lib/cjs/_generated/style-rules/range-utils.js.map +1 -0
- package/lib/cjs/index.js +2 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/styling/compile-graph-styles.js +56 -16
- package/lib/cjs/styling/compile-graph-styles.js.map +1 -1
- package/lib/cjs/styling/style-types.js +19 -19
- package/lib/cjs/styling/style-types.js.map +1 -1
- package/lib/esm/_generated/style-rules/index.js +2 -1
- package/lib/esm/_generated/style-rules/index.js.map +1 -1
- package/lib/esm/_generated/style-rules/literal-schemas.js +28 -0
- package/lib/esm/_generated/style-rules/literal-schemas.js.map +1 -1
- package/lib/esm/_generated/style-rules/range-utils.js +43 -0
- package/lib/esm/_generated/style-rules/range-utils.js.map +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/styling/compile-graph-styles.js +56 -17
- package/lib/esm/styling/compile-graph-styles.js.map +1 -1
- package/lib/esm/styling/style-types.js +19 -19
- package/lib/esm/styling/style-types.js.map +1 -1
- package/lib/types/_generated/style-rules/index.d.ts +3 -2
- package/lib/types/_generated/style-rules/index.d.ts.map +1 -1
- package/lib/types/_generated/style-rules/literal-schemas.d.ts +20 -0
- package/lib/types/_generated/style-rules/literal-schemas.d.ts.map +1 -1
- package/lib/types/_generated/style-rules/range-utils.d.ts +26 -0
- package/lib/types/_generated/style-rules/range-utils.d.ts.map +1 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/styling/compile-graph-styles.d.ts +12 -0
- package/lib/types/styling/compile-graph-styles.d.ts.map +1 -1
- package/lib/types/styling/style-types.d.ts +168 -33
- package/lib/types/styling/style-types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { type Node, type Relationship } from '@neo4j-nvl/base';
|
|
22
22
|
import { z } from 'zod';
|
|
23
|
-
import { type BigintLiteral, type DatetimeLiteral, type LocalDatetimeLiteral, type NumericLiteral, type TimeLiteral } from '../_generated/style-rules';
|
|
23
|
+
import { type BigintLiteral, type DatetimeLiteral, type LocalDatetimeLiteral, type NumericLiteral, type RangeLiteral, type TimeLiteral } from '../_generated/style-rules';
|
|
24
24
|
export declare const SelectorSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
25
25
|
label: z.ZodNullable<z.ZodString>;
|
|
26
26
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -54,8 +54,19 @@ export declare const GraphBigintLiteralSchema: z.ZodObject<{
|
|
|
54
54
|
export declare const GraphNumericLiteralSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
55
55
|
bigint: z.ZodString;
|
|
56
56
|
}, z.core.$strip>]>;
|
|
57
|
+
/** A numeric, datetime, localdatetime, or time literal used as a range boundary. */
|
|
58
|
+
export declare const GraphRangeLiteralSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
59
|
+
bigint: z.ZodString;
|
|
60
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
61
|
+
datetime: z.ZodString;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
localdatetime: z.ZodString;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
time: z.ZodString;
|
|
66
|
+
}, z.core.$strip>]>;
|
|
57
67
|
export type GraphBigintLiteral = BigintLiteral;
|
|
58
68
|
export type GraphNumericLiteral = NumericLiteral;
|
|
69
|
+
export type GraphRangeLiteral = RangeLiteral;
|
|
59
70
|
export declare const ValueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
60
71
|
label: z.ZodNullable<z.ZodString>;
|
|
61
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -126,44 +137,73 @@ export declare const NvlCaptionSchema: z.ZodObject<{
|
|
|
126
137
|
}, z.core.$strip>;
|
|
127
138
|
export type Caption = z.infer<typeof NvlCaptionSchema>;
|
|
128
139
|
/**
|
|
129
|
-
* Gradient coloring based on a continuous
|
|
130
|
-
* boundaries accept
|
|
140
|
+
* Gradient coloring based on a continuous orderable property value. Range
|
|
141
|
+
* boundaries accept numeric and temporal literals.
|
|
131
142
|
* Colors must be a standard hex string (#rrggbb).
|
|
132
|
-
* If the property is missing, non-
|
|
143
|
+
* If the property is missing, non-orderable, or any color is invalid, the
|
|
133
144
|
* colorRange is silently ignored — other style properties still apply.
|
|
134
145
|
*/
|
|
135
146
|
export declare const ColorRangeSchema: z.ZodObject<{
|
|
136
147
|
onProperty: z.ZodString;
|
|
137
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
148
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
138
149
|
bigint: z.ZodString;
|
|
150
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
151
|
+
datetime: z.ZodString;
|
|
152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
153
|
+
localdatetime: z.ZodString;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
time: z.ZodString;
|
|
139
156
|
}, z.core.$strip>]>;
|
|
140
157
|
minColor: z.ZodString;
|
|
141
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
158
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
142
159
|
bigint: z.ZodString;
|
|
160
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
161
|
+
datetime: z.ZodString;
|
|
162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
163
|
+
localdatetime: z.ZodString;
|
|
164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
165
|
+
time: z.ZodString;
|
|
143
166
|
}, z.core.$strip>]>;
|
|
144
167
|
maxColor: z.ZodString;
|
|
145
|
-
midValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
168
|
+
midValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
146
169
|
bigint: z.ZodString;
|
|
170
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
171
|
+
datetime: z.ZodString;
|
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
+
localdatetime: z.ZodString;
|
|
174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
+
time: z.ZodString;
|
|
147
176
|
}, z.core.$strip>]>>;
|
|
148
177
|
midColor: z.ZodOptional<z.ZodString>;
|
|
149
178
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
150
179
|
}, z.core.$strip>;
|
|
151
180
|
export type ColorRange = z.infer<typeof ColorRangeSchema>;
|
|
152
181
|
/**
|
|
153
|
-
* Size interpolation for nodes based on a continuous
|
|
154
|
-
* Range boundaries accept
|
|
155
|
-
* literals.
|
|
182
|
+
* Size interpolation for nodes based on a continuous orderable property value.
|
|
183
|
+
* Range boundaries accept numeric and temporal literals.
|
|
156
184
|
* Maps a property value in [minValue, maxValue] to a size in [minSize, maxSize].
|
|
157
|
-
* If the property is missing or non-
|
|
185
|
+
* If the property is missing or non-orderable, sizeRange is silently ignored —
|
|
158
186
|
* other style properties still apply.
|
|
159
187
|
*/
|
|
160
188
|
export declare const SizeRangeSchema: z.ZodObject<{
|
|
161
189
|
onProperty: z.ZodString;
|
|
162
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
190
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
163
191
|
bigint: z.ZodString;
|
|
192
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
193
|
+
datetime: z.ZodString;
|
|
194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
localdatetime: z.ZodString;
|
|
196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
197
|
+
time: z.ZodString;
|
|
164
198
|
}, z.core.$strip>]>;
|
|
165
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
199
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
166
200
|
bigint: z.ZodString;
|
|
201
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
202
|
+
datetime: z.ZodString;
|
|
203
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
204
|
+
localdatetime: z.ZodString;
|
|
205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
206
|
+
time: z.ZodString;
|
|
167
207
|
}, z.core.$strip>]>;
|
|
168
208
|
minSize: z.ZodNumber;
|
|
169
209
|
maxSize: z.ZodNumber;
|
|
@@ -171,20 +211,31 @@ export declare const SizeRangeSchema: z.ZodObject<{
|
|
|
171
211
|
}, z.core.$strip>;
|
|
172
212
|
export type SizeRange = z.infer<typeof SizeRangeSchema>;
|
|
173
213
|
/**
|
|
174
|
-
* Width interpolation for relationships based on a continuous
|
|
175
|
-
* value. Range boundaries accept
|
|
176
|
-
* literals.
|
|
214
|
+
* Width interpolation for relationships based on a continuous orderable
|
|
215
|
+
* property value. Range boundaries accept numeric and temporal literals.
|
|
177
216
|
* Maps a property value in [minValue, maxValue] to a width in [minWidth, maxWidth].
|
|
178
|
-
* If the property is missing or non-
|
|
217
|
+
* If the property is missing or non-orderable, widthRange is silently ignored —
|
|
179
218
|
* other style properties still apply.
|
|
180
219
|
*/
|
|
181
220
|
export declare const WidthRangeSchema: z.ZodObject<{
|
|
182
221
|
onProperty: z.ZodString;
|
|
183
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
222
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
184
223
|
bigint: z.ZodString;
|
|
224
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
225
|
+
datetime: z.ZodString;
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
+
localdatetime: z.ZodString;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
time: z.ZodString;
|
|
185
230
|
}, z.core.$strip>]>;
|
|
186
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
231
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
187
232
|
bigint: z.ZodString;
|
|
233
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
234
|
+
datetime: z.ZodString;
|
|
235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
236
|
+
localdatetime: z.ZodString;
|
|
237
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
238
|
+
time: z.ZodString;
|
|
188
239
|
}, z.core.$strip>]>;
|
|
189
240
|
minWidth: z.ZodNumber;
|
|
190
241
|
maxWidth: z.ZodNumber;
|
|
@@ -227,16 +278,34 @@ export declare const StyleSchema: z.ZodObject<{
|
|
|
227
278
|
}, z.core.$strip>>;
|
|
228
279
|
colorRange: z.ZodOptional<z.ZodObject<{
|
|
229
280
|
onProperty: z.ZodString;
|
|
230
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
281
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
231
282
|
bigint: z.ZodString;
|
|
283
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
284
|
+
datetime: z.ZodString;
|
|
285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
286
|
+
localdatetime: z.ZodString;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
time: z.ZodString;
|
|
232
289
|
}, z.core.$strip>]>;
|
|
233
290
|
minColor: z.ZodString;
|
|
234
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
291
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
235
292
|
bigint: z.ZodString;
|
|
293
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
294
|
+
datetime: z.ZodString;
|
|
295
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
296
|
+
localdatetime: z.ZodString;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
+
time: z.ZodString;
|
|
236
299
|
}, z.core.$strip>]>;
|
|
237
300
|
maxColor: z.ZodString;
|
|
238
|
-
midValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
301
|
+
midValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
239
302
|
bigint: z.ZodString;
|
|
303
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
304
|
+
datetime: z.ZodString;
|
|
305
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
306
|
+
localdatetime: z.ZodString;
|
|
307
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
308
|
+
time: z.ZodString;
|
|
240
309
|
}, z.core.$strip>]>>;
|
|
241
310
|
midColor: z.ZodOptional<z.ZodString>;
|
|
242
311
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -247,11 +316,23 @@ export declare const StyleSchema: z.ZodObject<{
|
|
|
247
316
|
}, z.core.$strip>>;
|
|
248
317
|
sizeRange: z.ZodOptional<z.ZodObject<{
|
|
249
318
|
onProperty: z.ZodString;
|
|
250
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
319
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
251
320
|
bigint: z.ZodString;
|
|
321
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
322
|
+
datetime: z.ZodString;
|
|
323
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
324
|
+
localdatetime: z.ZodString;
|
|
325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
326
|
+
time: z.ZodString;
|
|
252
327
|
}, z.core.$strip>]>;
|
|
253
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
328
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
254
329
|
bigint: z.ZodString;
|
|
330
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
331
|
+
datetime: z.ZodString;
|
|
332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
333
|
+
localdatetime: z.ZodString;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
time: z.ZodString;
|
|
255
336
|
}, z.core.$strip>]>;
|
|
256
337
|
minSize: z.ZodNumber;
|
|
257
338
|
maxSize: z.ZodNumber;
|
|
@@ -265,11 +346,23 @@ export declare const StyleSchema: z.ZodObject<{
|
|
|
265
346
|
}, z.core.$strip>>;
|
|
266
347
|
widthRange: z.ZodOptional<z.ZodObject<{
|
|
267
348
|
onProperty: z.ZodString;
|
|
268
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
349
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
269
350
|
bigint: z.ZodString;
|
|
351
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
352
|
+
datetime: z.ZodString;
|
|
353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
354
|
+
localdatetime: z.ZodString;
|
|
355
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
356
|
+
time: z.ZodString;
|
|
270
357
|
}, z.core.$strip>]>;
|
|
271
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
358
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
272
359
|
bigint: z.ZodString;
|
|
360
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
361
|
+
datetime: z.ZodString;
|
|
362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
+
localdatetime: z.ZodString;
|
|
364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
365
|
+
time: z.ZodString;
|
|
273
366
|
}, z.core.$strip>]>;
|
|
274
367
|
minWidth: z.ZodNumber;
|
|
275
368
|
maxWidth: z.ZodNumber;
|
|
@@ -323,16 +416,34 @@ export declare const GraphStyleRuleSchema: z.ZodObject<{
|
|
|
323
416
|
}, z.core.$strip>>;
|
|
324
417
|
colorRange: z.ZodOptional<z.ZodObject<{
|
|
325
418
|
onProperty: z.ZodString;
|
|
326
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
419
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
327
420
|
bigint: z.ZodString;
|
|
421
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
422
|
+
datetime: z.ZodString;
|
|
423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
424
|
+
localdatetime: z.ZodString;
|
|
425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
+
time: z.ZodString;
|
|
328
427
|
}, z.core.$strip>]>;
|
|
329
428
|
minColor: z.ZodString;
|
|
330
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
429
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
331
430
|
bigint: z.ZodString;
|
|
431
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
432
|
+
datetime: z.ZodString;
|
|
433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
434
|
+
localdatetime: z.ZodString;
|
|
435
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
436
|
+
time: z.ZodString;
|
|
332
437
|
}, z.core.$strip>]>;
|
|
333
438
|
maxColor: z.ZodString;
|
|
334
|
-
midValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
439
|
+
midValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
335
440
|
bigint: z.ZodString;
|
|
441
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
442
|
+
datetime: z.ZodString;
|
|
443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
444
|
+
localdatetime: z.ZodString;
|
|
445
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
446
|
+
time: z.ZodString;
|
|
336
447
|
}, z.core.$strip>]>>;
|
|
337
448
|
midColor: z.ZodOptional<z.ZodString>;
|
|
338
449
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -343,11 +454,23 @@ export declare const GraphStyleRuleSchema: z.ZodObject<{
|
|
|
343
454
|
}, z.core.$strip>>;
|
|
344
455
|
sizeRange: z.ZodOptional<z.ZodObject<{
|
|
345
456
|
onProperty: z.ZodString;
|
|
346
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
457
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
347
458
|
bigint: z.ZodString;
|
|
459
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
460
|
+
datetime: z.ZodString;
|
|
461
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
462
|
+
localdatetime: z.ZodString;
|
|
463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
464
|
+
time: z.ZodString;
|
|
348
465
|
}, z.core.$strip>]>;
|
|
349
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
466
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
350
467
|
bigint: z.ZodString;
|
|
468
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
469
|
+
datetime: z.ZodString;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
localdatetime: z.ZodString;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
time: z.ZodString;
|
|
351
474
|
}, z.core.$strip>]>;
|
|
352
475
|
minSize: z.ZodNumber;
|
|
353
476
|
maxSize: z.ZodNumber;
|
|
@@ -361,11 +484,23 @@ export declare const GraphStyleRuleSchema: z.ZodObject<{
|
|
|
361
484
|
}, z.core.$strip>>;
|
|
362
485
|
widthRange: z.ZodOptional<z.ZodObject<{
|
|
363
486
|
onProperty: z.ZodString;
|
|
364
|
-
minValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
487
|
+
minValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
365
488
|
bigint: z.ZodString;
|
|
489
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
490
|
+
datetime: z.ZodString;
|
|
491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
492
|
+
localdatetime: z.ZodString;
|
|
493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
494
|
+
time: z.ZodString;
|
|
366
495
|
}, z.core.$strip>]>;
|
|
367
|
-
maxValue: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
496
|
+
maxValue: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodObject<{
|
|
368
497
|
bigint: z.ZodString;
|
|
498
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
499
|
+
datetime: z.ZodString;
|
|
500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
501
|
+
localdatetime: z.ZodString;
|
|
502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
503
|
+
time: z.ZodString;
|
|
369
504
|
}, z.core.$strip>]>;
|
|
370
505
|
minWidth: z.ZodNumber;
|
|
371
506
|
maxWidth: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style-types.d.ts","sourceRoot":"","sources":["../../../src/styling/style-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,eAAe,EAEpB,KAAK,oBAAoB,EAEzB,KAAK,cAAc,EAEnB,KAAK,WAAW,EAEjB,MAAM,2BAA2B,CAAC;AA2BnC,eAAO,MAAM,cAAc;;;;;;mBAIzB,CAAC;AACH,KAAK,QAAQ,GAAG,CAAC,CAAC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-ndl/react-graph",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of the graph visualization from Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@neo4j-nvl/base": "^1.2.0",
|
|
58
58
|
"@neo4j-nvl/interaction-handlers": "^1.2.0",
|
|
59
59
|
"@neo4j-nvl/react": "^1.2.0",
|
|
60
|
-
"@neo4j-ndl/
|
|
61
|
-
"@neo4j-ndl/
|
|
60
|
+
"@neo4j-ndl/react": "^4.18.7",
|
|
61
|
+
"@neo4j-ndl/base": "^4.17.4"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"classnames": "2.5.1",
|