@wise/dynamic-flow-types 3.15.1 → 3.17.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 (59) hide show
  1. package/build/main.js +85 -41
  2. package/build/main.mjs +85 -41
  3. package/build/next/feature/SuggestionsValue.d.ts +5 -0
  4. package/build/next/feature/toolbar/Toolbar.d.ts +4 -0
  5. package/build/next/feature/toolbar/ToolbarButton.d.ts +4 -0
  6. package/build/next/layout/AlertLayout.d.ts +4 -0
  7. package/build/next/layout/BoxLayout.d.ts +4 -0
  8. package/build/next/layout/ButtonLayout.d.ts +4 -0
  9. package/build/next/layout/ColumnsLayout.d.ts +4 -0
  10. package/build/next/layout/DecisionLayout.d.ts +4 -0
  11. package/build/next/layout/DecisionLayoutOption.d.ts +6 -1
  12. package/build/next/layout/DividerLayout.d.ts +4 -0
  13. package/build/next/layout/FormLayout.d.ts +4 -0
  14. package/build/next/layout/HeadingLayout.d.ts +4 -0
  15. package/build/next/layout/ImageLayout.d.ts +4 -0
  16. package/build/next/layout/InfoLayout.d.ts +4 -0
  17. package/build/next/layout/InstructionsLayout.d.ts +4 -0
  18. package/build/next/layout/InstructionsLayoutItem.d.ts +5 -0
  19. package/build/next/layout/ListLayout.d.ts +4 -0
  20. package/build/next/layout/ListLayoutItem.d.ts +10 -0
  21. package/build/next/layout/LoadingIndicatorLayout.d.ts +4 -0
  22. package/build/next/layout/MarkdownLayout.d.ts +4 -0
  23. package/build/next/layout/ModalLayout.d.ts +4 -0
  24. package/build/next/layout/ParagraphLayout.d.ts +4 -0
  25. package/build/next/layout/ProgressLayout.d.ts +4 -0
  26. package/build/next/layout/ReviewLayout.d.ts +4 -0
  27. package/build/next/layout/ReviewLayoutField.d.ts +5 -0
  28. package/build/next/layout/SearchLayout.d.ts +4 -0
  29. package/build/next/layout/SectionLayout.d.ts +4 -0
  30. package/build/next/layout/StatusListLayout.d.ts +4 -0
  31. package/build/next/layout/StatusListLayoutItem.d.ts +5 -0
  32. package/build/next/layout/TabsLayout.d.ts +4 -0
  33. package/build/next/layout/TabsLayoutTab.d.ts +5 -0
  34. package/build/next/schema/AllOfSchema.d.ts +4 -0
  35. package/build/next/schema/ArraySchemaList.d.ts +4 -0
  36. package/build/next/schema/ArraySchemaTuple.d.ts +4 -0
  37. package/build/next/schema/BlobSchema.d.ts +4 -0
  38. package/build/next/schema/BooleanSchema.d.ts +4 -0
  39. package/build/next/schema/ConstSchema.d.ts +4 -0
  40. package/build/next/schema/IntegerSchema.d.ts +4 -0
  41. package/build/next/schema/NumberSchema.d.ts +4 -0
  42. package/build/next/schema/ObjectSchema.d.ts +8 -0
  43. package/build/next/schema/OneOfSchema.d.ts +4 -0
  44. package/build/next/schema/StringSchema.d.ts +4 -0
  45. package/build/next/step/Step.d.ts +4 -0
  46. package/build/renderers/DecisionRendererProps.d.ts +2 -0
  47. package/build/renderers/InstructionsRendererProps.d.ts +2 -0
  48. package/build/renderers/ListRendererProps.d.ts +3 -0
  49. package/build/renderers/RendererProps.d.ts +1 -0
  50. package/build/renderers/RepeatableRendererProps.d.ts +1 -0
  51. package/build/renderers/ReviewRendererProps.d.ts +2 -0
  52. package/build/renderers/SelectInputRendererProps.d.ts +1 -0
  53. package/build/renderers/StatusListRendererProps.d.ts +2 -0
  54. package/build/renderers/StepRendererProps.d.ts +3 -0
  55. package/build/renderers/Suggestions.d.ts +2 -0
  56. package/build/renderers/TabsRendererProps.d.ts +2 -0
  57. package/build/zod/schemas.d.ts +49 -0
  58. package/build/zod/schemas.ts +722 -677
  59. package/package.json +5 -5
