@astrato-io/visualizations 0.0.0-stage → 0.6.4

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 (145) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/LICENSE +93 -0
  3. package/README.md +843 -2
  4. package/THIRD_PARTY_NOTICES.md +8387 -0
  5. package/VISUALIZATION_DEFINITIONS.md +2378 -0
  6. package/chunks/LinearProgress-CUZ0D8_t.js +253 -0
  7. package/chunks/Radio-Ciu-F4CU.js +957 -0
  8. package/chunks/ToggleButton-BCJc3Jlc.js +153 -0
  9. package/chunks/_baseFlatten-DPXPOrea.js +7076 -0
  10. package/chunks/accessors-DemrDevR.js +128 -0
  11. package/chunks/app-filter-bar.compiler-j_CVoWTa.js +55 -0
  12. package/chunks/bar.compiler-oqaPzIut.js +370 -0
  13. package/chunks/color-settings-ZIvgNTq1.js +10 -0
  14. package/chunks/coloring-C16AUZEi.js +663 -0
  15. package/chunks/data-item-resolution-1lvYB5ln.js +53 -0
  16. package/chunks/debounce-fn-CUixuz45.js +7 -0
  17. package/chunks/escobar-BGqT1EsE.js +34580 -0
  18. package/chunks/event-bus-KiSiCJrC.js +2683 -0
  19. package/chunks/events-WZut5Ow6.js +4 -0
  20. package/chunks/extend-BKUkc4_i.js +37 -0
  21. package/chunks/filter.compiler-CuLtc_02.js +60 -0
  22. package/chunks/filtering-Yq4DEa0t.js +953 -0
  23. package/chunks/gauge-target-type-BkKXAqkX.js +4 -0
  24. package/chunks/grouping-type-BX_9Ix5q.js +3 -0
  25. package/chunks/interfaces-VUY4_yVO.js +8742 -0
  26. package/chunks/line-settings-DfYTUyPz.js +4 -0
  27. package/chunks/line.compiler-BpA_6Tc7.js +188 -0
  28. package/chunks/metadata-CPXdYoln.js +28 -0
  29. package/chunks/number.compiler-DbkWcG4S.js +44 -0
  30. package/chunks/pie-uv42Eqal.js +10 -0
  31. package/chunks/range-DrzdfBX4.js +22 -0
  32. package/chunks/registry-CExpGJ1N.js +920 -0
  33. package/chunks/requirements-DNhuShLS.js +6 -0
  34. package/chunks/rolldown-runtime-DleVn1XH.js +28 -0
  35. package/chunks/set-coloring-datafield-B3uIS1Pe.js +8 -0
  36. package/chunks/shared-CKDL4hx9.js +1171 -0
  37. package/chunks/src-BC7cGcJ-.js +2024 -0
  38. package/chunks/src-BOS6SqkZ.js +67 -0
  39. package/chunks/src-C0LgoUWY.js +26105 -0
  40. package/chunks/src-Cum_2NLV.js +12145 -0
  41. package/chunks/src-D9XogOrc.js +422 -0
  42. package/chunks/src-Dun_jXtz.js +10295 -0
  43. package/chunks/src-DvX5LU9T.js +14742 -0
  44. package/chunks/standalone-87YV_m9n.js +687 -0
  45. package/chunks/standalone-BDCwI6Hn.js +4619 -0
  46. package/chunks/standalone-BH5NqDwp.js +1763 -0
  47. package/chunks/standalone-BLVAWLNJ.js +385 -0
  48. package/chunks/standalone-BPomtAVs.js +2 -0
  49. package/chunks/standalone-BXyBcUOQ.js +2 -0
  50. package/chunks/standalone-BYm1UjLr.js +140 -0
  51. package/chunks/standalone-BllF4rDp.js +383 -0
  52. package/chunks/standalone-BmfMt74U.js +726 -0
  53. package/chunks/standalone-BqWyrnZI.js +281 -0
  54. package/chunks/standalone-C85u7U6I.js +340 -0
  55. package/chunks/standalone-CCNtaJ7s.js +741 -0
  56. package/chunks/standalone-CDQnr6qT.js +345 -0
  57. package/chunks/standalone-CNyNHKVx.js +674 -0
  58. package/chunks/standalone-CY57qwZ-.js +1129 -0
  59. package/chunks/standalone-CZynjFG7.js +12979 -0
  60. package/chunks/standalone-D5vnf-9y.js +3943 -0
  61. package/chunks/standalone-DFPva_ku.js +299 -0
  62. package/chunks/standalone-DQxxNwF8.js +675 -0
  63. package/chunks/standalone-DS9T0FZ-.js +830 -0
  64. package/chunks/standalone-Dx3MLlrO.js +512 -0
  65. package/chunks/standalone-DzixzZAL.js +411 -0
  66. package/chunks/standalone-QJ1kKMnO.js +6 -0
  67. package/chunks/standalone-jiz0L2Dg.js +3855 -0
  68. package/chunks/standalone-lBm9hQ-q.js +179 -0
  69. package/chunks/standalone-rJ45Zfl1.js +68 -0
  70. package/chunks/stroke-dash-UgMEcCS4.js +6 -0
  71. package/chunks/table.compiler-BrXkm4Fz.js +213 -0
  72. package/chunks/toInteger-DVZr-D1j.js +11 -0
  73. package/chunks/treemap-x_zmJoG7.js +23 -0
  74. package/chunks/typeof-CJDtcySz.js +13 -0
  75. package/chunks/types-dVVCsDWD.js +4 -0
  76. package/chunks/ui-D1HQNIBy.js +54039 -0
  77. package/chunks/url-utils-B17gj_mr.js +5501 -0
  78. package/chunks/useFieldName-oqQ3bvnO.js +7 -0
  79. package/chunks/utils-Ba9T0TqC.js +31097 -0
  80. package/chunks/view-CLqWMV7Z.js +156 -0
  81. package/definitions.js +3 -0
  82. package/docs/operations/astrato-app-filter-bar.md +161 -0
  83. package/docs/operations/bar.md +7050 -0
  84. package/docs/operations/combo.md +5825 -0
  85. package/docs/operations/date-picker.md +644 -0
  86. package/docs/operations/distribution-gauge.md +3218 -0
  87. package/docs/operations/dot.md +5662 -0
  88. package/docs/operations/filter.md +1507 -0
  89. package/docs/operations/gauge.md +3452 -0
  90. package/docs/operations/heatMap.md +6026 -0
  91. package/docs/operations/histogram.md +1870 -0
  92. package/docs/operations/iframe.md +56 -0
  93. package/docs/operations/image.md +177 -0
  94. package/docs/operations/index.md +46 -0
  95. package/docs/operations/line.md +6468 -0
  96. package/docs/operations/number.md +3969 -0
  97. package/docs/operations/pie.md +6089 -0
  98. package/docs/operations/radar.md +4646 -0
  99. package/docs/operations/sankey.md +3210 -0
  100. package/docs/operations/scatter.md +6075 -0
  101. package/docs/operations/shape.md +315 -0
  102. package/docs/operations/simpleTextObject.md +706 -0
  103. package/docs/operations/slider.md +230 -0
  104. package/docs/operations/table.md +8790 -0
  105. package/docs/operations/tree.md +2874 -0
  106. package/docs/operations/treemap.md +3619 -0
  107. package/docs/operations/waterfall.md +2938 -0
  108. package/docs/operations/word-cloud.md +3071 -0
  109. package/getters.js +18 -0
  110. package/index.js +1183 -0
  111. package/metadata.js +20 -0
  112. package/operations.js +64 -0
  113. package/package.json +191 -4
  114. package/src/definitions/index.d.ts +2 -0
  115. package/src/definitions/shared/index.d.ts +5 -0
  116. package/src/definitions/shared/lib/available-fields.d.ts +36 -0
  117. package/src/definitions/shared/lib/compilers/index.d.ts +7 -0
  118. package/src/definitions/shared/lib/registry/compile.d.ts +2 -0
  119. package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +587 -0
  120. package/src/definitions/shared/lib/registry/index.d.ts +3 -0
  121. package/src/definitions/shared/lib/registry/validation.d.ts +3 -0
  122. package/src/definitions/shared/lib/schemas/app-filter-bar.schema.d.ts +22 -0
  123. package/src/definitions/shared/lib/schemas/bar.schema.d.ts +73 -0
  124. package/src/definitions/shared/lib/schemas/broad-chart.schema.d.ts +68 -0
  125. package/src/definitions/shared/lib/schemas/common.schema.d.ts +304 -0
  126. package/src/definitions/shared/lib/schemas/filter.schema.d.ts +22 -0
  127. package/src/definitions/shared/lib/schemas/index.d.ts +9 -0
  128. package/src/definitions/shared/lib/schemas/line.schema.d.ts +72 -0
  129. package/src/definitions/shared/lib/schemas/number.schema.d.ts +21 -0
  130. package/src/definitions/shared/lib/schemas/object.schema.d.ts +215 -0
  131. package/src/definitions/shared/lib/schemas/table.schema.d.ts +458 -0
  132. package/src/definitions/shared/lib/types/compilation.types.d.ts +36 -0
  133. package/src/definitions/shared/lib/types/definition.types.d.ts +2 -0
  134. package/src/definitions/shared/lib/types/descriptor.types.d.ts +39 -0
  135. package/src/definitions/shared/lib/types/index.d.ts +3 -0
  136. package/src/getters/index.d.ts +30 -0
  137. package/src/index.d.ts +4 -0
  138. package/src/metadata/index.d.ts +4 -0
  139. package/src/operations/index.d.ts +30 -0
  140. package/src/registry/index.d.ts +6 -0
  141. package/src/runtime/index.d.ts +2 -0
  142. package/src/types.d.ts +307 -0
  143. package/src/visualization-catalog.d.ts +82 -0
  144. package/src/web-components/index.d.ts +12 -0
  145. package/styles.css +2 -0
