@tipp/ui 2.1.9 → 2.1.10
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/app/index.cjs.map +1 -1
- package/dist/app/index.js +12 -12
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +8 -8
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +8 -8
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +8 -8
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +8 -8
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +8 -8
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +8 -8
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +4 -4
- package/dist/chunk-2T7JCRER.js +30 -0
- package/dist/chunk-2T7JCRER.js.map +1 -0
- package/dist/chunk-HNO5SCLZ.js +192 -0
- package/dist/chunk-HNO5SCLZ.js.map +1 -0
- package/dist/chunk-HQGFHFGR.js +123 -0
- package/dist/chunk-HQGFHFGR.js.map +1 -0
- package/dist/chunk-I6NVQV5Q.js +59 -0
- package/dist/chunk-I6NVQV5Q.js.map +1 -0
- package/dist/chunk-J27CSA2I.js +59 -0
- package/dist/chunk-J27CSA2I.js.map +1 -0
- package/dist/chunk-J52WPSWU.js +150 -0
- package/dist/chunk-J52WPSWU.js.map +1 -0
- package/dist/chunk-LPLXVTDP.js +192 -0
- package/dist/chunk-LPLXVTDP.js.map +1 -0
- package/dist/chunk-MZ3VW66Q.js +89 -0
- package/dist/chunk-MZ3VW66Q.js.map +1 -0
- package/dist/chunk-NXECPRLF.js +192 -0
- package/dist/chunk-NXECPRLF.js.map +1 -0
- package/dist/chunk-O5VFW7GH.js +59 -0
- package/dist/chunk-O5VFW7GH.js.map +1 -0
- package/dist/chunk-QQ5DIV3E.js +89 -0
- package/dist/chunk-QQ5DIV3E.js.map +1 -0
- package/dist/chunk-QTUOT7HX.js +59 -0
- package/dist/chunk-QTUOT7HX.js.map +1 -0
- package/dist/chunk-TNMIE7WN.js +192 -0
- package/dist/chunk-TNMIE7WN.js.map +1 -0
- package/dist/chunk-VTNGVFOL.js +123 -0
- package/dist/chunk-VTNGVFOL.js.map +1 -0
- package/dist/chunk-WNFEYK6I.js +123 -0
- package/dist/chunk-WNFEYK6I.js.map +1 -0
- package/dist/chunk-WNYT4BQZ.js +89 -0
- package/dist/chunk-WNYT4BQZ.js.map +1 -0
- package/dist/chunk-YDNYSZ4R.js +89 -0
- package/dist/chunk-YDNYSZ4R.js.map +1 -0
- package/dist/chunk-ZS32P3T5.js +123 -0
- package/dist/chunk-ZS32P3T5.js.map +1 -0
- package/dist/index.cjs +66 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +45 -21
- package/dist/index.js +19 -19
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +4 -4
- package/dist/molecules/curriculumV2/index.js +4 -4
- package/dist/molecules/expand-table/index.cjs +66 -64
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +1 -1
- package/dist/molecules/index.cjs +66 -64
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +15 -15
- package/package.json +3 -3
- package/src/molecules/expand-table/index.tsx +13 -12
package/dist/index.css
CHANGED
|
@@ -30858,22 +30858,41 @@ p.kg-collection-card-post-excerpt{
|
|
|
30858
30858
|
.react-datepicker.tipp_datePicker_calendar .react-datepicker-time__header{
|
|
30859
30859
|
font-weight: 400;
|
|
30860
30860
|
}
|
|
30861
|
-
.expand-table{
|
|
30861
|
+
.expand-table-wrapper{
|
|
30862
|
+
width: 100%;
|
|
30863
|
+
height: 100%;
|
|
30864
|
+
display: grid;
|
|
30865
|
+
grid-template-rows: 1fr auto;
|
|
30866
|
+
overflow-x: auto;
|
|
30867
|
+
scrollbar-width: none;
|
|
30868
|
+
}
|
|
30869
|
+
.expand-table-wrapper .expand-table{
|
|
30862
30870
|
box-sizing: content-box;
|
|
30871
|
+
position: relative;
|
|
30872
|
+
min-width: -moz-fit-content;
|
|
30873
|
+
min-width: fit-content;
|
|
30863
30874
|
width: 100%;
|
|
30875
|
+
height: 100%;
|
|
30876
|
+
overflow-y: auto;
|
|
30877
|
+
overflow-x: hidden;
|
|
30864
30878
|
}
|
|
30865
|
-
.expand-table .
|
|
30866
|
-
|
|
30879
|
+
.expand-table-wrapper .expand-table .thead{
|
|
30880
|
+
position: sticky;
|
|
30881
|
+
top: 0;
|
|
30882
|
+
z-index: 10;
|
|
30883
|
+
background-color: var(--color-panel-solid);
|
|
30884
|
+
}
|
|
30885
|
+
.expand-table-wrapper .expand-table .thead .tr{
|
|
30886
|
+
background-color: var(--accent-2);
|
|
30867
30887
|
padding: var(--space-1) var(--space-5);
|
|
30868
30888
|
min-height: 44px;
|
|
30869
30889
|
display: grid;
|
|
30870
30890
|
border-radius: var(--radius-5);
|
|
30871
|
-
overflow: hidden;
|
|
30872
30891
|
}
|
|
30873
|
-
.expand-table .thead .tr .th{
|
|
30892
|
+
.expand-table-wrapper .expand-table .thead .tr .th{
|
|
30874
30893
|
display: flex;
|
|
30875
30894
|
}
|
|
30876
|
-
.expand-table .thead .tr .th button{
|
|
30895
|
+
.expand-table-wrapper .expand-table .thead .tr .th button{
|
|
30877
30896
|
padding: 0;
|
|
30878
30897
|
background: transparent;
|
|
30879
30898
|
border: none;
|
|
@@ -30881,51 +30900,56 @@ p.kg-collection-card-post-excerpt{
|
|
|
30881
30900
|
display: flex;
|
|
30882
30901
|
align-items: center;
|
|
30883
30902
|
}
|
|
30884
|
-
.expand-table .thead .tr .th.left{
|
|
30903
|
+
.expand-table-wrapper .expand-table .thead .tr .th.left{
|
|
30885
30904
|
justify-content: flex-start;
|
|
30886
30905
|
}
|
|
30887
|
-
.expand-table .thead .tr .th.right{
|
|
30906
|
+
.expand-table-wrapper .expand-table .thead .tr .th.right{
|
|
30888
30907
|
justify-content: flex-end;
|
|
30889
30908
|
}
|
|
30890
|
-
.expand-table .thead .tr .th.center{
|
|
30909
|
+
.expand-table-wrapper .expand-table .thead .tr .th.center{
|
|
30891
30910
|
justify-content: center;
|
|
30892
30911
|
}
|
|
30893
|
-
.expand-table .th,
|
|
30894
|
-
|
|
30912
|
+
.expand-table-wrapper .expand-table .th,
|
|
30913
|
+
.expand-table-wrapper .expand-table .td{
|
|
30895
30914
|
padding: var(--space-2);
|
|
30896
30915
|
}
|
|
30897
|
-
.expand-table .th:first-child, .expand-table .td:first-child{
|
|
30916
|
+
.expand-table-wrapper .expand-table .th:first-child, .expand-table-wrapper .expand-table .td:first-child{
|
|
30898
30917
|
padding-left: 0;
|
|
30899
30918
|
}
|
|
30900
|
-
.expand-table .th:last-child, .expand-table .td:last-child{
|
|
30919
|
+
.expand-table-wrapper .expand-table .th:last-child, .expand-table-wrapper .expand-table .td:last-child{
|
|
30901
30920
|
padding-right: 0;
|
|
30902
30921
|
}
|
|
30903
|
-
.expand-table .
|
|
30922
|
+
.expand-table-wrapper .expand-table .tr{
|
|
30923
|
+
min-width: -moz-fit-content;
|
|
30924
|
+
min-width: fit-content;
|
|
30925
|
+
}
|
|
30926
|
+
.expand-table-wrapper .expand-table .tbody{
|
|
30927
|
+
width: 100%;
|
|
30904
30928
|
margin-top: var(--space-1);
|
|
30905
30929
|
}
|
|
30906
|
-
.expand-table .tbody .tr-wrapper{
|
|
30930
|
+
.expand-table-wrapper .expand-table .tbody .tr-wrapper{
|
|
30931
|
+
width: 100%;
|
|
30907
30932
|
cursor: default;
|
|
30908
30933
|
border-radius: var(--radius-6);
|
|
30909
30934
|
border: 1px solid transparent;
|
|
30910
30935
|
box-shadow: var(--shadow-2);
|
|
30911
|
-
overflow: hidden;
|
|
30912
30936
|
margin-bottom: var(--space-1);
|
|
30913
30937
|
background-color: var(--color-panel-solid);
|
|
30914
30938
|
transition: 0.3s ease-in-out background-color border-color;
|
|
30915
30939
|
}
|
|
30916
|
-
.expand-table .tbody .tr-wrapper.clickable:hover, .expand-table .tbody .tr-wrapper.expandable:hover{
|
|
30940
|
+
.expand-table-wrapper .expand-table .tbody .tr-wrapper.clickable:hover, .expand-table-wrapper .expand-table .tbody .tr-wrapper.expandable:hover{
|
|
30917
30941
|
border: 1px solid var(--accent-a7);
|
|
30918
30942
|
background-color: var(--accent-a2);
|
|
30919
30943
|
}
|
|
30920
|
-
.expand-table .tbody .tr-wrapper.clickable button.tr, .expand-table .tbody .tr-wrapper.expandable button.tr{
|
|
30944
|
+
.expand-table-wrapper .expand-table .tbody .tr-wrapper.clickable button.tr, .expand-table-wrapper .expand-table .tbody .tr-wrapper.expandable button.tr{
|
|
30921
30945
|
cursor: pointer;
|
|
30922
30946
|
}
|
|
30923
|
-
.expand-table .tbody .tr-wrapper.expandable .expand-comp-wrapper{
|
|
30947
|
+
.expand-table-wrapper .expand-table .tbody .tr-wrapper.expandable .expand-comp-wrapper{
|
|
30924
30948
|
width: 100%;
|
|
30925
30949
|
height: 100%;
|
|
30926
30950
|
border-top: 1px solid var(--gray-3);
|
|
30927
30951
|
}
|
|
30928
|
-
.expand-table .tbody .tr-wrapper button.tr{
|
|
30952
|
+
.expand-table-wrapper .expand-table .tbody .tr-wrapper button.tr{
|
|
30929
30953
|
-webkit-user-select: text;
|
|
30930
30954
|
-moz-user-select: text;
|
|
30931
30955
|
user-select: text;
|
|
@@ -30939,7 +30963,7 @@ p.kg-collection-card-post-excerpt{
|
|
|
30939
30963
|
border: none;
|
|
30940
30964
|
border-radius: var(--radius-6);
|
|
30941
30965
|
}
|
|
30942
|
-
.expand-table .tbody .tr-wrapper button.tr .td{
|
|
30966
|
+
.expand-table-wrapper .expand-table .tbody .tr-wrapper button.tr .td{
|
|
30943
30967
|
font-size: var(--font-size-2);
|
|
30944
30968
|
display: flex;
|
|
30945
30969
|
align-items: center;
|
package/dist/index.js
CHANGED
|
@@ -10,16 +10,16 @@ import "./chunk-GSMBJMXJ.js";
|
|
|
10
10
|
import "./chunk-JLAPJ7MX.js";
|
|
11
11
|
import {
|
|
12
12
|
CoachingCustomerInfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2T7JCRER.js";
|
|
14
|
+
import {
|
|
15
|
+
CoachingCustomerInfoSmall
|
|
16
|
+
} from "./chunk-M7C3ID36.js";
|
|
14
17
|
import {
|
|
15
18
|
CoachingCustomerInfoLarge
|
|
16
19
|
} from "./chunk-3XXTLSLM.js";
|
|
17
20
|
import {
|
|
18
21
|
CoachingCustomerInfoMedium
|
|
19
22
|
} from "./chunk-LD4TLEWG.js";
|
|
20
|
-
import {
|
|
21
|
-
CoachingCustomerInfoSmall
|
|
22
|
-
} from "./chunk-M7C3ID36.js";
|
|
23
23
|
import {
|
|
24
24
|
SessionUserInfoDetail
|
|
25
25
|
} from "./chunk-SK5CNDEL.js";
|
|
@@ -61,13 +61,23 @@ import {
|
|
|
61
61
|
EditCoachingTime
|
|
62
62
|
} from "./chunk-MDTIYQLE.js";
|
|
63
63
|
import "./chunk-KSS4FSJI.js";
|
|
64
|
+
import {
|
|
65
|
+
ExpandTable,
|
|
66
|
+
createColumnHelper
|
|
67
|
+
} from "./chunk-HNO5SCLZ.js";
|
|
68
|
+
import "./chunk-WDUSQ6HR.js";
|
|
69
|
+
import {
|
|
70
|
+
DatePickerButton
|
|
71
|
+
} from "./chunk-J5WASNFY.js";
|
|
72
|
+
import {
|
|
73
|
+
DatePicker
|
|
74
|
+
} from "./chunk-I24MOOUK.js";
|
|
64
75
|
import "./chunk-AS7ID74X.js";
|
|
65
76
|
import {
|
|
66
77
|
CurriculumBody
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-GJQDFBAF.js";
|
|
78
|
+
} from "./chunk-J27CSA2I.js";
|
|
79
|
+
import "./chunk-VTNGVFOL.js";
|
|
80
|
+
import "./chunk-QQ5DIV3E.js";
|
|
71
81
|
import "./chunk-D4WHIKQQ.js";
|
|
72
82
|
import "./chunk-JLNQOXEV.js";
|
|
73
83
|
import "./chunk-CHGLVZEQ.js";
|
|
@@ -79,6 +89,7 @@ import "./chunk-PNYMKF4M.js";
|
|
|
79
89
|
import "./chunk-KCDVUSEZ.js";
|
|
80
90
|
import "./chunk-KQG5B26J.js";
|
|
81
91
|
import "./chunk-637SZITH.js";
|
|
92
|
+
import "./chunk-GJQDFBAF.js";
|
|
82
93
|
import "./chunk-EBGKFGME.js";
|
|
83
94
|
import "./chunk-HYMGXDPL.js";
|
|
84
95
|
import {
|
|
@@ -99,17 +110,6 @@ import {
|
|
|
99
110
|
import {
|
|
100
111
|
CurriculumV2Layout
|
|
101
112
|
} from "./chunk-M6VXNQHU.js";
|
|
102
|
-
import {
|
|
103
|
-
DatePickerButton
|
|
104
|
-
} from "./chunk-J5WASNFY.js";
|
|
105
|
-
import {
|
|
106
|
-
DatePicker
|
|
107
|
-
} from "./chunk-I24MOOUK.js";
|
|
108
|
-
import {
|
|
109
|
-
ExpandTable,
|
|
110
|
-
createColumnHelper
|
|
111
|
-
} from "./chunk-BE6JPXUV.js";
|
|
112
|
-
import "./chunk-WDUSQ6HR.js";
|
|
113
113
|
import "./chunk-AI7EZKUN.js";
|
|
114
114
|
import {
|
|
115
115
|
TagSelector
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CurriculumReviewSteps_default
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-GJQDFBAF.js";
|
|
3
|
+
} from "../../../../chunk-QQ5DIV3E.js";
|
|
5
4
|
import "../../../../chunk-D4WHIKQQ.js";
|
|
6
5
|
import "../../../../chunk-JLNQOXEV.js";
|
|
7
6
|
import "../../../../chunk-CHGLVZEQ.js";
|
|
@@ -13,6 +12,7 @@ import "../../../../chunk-PNYMKF4M.js";
|
|
|
13
12
|
import "../../../../chunk-KCDVUSEZ.js";
|
|
14
13
|
import "../../../../chunk-KQG5B26J.js";
|
|
15
14
|
import "../../../../chunk-637SZITH.js";
|
|
15
|
+
import "../../../../chunk-GJQDFBAF.js";
|
|
16
16
|
import "../../../../chunk-EBGKFGME.js";
|
|
17
17
|
import "../../../../chunk-AI7EZKUN.js";
|
|
18
18
|
import "../../../../chunk-SLXXCM56.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
curriculum_review_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-GJQDFBAF.js";
|
|
3
|
+
} from "../../../chunk-VTNGVFOL.js";
|
|
4
|
+
import "../../../chunk-QQ5DIV3E.js";
|
|
6
5
|
import "../../../chunk-D4WHIKQQ.js";
|
|
7
6
|
import "../../../chunk-JLNQOXEV.js";
|
|
8
7
|
import "../../../chunk-CHGLVZEQ.js";
|
|
@@ -14,6 +13,7 @@ import "../../../chunk-PNYMKF4M.js";
|
|
|
14
13
|
import "../../../chunk-KCDVUSEZ.js";
|
|
15
14
|
import "../../../chunk-KQG5B26J.js";
|
|
16
15
|
import "../../../chunk-637SZITH.js";
|
|
16
|
+
import "../../../chunk-GJQDFBAF.js";
|
|
17
17
|
import "../../../chunk-EBGKFGME.js";
|
|
18
18
|
import "../../../chunk-YN4SHJ2O.js";
|
|
19
19
|
import "../../../chunk-AI7EZKUN.js";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CurriculumBody
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-GJQDFBAF.js";
|
|
3
|
+
} from "../../../chunk-J27CSA2I.js";
|
|
4
|
+
import "../../../chunk-VTNGVFOL.js";
|
|
5
|
+
import "../../../chunk-QQ5DIV3E.js";
|
|
7
6
|
import "../../../chunk-D4WHIKQQ.js";
|
|
8
7
|
import "../../../chunk-JLNQOXEV.js";
|
|
9
8
|
import "../../../chunk-CHGLVZEQ.js";
|
|
@@ -15,6 +14,7 @@ import "../../../chunk-PNYMKF4M.js";
|
|
|
15
14
|
import "../../../chunk-KCDVUSEZ.js";
|
|
16
15
|
import "../../../chunk-KQG5B26J.js";
|
|
17
16
|
import "../../../chunk-637SZITH.js";
|
|
17
|
+
import "../../../chunk-GJQDFBAF.js";
|
|
18
18
|
import "../../../chunk-EBGKFGME.js";
|
|
19
19
|
import "../../../chunk-HYMGXDPL.js";
|
|
20
20
|
import "../../../chunk-YN4SHJ2O.js";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "../../chunk-AS7ID74X.js";
|
|
2
2
|
import {
|
|
3
3
|
CurriculumBody
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-GJQDFBAF.js";
|
|
4
|
+
} from "../../chunk-J27CSA2I.js";
|
|
5
|
+
import "../../chunk-VTNGVFOL.js";
|
|
6
|
+
import "../../chunk-QQ5DIV3E.js";
|
|
8
7
|
import "../../chunk-D4WHIKQQ.js";
|
|
9
8
|
import "../../chunk-JLNQOXEV.js";
|
|
10
9
|
import "../../chunk-CHGLVZEQ.js";
|
|
@@ -16,6 +15,7 @@ import "../../chunk-PNYMKF4M.js";
|
|
|
16
15
|
import "../../chunk-KCDVUSEZ.js";
|
|
17
16
|
import "../../chunk-KQG5B26J.js";
|
|
18
17
|
import "../../chunk-637SZITH.js";
|
|
18
|
+
import "../../chunk-GJQDFBAF.js";
|
|
19
19
|
import "../../chunk-EBGKFGME.js";
|
|
20
20
|
import "../../chunk-HYMGXDPL.js";
|
|
21
21
|
import {
|
|
@@ -1515,7 +1515,7 @@ function ExpandTable(props) {
|
|
|
1515
1515
|
const gridTemplateColumns = (0, import_react21.useMemo)(() => {
|
|
1516
1516
|
return columns.map((col) => {
|
|
1517
1517
|
var _a;
|
|
1518
|
-
if ((_a = col.meta) == null ? void 0 : _a.autoSize) return
|
|
1518
|
+
if ((_a = col.meta) == null ? void 0 : _a.autoSize) return `minmax(${col.size || 50}px, 1fr)`;
|
|
1519
1519
|
return `${col.size || 150}px`;
|
|
1520
1520
|
}).join(" ");
|
|
1521
1521
|
}, [columns]);
|
|
@@ -1552,71 +1552,73 @@ function ExpandTable(props) {
|
|
|
1552
1552
|
if (!data) return 0;
|
|
1553
1553
|
return Math.ceil(data.length / pageSize);
|
|
1554
1554
|
}, [data, pageSize]);
|
|
1555
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table",
|
|
1556
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.
|
|
1557
|
-
"div",
|
|
1558
|
-
|
|
1559
|
-
className: "tr",
|
|
1560
|
-
style: { gridTemplateColumns },
|
|
1561
|
-
children: headerGroup.headers.map((header) => {
|
|
1562
|
-
var _a;
|
|
1563
|
-
const sortable = header.column.getCanSort();
|
|
1564
|
-
const sortedState = header.column.getIsSorted();
|
|
1565
|
-
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
1566
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1567
|
-
"button",
|
|
1568
|
-
{
|
|
1569
|
-
onClick: header.column.getToggleSortingHandler(),
|
|
1570
|
-
style: sortable ? { cursor: "pointer" } : { cursor: "default" },
|
|
1571
|
-
type: "button",
|
|
1572
|
-
children: [
|
|
1573
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
1574
|
-
header.column.columnDef.header,
|
|
1575
|
-
header.getContext()
|
|
1576
|
-
) }),
|
|
1577
|
-
sortable ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1578
|
-
import_themes22.Flex,
|
|
1579
|
-
{
|
|
1580
|
-
direction: "column",
|
|
1581
|
-
style: { marginLeft: "var(--space-2)" },
|
|
1582
|
-
children: [
|
|
1583
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1584
|
-
TriangleArrowUpIcon,
|
|
1585
|
-
{
|
|
1586
|
-
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
1587
|
-
}
|
|
1588
|
-
),
|
|
1589
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1590
|
-
TriangleArrowDownIcon,
|
|
1591
|
-
{
|
|
1592
|
-
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
1593
|
-
}
|
|
1594
|
-
)
|
|
1595
|
-
]
|
|
1596
|
-
}
|
|
1597
|
-
) : null
|
|
1598
|
-
]
|
|
1599
|
-
}
|
|
1600
|
-
) }, header.id);
|
|
1601
|
-
})
|
|
1602
|
-
},
|
|
1603
|
-
headerGroup.id
|
|
1604
|
-
)) }),
|
|
1605
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
1606
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1607
|
-
Row,
|
|
1555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table-wrapper", children: [
|
|
1556
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
|
|
1557
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1558
|
+
"div",
|
|
1608
1559
|
{
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1560
|
+
className: "tr",
|
|
1561
|
+
style: { gridTemplateColumns },
|
|
1562
|
+
children: headerGroup.headers.map((header) => {
|
|
1563
|
+
var _a;
|
|
1564
|
+
const sortable = header.column.getCanSort();
|
|
1565
|
+
const sortedState = header.column.getIsSorted();
|
|
1566
|
+
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
1567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1568
|
+
"button",
|
|
1569
|
+
{
|
|
1570
|
+
onClick: header.column.getToggleSortingHandler(),
|
|
1571
|
+
style: sortable ? { cursor: "pointer" } : { cursor: "default" },
|
|
1572
|
+
type: "button",
|
|
1573
|
+
children: [
|
|
1574
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
1575
|
+
header.column.columnDef.header,
|
|
1576
|
+
header.getContext()
|
|
1577
|
+
) }),
|
|
1578
|
+
sortable ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1579
|
+
import_themes22.Flex,
|
|
1580
|
+
{
|
|
1581
|
+
direction: "column",
|
|
1582
|
+
style: { marginLeft: "var(--space-2)" },
|
|
1583
|
+
children: [
|
|
1584
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1585
|
+
TriangleArrowUpIcon,
|
|
1586
|
+
{
|
|
1587
|
+
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
1588
|
+
}
|
|
1589
|
+
),
|
|
1590
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1591
|
+
TriangleArrowDownIcon,
|
|
1592
|
+
{
|
|
1593
|
+
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
1594
|
+
}
|
|
1595
|
+
)
|
|
1596
|
+
]
|
|
1597
|
+
}
|
|
1598
|
+
) : null
|
|
1599
|
+
]
|
|
1600
|
+
}
|
|
1601
|
+
) }, header.id);
|
|
1602
|
+
})
|
|
1616
1603
|
},
|
|
1617
|
-
|
|
1618
|
-
)
|
|
1619
|
-
|
|
1604
|
+
headerGroup.id
|
|
1605
|
+
)) }),
|
|
1606
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
1607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1608
|
+
Row,
|
|
1609
|
+
{
|
|
1610
|
+
ExpandComp,
|
|
1611
|
+
defaultAlign,
|
|
1612
|
+
getCellStyle,
|
|
1613
|
+
getRowStyle,
|
|
1614
|
+
gridTemplateColumns,
|
|
1615
|
+
onRowClick,
|
|
1616
|
+
row
|
|
1617
|
+
},
|
|
1618
|
+
`row_${row.id}`
|
|
1619
|
+
);
|
|
1620
|
+
}) })
|
|
1621
|
+
] }),
|
|
1620
1622
|
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1621
1623
|
Pagination,
|
|
1622
1624
|
{
|