json-renderers-run-instructions 1.11.2 → 1.15.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 (48) hide show
  1. package/package.json +2 -5
  2. package/src/index.js +3 -3
  3. package/src/{v11 → v12}/index.js +178 -219
  4. package/src/{v10 → v12}/registerGlobal/index.js +1 -1
  5. package/src/v12/registerGlobal/meta.js +6 -0
  6. package/src/{v10 → v12}/runOptions/index.js +66 -70
  7. package/src/v12/transformers/columnOnRow.js +33 -0
  8. package/src/v12/transformers/index.js +21 -0
  9. package/src/v13/index.js +49 -0
  10. package/src/{v11 → v13}/registerGlobal/index.js +1 -1
  11. package/src/v13/registerGlobal/meta.js +6 -0
  12. package/src/{v11 → v13}/runOptions/index.js +66 -70
  13. package/src/v13/transformers/columnOnRow.js +33 -0
  14. package/src/v13/transformers/index.js +21 -0
  15. package/src/v13/types/columnOnRow.js +34 -0
  16. package/src/v13/types/helpers/guards.js +38 -0
  17. package/src/v13/types/helpers/resolveSource.js +27 -0
  18. package/src/v13/types/helpers/writeResult.js +19 -0
  19. package/src/v13/types/index.js +33 -0
  20. package/src/v13/types/rowOnColumn.js +22 -0
  21. package/src/v13/types/single.js +28 -0
  22. package/src/v14/index.js +48 -0
  23. package/src/v14/registerGlobal/index.js +16 -0
  24. package/src/{v10 → v14}/registerGlobal/meta.js +1 -1
  25. package/src/v14/runOptions/index.js +77 -0
  26. package/src/v15/index.js +48 -0
  27. package/src/v15/registerGlobal/index.js +16 -0
  28. package/src/{v11 → v15}/registerGlobal/meta.js +1 -1
  29. package/src/v15/runOptions/index.js +77 -0
  30. package/src/v10/index.js +0 -218
  31. package/src/v10/runOptions/instructionsWithTargets/index.js +0 -31
  32. package/src/v10-2/index.js +0 -202
  33. package/src/v10-2/runOptions/index.js +0 -52
  34. package/src/v10-2/runOptions/instructionsWithTargets/index.js +0 -31
  35. package/src/v10-old/index.js +0 -195
  36. package/src/v10-old/runOptions/index.js +0 -117
  37. package/src/v10-old/runOptions/instructionsWithTargets/index.js +0 -31
  38. package/src/v11/runOptions/instructionsWithTargets/index.js +0 -31
  39. package/src/v6/index.js +0 -68
  40. package/src/v7/index.js +0 -57
  41. package/src/v8/definitions.json +0 -165
  42. package/src/v8/index.js +0 -193
  43. package/src/v8/instructions.json +0 -275
  44. package/src/v8/spec.json +0 -900
  45. package/src/v9/index.js +0 -195
  46. package/src/v9/runOptions/index.js +0 -48
  47. package/src/v9/runOptions/insertSearch/index.js +0 -28
  48. package/src/v9/runOptions/instructionsWithTargets/index.js +0 -12