@@ -0,0 +1,706 @@
1
+ <!-- Generated from operation manifests. Do not edit this file manually. -->
2
+
3
+ # `simpleTextObject` operations
4
+
5
+ Reference for `@astrato-io/visualizations@0.6.4`.
6
+
7
+ [All visualization types](./index.md)
8
+
9
+ Use each schema below for the request’s `payload`, not for the whole operation request. Names and payloads are specific to this visualization type. An operation can still require particular fields or chart state; see its description.
10
+
11
+ ## Available operations
12
+
13
+ - [`setRichTextMaxLines`](#setrichtextmaxlines)
14
+ - [`setRichTextResponsiveEnabled`](#setrichtextresponsiveenabled)
15
+ - [`setTextBackgroundBlur`](#settextbackgroundblur)
16
+ - [`setTextBackgroundColor`](#settextbackgroundcolor)
17
+ - [`setTextBackgroundImage`](#settextbackgroundimage)
18
+ - [`setTextBackgroundImageFit`](#settextbackgroundimagefit)
19
+ - [`setTextBackgroundImageOpacity`](#settextbackgroundimageopacity)
20
+ - [`setTextBackgroundType`](#settextbackgroundtype)
21
+ - [`setTextBorderColor`](#settextbordercolor)
22
+ - [`setTextBorderEnabled`](#settextborderenabled)
23
+ - [`setTextBorderRadius`](#settextborderradius)
24
+ - [`setTextBorderStyle`](#settextborderstyle)
25
+ - [`setTextBorderWidth`](#settextborderwidth)
26
+ - [`setTextColor`](#settextcolor)
27
+ - [`setTextContent`](#settextcontent)
28
+ - [`setTextContentVariable`](#settextcontentvariable)
29
+ - [`setTextFontFamily`](#settextfontfamily)
30
+ - [`setTextFontSize`](#settextfontsize)
31
+ - [`setTextFontStyle`](#settextfontstyle)
32
+ - [`setTextFontWeight`](#settextfontweight)
33
+ - [`setTextHorizontalAlign`](#settexthorizontalalign)
34
+ - [`setTextLetterSpacing`](#settextletterspacing)
35
+ - [`setTextLineSpacing`](#settextlinespacing)
36
+ - [`setTextLinkEnabled`](#settextlinkenabled)
37
+ - [`setTextLinkUrl`](#settextlinkurl)
38
+ - [`setTextMaxLines`](#settextmaxlines)
39
+ - [`setTextObjectShadow`](#settextobjectshadow)
40
+ - [`setTextPadding`](#settextpadding)
41
+ - [`setTextParagraphMargin`](#settextparagraphmargin)
42
+ - [`setTextRepresentation`](#settextrepresentation)
43
+ - [`setTextResponsiveEnabled`](#settextresponsiveenabled)
44
+ - [`setTextScaling`](#settextscaling)
45
+ - [`setTextShadow`](#settextshadow)
46
+ - [`setTextVerticalAlign`](#settextverticalalign)
47
+ - [`setTextWordWrap`](#settextwordwrap)
48
+
49
+ ## `setRichTextMaxLines`
50
+
51
+ Rich text max lines
52
+
53
+ Set the maximum visible Rich text lines when responsive overflow is disabled.
54
+
55
+ **Payload schema**
56
+
57
+ ```json
58
+ {
59
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
60
+ "title": "Rich text max lines schema",
61
+ "type": "number",
62
+ "minimum": 0
63
+ }
64
+ ```
65
+
66
+ ## `setRichTextResponsiveEnabled`
67
+
68
+ Responsive rich text
69
+
70
+ Enable responsive Rich text overflow. When disabled, Rich text uses ellipsis and max lines.
71
+
72
+ **Payload schema**
73
+
74
+ ```json
75
+ {
76
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
77
+ "title": "Responsive rich text enabled schema",
78
+ "type": "boolean"
79
+ }
80
+ ```
81
+
82
+ ## `setTextBackgroundBlur`
83
+
84
+ Background blur
85
+
86
+ Set background blur in pixels.
87
+
88
+ **Payload schema**
89
+
90
+ ```json
91
+ {
92
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
93
+ "title": "Text background blur schema",
94
+ "type": "number",
95
+ "minimum": 0,
96
+ "maximum": 10
97
+ }
98
+ ```
99
+
100
+ ## `setTextBackgroundColor`
101
+
102
+ Background color
103
+
104
+ Set the background color. Use null for transparent background.
105
+
106
+ **Payload schema**
107
+
108
+ ```json
109
+ {
110
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
111
+ "title": "Text background color schema",
112
+ "anyOf": [
113
+ {
114
+ "type": "string",
115
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
116
+ },
117
+ {
118
+ "type": "null"
119
+ }
120
+ ]
121
+ }
122
+ ```
123
+
124
+ ## `setTextBackgroundImage`
125
+
126
+ Background image
127
+
128
+ Set the background image URL.
129
+
130
+ **Payload schema**
131
+
132
+ ```json
133
+ {
134
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
135
+ "title": "Text background image schema",
136
+ "type": "string"
137
+ }
138
+ ```
139
+
140
+ ## `setTextBackgroundImageFit`
141
+
142
+ Background image fit
143
+
144
+ Set how the background image fits inside the text object.
145
+
146
+ **Payload schema**
147
+
148
+ ```json
149
+ {
150
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
151
+ "title": "Text background image fit schema",
152
+ "type": "string",
153
+ "enum": ["contain", "cover", "fill", "none"]
154
+ }
155
+ ```
156
+
157
+ ## `setTextBackgroundImageOpacity`
158
+
159
+ Background image opacity
160
+
161
+ Set background image opacity from 0 to 1.
162
+
163
+ **Payload schema**
164
+
165
+ ```json
166
+ {
167
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
168
+ "description": "Background image opacity from 0 to 1, where 0 is transparent and 1 is fully opaque",
169
+ "title": "Text background image opacity schema",
170
+ "type": "number",
171
+ "minimum": 0,
172
+ "maximum": 100
173
+ }
174
+ ```
175
+
176
+ ## `setTextBackgroundType`
177
+
178
+ Background type
179
+
180
+ Set the text object background type to color or image.
181
+
182
+ **Payload schema**
183
+
184
+ ```json
185
+ {
186
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
187
+ "title": "Text background type schema",
188
+ "type": "string",
189
+ "enum": ["image", "color"]
190
+ }
191
+ ```
192
+
193
+ ## `setTextBorderColor`
194
+
195
+ Border color
196
+
197
+ Set the border color.
198
+
199
+ **Payload schema**
200
+
201
+ ```json
202
+ {
203
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
204
+ "title": "Text border color schema",
205
+ "anyOf": [
206
+ {
207
+ "type": "string",
208
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
209
+ },
210
+ {
211
+ "type": "null"
212
+ }
213
+ ]
214
+ }
215
+ ```
216
+
217
+ ## `setTextBorderEnabled`
218
+
219
+ Border enabled
220
+
221
+ Enable or disable the text object border.
222
+
223
+ **Payload schema**
224
+
225
+ ```json
226
+ {
227
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
228
+ "title": "Text border enabled schema",
229
+ "type": "boolean"
230
+ }
231
+ ```
232
+
233
+ ## `setTextBorderRadius`
234
+
235
+ Border radius
236
+
237
+ Set the border radius in pixels.
238
+
239
+ **Payload schema**
240
+
241
+ ```json
242
+ {
243
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
244
+ "title": "Text border radius schema",
245
+ "type": "number",
246
+ "minimum": 0,
247
+ "maximum": 100
248
+ }
249
+ ```
250
+
251
+ ## `setTextBorderStyle`
252
+
253
+ Border style
254
+
255
+ Set the border style to line or dashed.
256
+
257
+ **Payload schema**
258
+
259
+ ```json
260
+ {
261
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
262
+ "description": "Border style. Dotted is not exposed because the text object currently renders dotted as dashed.",
263
+ "title": "Text border style schema",
264
+ "type": "string",
265
+ "enum": ["line", "dashed"]
266
+ }
267
+ ```
268
+
269
+ ## `setTextBorderWidth`
270
+
271
+ Border width
272
+
273
+ Set the border width in pixels.
274
+
275
+ **Payload schema**
276
+
277
+ ```json
278
+ {
279
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
280
+ "title": "Text border width schema",
281
+ "type": "number",
282
+ "minimum": 1,
283
+ "maximum": 20
284
+ }
285
+ ```
286
+
287
+ ## `setTextColor`
288
+
289
+ Text color
290
+
291
+ Set the text color. Use null to return to inherited or theme color.
292
+
293
+ **Payload schema**
294
+
295
+ ```json
296
+ {
297
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
298
+ "title": "Text color schema",
299
+ "anyOf": [
300
+ {
301
+ "type": "string",
302
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
303
+ },
304
+ {
305
+ "type": "null"
306
+ }
307
+ ]
308
+ }
309
+ ```
310
+
311
+ ## `setTextContent`
312
+
313
+ Text content
314
+
315
+ Set text content and optionally choose whether it is rendered as plain text, HTML, or Markdown. This switches the object to text content mode.
316
+
317
+ **Payload schema**
318
+
319
+ ```json
320
+ {
321
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
322
+ "title": "Text content schema",
323
+ "type": "object",
324
+ "properties": {
325
+ "textContent": {
326
+ "description": "Text content to display",
327
+ "type": "string"
328
+ },
329
+ "representation": {
330
+ "description": "How to render the text content: plain text, HTML, or Markdown",
331
+ "type": "string",
332
+ "enum": ["text", "html", "markdown"]
333
+ }
334
+ },
335
+ "required": ["textContent"],
336
+ "additionalProperties": false
337
+ }
338
+ ```
339
+
340
+ ## `setTextContentVariable`
341
+
342
+ Bind text content to variable
343
+
344
+ Bind the displayed text to an existing workbook variable by its exact name and switch to variable content mode. The text updates when the variable value changes. Boolean variables are not supported. This does not change the variable's value. Use null to clear the binding without changing the content mode; use setTextContent to return to static text.
345
+
346
+ **Payload schema**
347
+
348
+ ```json
349
+ {
350
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
351
+ "title": "Text content variable name schema",
352
+ "anyOf": [
353
+ {
354
+ "type": "string",
355
+ "minLength": 1
356
+ },
357
+ {
358
+ "type": "null"
359
+ }
360
+ ]
361
+ }
362
+ ```
363
+
364
+ ## `setTextFontFamily`
365
+
366
+ Font family
367
+
368
+ Set the text font family. Use null to return to the theme default.
369
+
370
+ **Payload schema**
371
+
372
+ ```json
373
+ {
374
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
375
+ "title": "Text font family schema",
376
+ "anyOf": [
377
+ {
378
+ "type": "string"
379
+ },
380
+ {
381
+ "type": "null"
382
+ }
383
+ ]
384
+ }
385
+ ```
386
+
387
+ ## `setTextFontSize`
388
+
389
+ Font size
390
+
391
+ Set the text font size.
392
+
393
+ **Payload schema**
394
+
395
+ ```json
396
+ {
397
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
398
+ "title": "Text font size schema",
399
+ "type": "number",
400
+ "minimum": 1,
401
+ "maximum": 999
402
+ }
403
+ ```
404
+
405
+ ## `setTextFontStyle`
406
+
407
+ Font style
408
+
409
+ Set text font style flags such as bold, italic, underline, strikethrough, and weight.
410
+
411
+ **Payload schema**
412
+
413
+ ```json
414
+ {
415
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
416
+ "title": "Text font style schema",
417
+ "type": "object",
418
+ "properties": {
419
+ "bold": {
420
+ "type": "boolean"
421
+ },
422
+ "weight": {
423
+ "type": "number"
424
+ },
425
+ "italic": {
426
+ "type": "boolean"
427
+ },
428
+ "underlined": {
429
+ "type": "boolean"
430
+ },
431
+ "strikethrough": {
432
+ "type": "boolean"
433
+ }
434
+ },
435
+ "additionalProperties": false
436
+ }
437
+ ```
438
+
439
+ ## `setTextFontWeight`
440
+
441
+ Font weight
442
+
443
+ Set the text font weight.
444
+
445
+ **Payload schema**
446
+
447
+ ```json
448
+ {
449
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
450
+ "title": "Text font weight schema",
451
+ "type": "number"
452
+ }
453
+ ```
454
+
455
+ ## `setTextHorizontalAlign`
456
+
457
+ Horizontal align
458
+
459
+ Set horizontal text alignment.
460
+
461
+ **Payload schema**
462
+
463
+ ```json
464
+ {
465
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
466
+ "title": "Text horizontal align schema",
467
+ "type": "string",
468
+ "enum": ["left", "center", "justify", "right"]
469
+ }
470
+ ```
471
+
472
+ ## `setTextLetterSpacing`
473
+
474
+ Letter spacing
475
+
476
+ Set text letter spacing in pixels.
477
+
478
+ **Payload schema**
479
+
480
+ ```json
481
+ {
482
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
483
+ "title": "Text letter spacing schema",
484
+ "type": "number",
485
+ "minimum": 0,
486
+ "maximum": 10
487
+ }
488
+ ```
489
+
490
+ ## `setTextLineSpacing`
491
+
492
+ Line spacing
493
+
494
+ Set text line spacing.
495
+
496
+ **Payload schema**
497
+
498
+ ```json
499
+ {
500
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
501
+ "title": "Text line spacing schema",
502
+ "type": "number",
503
+ "minimum": 1,
504
+ "maximum": 3
505
+ }
506
+ ```
507
+
508
+ ## `setTextLinkEnabled`
509
+
510
+ Link enabled
511
+
512
+ Enable or disable link behavior for plain text content.
513
+
514
+ **Payload schema**
515
+
516
+ ```json
517
+ {
518
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
519
+ "title": "Text link enabled schema",
520
+ "type": "boolean"
521
+ }
522
+ ```
523
+
524
+ ## `setTextLinkUrl`
525
+
526
+ Link URL
527
+
528
+ Set the URL used when link behavior is enabled.
529
+
530
+ **Payload schema**
531
+
532
+ ```json
533
+ {
534
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
535
+ "title": "Text link URL schema",
536
+ "type": "string"
537
+ }
538
+ ```
539
+
540
+ ## `setTextMaxLines`
541
+
542
+ Max lines
543
+
544
+ Set the maximum visible lines when responsive text is disabled.
545
+
546
+ **Payload schema**
547
+
548
+ ```json
549
+ {
550
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
551
+ "title": "Text max lines schema",
552
+ "type": "number",
553
+ "minimum": 0
554
+ }
555
+ ```
556
+
557
+ ## `setTextObjectShadow`
558
+
559
+ Object shadow
560
+
561
+ Enable or disable object shadow.
562
+
563
+ **Payload schema**
564
+
565
+ ```json
566
+ {
567
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
568
+ "title": "Text object shadow schema",
569
+ "type": "boolean"
570
+ }
571
+ ```
572
+
573
+ ## `setTextPadding`
574
+
575
+ Text padding
576
+
577
+ Set text padding inside the object.
578
+
579
+ **Payload schema**
580
+
581
+ ```json
582
+ {
583
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
584
+ "title": "Text padding schema",
585
+ "type": "number",
586
+ "minimum": 0,
587
+ "maximum": 100
588
+ }
589
+ ```
590
+
591
+ ## `setTextParagraphMargin`
592
+
593
+ Paragraph margin
594
+
595
+ Set paragraph margin for Markdown text.
596
+
597
+ **Payload schema**
598
+
599
+ ```json
600
+ {
601
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
602
+ "title": "Text paragraph margin schema",
603
+ "type": "number",
604
+ "minimum": 0,
605
+ "maximum": 32
606
+ }
607
+ ```
608
+
609
+ ## `setTextRepresentation`
610
+
611
+ Text representation
612
+
613
+ Set whether text content is rendered as plain text, HTML, or Markdown.
614
+
615
+ **Payload schema**
616
+
617
+ ```json
618
+ {
619
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
620
+ "title": "Text representation schema",
621
+ "type": "string",
622
+ "enum": ["text", "html", "markdown"]
623
+ }
624
+ ```
625
+
626
+ ## `setTextResponsiveEnabled`
627
+
628
+ Responsive text
629
+
630
+ Enable responsive text. When disabled, text uses ellipsis and max lines. When enabled, text can scale with workbook or fit the object.
631
+
632
+ **Payload schema**
633
+
634
+ ```json
635
+ {
636
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
637
+ "title": "Responsive text enabled schema",
638
+ "type": "boolean"
639
+ }
640
+ ```
641
+
642
+ ## `setTextScaling`
643
+
644
+ Text scaling
645
+
646
+ Set responsive text scaling mode.
647
+
648
+ **Payload schema**
649
+
650
+ ```json
651
+ {
652
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
653
+ "title": "Text scaling schema",
654
+ "type": "string",
655
+ "enum": ["none", "viewportWidth", "fitToObject"]
656
+ }
657
+ ```
658
+
659
+ ## `setTextShadow`
660
+
661
+ Text shadow
662
+
663
+ Enable or disable text shadow.
664
+
665
+ **Payload schema**
666
+
667
+ ```json
668
+ {
669
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
670
+ "title": "Text shadow schema",
671
+ "type": "boolean"
672
+ }
673
+ ```
674
+
675
+ ## `setTextVerticalAlign`
676
+
677
+ Vertical align
678
+
679
+ Set vertical text alignment inside the object.
680
+
681
+ **Payload schema**
682
+
683
+ ```json
684
+ {
685
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
686
+ "title": "Text vertical align schema",
687
+ "type": "string",
688
+ "enum": ["auto", "top", "middle", "bottom"]
689
+ }
690
+ ```
691
+
692
+ ## `setTextWordWrap`
693
+
694
+ Word wrap
695
+
696
+ Enable or disable text word wrapping.
697
+
698
+ **Payload schema**
699
+
700
+ ```json
701
+ {
702
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
703
+ "title": "Text word wrap schema",
704
+ "type": "boolean"
705
+ }
706
+ ```