@bitbybit-dev/base 0.19.6 → 0.19.8

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 (61) hide show
  1. package/babel.config.cjs +0 -1
  2. package/{index.js → index.ts} +2 -1
  3. package/lib/api/inputs/base-inputs.ts +18 -0
  4. package/lib/api/inputs/{color-inputs.d.ts → color-inputs.ts} +48 -26
  5. package/lib/api/inputs/{lists-inputs.d.ts → lists-inputs.ts} +190 -91
  6. package/lib/api/inputs/{logic-inputs.d.ts → logic-inputs.ts} +46 -24
  7. package/lib/api/inputs/{math-inputs.d.ts → math-inputs.ts} +97 -53
  8. package/lib/api/inputs/{point-inputs.d.ts → point-inputs.ts} +168 -77
  9. package/lib/api/inputs/text-inputs.ts +108 -0
  10. package/lib/api/inputs/{transforms-inputs.d.ts → transforms-inputs.ts} +64 -35
  11. package/lib/api/inputs/{vector-inputs.d.ts → vector-inputs.ts} +104 -48
  12. package/lib/api/services/color.test.ts +86 -0
  13. package/lib/api/services/{color.js → color.ts} +34 -15
  14. package/lib/api/services/{geometry-helper.js → geometry-helper.ts} +43 -31
  15. package/lib/api/services/{index.d.ts → index.ts} +1 -1
  16. package/lib/api/services/lists.test.ts +612 -0
  17. package/lib/api/services/{lists.js → lists.ts} +83 -59
  18. package/lib/api/services/logic.test.ts +187 -0
  19. package/lib/api/services/{logic.js → logic.ts} +32 -24
  20. package/lib/api/services/math.test.ts +622 -0
  21. package/lib/api/services/{math.js → math.ts} +136 -71
  22. package/lib/api/services/{point.js → point.ts} +67 -32
  23. package/lib/api/services/text.test.ts +55 -0
  24. package/lib/api/services/{text.js → text.ts} +17 -7
  25. package/lib/api/services/{transforms.js → transforms.ts} +83 -37
  26. package/lib/api/services/vector.test.ts +360 -0
  27. package/lib/api/services/{vector.js → vector.ts} +80 -42
  28. package/lib/{index.d.ts → index.ts} +1 -0
  29. package/package.json +1 -1
  30. package/tsconfig.bitbybit.json +26 -0
  31. package/tsconfig.json +24 -0
  32. package/babel.config.d.cts +0 -5
  33. package/index.d.ts +0 -1
  34. package/lib/api/index.js +0 -1
  35. package/lib/api/inputs/base-inputs.d.ts +0 -35
  36. package/lib/api/inputs/base-inputs.js +0 -1
  37. package/lib/api/inputs/color-inputs.js +0 -164
  38. package/lib/api/inputs/index.js +0 -9
  39. package/lib/api/inputs/inputs.js +0 -9
  40. package/lib/api/inputs/lists-inputs.js +0 -576
  41. package/lib/api/inputs/logic-inputs.js +0 -111
  42. package/lib/api/inputs/math-inputs.js +0 -391
  43. package/lib/api/inputs/point-inputs.js +0 -521
  44. package/lib/api/inputs/text-inputs.d.ts +0 -83
  45. package/lib/api/inputs/text-inputs.js +0 -120
  46. package/lib/api/inputs/transforms-inputs.js +0 -200
  47. package/lib/api/inputs/vector-inputs.js +0 -304
  48. package/lib/api/services/color.d.ts +0 -114
  49. package/lib/api/services/geometry-helper.d.ts +0 -15
  50. package/lib/api/services/index.js +0 -9
  51. package/lib/api/services/lists.d.ts +0 -287
  52. package/lib/api/services/logic.d.ts +0 -99
  53. package/lib/api/services/math.d.ts +0 -349
  54. package/lib/api/services/point.d.ts +0 -222
  55. package/lib/api/services/text.d.ts +0 -69
  56. package/lib/api/services/transforms.d.ts +0 -122
  57. package/lib/api/services/vector.d.ts +0 -320
  58. package/lib/index.js +0 -1
  59. /package/lib/api/{index.d.ts → index.ts} +0 -0
  60. /package/lib/api/inputs/{index.d.ts → index.ts} +0 -0
  61. /package/lib/api/inputs/{inputs.d.ts → inputs.ts} +0 -0
