@ltht-react/table 1.0.106 → 1.0.107

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 (46) hide show
  1. package/lib/atoms/horizontal.d.ts +8 -0
  2. package/lib/atoms/horizontal.js +130 -0
  3. package/lib/atoms/horizontal.js.map +1 -0
  4. package/lib/atoms/table.d.ts +36 -0
  5. package/lib/atoms/table.js +106 -0
  6. package/lib/atoms/table.js.map +1 -0
  7. package/lib/atoms/vertical.d.ts +8 -0
  8. package/lib/atoms/vertical.js +89 -0
  9. package/lib/atoms/vertical.js.map +1 -0
  10. package/lib/index.d.ts +6 -6
  11. package/lib/index.js +12 -12
  12. package/lib/molecules/generic-table.d.ts +11 -0
  13. package/lib/molecules/generic-table.js +36 -0
  14. package/lib/molecules/generic-table.js.map +1 -0
  15. package/lib/molecules/questionnaire-table.d.ts +12 -0
  16. package/lib/molecules/questionnaire-table.js +131 -0
  17. package/lib/molecules/questionnaire-table.js.map +1 -0
  18. package/lib/molecules/table-cell.d.ts +16 -14
  19. package/lib/molecules/table-cell.js +92 -61
  20. package/lib/molecules/table-cell.js.map +1 -1
  21. package/lib/molecules/table-component.d.ts +22 -22
  22. package/lib/molecules/table-component.js +71 -71
  23. package/lib/molecules/table-component.js.map +1 -1
  24. package/lib/molecules/table-methods.d.ts +12 -12
  25. package/lib/molecules/table-methods.js +209 -198
  26. package/lib/molecules/table-methods.js.map +1 -1
  27. package/lib/molecules/table-styled-components.d.ts +86 -86
  28. package/lib/molecules/table-styled-components.js +105 -86
  29. package/lib/molecules/table-styled-components.js.map +1 -1
  30. package/lib/molecules/table.d.ts +37 -37
  31. package/lib/molecules/table.js +98 -98
  32. package/lib/molecules/useDimensionRef.d.ts +5 -5
  33. package/lib/molecules/useDimensionRef.js +30 -30
  34. package/lib/molecules/useScrollRef.d.ts +8 -8
  35. package/lib/molecules/useScrollRef.js +27 -27
  36. package/lib/organisms/generic-table.d.ts +11 -11
  37. package/lib/organisms/generic-table.js +35 -35
  38. package/lib/organisms/questionnaire-table-methods.d.ts +9 -9
  39. package/lib/organisms/questionnaire-table-methods.js +208 -208
  40. package/lib/organisms/questionnaire-table.d.ts +13 -13
  41. package/lib/organisms/questionnaire-table.js +44 -44
  42. package/lib/organisms/questionnaire-table.js.map +1 -1
  43. package/lib/types.d.ts +3 -0
  44. package/lib/types.js +3 -0
  45. package/lib/types.js.map +1 -0
  46. package/package.json +8 -8
