@bitbybit-dev/base 1.2.0 → 1.3.0-rc.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.
Files changed (55) hide show
  1. package/lib/api/GlobalCDNProvider.js +1 -1
  2. package/lib/api/inputs/base-inputs.d.ts +13 -12
  3. package/lib/api/inputs/color-inputs.d.ts +97 -48
  4. package/lib/api/inputs/color-inputs.js +95 -46
  5. package/lib/api/inputs/dates-inputs.d.ts +67 -26
  6. package/lib/api/inputs/dates-inputs.js +57 -16
  7. package/lib/api/inputs/io-inputs.d.ts +13 -15
  8. package/lib/api/inputs/io-inputs.js +7 -8
  9. package/lib/api/inputs/line-inputs.d.ts +88 -33
  10. package/lib/api/inputs/line-inputs.js +61 -11
  11. package/lib/api/inputs/lists-inputs.d.ts +207 -96
  12. package/lib/api/inputs/lists-inputs.js +153 -45
  13. package/lib/api/inputs/logic-inputs.d.ts +52 -22
  14. package/lib/api/inputs/logic-inputs.js +41 -12
  15. package/lib/api/inputs/math-inputs.d.ts +113 -52
  16. package/lib/api/inputs/math-inputs.js +112 -51
  17. package/lib/api/inputs/mesh-inputs.d.ts +30 -11
  18. package/lib/api/inputs/mesh-inputs.js +21 -3
  19. package/lib/api/inputs/point-inputs.d.ts +240 -107
  20. package/lib/api/inputs/point-inputs.js +199 -73
  21. package/lib/api/inputs/polyline-inputs.d.ts +68 -28
  22. package/lib/api/inputs/polyline-inputs.js +48 -13
  23. package/lib/api/inputs/text-inputs.d.ts +117 -46
  24. package/lib/api/inputs/text-inputs.js +111 -41
  25. package/lib/api/inputs/transforms-inputs.d.ts +65 -23
  26. package/lib/api/inputs/transforms-inputs.js +64 -22
  27. package/lib/api/inputs/vector-inputs.d.ts +154 -76
  28. package/lib/api/inputs/vector-inputs.js +132 -57
  29. package/lib/api/models/point/hex-grid-data.d.ts +1 -1
  30. package/lib/api/models/point/hex-grid-data.js +1 -1
  31. package/lib/api/services/color.d.ts +149 -70
  32. package/lib/api/services/color.js +149 -70
  33. package/lib/api/services/dates.d.ts +313 -150
  34. package/lib/api/services/dates.js +313 -150
  35. package/lib/api/services/line.d.ts +138 -68
  36. package/lib/api/services/line.js +138 -68
  37. package/lib/api/services/lists.d.ts +357 -177
  38. package/lib/api/services/lists.js +357 -177
  39. package/lib/api/services/logic.d.ts +98 -45
  40. package/lib/api/services/logic.js +98 -45
  41. package/lib/api/services/math.d.ts +363 -211
  42. package/lib/api/services/math.js +363 -211
  43. package/lib/api/services/mesh.d.ts +73 -31
  44. package/lib/api/services/mesh.js +73 -31
  45. package/lib/api/services/point.d.ts +367 -147
  46. package/lib/api/services/point.js +367 -147
  47. package/lib/api/services/polyline.d.ts +146 -71
  48. package/lib/api/services/polyline.js +146 -71
  49. package/lib/api/services/text.d.ts +320 -165
  50. package/lib/api/services/text.js +320 -165
  51. package/lib/api/services/transforms.d.ts +145 -58
  52. package/lib/api/services/transforms.js +145 -58
  53. package/lib/api/services/vector.d.ts +381 -156
  54. package/lib/api/services/vector.js +381 -156
  55. package/package.json +1 -1
@@ -15,10 +15,13 @@ export var Lists;
15
15
  firstLastEnum["first"] = "first";
16
16
  firstLastEnum["last"] = "last";
17
17
  })(firstLastEnum = Lists.firstLastEnum || (Lists.firstLastEnum = {}));
