@visactor/vseed 0.2.2 → 0.2.3

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.
Files changed (133) hide show
  1. package/dist/cjs/index.cjs +1 -3
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/buildAdvanced.js +1 -2
  4. package/dist/esm/builder/builder/buildAdvanced.js.map +1 -1
  5. package/dist/esm/builder/builder/buildSpec.js +1 -2
  6. package/dist/esm/builder/builder/buildSpec.js.map +1 -1
  7. package/dist/esm/builder/builder/builder.d.ts +628 -334
  8. package/dist/esm/dataReshape/constant.d.ts +1 -0
  9. package/dist/esm/dataReshape/constant.js +2 -1
  10. package/dist/esm/dataReshape/constant.js.map +1 -1
  11. package/dist/esm/i18n/i18n.js +1 -4
  12. package/dist/esm/i18n/i18n.js.map +1 -1
  13. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +12 -0
  14. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
  15. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +3 -1
  16. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
  17. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js +4 -12
  18. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js.map +1 -1
  19. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js +4 -12
  20. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js.map +1 -1
  21. package/dist/esm/pipeline/spec/chart/pipes/axes/axisStyle.d.ts +3 -0
  22. package/dist/esm/pipeline/spec/chart/pipes/axes/axisStyle.js +65 -0
  23. package/dist/esm/pipeline/spec/chart/pipes/axes/axisStyle.js.map +1 -0
  24. package/dist/esm/pipeline/spec/chart/pipes/axes/heatmapBandAxis.d.ts +2 -0
  25. package/dist/esm/pipeline/spec/chart/pipes/axes/heatmapBandAxis.js +24 -0
  26. package/dist/esm/pipeline/spec/chart/pipes/axes/heatmapBandAxis.js.map +1 -0
  27. package/dist/esm/pipeline/spec/chart/pipes/axes/index.d.ts +1 -0
  28. package/dist/esm/pipeline/spec/chart/pipes/axes/index.js +2 -1
  29. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +15 -72
  30. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
  31. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +17 -73
  32. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
  33. package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js +11 -13
  34. package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js.map +1 -1
  35. package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js +10 -8
  36. package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js.map +1 -1
  37. package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.js +0 -12
  38. package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.js.map +1 -1
  39. package/dist/esm/pipeline/spec/chart/pipes/label/label.js +1 -1
  40. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  41. package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js +13 -1
  42. package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
  43. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +2 -2
  44. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -1
  45. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js +3 -1
  46. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js.map +1 -1
  47. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +3 -1
  48. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
  49. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +3 -1
  50. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
  51. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipElement.d.ts +2 -0
  52. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipElement.js +58 -0
  53. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipElement.js.map +1 -0
  54. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js +3 -1
  55. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js.map +1 -1
  56. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js +3 -1
  57. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
  58. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js +3 -1
  59. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js.map +1 -1
  60. package/dist/esm/pipeline/utils/boxplot.d.ts +1 -0
  61. package/dist/esm/pipeline/utils/boxplot.js +8 -0
  62. package/dist/esm/pipeline/utils/boxplot.js.map +1 -0
  63. package/dist/esm/pipeline/utils/index.d.ts +1 -0
  64. package/dist/esm/pipeline/utils/index.js +1 -0
  65. package/dist/esm/theme/common/legend.d.ts +3 -1
  66. package/dist/esm/theme/common/legend.js +13 -1
  67. package/dist/esm/theme/common/legend.js.map +1 -1
  68. package/dist/esm/theme/common/tooltip.js +1 -1
  69. package/dist/esm/theme/common/tooltip.js.map +1 -1
  70. package/dist/esm/theme/dark/dark.js +4 -1
  71. package/dist/esm/theme/dark/dark.js.map +1 -1
  72. package/dist/esm/theme/light/light.js +4 -1
  73. package/dist/esm/theme/light/light.js.map +1 -1
  74. package/dist/esm/types/advancedVSeed.d.ts +252 -420
  75. package/dist/esm/types/chartType/area/zArea.d.ts +5 -281
  76. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +5 -281
  77. package/dist/esm/types/chartType/bar/zBar.d.ts +5 -281
  78. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +5 -281
  79. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +5 -281
  80. package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +5 -281
  81. package/dist/esm/types/chartType/column/zColumn.d.ts +5 -281
  82. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +5 -281
  83. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +5 -281
  84. package/dist/esm/types/chartType/donut/zDonut.d.ts +1 -1
  85. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +5 -281
  86. package/dist/esm/types/chartType/funnel/zFunnel.d.ts +5 -0
  87. package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +5 -0
  88. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +5 -281
  89. package/dist/esm/types/chartType/line/zLine.d.ts +5 -281
  90. package/dist/esm/types/chartType/pie/zPie.d.ts +1 -1
  91. package/dist/esm/types/chartType/radar/zRadar.d.ts +1 -1
  92. package/dist/esm/types/chartType/rose/zRose.d.ts +1 -1
  93. package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +1 -1
  94. package/dist/esm/types/chartType/scatter/zScatter.d.ts +5 -281
  95. package/dist/esm/types/dataSelector/selector.d.ts +108 -0
  96. package/dist/esm/types/dataSelector/selector.js +58 -51
  97. package/dist/esm/types/dataSelector/selector.js.map +1 -1
  98. package/dist/esm/types/properties/annotation/annotation.d.ts +4 -280
  99. package/dist/esm/types/properties/annotation/annotationArea.d.ts +2 -2
  100. package/dist/esm/types/properties/annotation/annotationHorizontalLine.d.ts +1 -6
  101. package/dist/esm/types/properties/annotation/annotationVerticalLine.d.ts +0 -5
  102. package/dist/esm/types/properties/annotation/zAnnotationArea.d.ts +2 -2
  103. package/dist/esm/types/properties/annotation/zAnnotationArea.js +3 -3
  104. package/dist/esm/types/properties/annotation/zAnnotationArea.js.map +1 -1
  105. package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.d.ts +0 -69
  106. package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.js +0 -5
  107. package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.js.map +1 -1
  108. package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.d.ts +0 -69
  109. package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.js +0 -5
  110. package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.js.map +1 -1
  111. package/dist/esm/types/properties/config/area.d.ts +2 -2
  112. package/dist/esm/types/properties/config/bar.d.ts +3 -3
  113. package/dist/esm/types/properties/config/boxplot.d.ts +1 -1
  114. package/dist/esm/types/properties/config/column.d.ts +3 -3
  115. package/dist/esm/types/properties/config/config.d.ts +102 -48
  116. package/dist/esm/types/properties/config/dualAxis.d.ts +1 -1
  117. package/dist/esm/types/properties/config/funnel.d.ts +1 -1
  118. package/dist/esm/types/properties/config/heatmap.d.ts +83 -29
  119. package/dist/esm/types/properties/config/heatmap.js +6 -3
  120. package/dist/esm/types/properties/config/heatmap.js.map +1 -1
  121. package/dist/esm/types/properties/config/histogram.d.ts +1 -1
  122. package/dist/esm/types/properties/config/legend/legend.d.ts +10 -2
  123. package/dist/esm/types/properties/config/legend/legend.js +7 -2
  124. package/dist/esm/types/properties/config/legend/legend.js.map +1 -1
  125. package/dist/esm/types/properties/config/line.d.ts +1 -1
  126. package/dist/esm/types/properties/config/pie.d.ts +3 -3
  127. package/dist/esm/types/properties/config/rose.d.ts +2 -2
  128. package/dist/esm/types/properties/config/scatter.d.ts +1 -1
  129. package/dist/esm/types/properties/theme/customTheme.d.ts +204 -96
  130. package/dist/esm/types/zVseed.d.ts +828 -4406
  131. package/dist/umd/index.js +371 -291
  132. package/dist/umd/index.js.map +1 -1
  133. package/package.json +10 -5