package/src/v8/spec.json DELETED
@@ -1,900 +0,0 @@
1
- {
2
- "buildBodyTr": {
3
- "tagName": "tr",
4
- "attributes": {
5
- "class": "align-middle"
6
- },
7
- "children": []
8
- },
9
- "buildColGroup": {
10
- "tagName": "col",
11
- "attributes": {
12
- "width": "${width}"
13
- }
14
- },
15
- "buildHeader": {
16
- "tagName": "th",
17
- "textContent": "${columnName}",
18
- "attributes": {
19
- "class": "py-3 px-3 fw-semibold text-uppercase small"
20
- }
21
- },
22
- "buildFooter": {
23
- "tagName": "td",
24
- "children": [
25
- {
26
- "tagName": "input",
27
- "attributes": {
28
- "type": "text",
29
- "placeholder": "enter ${columnName}",
30
- "name": "${columnName}",
31
- "id": "${columnName}",
32
- "list": "${columnName}",
33
- "class": "form-control"
34
- }
35
- }
36
- ]
37
- },
38
- "buildBodyCell": {
39
- "tagName": "td",
40
- "textContent": "${rowValue}",
41
- "attributes": {
42
- "class": "py-3 px-3 text-secondary"
43
- }
44
- },
45
- "button": {
46
- "tagName": "button",
47
- "textContent": "${columnName}",
48
- "attributes": {
49
- "class": "btn btn-primary btn-sm"
50
- }
51
- },
52
- "buttonCell": {
53
- "tagName": "td",
54
- "attributes": {
55
- "class": "py-2 px-3 text-center"
56
- },
57
- "children": [
58
- {
59
- "tagName": "button",
60
- "textContent": "${agg:count}",
61
- "attributes": {
62
- "class": "btn btn-primary btn-sm"
63
- }
64
- }
65
- ]
66
- },
67
- "optionsButtonCell": {
68
- "tagName": "td",
69
- "attributes": {
70
- "class": "py-2 px-3 text-center"
71
- },
72
- "children": [
73
- {
74
- "tagName": "button",
75
- "textContent": "show",
76
- "attributes": {
77
- "class": "btn btn-primary btn-sm ks-btn-show"
78
- }
79
- }
80
- ]
81
- },
82
- "buildOption": {
83
- "tagName": "option",
84
- "textContent": "${rowValue}",
85
- "attributes": {
86
- "value": "${rowValue}"
87
- }
88
- },
89
- "buildSelect": {
90
- "tagName": "select",
91
- "attributes": {
92
- "id": "${columnName}",
93
- "name": "${columnName}",
94
- "data-name": "${columnName}",
95
- "class": "form-select shadow-sm mb-3"
96
- },
97
- "children": []
98
- },
99
- "buildDataList": {
100
- "tagName": "datalist",
101
- "attributes": {
102
- "id": "${columnName}",
103
- "data-name": "${columnName}"
104
- },
105
- "children": []
106
- },
107
- "buildFormField": {
108
- "tagName": "div",
109
- "attributes": {
110
- "class": "mb-3"
111
- },
112
- "children": [
113
- {
114
- "tagName": "label",
115
- "textContent": "${columnName}",
116
- "attributes": {
117
- "for": "${columnName}",
118
- "class": "form-label fw-semibold text-capitalize"
119
- }
120
- },
121
- {
122
- "tagName": "input",
123
- "attributes": {
124
- "type": "text",
125
- "id": "${columnName}",
126
- "name": "${columnName}",
127
- "placeholder": "Enter ${columnName}...",
128
- "class": "form-control"
129
- }
130
- }
131
- ]
132
- },
133
- "emptyCell": {
134
- "tagName": "td",
135
- "children": []
136
- },
137
- "headerSerialCell": {
138
- "tagName": "th",
139
- "textContent": "#",
140
- "attributes": {
141
- "class": "py-3 px-3 fw-semibold text-uppercase small"
142
- }
143
- },
144
- "colGroupForSerial": {
145
- "tagName": "col",
146
- "attributes": {
147
- "width": "50px"
148
- }
149
- },
150
- "colGroupForOption": {
151
- "tagName": "col",
152
- "attributes": {
153
- "width": "100px"
154
- }
155
- },
156
- "headerForOption": {
157
- "tagName": "th",
158
- "textContent": "options",
159
- "attributes": {
160
- "class": "py-3 px-3 fw-semibold text-uppercase small"
161
- }
162
- },
163
- "tdWithButtonSaveWarning": {
164
- "tagName": "td",
165
- "attributes": {
166
- "class": "py-2 px-3 text-center"
167
- },
168
- "children": [
169
- {
170
- "tagName": "button",
171
- "textContent": "save",
172
- "attributes": {
173
- "class": "btn btn-warning btn-sm ks-btn-save"
174
- }
175
- }
176
- ]
177
- },
178
- "tableSearch": {
179
- "tagName": "div",
180
- "attributes": {
181
- "class": "row mb-3 justify-content-end"
182
- },
183
- "children": [
184
- {
185
- "tagName": "div",
186
- "attributes": {
187
- "class": "col-md-4"
188
- },
189
- "children": [
190
- {
191
- "tagName": "div",
192
- "attributes": {
193
- "class": "input-group"
194
- },
195
- "children": [
196
- {
197
- "tagName": "span",
198
- "attributes": {
199
- "class": "input-group-text bg-white"
200
- },
201
- "children": [
202
- {
203
- "tagName": "i",
204
- "attributes": {
205
- "class": "bi bi-search"
206
- },
207
- "textContent": "🔍"
208
- }
209
- ]
210
- },
211
- {
212
- "tagName": "input",
213
- "attributes": {
214
- "type": "text",
215
- "id": "tableSearch",
216
- "class": "form-control",
217
- "placeholder": "Search table..."
218
- }
219
- }
220
- ]
221
- }
222
- ]
223
- }
224
- ]
225
- },
226
- "tableWithSearch": {
227
- "tagName": "div",
228
- "attributes": {
229
- "data-role": "table-parent",
230
- "id": "table-simple-id"
231
- },
232
- "children": [
233
- {
234
- "tagName": "div",
235
- "attributes": {
236
- "class": "row mb-3 align-items-center"
237
- },
238
- "children": [
239
- {
240
- "tagName": "div",
241
- "attributes": {
242
- "class": "col-md-4 d-flex align-items-center"
243
- },
244
- "children": [
245
- {
246
- "tagName": "h6",
247
- "attributes": {
248
- "class": "mb-0 fw-semibold text-secondary",
249
- "id": "table-title"
250
- },
251
- "textContent": "Items"
252
- }
253
- ]
254
- },
255
- {
256
- "tagName": "div",
257
- "attributes": {
258
- "class": "col-md-4 text-center d-flex align-items-center justify-content-center"
259
- },
260
- "children": [
261
- {
262
- "tagName": "span",
263
- "attributes": {
264
- "id": "search-feedback",
265
- "class": "badge bg-white text-secondary border px-3 py-2 small fw-normal shadow-sm"
266
- },
267
- "textContent": "Showing all records"
268
- }
269
- ]
270
- },
271
- {
272
- "tagName": "div",
273
- "attributes": {
274
- "class": "col-md-4"
275
- },
276
- "children": [
277
- {
278
- "tagName": "div",
279
- "attributes": {
280
- "class": "input-group"
281
- },
282
- "children": [
283
- {
284
- "tagName": "span",
285
- "attributes": {
286
- "class": "input-group-text bg-white"
287
- },
288
- "children": [
289
- {
290
- "tagName": "i",
291
- "attributes": {
292
- "class": "bi bi-search"
293
- },
294
- "textContent": "🔍"
295
- }
296
- ]
297
- },
298
- {
299
- "tagName": "input",
300
- "attributes": {
301
- "type": "text",
302
- "id": "tableSearch",
303
- "class": "form-control",
304
- "placeholder": "Search table..."
305
- }
306
- }
307
- ]
308
- }
309
- ]
310
- }
311
- ]
312
- },
313
- {
314
- "tagName": "div",
315
- "attributes": {
316
- "id": "table-content-container"
317
- },
318
- "children": [
319
- {
320
- "tagName": "table",
321
- "attributes": {
322
- "class": "table table-hover table-striped align-middle border mb-0",
323
- "id": "table-simple-table-id"
324
- },
325
- "children": [
326
- {
327
- "tagName": "colgroup",
328
- "attributes": {
329
- "data-role": "table-colgroup",
330
- "id": "table-simple-colgroup-id"
331
- },
332
- "children": []
333
- },
334
- {
335
- "tagName": "thead",
336
- "attributes": {
337
- "class": "table-dark",
338
- "data-role": "table-header",
339
- "id": "table-simple-header-id"
340
- },
341
- "children": [
342
- {
343
- "tagName": "tr",
344
- "attributes": {
345
- "data-role": "table-header-row",
346
- "id": "table-simple-header-row-id"
347
- },
348
- "children": []
349
- }
350
- ]
351
- },
352
- {
353
- "tagName": "tbody",
354
- "attributes": {
355
- "data-role": "table-body",
356
- "id": "table-simple-body-id"
357
- },
358
- "children": []
359
- },
360
- {
361
- "tagName": "tfoot",
362
- "attributes": {
363
- "data-role": "table-footer",
364
- "id": "table-simple-footer-id"
365
- },
366
- "children": [
367
- {
368
- "tagName": "tr",
369
- "attributes": {
370
- "data-role": "table-footer-row",
371
- "id": "table-simple-footer-row-id"
372
- },
373
- "children": []
374
- }
375
- ]
376
- }
377
- ]
378
- }
379
- ]
380
- }
381
- ]
382
- },
383
- "tableSimple": {
384
- "tagName": "div",
385
- "attributes": {
386
- "data-role": "table-parent",
387
- "id": "table-simple-id"
388
- },
389
- "children": [
390
- {
391
- "tagName": "table",
392
- "attributes": {
393
- "class": "table table-hover table-striped align-middle border mb-0",
394
- "id": "table-simple-table-id"
395
- },
396
- "children": [
397
- {
398
- "tagName": "colgroup",
399
- "attributes": {
400
- "data-role": "table-colgroup",
401
- "id": "table-simple-colgroup-id"
402
- },
403
- "children": []
404
- },
405
- {
406
- "tagName": "thead",
407
- "attributes": {
408
- "class": "table-dark",
409
- "data-role": "table-header",
410
- "id": "table-simple-header-id"
411
- },
412
- "children": [
413
- {
414
- "tagName": "tr",
415
- "attributes": {
416
- "data-role": "table-header-row",
417
- "id": "table-simple-header-row-id"
418
- },
419
- "children": []
420
- }
421
- ]
422
- },
423
- {
424
- "tagName": "tbody",
425
- "attributes": {
426
- "data-role": "table-body",
427
- "id": "table-simple-body-id"
428
- },
429
- "children": []
430
- }
431
- ]
432
- }
433
- ]
434
- },
435
- "tableWithFooter": {
436
- "tagName": "table",
437
- "attributes": {
438
- "class": "table table-hover table-striped align-middle border mb-0",
439
- "id": "table-with-footer-id"
440
- },
441
- "children": [
442
- {
443
- "tagName": "colgroup",
444
- "attributes": {
445
- "data-role": "table-colgroup",
446
- "id": "table-with-footer-colgroup-id"
447
- },
448
- "children": []
449
- },
450
- {
451
- "tagName": "thead",
452
- "attributes": {
453
- "class": "table-dark",
454
- "data-role": "table-header",
455
- "id": "table-with-footer-header-id"
456
- },
457
- "children": [
458
- {
459
- "tagName": "tr",
460
- "attributes": {
461
- "data-role": "table-header-row",
462
- "id": "table-with-footer-header-row-id"
463
- },
464
- "children": []
465
- }
466
- ]
467
- },
468
- {
469
- "tagName": "tbody",
470
- "attributes": {
471
- "data-role": "table-body",
472
- "id": "table-with-footer-body-id"
473
- },
474
- "children": []
475
- },
476
- {
477
- "tagName": "tfoot",
478
- "attributes": {
479
- "data-role": "table-footer",
480
- "id": "table-with-footer-footer-id"
481
- },
482
- "children": [
483
- {
484
- "tagName": "tr",
485
- "attributes": {
486
- "data-role": "table-footer-row",
487
- "id": "table-with-footer-footer-row-id"
488
- },
489
- "children": []
490
- }
491
- ]
492
- }
493
- ]
494
- },
495
- "tableBodyOnly": {
496
- "tagName": "div",
497
- "attributes": {
498
- "id": "ks-id"
499
- },
500
- "children": []
501
- },
502
- "tableBodyOnly1": {
503
- "tagName": "tbody",
504
- "attributes": {
505
- "data-role": "table-body",
506
- "id": "table-body-only-id"
507
- },
508
- "children": []
509
- },
510
- "tableFooterOnly": {
511
- "tagName": "tfoot",
512
- "attributes": {
513
- "data-role": "table-footer",
514
- "id": "table-footer-only-id"
515
- },
516
- "children": [
517
- {
518
- "tagName": "tr",
519
- "attributes": {
520
- "data-role": "table-footer-row",
521
- "id": "table-footer-only-footer-row-id"
522
- },
523
- "children": []
524
- }
525
- ]
526
- },
527
- "tableHeaderOnly": {
528
- "tagName": "div",
529
- "attributes": {
530
- "data-role": "table-parent",
531
- "id": "table-simple-id"
532
- },
533
- "children": [
534
- {
535
- "tagName": "table",
536
- "attributes": {
537
- "class": "table table-hover table-striped align-middle border mb-0",
538
- "id": "table-simple-table-id"
539
- },
540
- "children": [
541
- {
542
- "tagName": "colgroup",
543
- "attributes": {
544
- "data-role": "table-colgroup",
545
- "id": "table-simple-colgroup-id"
546
- },
547
- "children": []
548
- },
549
- {
550
- "tagName": "thead",
551
- "attributes": {
552
- "class": "table-dark",
553
- "data-role": "table-header",
554
- "id": "table-simple-header-id"
555
- },
556
- "children": [
557
- {
558
- "tagName": "tr",
559
- "attributes": {
560
- "data-role": "table-header-row",
561
- "id": "table-simple-header-row-id"
562
- },
563
- "children": []
564
- }
565
- ]
566
- },
567
- {
568
- "tagName": "tbody",
569
- "attributes": {
570
- "data-role": "table-body",
571
- "id": "table-simple-body-id"
572
- },
573
- "children": []
574
- },
575
- {
576
- "tagName": "tfoot",
577
- "attributes": {
578
- "data-role": "table-footer",
579
- "id": "table-simple-footer-id"
580
- },
581
- "children": [
582
- {
583
- "tagName": "tr",
584
- "attributes": {
585
- "data-role": "table-footer-row",
586
- "id": "table-simple-footer-row-id"
587
- },
588
- "children": []
589
- }
590
- ]
591
- }
592
- ]
593
- }
594
- ]
595
- },
596
- "tableHeaderOnly1": {
597
- "tagName": "table",
598
- "attributes": {
599
- "class": "table table-hover table-striped align-middle border mb-0",
600
- "id": "table-header-only-id"
601
- },
602
- "children": [
603
- {
604
- "tagName": "colgroup",
605
- "attributes": {
606
- "data-role": "table-colgroup",
607
- "id": "table-header-only-colgroup-id"
608
- },
609
- "children": []
610
- },
611
- {
612
- "tagName": "thead",
613
- "attributes": {
614
- "class": "table-dark",
615
- "data-role": "table-header",
616
- "id": "table-header-only-header-id"
617
- },
618
- "children": [
619
- {
620
- "tagName": "tr",
621
- "attributes": {
622
- "data-role": "table-header-row",
623
- "id": "table-header-only-header-row-id"
624
- },
625
- "children": []
626
- }
627
- ]
628
- },
629
- {
630
- "tagName": "tbody",
631
- "attributes": {
632
- "data-role": "table-body",
633
- "id": "table-header-only-body-id"
634
- },
635
- "children": []
636
- }
637
- ]
638
- },
639
- "tableHeaderAndFooter": {
640
- "tagName": "div",
641
- "attributes": {
642
- "data-role": "table-parent",
643
- "id": "table-simple-id"
644
- },
645
- "children": [
646
- {
647
- "tagName": "table",
648
- "attributes": {
649
- "class": "table table-hover table-striped align-middle border mb-0",
650
- "id": "table-simple-table-id"
651
- },
652
- "children": [
653
- {
654
- "tagName": "colgroup",
655
- "attributes": {
656
- "data-role": "table-colgroup",
657
- "id": "table-simple-colgroup-id"
658
- },
659
- "children": []
660
- },
661
- {
662
- "tagName": "thead",
663
- "attributes": {
664
- "class": "table-dark",
665
- "data-role": "table-header",
666
- "id": "table-simple-header-id"
667
- },
668
- "children": [
669
- {
670
- "tagName": "tr",
671
- "attributes": {
672
- "data-role": "table-header-row",
673
- "id": "table-simple-header-row-id"
674
- },
675
- "children": []
676
- }
677
- ]
678
- },
679
- {
680
- "tagName": "tbody",
681
- "attributes": {
682
- "data-role": "table-body",
683
- "id": "table-simple-body-id"
684
- },
685
- "children": []
686
- },
687
- {
688
- "tagName": "tfoot",
689
- "attributes": {
690
- "data-role": "table-footer",
691
- "id": "table-simple-footer-id"
692
- },
693
- "children": [
694
- {
695
- "tagName": "tr",
696
- "attributes": {
697
- "data-role": "table-footer-row",
698
- "id": "table-simple-footer-row-id"
699
- },
700
- "children": []
701
- }
702
- ]
703
- }
704
- ]
705
- }
706
- ]
707
- },
708
- "selectBase": {
709
- "tagName": "div",
710
- "attributes": {
711
- "data-role": "select-container",
712
- "id": "select-base-id"
713
- },
714
- "children": []
715
- },
716
- "dataListBase": {
717
- "tagName": "div",
718
- "attributes": {
719
- "data-role": "datalist-container",
720
- "id": "data-list-base-id"
721
- },
722
- "children": []
723
- },
724
- "dataListSimple": {
725
- "tagName": "div",
726
- "attributes": {
727
- "data-role": "datalist-container",
728
- "id": "data-list-simple-id"
729
- },
730
- "children": []
731
- },
732
- "selectOptionsOnlyBase": [],
733
- "searchInputBase": {
734
- "tagName": "div",
735
- "attributes": {
736
- "class": "d-flex align-items-center gap-2",
737
- "id": "search-input-base-id"
738
- },
739
- "children": [
740
- {
741
- "tagName": "label",
742
- "textContent": "${label}",
743
- "attributes": {
744
- "class": "form-label mb-0 text-nowrap fw-semibold",
745
- "for": "${id}",
746
- "id": "search-input-label-id"
747
- }
748
- },
749
- {
750
- "tagName": "input",
751
- "attributes": {
752
- "type": "search",
753
- "placeholder": "${placeholder}",
754
- "class": "form-control",
755
- "id": "search-input-field-id"
756
- }
757
- }
758
- ]
759
- },
760
- "formBase": {
761
- "tagName": "div",
762
- "attributes": {
763
- "class": "card shadow-sm border-0",
764
- "id": "form-base-id"
765
- },
766
- "children": [
767
- {
768
- "tagName": "div",
769
- "attributes": {
770
- "class": "card-header bg-white py-3 border-bottom d-flex justify-content-between align-items-center",
771
- "id": "form-base-header-id"
772
- },
773
- "children": [
774
- {
775
- "tagName": "h2",
776
- "textContent": "Data Entry Form",
777
- "attributes": {
778
- "class": "h5 fw-bold mb-0 text-dark",
779
- "id": "form-base-title-id"
780
- }
781
- }
782
- ]
783
- },
784
- {
785
- "tagName": "div",
786
- "attributes": {
787
- "class": "card-body p-4",
788
- "id": "form-base-body-id"
789
- },
790
- "children": [
791
- {
792
- "tagName": "form",
793
- "attributes": {
794
- "id": "form-base-form-id",
795
- "data-role": "form-body"
796
- },
797
- "children": []
798
- }
799
- ]
800
- },
801
- {
802
- "tagName": "div",
803
- "attributes": {
804
- "class": "card-footer bg-light px-4 py-3 d-flex justify-content-end gap-2",
805
- "id": "form-base-footer-id"
806
- },
807
- "children": [
808
- {
809
- "tagName": "button",
810
- "textContent": "Reset",
811
- "attributes": {
812
- "type": "reset",
813
- "class": "btn btn-outline-secondary",
814
- "id": "form-base-reset-button-id"
815
- }
816
- },
817
- {
818
- "tagName": "button",
819
- "textContent": "Submit",
820
- "attributes": {
821
- "type": "submit",
822
- "class": "btn btn-primary",
823
- "id": "form-base-submit-button-id"
824
- }
825
- }
826
- ]
827
- }
828
- ]
829
- },
830
- "formSimple": {
831
- "tagName": "div",
832
- "attributes": {
833
- "class": "card shadow-sm border-0",
834
- "id": "form-simple-id"
835
- },
836
- "children": [
837
- {
838
- "tagName": "div",
839
- "attributes": {
840
- "class": "card-header bg-white py-3 border-bottom d-flex justify-content-between align-items-center",
841
- "id": "form-simple-header-id"
842
- },
843
- "children": [
844
- {
845
- "tagName": "h2",
846
- "textContent": "Data Entry Form",
847
- "attributes": {
848
- "class": "h5 fw-bold mb-0 text-dark",
849
- "id": "form-simple-title-id"
850
- }
851
- }
852
- ]
853
- },
854
- {
855
- "tagName": "div",
856
- "attributes": {
857
- "class": "card-body p-4",
858
- "id": "form-simple-body-id"
859
- },
860
- "children": [
861
- {
862
- "tagName": "form",
863
- "attributes": {
864
- "id": "form-simple-form-id",
865
- "data-role": "form-body"
866
- },
867
- "children": []
868
- }
869
- ]
870
- },
871
- {
872
- "tagName": "div",
873
- "attributes": {
874
- "class": "card-footer bg-light px-4 py-3 d-flex justify-content-end gap-2",
875
- "id": "form-simple-footer-id"
876
- },
877
- "children": [
878
- {
879
- "tagName": "button",
880
- "textContent": "Reset",
881
- "attributes": {
882
- "type": "reset",
883
- "class": "btn btn-outline-secondary",
884
- "id": "form-simple-reset-button-id"
885
- }
886
- },
887
- {
888
- "tagName": "button",
889
- "textContent": "Submit",
890
- "attributes": {
891
- "type": "submit",
892
- "class": "btn btn-primary",
893
- "id": "form-simple-submit-button-id"
894
- }
895
- }
896
- ]
897
- }
898
- ]
899
- }
900
- }