package/build/main.mjs CHANGED
@@ -143,7 +143,8 @@ var loadingIndicatorLayoutSchema = z.object({
143
143
  size: sizeSchema.optional(),
144
144
  control: z.string().optional(),
145
145
  margin: sizeSchema.optional(),
146
- analyticsId: z.string().optional()
146
+ analyticsId: z.string().optional(),
147
+ tags: z.array(z.string()).optional()
147
148
  });
148
149
  var paragraphLayoutSchema = z.object({
149
150
  type: z.literal("paragraph"),
@@ -151,13 +152,15 @@ var paragraphLayoutSchema = z.object({
151
152
  align: alignSchema.optional(),
152
153
  control: z.string().optional(),
153
154
  margin: sizeSchema.optional(),
154
- analyticsId: z.string().optional()
155
+ analyticsId: z.string().optional(),
156
+ tags: z.array(z.string()).optional()
155
157
  });
156
158
  var dividerLayoutSchema = z.object({
157
159
  type: z.literal("divider"),
158
160
  control: z.string().optional(),
159
161
  margin: sizeSchema.optional(),
160
- analyticsId: z.string().optional()
162
+ analyticsId: z.string().optional(),
163
+ tags: z.array(z.string()).optional()
161
164
  });
162
165
  var listLayoutStatusSchema = z.union([
163
166
  z.literal("warning"),
@@ -177,7 +180,8 @@ var imageLayoutSchema = z.object({
177
180
  control: z.string().optional(),
178
181
  margin: sizeSchema.optional(),
179
182
  align: alignSchema.optional(),
180
- analyticsId: z.string().optional()
183
+ analyticsId: z.string().optional(),
184
+ tags: z.array(z.string()).optional()
181
185
  });
182
186
  var statusListLayoutStatusSchema = z.union([
183
187
  z.literal("not-done"),
@@ -188,7 +192,8 @@ var instructionsLayoutItemSchema = z.object({
188
192
  text: z.string(),
189
193
  context: contextSchema,
190
194
  tag: z.string().optional(),
191
- analyticsId: z.string().optional()
195
+ analyticsId: z.string().optional(),
196
+ tags: z.array(z.string()).optional()
192
197
  });
193
198
  var modalLayoutTriggerSchema = z.object({
194
199
  title: z.string()
@@ -205,10 +210,12 @@ var searchLayoutSchema = z.object({
205
210
  emptyMessage: z.string().optional(),
206
211
  control: z.string().optional(),
207
212
  margin: sizeSchema.optional(),
208
- analyticsId: z.string().optional()
213
+ analyticsId: z.string().optional(),
214
+ tags: z.array(z.string()).optional()
209
215
  });
210
216
  var infoLayoutSchema = z.object({
211
217
  type: z.literal("info"),
218
+ tags: z.array(z.string()).optional(),
212
219
  markdown: z.string(),
213
220
  align: alignSchema.optional(),
214
221
  control: z.string().optional(),
@@ -221,7 +228,8 @@ var formLayoutSchema = z.object({
221
228
  schemaId: z.string(),
222
229
  control: z.string().optional(),
223
230
  margin: sizeSchema.optional(),
224
- analyticsId: z.string().optional()
231
+ analyticsId: z.string().optional(),
232
+ tags: z.array(z.string()).optional()
225
233
  });
226
234
  var headingLayoutSchema = z.object({
227
235
  type: z.literal("heading"),
@@ -230,7 +238,8 @@ var headingLayoutSchema = z.object({
230
238
  align: alignSchema.optional(),
231
239
  control: z.string().optional(),
232
240
  margin: sizeSchema.optional(),
233
- analyticsId: z.string().optional()
241
+ analyticsId: z.string().optional(),
242
+ tags: z.array(z.string()).optional()
234
243
  });
235
244
  var instructionsLayoutSchema = z.object({
236
245
  type: z.literal("instructions"),
@@ -238,7 +247,8 @@ var instructionsLayoutSchema = z.object({
238
247
  items: z.array(instructionsLayoutItemSchema),
239
248
  control: z.string().optional(),
240
249
  margin: sizeSchema.optional(),
241
- analyticsId: z.string().optional()
250
+ analyticsId: z.string().optional(),
251
+ tags: z.array(z.string()).optional()
242
252
  });
243
253
  var markdownLayoutSchema = z.object({
244
254
  type: z.literal("markdown"),
@@ -246,7 +256,8 @@ var markdownLayoutSchema = z.object({
246
256
  align: alignSchema.optional(),
247
257
  control: z.string().optional(),
248
258
  margin: sizeSchema.optional(),
249
- analyticsId: z.string().optional()
259
+ analyticsId: z.string().optional(),
260
+ tags: z.array(z.string()).optional()
250
261
  });
251
262
  var progressLayoutSchema = z.object({
252
263
  type: z.literal("progress"),
@@ -258,7 +269,8 @@ var progressLayoutSchema = z.object({
258
269
  help: helpSchema.optional(),
259
270
  control: z.string().optional(),
260
271
  margin: sizeSchema.optional(),
261
- analyticsId: z.string().optional()
272
+ analyticsId: z.string().optional(),
273
+ tags: z.array(z.string()).optional()
262
274
  });
263
275
  var columnsLayoutBiasSchema = z.union([
264
276
  z.literal("none"),
@@ -337,7 +349,8 @@ var suggestionsValueSchema = z.object({
337
349
  image: imageSchema.optional(),
338
350
  tag: z.string().optional(),
339
351
  media: mediaSchema.optional(),
340
- analyticsId: z.string().optional()
352
+ analyticsId: z.string().optional(),
353
+ tags: z.array(z.string()).optional()
341
354
  });
342
355
  var dismissBehaviorSchema = z.object({
343
356
  type: z.literal("dismiss")
@@ -460,7 +473,8 @@ var tabsLayoutSchema = z.lazy(
460
473
  tabs: z.array(tabsLayoutTabSchema),
461
474
  control: z.string().optional(),
462
475
  margin: sizeSchema.optional(),
463
- analyticsId: z.string().optional()
476
+ analyticsId: z.string().optional(),
477
+ tags: z.array(z.string()).optional()
464
478
  })
465
479
  );
466
480
  var tabsLayoutTabSchema = z.lazy(
@@ -468,7 +482,8 @@ var tabsLayoutTabSchema = z.lazy(
468
482
  title: z.string(),
469
483
  components: z.array(layoutSchema),
470
484
  tag: z.string().optional(),
471
- analyticsId: z.string().optional()
485
+ analyticsId: z.string().optional(),
486
+ tags: z.array(z.string()).optional()
472
487
  })
473
488
  );
474
489
  var alertLayoutSchema = z.lazy(
@@ -479,7 +494,8 @@ var alertLayoutSchema = z.lazy(
479
494
  control: z.string().optional(),
480
495
  margin: sizeSchema.optional(),
481
496
  callToAction: alertLayoutCallToActionSchema.optional(),
482
- analyticsId: z.string().optional()
497
+ analyticsId: z.string().optional(),
498
+ tags: z.array(z.string()).optional()
483
499
  })
484
500
  );
485
501
  var alertLayoutCallToActionSchema = z.lazy(
@@ -497,7 +513,8 @@ var listLayoutSchema = z.lazy(
497
513
  items: z.array(listLayoutItemSchema),
498
514
  control: z.string().optional(),
499
515
  margin: sizeSchema.optional(),
500
- analyticsId: z.string().optional()
516
+ analyticsId: z.string().optional(),
517
+ tags: z.array(z.string()).optional()
501
518
  })
502
519
  );
503
520
  var listLayoutCallToActionSchema = z.lazy(
@@ -522,7 +539,9 @@ var listLayoutItemSchema = z.lazy(
522
539
  inlineAlert: inlineAlertSchema.optional(),
523
540
  description: z.string().optional(),
524
541
  media: mediaSchema.optional(),
525
- analyticsId: z.string().optional()
542
+ analyticsId: z.string().optional(),
543
+ tags: z.array(z.string()).optional(),
544
+ callToAction: listLayoutCallToActionSchema.optional()
526
545
  })
527
546
  );
528
547
  var decisionLayoutSchema = z.lazy(
@@ -532,7 +551,8 @@ var decisionLayoutSchema = z.lazy(
532
551
  options: z.array(decisionLayoutOptionSchema),
533
552
  control: z.string().optional(),
534
553
  margin: sizeSchema.optional(),
535
- analyticsId: z.string().optional()
554
+ analyticsId: z.string().optional(),
555
+ tags: z.array(z.string()).optional()
536
556
  })
537
557
  );
538
558
  var decisionLayoutOptionSchema = z.lazy(
@@ -550,7 +570,8 @@ var decisionLayoutOptionSchema = z.lazy(
550
570
  inlineAlert: inlineAlertSchema.optional(),
551
571
  media: mediaSchema.optional(),
552
572
  analyticsId: z.string().optional(),
553
- keywords: z.array(z.string()).optional()
573
+ keywords: z.array(z.string()).optional(),
574
+ tags: z.array(z.string()).optional()
554
575
  })
555
576
  );
556
577
  var sectionLayoutCallToActionSchema = z.lazy(
@@ -567,7 +588,8 @@ var statusListLayoutSchema = z.lazy(
567
588
  title: z.string().optional(),
568
589
  control: z.string().optional(),
569
590
  margin: sizeSchema.optional(),
570
- analyticsId: z.string().optional()
591
+ analyticsId: z.string().optional(),
592
+ tags: z.array(z.string()).optional()
571
593
  })
572
594
  );
573
595
  var statusListLayoutItemSchema = z.lazy(
@@ -578,7 +600,8 @@ var statusListLayoutItemSchema = z.lazy(
578
600
  status: statusListLayoutStatusSchema.optional(),
579
601
  callToAction: itemCallToActionSchema.optional(),
580
602
  tag: z.string().optional(),
581
- analyticsId: z.string().optional()
603
+ analyticsId: z.string().optional(),
604
+ tags: z.array(z.string()).optional()
582
605
  })
583
606
  );
584
607
  var sectionLayoutSchema = z.lazy(
@@ -589,7 +612,8 @@ var sectionLayoutSchema = z.lazy(
589
612
  callToAction: sectionLayoutCallToActionSchema.optional(),
590
613
  control: z.string().optional(),
591
614
  margin: sizeSchema.optional(),
592
- analyticsId: z.string().optional()
615
+ analyticsId: z.string().optional(),
616
+ tags: z.array(z.string()).optional()
593
617
  })
594
618
  );
595
619
  var layoutSchema = z.lazy(
@@ -633,7 +657,8 @@ var boxLayoutSchema = z.lazy(
633
657
  border: z.boolean().optional(),
634
658
  control: z.string().optional(),
635
659
  margin: sizeSchema.optional(),
636
- analyticsId: z.string().optional()
660
+ analyticsId: z.string().optional(),
661
+ tags: z.array(z.string()).optional()
637
662
  })
638
663
  );
639
664
  var buttonLayoutSchema = z.lazy(
@@ -648,7 +673,8 @@ var buttonLayoutSchema = z.lazy(
648
673
  pinOrder: z.number().optional(),
649
674
  control: z.string().optional(),
650
675
  margin: sizeSchema.optional(),
651
- analyticsId: z.string().optional()
676
+ analyticsId: z.string().optional(),
677
+ tags: z.array(z.string()).optional()
652
678
  })
653
679
  );
654
680
  var columnsLayoutSchema = z.lazy(
@@ -659,7 +685,8 @@ var columnsLayoutSchema = z.lazy(
659
685
  bias: columnsLayoutBiasSchema.optional(),
660
686
  control: z.string().optional(),
661
687
  margin: sizeSchema.optional(),
662
- analyticsId: z.string().optional()
688
+ analyticsId: z.string().optional(),
689
+ tags: z.array(z.string()).optional()
663
690
  })
664
691
  );
665
692
  var modalLayoutSchema = z.lazy(
@@ -669,7 +696,8 @@ var modalLayoutSchema = z.lazy(
669
696
  margin: sizeSchema.optional(),
670
697
  trigger: modalLayoutTriggerSchema,
671
698
  content: modalLayoutContentSchema,
672
- analyticsId: z.string().optional()
699
+ analyticsId: z.string().optional(),
700
+ tags: z.array(z.string()).optional()
673
701
  })
674
702
  );
675
703
  var reviewLayoutSchema = z.lazy(
@@ -682,7 +710,8 @@ var reviewLayoutSchema = z.lazy(
682
710
  callToAction: reviewLayoutCallToActionSchema.optional(),
683
711
  control: z.string().optional(),
684
712
  margin: sizeSchema.optional(),
685
- analyticsId: z.string().optional()
713
+ analyticsId: z.string().optional(),
714
+ tags: z.array(z.string()).optional()
686
715
  })
687
716
  );
688
717
  var reviewLayoutFieldSchema = z.lazy(
@@ -698,7 +727,8 @@ var reviewLayoutFieldSchema = z.lazy(
698
727
  inlineAlert: inlineAlertSchema.optional(),
699
728
  callToAction: reviewLayoutCallToActionSchema.optional(),
700
729
  media: mediaSchema.optional(),
701
- analyticsId: z.string().optional()
730
+ analyticsId: z.string().optional(),
731
+ tags: z.array(z.string()).optional()
702
732
  })
703
733
  );
704
734
  var modalLayoutContentSchema = z.lazy(
@@ -734,7 +764,8 @@ var stepSchema = z.lazy(
734
764
  refreshUrl: z.string().optional(),
735
765
  control: z.string().optional(),
736
766
  refreshAfter: z.string().optional(),
737
- toolbar: toolbarSchema.optional()
767
+ toolbar: toolbarSchema.optional(),
768
+ tags: z.array(z.string()).optional()
738
769
  })
739
770
  );
740
771
  var schemaSchema = z.lazy(
@@ -770,7 +801,8 @@ var linkHandlerSchema = z.lazy(
770
801
  var toolbarSchema = z.lazy(
771
802
  () => z.object({
772
803
  items: z.array(toolbarItemSchema),
773
- control: z.string().optional()
804
+ control: z.string().optional(),
805
+ tags: z.array(z.string()).optional()
774
806
  })
775
807
  );
776
808
  var allOfSchemaSchema = z.lazy(
@@ -789,7 +821,8 @@ var allOfSchemaSchema = z.lazy(
789
821
  summary: summaryProviderSchema.optional(),
790
822
  analyticsId: z.string().optional(),
791
823
  alert: alertLayoutSchema.optional(),
792
- media: mediaSchema.optional()
824
+ media: mediaSchema.optional(),
825
+ tags: z.array(z.string()).optional()
793
826
  })
794
827
  );
795
828
  var arraySchemaSchema = z.lazy(
@@ -817,7 +850,8 @@ var blobSchemaSchema = z.lazy(
817
850
  maxSize: z.number().optional(),
818
851
  source: uploadSourceSchema.optional(),
819
852
  disabled: z.boolean().optional(),
820
- media: mediaSchema.optional()
853
+ media: mediaSchema.optional(),
854
+ tags: z.array(z.string()).optional()
821
855
  })
822
856
  );
823
857
  var booleanSchemaSchema = z.lazy(
@@ -847,13 +881,15 @@ var booleanSchemaSchema = z.lazy(
847
881
  autofillKey: z.string().optional(),
848
882
  help: helpSchema.optional(),
849
883
  onChange: behaviorSchema.optional(),
850
- media: mediaSchema.optional()
884
+ media: mediaSchema.optional(),
885
+ tags: z.array(z.string()).optional()
851
886
  })
852
887
  );
853
888
  var constSchemaSchema = z.lazy(
854
889
  () => z.object({
855
890
  hidden: z.boolean().optional(),
856
891
  control: z.string().optional(),
892
+ tags: z.array(z.string()).optional(),
857
893
  promoted: z.boolean().optional(),
858
894
  $id: z.string().optional(),
859
895
  const: jsonElementSchema,
@@ -902,7 +938,8 @@ var integerSchemaSchema = z.lazy(
902
938
  autofillKey: z.string().optional(),
903
939
  help: helpSchema.optional(),
904
940
  onChange: behaviorSchema.optional(),
905
- media: mediaSchema.optional()
941
+ media: mediaSchema.optional(),
942
+ tags: z.array(z.string()).optional()
906
943
  })
907
944
  );
908
945
  var numberSchemaSchema = z.lazy(
@@ -937,7 +974,8 @@ var numberSchemaSchema = z.lazy(
937
974
  autofillKey: z.string().optional(),
938
975
  help: helpSchema.optional(),
939
976
  onChange: behaviorSchema.optional(),
940
- media: mediaSchema.optional()
977
+ media: mediaSchema.optional(),
978
+ tags: z.array(z.string()).optional()
941
979
  })
942
980
  );
943
981
  var objectSchemaSchema = z.lazy(
@@ -960,7 +998,8 @@ var objectSchemaSchema = z.lazy(
960
998
  summary: summaryProviderSchema.optional(),
961
999
  analyticsId: z.string().optional(),
962
1000
  alert: alertLayoutSchema.optional(),
963
- media: mediaSchema.optional()
1001
+ media: mediaSchema.optional(),
1002
+ tags: z.array(z.string()).optional()
964
1003
  })
965
1004
  );
966
1005
  var oneOfSchemaSchema = z.lazy(
@@ -992,7 +1031,8 @@ var oneOfSchemaSchema = z.lazy(
992
1031
  validationMessages: z.record(z.string()).optional(),
993
1032
  disabled: z.boolean().optional(),
994
1033
  onChange: behaviorSchema.optional(),
995
- media: mediaSchema.optional()
1034
+ media: mediaSchema.optional(),
1035
+ tags: z.array(z.string()).optional()
996
1036
  })
997
1037
  );
998
1038
  var stringSchemaSchema = z.lazy(
@@ -1039,7 +1079,8 @@ var stringSchemaSchema = z.lazy(
1039
1079
  help: helpSchema.optional(),
1040
1080
  suggestions: suggestionsSchema.optional(),
1041
1081
  onChange: behaviorSchema.optional(),
1042
- media: mediaSchema.optional()
1082
+ media: mediaSchema.optional(),
1083
+ tags: z.array(z.string()).optional()
1043
1084
  })
1044
1085
  );