@@ -186,75 +186,6 @@ export declare const zAnnotation: z.ZodObject<{
186
186
  offsetX: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
187
187
  }, z.core.$strip>>]>>>;
188
188
  annotationVerticalLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
189
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
190
- field: z.ZodString;
191
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
192
- "=": "=";
193
- "==": "==";
194
- "!=": "!=";
195
- ">": ">";
196
- "<": "<";
197
- ">=": ">=";
198
- "<=": "<=";
199
- between: "between";
200
- }>>>;
201
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
202
- "=": "=";
203
- "==": "==";
204
- "!=": "!=";
205
- ">": ">";
206
- "<": "<";
207
- ">=": ">=";
208
- "<=": "<=";
209
- between: "between";
210
- }>>>;
211
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
212
- }, z.core.$strip>, z.ZodObject<{
213
- field: z.ZodString;
214
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
215
- in: "in";
216
- "not in": "not in";
217
- }>>>;
218
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
219
- in: "in";
220
- "not in": "not in";
221
- }>>>;
222
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
223
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
224
- field: z.ZodString;
225
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
226
- "=": "=";
227
- "==": "==";
228
- "!=": "!=";
229
- ">": ">";
230
- "<": "<";
231
- ">=": ">=";
232
- "<=": "<=";
233
- between: "between";
234
- }>>>;
235
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
236
- "=": "=";
237
- "==": "==";
238
- "!=": "!=";
239
- ">": ">";
240
- "<": "<";
241
- ">=": ">=";
242
- "<=": "<=";
243
- between: "between";
244
- }>>>;
245
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
246
- }, z.core.$strip>, z.ZodObject<{
247
- field: z.ZodString;
248
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
249
- in: "in";
250
- "not in": "not in";
251
- }>>>;
252
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
253
- in: "in";
254
- "not in": "not in";
255
- }>>>;
256
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
257
- }, z.core.$strip>]>>]>>>;
258
189
  xValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
