overview-components 1.0.0 → 1.0.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.
- package/dist/components/lit-attachments-tab.d.ts.map +1 -1
- package/dist/components/lit-attachments-tab.js +219 -217
- package/dist/components/lit-attachments-tab.js.map +1 -1
- package/dist/components/lit-case-variables-tab.d.ts +4 -18
- package/dist/components/lit-case-variables-tab.d.ts.map +1 -1
- package/dist/components/lit-case-variables-tab.js +7 -13
- package/dist/components/lit-case-variables-tab.js.map +1 -1
- package/dist/components/lit-data-grid-tanstack.js +461 -461
- package/dist/shared/lit-case-variables-tab-cell.d.ts +58 -0
- package/dist/shared/lit-case-variables-tab-cell.d.ts.map +1 -0
- package/dist/shared/lit-case-variables-tab-cell.js +224 -0
- package/dist/shared/lit-case-variables-tab-cell.js.map +1 -0
- package/package.json +1 -1
|
@@ -557,37 +557,37 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
557
557
|
(virtualColumns[virtualColumns.length - 1]?.end ?? 0);
|
|
558
558
|
}
|
|
559
559
|
let isMobile = window.matchMedia('(max-width: 600px)').matches;
|
|
560
|
-
return html `
|
|
561
|
-
<div class="data-grid__wrapper">
|
|
560
|
+
return html `
|
|
561
|
+
<div class="data-grid__wrapper">
|
|
562
562
|
${this.isScrollable && !isMobile
|
|
563
|
-
? html `
|
|
564
|
-
<lit-icon-button
|
|
565
|
-
class="scroll-button left"
|
|
566
|
-
.disabled="${this.disableScrollLeft}"
|
|
567
|
-
@pointerdown="${() => this.startScroll('left')}"
|
|
568
|
-
@pointerup="${this.stopScroll}"
|
|
569
|
-
@pointerleave="${this.stopScroll}"
|
|
570
|
-
size="small"
|
|
571
|
-
variant="contained"
|
|
572
|
-
icon="arrowLeft"
|
|
573
|
-
>
|
|
574
|
-
</lit-icon-button>
|
|
575
|
-
<lit-icon-button
|
|
576
|
-
class="scroll-button right"
|
|
577
|
-
.disabled="${this.disableScrollRight}"
|
|
578
|
-
@pointerdown="${() => this.startScroll('right')}"
|
|
579
|
-
@pointerup="${this.stopScroll}"
|
|
580
|
-
@pointerleave="${this.stopScroll}"
|
|
581
|
-
size="small"
|
|
582
|
-
variant="contained"
|
|
583
|
-
icon="arrowRight"
|
|
584
|
-
>
|
|
585
|
-
</lit-icon-button>
|
|
563
|
+
? html `
|
|
564
|
+
<lit-icon-button
|
|
565
|
+
class="scroll-button left"
|
|
566
|
+
.disabled="${this.disableScrollLeft}"
|
|
567
|
+
@pointerdown="${() => this.startScroll('left')}"
|
|
568
|
+
@pointerup="${this.stopScroll}"
|
|
569
|
+
@pointerleave="${this.stopScroll}"
|
|
570
|
+
size="small"
|
|
571
|
+
variant="contained"
|
|
572
|
+
icon="arrowLeft"
|
|
573
|
+
>
|
|
574
|
+
</lit-icon-button>
|
|
575
|
+
<lit-icon-button
|
|
576
|
+
class="scroll-button right"
|
|
577
|
+
.disabled="${this.disableScrollRight}"
|
|
578
|
+
@pointerdown="${() => this.startScroll('right')}"
|
|
579
|
+
@pointerup="${this.stopScroll}"
|
|
580
|
+
@pointerleave="${this.stopScroll}"
|
|
581
|
+
size="small"
|
|
582
|
+
variant="contained"
|
|
583
|
+
icon="arrowRight"
|
|
584
|
+
>
|
|
585
|
+
</lit-icon-button>
|
|
586
586
|
`
|
|
587
|
-
: null}
|
|
588
|
-
<div class="grid" ${ref(this.tableContainerRef)} @scroll="${this.handleScroll}">
|
|
589
|
-
<table style="width: ${this.table.getCenterTotalSize()}px">
|
|
590
|
-
<thead style="height: ${this.enableFiltering ? '4rem' : '1.625rem'};">
|
|
587
|
+
: null}
|
|
588
|
+
<div class="grid" ${ref(this.tableContainerRef)} @scroll="${this.handleScroll}">
|
|
589
|
+
<table style="width: ${this.table.getCenterTotalSize()}px">
|
|
590
|
+
<thead style="height: ${this.enableFiltering ? '4rem' : '1.625rem'};">
|
|
591
591
|
${repeat(this.table.getHeaderGroups(), (headerGroup) => headerGroup.id, (headerGroup) => {
|
|
592
592
|
const headerColumns = this.enableColumnVirtualization
|
|
593
593
|
? virtualColumns.map((vc) => headerGroup.headers[vc.index])
|
|
@@ -598,15 +598,15 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
598
598
|
...headerColumns.filter((hc) => !hc.column.getIsPinned()),
|
|
599
599
|
]
|
|
600
600
|
: headerColumns;
|
|
601
|
-
return html `
|
|
602
|
-
<tr class="head" data-index="${headerGroup.id}">
|
|
601
|
+
return html `
|
|
602
|
+
<tr class="head" data-index="${headerGroup.id}">
|
|
603
603
|
${virtualPaddingLeft
|
|
604
|
-
? html `
|
|
605
|
-
<th
|
|
606
|
-
style=" display: flex; width: ${virtualPaddingLeft}px;"
|
|
607
|
-
></th>
|
|
604
|
+
? html `
|
|
605
|
+
<th
|
|
606
|
+
style=" display: flex; width: ${virtualPaddingLeft}px;"
|
|
607
|
+
></th>
|
|
608
608
|
`
|
|
609
|
-
: ''}
|
|
609
|
+
: ''}
|
|
610
610
|
${repeat(newHeaderColumns, (header) => header.id, (header, index) => {
|
|
611
611
|
const column = header.column;
|
|
612
612
|
const style = {
|
|
@@ -614,22 +614,22 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
614
614
|
width: `${column.getSize()}px`,
|
|
615
615
|
flexGrow: `${column.columnDef.size === undefined ? 1 : 'unset'}`,
|
|
616
616
|
};
|
|
617
|
-
return html `
|
|
618
|
-
<th
|
|
619
|
-
class="head"
|
|
620
|
-
style="${styleMap(style)}"
|
|
621
|
-
colspan="${header.colSpan}"
|
|
622
|
-
data-index="${header.id}"
|
|
623
|
-
>
|
|
617
|
+
return html `
|
|
618
|
+
<th
|
|
619
|
+
class="head"
|
|
620
|
+
style="${styleMap(style)}"
|
|
621
|
+
colspan="${header.colSpan}"
|
|
622
|
+
data-index="${header.id}"
|
|
623
|
+
>
|
|
624
624
|
${header.isPlaceholder
|
|
625
625
|
? ''
|
|
626
|
-
: html `
|
|
627
|
-
<div
|
|
626
|
+
: html `
|
|
627
|
+
<div
|
|
628
628
|
class="resizer ${this
|
|
629
629
|
.table.options
|
|
630
630
|
.columnResizeDirection} ${header.column.getIsResizing()
|
|
631
631
|
? 'is-resizing'
|
|
632
|
-
: ''}"
|
|
632
|
+
: ''}"
|
|
633
633
|
style="transform: ${this
|
|
634
634
|
.table.options
|
|
635
635
|
.columnResizeMode ===
|
|
@@ -645,166 +645,166 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
645
645
|
.columnSizingInfo
|
|
646
646
|
.deltaOffset ??
|
|
647
647
|
0)}px)`
|
|
648
|
-
: ''}"
|
|
649
|
-
>
|
|
650
|
-
<div
|
|
651
|
-
style="display: flex; align-items: center; height: 100%;"
|
|
652
|
-
>
|
|
653
|
-
<div
|
|
654
|
-
class="column-header"
|
|
655
|
-
@click=${header.column.getToggleSortingHandler()}
|
|
656
|
-
>
|
|
657
|
-
<lit-overflow-tooltip
|
|
648
|
+
: ''}"
|
|
649
|
+
>
|
|
650
|
+
<div
|
|
651
|
+
style="display: flex; align-items: center; height: 100%;"
|
|
652
|
+
>
|
|
653
|
+
<div
|
|
654
|
+
class="column-header"
|
|
655
|
+
@click=${header.column.getToggleSortingHandler()}
|
|
656
|
+
>
|
|
657
|
+
<lit-overflow-tooltip
|
|
658
658
|
label="${header
|
|
659
659
|
.column
|
|
660
660
|
.columnDef
|
|
661
|
-
.header}"
|
|
662
|
-
>
|
|
661
|
+
.header}"
|
|
662
|
+
>
|
|
663
663
|
${header
|
|
664
664
|
.column
|
|
665
665
|
.columnDef
|
|
666
|
-
.header}
|
|
667
|
-
</lit-overflow-tooltip>
|
|
668
|
-
</div>
|
|
669
|
-
|
|
670
|
-
<div
|
|
671
|
-
class="icons-group-pin"
|
|
672
|
-
>
|
|
666
|
+
.header}
|
|
667
|
+
</lit-overflow-tooltip>
|
|
668
|
+
</div>
|
|
669
|
+
|
|
670
|
+
<div
|
|
671
|
+
class="icons-group-pin"
|
|
672
|
+
>
|
|
673
673
|
${header.column.getIsSorted()
|
|
674
674
|
? header.column.getIsSorted() ===
|
|
675
675
|
'asc'
|
|
676
|
-
? html `<slot
|
|
677
|
-
name="iconSortUp"
|
|
678
|
-
><lit-icon
|
|
679
|
-
size="0.75rem"
|
|
680
|
-
icon="chevronUpFilled"
|
|
681
|
-
></lit-icon
|
|
676
|
+
? html `<slot
|
|
677
|
+
name="iconSortUp"
|
|
678
|
+
><lit-icon
|
|
679
|
+
size="0.75rem"
|
|
680
|
+
icon="chevronUpFilled"
|
|
681
|
+
></lit-icon
|
|
682
682
|
></slot>`
|
|
683
|
-
: html `<slothea
|
|
684
|
-
name="iconSortDown"
|
|
685
|
-
>
|
|
686
|
-
<lit-icon
|
|
687
|
-
size="0.75rem"
|
|
688
|
-
icon="chevronDownFilled"
|
|
689
|
-
></lit-icon>
|
|
683
|
+
: html `<slothea
|
|
684
|
+
name="iconSortDown"
|
|
685
|
+
>
|
|
686
|
+
<lit-icon
|
|
687
|
+
size="0.75rem"
|
|
688
|
+
icon="chevronDownFilled"
|
|
689
|
+
></lit-icon>
|
|
690
690
|
</slothea>`
|
|
691
|
-
: html `<div></div>`}
|
|
692
|
-
<div class="flex">
|
|
691
|
+
: html `<div></div>`}
|
|
692
|
+
<div class="flex">
|
|
693
693
|
${!this
|
|
694
694
|
.actionButtonsInMenu
|
|
695
|
-
? html `
|
|
695
|
+
? html `
|
|
696
696
|
${header.column.getCanPin()
|
|
697
|
-
? html `
|
|
698
|
-
<lit-tooltip
|
|
697
|
+
? html `
|
|
698
|
+
<lit-tooltip
|
|
699
699
|
label="${header.column.getIsPinned()
|
|
700
700
|
? msg('Zrušit připnutí sloupce')
|
|
701
|
-
: msg('Připnout sloupec vlevo')}"
|
|
702
|
-
variant="bottom"
|
|
703
|
-
>
|
|
704
|
-
<lit-icon-button
|
|
705
|
-
@click="${() => this.togglePin(header)}"
|
|
706
|
-
size="small"
|
|
707
|
-
variant="text"
|
|
708
|
-
icon="pin"
|
|
709
|
-
.active="${header.column.getIsPinned()}"
|
|
710
|
-
>
|
|
711
|
-
</lit-icon-button>
|
|
712
|
-
</lit-tooltip>
|
|
701
|
+
: msg('Připnout sloupec vlevo')}"
|
|
702
|
+
variant="bottom"
|
|
703
|
+
>
|
|
704
|
+
<lit-icon-button
|
|
705
|
+
@click="${() => this.togglePin(header)}"
|
|
706
|
+
size="small"
|
|
707
|
+
variant="text"
|
|
708
|
+
icon="pin"
|
|
709
|
+
.active="${header.column.getIsPinned()}"
|
|
710
|
+
>
|
|
711
|
+
</lit-icon-button>
|
|
712
|
+
</lit-tooltip>
|
|
713
713
|
`
|
|
714
|
-
: ''}
|
|
714
|
+
: ''}
|
|
715
715
|
${header.column.getCanGroup()
|
|
716
|
-
? html `
|
|
717
|
-
<lit-tooltip
|
|
716
|
+
? html `
|
|
717
|
+
<lit-tooltip
|
|
718
718
|
label="${header.column.getIsGrouped()
|
|
719
719
|
? msg('Zrušit seskupení')
|
|
720
|
-
: msg('Seskupit sloupec')}"
|
|
721
|
-
variant="bottom"
|
|
722
|
-
>
|
|
723
|
-
<lit-icon-button
|
|
724
|
-
@click="${header.column.getToggleGroupingHandler()}"
|
|
725
|
-
size="small"
|
|
726
|
-
variant="text"
|
|
727
|
-
.active="${header.column.getIsGrouped()}"
|
|
728
|
-
icon="agregation"
|
|
729
|
-
>
|
|
730
|
-
</lit-icon-button>
|
|
731
|
-
</lit-tooltip>
|
|
720
|
+
: msg('Seskupit sloupec')}"
|
|
721
|
+
variant="bottom"
|
|
722
|
+
>
|
|
723
|
+
<lit-icon-button
|
|
724
|
+
@click="${header.column.getToggleGroupingHandler()}"
|
|
725
|
+
size="small"
|
|
726
|
+
variant="text"
|
|
727
|
+
.active="${header.column.getIsGrouped()}"
|
|
728
|
+
icon="agregation"
|
|
729
|
+
>
|
|
730
|
+
</lit-icon-button>
|
|
731
|
+
</lit-tooltip>
|
|
732
732
|
`
|
|
733
|
-
: ''}
|
|
733
|
+
: ''}
|
|
734
734
|
`
|
|
735
|
-
: html `
|
|
736
|
-
<lit-data-grid-action-buttons-popover
|
|
737
|
-
.group="${header.column.getToggleGroupingHandler()}"
|
|
738
|
-
.pin="${() => this.togglePin(header)}"
|
|
739
|
-
.header="${header}"
|
|
735
|
+
: html `
|
|
736
|
+
<lit-data-grid-action-buttons-popover
|
|
737
|
+
.group="${header.column.getToggleGroupingHandler()}"
|
|
738
|
+
.pin="${() => this.togglePin(header)}"
|
|
739
|
+
.header="${header}"
|
|
740
740
|
.table="${this
|
|
741
|
-
.table}"
|
|
742
|
-
></lit-data-grid-action-buttons-popover>
|
|
743
|
-
`}
|
|
744
|
-
</div>
|
|
745
|
-
</div>
|
|
746
|
-
</div>
|
|
747
|
-
</div>
|
|
741
|
+
.table}"
|
|
742
|
+
></lit-data-grid-action-buttons-popover>
|
|
743
|
+
`}
|
|
744
|
+
</div>
|
|
745
|
+
</div>
|
|
746
|
+
</div>
|
|
747
|
+
</div>
|
|
748
748
|
${header.column.getCanFilter()
|
|
749
|
-
? html `
|
|
750
|
-
<div>
|
|
751
|
-
<filter-inputs
|
|
752
|
-
.column=${header.column}
|
|
749
|
+
? html `
|
|
750
|
+
<div>
|
|
751
|
+
<filter-inputs
|
|
752
|
+
.column=${header.column}
|
|
753
753
|
.dateFormat=${this
|
|
754
|
-
.dateFormat}
|
|
754
|
+
.dateFormat}
|
|
755
755
|
.userLang=${this
|
|
756
|
-
.userLang}
|
|
757
|
-
></filter-inputs>
|
|
758
|
-
</div>
|
|
756
|
+
.userLang}
|
|
757
|
+
></filter-inputs>
|
|
758
|
+
</div>
|
|
759
759
|
`
|
|
760
|
-
: null}
|
|
761
|
-
`}
|
|
762
|
-
<div
|
|
763
|
-
class="resize-handle"
|
|
760
|
+
: null}
|
|
761
|
+
`}
|
|
762
|
+
<div
|
|
763
|
+
class="resize-handle"
|
|
764
764
|
@dblclick="${(event) => {
|
|
765
765
|
if (event.target.classList.contains('resize-handle')) {
|
|
766
766
|
header.column.resetSize();
|
|
767
767
|
}
|
|
768
|
-
}}"
|
|
768
|
+
}}"
|
|
769
769
|
@mousedown="${(event) => {
|
|
770
770
|
if (event.target.classList.contains('resize-handle')) {
|
|
771
771
|
header.getResizeHandler()(event);
|
|
772
772
|
}
|
|
773
|
-
}}"
|
|
773
|
+
}}"
|
|
774
774
|
@touchstart="${(event) => {
|
|
775
775
|
if (event.target.classList.contains('resize-handle')) {
|
|
776
776
|
header.getResizeHandler()(event);
|
|
777
777
|
}
|
|
778
|
-
}}"
|
|
779
|
-
></div>
|
|
780
|
-
</th>
|
|
778
|
+
}}"
|
|
779
|
+
></div>
|
|
780
|
+
</th>
|
|
781
781
|
`;
|
|
782
|
-
})}
|
|
782
|
+
})}
|
|
783
783
|
${virtualPaddingRight
|
|
784
|
-
? html `
|
|
785
|
-
<th
|
|
786
|
-
style=" display: flex; width: ${virtualPaddingRight}px;"
|
|
787
|
-
></th>
|
|
784
|
+
? html `
|
|
785
|
+
<th
|
|
786
|
+
style=" display: flex; width: ${virtualPaddingRight}px;"
|
|
787
|
+
></th>
|
|
788
788
|
`
|
|
789
|
-
: ''}
|
|
790
|
-
</tr>
|
|
789
|
+
: ''}
|
|
790
|
+
</tr>
|
|
791
791
|
`;
|
|
792
|
-
})}
|
|
792
|
+
})}
|
|
793
793
|
${this.isLoading
|
|
794
|
-
? html `
|
|
795
|
-
<div style="position: absolute; bottom: 0px; width: 100%;">
|
|
796
|
-
<lit-loading-bar></lit-loading-bar>
|
|
797
|
-
</div>
|
|
794
|
+
? html `
|
|
795
|
+
<div style="position: absolute; bottom: 0px; width: 100%;">
|
|
796
|
+
<lit-loading-bar></lit-loading-bar>
|
|
797
|
+
</div>
|
|
798
798
|
`
|
|
799
|
-
: ''}
|
|
800
|
-
</thead>
|
|
801
|
-
|
|
802
|
-
<tbody
|
|
799
|
+
: ''}
|
|
800
|
+
</thead>
|
|
801
|
+
|
|
802
|
+
<tbody
|
|
803
803
|
style="height: ${rowVirtualizer &&
|
|
804
804
|
this.table.getRowModel().rows.length > 0
|
|
805
805
|
? rowVirtualizer.getTotalSize() + 'px'
|
|
806
|
-
: 'auto'};"
|
|
807
|
-
>
|
|
806
|
+
: 'auto'};"
|
|
807
|
+
>
|
|
808
808
|
${rows.length > 0
|
|
809
809
|
? repeat(rowItems, (item) => item.key, (item) => {
|
|
810
810
|
const row = rows[item.index];
|
|
@@ -826,15 +826,15 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
826
826
|
position: rowVirtualizer ? 'absolute' : 'relative',
|
|
827
827
|
};
|
|
828
828
|
return row
|
|
829
|
-
? html `
|
|
830
|
-
<tr
|
|
829
|
+
? html `
|
|
830
|
+
<tr
|
|
831
831
|
class="${this.selectedRowId === row.id
|
|
832
832
|
? 'selected body'
|
|
833
|
-
: 'body'}"
|
|
834
|
-
data-index="${item.index}"
|
|
835
|
-
@click="${() => this.handleRowClick(row)}"
|
|
836
|
-
@dblclick="${() => this.handleRowDoubleClick(row)}"
|
|
837
|
-
style="${styleMap(rowStyle)}"
|
|
833
|
+
: 'body'}"
|
|
834
|
+
data-index="${item.index}"
|
|
835
|
+
@click="${() => this.handleRowClick(row)}"
|
|
836
|
+
@dblclick="${() => this.handleRowDoubleClick(row)}"
|
|
837
|
+
style="${styleMap(rowStyle)}"
|
|
838
838
|
${ref((node) => {
|
|
839
839
|
if (node &&
|
|
840
840
|
this.enableRowVirtualization &&
|
|
@@ -842,16 +842,16 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
842
842
|
// Only measure element if virtualization is enabled
|
|
843
843
|
rowVirtualizer.measureElement(node);
|
|
844
844
|
}
|
|
845
|
-
})}
|
|
846
|
-
>
|
|
845
|
+
})}
|
|
846
|
+
>
|
|
847
847
|
${virtualPaddingLeft
|
|
848
|
-
? html `
|
|
849
|
-
<th
|
|
850
|
-
style=" display: flex; width: ${virtualPaddingLeft}px;"
|
|
851
|
-
></th>
|
|
848
|
+
? html `
|
|
849
|
+
<th
|
|
850
|
+
style=" display: flex; width: ${virtualPaddingLeft}px;"
|
|
851
|
+
></th>
|
|
852
852
|
`
|
|
853
|
-
: ''}
|
|
854
|
-
<!-- Cells for each row -->
|
|
853
|
+
: ''}
|
|
854
|
+
<!-- Cells for each row -->
|
|
855
855
|
${repeat(newBodyColumns, (cell) => cell.key, (cell) => {
|
|
856
856
|
const buttonSize = this.getButtonSize();
|
|
857
857
|
const { column } = cell;
|
|
@@ -862,48 +862,48 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
862
862
|
background: this.getCellBackgroundColor(cell),
|
|
863
863
|
lineHeight: `${this.rowHeight}px`,
|
|
864
864
|
};
|
|
865
|
-
return html `
|
|
866
|
-
<td style="${styleMap(style)}">
|
|
865
|
+
return html `
|
|
866
|
+
<td style="${styleMap(style)}">
|
|
867
867
|
${cell.getIsGrouped()
|
|
868
|
-
? html `
|
|
869
|
-
<lit-button
|
|
870
|
-
@click="${row.getToggleExpandedHandler()}"
|
|
871
|
-
variant="inherit"
|
|
872
|
-
size="${buttonSize}"
|
|
868
|
+
? html `
|
|
869
|
+
<lit-button
|
|
870
|
+
@click="${row.getToggleExpandedHandler()}"
|
|
871
|
+
variant="inherit"
|
|
872
|
+
size="${buttonSize}"
|
|
873
873
|
count="${row
|
|
874
874
|
.subRows
|
|
875
|
-
.length}"
|
|
875
|
+
.length}"
|
|
876
876
|
label="${flexRender(cell
|
|
877
877
|
.column
|
|
878
878
|
.columnDef
|
|
879
|
-
.cell, cell.getContext())}"
|
|
879
|
+
.cell, cell.getContext())}"
|
|
880
880
|
icon="${row.getIsExpanded()
|
|
881
881
|
? 'chevronDownFilled'
|
|
882
|
-
: 'chevron'}"
|
|
883
|
-
>
|
|
882
|
+
: 'chevron'}"
|
|
883
|
+
>
|
|
884
884
|
<!-- ${row.getIsExpanded()
|
|
885
|
-
? html `<slot
|
|
886
|
-
name="groupedIcon-expanded"
|
|
887
|
-
slot="start-icon"
|
|
885
|
+
? html `<slot
|
|
886
|
+
name="groupedIcon-expanded"
|
|
887
|
+
slot="start-icon"
|
|
888
888
|
></slot>`
|
|
889
|
-
: html `<slot
|
|
890
|
-
name="groupedIcon"
|
|
891
|
-
slot="start-icon"
|
|
892
|
-
></slot>`} -->
|
|
893
|
-
}
|
|
889
|
+
: html `<slot
|
|
890
|
+
name="groupedIcon"
|
|
891
|
+
slot="start-icon"
|
|
892
|
+
></slot>`} -->
|
|
893
|
+
}
|
|
894
894
|
${row.subRows
|
|
895
|
-
.length}
|
|
895
|
+
.length}
|
|
896
896
|
${flexRender(cell
|
|
897
897
|
.column
|
|
898
898
|
.columnDef
|
|
899
|
-
.cell, cell.getContext())}
|
|
900
|
-
</lit-button>
|
|
899
|
+
.cell, cell.getContext())}
|
|
900
|
+
</lit-button>
|
|
901
901
|
`
|
|
902
902
|
: cell.getIsAggregated()
|
|
903
|
-
? html `
|
|
904
|
-
<div
|
|
905
|
-
style="display: flex; flex-direction: row; align-items: center;"
|
|
906
|
-
>
|
|
903
|
+
? html `
|
|
904
|
+
<div
|
|
905
|
+
style="display: flex; flex-direction: row; align-items: center;"
|
|
906
|
+
>
|
|
907
907
|
${flexRender(cell
|
|
908
908
|
.column
|
|
909
909
|
.columnDef
|
|
@@ -911,288 +911,288 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
911
911
|
cell
|
|
912
912
|
.column
|
|
913
913
|
.columnDef
|
|
914
|
-
.cell, cell.getContext())}
|
|
915
|
-
</div>
|
|
914
|
+
.cell, cell.getContext())}
|
|
915
|
+
</div>
|
|
916
916
|
`
|
|
917
917
|
: cell.getIsPlaceholder()
|
|
918
918
|
? null
|
|
919
919
|
: flexRender(cell.column
|
|
920
920
|
.columnDef
|
|
921
|
-
.cell, cell.getContext())}
|
|
922
|
-
</td>
|
|
921
|
+
.cell, cell.getContext())}
|
|
922
|
+
</td>
|
|
923
923
|
`;
|
|
924
|
-
})}
|
|
924
|
+
})}
|
|
925
925
|
${virtualPaddingRight
|
|
926
|
-
? html `
|
|
927
|
-
<th
|
|
928
|
-
style=" display: flex; width: ${virtualPaddingRight}px;"
|
|
929
|
-
></th>
|
|
926
|
+
? html `
|
|
927
|
+
<th
|
|
928
|
+
style=" display: flex; width: ${virtualPaddingRight}px;"
|
|
929
|
+
></th>
|
|
930
930
|
`
|
|
931
|
-
: ''}
|
|
932
|
-
</tr>
|
|
931
|
+
: ''}
|
|
932
|
+
</tr>
|
|
933
933
|
`
|
|
934
934
|
: null;
|
|
935
935
|
})
|
|
936
|
-
: null}
|
|
937
|
-
</tbody>
|
|
938
|
-
</table>
|
|
939
|
-
<div class="footer-container">
|
|
940
|
-
<span class="numberCount">
|
|
941
|
-
${msg('Počet záznamů')}: ${this.table.getRowModel().rows.length}
|
|
942
|
-
</span>
|
|
943
|
-
<div class="right-actions">
|
|
944
|
-
<lit-data-grid-density-popover
|
|
945
|
-
.density="${this.rowDensity}"
|
|
946
|
-
.setDensity="${(density) => this.handleSetDensity(density)}"
|
|
947
|
-
>
|
|
948
|
-
</lit-data-grid-density-popover>
|
|
949
|
-
<lit-responsive-button
|
|
950
|
-
size="small"
|
|
951
|
-
variant="text"
|
|
952
|
-
label=${msg('Přizpůsobit sloupce')}
|
|
953
|
-
icon="columns"
|
|
954
|
-
@click=${() => this.table.resetColumnSizing()}
|
|
955
|
-
></lit-responsive-button>
|
|
936
|
+
: null}
|
|
937
|
+
</tbody>
|
|
938
|
+
</table>
|
|
939
|
+
<div class="footer-container">
|
|
940
|
+
<span class="numberCount">
|
|
941
|
+
${msg('Počet záznamů')}: ${this.table.getRowModel().rows.length}
|
|
942
|
+
</span>
|
|
943
|
+
<div class="right-actions">
|
|
944
|
+
<lit-data-grid-density-popover
|
|
945
|
+
.density="${this.rowDensity}"
|
|
946
|
+
.setDensity="${(density) => this.handleSetDensity(density)}"
|
|
947
|
+
>
|
|
948
|
+
</lit-data-grid-density-popover>
|
|
949
|
+
<lit-responsive-button
|
|
950
|
+
size="small"
|
|
951
|
+
variant="text"
|
|
952
|
+
label=${msg('Přizpůsobit sloupce')}
|
|
953
|
+
icon="columns"
|
|
954
|
+
@click=${() => this.table.resetColumnSizing()}
|
|
955
|
+
></lit-responsive-button>
|
|
956
956
|
${this.exportData
|
|
957
|
-
? html `
|
|
958
|
-
<lit-data-grid-export-popover
|
|
959
|
-
.exportToCsv="${() => this.exportDataToCsv()}"
|
|
960
|
-
.exportToExcel="${() => this.exportDataToExcel()}"
|
|
961
|
-
.disabledButtons="${this.isLoading}"
|
|
962
|
-
>
|
|
963
|
-
</lit-data-grid-export-popover>
|
|
957
|
+
? html `
|
|
958
|
+
<lit-data-grid-export-popover
|
|
959
|
+
.exportToCsv="${() => this.exportDataToCsv()}"
|
|
960
|
+
.exportToExcel="${() => this.exportDataToExcel()}"
|
|
961
|
+
.disabledButtons="${this.isLoading}"
|
|
962
|
+
>
|
|
963
|
+
</lit-data-grid-export-popover>
|
|
964
964
|
`
|
|
965
|
-
: null}
|
|
966
|
-
</div>
|
|
967
|
-
</div>
|
|
968
|
-
</div>
|
|
965
|
+
: null}
|
|
966
|
+
</div>
|
|
967
|
+
</div>
|
|
968
|
+
</div>
|
|
969
969
|
${this.table.getRowModel().rows.length < 1 && !this.isLoading
|
|
970
|
-
? html ` <div class="data-grid__empty">
|
|
971
|
-
<div style="max-height: 7.125rem; max-width: 7.125rem">
|
|
972
|
-
<not-found></not-found>
|
|
973
|
-
</div>
|
|
974
|
-
${msg('Nic dalšího tu není')}
|
|
970
|
+
? html ` <div class="data-grid__empty">
|
|
971
|
+
<div style="max-height: 7.125rem; max-width: 7.125rem">
|
|
972
|
+
<not-found></not-found>
|
|
973
|
+
</div>
|
|
974
|
+
${msg('Nic dalšího tu není')}
|
|
975
975
|
</div>`
|
|
976
|
-
: null}
|
|
977
|
-
</div>
|
|
976
|
+
: null}
|
|
977
|
+
</div>
|
|
978
978
|
`;
|
|
979
979
|
}
|
|
980
980
|
};
|
|
981
981
|
LitDataGridTanstack.styles = [
|
|
982
982
|
// styles,
|
|
983
|
-
css `
|
|
984
|
-
*,
|
|
985
|
-
*::before,
|
|
986
|
-
*::after {
|
|
987
|
-
margin: 0;
|
|
988
|
-
padding: 0;
|
|
989
|
-
box-sizing: border-box;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
display: block;
|
|
993
|
-
font-family: 'Inter', sans-serif;
|
|
994
|
-
box-sizing: border-box;
|
|
995
|
-
|
|
996
|
-
td {
|
|
997
|
-
padding: 0px;
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
.data-grid__wrapper {
|
|
1001
|
-
position: relative;
|
|
1002
|
-
background-color: var(--background-paper, #fff);
|
|
1003
|
-
height: 100%;
|
|
1004
|
-
z-index: 1;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
.grid {
|
|
1008
|
-
overflow: auto;
|
|
1009
|
-
position: relative;
|
|
1010
|
-
height: 100%;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
.data-grid__empty {
|
|
1014
|
-
position: absolute;
|
|
1015
|
-
top: 30%;
|
|
1016
|
-
left: 50%;
|
|
1017
|
-
transform: translate(-50%, -50%);
|
|
1018
|
-
font-size: 0.875rem;
|
|
1019
|
-
text-align: center;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
table {
|
|
1023
|
-
border-collapse: collapse;
|
|
1024
|
-
border-spacing: 0;
|
|
1025
|
-
width: 100% !important;
|
|
1026
|
-
height: calc(100% - 38px);
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
thead {
|
|
1030
|
-
display: flex;
|
|
1031
|
-
position: sticky;
|
|
1032
|
-
top: 0;
|
|
1033
|
-
z-index: 10;
|
|
1034
|
-
background-color: var(--background-paper, #fff);
|
|
1035
|
-
border-bottom: 1px solid var(--color-divider, #d0d3db);
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
tr.head {
|
|
1039
|
-
display: flex;
|
|
1040
|
-
width: 100%;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
th.head {
|
|
1044
|
-
display: block;
|
|
1045
|
-
position: relative;
|
|
1046
|
-
padding: 0px 6px;
|
|
1047
|
-
gap: 0.25rem;
|
|
1048
|
-
//z-index: auto !important;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
tbody {
|
|
1052
|
-
display: grid;
|
|
1053
|
-
position: relative;
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
tr.body {
|
|
1057
|
-
width: 100%;
|
|
1058
|
-
border-bottom: 1px solid var(--color-divider, #d0d3db);
|
|
1059
|
-
display: flex;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
tr.body:hover {
|
|
1063
|
-
cursor: pointer;
|
|
1064
|
-
background-color: var(--background-default, #eff3f4);
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
td {
|
|
1068
|
-
display: table-cell;
|
|
1069
|
-
white-space: nowrap;
|
|
1070
|
-
overflow: hidden;
|
|
1071
|
-
padding: 0px 14px;
|
|
1072
|
-
font-weight: 500;
|
|
1073
|
-
font-size: 13px;
|
|
1074
|
-
color: var(--text-primary, #111827);
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
.column-header {
|
|
1078
|
-
font-size: 11px;
|
|
1079
|
-
font-weight: 600;
|
|
1080
|
-
color: var(--text-secondary, #5d6371);
|
|
1081
|
-
cursor: pointer;
|
|
1082
|
-
gap: 0.25rem;
|
|
1083
|
-
justify-content: center;
|
|
1084
|
-
align-items: center;
|
|
1085
|
-
margin: 0 0.25rem;
|
|
1086
|
-
overflow: hidden;
|
|
1087
|
-
white-space: nowrap;
|
|
1088
|
-
text-overflow: ellipsis;
|
|
1089
|
-
height: inherit;
|
|
1090
|
-
display: flex;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
.ellipsis {
|
|
1094
|
-
overflow: hidden;
|
|
1095
|
-
white-space: nowrap;
|
|
1096
|
-
text-overflow: ellipsis;
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
.icons-group-pin {
|
|
1100
|
-
display: flex;
|
|
1101
|
-
height: 100%;
|
|
1102
|
-
justify-content: space-between;
|
|
1103
|
-
flex-grow: 1;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
.flex {
|
|
1107
|
-
display: flex;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.resizer {
|
|
1111
|
-
height: 23px;
|
|
1112
|
-
padding: 0 0 0 6px;
|
|
1113
|
-
text-align: start;
|
|
1114
|
-
//cursor: col-resize;
|
|
1115
|
-
user-select: none;
|
|
1116
|
-
touch-action: none;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
.resize-handle {
|
|
1120
|
-
position: absolute;
|
|
1121
|
-
top: 0;
|
|
1122
|
-
right: 0px;
|
|
1123
|
-
width: 6px;
|
|
1124
|
-
height: 100%;
|
|
1125
|
-
background: transparent;
|
|
1126
|
-
cursor: col-resize;
|
|
1127
|
-
transition: background-color 0.2s ease-in-out;
|
|
1128
|
-
// border-radius: 5px;
|
|
1129
|
-
// padding-bottom: 5px;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
.resize-handle:hover {
|
|
1133
|
-
border-right: 2px solid var(--color-primary-main, #75b603);
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
.resizer.ltr {
|
|
1137
|
-
right: 0;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.resizer.rtl {
|
|
1141
|
-
left: 0;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
.resizer.is-resizing {
|
|
1145
|
-
opacity: 1;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
.footer-container {
|
|
1149
|
-
position: sticky;
|
|
1150
|
-
left: 0;
|
|
1151
|
-
bottom: 0;
|
|
1152
|
-
background-color: var(--background-paper, #fff);
|
|
1153
|
-
width: auto;
|
|
1154
|
-
border-top: 1px solid var(--color-divider, #d0d3db);
|
|
1155
|
-
height: 2.375rem;
|
|
1156
|
-
display: flex;
|
|
1157
|
-
flex-direction: row;
|
|
1158
|
-
justify-content: space-between;
|
|
1159
|
-
align-items: center;
|
|
1160
|
-
// padding: 0 16px;
|
|
1161
|
-
z-index: 10;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
.right-actions {
|
|
1165
|
-
position: absolute;
|
|
1166
|
-
right: 0;
|
|
1167
|
-
display: flex;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
.numberCount {
|
|
1171
|
-
margin: 0.375rem 0;
|
|
1172
|
-
font-size: 12px;
|
|
1173
|
-
font-weight: 400;
|
|
1174
|
-
color: var(--text-primary, #111827);
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
.scroll-button {
|
|
1178
|
-
position: absolute;
|
|
1179
|
-
top: 50%;
|
|
1180
|
-
transform: translateY(-50%);
|
|
1181
|
-
z-index: 1000;
|
|
1182
|
-
cursor: pointer;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
.scroll-button.left {
|
|
1186
|
-
left: 3rem;
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
.scroll-button.right {
|
|
1190
|
-
right: 3rem;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
.selected {
|
|
1194
|
-
background-color: var(--color-primary-light, #f0fadf);
|
|
1195
|
-
}
|
|
983
|
+
css `
|
|
984
|
+
*,
|
|
985
|
+
*::before,
|
|
986
|
+
*::after {
|
|
987
|
+
margin: 0;
|
|
988
|
+
padding: 0;
|
|
989
|
+
box-sizing: border-box;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
display: block;
|
|
993
|
+
font-family: 'Inter', sans-serif;
|
|
994
|
+
box-sizing: border-box;
|
|
995
|
+
|
|
996
|
+
td {
|
|
997
|
+
padding: 0px;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.data-grid__wrapper {
|
|
1001
|
+
position: relative;
|
|
1002
|
+
background-color: var(--background-paper, #fff);
|
|
1003
|
+
height: 100%;
|
|
1004
|
+
z-index: 1;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
.grid {
|
|
1008
|
+
overflow: auto;
|
|
1009
|
+
position: relative;
|
|
1010
|
+
height: 100%;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.data-grid__empty {
|
|
1014
|
+
position: absolute;
|
|
1015
|
+
top: 30%;
|
|
1016
|
+
left: 50%;
|
|
1017
|
+
transform: translate(-50%, -50%);
|
|
1018
|
+
font-size: 0.875rem;
|
|
1019
|
+
text-align: center;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
table {
|
|
1023
|
+
border-collapse: collapse;
|
|
1024
|
+
border-spacing: 0;
|
|
1025
|
+
width: 100% !important;
|
|
1026
|
+
height: calc(100% - 38px);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
thead {
|
|
1030
|
+
display: flex;
|
|
1031
|
+
position: sticky;
|
|
1032
|
+
top: 0;
|
|
1033
|
+
z-index: 10;
|
|
1034
|
+
background-color: var(--background-paper, #fff);
|
|
1035
|
+
border-bottom: 1px solid var(--color-divider, #d0d3db);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
tr.head {
|
|
1039
|
+
display: flex;
|
|
1040
|
+
width: 100%;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
th.head {
|
|
1044
|
+
display: block;
|
|
1045
|
+
position: relative;
|
|
1046
|
+
padding: 0px 6px;
|
|
1047
|
+
gap: 0.25rem;
|
|
1048
|
+
//z-index: auto !important;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
tbody {
|
|
1052
|
+
display: grid;
|
|
1053
|
+
position: relative;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
tr.body {
|
|
1057
|
+
width: 100%;
|
|
1058
|
+
border-bottom: 1px solid var(--color-divider, #d0d3db);
|
|
1059
|
+
display: flex;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
tr.body:hover {
|
|
1063
|
+
cursor: pointer;
|
|
1064
|
+
background-color: var(--background-default, #eff3f4);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
td {
|
|
1068
|
+
display: table-cell;
|
|
1069
|
+
white-space: nowrap;
|
|
1070
|
+
overflow: hidden;
|
|
1071
|
+
padding: 0px 14px;
|
|
1072
|
+
font-weight: 500;
|
|
1073
|
+
font-size: 13px;
|
|
1074
|
+
color: var(--text-primary, #111827);
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
.column-header {
|
|
1078
|
+
font-size: 11px;
|
|
1079
|
+
font-weight: 600;
|
|
1080
|
+
color: var(--text-secondary, #5d6371);
|
|
1081
|
+
cursor: pointer;
|
|
1082
|
+
gap: 0.25rem;
|
|
1083
|
+
justify-content: center;
|
|
1084
|
+
align-items: center;
|
|
1085
|
+
margin: 0 0.25rem;
|
|
1086
|
+
overflow: hidden;
|
|
1087
|
+
white-space: nowrap;
|
|
1088
|
+
text-overflow: ellipsis;
|
|
1089
|
+
height: inherit;
|
|
1090
|
+
display: flex;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.ellipsis {
|
|
1094
|
+
overflow: hidden;
|
|
1095
|
+
white-space: nowrap;
|
|
1096
|
+
text-overflow: ellipsis;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.icons-group-pin {
|
|
1100
|
+
display: flex;
|
|
1101
|
+
height: 100%;
|
|
1102
|
+
justify-content: space-between;
|
|
1103
|
+
flex-grow: 1;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.flex {
|
|
1107
|
+
display: flex;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.resizer {
|
|
1111
|
+
height: 23px;
|
|
1112
|
+
padding: 0 0 0 6px;
|
|
1113
|
+
text-align: start;
|
|
1114
|
+
//cursor: col-resize;
|
|
1115
|
+
user-select: none;
|
|
1116
|
+
touch-action: none;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.resize-handle {
|
|
1120
|
+
position: absolute;
|
|
1121
|
+
top: 0;
|
|
1122
|
+
right: 0px;
|
|
1123
|
+
width: 6px;
|
|
1124
|
+
height: 100%;
|
|
1125
|
+
background: transparent;
|
|
1126
|
+
cursor: col-resize;
|
|
1127
|
+
transition: background-color 0.2s ease-in-out;
|
|
1128
|
+
// border-radius: 5px;
|
|
1129
|
+
// padding-bottom: 5px;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.resize-handle:hover {
|
|
1133
|
+
border-right: 2px solid var(--color-primary-main, #75b603);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.resizer.ltr {
|
|
1137
|
+
right: 0;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.resizer.rtl {
|
|
1141
|
+
left: 0;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.resizer.is-resizing {
|
|
1145
|
+
opacity: 1;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.footer-container {
|
|
1149
|
+
position: sticky;
|
|
1150
|
+
left: 0;
|
|
1151
|
+
bottom: 0;
|
|
1152
|
+
background-color: var(--background-paper, #fff);
|
|
1153
|
+
width: auto;
|
|
1154
|
+
border-top: 1px solid var(--color-divider, #d0d3db);
|
|
1155
|
+
height: 2.375rem;
|
|
1156
|
+
display: flex;
|
|
1157
|
+
flex-direction: row;
|
|
1158
|
+
justify-content: space-between;
|
|
1159
|
+
align-items: center;
|
|
1160
|
+
// padding: 0 16px;
|
|
1161
|
+
z-index: 10;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.right-actions {
|
|
1165
|
+
position: absolute;
|
|
1166
|
+
right: 0;
|
|
1167
|
+
display: flex;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.numberCount {
|
|
1171
|
+
margin: 0.375rem 0;
|
|
1172
|
+
font-size: 12px;
|
|
1173
|
+
font-weight: 400;
|
|
1174
|
+
color: var(--text-primary, #111827);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.scroll-button {
|
|
1178
|
+
position: absolute;
|
|
1179
|
+
top: 50%;
|
|
1180
|
+
transform: translateY(-50%);
|
|
1181
|
+
z-index: 1000;
|
|
1182
|
+
cursor: pointer;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.scroll-button.left {
|
|
1186
|
+
left: 3rem;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
.scroll-button.right {
|
|
1190
|
+
right: 3rem;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.selected {
|
|
1194
|
+
background-color: var(--color-primary-light, #f0fadf);
|
|
1195
|
+
}
|
|
1196
1196
|
`,
|
|
1197
1197
|
];
|
|
1198
1198
|
__decorate([
|