@astrato-io/visualizations 0.0.0-stage → 0.6.5

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 (139) 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 +8477 -0
  5. package/VISUALIZATION_DEFINITIONS.md +2378 -0
  6. package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
  7. package/chunks/LinearProgress-B1FeWaen.js +253 -0
  8. package/chunks/accessors-DemrDevR.js +128 -0
  9. package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
  10. package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
  11. package/chunks/builder-B6dWSIdD.js +12289 -0
  12. package/chunks/color-settings-ZIvgNTq1.js +10 -0
  13. package/chunks/coloring-B1XAfg6b.js +664 -0
  14. package/chunks/debounce-fn-CUixuz45.js +7 -0
  15. package/chunks/definitions-D3OVqmXl.js +2102 -0
  16. package/chunks/escobar-eDjtGpkC.js +34606 -0
  17. package/chunks/events-WZut5Ow6.js +4 -0
  18. package/chunks/extend-BKUkc4_i.js +37 -0
  19. package/chunks/filter.compiler-DBsyRBJt.js +70 -0
  20. package/chunks/filtering-tqjAyJH5.js +1072 -0
  21. package/chunks/grouping-type-On4s9Thj.js +3 -0
  22. package/chunks/handlers-VTBfIZYZ.js +13072 -0
  23. package/chunks/isEqual-BDxAhUo8.js +7514 -0
  24. package/chunks/line.compiler-CzdM5Ld0.js +198 -0
  25. package/chunks/metadata-BGElBy5Z.js +28 -0
  26. package/chunks/number.compiler-G-R7y16P.js +53 -0
  27. package/chunks/operations-CTNUX6Sy.js +26249 -0
  28. package/chunks/range-CiwTbMig.js +22 -0
  29. package/chunks/registry-CsQQzukD.js +920 -0
  30. package/chunks/requirements-DYjZCFyf.js +6 -0
  31. package/chunks/rolldown-runtime-DleVn1XH.js +28 -0
  32. package/chunks/set-coloring-datafield-B3uIS1Pe.js +8 -0
  33. package/chunks/shared-CBvcC5YV.js +1218 -0
  34. package/chunks/src-BOS6SqkZ.js +67 -0
  35. package/chunks/src-D9XogOrc.js +422 -0
  36. package/chunks/standalone-0M4HlmDW2.js +3944 -0
  37. package/chunks/standalone-0ashe9w1.js +411 -0
  38. package/chunks/standalone-B7jax8wa.js +339 -0
  39. package/chunks/standalone-BK0VYU-l.js +463 -0
  40. package/chunks/standalone-BMIbT1b2.js +4619 -0
  41. package/chunks/standalone-BZV5vOwA.js +6 -0
  42. package/chunks/standalone-BhDrWj4p.js +1980 -0
  43. package/chunks/standalone-BtSHCp2U2.js +673 -0
  44. package/chunks/standalone-BvaKdky9.js +344 -0
  45. package/chunks/standalone-BwtM31-f.js +2 -0
  46. package/chunks/standalone-C3gg736V.js +1129 -0
  47. package/chunks/standalone-CC1VUjO32.js +299 -0
  48. package/chunks/standalone-C_rYnZ0N.js +741 -0
  49. package/chunks/standalone-CoLrAxRV.js +13198 -0
  50. package/chunks/standalone-DC-aUgXC.js +3855 -0
  51. package/chunks/standalone-DCtRoTWg.js +675 -0
  52. package/chunks/standalone-DUDFTBqL.js +833 -0
  53. package/chunks/standalone-DhZkX9Td.js +2 -0
  54. package/chunks/standalone-DtLElfuM.js +512 -0
  55. package/chunks/standalone-G9Q4Uczu.js +726 -0
  56. package/chunks/standalone-JuLF-OoH.js +1762 -0
  57. package/chunks/standalone-_DeX21JJ.js +383 -0
  58. package/chunks/standalone-gFhKZh8m.js +179 -0
  59. package/chunks/standalone-tDNy-SFH.js +281 -0
  60. package/chunks/standalone-v1oxfU20.js +68 -0
  61. package/chunks/standalone-vzBY6q0I2.js +140 -0
  62. package/chunks/stroke-dash-UgMEcCS4.js +6 -0
  63. package/chunks/table.compiler-tb914oj3.js +222 -0
  64. package/chunks/typeof-CJDtcySz.js +13 -0
  65. package/chunks/ui-DQWtv2iM.js +63551 -0
  66. package/chunks/url-utils-B17gj_mr.js +5501 -0
  67. package/chunks/useFieldName-BvdcoJRl.js +7 -0
  68. package/chunks/utils-Bg7K-t6K.js +32379 -0
  69. package/chunks/view-Bn83C8d9.js +12466 -0
  70. package/definitions.js +3 -0
  71. package/docs/operations/astrato-app-filter-bar.md +161 -0
  72. package/docs/operations/bar.md +6968 -0
  73. package/docs/operations/combo.md +5804 -0
  74. package/docs/operations/date-picker.md +644 -0
  75. package/docs/operations/distribution-gauge.md +3082 -0
  76. package/docs/operations/dot.md +5570 -0
  77. package/docs/operations/filter.md +1483 -0
  78. package/docs/operations/gauge.md +3316 -0
  79. package/docs/operations/heatMap.md +5944 -0
  80. package/docs/operations/histogram.md +1856 -0
  81. package/docs/operations/iframe.md +56 -0
  82. package/docs/operations/image.md +177 -0
  83. package/docs/operations/index.md +46 -0
  84. package/docs/operations/line.md +6391 -0
  85. package/docs/operations/number.md +3903 -0
  86. package/docs/operations/pie.md +5956 -0
  87. package/docs/operations/radar.md +4566 -0
  88. package/docs/operations/sankey.md +3088 -0
  89. package/docs/operations/scatter.md +5969 -0
  90. package/docs/operations/shape.md +315 -0
  91. package/docs/operations/simpleTextObject.md +699 -0
  92. package/docs/operations/slider.md +220 -0
  93. package/docs/operations/table.md +8800 -0
  94. package/docs/operations/tree.md +2867 -0
  95. package/docs/operations/treemap.md +3527 -0
  96. package/docs/operations/waterfall.md +2928 -0
  97. package/docs/operations/word-cloud.md +3000 -0
  98. package/getters.js +18 -0
  99. package/index.js +1183 -0
  100. package/metadata.js +20 -0
  101. package/operations.js +64 -0
  102. package/package.json +185 -4
  103. package/src/definitions/index.d.ts +2 -0
  104. package/src/definitions/model/definitions/available-fields.d.ts +35 -0
  105. package/src/definitions/model/definitions/compilers/compile.d.ts +7 -0
  106. package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
  107. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
  108. package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
  109. package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
  110. package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
  111. package/src/definitions/model/definitions/index.d.ts +23 -0
  112. package/src/definitions/model/definitions/registry/compile.d.ts +2 -0
  113. package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
  114. package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
  115. package/src/definitions/model/definitions/schemas/app-filter-bar.schema.d.ts +22 -0
  116. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +73 -0
  117. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +68 -0
  118. package/src/definitions/model/definitions/schemas/common.schema.d.ts +303 -0
  119. package/src/definitions/model/definitions/schemas/filter.schema.d.ts +22 -0
  120. package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
  121. package/src/definitions/model/definitions/schemas/line.schema.d.ts +72 -0
  122. package/src/definitions/model/definitions/schemas/number.schema.d.ts +21 -0
  123. package/src/definitions/model/definitions/schemas/object.schema.d.ts +215 -0
  124. package/src/definitions/model/definitions/schemas/table.schema.d.ts +458 -0
  125. package/src/definitions/model/definitions/types/compilation.types.d.ts +36 -0
  126. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -0
  127. package/src/definitions/model/definitions/types/descriptor.types.d.ts +39 -0
  128. package/src/definitions/model/definitions/types/index.d.ts +3 -0
  129. package/src/definitions/model/definitions/validation.d.ts +3 -0
  130. package/src/getters/index.d.ts +30 -0
  131. package/src/index.d.ts +4 -0
  132. package/src/metadata/index.d.ts +4 -0
  133. package/src/operations/index.d.ts +30 -0
  134. package/src/registry/index.d.ts +6 -0
  135. package/src/runtime/index.d.ts +2 -0
  136. package/src/types.d.ts +307 -0
  137. package/src/visualization-catalog.d.ts +82 -0
  138. package/src/web-components/index.d.ts +12 -0
  139. package/styles.css +2 -0