259
190
  text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
260
191
  textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -289,75 +220,6 @@ export declare const zAnnotation: z.ZodObject<{
289
220
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
290
221
  lineStyle: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]>>>>;
291
222
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
292
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
293
- field: z.ZodString;
294
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
295
- "=": "=";
296
- "==": "==";
297
- "!=": "!=";
298
- ">": ">";
299
- "<": "<";
300
- ">=": ">=";
301
- "<=": "<=";
302
- between: "between";
303
- }>>>;
304
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
305
- "=": "=";
306
- "==": "==";
307
- "!=": "!=";
308
- ">": ">";
309
- "<": "<";
310
- ">=": ">=";
311
- "<=": "<=";
312
- between: "between";
313
- }>>>;
314
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
315
- }, z.core.$strip>, z.ZodObject<{
316
- field: z.ZodString;
317
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
318
- in: "in";
319
- "not in": "not in";
320
- }>>>;
321
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
322
- in: "in";
323
- "not in": "not in";
324
- }>>>;
325
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
326
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
327
- field: z.ZodString;
328
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
329
- "=": "=";
330
- "==": "==";
331
- "!=": "!=";
332
- ">": ">";
333
- "<": "<";
334
- ">=": ">=";
335
- "<=": "<=";
336
- between: "between";
337
- }>>>;
338
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
339
- "=": "=";
340
- "==": "==";
341
- "!=": "!=";
342
- ">": ">";
343
- "<": "<";
344
- ">=": ">=";
345
- "<=": "<=";
346
- between: "between";
347
- }>>>;
348
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
349
- }, z.core.$strip>, z.ZodObject<{
350
- field: z.ZodString;
351
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
352
- in: "in";
353
- "not in": "not in";
354
- }>>>;
355
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
356
- in: "in";
357
- "not in": "not in";
358
- }>>>;
359
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
360
- }, z.core.$strip>]>>]>>>;
361
223
  xValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
362
224
  text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
363
225
  textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -393,75 +255,6 @@ export declare const zAnnotation: z.ZodObject<{
393
255
  lineStyle: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]>>>>;
394
256
  }, z.core.$strip>>]>>>;
395
257
  annotationHorizontalLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
396
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
397
- field: z.ZodString;
398
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
399
- "=": "=";
400
- "==": "==";
401
- "!=": "!=";
402
- ">": ">";
403
- "<": "<";
404
- ">=": ">=";
405
- "<=": "<=";
406
- between: "between";
407
- }>>>;
408
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
409
- "=": "=";
410
- "==": "==";
411
- "!=": "!=";
412
- ">": ">";
413
- "<": "<";
414
- ">=": ">=";
415
- "<=": "<=";
416
- between: "between";
417
- }>>>;
418
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
419
- }, z.core.$strip>, z.ZodObject<{
420
- field: z.ZodString;
421
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
422
- in: "in";
423
- "not in": "not in";
424
- }>>>;
425
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
426
- in: "in";
427
- "not in": "not in";
428
- }>>>;
429
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
430
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
431
- field: z.ZodString;
432
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
433
- "=": "=";
434
- "==": "==";
435
- "!=": "!=";
436
- ">": ">";
437
- "<": "<";
438
- ">=": ">=";
439
- "<=": "<=";
440
- between: "between";
441
- }>>>;
442
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
443
- "=": "=";
444
- "==": "==";
445
- "!=": "!=";
446
- ">": ">";
447
- "<": "<";
448
- ">=": ">=";
449
- "<=": "<=";
450
- between: "between";
451
- }>>>;
452
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
453
- }, z.core.$strip>, z.ZodObject<{
454
- field: z.ZodString;
455
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
456
- in: "in";
457
- "not in": "not in";
458
- }>>>;
459
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
460
- in: "in";
461
- "not in": "not in";
462
- }>>>;
463
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
464
- }, z.core.$strip>]>>]>>>;
465
258
  yValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
466
259
  text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