1045
1086
  var arraySchemaListSchema = z.lazy(
@@ -1067,7 +1108,8 @@ var arraySchemaListSchema = z.lazy(
1067
1108
  alert: alertLayoutSchema.optional(),
1068
1109
  validationMessages: z.record(z.string()).optional(),
1069
1110
  disabled: z.boolean().optional(),
1070
- media: mediaSchema.optional()
1111
+ media: mediaSchema.optional(),
1112
+ tags: z.array(z.string()).optional()
1071
1113
  })
1072
1114
  );
1073
1115
  var persistAsyncSchema = z.lazy(
@@ -1097,7 +1139,8 @@ var arraySchemaTupleSchema = z.lazy(
1097
1139
  persistAsync: persistAsyncSchema.optional(),
1098
1140
  validationAsync: validateAsyncSchema.optional(),
1099
1141
  alert: alertLayoutSchema.optional(),
1100
- media: mediaSchema.optional()
1142
+ media: mediaSchema.optional(),
1143
+ tags: z.array(z.string()).optional()
1101
1144
  })
1102
1145
  );
1103
1146
  var pollingOnErrorSchema = z.lazy(
@@ -1117,7 +1160,8 @@ var toolbarButtonSchema = z.lazy(
1117
1160
  control: z.string().optional(),
1118
1161
  context: contextSchema.optional(),
1119
1162
  disabled: z.boolean().optional(),
1120
- analyticsId: z.string().optional()
1163
+ analyticsId: z.string().optional(),
1164
+ tags: z.array(z.string()).optional()
1121
1165
  })