@@ -0,0 +1,699 @@
1
+ <!-- Generated from operation manifests. Do not edit this file manually. -->
2
+
3
+ # `simpleTextObject` operations
4
+
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
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
+ "type": "number",
169
+ "minimum": 0,
170
+ "maximum": 100,
171
+ "description": "Background image opacity from 0 to 1, where 0 is transparent and 1 is fully opaque",
172
+ "title": "Text background image opacity schema"
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
+ "type": "string",
263
+ "enum": ["line", "dashed"],
264
+ "description": "Border style. Dotted is not exposed because the text object currently renders dotted as dashed.",
265
+ "title": "Text border style schema"
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
+ "type": "object",
323
+ "properties": {
324
+ "textContent": {
325
+ "type": "string",
326
+ "description": "Text content to display"
327
+ },
328
+ "representation": {
329
+ "description": "How to render the text content: plain text, HTML, or Markdown",
330
+ "type": "string",
331
+ "enum": ["text", "html", "markdown"]
332
+ }
333
+ },
334
+ "required": ["textContent"],
335
+ "additionalProperties": false,
336
+ "title": "Text content schema"
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
+ "anyOf": [
352
+ {
353
+ "type": "string",
354
+ "minLength": 1
355
+ },
356
+ {
357
+ "type": "null"
358
+ }
359
+ ],
360
+ "title": "Text content variable name schema"
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
+ "type": ["string", "null"]
377
+ }
378
+ ```
379
+
380
+ ## `setTextFontSize`
381
+
382
+ Font size
383
+
384
+ Set the text font size.
385
+
386
+ **Payload schema**
387
+
388
+ ```json
389
+ {
390
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
391
+ "title": "Text font size schema",
392
+ "type": "number",
393
+ "minimum": 1,
394
+ "maximum": 999
395
+ }
396
+ ```
397
+
398
+ ## `setTextFontStyle`
399
+
400
+ Font style
401
+
402
+ Set text font style flags such as bold, italic, underline, strikethrough, and weight.
403
+
404
+ **Payload schema**
405
+
406
+ ```json
407
+ {
408
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
409
+ "type": "object",
410
+ "properties": {
411
+ "bold": {
412
+ "type": "boolean"
413
+ },
414
+ "weight": {
415
+ "type": "number"
416
+ },
417
+ "italic": {
418
+ "type": "boolean"
419
+ },
420
+ "underlined": {
421
+ "type": "boolean"
422
+ },
423
+ "strikethrough": {
424
+ "type": "boolean"
425
+ }
426
+ },
427
+ "additionalProperties": false,
428
+ "title": "Text font style schema"
429
+ }
430
+ ```
431
+
432
+ ## `setTextFontWeight`
433
+
434
+ Font weight
435
+
436
+ Set the text font weight.
437
+
438
+ **Payload schema**
439
+
440
+ ```json
441
+ {
442
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
443
+ "type": "number",
444
+ "title": "Text font weight schema"
445
+ }
446
+ ```
447
+
448
+ ## `setTextHorizontalAlign`
449
+
450
+ Horizontal align
451
+
452
+ Set horizontal text alignment.
453
+
454
+ **Payload schema**
455
+
456
+ ```json
457
+ {
458
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
459
+ "title": "Text horizontal align schema",
460
+ "type": "string",
461
+ "enum": ["left", "center", "justify", "right"]
462
+ }
463
+ ```
464
+
465
+ ## `setTextLetterSpacing`
466
+
467
+ Letter spacing
468
+
469
+ Set text letter spacing in pixels.
470
+
471
+ **Payload schema**
472
+
473
+ ```json
474
+ {
475
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
476
+ "title": "Text letter spacing schema",
477
+ "type": "number",
478
+ "minimum": 0,
479
+ "maximum": 10
480
+ }
481
+ ```
482
+
483
+ ## `setTextLineSpacing`
484
+
485
+ Line spacing
486
+
487
+ Set text line spacing.
488
+
489
+ **Payload schema**
490
+
491
+ ```json
492
+ {
493
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
494
+ "title": "Text line spacing schema",
495
+ "type": "number",
496
+ "minimum": 1,
497
+ "maximum": 3
498
+ }
499
+ ```
500
+
501
+ ## `setTextLinkEnabled`
502
+
503
+ Link enabled
504
+
505
+ Enable or disable link behavior for plain text content.
506
+
507
+ **Payload schema**
508
+
509
+ ```json
510
+ {
511
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
512
+ "title": "Text link enabled schema",
513
+ "type": "boolean"
514
+ }
515
+ ```
516
+
517
+ ## `setTextLinkUrl`
518
+
519
+ Link URL
520
+
521
+ Set the URL used when link behavior is enabled.
522
+
523
+ **Payload schema**
524
+
525
+ ```json
526
+ {
527
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
528
+ "title": "Text link URL schema",
529
+ "type": "string"
530
+ }
531
+ ```
532
+
533
+ ## `setTextMaxLines`
534
+
535
+ Max lines
536
+
537
+ Set the maximum visible lines when responsive text is disabled.
538
+
539
+ **Payload schema**
540
+
541
+ ```json
542
+ {
543
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
544
+ "title": "Text max lines schema",
545
+ "type": "number",
546
+ "minimum": 0
547
+ }
548
+ ```
549
+
550
+ ## `setTextObjectShadow`
551
+
552
+ Object shadow
553
+
554
+ Enable or disable object shadow.
555
+
556
+ **Payload schema**
557
+
558
+ ```json
559
+ {
560
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
561
+ "title": "Text object shadow schema",
562
+ "type": "boolean"
563
+ }
564
+ ```
565
+
566
+ ## `setTextPadding`
567
+
568
+ Text padding
569
+
570
+ Set text padding inside the object.
571
+
572
+ **Payload schema**
573
+
574
+ ```json
575
+ {
576
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
577
+ "title": "Text padding schema",
578
+ "type": "number",
579
+ "minimum": 0,
580
+ "maximum": 100
581
+ }
582
+ ```
583
+
584
+ ## `setTextParagraphMargin`
585
+
586
+ Paragraph margin
587
+
588
+ Set paragraph margin for Markdown text.
589
+
590
+ **Payload schema**
591
+
592
+ ```json
593
+ {
594
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
595
+ "title": "Text paragraph margin schema",
596
+ "type": "number",
597
+ "minimum": 0,
598
+ "maximum": 32
599
+ }
600
+ ```
601
+
602
+ ## `setTextRepresentation`
603
+
604
+ Text representation
605
+
606
+ Set whether text content is rendered as plain text, HTML, or Markdown.
607
+
608
+ **Payload schema**
609
+
610
+ ```json
611
+ {
612
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
613
+ "title": "Text representation schema",
614
+ "type": "string",
615
+ "enum": ["text", "html", "markdown"]
616
+ }
617
+ ```
618
+
619
+ ## `setTextResponsiveEnabled`
620
+
621
+ Responsive text
622
+
623
+ Enable responsive text. When disabled, text uses ellipsis and max lines. When enabled, text can scale with workbook or fit the object.
624
+
625
+ **Payload schema**
626
+
627
+ ```json
628
+ {
629
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
630
+ "title": "Responsive text enabled schema",
631
+ "type": "boolean"
632
+ }
633
+ ```
634
+
635
+ ## `setTextScaling`
636
+
637
+ Text scaling
638
+
639
+ Set responsive text scaling mode.
640
+
641
+ **Payload schema**
642
+
643
+ ```json
644
+ {
645
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
646
+ "title": "Text scaling schema",
647
+ "type": "string",
648
+ "enum": ["none", "viewportWidth", "fitToObject"]
649
+ }
650
+ ```
651
+
652
+ ## `setTextShadow`
653
+
654
+ Text shadow
655
+
656
+ Enable or disable text shadow.
657
+
658
+ **Payload schema**
659
+
660
+ ```json
661
+ {
662
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
663
+ "title": "Text shadow schema",
664
+ "type": "boolean"
665
+ }
666
+ ```
667
+
668
+ ## `setTextVerticalAlign`
669
+
670
+ Vertical align
671
+
672
+ Set vertical text alignment inside the object.
673
+
674
+ **Payload schema**
675
+
676
+ ```json
677
+ {
678
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
679
+ "title": "Text vertical align schema",
680
+ "type": "string",
681
+ "enum": ["auto", "top", "middle", "bottom"]
682
+ }
683
+ ```
684
+
685
+ ## `setTextWordWrap`
686
+
687
+ Word wrap
688
+
689
+ Enable or disable text word wrapping.
690
+
691
+ **Payload schema**
692
+
693
+ ```json
694
+ {
695
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
696
+ "title": "Text word wrap schema",
697
+ "type": "boolean"
698
+ }
699
+ ```