467
260
  textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -496,75 +289,6 @@ export declare const zAnnotation: z.ZodObject<{
496
289
  textBackgroundBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
497
290
  textBackgroundPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
498
291
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
499
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
500
- field: z.ZodString;
501
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
502
- "=": "=";
503
- "==": "==";
504
- "!=": "!=";
505
- ">": ">";
506
- "<": "<";
507
- ">=": ">=";
508
- "<=": "<=";
509
- between: "between";
510
- }>>>;
511
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
512
- "=": "=";
513
- "==": "==";
514
- "!=": "!=";
515
- ">": ">";
516
- "<": "<";
517
- ">=": ">=";
518
- "<=": "<=";
519
- between: "between";
520
- }>>>;
521
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
522
- }, z.core.$strip>, z.ZodObject<{
523
- field: z.ZodString;
524
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
525
- in: "in";
526
- "not in": "not in";
527
- }>>>;
528
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
529
- in: "in";
530
- "not in": "not in";
531
- }>>>;
532
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
533
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
534
- field: z.ZodString;
535
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
536
- "=": "=";
537
- "==": "==";
538
- "!=": "!=";
539
- ">": ">";
540
- "<": "<";
541
- ">=": ">=";
542
- "<=": "<=";
543
- between: "between";
544
- }>>>;
545
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
546
- "=": "=";
547
- "==": "==";
548
- "!=": "!=";
549
- ">": ">";
550
- "<": "<";
551
- ">=": ">=";
552
- "<=": "<=";
553
- between: "between";
554
- }>>>;
555
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
556
- }, z.core.$strip>, z.ZodObject<{
557
- field: z.ZodString;
558
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
559
- in: "in";
560
- "not in": "not in";
561
- }>>>;
562
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
563
- in: "in";
564
- "not in": "not in";
565
- }>>>;
566
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
567
- }, z.core.$strip>]>>]>>>;
568
292
  yValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
569
293
  text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
570
294
  textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -600,7 +324,7 @@ export declare const zAnnotation: z.ZodObject<{
600
324
  textBackgroundPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
601
325
  }, z.core.$strip>>]>>>;
602
326
  annotationArea: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
603
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
327
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
604
328
  field: z.ZodString;
605
329
  operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
606
330
  "=": "=";
@@ -634,7 +358,7 @@ export declare const zAnnotation: z.ZodObject<{
634
358
  "not in": "not in";
635
359
  }>>>;
636
360
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
637
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
361
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
638
362
  field: z.ZodString;
639
363
  operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
640
364
  "=": "=";
