@majoo-ui/react 1.61.24 → 1.61.25-rc.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 (133) hide show
  1. package/index.d.ts +1 -5
  2. package/index.esm.js +24547 -26991
  3. package/package.json +4 -4
  4. package/{colors → src/colors}/index.d.ts +1 -1
  5. package/{components → src/components}/accordion/Accordion.d.ts +35 -35
  6. package/{components → src/components}/accordion/index.d.ts +1 -1
  7. package/{components → src/components}/barChart/BarChart.d.ts +82 -82
  8. package/{components → src/components}/barChart/index.d.ts +1 -1
  9. package/{components → src/components}/breadcrumb/index.d.ts +7 -7
  10. package/{components → src/components}/button/index.d.ts +2 -2
  11. package/{components → src/components}/card/index.d.ts +2 -2
  12. package/{components → src/components}/chart/index.d.ts +1 -1
  13. package/{components → src/components}/chart/lineChart/LineChart.d.ts +80 -80
  14. package/{components → src/components}/chart/lineChart/components/Comparator.d.ts +16 -16
  15. package/{components → src/components}/chart/lineChart/components/ComparatorController.d.ts +8 -8
  16. package/{components → src/components}/chart/lineChart/components/ComparatorItem.d.ts +10 -10
  17. package/{components → src/components}/chart/lineChart/components/ProductList.d.ts +10 -10
  18. package/{components → src/components}/chart/lineChart/components/TitleLegend.d.ts +19 -19
  19. package/{components → src/components}/chart/lineChart/components/Tooltip.d.ts +21 -21
  20. package/{components → src/components}/chart/lineChart/index.d.ts +1 -1
  21. package/{components → src/components}/chart/utils/index.d.ts +18 -18
  22. package/{components → src/components}/checkboxTable/CheckboxTable.d.ts +29 -29
  23. package/{components → src/components}/checkboxTable/index.d.ts +1 -1
  24. package/{components → src/components}/checkboxTable/transition.d.ts +11 -11
  25. package/{components → src/components}/contentEditor/ContentEditor.d.ts +44 -44
  26. package/{components → src/components}/contentEditor/index.d.ts +1 -1
  27. package/{components → src/components}/contextMenu/index.d.ts +1 -1
  28. package/{components → src/components}/datePicker/AdvancedOption.d.ts +12 -12
  29. package/{components → src/components}/datePicker/CustomDatePicker.d.ts +63 -63
  30. package/{components → src/components}/datePicker/DatePicker.d.ts +10 -10
  31. package/{components → src/components}/datePicker/DatePickerMulti.d.ts +11 -11
  32. package/{components → src/components}/datePicker/InputDatePicker.d.ts +170 -170
  33. package/{components → src/components}/datePicker/InputDateRangePicker.d.ts +26 -26
  34. package/{components → src/components}/datePicker/components/Calendar.d.ts +32 -32
  35. package/{components → src/components}/datePicker/components/CalendarMulti.d.ts +21 -21
  36. package/{components → src/components}/datePicker/components/CalendarTimePicker.d.ts +11 -11
  37. package/{components → src/components}/datePicker/components/MobileCalendar.d.ts +4 -4
  38. package/{components → src/components}/datePicker/components/index.d.ts +6 -6
  39. package/{components → src/components}/datePicker/index.d.ts +7 -7
  40. package/{components → src/components}/datePicker/state/reducer.d.ts +26 -26
  41. package/{components → src/components}/datePicker/timePicker/index.d.ts +4 -4
  42. package/{components → src/components}/devicePreview/index.d.ts +2 -2
  43. package/{components → src/components}/dialog/index.d.ts +2 -2
  44. package/{components → src/components}/editableTable/Columns.d.ts +59 -59
  45. package/{components → src/components}/editableTable/EditableMobile.d.ts +23 -23
  46. package/{components → src/components}/editableTable/EditableTable.d.ts +432 -432
  47. package/{components → src/components}/editableTable/faker.d.ts +16 -16
  48. package/{components → src/components}/editableTable/index.d.ts +2 -2
  49. package/{components → src/components}/form/components/InputCombobox/InputCombobox.d.ts +43 -43
  50. package/{components → src/components}/form/components/InputCombobox/index.d.ts +1 -1
  51. package/{components → src/components}/form/components/InputCounter/InputCounter.d.ts +58 -58
  52. package/{components → src/components}/form/components/InputCounter/index.d.ts +2 -2
  53. package/{components → src/components}/form/components/InputDateRange/InputDateRange.d.ts +39 -39
  54. package/{components → src/components}/form/components/InputDateRange/index.d.ts +2 -2
  55. package/{components → src/components}/form/components/InputElement/index.d.ts +1 -1
  56. package/{components → src/components}/form/components/InputGroup/index.d.ts +1 -1
  57. package/{components → src/components}/form/components/InputOTP/InputOTP.d.ts +108 -108
  58. package/{components → src/components}/form/components/InputOTP/index.d.ts +2 -2
  59. package/{components → src/components}/form/components/InputResourceList/InputResourceList.d.ts +39 -39
  60. package/{components → src/components}/form/components/InputSelect/index.d.ts +2 -2
  61. package/{components → src/components}/form/components/InputSelectCheck/OptionGroupItem.d.ts +5 -5
  62. package/{components → src/components}/form/components/InputSignature/InputSignature.d.ts +12 -12
  63. package/{components → src/components}/form/components/InputSignature/SignatureModal.d.ts +11 -11
  64. package/{components → src/components}/form/components/InputSignature/index.d.ts +2 -2
  65. package/{components → src/components}/form/components/InputText/index.d.ts +1 -1
  66. package/{components → src/components}/form/components/index.d.ts +27 -27
  67. package/{components → src/components}/form/index.d.ts +1 -1
  68. package/{components → src/components}/heading/index.d.ts +2 -2
  69. package/{components → src/components}/image/index.d.ts +2 -2
  70. package/{components → src/components}/index.d.ts +53 -53
  71. package/{components → src/components}/link/index.d.ts +1 -1
  72. package/{components → src/components}/loadingBar/LoadingBar.d.ts +51 -51
  73. package/{components → src/components}/loadingBar/index.d.ts +1 -1
  74. package/{components → src/components}/mapPicker/InputMapPicker.d.ts +4 -4
  75. package/{components → src/components}/mapPicker/MapPicker.d.ts +17 -17
  76. package/{components → src/components}/mapPicker/index.d.ts +2 -2
  77. package/{components → src/components}/mapPicker/types/index.d.ts +103 -103
  78. package/{components → src/components}/modalDialog/index.d.ts +2 -2
  79. package/{components → src/components}/pageDialog/index.d.ts +1 -1
  80. package/{components → src/components}/paragraph/index.d.ts +2 -2
  81. package/{components → src/components}/pieChart/PieChart.d.ts +100 -100
  82. package/{components → src/components}/pieChart/index.d.ts +1 -1
  83. package/{components → src/components}/progressIndicator/ProgressIndicator.d.ts +17 -17
  84. package/{components → src/components}/progressIndicator/index.d.ts +1 -1
  85. package/{components → src/components}/scrollSync/ScrollSync.d.ts +45 -45
  86. package/{components → src/components}/scrollSync/ScrollSyncNode.d.ts +32 -32
  87. package/{components → src/components}/scrollSync/index.d.ts +2 -2
  88. package/{components → src/components}/scrollSync/utils.d.ts +3 -3
  89. package/{components → src/components}/separator/index.d.ts +2 -2
  90. package/{components → src/components}/skeleton/Skeleton.d.ts +19 -19
  91. package/{components → src/components}/skeleton/index.d.ts +1 -1
  92. package/{components → src/components}/stepWizard/index.d.ts +45 -45
  93. package/{components → src/components}/table/MobileTable.d.ts +39 -39
  94. package/{components → src/components}/table/index.d.ts +3 -3
  95. package/{components → src/components}/tableOfContent/index.d.ts +57 -57
  96. package/{components → src/components}/tagList/TagList.d.ts +21 -21
  97. package/{components → src/components}/tagList/index.d.ts +1 -1
  98. package/{components → src/components}/text/index.d.ts +2 -2
  99. package/{components → src/components}/upload/utils/canvasPreview.d.ts +2 -2
  100. package/{components → src/components}/upload/utils/imgPreview.d.ts +2 -2
  101. package/{foundations → src/foundations}/indices/Indices.d.ts +2 -2
  102. package/{foundations → src/foundations}/radii/Radii.d.ts +2 -2
  103. package/{foundations → src/foundations}/space/Space.d.ts +2 -2
  104. package/{hooks → src/hooks}/index.d.ts +2 -2
  105. package/{hooks → src/hooks}/useListOption/useListOption.d.ts +8 -8
  106. package/{hooks → src/hooks}/useToggle/useToggle.d.ts +1 -1
  107. package/src/index.d.ts +5 -0
  108. package/{layout → src/layout}/box/index.d.ts +1 -1
  109. package/{layout → src/layout}/flex/index.d.ts +2 -2
  110. package/{layout → src/layout}/grid/index.d.ts +2 -2
  111. package/{layout → src/layout}/index.d.ts +4 -4
  112. package/{type → src/type}/base.types.d.ts +11 -11
  113. package/src/type/stitches.types.d.ts +1 -0
  114. package/{utils → src/utils}/request.d.ts +14 -14
  115. package/{utils → src/utils}/useNavigatorOnline.d.ts +2 -2
  116. package/{utils → src/utils}/variant.d.ts +4 -4
  117. package/components/alert-backup/index.backup.d.ts +0 -1
  118. package/components/button/Button.d.ts +0 -163
  119. package/components/card/Card.d.ts +0 -531
  120. package/components/contextMenu/ContextMenu.d.ts +0 -404
  121. package/components/datePicker/components/DateNumber.d.ts +0 -104
  122. package/components/devicePreview/DevicePreview.d.ts +0 -161
  123. package/components/dialog/Dialog.d.ts +0 -402
  124. package/components/form/components/InputCombobox/InputCombobox.backup.d.ts +0 -43
  125. package/components/form/components/InputSelect/InputSelect.d.ts +0 -862
  126. package/components/heading/Heading.d.ts +0 -100
  127. package/components/link/Link.d.ts +0 -109
  128. package/components/modalDialog/ModalDialog.d.ts +0 -836
  129. package/components/pageDialog/PageDialog.d.ts +0 -810
  130. package/components/table/Table.d.ts +0 -1529
  131. package/config/stitches.config.d.ts +0 -645
  132. package/foundations/typography/Typography.d.ts +0 -396
  133. package/type/stitches.types.d.ts +0 -1
