json-renderers-run-instructions 1.15.2 → 1.20.1

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 (66) hide show
  1. package/package.json +12 -6
  2. package/src/index.js +2 -2
  3. package/src/v16/index.js +50 -0
  4. package/src/v16/registerGlobal/meta.js +6 -0
  5. package/src/v16/runOptions/applyFeature.js +20 -0
  6. package/src/v16/runOptions/applyInstructionBundle.js +45 -0
  7. package/src/v16/runOptions/helpers.js +41 -0
  8. package/src/v16/runOptions/index.js +73 -0
  9. package/src/v17/index.js +50 -0
  10. package/src/v17/registerGlobal/meta.js +6 -0
  11. package/src/v17/runOptions/applyFeature.js +20 -0
  12. package/src/v17/runOptions/applyInstructionBundle.js +45 -0
  13. package/src/v17/runOptions/helpers.js +41 -0
  14. package/src/v17/runOptions/index.js +73 -0
  15. package/src/v18/README.md +21 -0
  16. package/src/v18/data/definitions.json +334 -0
  17. package/src/v18/data/instructions.json +650 -0
  18. package/src/v18/data/spec.json +1605 -0
  19. package/src/v18/index.js +58 -0
  20. package/src/v18/instructions/executeBuildInstruction.js +53 -0
  21. package/src/v18/instructions/executeWriteBundle.js +21 -0
  22. package/src/v18/instructions/index.js +35 -0
  23. package/src/{v13/types/helpers → v18/instructions}/resolveSource.js +24 -27
  24. package/src/v18/instructions/writeResult.js +29 -0
  25. package/src/v18/registerGlobal/index.js +16 -0
  26. package/src/{v13 → v18}/registerGlobal/meta.js +1 -1
  27. package/src/v18/runOptions/index.js +47 -0
  28. package/src/v19/data/definitions.json +149 -0
  29. package/src/v19/data/instructions.json +650 -0
  30. package/src/v19/data/spec.json +1605 -0
  31. package/src/v19/index.js +54 -0
  32. package/src/v19/instructions/executeBuildInstruction.js +53 -0
  33. package/src/v19/instructions/executeWriteBundle.js +21 -0
  34. package/src/v19/instructions/index.js +35 -0
  35. package/src/v19/instructions/resolveSource.js +24 -0
  36. package/src/v19/instructions/writeResult.js +29 -0
  37. package/src/v19/registerGlobal/index.js +16 -0
  38. package/src/{v12 → v19}/registerGlobal/meta.js +6 -6
  39. package/src/v19/runOptions/index.js +78 -0
  40. package/src/v20/index.js +54 -0
  41. package/src/v20/instructions/executeBuildInstruction.js +53 -0
  42. package/src/v20/instructions/executeWriteBundle.js +21 -0
  43. package/src/v20/instructions/index.js +35 -0
  44. package/src/v20/instructions/resolveSource.js +24 -0
  45. package/src/v20/instructions/writeResult.js +29 -0
  46. package/src/v20/registerGlobal/index.js +16 -0
  47. package/src/v20/registerGlobal/meta.js +6 -0
  48. package/src/v20/runOptions/index.js +36 -0
  49. package/src/v20/runOptions/normalizeOptions.js +28 -0
  50. package/src/v20/runOptions/resolveFeatureKeys.js +43 -0
  51. package/src/v12/index.js +0 -178
  52. package/src/v12/runOptions/index.js +0 -66
  53. package/src/v12/transformers/columnOnRow.js +0 -33
  54. package/src/v12/transformers/index.js +0 -21
  55. package/src/v13/index.js +0 -49
  56. package/src/v13/runOptions/index.js +0 -66
  57. package/src/v13/transformers/columnOnRow.js +0 -33
  58. package/src/v13/transformers/index.js +0 -21
  59. package/src/v13/types/columnOnRow.js +0 -34
  60. package/src/v13/types/helpers/guards.js +0 -38
  61. package/src/v13/types/helpers/writeResult.js +0 -19
  62. package/src/v13/types/index.js +0 -33
  63. package/src/v13/types/rowOnColumn.js +0 -22
  64. package/src/v13/types/single.js +0 -28
  65. /package/src/{v12 → v16}/registerGlobal/index.js +0 -0
  66. /package/src/{v13 → v17}/registerGlobal/index.js +0 -0