@@ -707,7 +431,7 @@ export declare const zAnnotation: z.ZodObject<{
707
431
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
708
432
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
709
433
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
710
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
434
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
711
435
  field: z.ZodString;
712
436
  operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
713
437
  "=": "=";
@@ -741,7 +465,7 @@ export declare const zAnnotation: z.ZodObject<{
741
465
  "not in": "not in";
742
466
  }>>>;
743
467
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
744
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
468
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
745
469
  field: z.ZodString;
746
470
  operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
747
471
  "=": "=";
@@ -1,9 +1,9 @@
1
- import { type Selector, type Selectors } from '../../dataSelector';
1
+ import type { AreaSelectors, AreaSelector } from '../../dataSelector';
2
2
  export type AnnotationArea = {
3
3
  /**
4
4
  * @description 依赖选择的数据, 进行数据标记.
5
5
  */
6
- selector?: Selector | Selectors;
6
+ selector?: AreaSelector | AreaSelectors;
7
7
  /**
8
8
  * @description 标注的文本
9
9
  * @default ''
@@ -1,12 +1,7 @@
1
- import { type Selector, type Selectors } from '../../dataSelector';
2
1
  /**
3
- * @description 水平标注线, 根据用户设置的selector yValue, 从左向右绘制一条末尾有箭头的线, 标签默认在标注线的终点正下方
2
+ * @description 水平标注线, 根据用户设置的 yValue, 从左向右绘制一条末尾有箭头的线, 标签默认在标注线的终点正下方
4
3
  */
5
4
  export type AnnotationHorizontalLine = {
6
- /**
7
- * @description 依赖选择的数据, 进行数据标记.
8
- */
9
- selector?: Selector | Selectors;
10
5
  /**
11
6
  * @description 固定的y值, 用于标注水平线, 类目轴在y方向, 则可输入维值, 数值轴在y方向, 则可输入具体的数值
12
7
  */
@@ -1,12 +1,7 @@
1
- import { type Selector, type Selectors } from '../../dataSelector';
2
1
  /**
3
2
  * @description 垂直标注线, 根据用户设置的selector 或 xValue, 从下向上绘制一条末尾有箭头的线, 标签默认在标注线终点的正左侧
4
3
  */
5
4
  export type AnnotationVerticalLine = {
6
- /**
7
- * @description 依赖选择的数据, 进行数据标记.
8
- */
9
- selector?: Selector | Selectors;
10
5
  /**
11
6
  * @description 固定的x值, 用于标注垂直线, 类目轴在x方向, 则可输入维值, 数值轴在x方向, 则可输入具体的数值
12
7
  */
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const zAnnotationArea: z.ZodObject<{
3
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
3
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
4
4
  field: z.ZodString;
5
5
  operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6
6
  "=": "=";
@@ -34,7 +34,7 @@ export declare const zAnnotationArea: z.ZodObject<{
34
34
  "not in": "not in";
35
35
  }>>>;
36
36
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
37
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
37
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
38
38
  field: z.ZodString;
39
39
  operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
40
40
  "=": "=";
@@ -1,9 +1,9 @@
1
- import { zSelector, zSelectors } from "../../dataSelector/index.js";
1
+ import { zAreaSelector, zAreaSelectors } from "../../dataSelector/index.js";
2
2
  import { z } from "zod";
3
3
  const zAnnotationArea = z.object({
4
4
  selector: z.union([
5
- zSelector,
6
- zSelectors
5
+ zAreaSelector,
6
+ zAreaSelectors
7
7
  ]).nullish(),
8
8
  textPosition: z["enum"]([
9
9
  'top',
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/annotation/zAnnotationArea.js","sources":["../../../../../src/types/properties/annotation/zAnnotationArea.ts"],"sourcesContent":["import { zSelector, zSelectors } from '../../dataSelector'\nimport { z } from 'zod'\n\nexport const zAnnotationArea = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n textPosition: z\n .enum(['top', 'topRight', 'topLeft', 'bottom', 'bottomLeft', 'bottomRight', 'left', 'right'])\n .default('top')\n .nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('center').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#191d24').nullish(),\n textBackgroundBorderColor: z.string().default('#191d24').nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundPadding: z.number().default(4).nullish(),\n\n areaColor: z.string().default('#888888').nullish(),\n areaColorOpacity: z.number().default(0.15).nullish(),\n areaBorderColor: z.string().default('#888888').nullish(),\n areaBorderWidth: z.number().default(1).nullish(),\n areaBorderRadius: z.number().default(4).nullish(),\n areaLineDash: z.array(z.number()).nullish(),\n\n outerPadding: z.number().default(4).nullish(),\n})\n"],"names":["zAnnotationArea","z","zSelector","zSelectors"],"mappings":";;AAGO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,OAAO;IAClD,cAAcF,CAAC,CAADA,OACP,CAAC;QAAC;QAAO;QAAY;QAAW;QAAU;QAAc;QAAe;QAAQ;KAAQ,EAC3F,OAAO,CAAC,OACR,OAAO;IACV,MAAMA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,UAAU,OAAO;IACxE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAEpD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,kBAAkBA,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,OAAO;IAClD,iBAAiBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IACtD,iBAAiBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAC9C,kBAAkBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAC/C,cAAcA,EAAE,KAAK,CAACA,EAAE,MAAM,IAAI,OAAO;IAEzC,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;AAC7C"}
1
+ {"version":3,"file":"types/properties/annotation/zAnnotationArea.js","sources":["../../../../../src/types/properties/annotation/zAnnotationArea.ts"],"sourcesContent":["import { zAreaSelector, zAreaSelectors } from '../../dataSelector'\nimport { z } from 'zod'\n\nexport const zAnnotationArea = z.object({\n selector: z.union([zAreaSelector, zAreaSelectors]).nullish(),\n textPosition: z\n .enum(['top', 'topRight', 'topLeft', 'bottom', 'bottomLeft', 'bottomRight', 'left', 'right'])\n .default('top')\n .nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('center').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#191d24').nullish(),\n textBackgroundBorderColor: z.string().default('#191d24').nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundPadding: z.number().default(4).nullish(),\n\n areaColor: z.string().default('#888888').nullish(),\n areaColorOpacity: z.number().default(0.15).nullish(),\n areaBorderColor: z.string().default('#888888').nullish(),\n areaBorderWidth: z.number().default(1).nullish(),\n areaBorderRadius: z.number().default(4).nullish(),\n areaLineDash: z.array(z.number()).nullish(),\n\n outerPadding: z.number().default(4).nullish(),\n})\n"],"names":["zAnnotationArea","z","zAreaSelector","zAreaSelectors"],"mappings":";;AAGO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAeC;KAAe,EAAE,OAAO;IAC1D,cAAcF,CAAC,CAADA,OACP,CAAC;QAAC;QAAO;QAAY;QAAW;QAAU;QAAc;QAAe;QAAQ;KAAQ,EAC3F,OAAO,CAAC,OACR,OAAO;IACV,MAAMA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,UAAU,OAAO;IACxE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAEpD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,kBAAkBA,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,OAAO;IAClD,iBAAiBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IACtD,iBAAiBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAC9C,kBAAkBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAC/C,cAAcA,EAAE,KAAK,CAACA,EAAE,MAAM,IAAI,OAAO;IAEzC,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;AAC7C"}
@@ -1,74 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const zAnnotationHorizontalLine: z.ZodObject<{
3
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
4
- field: z.ZodString;
5
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6
- "=": "=";
7
- "==": "==";
8
- "!=": "!=";
9
- ">": ">";
10
- "<": "<";
11
- ">=": ">=";
12
- "<=": "<=";
13
- between: "between";
14
- }>>>;
15
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16
- "=": "=";
17
- "==": "==";
18
- "!=": "!=";
19
- ">": ">";
20
- "<": "<";
21
- ">=": ">=";
22
- "<=": "<=";
23
- between: "between";
24
- }>>>;
25
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
26
- }, z.core.$strip>, z.ZodObject<{
27
- field: z.ZodString;
28
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29
- in: "in";
30
- "not in": "not in";
31
- }>>>;
32
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
33
- in: "in";
34
- "not in": "not in";
35
- }>>>;
36
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
37
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
38
- field: z.ZodString;
39
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
40
- "=": "=";
41
- "==": "==";
42
- "!=": "!=";
43
- ">": ">";
44
- "<": "<";
45
- ">=": ">=";
46
- "<=": "<=";
47
- between: "between";
48
- }>>>;
49
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
50
- "=": "=";
51
- "==": "==";
52
- "!=": "!=";
53
- ">": ">";
54
- "<": "<";
55
- ">=": ">=";
56
- "<=": "<=";
57
- between: "between";
58
- }>>>;
59
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
60
- }, z.core.$strip>, z.ZodObject<{
61
- field: z.ZodString;
62
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
63
- in: "in";
64
- "not in": "not in";
65
- }>>>;
66
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
67
- in: "in";
68
- "not in": "not in";
69
- }>>>;
70
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
71
- }, z.core.$strip>]>>]>>>;
72
3
  yValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