@@ -1,1529 +0,0 @@
1
- import * as React from 'react';
2
- import { CellProps, Row, ColumnInstance } from 'react-table';
3
- import { CSS } from '../../config/stitches.config';
4
- export declare const TableContent: import("@stitches/react/types/styled-component").StyledComponent<"table", {}, {
5
- sm: "(min-width: 359px)";
6
- md: "(min-width: 767px)";
7
- lg: "(min-width: 1023px)";
8
- xl: "(min-width: 1199px)";
9
- '2xl': "(min-width: 1399px)";
10
- '3xl': "(min-width: 1600px)";
11
- }, import("@stitches/react/types/css-util").CSS<{
12
- sm: "(min-width: 359px)";
13
- md: "(min-width: 767px)";
14
- lg: "(min-width: 1023px)";
15
- xl: "(min-width: 1199px)";
16
- '2xl': "(min-width: 1399px)";
17
- '3xl': "(min-width: 1600px)";
18
- }, {
19
- colors: unknown;
20
- space: unknown;
21
- shadows: unknown;
22
- fontSizes: unknown;
23
- fonts: unknown;
24
- lineHeights: unknown;
25
- letterSpacings: unknown;
26
- radii: unknown;
27
- sizes: unknown;
28
- zIndices: unknown;
29
- toastPosition: unknown;
30
- }, import("@stitches/react/types/config").DefaultThemeMap, {
31
- m: (value: {
32
- readonly [$$ScaleValue]: "space";
33
- }) => {
34
- margin: {
35
- readonly [$$ScaleValue]: "space";
36
- };
37
- };
38
- mt: (value: {
39
- readonly [$$ScaleValue]: "space";
40
- }) => {
41
- marginTop: {
42
- readonly [$$ScaleValue]: "space";
43
- };
44
- };
45
- mr: (value: {
46
- readonly [$$ScaleValue]: "space";
47
- }) => {
48
- marginRight: {
49
- readonly [$$ScaleValue]: "space";
50
- };
51
- };
52
- mb: (value: {
53
- readonly [$$ScaleValue]: "space";
54
- }) => {
55
- marginBottom: {
56
- readonly [$$ScaleValue]: "space";
57
- };
58
- };
59
- ml: (value: {
60
- readonly [$$ScaleValue]: "space";
61
- }) => {
62
- marginLeft: {
63
- readonly [$$ScaleValue]: "space";
64
- };
65
- };
66
- mx: (value: {
67
- readonly [$$ScaleValue]: "space";
68
- }) => {
69
- marginLeft: {
70
- readonly [$$ScaleValue]: "space";
71
- };
72
- marginRight: {
73
- readonly [$$ScaleValue]: "space";
74
- };
75
- };
76
- my: (value: {
77
- readonly [$$ScaleValue]: "space";
78
- }) => {
79
- marginTop: {
80
- readonly [$$ScaleValue]: "space";
81
- };
82
- marginBottom: {
83
- readonly [$$ScaleValue]: "space";
84
- };
85
- };
86
- size: (value: {
87
- readonly [$$PropertyValue]: "width";
88
- }) => {
89
- width: {
90
- readonly [$$PropertyValue]: "width";
91
- };
92
- height: {
93
- readonly [$$PropertyValue]: "width";
94
- };
95
- };
96
- subtleColor: (value: string) => {
97
- color: string;
98
- backgroundColor: string;
99
- };
100
- }>>;
101
- export declare const TableHead: import("@stitches/react/types/styled-component").StyledComponent<"thead", {
102
- isInfiniteScroll?: boolean | "true" | undefined;
103
- hiddenHeader?: boolean | "true" | undefined;
104
- }, {
105
- sm: "(min-width: 359px)";
106
- md: "(min-width: 767px)";
107
- lg: "(min-width: 1023px)";
108
- xl: "(min-width: 1199px)";
109
- '2xl': "(min-width: 1399px)";
110
- '3xl': "(min-width: 1600px)";
111
- }, import("@stitches/react/types/css-util").CSS<{
112
- sm: "(min-width: 359px)";
113
- md: "(min-width: 767px)";
114
- lg: "(min-width: 1023px)";
115
- xl: "(min-width: 1199px)";
116
- '2xl': "(min-width: 1399px)";
117
- '3xl': "(min-width: 1600px)";
118
- }, {
119
- colors: unknown;
120
- space: unknown;
121
- shadows: unknown;
122
- fontSizes: unknown;
123
- fonts: unknown;
124
- lineHeights: unknown;
125
- letterSpacings: unknown;
126
- radii: unknown;
127
- sizes: unknown;
128
- zIndices: unknown;
129
- toastPosition: unknown;
130
- }, import("@stitches/react/types/config").DefaultThemeMap, {
131
- m: (value: {
132
- readonly [$$ScaleValue]: "space";
133
- }) => {
134
- margin: {
135
- readonly [$$ScaleValue]: "space";
136
- };
137
- };
138
- mt: (value: {
139
- readonly [$$ScaleValue]: "space";
140
- }) => {
141
- marginTop: {
142
- readonly [$$ScaleValue]: "space";
143
- };
144
- };
145
- mr: (value: {
146
- readonly [$$ScaleValue]: "space";
147
- }) => {
148
- marginRight: {
149
- readonly [$$ScaleValue]: "space";
150
- };
151
- };
152
- mb: (value: {
153
- readonly [$$ScaleValue]: "space";
154
- }) => {
155
- marginBottom: {
156
- readonly [$$ScaleValue]: "space";
157
- };
158
- };
159
- ml: (value: {
160
- readonly [$$ScaleValue]: "space";
161
- }) => {
162
- marginLeft: {
163
- readonly [$$ScaleValue]: "space";
164
- };
165
- };
166
- mx: (value: {
167
- readonly [$$ScaleValue]: "space";
168
- }) => {
169
- marginLeft: {
170
- readonly [$$ScaleValue]: "space";
171
- };
172
- marginRight: {
173
- readonly [$$ScaleValue]: "space";
174
- };
175
- };
176
- my: (value: {
177
- readonly [$$ScaleValue]: "space";
178
- }) => {
179
- marginTop: {
180
- readonly [$$ScaleValue]: "space";
181
- };
182
- marginBottom: {
183
- readonly [$$ScaleValue]: "space";
184
- };
185
- };
186
- size: (value: {
187
- readonly [$$PropertyValue]: "width";
188
- }) => {
189
- width: {
190
- readonly [$$PropertyValue]: "width";
191
- };
192
- height: {
193
- readonly [$$PropertyValue]: "width";
194
- };
195
- };
196
- subtleColor: (value: string) => {
197
- color: string;
198
- backgroundColor: string;
199
- };
200
- }>>;
201
- export declare const TableHeaderCellContainer: import("@stitches/react/types/styled-component").StyledComponent<any, {
202
- isSortedDesc?: boolean | "true" | "false" | undefined;
203
- unsortable?: boolean | "true" | undefined;
204
- isMobile?: boolean | "true" | undefined;
205
- isToggleable?: boolean | "true" | undefined;
206
- isToggled?: boolean | "true" | undefined;
207
- darkTheme?: boolean | "true" | undefined;
208
- }, {
209
- sm: "(min-width: 359px)";
210
- md: "(min-width: 767px)";
211
- lg: "(min-width: 1023px)";
212
- xl: "(min-width: 1199px)";
213
- '2xl': "(min-width: 1399px)";
214
- '3xl': "(min-width: 1600px)";
215
- }, import("@stitches/react/types/css-util").CSS<{
216
- sm: "(min-width: 359px)";
217
- md: "(min-width: 767px)";
218
- lg: "(min-width: 1023px)";
219
- xl: "(min-width: 1199px)";
220
- '2xl': "(min-width: 1399px)";
221
- '3xl': "(min-width: 1600px)";
222
- }, {
223
- colors: unknown;
224
- space: unknown;
225
- shadows: unknown;
226
- fontSizes: unknown;
227
- fonts: unknown;
228
- lineHeights: unknown;
229
- letterSpacings: unknown;
230
- radii: unknown;
231
- sizes: unknown;
232
- zIndices: unknown;
233
- toastPosition: unknown;
234
- }, import("@stitches/react/types/config").DefaultThemeMap, {
235
- m: (value: {
236
- readonly [$$ScaleValue]: "space";
237
- }) => {
238
- margin: {
239
- readonly [$$ScaleValue]: "space";
240
- };
241
- };
242
- mt: (value: {
243
- readonly [$$ScaleValue]: "space";
244
- }) => {
245
- marginTop: {
246
- readonly [$$ScaleValue]: "space";
247
- };
248
- };
249
- mr: (value: {
250
- readonly [$$ScaleValue]: "space";
251
- }) => {
252
- marginRight: {
253
- readonly [$$ScaleValue]: "space";
254
- };
255
- };
256
- mb: (value: {
257
- readonly [$$ScaleValue]: "space";
258
- }) => {
259
- marginBottom: {
260
- readonly [$$ScaleValue]: "space";
261
- };
262
- };
263
- ml: (value: {
264
- readonly [$$ScaleValue]: "space";
265
- }) => {
266
- marginLeft: {
267
- readonly [$$ScaleValue]: "space";
268
- };
269
- };
270
- mx: (value: {
271
- readonly [$$ScaleValue]: "space";
272
- }) => {
273
- marginLeft: {
274
- readonly [$$ScaleValue]: "space";
275
- };
276
- marginRight: {
277
- readonly [$$ScaleValue]: "space";
278
- };
279
- };
280
- my: (value: {
281
- readonly [$$ScaleValue]: "space";
282
- }) => {
283
- marginTop: {
284
- readonly [$$ScaleValue]: "space";
285
- };
286
- marginBottom: {
287
- readonly [$$ScaleValue]: "space";
288
- };
289
- };
290
- size: (value: {
291
- readonly [$$PropertyValue]: "width";
292
- }) => {
293
- width: {
294
- readonly [$$PropertyValue]: "width";
295
- };
296
- height: {
297
- readonly [$$PropertyValue]: "width";
298
- };
299
- };
300
- subtleColor: (value: string) => {
301
- color: string;
302
- backgroundColor: string;
303
- };
304
- }>>;
305
- export declare const TableHeadCellContent: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<any, {
306
- heading?: "h1" | "h2" | "h3" | "pageTitle" | "sectionTitle" | "sectionSubTitle" | "headerTabs" | "headerTable" | undefined;
307
- }, {
308
- sm: "(min-width: 359px)";
309
- md: "(min-width: 767px)";
310
- lg: "(min-width: 1023px)";
311
- xl: "(min-width: 1199px)";
312
- '2xl': "(min-width: 1399px)";
313
- '3xl': "(min-width: 1600px)";
314
- }, import("@stitches/react/types/css-util").CSS<{
315
- sm: "(min-width: 359px)";
316
- md: "(min-width: 767px)";
317
- lg: "(min-width: 1023px)";
318
- xl: "(min-width: 1199px)";
319
- '2xl': "(min-width: 1399px)";
320
- '3xl': "(min-width: 1600px)";
321
- }, {
322
- colors: unknown;
323
- space: unknown;
324
- shadows: unknown;
325
- fontSizes: unknown;
326
- fonts: unknown;
327
- lineHeights: unknown;
328
- letterSpacings: unknown;
329
- radii: unknown;
330
- sizes: unknown;
331
- zIndices: unknown;
332
- toastPosition: unknown;
333
- }, import("@stitches/react/types/config").DefaultThemeMap, {
334
- m: (value: {
335
- readonly [$$ScaleValue]: "space";
336
- }) => {
337
- margin: {
338
- readonly [$$ScaleValue]: "space";
339
- };
340
- };
341
- mt: (value: {
342
- readonly [$$ScaleValue]: "space";
343
- }) => {
344
- marginTop: {
345
- readonly [$$ScaleValue]: "space";
346
- };
347
- };
348
- mr: (value: {
349
- readonly [$$ScaleValue]: "space";
350
- }) => {
351
- marginRight: {
352
- readonly [$$ScaleValue]: "space";
353
- };
354
- };
355
- mb: (value: {
356
- readonly [$$ScaleValue]: "space";
357
- }) => {
358
- marginBottom: {
359
- readonly [$$ScaleValue]: "space";
360
- };
361
- };
362
- ml: (value: {
363
- readonly [$$ScaleValue]: "space";
364
- }) => {
365
- marginLeft: {
366
- readonly [$$ScaleValue]: "space";
367
- };
368
- };
369
- mx: (value: {
370
- readonly [$$ScaleValue]: "space";
371
- }) => {
372
- marginLeft: {
373
- readonly [$$ScaleValue]: "space";
374
- };
375
- marginRight: {
376
- readonly [$$ScaleValue]: "space";
377
- };
378
- };
379
- my: (value: {
380
- readonly [$$ScaleValue]: "space";
381
- }) => {
382
- marginTop: {
383
- readonly [$$ScaleValue]: "space";
384
- };
385
- marginBottom: {
386
- readonly [$$ScaleValue]: "space";
387
- };
388
- };
389
- size: (value: {
390
- readonly [$$PropertyValue]: "width";
391
- }) => {
392
- width: {
393
- readonly [$$PropertyValue]: "width";
394
- };
395
- height: {
396
- readonly [$$PropertyValue]: "width";
397
- };
398
- };
399
- subtleColor: (value: string) => {
400
- color: string;
401
- backgroundColor: string;
402
- };
403
- }>>, {
404
- isMobile?: boolean | "true" | undefined;
405
- }, {
406
- sm: "(min-width: 359px)";
407
- md: "(min-width: 767px)";
408
- lg: "(min-width: 1023px)";
409
- xl: "(min-width: 1199px)";
410
- '2xl': "(min-width: 1399px)";
411
- '3xl': "(min-width: 1600px)";
412
- }, import("@stitches/react/types/css-util").CSS<{
413
- sm: "(min-width: 359px)";
414
- md: "(min-width: 767px)";
415
- lg: "(min-width: 1023px)";
416
- xl: "(min-width: 1199px)";
417
- '2xl': "(min-width: 1399px)";
418
- '3xl': "(min-width: 1600px)";
419
- }, {
420
- colors: unknown;
421
- space: unknown;
422
- shadows: unknown;
423
- fontSizes: unknown;
424
- fonts: unknown;
425
- lineHeights: unknown;
426
- letterSpacings: unknown;
427
- radii: unknown;
428
- sizes: unknown;
429
- zIndices: unknown;
430
- toastPosition: unknown;
431
- }, import("@stitches/react/types/config").DefaultThemeMap, {
432
- m: (value: {
433
- readonly [$$ScaleValue]: "space";
434
- }) => {
435
- margin: {
436
- readonly [$$ScaleValue]: "space";
437
- };
438
- };
439
- mt: (value: {
440
- readonly [$$ScaleValue]: "space";
441
- }) => {
442
- marginTop: {
443
- readonly [$$ScaleValue]: "space";
444
- };
445
- };
446
- mr: (value: {
447
- readonly [$$ScaleValue]: "space";
448
- }) => {
449
- marginRight: {
450
- readonly [$$ScaleValue]: "space";
451
- };
452
- };
453
- mb: (value: {
454
- readonly [$$ScaleValue]: "space";
455
- }) => {
456
- marginBottom: {
457
- readonly [$$ScaleValue]: "space";
458
- };
459
- };
460
- ml: (value: {
461
- readonly [$$ScaleValue]: "space";
462
- }) => {
463
- marginLeft: {
464
- readonly [$$ScaleValue]: "space";
465
- };
466
- };
467
- mx: (value: {
468
- readonly [$$ScaleValue]: "space";
469
- }) => {
470
- marginLeft: {
471
- readonly [$$ScaleValue]: "space";
472
- };
473
- marginRight: {
474
- readonly [$$ScaleValue]: "space";
475
- };
476
- };
477
- my: (value: {
478
- readonly [$$ScaleValue]: "space";
479
- }) => {
480
- marginTop: {
481
- readonly [$$ScaleValue]: "space";
482
- };
483
- marginBottom: {
484
- readonly [$$ScaleValue]: "space";
485
- };
486
- };
487
- size: (value: {
488
- readonly [$$PropertyValue]: "width";
489
- }) => {
490
- width: {
491
- readonly [$$PropertyValue]: "width";
492
- };
493
- height: {
494
- readonly [$$PropertyValue]: "width";
495
- };
496
- };
497
- subtleColor: (value: string) => {
498
- color: string;
499
- backgroundColor: string;
500
- };
501
- }>>;
502
- export declare const TableBody: import("@stitches/react/types/styled-component").StyledComponent<"tbody", {}, {
503
- sm: "(min-width: 359px)";
504
- md: "(min-width: 767px)";
505
- lg: "(min-width: 1023px)";
506
- xl: "(min-width: 1199px)";
507
- '2xl': "(min-width: 1399px)";
508
- '3xl': "(min-width: 1600px)";
509
- }, import("@stitches/react/types/css-util").CSS<{
510
- sm: "(min-width: 359px)";
511
- md: "(min-width: 767px)";
512
- lg: "(min-width: 1023px)";
513
- xl: "(min-width: 1199px)";
514
- '2xl': "(min-width: 1399px)";
515
- '3xl': "(min-width: 1600px)";
516
- }, {
517
- colors: unknown;
518
- space: unknown;
519
- shadows: unknown;
520
- fontSizes: unknown;
521
- fonts: unknown;
522
- lineHeights: unknown;
523
- letterSpacings: unknown;
524
- radii: unknown;
525
- sizes: unknown;
526
- zIndices: unknown;
527
- toastPosition: unknown;
528
- }, import("@stitches/react/types/config").DefaultThemeMap, {
529
- m: (value: {
530
- readonly [$$ScaleValue]: "space";
531
- }) => {
532
- margin: {
533
- readonly [$$ScaleValue]: "space";
534
- };
535
- };
536
- mt: (value: {
537
- readonly [$$ScaleValue]: "space";
538
- }) => {
539
- marginTop: {
540
- readonly [$$ScaleValue]: "space";
541
- };
542
- };
543
- mr: (value: {
544
- readonly [$$ScaleValue]: "space";
545
- }) => {
546
- marginRight: {
547
- readonly [$$ScaleValue]: "space";
548
- };
549
- };
550
- mb: (value: {
551
- readonly [$$ScaleValue]: "space";
552
- }) => {
553
- marginBottom: {
554
- readonly [$$ScaleValue]: "space";
555
- };
556
- };
557
- ml: (value: {
558
- readonly [$$ScaleValue]: "space";
559
- }) => {
560
- marginLeft: {
561
- readonly [$$ScaleValue]: "space";
562
- };
563
- };
564
- mx: (value: {
565
- readonly [$$ScaleValue]: "space";
566
- }) => {
567
- marginLeft: {
568
- readonly [$$ScaleValue]: "space";
569
- };
570
- marginRight: {
571
- readonly [$$ScaleValue]: "space";
572
- };
573
- };
574
- my: (value: {
575
- readonly [$$ScaleValue]: "space";
576
- }) => {
577
- marginTop: {
578
- readonly [$$ScaleValue]: "space";
579
- };
580
- marginBottom: {
581
- readonly [$$ScaleValue]: "space";
582
- };
583
- };
584
- size: (value: {
585
- readonly [$$PropertyValue]: "width";
586
- }) => {
587
- width: {
588
- readonly [$$PropertyValue]: "width";
589
- };
590
- height: {
591
- readonly [$$PropertyValue]: "width";
592
- };
593
- };
594
- subtleColor: (value: string) => {
595
- color: string;
596
- backgroundColor: string;
597
- };
598
- }>>;
599
- export declare const TableRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {
600
- subRow?: boolean | "true" | undefined;
601
- }, {
602
- sm: "(min-width: 359px)";
603
- md: "(min-width: 767px)";
604
- lg: "(min-width: 1023px)";
605
- xl: "(min-width: 1199px)";
606
- '2xl': "(min-width: 1399px)";
607
- '3xl': "(min-width: 1600px)";
608
- }, import("@stitches/react/types/css-util").CSS<{
609
- sm: "(min-width: 359px)";
610
- md: "(min-width: 767px)";
611
- lg: "(min-width: 1023px)";
612
- xl: "(min-width: 1199px)";
613
- '2xl': "(min-width: 1399px)";
614
- '3xl': "(min-width: 1600px)";
615
- }, {
616
- colors: unknown;
617
- space: unknown;
618
- shadows: unknown;
619
- fontSizes: unknown;
620
- fonts: unknown;
621
- lineHeights: unknown;
622
- letterSpacings: unknown;
623
- radii: unknown;
624
- sizes: unknown;
625
- zIndices: unknown;
626
- toastPosition: unknown;
627
- }, import("@stitches/react/types/config").DefaultThemeMap, {
628
- m: (value: {
629
- readonly [$$ScaleValue]: "space";
630
- }) => {
631
- margin: {
632
- readonly [$$ScaleValue]: "space";
633
- };
634
- };
635
- mt: (value: {
636
- readonly [$$ScaleValue]: "space";
637
- }) => {
638
- marginTop: {
639
- readonly [$$ScaleValue]: "space";
640
- };
641
- };
642
- mr: (value: {
643
- readonly [$$ScaleValue]: "space";
644
- }) => {
645
- marginRight: {
646
- readonly [$$ScaleValue]: "space";
647
- };
648
- };
649
- mb: (value: {
650
- readonly [$$ScaleValue]: "space";
651
- }) => {
652
- marginBottom: {
653
- readonly [$$ScaleValue]: "space";
654
- };
655
- };
656
- ml: (value: {
657
- readonly [$$ScaleValue]: "space";
658
- }) => {
659
- marginLeft: {
660
- readonly [$$ScaleValue]: "space";
661
- };
662
- };
663
- mx: (value: {
664
- readonly [$$ScaleValue]: "space";
665
- }) => {
666
- marginLeft: {
667
- readonly [$$ScaleValue]: "space";
668
- };
669
- marginRight: {
670
- readonly [$$ScaleValue]: "space";
671
- };
672
- };
673
- my: (value: {
674
- readonly [$$ScaleValue]: "space";
675
- }) => {
676
- marginTop: {
677
- readonly [$$ScaleValue]: "space";
678
- };
679
- marginBottom: {
680
- readonly [$$ScaleValue]: "space";
681
- };
682
- };
683
- size: (value: {
684
- readonly [$$PropertyValue]: "width";
685
- }) => {
686
- width: {
687
- readonly [$$PropertyValue]: "width";
688
- };
689
- height: {
690
- readonly [$$PropertyValue]: "width";
691
- };
692
- };
693
- subtleColor: (value: string) => {
694
- color: string;
695
- backgroundColor: string;
696
- };
697
- }>>;
698
- export declare const Cell: import("@stitches/react/types/styled-component").StyledComponent<"td", {}, {
699
- sm: "(min-width: 359px)";
700
- md: "(min-width: 767px)";
701
- lg: "(min-width: 1023px)";
702
- xl: "(min-width: 1199px)";
703
- '2xl': "(min-width: 1399px)";
704
- '3xl': "(min-width: 1600px)";
705
- }, import("@stitches/react/types/css-util").CSS<{
706
- sm: "(min-width: 359px)";
707
- md: "(min-width: 767px)";
708
- lg: "(min-width: 1023px)";
709
- xl: "(min-width: 1199px)";
710
- '2xl': "(min-width: 1399px)";
711
- '3xl': "(min-width: 1600px)";
712
- }, {
713
- colors: unknown;
714
- space: unknown;
715
- shadows: unknown;
716
- fontSizes: unknown;
717
- fonts: unknown;
718
- lineHeights: unknown;
719
- letterSpacings: unknown;
720
- radii: unknown;
721
- sizes: unknown;
722
- zIndices: unknown;
723
- toastPosition: unknown;
724
- }, import("@stitches/react/types/config").DefaultThemeMap, {
725
- m: (value: {
726
- readonly [$$ScaleValue]: "space";
727
- }) => {
728
- margin: {
729
- readonly [$$ScaleValue]: "space";
730
- };
731
- };
732
- mt: (value: {
733
- readonly [$$ScaleValue]: "space";
734
- }) => {
735
- marginTop: {
736
- readonly [$$ScaleValue]: "space";
737
- };
738
- };
739
- mr: (value: {
740
- readonly [$$ScaleValue]: "space";
741
- }) => {
742
- marginRight: {
743
- readonly [$$ScaleValue]: "space";
744
- };
745
- };
746
- mb: (value: {
747
- readonly [$$ScaleValue]: "space";
748
- }) => {
749
- marginBottom: {
750
- readonly [$$ScaleValue]: "space";
751
- };
752
- };
753
- ml: (value: {
754
- readonly [$$ScaleValue]: "space";
755
- }) => {
756
- marginLeft: {
757
- readonly [$$ScaleValue]: "space";
758
- };
759
- };
760
- mx: (value: {
761
- readonly [$$ScaleValue]: "space";
762
- }) => {
763
- marginLeft: {
764
- readonly [$$ScaleValue]: "space";
765
- };
766
- marginRight: {
767
- readonly [$$ScaleValue]: "space";
768
- };
769
- };
770
- my: (value: {
771
- readonly [$$ScaleValue]: "space";
772
- }) => {
773
- marginTop: {
774
- readonly [$$ScaleValue]: "space";
775
- };
776
- marginBottom: {
777
- readonly [$$ScaleValue]: "space";
778
- };
779
- };
780
- size: (value: {
781
- readonly [$$PropertyValue]: "width";
782
- }) => {
783
- width: {
784
- readonly [$$PropertyValue]: "width";
785
- };
786
- height: {
787
- readonly [$$PropertyValue]: "width";
788
- };
789
- };
790
- subtleColor: (value: string) => {
791
- color: string;
792
- backgroundColor: string;
793
- };
794
- }>>;
795
- export declare const TableCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {
796
- subCell?: boolean | "true" | undefined;
797
- headerSubCell?: boolean | "true" | undefined;
798
- }, {
799
- sm: "(min-width: 359px)";
800
- md: "(min-width: 767px)";
801
- lg: "(min-width: 1023px)";
802
- xl: "(min-width: 1199px)";
803
- '2xl': "(min-width: 1399px)";
804
- '3xl': "(min-width: 1600px)";
805
- }, import("@stitches/react/types/css-util").CSS<{
806
- sm: "(min-width: 359px)";
807
- md: "(min-width: 767px)";
808
- lg: "(min-width: 1023px)";
809
- xl: "(min-width: 1199px)";
810
- '2xl': "(min-width: 1399px)";
811
- '3xl': "(min-width: 1600px)";
812
- }, {
813
- colors: unknown;
814
- space: unknown;
815
- shadows: unknown;
816
- fontSizes: unknown;
817
- fonts: unknown;
818
- lineHeights: unknown;
819
- letterSpacings: unknown;
820
- radii: unknown;
821
- sizes: unknown;
822
- zIndices: unknown;
823
- toastPosition: unknown;
824
- }, import("@stitches/react/types/config").DefaultThemeMap, {
825
- m: (value: {
826
- readonly [$$ScaleValue]: "space";
827
- }) => {
828
- margin: {
829
- readonly [$$ScaleValue]: "space";
830
- };
831
- };
832
- mt: (value: {
833
- readonly [$$ScaleValue]: "space";
834
- }) => {
835
- marginTop: {
836
- readonly [$$ScaleValue]: "space";
837
- };
838
- };
839
- mr: (value: {
840
- readonly [$$ScaleValue]: "space";
841
- }) => {
842
- marginRight: {
843
- readonly [$$ScaleValue]: "space";
844
- };
845
- };
846
- mb: (value: {
847
- readonly [$$ScaleValue]: "space";
848
- }) => {
849
- marginBottom: {
850
- readonly [$$ScaleValue]: "space";
851
- };
852
- };
853
- ml: (value: {
854
- readonly [$$ScaleValue]: "space";
855
- }) => {
856
- marginLeft: {
857
- readonly [$$ScaleValue]: "space";
858
- };
859
- };
860
- mx: (value: {
861
- readonly [$$ScaleValue]: "space";
862
- }) => {
863
- marginLeft: {
864
- readonly [$$ScaleValue]: "space";
865
- };
866
- marginRight: {
867
- readonly [$$ScaleValue]: "space";
868
- };
869
- };
870
- my: (value: {
871
- readonly [$$ScaleValue]: "space";
872
- }) => {
873
- marginTop: {
874
- readonly [$$ScaleValue]: "space";
875
- };
876
- marginBottom: {
877
- readonly [$$ScaleValue]: "space";
878
- };
879
- };
880
- size: (value: {
881
- readonly [$$PropertyValue]: "width";
882
- }) => {
883
- width: {
884
- readonly [$$PropertyValue]: "width";
885
- };
886
- height: {
887
- readonly [$$PropertyValue]: "width";
888
- };
889
- };
890
- subtleColor: (value: string) => {
891
- color: string;
892
- backgroundColor: string;
893
- };
894
- }>>;
895
- export declare const TableFoot: import("@stitches/react/types/styled-component").StyledComponent<"tfoot", {}, {
896
- sm: "(min-width: 359px)";
897
- md: "(min-width: 767px)";
898
- lg: "(min-width: 1023px)";
899
- xl: "(min-width: 1199px)";
900
- '2xl': "(min-width: 1399px)";
901
- '3xl': "(min-width: 1600px)";
902
- }, import("@stitches/react/types/css-util").CSS<{
903
- sm: "(min-width: 359px)";
904
- md: "(min-width: 767px)";
905
- lg: "(min-width: 1023px)";
906
- xl: "(min-width: 1199px)";
907
- '2xl': "(min-width: 1399px)";
908
- '3xl': "(min-width: 1600px)";
909
- }, {
910
- colors: unknown;
911
- space: unknown;
912
- shadows: unknown;
913
- fontSizes: unknown;
914
- fonts: unknown;
915
- lineHeights: unknown;
916
- letterSpacings: unknown;
917
- radii: unknown;
918
- sizes: unknown;
919
- zIndices: unknown;
920
- toastPosition: unknown;
921
- }, import("@stitches/react/types/config").DefaultThemeMap, {
922
- m: (value: {
923
- readonly [$$ScaleValue]: "space";
924
- }) => {
925
- margin: {
926
- readonly [$$ScaleValue]: "space";
927
- };
928
- };
929
- mt: (value: {
930
- readonly [$$ScaleValue]: "space";
931
- }) => {
932
- marginTop: {
933
- readonly [$$ScaleValue]: "space";
934
- };
935
- };
936
- mr: (value: {
937
- readonly [$$ScaleValue]: "space";
938
- }) => {
939
- marginRight: {
940
- readonly [$$ScaleValue]: "space";
941
- };
942
- };
943
- mb: (value: {
944
- readonly [$$ScaleValue]: "space";
945
- }) => {
946
- marginBottom: {
947
- readonly [$$ScaleValue]: "space";
948
- };
949
- };
950
- ml: (value: {
951
- readonly [$$ScaleValue]: "space";
952
- }) => {
953
- marginLeft: {
954
- readonly [$$ScaleValue]: "space";
955
- };
956
- };
957
- mx: (value: {
958
- readonly [$$ScaleValue]: "space";
959
- }) => {
960
- marginLeft: {
961
- readonly [$$ScaleValue]: "space";
962
- };
963
- marginRight: {
964
- readonly [$$ScaleValue]: "space";
965
- };
966
- };
967
- my: (value: {
968
- readonly [$$ScaleValue]: "space";
969
- }) => {
970
- marginTop: {
971
- readonly [$$ScaleValue]: "space";
972
- };
973
- marginBottom: {
974
- readonly [$$ScaleValue]: "space";
975
- };
976
- };
977
- size: (value: {
978
- readonly [$$PropertyValue]: "width";
979
- }) => {
980
- width: {
981
- readonly [$$PropertyValue]: "width";
982
- };
983
- height: {
984
- readonly [$$PropertyValue]: "width";
985
- };
986
- };
987
- subtleColor: (value: string) => {
988
- color: string;
989
- backgroundColor: string;
990
- };
991
- }>>;
992
- export declare const TableFootRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {}, {
993
- sm: "(min-width: 359px)";
994
- md: "(min-width: 767px)";
995
- lg: "(min-width: 1023px)";
996
- xl: "(min-width: 1199px)";
997
- '2xl': "(min-width: 1399px)";
998
- '3xl': "(min-width: 1600px)";
999
- }, import("@stitches/react/types/css-util").CSS<{
1000
- sm: "(min-width: 359px)";
1001
- md: "(min-width: 767px)";
1002
- lg: "(min-width: 1023px)";
1003
- xl: "(min-width: 1199px)";
1004
- '2xl': "(min-width: 1399px)";
1005
- '3xl': "(min-width: 1600px)";
1006
- }, {
1007
- colors: unknown;
1008
- space: unknown;
1009
- shadows: unknown;
1010
- fontSizes: unknown;
1011
- fonts: unknown;
1012
- lineHeights: unknown;
1013
- letterSpacings: unknown;
1014
- radii: unknown;
1015
- sizes: unknown;
1016
- zIndices: unknown;
1017
- toastPosition: unknown;
1018
- }, import("@stitches/react/types/config").DefaultThemeMap, {
1019
- m: (value: {
1020
- readonly [$$ScaleValue]: "space";
1021
- }) => {
1022
- margin: {
1023
- readonly [$$ScaleValue]: "space";
1024
- };
1025
- };
1026
- mt: (value: {
1027
- readonly [$$ScaleValue]: "space";
1028
- }) => {
1029
- marginTop: {
1030
- readonly [$$ScaleValue]: "space";
1031
- };
1032
- };
1033
- mr: (value: {
1034
- readonly [$$ScaleValue]: "space";
1035
- }) => {
1036
- marginRight: {
1037
- readonly [$$ScaleValue]: "space";
1038
- };
1039
- };
1040
- mb: (value: {
1041
- readonly [$$ScaleValue]: "space";
1042
- }) => {
1043
- marginBottom: {
1044
- readonly [$$ScaleValue]: "space";
1045
- };
1046
- };
1047
- ml: (value: {
1048
- readonly [$$ScaleValue]: "space";
1049
- }) => {
1050
- marginLeft: {
1051
- readonly [$$ScaleValue]: "space";
1052
- };
1053
- };
1054
- mx: (value: {
1055
- readonly [$$ScaleValue]: "space";
1056
- }) => {
1057
- marginLeft: {
1058
- readonly [$$ScaleValue]: "space";
1059
- };
1060
- marginRight: {
1061
- readonly [$$ScaleValue]: "space";
1062
- };
1063
- };
1064
- my: (value: {
1065
- readonly [$$ScaleValue]: "space";
1066
- }) => {
1067
- marginTop: {
1068
- readonly [$$ScaleValue]: "space";
1069
- };
1070
- marginBottom: {
1071
- readonly [$$ScaleValue]: "space";
1072
- };
1073
- };
1074
- size: (value: {
1075
- readonly [$$PropertyValue]: "width";
1076
- }) => {
1077
- width: {
1078
- readonly [$$PropertyValue]: "width";
1079
- };
1080
- height: {
1081
- readonly [$$PropertyValue]: "width";
1082
- };
1083
- };
1084
- subtleColor: (value: string) => {
1085
- color: string;
1086
- backgroundColor: string;
1087
- };
1088
- }>>;
1089
- export declare const TableFootCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {}, {
1090
- sm: "(min-width: 359px)";
1091
- md: "(min-width: 767px)";
1092
- lg: "(min-width: 1023px)";
1093
- xl: "(min-width: 1199px)";
1094
- '2xl': "(min-width: 1399px)";
1095
- '3xl': "(min-width: 1600px)";
1096
- }, import("@stitches/react/types/css-util").CSS<{
1097
- sm: "(min-width: 359px)";
1098
- md: "(min-width: 767px)";
1099
- lg: "(min-width: 1023px)";
1100
- xl: "(min-width: 1199px)";
1101
- '2xl': "(min-width: 1399px)";
1102
- '3xl': "(min-width: 1600px)";
1103
- }, {
1104
- colors: unknown;
1105
- space: unknown;
1106
- shadows: unknown;
1107
- fontSizes: unknown;
1108
- fonts: unknown;
1109
- lineHeights: unknown;
1110
- letterSpacings: unknown;
1111
- radii: unknown;
1112
- sizes: unknown;
1113
- zIndices: unknown;
1114
- toastPosition: unknown;
1115
- }, import("@stitches/react/types/config").DefaultThemeMap, {
1116
- m: (value: {
1117
- readonly [$$ScaleValue]: "space";
1118
- }) => {
1119
- margin: {
1120
- readonly [$$ScaleValue]: "space";
1121
- };
1122
- };
1123
- mt: (value: {
1124
- readonly [$$ScaleValue]: "space";
1125
- }) => {
1126
- marginTop: {
1127
- readonly [$$ScaleValue]: "space";
1128
- };
1129
- };
1130
- mr: (value: {
1131
- readonly [$$ScaleValue]: "space";
1132
- }) => {
1133
- marginRight: {
1134
- readonly [$$ScaleValue]: "space";
1135
- };
1136
- };
1137
- mb: (value: {
1138
- readonly [$$ScaleValue]: "space";
1139
- }) => {
1140
- marginBottom: {
1141
- readonly [$$ScaleValue]: "space";
1142
- };
1143
- };
1144
- ml: (value: {
1145
- readonly [$$ScaleValue]: "space";
1146
- }) => {
1147
- marginLeft: {
1148
- readonly [$$ScaleValue]: "space";
1149
- };
1150
- };
1151
- mx: (value: {
1152
- readonly [$$ScaleValue]: "space";
1153
- }) => {
1154
- marginLeft: {
1155
- readonly [$$ScaleValue]: "space";
1156
- };
1157
- marginRight: {
1158
- readonly [$$ScaleValue]: "space";
1159
- };
1160
- };
1161
- my: (value: {
1162
- readonly [$$ScaleValue]: "space";
1163
- }) => {
1164
- marginTop: {
1165
- readonly [$$ScaleValue]: "space";
1166
- };
1167
- marginBottom: {
1168
- readonly [$$ScaleValue]: "space";
1169
- };
1170
- };
1171
- size: (value: {
1172
- readonly [$$PropertyValue]: "width";
1173
- }) => {
1174
- width: {
1175
- readonly [$$PropertyValue]: "width";
1176
- };
1177
- height: {
1178
- readonly [$$PropertyValue]: "width";
1179
- };
1180
- };
1181
- subtleColor: (value: string) => {
1182
- color: string;
1183
- backgroundColor: string;
1184
- };
1185
- }>>;
1186
- export declare const addOnCellStyle: (id: any) => {
1187
- style: {
1188
- width: string;
1189
- };
1190
- } | {
1191
- style?: undefined;
1192
- };
1193
- export declare const defaultFetchDataParams: FetchDataParams;
1194
- export declare const defaultEmptyDataProps: (t: any, isMobile: any) => EmptyDataProps;
1195
- interface FetchDataParams {
1196
- pageIndex?: number;
1197
- pageSize?: number;
1198
- sortAccessor?: string;
1199
- sortDirection?: string;
1200
- }
1201
- interface getCellPropParams {
1202
- css?: CSS;
1203
- sticky?: 'left' | 'right';
1204
- stickyPosition?: number;
1205
- shadow?: boolean;
1206
- }
1207
- interface CellProp {
1208
- getCellProps?: (object: getCellPropParams) => object;
1209
- }
1210
- export interface RowGroup {
1211
- groupKey: string;
1212
- headerRender?: (row: Row<object>, cell: CellProp) => React.ReactNode;
1213
- footerRender?: (row: Row<object>, cell: CellProp) => React.ReactNode;
1214
- showGroupingWhenSorted?: boolean;
1215
- isManuallyFormatted?: boolean;
1216
- }
1217
- interface CustomRowsStyle {
1218
- predicate: boolean;
1219
- css?: CSS;
1220
- hideRowMenuColumn?: boolean;
1221
- }
1222
- export interface ColumnInstanceProps<D extends object> extends ColumnInstance<D> {
1223
- options?: [];
1224
- }
1225
- export interface EmptyDataProps {
1226
- doodleImage: React.ReactNode;
1227
- title: string | React.ReactNode;
1228
- description?: string | React.ReactNode;
1229
- }
1230
- export interface Decoration {
1231
- css?: CSS;
1232
- colSpan?: number;
1233
- headerRender?: () => React.ReactNode;
1234
- footerRender?: () => React.ReactNode;
1235
- }
1236
- export interface TableProps {
1237
- /**
1238
- * The data array that you want to display on the table.
1239
- */
1240
- data: any[];
1241
- /**
1242
- * The core columns configuration object for the entire table.
1243
- */
1244
- columns: any[];
1245
- /**
1246
- * Row's unique key (for selectedIds & onSelectedChange purpose).
1247
- */
1248
- keyId?: string;
1249
- /**
1250
- * The index of the page that should be displayed.
1251
- */
1252
- pageIndex?: number;
1253
- /**
1254
- * Total amount of the data.
1255
- */
1256
- totalData?: number;
1257
- /**
1258
- * Total amount of the page.
1259
- */
1260
- totalPage?: number;
1261
- /**
1262
- * Function executed when pagination or sorter is changed.<br/>
1263
- * interface FetchDataParams { <br/>
1264
- * &nbsp;&nbsp;&nbsp;&nbsp;pageIndex?: number;<br/>
1265
- * &nbsp;&nbsp;&nbsp;&nbsp;pageSize?: number;<br/>
1266
- * &nbsp;&nbsp;&nbsp;&nbsp;sortAccessor?: string;<br/>
1267
- * &nbsp;&nbsp;&nbsp;&nbsp;sortDirection?: string;<br/>
1268
- * }
1269
- */
1270
- fetchData?: (params: FetchDataParams) => void;
1271
- /**
1272
- * Loading status of table.
1273
- */
1274
- isLoading?: boolean;
1275
- /**
1276
- * Additional styles css.
1277
- */
1278
- css?: CSS;
1279
- /**
1280
- * Additional outer container styles css.
1281
- */
1282
- outerContainerCss?: CSS;
1283
- /**
1284
- * Table header css styling.
1285
- */
1286
- headerCss?: CSS;
1287
- /**
1288
- * Hide table header.
1289
- */
1290
- hideHeader?: boolean;
1291
- /**
1292
- * Callback fired when the selected rows are updated.
1293
- */
1294
- onSelectedChange?: (selectedIds: string[]) => void;
1295
- /**
1296
- * If true, the left-side footer component is hidden.
1297
- */
1298
- hideDataInfo?: boolean;
1299
- /**
1300
- * Customizes the options of the rows per page select field.
1301
- */
1302
- rowsPerPageOptions?: number[];
1303
- /**
1304
- * DEPRECATED (USELESS PROP).
1305
- */
1306
- emptyDataMessage?: string;
1307
- /**
1308
- * Define custom empty data props.<br/>
1309
- * interface EmptyDataProps { <br/>
1310
- * &nbsp;&nbsp;&nbsp;&nbsp;(define the doodle image component)<br/>
1311
- * &nbsp;&nbsp;&nbsp;&nbsp;doodleImage?: React.ReactNode;<br/>
1312
- * &nbsp;&nbsp;&nbsp;&nbsp;(define the title)<br/>
1313
- * &nbsp;&nbsp;&nbsp;&nbsp;title?: string | React.ReactNode;<br/>
1314
- * &nbsp;&nbsp;&nbsp;&nbsp;(define the description)<br/>
1315
- * &nbsp;&nbsp;&nbsp;&nbsp;description?: string | React.ReactNode;<br/>
1316
- * }
1317
- */
1318
- customEmptyDataProps?: EmptyDataProps;
1319
- /**
1320
- * If true, the table pagination will become an infinite scroll.
1321
- */
1322
- isInfiniteScroll?: boolean;
1323
- /**
1324
- * Determine whether more data can be loaded.
1325
- */
1326
- hasMoreItems?: boolean;
1327
- /**
1328
- * Determines the amount of rows on any given page.
1329
- */
1330
- rowLimit?: number;
1331
- /**
1332
- * optional condition for set table limitless
1333
- */
1334
- withoutLimit?: boolean;
1335
- /**
1336
- * Specify the table cell align position.
1337
- */
1338
- cellAlign?: 'top' | 'center' | 'bottom';
1339
- /**
1340
- * Selected data id (based on the keyId prop).
1341
- * Example:<br/>
1342
- * {
1343
- * '8192389219289': true,
1344
- * '2130912039281': true,
1345
- * '2130912039382': true
1346
- * }
1347
- */
1348
- selectedIds?: Record<string, boolean>;
1349
- /**
1350
- * Define row grouping config.<br/>
1351
- * interface RowGroup { <br/>
1352
- * &nbsp;&nbsp;&nbsp;&nbsp;(define the child key of parent object)<br/>
1353
- * &nbsp;&nbsp;&nbsp;&nbsp;groupKey?: number;<br/>
1354
- * &nbsp;&nbsp;&nbsp;&nbsp;(define the header node)<br/>
1355
- * &nbsp;&nbsp;&nbsp;&nbsp;headerRender?: (row: Row) => React.ReactNode;<br/>
1356
- * &nbsp;&nbsp;&nbsp;&nbsp;(define the footer node)<br/>
1357
- * &nbsp;&nbsp;&nbsp;&nbsp;footerRender?: (row: Row) => React.ReactNode;<br/>
1358
- * &nbsp;&nbsp;&nbsp;&nbsp;(if true, the header and the footer will be visible when the data sorted)<br/>
1359
- * &nbsp;&nbsp;&nbsp;&nbsp;showGroupingWhenSorted?: boolean;<br/>
1360
- * }
1361
- */
1362
- rowGroup?: RowGroup;
1363
- decoration?: Decoration;
1364
- /**
1365
- * Array of hidden column id
1366
- */
1367
- hiddenColumns?: string[];
1368
- /**
1369
- * The order of column id
1370
- */
1371
- columnOrder?: string[];
1372
- /**
1373
- * Additional style to customize one of the rows based on the specified condition
1374
- */
1375
- customRowsStyle?: (e: any) => CustomRowsStyle[];
1376
- /**
1377
- * Override isMobile condition
1378
- */
1379
- isMobileLayout?: boolean;
1380
- /**
1381
- * To show duplicated data in table.
1382
- */
1383
- showDuplicatedData?: boolean;
1384
- onRowClick?: (record: Row, index: number) => void;
1385
- /**
1386
- * Additional props for Hide Pagination
1387
- */
1388
- hidePagination?: boolean;
1389
- /**
1390
- * The search query to display inside the doodle
1391
- */
1392
- searchQuery?: string;
1393
- /**
1394
- * Additional id which is not clickable and has no context menu
1395
- */
1396
- additionalExceptionIds?: string[];
1397
- /**
1398
- * Additional props for set manual expanded row column
1399
- * Example:<br/>
1400
- * {
1401
- * '8192389219289': true,
1402
- * '2130912039281': true,
1403
- * '2130912039382': true
1404
- * }
1405
- */
1406
- expanded?: object;
1407
- /**
1408
- * Callback fired when the expanded rows are updated.
1409
- */
1410
- onExpandedChange?: (expanded: object) => void;
1411
- /**
1412
- * Additional props for autoResetExpanded
1413
- */
1414
- autoResetExpanded?: boolean;
1415
- /**
1416
- * Additional id table for unique identifier each table <br />
1417
- * if id exist, column in the header can be customize to show in table <br />
1418
- * can be filled with 'string' value eg: 'product_table'
1419
- */
1420
- id?: string | null;
1421
- /**
1422
- * Callback for event whenever column header changed <br />
1423
- * return value should be 'string[]'
1424
- */
1425
- onColumnChange?: (filteredHeader: any[]) => void;
1426
- /**
1427
- * Activate table row Virtualized support
1428
- */
1429
- virtualized?: boolean;
1430
- /**
1431
- * Add additional table header component
1432
- */
1433
- additionalHeader?: React.ReactNode;
1434
- /**
1435
- * Additional props for autoResetExpanded
1436
- */
1437
- autoResetExpanded?: boolean;
1438
- /**
1439
- * Additional props for draggable row
1440
- */
1441
- draggable?: boolean;
1442
- /**
1443
- * callback of new record for draggable row
1444
- */
1445
- onDragEnd?: (records: any[]) => void;
1446
- /**
1447
- * expand table without limit, please use pagination component
1448
- */
1449
- isExpandableTree?: boolean;
1450
- /**
1451
- * key for subRows
1452
- *
1453
- */
1454
- subRows?: string;
1455
- }
1456
- export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, expanded: controlledExpanded, onExpandedChange, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, draggable, onDragEnd, isExpandableTree, subRows, }: TableProps): JSX.Element;
1457
- export interface TableColumnProps {
1458
- /**
1459
- * Required if accessor is a function<br/>
1460
- * This is the unique ID for the column. It is used by reference in things like sorting, grouping, filtering etc.
1461
- * If a string accessor is used, it defaults as the column ID, but can be overridden if necessary.
1462
- */
1463
- id: string;
1464
- /**
1465
- * Column header name
1466
- */
1467
- Header?: string | (() => string | null) | null;
1468
- /**
1469
- * This string/function is used to build the data model for your column.
1470
- * The data returned by an accessor should be primitive and sortable.
1471
- */
1472
- accessor: string | ((originalRow: any, rowIndex: any) => any);
1473
- /**
1474
- * This function (or component) is primarily used for formatting the column value,<br/>
1475
- * eg. If your column accessor returns a date object, you can use a Cell function to format that date to a readable format.
1476
- */
1477
- Cell: (props: CellProps<any>) => React.ReactNode;
1478
- /**
1479
- * Required if responsive mobile layout is needed.<br/>
1480
- * If true, the column will become main column on mobile layout.
1481
- */
1482
- isMobileHeader: boolean;
1483
- /**
1484
- * If true, the column will be rendered on the expanded row.
1485
- */
1486
- isSubRow?: boolean;
1487
- /**
1488
- * If true, the subrow column will be custom rendered.
1489
- */
1490
- isCustomSubRow?: boolean;
1491
- /**
1492
- * If false, the column will be sortable.
1493
- */
1494
- unsortable?: boolean;
1495
- /**
1496
- * Specifies the width for the column.
1497
- */
1498
- colWidth?: number;
1499
- /**
1500
- * Specifies the maximum width for the column.
1501
- */
1502
- colMaxWidth?: number;
1503
- /**
1504
- * Specifies the minimum width for the column.
1505
- */
1506
- colMinWidth?: number;
1507
- /**
1508
- * Specifies the sticky column order position.
1509
- */
1510
- sticky?: 'left' | 'right';
1511
- /**
1512
- * Specifies the sticky column absolute position.
1513
- */
1514
- stickyPosition?: number;
1515
- /**
1516
- * If true, the column will be rendered on the bottom flex of mobile layout.
1517
- */
1518
- isAction?: boolean;
1519
- /**
1520
- * if true, the column that sticky will be styled with box shadow
1521
- */
1522
- shadow?: boolean;
1523
- /**
1524
- * Additional column header styles css.
1525
- */
1526
- headerCss?: CSS;
1527
- }
1528
- export declare const TableColumn: React.FC<TableColumnProps>;
1529
- export {};