merge([
15 | 'id' => $getId(),
16 | ], escape: false)
17 | ->merge($getExtraAttributes(), escape: false)
18 | ->class(['it-table-repeatable'])
19 | }}
20 | >
21 |
22 |
23 |
24 |
25 | @if($showIndex) | @endif
26 | @foreach($getColumnLabels() as $label)
27 | @php
28 | $alignment = $label['alignment'];
29 | if (! $alignment instanceof Alignment) {
30 | $alignment = filled($alignment) ? (Alignment::tryFrom($alignment) ?? $alignment) : null;
31 | }
32 | @endphp
33 | 'text-start',
38 | Alignment::Center => 'text-center',
39 | Alignment::End => 'text-end',
40 | Alignment::Left => 'text-left',
41 | Alignment::Right => 'text-right',
42 | Alignment::Justify, Alignment::Between => 'text-justify',
43 | default => $alignment,
44 | },
45 | match ($alignment) {
46 | Alignment::Start, Alignment::Left => 'justify-start',
47 | Alignment::Center => 'justify-center',
48 | Alignment::End, Alignment::Right => 'justify-end',
49 | Alignment::Between, Alignment::Justify => 'justify-between',
50 | default => null,
51 | }
52 | ])
53 | >{{ $label['name'] }} |
54 | @endforeach
55 |
56 |
57 |
58 | @foreach ($getChildComponentContainers() as $item)
59 |
60 | @if($showIndex)| {{ $loop->index + 1 }} | @endif
61 |
62 | @foreach($item->getComponents() as $component)
63 |
64 | {{ $component }}
65 | |
66 | @endforeach
67 |
68 |
69 | @endforeach
70 |
71 |
72 |
73 |
74 |