73
4
  text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
74
5
  textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -1,10 +1,5 @@
1
- import { zSelector, zSelectors } from "../../dataSelector/index.js";
2
1
  import { z } from "zod";
3
2
  const zAnnotationHorizontalLine = z.object({
4
- selector: z.union([
5
- zSelector,
6
- zSelectors
7
- ]).nullish(),
8
3
  yValue: z.union([
9
4
  z.number(),
10
5
  z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/annotation/zAnnotationHorizontalLine.js","sources":["../../../../../src/types/properties/annotation/zAnnotationHorizontalLine.ts"],"sourcesContent":["import { zSelector, zSelectors } from '../../dataSelector'\nimport { z } from 'zod'\n\nexport const zAnnotationHorizontalLine = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n yValue: z.union([z.number(), z.string(), z.array(z.union([z.number(), z.string()]))]).nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textPosition: z\n .enum(['outsideStart', 'outsideEnd', 'outsideMiddle', 'insideStart', 'insideMiddle', 'insideEnd'])\n .default('insideEnd')\n .nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('right').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n lineVisible: z.boolean().default(true).nullish(),\n lineColor: z.string().default('#212121').nullish(),\n lineWidth: z.number().default(1).nullish(),\n lineStyle: z\n .union([z.literal('solid'), z.literal('dashed'), z.literal('dotted')])\n .default('dashed')\n .nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().default('#212121').nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundPadding: z.number().default(2).nullish(),\n})\n"],"names":["zAnnotationHorizontalLine","z","zSelector","zSelectors"],"mappings":";;AAGO,MAAMA,4BAA4BC,EAAE,MAAM,CAAC;IAChD,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,OAAO;IAClD,QAAQF,EAAE,KAAK,CAAC;QAACA,EAAE,MAAM;QAAIA,EAAE,MAAM;QAAIA,EAAE,KAAK,CAACA,EAAE,KAAK,CAAC;YAACA,EAAE,MAAM;YAAIA,EAAE,MAAM;SAAG;KAAG,EAAE,OAAO;IAC7F,MAAMA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,cAAcA,CAAC,CAADA,OACP,CAAC;QAAC;QAAgB;QAAc;QAAiB;QAAe;QAAgB;KAAY,EAChG,OAAO,CAAC,aACR,OAAO;IACV,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,SAAS,OAAO;IACvE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,aAAaA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IAC9C,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxC,WAAWA,EAAAA,KACH,CAAC;QAACA,EAAE,OAAO,CAAC;QAAUA,EAAE,OAAO,CAAC;QAAWA,EAAE,OAAO,CAAC;KAAU,EACpE,OAAO,CAAC,UACR,OAAO;IAEV,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;AACtD"}
1
+ {"version":3,"file":"types/properties/annotation/zAnnotationHorizontalLine.js","sources":["../../../../../src/types/properties/annotation/zAnnotationHorizontalLine.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zAnnotationHorizontalLine = z.object({\n yValue: z.union([z.number(), z.string(), z.array(z.union([z.number(), z.string()]))]).nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textPosition: z\n .enum(['outsideStart', 'outsideEnd', 'outsideMiddle', 'insideStart', 'insideMiddle', 'insideEnd'])\n .default('insideEnd')\n .nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('right').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n lineVisible: z.boolean().default(true).nullish(),\n lineColor: z.string().default('#212121').nullish(),\n lineWidth: z.number().default(1).nullish(),\n lineStyle: z\n .union([z.literal('solid'), z.literal('dashed'), z.literal('dotted')])\n .default('dashed')\n .nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().default('#212121').nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundPadding: z.number().default(2).nullish(),\n})\n"],"names":["zAnnotationHorizontalLine","z"],"mappings":";AAEO,MAAMA,4BAA4BC,EAAE,MAAM,CAAC;IAChD,QAAQA,EAAE,KAAK,CAAC;QAACA,EAAE,MAAM;QAAIA,EAAE,MAAM;QAAIA,EAAE,KAAK,CAACA,EAAE,KAAK,CAAC;YAACA,EAAE,MAAM;YAAIA,EAAE,MAAM;SAAG;KAAG,EAAE,OAAO;IAC7F,MAAMA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,cAAcA,CAAC,CAADA,OACP,CAAC;QAAC;QAAgB;QAAc;QAAiB;QAAe;QAAgB;KAAY,EAChG,OAAO,CAAC,aACR,OAAO;IACV,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,SAAS,OAAO;IACvE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,aAAaA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IAC9C,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxC,WAAWA,EAAAA,KACH,CAAC;QAACA,EAAE,OAAO,CAAC;QAAUA,EAAE,OAAO,CAAC;QAAWA,EAAE,OAAO,CAAC;KAAU,EACpE,OAAO,CAAC,UACR,OAAO;IAEV,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;AACtD"}
@@ -1,74 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const zAnnotationVerticalLine: z.ZodObject<{
3
- selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
4
- field: z.ZodString;
5
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6
- "=": "=";
7
- "==": "==";
8
- "!=": "!=";
9
- ">": ">";
10
- "<": "<";
11
- ">=": ">=";
12
- "<=": "<=";
13
- between: "between";
14
- }>>>;
15
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16
- "=": "=";
17
- "==": "==";
18
- "!=": "!=";
19
- ">": ">";
20
- "<": "<";
21
- ">=": ">=";
22
- "<=": "<=";
23
- between: "between";
24
- }>>>;
25
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
26
- }, z.core.$strip>, z.ZodObject<{
27
- field: z.ZodString;
28
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29
- in: "in";
30
- "not in": "not in";
31
- }>>>;
32
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
33
- in: "in";
34
- "not in": "not in";
35
- }>>>;
36
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
37
- }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
38
- field: z.ZodString;
39
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
40
- "=": "=";
41
- "==": "==";
42
- "!=": "!=";
43
- ">": ">";
44
- "<": "<";
45
- ">=": ">=";
46
- "<=": "<=";
47
- between: "between";
48
- }>>>;
49
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
50
- "=": "=";
51
- "==": "==";
52
- "!=": "!=";
53
- ">": ">";
54
- "<": "<";
55
- ">=": ">=";
56
- "<=": "<=";
57
- between: "between";
58
- }>>>;
59
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
60
- }, z.core.$strip>, z.ZodObject<{
61
- field: z.ZodString;
62
- operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
63
- in: "in";
64
- "not in": "not in";
65
- }>>>;
66
- op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
67
- in: "in";
68
- "not in": "not in";
69
- }>>>;
70
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
71
- }, z.core.$strip>]>>]>>>;
72
3
  xValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