18
+ /**
19
+ * A list and a position for `lists.getItem`.
20
+ */
18
21
  class ListItemDto {
19
22
  constructor(list, index, clone) {
20
23
  /**
21
- * Index of the item in the list - 0 means first.
24
+ * Position of the item, counting from 0; outside the list it throws.
22
25
  * @default 0
23
26
  * @minimum 0
24
27
  * @maximum Infinity
@@ -26,7 +29,8 @@ export var Lists;
26
29
  */
27
30
  this.index = 0;
28
31
  /**
29
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
32
+ * When true, the item is deep-copied so the caller cannot change the list through it; an
33
+ * item that cannot be copied, such as one with circular references, throws.
30
34
  * @default true
31
35
  */
32
36
  this.clone = true;
@@ -42,10 +46,13 @@ export var Lists;
42
46
  }
43
47
  }
44
48
  Lists.ListItemDto = ListItemDto;
49
+ /**
50
+ * A list and a range of positions for `lists.getSubList`.
51
+ */
45
52
  class SubListDto {
46
53
  constructor(list, indexStart, indexEnd, clone) {
47
54
  /**
48
- * Index from which to start the sublist - 0 means first.
55
+ * Position of the first item to take, counting from 0.
49
56
  * @default 0
50
57
  * @minimum 0
51
58
  * @maximum Infinity
@@ -53,7 +60,7 @@ export var Lists;
53
60
  */
54
61
  this.indexStart = 0;
55
62
  /**
56
- * Index to which to end the sublist - 0 means first.
63
+ * Position just after the last item to take; it is not included.
57
64
  * @default 1
58
65
  * @minimum 0
59
66
  * @maximum Infinity
@@ -61,7 +68,8 @@ export var Lists;
61
68
  */
62
69
  this.indexEnd = 1;
63
70
  /**
64
- * Tries to clone the data in the component, sometimes it may not be possible if structure is circular
71
+ * When true, the items are deep-copied so the caller cannot change the list through them;
72
+ * an item that cannot be copied throws.
65
73
  * @default true
66
74
  */
67
75
  this.clone = true;
@@ -80,10 +88,15 @@ export var Lists;
80
88
  }
81
89
  }
82
90
  Lists.SubListDto = SubListDto;
91
+ /**
92
+ * A list for the methods that read or reshape it whole: `lists.reverse`, `lists.shuffle`,
93
+ * `lists.flipLists`, `lists.getFirstItem` and the others.
94
+ */
83
95
  class ListCloneDto {
84
96
  constructor(list, clone) {
85
97
  /**
86
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
98
+ * When true, the list is deep-copied first so the input is never changed; when false the
99
+ * modifying methods work in place. Circular data cannot be copied and throws.
87
100
  * @default true
88
101
  */
89
102
  this.clone = true;
@@ -96,15 +109,20 @@ export var Lists;
96
109
  }
97
110
  }
98
111
  Lists.ListCloneDto = ListCloneDto;