1122
1166
  );
1123
1167
  var modalBehaviorSchema = z.lazy(
@@ -24,6 +24,7 @@ export type SuggestionsValue = {
24
24
  image?: Image;
25
25
  /**
26
26
  * An optional identifier to be used in custom renderers.
27
+ * @deprecated Please use 'tags' instead
27
28
  */
28
29
  tag?: string;
29
30
  /**
@@ -34,4 +35,8 @@ export type SuggestionsValue = {
34
35
  * An optional identifier to be used in analytics tracking.
35
36
  */
36
37
  analyticsId?: string;
38
+ /**
39
+ * An optional list of identifiers used to configure renderers.
40
+ */
41
+ tags?: string[];
37
42
  };
@@ -11,4 +11,8 @@ export type Toolbar = {
11
11
  * Specify a particular control to use to represent the toolbar. If the control is unknown, it will be ignored.
12
12
  */
13
13
  control?: string;
14
+ /**
15
+ * An optional list of identifiers used to configure renderers.
16
+ */
17
+ tags?: string[];
14
18
  };
@@ -38,4 +38,8 @@ export type ToolbarButton = {
38
38
  * An optional identifier to be used in analytics tracking.
39
39
  */
40
40
  analyticsId?: string;
41
+ /**
42
+ * An optional list of identifiers used to configure renderers.
43
+ */
44
+ tags?: string[];
41
45
  };
@@ -35,4 +35,8 @@ export type AlertLayout = {
35
35
  * An optional identifier to be used in analytics tracking.
36
36
  */
37
37
  analyticsId?: string;
38
+ /**
39
+ * An optional list of identifiers used to configure renderers.
40
+ */
41
+ tags?: string[];
38
42
  };
@@ -33,4 +33,8 @@ export type BoxLayout = {
33
33
  * An optional identifier to be used in analytics tracking.
34
34
  */
35
35
  analyticsId?: string;
36
+ /**
37
+ * An optional list of identifiers used to configure renderers.
38
+ */
39
+ tags?: string[];
36
40
  };
@@ -57,4 +57,8 @@ export type ButtonLayout = {
57
57
  * An optional identifier to be used in analytics tracking.
58
58
  */
59
59
  analyticsId?: string;
60
+ /**
61
+ * An optional list of identifiers used to configure renderers.
62
+ */
63
+ tags?: string[];
60
64
  };
@@ -34,4 +34,8 @@ export type ColumnsLayout = {
34
34
  * An optional identifier to be used in analytics tracking.
35
35
  */
36
36
  analyticsId?: string;
37
+ /**
38
+ * An optional list of identifiers used to configure renderers.
39
+ */
40
+ tags?: string[];
37
41
  };
@@ -28,4 +28,8 @@ export type DecisionLayout = {
28
28
  * An optional identifier to be used in analytics tracking.
29
29
  */
30
30
  analyticsId?: string;
31
+ /**
32
+ * An optional list of identifiers used to configure renderers.
33
+ */
34
+ tags?: string[];
31
35
  };
@@ -39,7 +39,8 @@ export type DecisionLayoutOption = {
39
39
  */
40
40
  behavior?: Behavior;
41
41
  /**
42
- * An optional identifier to be used in custom renderers.
42
+ * An optional identifier used to configure renderers.
43
+ * @deprecated Please use 'tags' instead
43
44
  */
44
45
  tag?: string;
45
46
  /**
@@ -67,4 +68,8 @@ export type DecisionLayoutOption = {
67
68
  * Keywords to look for when filtering decisions
68
69
  */
69
70
  keywords?: string[];
71
+ /**
72
+ * An optional list of identifiers used to configure renderers.
73
+ */
74
+ tags?: string[];
70
75
  };
@@ -19,4 +19,8 @@ export type DividerLayout = {
19
19
  * An optional identifier to be used in analytics tracking.
20
20
  */
21
21
  analyticsId?: string;
22
+ /**
23
+ * An optional list of identifiers used to configure renderers.
24
+ */
25
+ tags?: string[];
22
26
  };
@@ -31,4 +31,8 @@ export type FormLayout = {
31
31
  * An optional identifier to be used in analytics tracking.
32
32
  */
33
33
  analyticsId?: string;
34
+ /**
35
+ * An optional list of identifiers used to configure renderers.
36
+ */
37
+ tags?: string[];
34
38
  };
@@ -32,4 +32,8 @@ export type HeadingLayout = {
32
32
  * An optional identifier to be used in analytics tracking.
33
33
  */
34
34
  analyticsId?: string;
35
+ /**
36
+ * An optional list of identifiers used to configure renderers.
37
+ */
38
+ tags?: string[];
35
39
  };
@@ -49,4 +49,8 @@ export type ImageLayout = {
49
49
  * An optional identifier to be used in analytics tracking.
50
50
  */
51
51
  analyticsId?: string;
52
+ /**
53
+ * An optional list of identifiers used to configure renderers.
54
+ */
55
+ tags?: string[];
52
56
  };
@@ -11,6 +11,10 @@ export type InfoLayout = {
11
11
  */
12
12
  type: 'info';
13
13
  /**
14
+ * An optional list of identifiers used to configure renderers.
15
+ */
16
+ tags?: string[];
17
+ /**
14
18
  * The markdown-formatted string to use as the content.
15
19
  */
16
20
  markdown: string;
@@ -28,4 +28,8 @@ export type InstructionsLayout = {
28
28
  * An optional identifier to be used in analytics tracking.
29
29
  */
30
30
  analyticsId?: string;
31
+ /**
32
+ * An optional list of identifiers used to configure renderers.
33
+ */
34
+ tags?: string[];
31
35
  };
@@ -13,10 +13,15 @@ export type InstructionsLayoutItem = {
13
13
  context: Context;
14
14
  /**
15
15
  * An optional identifier to be used in custom renderers.
16
+ * @deprecated Please use 'tags' instead
16
17
  */
17
18
  tag?: string;
18
19
  /**
19
20
  * An optional identifier to be used in analytics tracking.
20
21
  */
21
22
  analyticsId?: string;
23
+ /**
24
+ * An optional list of identifiers used to configure renderers.
25
+ */
26
+ tags?: string[];
22
27
  };
@@ -33,4 +33,8 @@ export type ListLayout = {
33
33
  * An optional identifier to be used in analytics tracking.
34
34
  */
35
35
  analyticsId?: string;
36
+ /**
37
+ * An optional list of identifiers used to configure renderers.
38
+ */
39
+ tags?: string[];
36
40
  };
@@ -5,6 +5,7 @@ import type { AdditionalInfo } from '../misc/AdditionalInfo';
5
5
  import type { SupportingValues } from '../misc/SupportingValues';
6
6
  import type { InlineAlert } from '../misc/InlineAlert';
7
7
  import type { Media } from '../misc/media/Media';
8
+ import type { ListLayoutCallToAction } from './ListLayoutCallToAction';
8
9
  /**
9
10
  * A single entry in a [ListLayout].
10
11
  */
@@ -43,6 +44,7 @@ export type ListLayoutItem = {
43
44
  subvalue?: string;
44
45
  /**
45
46
  * An optional identifier to be used in custom renderers.
47
+ * @deprecated Please use 'tags' instead
46
48
  */
47
49
  tag?: string;
48
50
  /**
@@ -70,4 +72,12 @@ export type ListLayoutItem = {
70
72
  * An optional identifier to be used in analytics tracking.
71
73
  */
72
74
  analyticsId?: string;
75
+ /**
76
+ * An optional list of identifiers used to configure renderers.
77
+ */
78
+ tags?: string[];
79
+ /**
80
+ * A titled call to action which can be performed by the user.
81
+ */
82
+ callToAction?: ListLayoutCallToAction;
73
83
  };
@@ -24,4 +24,8 @@ export type LoadingIndicatorLayout = {
24
24
  * An optional identifier to be used in analytics tracking.
25
25
  */
26
26
  analyticsId?: string;
27
+ /**
28
+ * An optional list of identifiers used to configure renderers.
29
+ */
30
+ tags?: string[];
27
31
  };
@@ -35,4 +35,8 @@ export type MarkdownLayout = {
35
35
  * An optional identifier to be used in analytics tracking.
36
36
  */
37
37
  analyticsId?: string;
38
+ /**
39
+ * An optional list of identifiers used to configure renderers.
40
+ */
41
+ tags?: string[];
38
42
  };
@@ -30,4 +30,8 @@ export type ModalLayout = {
30
30
  * An optional identifier to be used in analytics tracking.
31
31
  */
32
32
  analyticsId?: string;
33
+ /**
34
+ * An optional list of identifiers used to configure renderers.
35
+ */
36
+ tags?: string[];
33
37
  };
@@ -28,4 +28,8 @@ export type ParagraphLayout = {
28
28
  * An optional identifier to be used in analytics tracking.
29
29
  */
30
30
  analyticsId?: string;
31
+ /**
32
+ * An optional list of identifiers used to configure renderers.
33
+ */
34
+ tags?: string[];
31
35
  };
@@ -45,4 +45,8 @@ export type ProgressLayout = {
45
45
  * An optional identifier to be used in analytics tracking.
46
46
  */
47
47
  analyticsId?: string;
48
+ /**
49
+ * An optional list of identifiers used to configure renderers.
50
+ */
51
+ tags?: string[];
48
52
  };