@@ -1,199 +1,210 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __spreadArray = (this && this.__spreadArray) || function (to, from) {
14
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
15
- to[j] = from[i];
16
- return to;
17
- };
18
- var __importDefault = (this && this.__importDefault) || function (mod) {
19
- return (mod && mod.__esModule) ? mod : { "default": mod };
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.handleDataUpdateForManualPagination = exports.handleDataUpdate = exports.handleScrollEventManual = exports.handleScrollEvent = exports.calculateStaticColumnOffset = exports.createColumns = void 0;
23
- var jsx_runtime_1 = require("react/jsx-runtime");
24
- var react_table_1 = require("@tanstack/react-table");
25
- var table_cell_1 = __importDefault(require("./table-cell"));
26
- var createColumns = function (tableData) {
27
- var columnHelper = react_table_1.createColumnHelper();
28
- var columns = createColumnsRecursively(tableData.headers, columnHelper);
29
- if (tableData.rows.some(function (row) { return row.subRows; })) {
30
- columns = prependColumnWithExpansionControls(columns, columnHelper);
31
- }
32
- return columns;
33
- };
34
- exports.createColumns = createColumns;
35
- var createColumnsRecursively = function (headers, columnHelper) {
36
- var result = headers.map(function (header) {
37
- var _a, _b;
38
- if (header.type === 'display') {
39
- return columnHelper.display({
40
- id: header.id,
41
- header: function () { return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, header.cellProps), void 0); },
42
- cell: function (props) { return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, props.getValue()), void 0); },
43
- });
44
- }
45
- if (header.type === 'accessor') {
46
- return columnHelper.accessor(header.id, {
47
- header: function (props) {
48
- var cellProps = __assign(__assign({}, header.cellProps), { iconProps: deriveHeaderIconProps(props) });
49
- return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, cellProps), void 0);
50
- },
51
- cell: function (props) { return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, props.getValue()), void 0); },
52
- });
53
- }
54
- return columnHelper.group({
55
- header: (_a = header.cellProps.text) !== null && _a !== void 0 ? _a : '',
56
- columns: createColumnsRecursively((_b = header.subHeaders) !== null && _b !== void 0 ? _b : [], columnHelper),
57
- });
58
- });
59
- return result;
60
- };
61
- var deriveHeaderIconProps = function (props) {
62
- if (props.column.getIsSorted() === 'asc') {
63
- return {
64
- type: 'chevron',
65
- direction: 'up',
66
- size: 'medium',
67
- };
68
- }
69
- if (props.column.getIsSorted() === 'desc') {
70
- return {
71
- type: 'chevron',
72
- direction: 'down',
73
- size: 'medium',
74
- };
75
- }
76
- return undefined;
77
- };
78
- var prependColumnWithExpansionControls = function (columns, columnHelper) {
79
- var expanderColumn = columnHelper.display({
80
- id: 'expander',
81
- header: function (_a) {
82
- var table = _a.table;
83
- var headerCellProps = {
84
- iconProps: {
85
- type: 'chevron',
86
- direction: table.getIsAllRowsExpanded() ? 'down' : 'right',
87
- size: 'medium',
88
- },
89
- clickHandler: table.getToggleAllRowsExpandedHandler(),
90
- };
91
- return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, headerCellProps), void 0);
92
- },
93
- cell: function (props) {
94
- var cellProps = props.row.getCanExpand()
95
- ? {
96
- iconProps: {
97
- type: 'chevron',
98
- direction: props.row.getIsExpanded() ? 'down' : 'right',
99
- size: 'medium',
100
- },
101
- clickHandler: props.row.getToggleExpandedHandler(),
102
- }
103
- : {};
104
- return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, cellProps), void 0);
105
- },
106
- });
107
- return [expanderColumn].concat(columns);
108
- };
109
- var calculateStaticColumnOffset = function (cellIdx, staticColumns, firstColumnWidth, secondColumnWidth) {
110
- if (staticColumns === 0) {
111
- return undefined;
112
- }
113
- switch (cellIdx) {
114
- case 0:
115
- return 0;
116
- case 1:
117
- return cellIdx < staticColumns ? firstColumnWidth : undefined;
118
- case 2:
119
- return cellIdx < staticColumns ? firstColumnWidth + secondColumnWidth : undefined;
120
- default:
121
- return undefined;
122
- }
123
- };
124
- exports.calculateStaticColumnOffset = calculateStaticColumnOffset;
125
- var handleScrollEvent = function (table, headerAxis, scrollState) {
126
- var scrollWidth = scrollState.scrollWidth, scrollHeight = scrollState.scrollHeight, currentXScroll = scrollState.currentXScroll, currentYScroll = scrollState.currentYScroll;
127
- if (headerAxis === 'x' &&
128
- currentYScroll >= scrollHeight - getPercentageOfMax(5, scrollHeight) &&
129
- currentYScroll <= scrollHeight &&
130
- table.getCanNextPage()) {
131
- table.nextPage();
132
- }
133
- if (headerAxis === 'y' &&
134
- currentXScroll >= scrollWidth - getPercentageOfMax(5, scrollWidth) &&
135
- currentXScroll <= scrollWidth &&
136
- table.getCanNextPage()) {
137
- table.nextPage();
138
- }
139
- };
140
- exports.handleScrollEvent = handleScrollEvent;
141
- var getPercentageOfMax = function (percentage, max) { return max * (percentage / 100); };
142
- var handleScrollEventManual = function (getCanNextPage, nextPage, headerAxis, scrollState) {
143
- var scrollWidth = scrollState.scrollWidth, scrollHeight = scrollState.scrollHeight, currentXScroll = scrollState.currentXScroll, currentYScroll = scrollState.currentYScroll;
144
- if (headerAxis === 'x' &&
145
- currentYScroll >= scrollHeight - getPercentageOfMax(5, scrollHeight) &&
146
- currentYScroll <= scrollHeight &&
147
- getCanNextPage()) {
148
- nextPage();
149
- }
150
- if (headerAxis === 'y' &&
151
- currentXScroll >= scrollWidth - getPercentageOfMax(5, scrollWidth) &&
152
- currentXScroll <= scrollWidth &&
153
- getCanNextPage()) {
154
- nextPage();
155
- }
156
- };
157
- exports.handleScrollEventManual = handleScrollEventManual;
158
- var handleDataUpdate = function (tableData, pageIndex, pageSize, headerAxis, setColumns, setData, setPageCount) {
159
- if (tableData && tableData.headers.length > 0) {
160
- if (headerAxis === 'x') {
161
- setColumns(createColumns(tableData));
162
- setData(tableData.rows.slice(0, (pageIndex + 1) * pageSize));
163
- setPageCount(Math.ceil(tableData.rows.length / pageSize));
164
- }
165
- else {
166
- var head = tableData.headers[0];
167
- var tail = tableData.headers.slice(1, tableData.headers.length);
168
- setColumns(createColumns({ headers: __spreadArray([head], tail.slice(0, (pageIndex + 1) * pageSize)), rows: tableData.rows }));
169
- setData(tableData.rows);
170
- setPageCount(Math.ceil(tail.length / pageSize));
171
- }
172
- }
173
- };
174
- exports.handleDataUpdate = handleDataUpdate;
175
- var calculateSliceStartPoint = function (oldLength, usingExpanderColumn) {
176
- if (oldLength > 0) {
177
- return usingExpanderColumn ? 2 : 1;
178
- }
179
- return 0;
180
- };
181
- var handleDataUpdateForManualPagination = function (tableData, headerAxis, keepPreviousData, setColumns, setData) {
182
- if (headerAxis === 'x') {
183
- setData(function (old) {
184
- var newData = keepPreviousData ? __spreadArray(__spreadArray([], old), tableData.rows) : tableData.rows;
185
- setColumns(createColumns({ headers: tableData.headers, rows: newData }));
186
- return newData;
187
- });
188
- }
189
- else if (tableData.headers.length > 0) {
190
- setColumns(function (old) {
191
- var newColumns = createColumns(tableData);
192
- var sliceStartPoint = calculateSliceStartPoint(old.length, tableData.rows.some(function (x) { return x.subRows; }));
193
- return keepPreviousData ? __spreadArray(__spreadArray([], old), newColumns.slice(sliceStartPoint, newColumns.length)) : newColumns;
194
- });
195
- setData(tableData.rows);
196
- }
197
- };
198
- exports.handleDataUpdateForManualPagination = handleDataUpdateForManualPagination;
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
14
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
15
+ to[j] = from[i];
16
+ return to;
17
+ };
18
+ var __importDefault = (this && this.__importDefault) || function (mod) {
19
+ return (mod && mod.__esModule) ? mod : { "default": mod };
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.handleDataUpdateForManualPagination = exports.handleDataUpdate = exports.handleScrollEventManual = exports.handleScrollEvent = exports.calculateStaticColumnOffset = exports.createColumns = void 0;
23
+ var jsx_runtime_1 = require("react/jsx-runtime");
24
+ var react_table_1 = require("@tanstack/react-table");
25
+ var table_cell_1 = __importDefault(require("./table-cell"));
26
+ var createColumns = function (tableData, headerAxis) {
27
+ var columnHelper = react_table_1.createColumnHelper();
28
+ var columns = createColumnsRecursively(tableData.headers, columnHelper, headerAxis);
29
+ if (tableData.rows.some(function (row) { return row.subRows; })) {
30
+ columns = prependColumnWithExpansionControls(columns, columnHelper, headerAxis);
31
+ }
32
+ return columns;
33
+ };
34
+ exports.createColumns = createColumns;
35
+ var createColumnsRecursively = function (headers, columnHelper, headerAxis) {
36
+ var result = headers.map(function (header) {
37
+ var _a, _b;
38
+ if (header.type === 'display') {
39
+ return columnHelper.display({
40
+ id: header.id,
41
+ header: function () {
42
+ var headerCellProps = __assign(__assign({}, header.cellProps), { headerAxis: headerAxis });
43
+ return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, headerCellProps), void 0);
44
+ },
45
+ cell: function (props) {
46
+ var cellProps = __assign(__assign({}, props.getValue()), { headerAxis: headerAxis });
47
+ return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, cellProps), void 0);
48
+ },
49
+ });
50
+ }
51
+ if (header.type === 'accessor') {
52
+ return columnHelper.accessor(header.id, {
53
+ header: function (props) {
54
+ var cellProps = __assign(__assign({}, header.cellProps), { iconProps: deriveHeaderIconProps(props), headerAxis: headerAxis });
55
+ return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, cellProps), void 0);
56
+ },
57
+ cell: function (props) {
58
+ var cellProps = __assign(__assign({}, props.getValue()), { headerAxis: headerAxis });
59
+ return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, cellProps), void 0);
60
+ },
61
+ });
62
+ }
63
+ return columnHelper.group({
64
+ header: (_a = header.cellProps.text) !== null && _a !== void 0 ? _a : '',
65
+ columns: createColumnsRecursively((_b = header.subHeaders) !== null && _b !== void 0 ? _b : [], columnHelper, headerAxis),
66
+ });
67
+ });
68
+ return result;
69
+ };
70
+ var deriveHeaderIconProps = function (props) {
71
+ if (props.column.getIsSorted() === 'asc') {
72
+ return {
73
+ type: 'chevron',
74
+ direction: 'up',
75
+ size: 'medium',
76
+ };
77
+ }
78
+ if (props.column.getIsSorted() === 'desc') {
79
+ return {
80
+ type: 'chevron',
81
+ direction: 'down',
82
+ size: 'medium',
83
+ };
84
+ }
85
+ return undefined;
86
+ };
87
+ var prependColumnWithExpansionControls = function (columns, columnHelper, headerAxis) {
88
+ var expanderColumn = columnHelper.display({
89
+ id: 'expander',
90
+ header: function (_a) {
91
+ var table = _a.table;
92
+ var headerCellProps = {
93
+ iconProps: {
94
+ type: 'chevron',
95
+ direction: table.getIsAllRowsExpanded() ? 'down' : 'right',
96
+ size: 'medium',
97
+ },
98
+ headerAxis: headerAxis,
99
+ clickHandler: table.getToggleAllRowsExpandedHandler(),
100
+ };
101
+ return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, headerCellProps), void 0);
102
+ },
103
+ cell: function (props) {
104
+ var cellProps = props.row.getCanExpand()
105
+ ? {
106
+ iconProps: {
107
+ type: 'chevron',
108
+ direction: props.row.getIsExpanded() ? 'down' : 'right',
109
+ size: 'medium',
110
+ },
111
+ headerAxis: headerAxis,
112
+ clickHandler: props.row.getToggleExpandedHandler(),
113
+ }
114
+ : { headerAxis: headerAxis };
115
+ return jsx_runtime_1.jsx(table_cell_1.default, __assign({}, cellProps), void 0);
116
+ },
117
+ });
118
+ return [expanderColumn].concat(columns);
119
+ };
120
+ var calculateStaticColumnOffset = function (cellIdx, staticColumns, firstColumnWidth, secondColumnWidth) {
121
+ if (staticColumns === 0) {
122
+ return undefined;
123
+ }
124
+ switch (cellIdx) {
125
+ case 0:
126
+ return 0;
127
+ case 1:
128
+ return cellIdx < staticColumns ? firstColumnWidth : undefined;
129
+ case 2:
130
+ return cellIdx < staticColumns ? firstColumnWidth + secondColumnWidth : undefined;
131
+ default:
132
+ return undefined;
133
+ }
134
+ };
135
+ exports.calculateStaticColumnOffset = calculateStaticColumnOffset;
136
+ var handleScrollEvent = function (table, headerAxis, scrollState) {
137
+ var scrollWidth = scrollState.scrollWidth, scrollHeight = scrollState.scrollHeight, currentXScroll = scrollState.currentXScroll, currentYScroll = scrollState.currentYScroll;
138
+ if (headerAxis === 'x' &&
139
+ currentYScroll >= scrollHeight - getPercentageOfMax(5, scrollHeight) &&
140
+ currentYScroll <= scrollHeight &&
141
+ table.getCanNextPage()) {
142
+ table.nextPage();
143
+ }
144
+ if (headerAxis === 'y' &&
145
+ currentXScroll >= scrollWidth - getPercentageOfMax(5, scrollWidth) &&
146
+ currentXScroll <= scrollWidth &&
147
+ table.getCanNextPage()) {
148
+ table.nextPage();
149
+ }
150
+ };
151
+ exports.handleScrollEvent = handleScrollEvent;
152
+ var getPercentageOfMax = function (percentage, max) { return max * (percentage / 100); };
153
+ var handleScrollEventManual = function (getCanNextPage, nextPage, headerAxis, scrollState) {
154
+ var scrollWidth = scrollState.scrollWidth, scrollHeight = scrollState.scrollHeight, currentXScroll = scrollState.currentXScroll, currentYScroll = scrollState.currentYScroll;
155
+ if (headerAxis === 'x' &&
156
+ currentYScroll >= scrollHeight - getPercentageOfMax(5, scrollHeight) &&
157
+ currentYScroll <= scrollHeight &&
158
+ getCanNextPage()) {
159
+ nextPage();
160
+ }
161
+ if (headerAxis === 'y' &&
162
+ currentXScroll >= scrollWidth - getPercentageOfMax(5, scrollWidth) &&
163
+ currentXScroll <= scrollWidth &&
164
+ getCanNextPage()) {
165
+ nextPage();
166
+ }
167
+ };
168
+ exports.handleScrollEventManual = handleScrollEventManual;
169
+ var handleDataUpdate = function (tableData, pageIndex, pageSize, headerAxis, setColumns, setData, setPageCount) {
170
+ if (tableData && tableData.headers.length > 0) {
171
+ if (headerAxis === 'x') {
172
+ setColumns(createColumns(tableData, headerAxis));
173
+ setData(tableData.rows.slice(0, (pageIndex + 1) * pageSize));
174
+ setPageCount(Math.ceil(tableData.rows.length / pageSize));
175
+ }
176
+ else {
177
+ var head = tableData.headers[0];
178
+ var tail = tableData.headers.slice(1, tableData.headers.length);
179
+ setColumns(createColumns({ headers: __spreadArray([head], tail.slice(0, (pageIndex + 1) * pageSize)), rows: tableData.rows }, headerAxis));
180
+ setData(tableData.rows);
181
+ setPageCount(Math.ceil(tail.length / pageSize));
182
+ }
183
+ }
184
+ };
185
+ exports.handleDataUpdate = handleDataUpdate;
186
+ var calculateSliceStartPoint = function (oldLength, usingExpanderColumn) {
187
+ if (oldLength > 0) {
188
+ return usingExpanderColumn ? 2 : 1;
189
+ }
190
+ return 0;
191
+ };
192
+ var handleDataUpdateForManualPagination = function (tableData, headerAxis, keepPreviousData, setColumns, setData) {
193
+ if (headerAxis === 'x') {
194
+ setData(function (old) {
195
+ var newData = keepPreviousData ? __spreadArray(__spreadArray([], old), tableData.rows) : tableData.rows;
196
+ setColumns(createColumns({ headers: tableData.headers, rows: newData }, headerAxis));
197
+ return newData;
198
+ });
199
+ }
200
+ else if (tableData.headers.length > 0) {
201
+ setColumns(function (old) {
202
+ var newColumns = createColumns(tableData, headerAxis);
203
+ var sliceStartPoint = calculateSliceStartPoint(old.length, tableData.rows.some(function (x) { return x.subRows; }));
204
+ return keepPreviousData ? __spreadArray(__spreadArray([], old), newColumns.slice(sliceStartPoint, newColumns.length)) : newColumns;
205
+ });
206
+ setData(tableData.rows);
207
+ }
208
+ };
209
+ exports.handleDataUpdateForManualPagination = handleDataUpdateForManualPagination;
199
210
  //# sourceMappingURL=table-methods.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-methods.js","sourceRoot":"","sources":["../../src/molecules/table-methods.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAyG;AAKzG,4DAAmD;AAGnD,IAAM,aAAa,GAAG,UAAC,SAAoB;IACzC,IAAM,YAAY,GAAG,gCAAkB,EAAc,CAAA;IAErD,IAAI,OAAO,GAAG,wBAAwB,CAAC,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;IAEvE,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,UAAC,GAAG,IAAK,OAAA,GAAG,CAAC,OAAO,EAAX,CAAW,CAAC,EAAE;QAC7C,OAAO,GAAG,kCAAkC,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;KACpE;IAED,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AA0NC,sCAAa;AAxNf,IAAM,wBAAwB,GAAG,UAC/B,OAAiB,EACjB,YAAsC;IAEtC,IAAM,MAAM,GAA4B,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM;;QACzD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE;YAC7B,OAAO,YAAY,CAAC,OAAO,CAAC;gBAC1B,EAAE,EAAE,MAAM,CAAC,EAAE;gBACb,MAAM,EAAE,cAAM,OAAA,kBAAC,oBAAS,eAAK,MAAM,CAAC,SAAS,UAAI,EAAnC,CAAmC;gBACjD,IAAI,EAAE,UAAC,KAAK,IAAK,OAAA,kBAAC,oBAAS,eAAM,KAAK,CAAC,QAAQ,EAAgB,UAAI,EAAlD,CAAkD;aACpE,CAAC,CAAA;SACH;QAED,IAAI,MAAM,CAAC,IAAI,KAAK,UAA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C,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QACvC,UAAU,CAAC,UAAC,GAAG;YACb,IAAM,UAAU,GAAG,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;YACvD,IAAM,eAAe,GAAG,wBAAwB,CAC9C,GAAG,CAAC,MAAM,EACV,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,OAAO,EAAT,CAAS,CAAC,CACtC,CAAA;YAED,OAAO,gBAAgB,CAAC,CAAC,iCAAK,GAAG,GAAK,UAAU,CAAC,KAAK,CAAC,eAAe,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,UAAU,CAAA;QAC1G,CAAC,CAAC,CAAA;QACF,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;KACxB;AACH,CAAC,CAAA;AAQC,kFAAmC"}