112
+ /**
113
+ * A pattern and a length for `lists.repeatInPattern`, which repeats the pattern until the list
114
+ * is that long.
115
+ */
99
116
  class RepeatInPatternDto {
100
117
  constructor(list) {
101
118
  /**
102
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
119
+ * When true, the pattern is deep-copied first so the input is never changed. Data with
120
+ * circular references cannot be copied and throws.
103
121
  * @default true
104
122
  */
105
123
  this.clone = true;
106
124
  /**
107
- * The limit of the length of the list
125
+ * The length of the result; the pattern is cut off there.
108
126
  * @default 100
109
127
  * @minimum 1
110
128
  * @maximum Infinity
@@ -117,15 +135,20 @@ export var Lists;
117
135
  }
118
136
  }
119
137
  Lists.RepeatInPatternDto = RepeatInPatternDto;
138
+ /**
139
+ * A list and a direction for `lists.sortNumber` and `lists.sortTexts`.
140
+ */
120
141
  class SortDto {
121
142
  constructor(list, clone, orderAsc) {
122
143
  /**
123
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
144
+ * When true, the list is deep-copied first so the input stays in its old order; when false
145
+ * it is sorted in place.
124
146
  * @default true
125
147
  */
126
148
  this.clone = true;
127
149
  /**
128
- * If true, the list will be sorted in ascending order, otherwise in descending order
150
+ * When true, the smallest or alphabetically first item comes first; when false the order is
151
+ * reversed.
129
152
  * @default true
130
153
  */
131
154
  this.orderAsc = true;
@@ -141,20 +164,24 @@ export var Lists;
141
164
  }
142
165
  }
143
166
  Lists.SortDto = SortDto;
167
+ /**
168
+ * Objects, the property to compare and a direction for `lists.sortByPropValue`.
169
+ */
144
170
  class SortJsonDto {
145
171
  constructor(list, clone, orderAsc) {
146
172
  /**
147
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
173
+ * When true, the list is deep-copied first so the input stays in its old order; when false
174
+ * it is sorted in place.
148
175
  * @default true
149
176
  */
150
177
  this.clone = true;
151
178
  /**
152
- * If true, the list will be sorted in ascending order, otherwise in descending order
179
+ * When true, the object with the smallest value comes first; when false the largest.
153
180
  * @default true
154
181
  */
155
182
  this.orderAsc = true;
156
183
  /**
157
- * The property to sort by
184
+ * Name of the property whose numeric value decides the order.
158
185
  * @default propName
159
186
  */
160
187
  this.property = "propName";
@@ -170,6 +197,9 @@ export var Lists;
170
197
  }
171
198
  }
172
199
  Lists.SortJsonDto = SortJsonDto;
200
+ /**
201
+ * A list for `lists.removeAllItems`, which empties it in place.
202
+ */
173
203
  class ListDto {
174
204
  constructor(list) {
175
205
  if (list !== undefined) {
@@ -178,10 +208,13 @@ export var Lists;
178
208
  }
179
209
  }
180
210
  Lists.ListDto = ListDto;
211
+ /**
212
+ * A list and a group size for `lists.groupNth`.
213
+ */
181
214
  class GroupListDto {
182
215
  constructor(list, nrElements, keepRemainder) {
183
216
  /**
184
- * The number of elements in each group
217
+ * How many items go in each group.
185
218
  * @default 2
186
219
  * @minimum 1
187
220
  * @maximum Infinity
@@ -189,7 +222,8 @@ export var Lists;
189
222
  */
190
223
  this.nrElements = 2;
191
224
  /**
192
- * If true, the remainder of the list will be added as a separate group
225
+ * When true, the items left over at the end form a shorter last group; when false they are
226
+ * dropped.
193
227
  * @default false
194
228
  */
195
229
  this.keepRemainder = false;
@@ -205,10 +239,13 @@ export var Lists;
205
239
  }
206
240
  }
207
241
  Lists.GroupListDto = GroupListDto;
242
+ /**
243
+ * An item and a count for `lists.repeat`.
244
+ */
208
245
  class MultiplyItemDto {
209
246
  constructor(item, times) {
210
247
  /**
211
- * Times to multiply
248
+ * How many entries the result has.
212
249
  * @default 10
213
250
  * @minimum 0
214
251
  * @maximum Infinity
@@ -224,10 +261,14 @@ export var Lists;
224
261
  }
225
262
  }
226
263
  Lists.MultiplyItemDto = MultiplyItemDto;
264
+ /**
265
+ * A list, an item and a position for `lists.addItemAtIndex`.
266
+ */
227
267
  class AddItemAtIndexDto {
228
268
  constructor(list, item, index, clone) {
229
269
  /**
230
- * The index to add the item at
270
+ * The position the item takes, counting from 0; the item there and everything after it
271
+ * shift up by one.
231
272
  * @default 0
232
273
  * @minimum 0
233
274
  * @maximum Infinity
@@ -235,7 +276,8 @@ export var Lists;
235
276
  */
236
277
  this.index = 0;
237
278
  /**
238
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
279
+ * When true, the list is deep-copied first so the input is never changed; when false the
280
+ * item is inserted in place.
239
281
  * @default true
240
282
  */
241
283
  this.clone = true;
@@ -254,15 +296,20 @@ export var Lists;
254
296
  }
255
297
  }
256
298
  Lists.AddItemAtIndexDto = AddItemAtIndexDto;
299
+ /**
300
+ * A list, an item and several positions for `lists.addItemAtIndexes`.
301
+ */
257
302
  class AddItemAtIndexesDto {
258
303
  constructor(list, item, indexes, clone) {
259
304
  /**
260
- * The index to add the item at
305
+ * The positions, counted on the list as it was before any insertion; positions outside the
306
+ * list are ignored.
261
307
  * @default [0]
262
308
  */
263
309
  this.indexes = [0];
264
310
  /**
265
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
311
+ * When true, the list is deep-copied first so the input is never changed; when false the
312
+ * items are inserted in place.
266
313
  * @default true
267
314
  */
268
315
  this.clone = true;
@@ -281,15 +328,20 @@ export var Lists;
281
328
  }
282
329
  }
283
330
  Lists.AddItemAtIndexesDto = AddItemAtIndexesDto;
331
+ /**
332
+ * A list, several items and one position per item for `lists.addItemsAtIndexes`.
333
+ */
284
334
  class AddItemsAtIndexesDto {
285
335
  constructor(list, items, indexes, clone) {
286
336
  /**
287
- * The index to add the item at
337
+ * One position per item, in ascending order, counted on the list as it was before any
338
+ * insertion; a wrong count or order throws.
288
339
  * @default [0]
289
340
  */
290
341
  this.indexes = [0];
291
342
  /**
292
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
343
+ * When true, the list is deep-copied first so the input is never changed; when false the
344
+ * items are inserted in place.
293
345
  * @default true
294
346
  */
295
347
  this.clone = true;
@@ -308,10 +360,14 @@ export var Lists;
308
360
  }
309
361
  }
310
362
  Lists.AddItemsAtIndexesDto = AddItemsAtIndexesDto;
363
+ /**
364
+ * A list and a position for `lists.removeItemAtIndex` and `lists.removeItemAtIndexFromEnd`.
365
+ */
311
366
  class RemoveItemAtIndexDto {
312
367
  constructor(list, index, clone) {
313
368
  /**
314
- * The index to on which remove item
369
+ * The position to remove, counting from 0 at the start, or from 0 at the end for the
370
+ * from-end method; outside the list nothing is removed.
315
371
  * @default 0
316
372
  * @minimum 0
317
373
  * @maximum Infinity
@@ -319,7 +375,8 @@ export var Lists;
319
375
  */
320
376
  this.index = 0;
321
377
  /**
322
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
378
+ * When true, the list is deep-copied first so the input is never changed; when false the
379
+ * item is removed in place.
323
380
  * @default true
324
381
  */
325
382
  this.clone = true;
@@ -335,10 +392,14 @@ export var Lists;
335
392
  }
336
393
  }
337
394
  Lists.RemoveItemAtIndexDto = RemoveItemAtIndexDto;
395
+ /**
396
+ * A list and several positions for `lists.removeItemsAtIndexes`.
397
+ */
338
398
  class RemoveItemsAtIndexesDto {
339
399
  constructor(list, indexes, clone) {
340
400
  /**
341
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
401
+ * When true, the list is deep-copied first so the input is never changed; when false the
402
+ * items are removed in place.
342
403
  * @default true
343
404
  */
344
405
  this.clone = true;
@@ -354,10 +415,13 @@ export var Lists;
354
415
  }
355
416
  }
356
417
  Lists.RemoveItemsAtIndexesDto = RemoveItemsAtIndexesDto;
418
+ /**
419
+ * A list, a step and an offset for `lists.removeNthItem`.
420
+ */
357
421
  class RemoveNthItemDto {
358
422
  constructor(list, nth, offset, clone) {
359
423
  /**
360
- * The nth item to remove
424
+ * The step: every nth item, counted from the offset, is removed.
361
425
  * @default 2
362
426
  * @minimum 1
363
427
  * @maximum Infinity
@@ -365,7 +429,7 @@ export var Lists;
365
429
  */
366
430
  this.nth = 2;
367
431
  /**
368
- * The offset from which to start counting
432
+ * Position of the first item to remove, counting from 0.
369
433
  * @default 0
370
434
  * @minimum 0
371
435
  * @maximum Infinity
@@ -373,7 +437,8 @@ export var Lists;
373
437
  */
374
438
  this.offset = 0;
375
439
  /**
376
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
440
+ * When true, the list is deep-copied first so the input is never changed; when false the
441
+ * items are removed in place.
377
442
  * @default true
378
443
  */
379
444
  this.clone = true;
@@ -392,18 +457,22 @@ export var Lists;
392
457
  }
393
458
  }
394
459
  Lists.RemoveNthItemDto = RemoveNthItemDto;
460
+ /**
461
+ * A list and a probability for `lists.randomGetThreshold` and `lists.randomRemoveThreshold`.
462
+ */
395
463
  class RandomThresholdDto {
396
464
  constructor(list, threshold, clone) {
397
465
  /**
398
- * Threshold for items
466
+ * The probability, from 0 to 1, that any one item is kept by the get method or dropped by
467
+ * the remove method.
399
468
  * @default 0.5
400
469
  * @minimum 0
401
470
  * @maximum 1
402
- * @step 1
471
+ * @step 0.1
403
472
  */
404
- this.threshold = 1;
473
+ this.threshold = 0.5;
405
474
  /**
406
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
475
+ * When true, the list is deep-copied first so the input is never changed.
407
476
  * @default true
408
477
  */
409
478
  this.clone = true;
@@ -419,10 +488,14 @@ export var Lists;
419
488
  }
420
489
  }
421
490
  Lists.RandomThresholdDto = RandomThresholdDto;
491
+ /**
492
+ * A list for `lists.removeDuplicates` and `lists.removeDuplicateNumbers`, which drop repeated
493
+ * items.
494
+ */
422
495
  class RemoveDuplicatesDto {
423
496
  constructor(list, clone) {
424
497
  /**
425
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
498
+ * When true, the list is deep-copied first so the input is never changed.
426
499
  * @default true
427
500
  */
428
501
  this.clone = true;
@@ -435,10 +508,14 @@ export var Lists;
435
508
  }
436
509
  }
437
510
  Lists.RemoveDuplicatesDto = RemoveDuplicatesDto;
511
+ /**
512
+ * Numbers and a tolerance for `lists.removeDuplicateNumbersTolerance`, which drops
513
+ * near-repeats.
514
+ */
438
515
  class RemoveDuplicatesToleranceDto {
439
516
  constructor(list, clone, tolerance) {
440
517
  /**
441
- * The tolerance to apply
518
+ * Numbers closer together than this count as the same.
442
519
  * @default 1e-7
443
520
  * @minimum 0
444
521
  * @maximum Infinity
@@ -446,7 +523,7 @@ export var Lists;
446
523
  */
447
524
  this.tolerance = 1e-7;
448
525
  /**
449
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
526
+ * When true, the list is deep-copied first so the input is never changed.
450
527
  * @default true
451
528
  */
452
529
  this.clone = true;
@@ -462,10 +539,14 @@ export var Lists;
462
539
  }
463
540
  }
464
541
  Lists.RemoveDuplicatesToleranceDto = RemoveDuplicatesToleranceDto;
542
+ /**
543
+ * A list and a repeating pattern for `lists.getByPattern`.
544
+ */
465
545
  class GetByPatternDto {
466
546
  constructor(list, pattern) {
467
547
  /**
468
- * The list of booleans to be used as a pattern (true means get, false means skip)
548
+ * The pattern of `true` (keep) and `false` (skip) applied item by item and repeated until
549
+ * the list ends.
469
550
  * @default [true, true, false]
470
551
  */
471
552
  this.pattern = [true, true, false];
@@ -478,10 +559,13 @@ export var Lists;
478
559
  }
479
560
  }
480
561
  Lists.GetByPatternDto = GetByPatternDto;
562
+ /**
563
+ * A list, a step and an offset for `lists.getNthItem`.
564
+ */
481
565
  class GetNthItemDto {
482
566
  constructor(list, nth, offset, clone) {
483
567
  /**
484
- * The nth item to get
568
+ * The step: every nth item, counted from the offset, is kept.
485
569
  * @default 2
486
570
  * @minimum 1
487
571
  * @maximum Infinity
@@ -489,7 +573,7 @@ export var Lists;
489
573
  */
490
574
  this.nth = 2;
491
575
  /**
492
- * The offset from which to start counting
576
+ * Position of the first item to keep, counting from 0.
493
577
  * @default 0
494
578
  * @minimum 0
495
579
  * @maximum Infinity
@@ -497,7 +581,7 @@ export var Lists;
497
581
  */
498
582
  this.offset = 0;
499
583
  /**
500
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
584
+ * When true, the items are deep-copied so the caller cannot change the list through them.
501
585
  * @default true
502
586
  */
503
587
  this.clone = true;
@@ -516,6 +600,9 @@ export var Lists;
516
600
  }
517
601
  }
518
602
  Lists.GetNthItemDto = GetNthItemDto;
603
+ /**
604
+ * Several lists for `lists.getLongestListLength`, which measures the longest of them.
605
+ */
519
606
  class GetLongestListLength {
520
607
  constructor(lists) {
521
608
  if (lists !== undefined) {
@@ -524,10 +611,14 @@ export var Lists;
524
611
  }
525
612
  }
526
613
  Lists.GetLongestListLength = GetLongestListLength;
614
+ /**
615
+ * Nested lists and a depth for `lists.mergeElementsOfLists`, which regroups items by position.
616
+ */
527
617
  class MergeElementsOfLists {
528
618
  constructor(lists, level) {
529
619
  /**
530
- * The level on which to merge the elements. 0 means first level
620
+ * How many levels of nesting to flatten inside each list before regrouping; 0 regroups the
621
+ * lists as they are.
531
622
  * @default 0
532
623
  * @minimum 0
533
624
  * @maximum Infinity
@@ -543,10 +634,14 @@ export var Lists;
543
634
  }
544
635
  }
545
636
  Lists.MergeElementsOfLists = MergeElementsOfLists;
637
+ /**
638
+ * A list and an item for `lists.addItem` and `lists.prependItem`.
639
+ */
546
640
  class AddItemDto {
547
641
  constructor(list, item, clone) {
548
642
  /**
549
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
643
+ * When true, the list is deep-copied first so the input is never changed; when false the
644
+ * item is added in place.
550
645
  * @default true
551
646
  */
552
647
  this.clone = true;
@@ -562,15 +657,19 @@ export var Lists;
562
657
  }
563
658
  }
564
659
  Lists.AddItemDto = AddItemDto;
660
+ /**
661
+ * A list, an item and an end for `lists.addItemFirstLast`.
662
+ */
565
663
  class AddItemFirstLastDto {
566
664
  constructor(list, item, position, clone) {
567
665
  /**
568
- * The option if the item needs to be added at the beginning or the end of the list
666
+ * Whether the item goes at the start (`first`) or the end (`last`).
569
667
  * @default last
570
668
  */
571
669
  this.position = firstLastEnum.last;
572
670
  /**
573
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
671
+ * When true, the list is deep-copied first so the input is never changed; when false the
672
+ * item is added in place.
574
673
  * @default true
575
674
  */
576
675
  this.clone = true;
@@ -589,10 +688,13 @@ export var Lists;
589
688
  }
590
689
  }
591
690
  Lists.AddItemFirstLastDto = AddItemFirstLastDto;
691
+ /**
692
+ * Several lists for `lists.concatenate`, joined end to end.
693
+ */
592
694
  class ConcatenateDto {
593
695
  constructor(lists, clone) {
594
696
  /**
595
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
697
+ * When true, the lists are deep-copied first so the inputs are never changed.
596
698
  * @default true
597
699
  */
598
700
  this.clone = true;
@@ -605,6 +707,9 @@ export var Lists;
605
707
  }
606
708
  }
607
709
  Lists.ConcatenateDto = ConcatenateDto;
710
+ /**
711
+ * A list and an item for `lists.includes` and `lists.findIndex`.
712
+ */
608
713
  class IncludesDto {
609
714
  constructor(list, item) {
610
715
  if (list !== undefined) {
@@ -616,10 +721,13 @@ export var Lists;
616
721
  }
617
722
  }
618
723
  Lists.IncludesDto = IncludesDto;
724
+ /**
725
+ * Several lists for `lists.interleave`, which weaves them together item by item.
726
+ */
619
727
  class InterleaveDto {
620
728
  constructor(lists, clone) {
621
729
  /**
622
- * Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error
730
+ * When true, the lists are deep-copied first so the inputs are never changed.
623
731
  * @default true
624
732
  */
625
733
  this.clone = true;