@@ -1,349 +0,0 @@
1
- import * as Inputs from "../inputs";
2
- /**
3
- * Contains various math methods.
4
- */
5
- export declare class MathBitByBit {
6
- /**
7
- * Creates a number
8
- * @param inputs a number to be created
9
- * @returns number
10
- * @group create
11
- * @shortname number
12
- * @drawable false
13
- */
14
- number(inputs: Inputs.Math.NumberDto): number;
15
- /**
16
- * Does basic math operations
17
- * @param inputs two numbers and operator
18
- * @returns Result of math operation action
19
- * @group operations
20
- * @shortname two numbers
21
- * @drawable false
22
- */
23
- twoNrOperation(inputs: Inputs.Math.ActionOnTwoNumbersDto): number;
24
- /**
25
- * Does modulus operation
26
- * @param inputs two numbers and operator
27
- * @returns Result of modulus operation
28
- * @group operations
29
- * @shortname modulus
30
- * @drawable false
31
- */
32
- modulus(inputs: Inputs.Math.ModulusDto): number;
33
- /**
34
- * Does rounding to decimals
35
- * @param inputs a number and decimal places
36
- * @returns Result of rounding
37
- * @group operations
38
- * @shortname round to decimals
39
- * @drawable false
40
- */
41
- roundToDecimals(inputs: Inputs.Math.RoundToDecimalsDto): number;
42
- /**
43
- * Does basic math operations on one number
44
- * @param inputs one number and operator action
45
- * @returns Result of math operation
46
- * @group operations
47
- * @shortname one number
48
- * @drawable false
49
- */
50
- oneNrOperation(inputs: Inputs.Math.ActionOnOneNumberDto): number;
51
- /**
52
- * Remaps a number from one range to another
53
- * @param inputs one number and operator action
54
- * @returns Result of mapping
55
- * @group operations
56
- * @shortname remap
57
- * @drawable false
58
- */
59
- remap(inputs: Inputs.Math.RemapNumberDto): number;
60
- /**
61
- * Creates a random number between 0 and 1
62
- * @returns A random number between 0 and 1
63
- * @group generate
64
- * @shortname random 0 - 1
65
- * @drawable false
66
- */
67
- random(): number;
68
- /**
69
- * Creates a random number between low and high value
70
- * @param inputs low and high numbers
71
- * @returns A random number
72
- * @group generate
73
- * @shortname random number
74
- * @drawable false
75
- */
76
- randomNumber(inputs: Inputs.Math.RandomNumberDto): number;
77
- /**
78
- * Creates random numbers between low and high values
79
- * @param inputs low and high numbers
80
- * @returns A list of random numbers
81
- * @group generate
82
- * @shortname random numbers
83
- * @drawable false
84
- */
85
- randomNumbers(inputs: Inputs.Math.RandomNumbersDto): number[];
86
- /**
87
- * Creates a PI number
88
- * @returns A number PI
89
- * @group generate
90
- * @shortname π
91
- * @drawable false
92
- */
93
- pi(): number;
94
- /**
95
- * Rounds the number to decimal places
96
- * @param inputs a number to be rounded to decimal places
97
- * @returns number
98
- * @group operations
99
- * @shortname to fixed
100
- * @drawable false
101
- */
102
- toFixed(inputs: Inputs.Math.ToFixedDto): string;
103
- /**
104
- * Adds two numbers
105
- * @param inputs two numbers
106
- * @returns number
107
- * @group basics
108
- * @shortname add
109
- * @drawable false
110
- */
111
- add(inputs: Inputs.Math.TwoNumbersDto): number;
112
- /**
113
- * Subtracts two numbers
114
- * @param inputs two numbers
115
- * @returns number
116
- * @group basics
117
- * @shortname subtract
118
- * @drawable false
119
- */
120
- subtract(inputs: Inputs.Math.TwoNumbersDto): number;
121
- /**
122
- * Multiplies two numbers
123
- * @param inputs two numbers
124
- * @returns number
125
- * @group basics
126
- * @shortname multiply
127
- * @drawable false
128
- */
129
- multiply(inputs: Inputs.Math.TwoNumbersDto): number;
130
- /**
131
- * Divides two numbers
132
- * @param inputs two numbers
133
- * @returns number
134
- * @group basics
135
- * @shortname divide
136
- * @drawable false
137
- */
138
- divide(inputs: Inputs.Math.TwoNumbersDto): number;
139
- /**
140
- * Powers a number
141
- * @param inputs two numbers
142
- * @returns number
143
- * @group basics
144
- * @shortname power
145
- * @drawable false
146
- */
147
- power(inputs: Inputs.Math.TwoNumbersDto): number;
148
- /**
149
- * Gets the square root of a number
150
- * @param inputs a number
151
- * @returns number
152
- * @group basics
153
- * @shortname sqrt
154
- * @drawable false
155
- */
156
- sqrt(inputs: Inputs.Math.NumberDto): number;
157
- /**
158
- * Gets the absolute value of a number
159
- * @param inputs a number
160
- * @returns number
161
- * @group basics
162
- * @shortname abs
163
- * @drawable false
164
- */
165
- abs(inputs: Inputs.Math.NumberDto): number;
166
- /**
167
- * Rounds a number
168
- * @param inputs a number
169
- * @returns number
170
- * @group basics
171
- * @shortname round
172
- * @drawable false
173
- */
174
- round(inputs: Inputs.Math.NumberDto): number;
175
- /**
176
- * Floors a number
177
- * @param inputs a number
178
- * @returns number
179
- * @group basics
180
- * @shortname floor
181
- * @drawable false
182
- */
183
- floor(inputs: Inputs.Math.NumberDto): number;
184
- /**
185
- * Ceils a number
186
- * @param inputs a number
187
- * @returns number
188
- * @group basics
189
- * @shortname ceil
190
- * @drawable false
191
- */
192
- ceil(inputs: Inputs.Math.NumberDto): number;
193
- /**
194
- * Negates a number
195
- * @param inputs a number
196
- * @returns number
197
- * @group basics
198
- * @shortname negate
199
- * @drawable false
200
- */
201
- negate(inputs: Inputs.Math.NumberDto): number;
202
- /**
203
- * Gets the natural logarithm of a number
204
- * @param inputs a number
205
- * @returns number
206
- * @group basics
207
- * @shortname ln
208
- * @drawable false
209
- */
210
- ln(inputs: Inputs.Math.NumberDto): number;
211
- /**
212
- * Gets the base 10 logarithm of a number
213
- * @param inputs a number
214
- * @returns number
215
- * @group basics
216
- * @shortname log10
217
- * @drawable false
218
- */
219
- log10(inputs: Inputs.Math.NumberDto): number;
220
- /**
221
- * Raises 10 to the power of a number
222
- * @param inputs a number
223
- * @returns number
224
- * @group basics
225
- * @shortname ten pow
226
- * @drawable false
227
- */
228
- tenPow(inputs: Inputs.Math.NumberDto): number;
229
- /**
230
- * Gets the sine of a number
231
- * @param inputs a number
232
- * @returns number
233
- * @group basics
234
- * @shortname sin
235
- * @drawable false
236
- */
237
- sin(inputs: Inputs.Math.NumberDto): number;
238
- /**
239
- * Gets the cosine of a number
240
- * @param inputs a number
241
- * @returns number
242
- * @group basics
243
- * @shortname cos
244
- * @drawable false
245
- */
246
- cos(inputs: Inputs.Math.NumberDto): number;
247
- /**
248
- * Gets the tangent of a number
249
- * @param inputs a number
250
- * @returns number
251
- * @group basics
252
- * @shortname tan
253
- * @drawable false
254
- */
255
- tan(inputs: Inputs.Math.NumberDto): number;
256
- /**
257
- * Gets the arcsine of a number
258
- * @param inputs a number
259
- * @returns number
260
- * @group basics
261
- * @shortname asin
262
- * @drawable false
263
- */
264
- asin(inputs: Inputs.Math.NumberDto): number;
265
- /**
266
- * Gets the arccosine of a number
267
- * @param inputs a number
268
- * @returns number
269
- * @group basics
270
- * @shortname acos
271
- * @drawable false
272
- */
273
- acos(inputs: Inputs.Math.NumberDto): number;
274
- /**
275
- * Gets the arctangent of a number
276
- * @param inputs a number
277
- * @returns number
278
- * @group basics
279
- * @shortname atan
280
- * @drawable false
281
- */
282
- atan(inputs: Inputs.Math.NumberDto): number;
283
- /**
284
- * Gets the natural exponent of a number
285
- * @param inputs a number
286
- * @returns number
287
- * @group basics
288
- * @shortname exp
289
- * @drawable false
290
- */
291
- exp(inputs: Inputs.Math.NumberDto): number;
292
- /**
293
- * Converts degrees to radians
294
- * @param inputs a number in degrees
295
- * @returns number
296
- * @group basics
297
- * @shortname deg to rad
298
- * @drawable false
299
- */
300
- degToRad(inputs: Inputs.Math.NumberDto): number;
301
- /**
302
- * Converts radians to degrees
303
- * @param inputs a number in radians
304
- * @returns number
305
- * @group basics
306
- * @shortname rad to deg
307
- * @drawable false
308
- */
309
- radToDeg(inputs: Inputs.Math.NumberDto): number;
310
- /**
311
- * Eases a number by providing x parameter 0-1 and a range of output values
312
- * @param inputs a number, min and max values, and ease type
313
- * @returns number
314
- * @group operations
315
- * @shortname ease
316
- * @drawable false
317
- */
318
- ease(inputs: Inputs.Math.EaseDto): number;
319
- private easeInSine;
320
- private easeOutSine;
321
- private easeInOutSine;
322
- private easeInQuad;
323
- private easeOutQuad;
324
- private easeInOutQuad;
325
- private easeInCubic;
326
- private easeOutCubic;
327
- private easeInOutCubic;
328
- private easeInQuart;
329
- private easeOutQuart;
330
- private easeInOutQuart;
331
- private easeInQuint;
332
- private easeOutQuint;
333
- private easeInOutQuint;
334
- private easeInExpo;
335
- private easeOutExpo;
336
- private easeInOutExpo;
337
- private easeInCirc;
338
- private easeOutCirc;
339
- private easeInOutCirc;
340
- private easeInBack;
341
- private easeOutBack;
342
- private easeInOutBack;
343
- private easeInElastic;
344
- private easeOutElastic;
345
- private easeInOutElastic;
346
- private easeInBounce;
347
- private easeOutBounce;
348
- private easeInOutBounce;
349
- }
@@ -1,222 +0,0 @@
1
- import { GeometryHelper } from "./geometry-helper";
2
- import * as Inputs from "../inputs";
3
- import { Transforms } from "./transforms";
4
- /**
5
- * Contains various methods for points. Point in bitbybit is simply an array containing 3 numbers for [x, y, z].
6
- * Because of this form Point can be interchanged with Vector, which also is an array in [x, y, z] form.
7
- * When creating 2D points, z coordinate is simply set to 0 - [x, y, 0].
8
- */
9
- export declare class Point {
10
- private readonly geometryHelper;
11
- private readonly transforms;
12
- constructor(geometryHelper: GeometryHelper, transforms: Transforms);
13
- /**
14
- * Transforms the single point
15
- * @param inputs Contains a point and the transformations to apply
16
- * @returns Transformed point
17
- * @group transforms
18
- * @shortname transform point
19
- * @drawable true
20
- */
21
- transformPoint(inputs: Inputs.Point.TransformPointDto): Inputs.Base.Point3;
22
- /**
23
- * Transforms multiple points
24
- * @param inputs Contains points and the transformations to apply
25
- * @returns Transformed points
26
- * @group transforms
27
- * @shortname transform points
28
- * @drawable true
29
- */
30
- transformPoints(inputs: Inputs.Point.TransformPointsDto): Inputs.Base.Point3[];
31
- /**
32
- * Transforms multiple points by multiple transformations
33
- * @param inputs Contains points and the transformations to apply
34
- * @returns Transformed points
35
- * @group transforms
36
- * @shortname transforms for points
37
- * @drawable true
38
- */
39
- transformsForPoints(inputs: Inputs.Point.TransformsForPointsDto): Inputs.Base.Point3[];
40
- /**
41
- * Translate multiple points
42
- * @param inputs Contains points and the translation vector
43
- * @returns Translated points
44
- * @group transforms
45
- * @shortname translate points
46
- * @drawable true
47
- */
48
- translatePoints(inputs: Inputs.Point.TranslatePointsDto): Inputs.Base.Point3[];
49
- /**
50
- * Translate multiple points
51
- * @param inputs Contains points and the translation vector
52
- * @returns Translated points
53
- * @group transforms
54
- * @shortname translate points with vectors
55
- * @drawable true
56
- */
57
- translatePointsWithVectors(inputs: Inputs.Point.TranslatePointsWithVectorsDto): Inputs.Base.Point3[];
58
- /**
59
- * Translate multiple points by x, y, z values provided
60
- * @param inputs Contains points and the translation in x y and z
61
- * @returns Translated points
62
- * @group transforms
63
- * @shortname translate xyz points
64
- * @drawable true
65
- */
66
- translateXYZPoints(inputs: Inputs.Point.TranslateXYZPointsDto): Inputs.Base.Point3[];
67
- /**
68
- * Scale multiple points by providing center point and x, y, z scale factors
69
- * @param inputs Contains points, center point and scale factors
70
- * @returns Scaled points
71
- * @group transforms
72
- * @shortname scale points on center
73
- * @drawable true
74
- */
75
- scalePointsCenterXYZ(inputs: Inputs.Point.ScalePointsCenterXYZDto): Inputs.Base.Point3[];
76
- /**
77
- * Rotate multiple points by providing center point, axis and degrees of rotation
78
- * @param inputs Contains points, axis, center point and angle of rotation
79
- * @returns Rotated points
80
- * @group transforms
81
- * @shortname rotate points center axis
82
- * @drawable true
83
- */
84
- rotatePointsCenterAxis(inputs: Inputs.Point.RotatePointsCenterAxisDto): Inputs.Base.Point3[];
85
- /**
86
- * Measures the closest distance between a point and a collection of points
87
- * @param inputs Point from which to measure and points to measure the distance against
88
- * @returns Distance to closest point
89
- * @group extract
90
- * @shortname distance to closest pt
91
- * @drawable false
92
- */
93
- closestPointFromPointsDistance(inputs: Inputs.Point.ClosestPointFromPointsDto): number;
94
- /**
95
- * Finds the closest point index between a point and a collection of points. Caution, index is not 0 based, it starts with 1.
96
- * @param inputs Point from which to find the index in a collection of points
97
- * @returns Closest point index
98
- * @group extract
99
- * @shortname index of closest pt
100
- * @drawable false
101
- */
102
- closestPointFromPointsIndex(inputs: Inputs.Point.ClosestPointFromPointsDto): number;
103
- /**
104
- * Finds the closest point in a collection
105
- * @param inputs Point and points collection to find the closest point in
106
- * @returns Closest point
107
- * @group extract
108
- * @shortname closest pt
109
- * @drawable true
110
- */
111
- closestPointFromPoints(inputs: Inputs.Point.ClosestPointFromPointsDto): Inputs.Base.Point3;
112
- /**
113
- * Finds the distance between two points
114
- * @param inputs Coordinates of start and end points
115
- * @returns Distance
116
- * @group measure
117
- * @shortname distance
118
- * @drawable false
119
- */
120
- distance(inputs: Inputs.Point.StartEndPointsDto): number;
121
- /**
122
- * Finds the distances between the start point and multiple end points
123
- * @param inputs Coordinates of start and end points
124
- * @returns Distances
125
- * @group measure
126
- * @shortname distances to points
127
- * @drawable false
128
- */
129
- distancesToPoints(inputs: Inputs.Point.StartEndPointsListDto): number[];
130
- /**
131
- * Multiply point by a specified amount
132
- * @param inputs The point to be multiplied and the amount of points to create
133
- * @returns Distance
134
- * @group transforms
135
- * @shortname multiply point
136
- * @drawable true
137
- */
138
- multiplyPoint(inputs: Inputs.Point.MultiplyPointDto): Inputs.Base.Point3[];
139
- /**
140
- * Get x coordinate of the point
141
- * @param inputs The point
142
- * @returns X coordinate
143
- * @group get
144
- * @shortname x coord
145
- * @drawable false
146
- */
147
- getX(inputs: Inputs.Point.PointDto): number;
148
- /**
149
- * Get y coordinate of the point
150
- * @param inputs The point
151
- * @returns Y coordinate
152
- * @group get
153
- * @shortname y coord
154
- * @drawable false
155
- */
156
- getY(inputs: Inputs.Point.PointDto): number;
157
- /**
158
- * Get z coordinate of the point
159
- * @param inputs The point
160
- * @returns Z coordinate
161
- * @group get
162
- * @shortname z coord
163
- * @drawable false
164
- */
165
- getZ(inputs: Inputs.Point.PointDto): number;
166
- /**
167
- * Get average point of points
168
- * @param inputs The points
169
- * @returns point
170
- * @group extract
171
- * @shortname average point
172
- * @drawable true
173
- */
174
- averagePoint(inputs: Inputs.Point.PointsDto): Inputs.Base.Point3;
175
- /**
176
- * Creates the xyz point
177
- * @param inputs xyz information
178
- * @returns point 3d
179
- * @group create
180
- * @shortname point xyz
181
- * @drawable true
182
- */
183
- pointXYZ(inputs: Inputs.Point.PointXYZDto): Inputs.Base.Point3;
184
- /**
185
- * Creates the xy point
186
- * @param inputs xy information
187
- * @returns point 3d
188
- * @group create
189
- * @shortname point xy
190
- * @drawable false
191
- */
192
- pointXY(inputs: Inputs.Point.PointXYDto): Inputs.Base.Point2;
193
- /**
194
- * Creates the spiral out of multiple points
195
- * @param inputs Spiral information
196
- * @returns Specified number of points in the array along the spiral
197
- * @group create
198
- * @shortname spiral
199
- * @drawable true
200
- */
201
- spiral(inputs: Inputs.Point.SpiralDto): Inputs.Base.Point3[];
202
- /**
203
- * Creates a flat point grid on XY plane. This grid contains center points for hexagons of the given radius.
204
- * Be aware that we control only the nr of hexagons to be made and not the length and width of the grid.
205
- * @param inputs Information about hexagon and the grid
206
- * @returns Points in the array on the grid
207
- * @group create
208
- * @shortname hex grid
209
- * @drawable true
210
- */
211
- hexGrid(inputs: Inputs.Point.HexGridCentersDto): Inputs.Base.Point3[];
212
- /**
213
- * Removes consecutive duplicates from the point array with tolerance
214
- * @param inputs points, tolerance and check first and last
215
- * @returns Points in the array without consecutive duplicates
216
- * @group clean
217
- * @shortname remove duplicates
218
- * @drawable true
219
- */
220
- removeConsecutiveDuplicates(inputs: Inputs.Point.RemoveConsecutiveDuplicatesDto): Inputs.Base.Point3[];
221
- private closestPointFromPointData;
222
- }
@@ -1,69 +0,0 @@
1
- import * as Inputs from "../inputs";
2
- /**
3
- * Contains various text methods.
4
- */
5
- export declare class TextBitByBit {
6
- /**
7
- * Creates a text
8
- * @param inputs a text
9
- * @returns text
10
- * @group create
11
- * @shortname text
12
- * @drawable false
13
- */
14
- create(inputs: Inputs.Text.TextDto): string;
15
- /**
16
- * Split the text to multiple pieces by a separator
17
- * @param inputs a text
18
- * @returns text
19
- * @group transform
20
- * @shortname split
21
- * @drawable false
22
- */
23
- split(inputs: Inputs.Text.TextSplitDto): string[];
24
- /**
25
- * Replace all occurrences of a text by another text
26
- * @param inputs a text
27
- * @returns text
28
- * @group transform
29
- * @shortname replaceAll
30
- * @drawable false
31
- */
32
- replaceAll(inputs: Inputs.Text.TextReplaceDto): string;
33
- /**
34
- * Join multiple items by a separator into text
35
- * @param inputs a list of items
36
- * @returns text
37
- * @group transform
38
- * @shortname join
39
- * @drawable false
40
- */
41
- join(inputs: Inputs.Text.TextJoinDto): string;
42
- /**
43
- * Transform any item to text
44
- * @param inputs any item
45
- * @returns text
46
- * @group transform
47
- * @shortname to string
48
- * @drawable false
49
- */
50
- toString<T>(inputs: Inputs.Text.ToStringDto<T>): string;
51
- /**
52
- * Transform each item in list to text
53
- * @param inputs list of items
54
- * @returns texts
55
- * @group transform
56
- * @shortname to strings
57
- * @drawable false
58
- */
59
- toStringEach<T>(inputs: Inputs.Text.ToStringEachDto<T>): string[];
60
- /**
61
- * Format a text with values
62
- * @param inputs a text and values
63
- * @returns formatted text
64
- * @group transform
65
- * @shortname format
66
- * @drawable false
67
- */
68
- format(inputs: Inputs.Text.TextFormatDto): string;
69
- }