@@ -1,86 +1,86 @@
1
- /// <reference types="react" />
2
- import { Axis } from '@ltht-react/types';
3
- declare const ScrollableContainer: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & IScrollableContainer, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- declare const StyledTable: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
10
- }, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
11
- declare const StyledTableHeader: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
14
- } & IStyledTableCell, import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {}>;
15
- declare const StyledTableData: import("@emotion/styled").StyledComponent<{
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
18
- } & IStyledTableCell, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
19
- declare const StyledTableRow: import("@emotion/styled").StyledComponent<{
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
22
- } & IStyledTableCell, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
23
- declare const PaginationContainer: import("@emotion/styled").StyledComponent<{
24
- theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
26
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
- declare const StyledPaginationPageInput: import("@emotion/styled").StyledComponent<{
28
- theme?: import("@emotion/react").Theme | undefined;
29
- as?: import("react").ElementType<any> | undefined;
30
- }, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
31
- declare const StyledPaginationPageSelect: import("@emotion/styled").StyledComponent<{
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
34
- }, import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {}>;
35
- declare const StyledHideOnMobile: import("@emotion/styled").StyledComponent<{
36
- theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
38
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
39
- declare const StyledPaginationButtonDiv: import("@emotion/styled").StyledComponent<{
40
- theme?: import("@emotion/react").Theme | undefined;
41
- as?: import("react").ElementType<any> | undefined;
42
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
43
- declare const StyledPageCountDiv: import("@emotion/styled").StyledComponent<{
44
- theme?: import("@emotion/react").Theme | undefined;
45
- as?: import("react").ElementType<any> | undefined;
46
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
47
- declare const StyledStandardButton: import("@emotion/styled").StyledComponent<import("@ltht-react/icon/lib/organisms/icon-button").IconButtonProps & {
48
- children?: import("react").ReactNode;
49
- } & {
50
- theme?: import("@emotion/react").Theme | undefined;
51
- }, {}, {}>;
52
- declare const StyledPaginationButton: import("@emotion/styled").StyledComponent<import("@ltht-react/icon/lib/organisms/icon-button").IconButtonProps & {
53
- children?: import("react").ReactNode;
54
- } & {
55
- theme?: import("@emotion/react").Theme | undefined;
56
- }, {}, {}>;
57
- declare const StyledSpinnerIcon: import("@emotion/styled").StyledComponent<import("@ltht-react/icon").IconProps & {
58
- children?: import("react").ReactNode;
59
- } & {
60
- theme?: import("@emotion/react").Theme | undefined;
61
- }, {}, {}>;
62
- declare const StyledNextPageButtonContainer: import("@emotion/styled").StyledComponent<{
63
- theme?: import("@emotion/react").Theme | undefined;
64
- as?: import("react").ElementType<any> | undefined;
65
- } & IStyledNextPageButtonContainer, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
66
- declare const StyledSpinnerContainer: import("@emotion/styled").StyledComponent<{
67
- theme?: import("@emotion/react").Theme | undefined;
68
- as?: import("react").ElementType<any> | undefined;
69
- } & IStyledNextPageButtonContainer, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
70
- declare const StyledTHead: import("@emotion/styled").StyledComponent<{
71
- theme?: import("@emotion/react").Theme | undefined;
72
- as?: import("react").ElementType<any> | undefined;
73
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {}>;
74
- interface IStyledTableCell {
75
- stickyWidth?: number;
76
- tableHeaderAxis?: string;
77
- }
78
- interface IStyledNextPageButtonContainer {
79
- elementPosition: 'right' | 'bottom';
80
- }
81
- interface IScrollableContainer {
82
- tableHeaderAxis: Axis;
83
- maxHeight?: string;
84
- maxWidth?: string;
85
- }
86
- export { StyledTable, StyledTableHeader, StyledTableRow, StyledTableData, PaginationContainer, StyledPaginationPageInput, StyledPaginationPageSelect, StyledHideOnMobile, StyledPaginationButton, ScrollableContainer, StyledPaginationButtonDiv, StyledPageCountDiv, StyledStandardButton, StyledSpinnerIcon, StyledNextPageButtonContainer, StyledTHead, StyledSpinnerContainer, };
1
+ /// <reference types="react" />
2
+ import { Axis } from '@ltht-react/types';
3
+ declare const ScrollableContainer: import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & IScrollableContainer, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ declare const StyledTable: import("@emotion/styled").StyledComponent<{
8
+ theme?: import("@emotion/react").Theme | undefined;
9
+ as?: import("react").ElementType<any> | undefined;
10
+ }, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
11
+ declare const StyledTableHeader: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & IStyledTableCell, import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {}>;
15
+ declare const StyledTableData: import("@emotion/styled").StyledComponent<{
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
+ } & IStyledTableCell, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
19
+ declare const StyledTableRow: import("@emotion/styled").StyledComponent<{
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ as?: import("react").ElementType<any> | undefined;
22
+ } & IStyledTableCell, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
23
+ declare const PaginationContainer: import("@emotion/styled").StyledComponent<{
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
+ declare const StyledPaginationPageInput: import("@emotion/styled").StyledComponent<{
28
+ theme?: import("@emotion/react").Theme | undefined;
29
+ as?: import("react").ElementType<any> | undefined;
30
+ }, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
31
+ declare const StyledPaginationPageSelect: import("@emotion/styled").StyledComponent<{
32
+ theme?: import("@emotion/react").Theme | undefined;
33
+ as?: import("react").ElementType<any> | undefined;
34
+ }, import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {}>;
35
+ declare const StyledHideOnMobile: import("@emotion/styled").StyledComponent<{
36
+ theme?: import("@emotion/react").Theme | undefined;
37
+ as?: import("react").ElementType<any> | undefined;
38
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
39
+ declare const StyledPaginationButtonDiv: import("@emotion/styled").StyledComponent<{
40
+ theme?: import("@emotion/react").Theme | undefined;
41
+ as?: import("react").ElementType<any> | undefined;
42
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
43
+ declare const StyledPageCountDiv: import("@emotion/styled").StyledComponent<{
44
+ theme?: import("@emotion/react").Theme | undefined;
45
+ as?: import("react").ElementType<any> | undefined;
46
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
47
+ declare const StyledStandardButton: import("@emotion/styled").StyledComponent<import("@ltht-react/icon/lib/organisms/icon-button").IconButtonProps & {
48
+ children?: import("react").ReactNode;
49
+ } & {
50
+ theme?: import("@emotion/react").Theme | undefined;
51
+ }, {}, {}>;
52
+ declare const StyledPaginationButton: import("@emotion/styled").StyledComponent<import("@ltht-react/icon/lib/organisms/icon-button").IconButtonProps & {
53
+ children?: import("react").ReactNode;
54
+ } & {
55
+ theme?: import("@emotion/react").Theme | undefined;
56
+ }, {}, {}>;
57
+ declare const StyledSpinnerIcon: import("@emotion/styled").StyledComponent<import("@ltht-react/icon").IconProps & {
58
+ children?: import("react").ReactNode;
59
+ } & {
60
+ theme?: import("@emotion/react").Theme | undefined;
61
+ }, {}, {}>;
62
+ declare const StyledNextPageButtonContainer: import("@emotion/styled").StyledComponent<{
63
+ theme?: import("@emotion/react").Theme | undefined;
64
+ as?: import("react").ElementType<any> | undefined;
65
+ } & IStyledNextPageButtonContainer, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
66
+ declare const StyledSpinnerContainer: import("@emotion/styled").StyledComponent<{
67
+ theme?: import("@emotion/react").Theme | undefined;
68
+ as?: import("react").ElementType<any> | undefined;
69
+ } & IStyledNextPageButtonContainer, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
70
+ declare const StyledTHead: import("@emotion/styled").StyledComponent<{
71
+ theme?: import("@emotion/react").Theme | undefined;
72
+ as?: import("react").ElementType<any> | undefined;
73
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {}>;
74
+ interface IStyledTableCell {
75
+ stickyWidth?: number;
76
+ tableHeaderAxis?: string;
77
+ }
78
+ interface IStyledNextPageButtonContainer {
79
+ elementPosition: 'right' | 'bottom';
80
+ }
81
+ interface IScrollableContainer {
82
+ tableHeaderAxis: Axis;
83
+ maxHeight?: string;
84
+ maxWidth?: string;
85
+ }
86
+ export { StyledTable, StyledTableHeader, StyledTableRow, StyledTableData, PaginationContainer, StyledPaginationPageInput, StyledPaginationPageSelect, StyledHideOnMobile, StyledPaginationButton, ScrollableContainer, StyledPaginationButtonDiv, StyledPageCountDiv, StyledStandardButton, StyledSpinnerIcon, StyledNextPageButtonContainer, StyledTHead, StyledSpinnerContainer, };