73
4
  text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
74
5
  textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -1,10 +1,5 @@
1
- import { zSelector, zSelectors } from "../../dataSelector/index.js";
2
1
  import { z } from "zod";
3
2
  const zAnnotationVerticalLine = z.object({
4
- selector: z.union([
5
- zSelector,
6
- zSelectors
7
- ]).nullish(),
8
3
  xValue: z.union([
9
4
  z.number(),
10
5
  z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/annotation/zAnnotationVerticalLine.js","sources":["../../../../../src/types/properties/annotation/zAnnotationVerticalLine.ts"],"sourcesContent":["import { zSelector, zSelectors } from '../../dataSelector'\nimport { z } from 'zod'\n\nexport const zAnnotationVerticalLine = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n xValue: z.union([z.number(), z.string(), z.array(z.union([z.number(), z.string()]))]).nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textPosition: z\n .enum(['outsideStart', 'outsideEnd', 'outsideMiddle', 'insideStart', 'insideMiddle', 'insideEnd'])\n .default('insideEnd')\n .nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('right').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().default('#212121').nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundPadding: z.number().default(2).nullish(),\n\n lineVisible: z.boolean().default(true).nullish(),\n lineColor: z.string().default('#212121').nullish(),\n lineWidth: z.number().default(1).nullish(),\n lineStyle: z\n .union([z.literal('solid'), z.literal('dashed'), z.literal('dotted')])\n .default('dashed')\n .nullish(),\n})\n"],"names":["zAnnotationVerticalLine","z","zSelector","zSelectors"],"mappings":";;AAGO,MAAMA,0BAA0BC,EAAE,MAAM,CAAC;IAC9C,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,OAAO;IAClD,QAAQF,EAAE,KAAK,CAAC;QAACA,EAAE,MAAM;QAAIA,EAAE,MAAM;QAAIA,EAAE,KAAK,CAACA,EAAE,KAAK,CAAC;YAACA,EAAE,MAAM;YAAIA,EAAE,MAAM;SAAG;KAAG,EAAE,OAAO;IAC7F,MAAMA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,cAAcA,CAAC,CAADA,OACP,CAAC;QAAC;QAAgB;QAAc;QAAiB;QAAe;QAAgB;KAAY,EAChG,OAAO,CAAC,aACR,OAAO;IACV,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,SAAS,OAAO;IACvE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAEpD,aAAaA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IAC9C,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxC,WAAWA,EAAAA,KACH,CAAC;QAACA,EAAE,OAAO,CAAC;QAAUA,EAAE,OAAO,CAAC;QAAWA,EAAE,OAAO,CAAC;KAAU,EACpE,OAAO,CAAC,UACR,OAAO;AACZ"}
1
+ {"version":3,"file":"types/properties/annotation/zAnnotationVerticalLine.js","sources":["../../../../../src/types/properties/annotation/zAnnotationVerticalLine.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zAnnotationVerticalLine = z.object({\n xValue: z.union([z.number(), z.string(), z.array(z.union([z.number(), z.string()]))]).nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textPosition: z\n .enum(['outsideStart', 'outsideEnd', 'outsideMiddle', 'insideStart', 'insideMiddle', 'insideEnd'])\n .default('insideEnd')\n .nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('right').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().default('#212121').nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundPadding: z.number().default(2).nullish(),\n\n lineVisible: z.boolean().default(true).nullish(),\n lineColor: z.string().default('#212121').nullish(),\n lineWidth: z.number().default(1).nullish(),\n lineStyle: z\n .union([z.literal('solid'), z.literal('dashed'), z.literal('dotted')])\n .default('dashed')\n .nullish(),\n})\n"],"names":["zAnnotationVerticalLine","z"],"mappings":";AAEO,MAAMA,0BAA0BC,EAAE,MAAM,CAAC;IAC9C,QAAQA,EAAE,KAAK,CAAC;QAACA,EAAE,MAAM;QAAIA,EAAE,MAAM;QAAIA,EAAE,KAAK,CAACA,EAAE,KAAK,CAAC;YAACA,EAAE,MAAM;YAAIA,EAAE,MAAM;SAAG;KAAG,EAAE,OAAO;IAC7F,MAAMA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,cAAcA,CAAC,CAADA,OACP,CAAC;QAAC;QAAgB;QAAc;QAAiB;QAAe;QAAgB;KAAY,EAChG,OAAO,CAAC,aACR,OAAO;IACV,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,SAAS,OAAO;IACvE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAEpD,aAAaA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IAC9C,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxC,WAAWA,EAAAA,KACH,CAAC;QAACA,EAAE,OAAO,CAAC;QAAUA,EAAE,OAAO,CAAC;QAAWA,EAAE,OAAO,CAAC;KAAU,EACpE,OAAO,CAAC,UACR,OAAO;AACZ"}