@@ -0,0 +1,1605 @@
1
+ {
2
+ "buildHeader": {
3
+ "tagName": "th",
4
+ "textContent": "${columnName}",
5
+ "attributes": {
6
+ "class": "py-3 px-3 fw-semibold text-uppercase small"
7
+ }
8
+ },
9
+ "tableSearchBar": {
10
+ "tagName": "div",
11
+ "attributes": {
12
+ "class": "row mb-3 align-items-center"
13
+ },
14
+ "children": [
15
+ {
16
+ "tagName": "div",
17
+ "attributes": {
18
+ "class": "col-md-4 d-flex align-items-center"
19
+ },
20
+ "children": [
21
+ {
22
+ "tagName": "h6",
23
+ "attributes": {
24
+ "class": "mb-0 fw-semibold text-secondary",
25
+ "id": "table-title"
26
+ },
27
+ "textContent": "Items"
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "tagName": "div",
33
+ "attributes": {
34
+ "class": "col-md-4 text-center d-flex align-items-center justify-content-center"
35
+ },
36
+ "children": [
37
+ {
38
+ "tagName": "span",
39
+ "attributes": {
40
+ "id": "search-feedback",
41
+ "class": "badge bg-white text-secondary border px-3 py-2 small fw-normal shadow-sm"
42
+ },
43
+ "textContent": "Showing all records"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "tagName": "div",
49
+ "attributes": {
50
+ "class": "col-md-4"
51
+ },
52
+ "children": [
53
+ {
54
+ "tagName": "div",
55
+ "attributes": {
56
+ "class": "input-group"
57
+ },
58
+ "children": [
59
+ {
60
+ "tagName": "span",
61
+ "attributes": {
62
+ "class": "input-group-text bg-white"
63
+ },
64
+ "children": [
65
+ {
66
+ "tagName": "i",
67
+ "attributes": {
68
+ "class": "bi bi-search"
69
+ },
70
+ "textContent": "🔍"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "tagName": "input",
76
+ "attributes": {
77
+ "type": "text",
78
+ "id": "tableSearch",
79
+ "class": "form-control",
80
+ "placeholder": "Search table..."
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }
87
+ ]
88
+ },
89
+ "buildBodyTr": {
90
+ "tagName": "tr",
91
+ "attributes": {
92
+ "class": "align-middle"
93
+ },
94
+ "children": []
95
+ },
96
+ "buildColGroup": {
97
+ "tagName": "col",
98
+ "attributes": {
99
+ "width": "${width}"
100
+ }
101
+ },
102
+ "tableHeaderClickable": {
103
+ "tagName": "th",
104
+ "attributes": {
105
+ "class": "py-3 px-3 fw-semibold text-uppercase small user-select-none",
106
+ "role": "button",
107
+ "tabindex": "0",
108
+ "style": "cursor: pointer;",
109
+ "data-column": "${columnName}",
110
+ "data-sort-order": "none",
111
+ "data-role": "sortable-header"
112
+ },
113
+ "children": [
114
+ {
115
+ "tagName": "span",
116
+ "attributes": {
117
+ "class": "d-inline-flex align-items-center gap-2"
118
+ },
119
+ "children": [
120
+ {
121
+ "tagName": "span",
122
+ "textContent": "${columnName}"
123
+ },
124
+ {
125
+ "tagName": "span",
126
+ "textContent": "⇅",
127
+ "attributes": {
128
+ "class": "small opacity-75",
129
+ "data-role": "sort-indicator"
130
+ }
131
+ }
132
+ ]
133
+ }
134
+ ]
135
+ },
136
+ "buildFooter": {
137
+ "tagName": "td",
138
+ "children": [
139
+ {
140
+ "tagName": "input",
141
+ "attributes": {
142
+ "type": "text",
143
+ "placeholder": "enter ${columnName}",
144
+ "name": "${columnName}",
145
+ "id": "${columnName}",
146
+ "list": "${columnName}",
147
+ "class": "form-control"
148
+ }
149
+ }
150
+ ]
151
+ },
152
+ "buildBodyCell": {
153
+ "tagName": "td",
154
+ "textContent": "${rowValue}",
155
+ "attributes": {
156
+ "class": "py-3 px-3 text-secondary"
157
+ }
158
+ },
159
+ "button": {
160
+ "tagName": "button",
161
+ "textContent": "${columnName}",
162
+ "attributes": {
163
+ "class": "btn btn-primary btn-sm"
164
+ }
165
+ },
166
+ "buttonCell": {
167
+ "tagName": "td",
168
+ "attributes": {
169
+ "class": "py-2 px-3 text-center"
170
+ },
171
+ "children": [
172
+ {
173
+ "tagName": "button",
174
+ "textContent": "${agg:count}",
175
+ "attributes": {
176
+ "class": "btn btn-primary btn-sm"
177
+ }
178
+ }
179
+ ]
180
+ },
181
+ "optionsButtonCell": {
182
+ "tagName": "td",
183
+ "attributes": {
184
+ "class": "py-2 px-3 text-center"
185
+ },
186
+ "children": [
187
+ {
188
+ "tagName": "button",
189
+ "textContent": "show",
190
+ "attributes": {
191
+ "class": "btn btn-primary btn-sm ks-btn-show"
192
+ }
193
+ }
194
+ ]
195
+ },
196
+ "buildOption": {
197
+ "tagName": "option",
198
+ "textContent": "${rowValue}",
199
+ "attributes": {
200
+ "value": "${rowValue}"
201
+ }
202
+ },
203
+ "buildSelect": {
204
+ "tagName": "select",
205
+ "attributes": {
206
+ "id": "${columnName}",
207
+ "name": "${columnName}",
208
+ "data-name": "${columnName}",
209
+ "class": "form-select shadow-sm mb-3"
210
+ },
211
+ "children": []
212
+ },
213
+ "buildDataList": {
214
+ "tagName": "datalist",
215
+ "attributes": {
216
+ "id": "${columnName}",
217
+ "data-name": "${columnName}"
218
+ },
219
+ "children": []
220
+ },
221
+ "buildFormField": {
222
+ "tagName": "div",
223
+ "attributes": {
224
+ "class": "mb-3"
225
+ },
226
+ "children": [
227
+ {
228
+ "tagName": "label",
229
+ "textContent": "${columnName}",
230
+ "attributes": {
231
+ "for": "${columnName}",
232
+ "class": "form-label fw-semibold text-capitalize"
233
+ }
234
+ },
235
+ {
236
+ "tagName": "input",
237
+ "attributes": {
238
+ "type": "text",
239
+ "id": "${columnName}",
240
+ "name": "${columnName}",
241
+ "placeholder": "Enter ${columnName}...",
242
+ "class": "form-control"
243
+ }
244
+ }
245
+ ]
246
+ },
247
+ "emptyCell": {
248
+ "tagName": "td",
249
+ "children": []
250
+ },
251
+ "headerSerialCell": {
252
+ "tagName": "th",
253
+ "textContent": "#",
254
+ "attributes": {
255
+ "class": "py-3 px-3 fw-semibold text-uppercase small"
256
+ }
257
+ },
258
+ "colGroupForSerial": {
259
+ "tagName": "col",
260
+ "attributes": {
261
+ "width": "50px"
262
+ }
263
+ },
264
+ "colGroupForOption": {
265
+ "tagName": "col",
266
+ "attributes": {
267
+ "width": "100px"
268
+ }
269
+ },
270
+ "headerForOption": {
271
+ "tagName": "th",
272
+ "textContent": "options",
273
+ "attributes": {
274
+ "class": "py-3 px-3 fw-semibold text-uppercase small"
275
+ }
276
+ },
277
+ "tdWithButtonSaveWarning": {
278
+ "tagName": "td",
279
+ "attributes": {
280
+ "class": "py-2 px-3 text-center"
281
+ },
282
+ "children": [
283
+ {
284
+ "tagName": "button",
285
+ "textContent": "save",
286
+ "attributes": {
287
+ "class": "btn btn-warning btn-sm ks-btn-save"
288
+ }
289
+ }
290
+ ]
291
+ },
292
+ "tableSearch": {
293
+ "tagName": "div",
294
+ "attributes": {
295
+ "class": "row mb-3 justify-content-end"
296
+ },
297
+ "children": [
298
+ {
299
+ "tagName": "div",
300
+ "attributes": {
301
+ "class": "col-md-4"
302
+ },
303
+ "children": [
304
+ {
305
+ "tagName": "div",
306
+ "attributes": {
307
+ "class": "input-group"
308
+ },
309
+ "children": [
310
+ {
311
+ "tagName": "span",
312
+ "attributes": {
313
+ "class": "input-group-text bg-white"
314
+ },
315
+ "children": [
316
+ {
317
+ "tagName": "i",
318
+ "attributes": {
319
+ "class": "bi bi-search"
320
+ },
321
+ "textContent": "🔍"
322
+ }
323
+ ]
324
+ },
325
+ {
326
+ "tagName": "input",
327
+ "attributes": {
328
+ "type": "text",
329
+ "id": "tableSearch",
330
+ "class": "form-control",
331
+ "placeholder": "Search table..."
332
+ }
333
+ }
334
+ ]
335
+ }
336
+ ]
337
+ }
338
+ ]
339
+ },
340
+ "tableWithSearch": {
341
+ "tagName": "div",
342
+ "attributes": {
343
+ "data-role": "table-parent",
344
+ "id": "table-withSearch-id"
345
+ },
346
+ "children": [
347
+ {
348
+ "tagName": "div",
349
+ "attributes": {
350
+ "class": "row mb-3 align-items-center",
351
+ "data-role": "search-toolbar"
352
+ },
353
+ "children": [
354
+ {
355
+ "tagName": "div",
356
+ "attributes": {
357
+ "class": "col-md-4 d-flex align-items-center",
358
+ "data-role": "search-label-slot"
359
+ },
360
+ "children": []
361
+ },
362
+ {
363
+ "tagName": "div",
364
+ "attributes": {
365
+ "class": "col-md-4 text-center d-flex align-items-center justify-content-center",
366
+ "data-role": "search-helper-slot"
367
+ },
368
+ "children": []
369
+ },
370
+ {
371
+ "tagName": "div",
372
+ "attributes": {
373
+ "class": "col-md-4",
374
+ "data-role": "search-input-slot"
375
+ },
376
+ "children": []
377
+ }
378
+ ]
379
+ },
380
+ {
381
+ "tagName": "div",
382
+ "attributes": {
383
+ "id": "table-content-container"
384
+ },
385
+ "children": [
386
+ {
387
+ "tagName": "table",
388
+ "attributes": {
389
+ "class": "table table-hover table-striped align-middle border mb-0",
390
+ "id": "table-withSearch-table-id"
391
+ },
392
+ "children": [
393
+ {
394
+ "tagName": "colgroup",
395
+ "attributes": {
396
+ "data-role": "table-colgroup",
397
+ "id": "table-simple-colgroup-id"
398
+ },
399
+ "children": []
400
+ },
401
+ {
402
+ "tagName": "thead",
403
+ "attributes": {
404
+ "class": "table-dark",
405
+ "data-role": "table-header",
406
+ "id": "table-simple-header-id"
407
+ },
408
+ "children": [
409
+ {
410
+ "tagName": "tr",
411
+ "attributes": {
412
+ "data-role": "table-header-row",
413
+ "id": "table-simple-header-row-id"
414
+ },
415
+ "children": []
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "tagName": "tbody",
421
+ "attributes": {
422
+ "data-role": "table-body",
423
+ "id": "table-simple-body-id"
424
+ },
425
+ "children": []
426
+ }
427
+ ]
428
+ }
429
+ ]
430
+ }
431
+ ]
432
+ },
433
+ "tableSimple": {
434
+ "tagName": "div",
435
+ "attributes": {
436
+ "data-role": "table-parent",
437
+ "id": "table-parent-id"
438
+ },
439
+ "children": [
440
+ {
441
+ "tagName": "table",
442
+ "attributes": {
443
+ "class": "table table-hover table-striped align-middle border mb-0",
444
+ "id": "table-tag-id"
445
+ },
446
+ "children": [
447
+ {
448
+ "tagName": "colgroup",
449
+ "attributes": {
450
+ "data-role": "table-colgroup",
451
+ "id": "table-colgroup-id"
452
+ },
453
+ "children": []
454
+ },
455
+ {
456
+ "tagName": "thead",
457
+ "attributes": {
458
+ "class": "table-dark",
459
+ "data-role": "table-header",
460
+ "id": "table-header-id"
461
+ },
462
+ "children": [
463
+ {
464
+ "tagName": "tr",
465
+ "attributes": {
466
+ "data-role": "table-header-row",
467
+ "id": "table-header-row-id"
468
+ },
469
+ "children": []
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "tagName": "tbody",
475
+ "attributes": {
476
+ "data-role": "table-body",
477
+ "id": "table-body-id"
478
+ },
479
+ "children": []
480
+ }
481
+ ]
482
+ }
483
+ ]
484
+ },
485
+ "tableWithFooter": {
486
+ "tagName": "div",
487
+ "attributes": {
488
+ "data-role": "table-parent",
489
+ "id": "table-parent-id"
490
+ },
491
+ "children": [
492
+ {
493
+ "tagName": "table",
494
+ "attributes": {
495
+ "class": "table table-hover table-striped align-middle border mb-0",
496
+ "id": "table-tag-id"
497
+ },
498
+ "children": [
499
+ {
500
+ "tagName": "colgroup",
501
+ "attributes": {
502
+ "data-role": "table-colgroup",
503
+ "id": "table-colgroup-id"
504
+ },
505
+ "children": []
506
+ },
507
+ {
508
+ "tagName": "thead",
509
+ "attributes": {
510
+ "class": "table-dark",
511
+ "data-role": "table-header",
512
+ "id": "table-header-id"
513
+ },
514
+ "children": [
515
+ {
516
+ "tagName": "tr",
517
+ "attributes": {
518
+ "data-role": "table-header-row",
519
+ "id": "table-header-row-id"
520
+ },
521
+ "children": []
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "tagName": "tbody",
527
+ "attributes": {
528
+ "data-role": "table-body",
529
+ "id": "table-body-id"
530
+ },
531
+ "children": []
532
+ },
533
+ {
534
+ "tagName": "tfoot",
535
+ "attributes": {
536
+ "data-role": "table-footer",
537
+ "id": "table-footer-id"
538
+ },
539
+ "children": [
540
+ {
541
+ "tagName": "tr",
542
+ "attributes": {
543
+ "data-role": "table-footer-row",
544
+ "id": "table-footer-row-id"
545
+ },
546
+ "children": []
547
+ }
548
+ ]
549
+ }
550
+ ]
551
+ }
552
+ ]
553
+ },
554
+ "tableBodyOnly": {
555
+ "tagName": "table",
556
+ "attributes": {
557
+ "class": "table table-hover table-striped align-middle border mb-0",
558
+ "id": "table-tag-id"
559
+ },
560
+ "children": [
561
+ {
562
+ "tagName": "tbody",
563
+ "attributes": {
564
+ "data-role": "table-body",
565
+ "id": "table-body-id"
566
+ },
567
+ "children": []
568
+ }
569
+ ]
570
+ },
571
+ "tableBodyOnly1": {
572
+ "tagName": "tbody",
573
+ "attributes": {
574
+ "data-role": "table-body",
575
+ "id": "table-body-only-id"
576
+ },
577
+ "children": []
578
+ },
579
+ "tableFooterOnly": {
580
+ "tagName": "tfoot",
581
+ "attributes": {
582
+ "data-role": "table-footer",
583
+ "id": "table-footer-only-id"
584
+ },
585
+ "children": [
586
+ {
587
+ "tagName": "tr",
588
+ "attributes": {
589
+ "data-role": "table-footer-row",
590
+ "id": "table-footer-only-footer-row-id"
591
+ },
592
+ "children": []
593
+ }
594
+ ]
595
+ },
596
+ "tableHeaderOnly": {
597
+ "tagName": "div",
598
+ "attributes": {
599
+ "data-role": "table-parent",
600
+ "id": "table-parent-id"
601
+ },
602
+ "children": [
603
+ {
604
+ "tagName": "table",
605
+ "attributes": {
606
+ "class": "table table-hover table-striped align-middle border mb-0",
607
+ "id": "table-tag-id"
608
+ },
609
+ "children": [
610
+ {
611
+ "tagName": "colgroup",
612
+ "attributes": {
613
+ "data-role": "table-colgroup",
614
+ "id": "table-colgroup-id"
615
+ },
616
+ "children": []
617
+ },
618
+ {
619
+ "tagName": "thead",
620
+ "attributes": {
621
+ "class": "table-dark",
622
+ "data-role": "table-header",
623
+ "id": "table-header-id"
624
+ },
625
+ "children": [
626
+ {
627
+ "tagName": "tr",
628
+ "attributes": {
629
+ "data-role": "table-header-row",
630
+ "id": "table-header-row-id"
631
+ },
632
+ "children": []
633
+ }
634
+ ]
635
+ }
636
+ ]
637
+ }
638
+ ]
639
+ },
640
+ "tableHeaderOnly1": {
641
+ "tagName": "table",
642
+ "attributes": {
643
+ "class": "table table-hover table-striped align-middle border mb-0",
644
+ "id": "table-header-only-id"
645
+ },
646
+ "children": [
647
+ {
648
+ "tagName": "colgroup",
649
+ "attributes": {
650
+ "data-role": "table-colgroup",
651
+ "id": "table-header-only-colgroup-id"
652
+ },
653
+ "children": []
654
+ },
655
+ {
656
+ "tagName": "thead",
657
+ "attributes": {
658
+ "class": "table-dark",
659
+ "data-role": "table-header",
660
+ "id": "table-header-only-header-id"
661
+ },
662
+ "children": [
663
+ {
664
+ "tagName": "tr",
665
+ "attributes": {
666
+ "data-role": "table-header-row",
667
+ "id": "table-header-only-header-row-id"
668
+ },
669
+ "children": []
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "tagName": "tbody",
675
+ "attributes": {
676
+ "data-role": "table-body",
677
+ "id": "table-header-only-body-id"
678
+ },
679
+ "children": []
680
+ }
681
+ ]
682
+ },
683
+ "tableHeaderAndFooter": {
684
+ "tagName": "div",
685
+ "attributes": {
686
+ "data-role": "table-parent",
687
+ "id": "table-simple-id"
688
+ },
689
+ "children": [
690
+ {
691
+ "tagName": "table",
692
+ "attributes": {
693
+ "class": "table table-hover table-striped align-middle border mb-0",
694
+ "id": "table-simple-table-id"
695
+ },
696
+ "children": [
697
+ {
698
+ "tagName": "colgroup",
699
+ "attributes": {
700
+ "data-role": "table-colgroup",
701
+ "id": "table-simple-colgroup-id"
702
+ },
703
+ "children": []
704
+ },
705
+ {
706
+ "tagName": "thead",
707
+ "attributes": {
708
+ "class": "table-dark",
709
+ "data-role": "table-header",
710
+ "id": "table-simple-header-id"
711
+ },
712
+ "children": [
713
+ {
714
+ "tagName": "tr",
715
+ "attributes": {
716
+ "data-role": "table-header-row",
717
+ "id": "table-simple-header-row-id"
718
+ },
719
+ "children": []
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "tagName": "tbody",
725
+ "attributes": {
726
+ "data-role": "table-body",
727
+ "id": "table-simple-body-id"
728
+ },
729
+ "children": []
730
+ },
731
+ {
732
+ "tagName": "tfoot",
733
+ "attributes": {
734
+ "data-role": "table-footer",
735
+ "id": "table-simple-footer-id"
736
+ },
737
+ "children": [
738
+ {
739
+ "tagName": "tr",
740
+ "attributes": {
741
+ "data-role": "table-footer-row",
742
+ "id": "table-simple-footer-row-id"
743
+ },
744
+ "children": []
745
+ }
746
+ ]
747
+ }
748
+ ]
749
+ }
750
+ ]
751
+ },
752
+ "selectBase": {
753
+ "tagName": "div",
754
+ "attributes": {
755
+ "data-role": "select-container",
756
+ "id": "select-base-id"
757
+ },
758
+ "children": []
759
+ },
760
+ "dataListBase": {
761
+ "tagName": "div",
762
+ "attributes": {
763
+ "data-role": "datalist-container",
764
+ "id": "data-list-base-id"
765
+ },
766
+ "children": []
767
+ },
768
+ "dataListSimple": {
769
+ "tagName": "div",
770
+ "attributes": {
771
+ "data-role": "datalist-container",
772
+ "id": "data-list-simple-id"
773
+ },
774
+ "children": []
775
+ },
776
+ "selectOptionsOnlyBase": [],
777
+ "searchInputBase": {
778
+ "tagName": "div",
779
+ "attributes": {
780
+ "class": "d-flex align-items-center gap-2",
781
+ "id": "search-input-base-id"
782
+ },
783
+ "children": [
784
+ {
785
+ "tagName": "label",
786
+ "textContent": "${label}",
787
+ "attributes": {
788
+ "class": "form-label mb-0 text-nowrap fw-semibold",
789
+ "for": "${id}",
790
+ "id": "search-input-label-id"
791
+ }
792
+ },
793
+ {
794
+ "tagName": "input",
795
+ "attributes": {
796
+ "type": "search",
797
+ "placeholder": "${placeholder}",
798
+ "class": "form-control",
799
+ "id": "search-input-field-id"
800
+ }
801
+ }
802
+ ]
803
+ },
804
+ "formBase": {
805
+ "tagName": "div",
806
+ "attributes": {
807
+ "class": "card shadow-sm border-0",
808
+ "id": "form-base-id"
809
+ },
810
+ "children": [
811
+ {
812
+ "tagName": "div",
813
+ "attributes": {
814
+ "class": "card-header bg-white py-3 border-bottom d-flex justify-content-between align-items-center",
815
+ "id": "form-base-header-id"
816
+ },
817
+ "children": [
818
+ {
819
+ "tagName": "h2",
820
+ "textContent": "Data Entry Form",
821
+ "attributes": {
822
+ "class": "h5 fw-bold mb-0 text-dark",
823
+ "id": "form-base-title-id"
824
+ }
825
+ }
826
+ ]
827
+ },
828
+ {
829
+ "tagName": "div",
830
+ "attributes": {
831
+ "class": "card-body p-4",
832
+ "id": "form-base-body-id"
833
+ },
834
+ "children": [
835
+ {
836
+ "tagName": "form",
837
+ "attributes": {
838
+ "id": "form-base-form-id",
839
+ "data-role": "form-body"
840
+ },
841
+ "children": []
842
+ }
843
+ ]
844
+ },
845
+ {
846
+ "tagName": "div",
847
+ "attributes": {
848
+ "class": "card-footer bg-light px-4 py-3 d-flex justify-content-end gap-2",
849
+ "id": "form-base-footer-id"
850
+ },
851
+ "children": [
852
+ {
853
+ "tagName": "button",
854
+ "textContent": "Reset",
855
+ "attributes": {
856
+ "type": "reset",
857
+ "class": "btn btn-outline-secondary",
858
+ "id": "form-base-reset-button-id"
859
+ }
860
+ },
861
+ {
862
+ "tagName": "button",
863
+ "textContent": "Submit",
864
+ "attributes": {
865
+ "type": "submit",
866
+ "class": "btn btn-primary",
867
+ "id": "form-base-submit-button-id"
868
+ }
869
+ }
870
+ ]
871
+ }
872
+ ]
873
+ },
874
+ "formSimple": {
875
+ "tagName": "div",
876
+ "attributes": {
877
+ "class": "card shadow-sm border-0",
878
+ "id": "form-simple-id"
879
+ },
880
+ "children": [
881
+ {
882
+ "tagName": "div",
883
+ "attributes": {
884
+ "class": "card-header bg-white py-3 border-bottom d-flex justify-content-between align-items-center",
885
+ "id": "form-simple-header-id"
886
+ },
887
+ "children": [
888
+ {
889
+ "tagName": "h2",
890
+ "textContent": "Data Entry Form",
891
+ "attributes": {
892
+ "class": "h5 fw-bold mb-0 text-dark",
893
+ "id": "form-simple-title-id"
894
+ }
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "tagName": "div",
900
+ "attributes": {
901
+ "class": "card-body p-4",
902
+ "id": "form-simple-body-id"
903
+ },
904
+ "children": [
905
+ {
906
+ "tagName": "form",
907
+ "attributes": {
908
+ "id": "form-simple-form-id",
909
+ "data-role": "form-body"
910
+ },
911
+ "children": []
912
+ }
913
+ ]
914
+ },
915
+ {
916
+ "tagName": "div",
917
+ "attributes": {
918
+ "class": "card-footer bg-light px-4 py-3 d-flex justify-content-end gap-2",
919
+ "id": "form-simple-footer-id"
920
+ },
921
+ "children": [
922
+ {
923
+ "tagName": "button",
924
+ "textContent": "Reset",
925
+ "attributes": {
926
+ "type": "reset",
927
+ "class": "btn btn-outline-secondary",
928
+ "id": "form-simple-reset-button-id"
929
+ }
930
+ },
931
+ {
932
+ "tagName": "button",
933
+ "textContent": "Submit",
934
+ "attributes": {
935
+ "type": "submit",
936
+ "class": "btn btn-primary",
937
+ "id": "form-simple-submit-button-id"
938
+ }
939
+ }
940
+ ]
941
+ }
942
+ ]
943
+ },
944
+ "searchToolbar": {
945
+ "tagName": "div",
946
+ "attributes": {
947
+ "class": "row mb-3 align-items-center",
948
+ "data-role": "search-toolbar"
949
+ },
950
+ "children": [
951
+ {
952
+ "tagName": "div",
953
+ "attributes": {
954
+ "class": "col-md-4 d-flex align-items-center",
955
+ "data-role": "search-label-slot"
956
+ },
957
+ "children": []
958
+ },
959
+ {
960
+ "tagName": "div",
961
+ "attributes": {
962
+ "class": "col-md-4 text-center d-flex align-items-center justify-content-center",
963
+ "data-role": "search-helper-slot"
964
+ },
965
+ "children": []
966
+ },
967
+ {
968
+ "tagName": "div",
969
+ "attributes": {
970
+ "class": "col-md-4",
971
+ "data-role": "search-input-slot"
972
+ },
973
+ "children": []
974
+ }
975
+ ]
976
+ },
977
+ "searchLabel": {
978
+ "tagName": "h6",
979
+ "textContent": "Items",
980
+ "attributes": {
981
+ "class": "mb-0 fw-semibold text-secondary",
982
+ "id": "table-title"
983
+ }
984
+ },
985
+ "searchHelper": {
986
+ "tagName": "span",
987
+ "textContent": "Showing all records",
988
+ "attributes": {
989
+ "id": "search-feedback",
990
+ "class": "badge bg-white text-secondary border px-3 py-2 small fw-normal shadow-sm"
991
+ }
992
+ },
993
+ "searchInput": {
994
+ "tagName": "div",
995
+ "attributes": {
996
+ "class": "input-group"
997
+ },
998
+ "children": [
999
+ {
1000
+ "tagName": "span",
1001
+ "attributes": {
1002
+ "class": "input-group-text bg-white"
1003
+ },
1004
+ "children": [
1005
+ {
1006
+ "tagName": "i",
1007
+ "attributes": {
1008
+ "class": "bi bi-search"
1009
+ },
1010
+ "textContent": "🔍"
1011
+ }
1012
+ ]
1013
+ },
1014
+ {
1015
+ "tagName": "input",
1016
+ "attributes": {
1017
+ "type": "text",
1018
+ "id": "tableSearch",
1019
+ "class": "form-control",
1020
+ "placeholder": "Search table..."
1021
+ }
1022
+ }
1023
+ ]
1024
+ },
1025
+ "optionsEditButtonCell": {
1026
+ "tagName": "td",
1027
+ "attributes": {
1028
+ "class": "py-2 px-3 text-center"
1029
+ },
1030
+ "children": [
1031
+ {
1032
+ "tagName": "button",
1033
+ "textContent": "edit",
1034
+ "attributes": {
1035
+ "class": "btn btn-secondary btn-sm ks-btn-edit"
1036
+ }
1037
+ }
1038
+ ]
1039
+ },
1040
+ "optionsDeleteButtonCell": {
1041
+ "tagName": "td",
1042
+ "attributes": {
1043
+ "class": "py-2 px-3 text-center"
1044
+ },
1045
+ "children": [
1046
+ {
1047
+ "tagName": "button",
1048
+ "textContent": "delete",
1049
+ "attributes": {
1050
+ "class": "btn btn-danger btn-sm ks-btn-delete"
1051
+ }
1052
+ }
1053
+ ]
1054
+ },
1055
+ "headerForEditOption": {
1056
+ "tagName": "th",
1057
+ "textContent": "edit",
1058
+ "attributes": {
1059
+ "class": "py-3 px-3 fw-semibold text-uppercase small"
1060
+ }
1061
+ },
1062
+ "headerForDeleteOption": {
1063
+ "tagName": "th",
1064
+ "textContent": "delete",
1065
+ "attributes": {
1066
+ "class": "py-3 px-3 fw-semibold text-uppercase small"
1067
+ }
1068
+ },
1069
+ "colGroupForEditOption": {
1070
+ "tagName": "col",
1071
+ "attributes": {
1072
+ "width": "80px"
1073
+ }
1074
+ },
1075
+ "colGroupForDeleteOption": {
1076
+ "tagName": "col",
1077
+ "attributes": {
1078
+ "width": "90px"
1079
+ }
1080
+ },
1081
+ "tableWithFooterParent": {
1082
+ "tagName": "div",
1083
+ "attributes": {
1084
+ "data-role": "table-parent",
1085
+ "id": "table-with-footer-parent-id"
1086
+ },
1087
+ "children": [
1088
+ {
1089
+ "tagName": "table",
1090
+ "attributes": {
1091
+ "class": "table table-hover table-striped align-middle border mb-0",
1092
+ "id": "table-with-footer-id"
1093
+ },
1094
+ "children": [
1095
+ {
1096
+ "tagName": "colgroup",
1097
+ "attributes": {
1098
+ "data-role": "table-colgroup",
1099
+ "id": "table-with-footer-colgroup-id"
1100
+ },
1101
+ "children": []
1102
+ },
1103
+ {
1104
+ "tagName": "thead",
1105
+ "attributes": {
1106
+ "class": "table-dark",
1107
+ "data-role": "table-header",
1108
+ "id": "table-with-footer-header-id"
1109
+ },
1110
+ "children": [
1111
+ {
1112
+ "tagName": "tr",
1113
+ "attributes": {
1114
+ "data-role": "table-header-row",
1115
+ "id": "table-with-footer-header-row-id"
1116
+ },
1117
+ "children": []
1118
+ }
1119
+ ]
1120
+ },
1121
+ {
1122
+ "tagName": "tbody",
1123
+ "attributes": {
1124
+ "data-role": "table-body",
1125
+ "id": "table-with-footer-body-id"
1126
+ },
1127
+ "children": []
1128
+ },
1129
+ {
1130
+ "tagName": "tfoot",
1131
+ "attributes": {
1132
+ "data-role": "table-footer",
1133
+ "id": "table-with-footer-footer-id"
1134
+ },
1135
+ "children": [
1136
+ {
1137
+ "tagName": "tr",
1138
+ "attributes": {
1139
+ "data-role": "table-footer-row",
1140
+ "id": "table-with-footer-footer-row-id"
1141
+ },
1142
+ "children": []
1143
+ }
1144
+ ]
1145
+ }
1146
+ ]
1147
+ }
1148
+ ]
1149
+ },
1150
+ "tableWithSearchAndFooter": {
1151
+ "tagName": "div",
1152
+ "attributes": {
1153
+ "data-role": "table-parent",
1154
+ "id": "table-with-search-footer-parent-id"
1155
+ },
1156
+ "children": [
1157
+ {
1158
+ "tagName": "div",
1159
+ "attributes": {
1160
+ "class": "row mb-3 align-items-center",
1161
+ "data-role": "search-toolbar"
1162
+ },
1163
+ "children": [
1164
+ {
1165
+ "tagName": "div",
1166
+ "attributes": {
1167
+ "class": "col-md-4 d-flex align-items-center",
1168
+ "data-role": "search-label-slot"
1169
+ },
1170
+ "children": []
1171
+ },
1172
+ {
1173
+ "tagName": "div",
1174
+ "attributes": {
1175
+ "class": "col-md-4 text-center d-flex align-items-center justify-content-center",
1176
+ "data-role": "search-helper-slot"
1177
+ },
1178
+ "children": []
1179
+ },
1180
+ {
1181
+ "tagName": "div",
1182
+ "attributes": {
1183
+ "class": "col-md-4",
1184
+ "data-role": "search-input-slot"
1185
+ },
1186
+ "children": []
1187
+ }
1188
+ ]
1189
+ },
1190
+ {
1191
+ "tagName": "div",
1192
+ "attributes": {
1193
+ "id": "table-content-container"
1194
+ },
1195
+ "children": [
1196
+ {
1197
+ "tagName": "table",
1198
+ "attributes": {
1199
+ "class": "table table-hover table-striped align-middle border mb-0",
1200
+ "id": "table-with-footer-id"
1201
+ },
1202
+ "children": [
1203
+ {
1204
+ "tagName": "colgroup",
1205
+ "attributes": {
1206
+ "data-role": "table-colgroup",
1207
+ "id": "table-with-footer-colgroup-id"
1208
+ },
1209
+ "children": []
1210
+ },
1211
+ {
1212
+ "tagName": "thead",
1213
+ "attributes": {
1214
+ "class": "table-dark",
1215
+ "data-role": "table-header",
1216
+ "id": "table-with-footer-header-id"
1217
+ },
1218
+ "children": [
1219
+ {
1220
+ "tagName": "tr",
1221
+ "attributes": {
1222
+ "data-role": "table-header-row",
1223
+ "id": "table-with-footer-header-row-id"
1224
+ },
1225
+ "children": []
1226
+ }
1227
+ ]
1228
+ },
1229
+ {
1230
+ "tagName": "tbody",
1231
+ "attributes": {
1232
+ "data-role": "table-body",
1233
+ "id": "table-with-footer-body-id"
1234
+ },
1235
+ "children": []
1236
+ },
1237
+ {
1238
+ "tagName": "tfoot",
1239
+ "attributes": {
1240
+ "data-role": "table-footer",
1241
+ "id": "table-with-footer-footer-id"
1242
+ },
1243
+ "children": [
1244
+ {
1245
+ "tagName": "tr",
1246
+ "attributes": {
1247
+ "data-role": "table-footer-row",
1248
+ "id": "table-with-footer-footer-row-id"
1249
+ },
1250
+ "children": []
1251
+ }
1252
+ ]
1253
+ }
1254
+ ]
1255
+ }
1256
+ ]
1257
+ }
1258
+ ]
1259
+ },
1260
+ "accordionSimple": {
1261
+ "tagName": "div",
1262
+ "attributes": {
1263
+ "class": "accordion shadow-sm rounded-3 border",
1264
+ "id": "accordion-parent-id",
1265
+ "data-role": "accordion-parent"
1266
+ },
1267
+ "children": []
1268
+ },
1269
+ "accordionFlush": {
1270
+ "tagName": "div",
1271
+ "attributes": {
1272
+ "class": "accordion accordion-flush shadow-sm rounded-3 border",
1273
+ "id": "accordion-parent-id",
1274
+ "data-role": "accordion-parent"
1275
+ },
1276
+ "children": []
1277
+ },
1278
+ "buildAccordionItem": {
1279
+ "tagName": "div",
1280
+ "attributes": {
1281
+ "class": "accordion-item",
1282
+ "data-role": "accordion-item"
1283
+ },
1284
+ "children": [
1285
+ {
1286
+ "tagName": "h2",
1287
+ "attributes": {
1288
+ "class": "accordion-header",
1289
+ "id": "heading-${id}"
1290
+ },
1291
+ "children": [
1292
+ {
1293
+ "tagName": "button",
1294
+ "attributes": {
1295
+ "class": "accordion-button collapsed",
1296
+ "type": "button",
1297
+ "data-bs-toggle": "collapse",
1298
+ "data-bs-target": "#collapse-${id}",
1299
+ "aria-expanded": "false",
1300
+ "aria-controls": "collapse-${id}"
1301
+ },
1302
+ "textContent": "${title}"
1303
+ }
1304
+ ]
1305
+ },
1306
+ {
1307
+ "tagName": "div",
1308
+ "attributes": {
1309
+ "id": "collapse-${id}",
1310
+ "class": "accordion-collapse collapse",
1311
+ "aria-labelledby": "heading-${id}",
1312
+ "data-bs-parent": "#accordion-parent-id",
1313
+ "data-role": "accordion-collapse"
1314
+ },
1315
+ "children": [
1316
+ {
1317
+ "tagName": "div",
1318
+ "attributes": {
1319
+ "class": "accordion-body text-secondary"
1320
+ },
1321
+ "textContent": "${content}"
1322
+ }
1323
+ ]
1324
+ }
1325
+ ]
1326
+ },
1327
+ "cardSimple": {
1328
+ "tagName": "div",
1329
+ "attributes": {
1330
+ "class": "card shadow-sm border rounded-3",
1331
+ "id": "card-parent-id",
1332
+ "data-role": "card-parent"
1333
+ },
1334
+ "children": [
1335
+ {
1336
+ "tagName": "div",
1337
+ "attributes": {
1338
+ "class": "card-body p-4",
1339
+ "data-role": "card-body"
1340
+ },
1341
+ "children": []
1342
+ }
1343
+ ]
1344
+ },
1345
+ "cardWithHeader": {
1346
+ "tagName": "div",
1347
+ "attributes": {
1348
+ "class": "card shadow-sm border rounded-3",
1349
+ "id": "card-parent-id",
1350
+ "data-role": "card-parent"
1351
+ },
1352
+ "children": [
1353
+ {
1354
+ "tagName": "div",
1355
+ "attributes": {
1356
+ "class": "card-header bg-white py-3 fw-bold border-bottom",
1357
+ "data-role": "card-header"
1358
+ },
1359
+ "children": []
1360
+ },
1361
+ {
1362
+ "tagName": "div",
1363
+ "attributes": {
1364
+ "class": "card-body p-4",
1365
+ "data-role": "card-body"
1366
+ },
1367
+ "children": []
1368
+ }
1369
+ ]
1370
+ },
1371
+ "cardWithFooter": {
1372
+ "tagName": "div",
1373
+ "attributes": {
1374
+ "class": "card shadow-sm border rounded-3",
1375
+ "id": "card-parent-id",
1376
+ "data-role": "card-parent"
1377
+ },
1378
+ "children": [
1379
+ {
1380
+ "tagName": "div",
1381
+ "attributes": {
1382
+ "class": "card-header bg-white py-3 fw-bold border-bottom",
1383
+ "data-role": "card-header"
1384
+ },
1385
+ "children": []
1386
+ },
1387
+ {
1388
+ "tagName": "div",
1389
+ "attributes": {
1390
+ "class": "card-body p-4",
1391
+ "data-role": "card-body"
1392
+ },
1393
+ "children": []
1394
+ },
1395
+ {
1396
+ "tagName": "div",
1397
+ "attributes": {
1398
+ "class": "card-footer bg-light py-3 border-top",
1399
+ "data-role": "card-footer"
1400
+ },
1401
+ "children": []
1402
+ }
1403
+ ]
1404
+ },
1405
+ "cardImageTop": {
1406
+ "tagName": "div",
1407
+ "attributes": {
1408
+ "class": "card shadow-sm border rounded-3 overflow-hidden",
1409
+ "id": "card-parent-id",
1410
+ "data-role": "card-parent"
1411
+ },
1412
+ "children": [
1413
+ {
1414
+ "tagName": "img",
1415
+ "attributes": {
1416
+ "class": "card-img-top",
1417
+ "src": "${imageSrc}",
1418
+ "alt": "${imageAlt}",
1419
+ "data-role": "card-img"
1420
+ }
1421
+ },
1422
+ {
1423
+ "tagName": "div",
1424
+ "attributes": {
1425
+ "class": "card-body p-4",
1426
+ "data-role": "card-body"
1427
+ },
1428
+ "children": []
1429
+ }
1430
+ ]
1431
+ },
1432
+ "buildCardBodyTemplate": {
1433
+ "tagName": "div",
1434
+ "attributes": {
1435
+ "class": "card-content"
1436
+ },
1437
+ "children": [
1438
+ {
1439
+ "tagName": "h5",
1440
+ "attributes": {
1441
+ "class": "card-title fw-bold text-dark mb-2"
1442
+ },
1443
+ "textContent": "${title}"
1444
+ },
1445
+ {
1446
+ "tagName": "p",
1447
+ "attributes": {
1448
+ "class": "card-text text-secondary mb-3"
1449
+ },
1450
+ "textContent": "${text}"
1451
+ }
1452
+ ]
1453
+ },
1454
+ "buildCardHeaderTemplate": {
1455
+ "tagName": "span",
1456
+ "attributes": {
1457
+ "class": "card-header-title text-dark"
1458
+ },
1459
+ "textContent": "${headerTitle}"
1460
+ },
1461
+ "buildCardFooterTemplate": {
1462
+ "tagName": "small",
1463
+ "attributes": {
1464
+ "class": "text-muted"
1465
+ },
1466
+ "textContent": "${footerText}"
1467
+ },
1468
+ "listSimple": {
1469
+ "tagName": "ul",
1470
+ "attributes": {
1471
+ "class": "list-unstyled mb-0",
1472
+ "id": "list-parent-id",
1473
+ "data-role": "list-parent"
1474
+ },
1475
+ "children": []
1476
+ },
1477
+ "listGroup": {
1478
+ "tagName": "ul",
1479
+ "attributes": {
1480
+ "class": "list-group shadow-sm",
1481
+ "id": "list-group-parent-id",
1482
+ "data-role": "list-group-parent"
1483
+ },
1484
+ "children": []
1485
+ },
1486
+ "listOrdered": {
1487
+ "tagName": "ol",
1488
+ "attributes": {
1489
+ "class": "list-group list-group-numbered shadow-sm",
1490
+ "id": "list-ordered-parent-id",
1491
+ "data-role": "list-group-parent"
1492
+ },
1493
+ "children": []
1494
+ },
1495
+ "menuSimple": {
1496
+ "tagName": "ul",
1497
+ "attributes": {
1498
+ "class": "nav nav-pills flex-column bg-white p-3 rounded-3 shadow-sm border",
1499
+ "id": "menu-parent-id",
1500
+ "data-role": "menu-parent"
1501
+ },
1502
+ "children": []
1503
+ },
1504
+ "menuCardsBase": {
1505
+ "tagName": "div",
1506
+ "attributes": {
1507
+ "class": "row g-4",
1508
+ "id": "menu-cards-parent-id",
1509
+ "data-role": "menu-cards-parent"
1510
+ },
1511
+ "children": []
1512
+ },
1513
+ "buildListItemTemplate": {
1514
+ "tagName": "li",
1515
+ "attributes": {
1516
+ "class": "py-2 px-3 border-bottom d-flex align-items-center text-secondary",
1517
+ "data-role": "list-item"
1518
+ },
1519
+ "textContent": "${text}"
1520
+ },
1521
+ "buildListGroupItemTemplate": {
1522
+ "tagName": "li",
1523
+ "attributes": {
1524
+ "class": "list-group-item d-flex justify-content-between align-items-center py-3",
1525
+ "data-role": "list-group-item"
1526
+ },
1527
+ "children": [
1528
+ {
1529
+ "tagName": "span",
1530
+ "textContent": "${text}"
1531
+ },
1532
+ {
1533
+ "tagName": "span",
1534
+ "attributes": {
1535
+ "class": "badge bg-primary rounded-pill px-3 py-2"
1536
+ },
1537
+ "textContent": "${badge}"
1538
+ }
1539
+ ]
1540
+ },
1541
+ "buildMenuItemTemplate": {
1542
+ "tagName": "li",
1543
+ "attributes": {
1544
+ "class": "nav-item mb-1",
1545
+ "data-role": "menu-item"
1546
+ },
1547
+ "children": [
1548
+ {
1549
+ "tagName": "a",
1550
+ "attributes": {
1551
+ "class": "nav-link text-dark fw-medium",
1552
+ "href": "${href}"
1553
+ },
1554
+ "textContent": "${text}"
1555
+ }
1556
+ ]
1557
+ },
1558
+ "buildMenuCardItemTemplate": {
1559
+ "tagName": "div",
1560
+ "attributes": {
1561
+ "class": "col-md-4 col-sm-6",
1562
+ "data-role": "menu-card-col"
1563
+ },
1564
+ "children": [
1565
+ {
1566
+ "tagName": "div",
1567
+ "attributes": {
1568
+ "class": "card h-100 shadow-sm border rounded-3"
1569
+ },
1570
+ "children": [
1571
+ {
1572
+ "tagName": "div",
1573
+ "attributes": {
1574
+ "class": "card-body p-4 d-flex flex-column"
1575
+ },
1576
+ "children": [
1577
+ {
1578
+ "tagName": "h5",
1579
+ "attributes": {
1580
+ "class": "card-title fw-bold text-primary mb-2"
1581
+ },
1582
+ "textContent": "${title}"
1583
+ },
1584
+ {
1585
+ "tagName": "p",
1586
+ "attributes": {
1587
+ "class": "card-text text-muted small flex-grow-1"
1588
+ },
1589
+ "textContent": "${description}"
1590
+ },
1591
+ {
1592
+ "tagName": "a",
1593
+ "attributes": {
1594
+ "class": "btn btn-outline-primary btn-sm mt-3",
1595
+ "href": "${href}"
1596
+ },
1597
+ "textContent": "${actionText}"
1598
+ }
1599
+ ]
1600
+ }
1601
+ ]
1602
+ }
1603
+ ]
1604
+ }
1605
+ }