@majoo-ui/react 1.61.24 → 1.61.25-rc.2
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/index.d.ts +1 -5
- package/index.esm.js +24546 -26967
- package/package.json +4 -4
- package/{colors → src/colors}/index.d.ts +1 -1
- package/{components → src/components}/accordion/Accordion.d.ts +35 -35
- package/{components → src/components}/accordion/index.d.ts +1 -1
- package/{components → src/components}/barChart/BarChart.d.ts +82 -82
- package/{components → src/components}/barChart/index.d.ts +1 -1
- package/{components → src/components}/breadcrumb/index.d.ts +7 -7
- package/{components → src/components}/button/index.d.ts +2 -2
- package/{components → src/components}/card/index.d.ts +2 -2
- package/{components → src/components}/chart/index.d.ts +1 -1
- package/{components → src/components}/chart/lineChart/LineChart.d.ts +80 -80
- package/{components → src/components}/chart/lineChart/components/Comparator.d.ts +16 -16
- package/{components → src/components}/chart/lineChart/components/ComparatorController.d.ts +8 -8
- package/{components → src/components}/chart/lineChart/components/ComparatorItem.d.ts +10 -10
- package/{components → src/components}/chart/lineChart/components/ProductList.d.ts +10 -10
- package/{components → src/components}/chart/lineChart/components/TitleLegend.d.ts +19 -19
- package/{components → src/components}/chart/lineChart/components/Tooltip.d.ts +21 -21
- package/{components → src/components}/chart/lineChart/index.d.ts +1 -1
- package/{components → src/components}/chart/utils/index.d.ts +18 -18
- package/{components → src/components}/checkboxTable/CheckboxTable.d.ts +29 -29
- package/{components → src/components}/checkboxTable/index.d.ts +1 -1
- package/{components → src/components}/checkboxTable/transition.d.ts +11 -11
- package/{components → src/components}/contentEditor/ContentEditor.d.ts +44 -44
- package/{components → src/components}/contentEditor/index.d.ts +1 -1
- package/{components → src/components}/contextMenu/index.d.ts +1 -1
- package/{components → src/components}/datePicker/AdvancedOption.d.ts +12 -12
- package/{components → src/components}/datePicker/CustomDatePicker.d.ts +63 -63
- package/{components → src/components}/datePicker/DatePicker.d.ts +10 -10
- package/{components → src/components}/datePicker/DatePickerMulti.d.ts +11 -11
- package/{components → src/components}/datePicker/InputDatePicker.d.ts +170 -170
- package/{components → src/components}/datePicker/InputDateRangePicker.d.ts +26 -26
- package/{components → src/components}/datePicker/components/Calendar.d.ts +32 -32
- package/{components → src/components}/datePicker/components/CalendarMulti.d.ts +21 -21
- package/{components → src/components}/datePicker/components/CalendarTimePicker.d.ts +11 -11
- package/{components → src/components}/datePicker/components/MobileCalendar.d.ts +4 -4
- package/{components → src/components}/datePicker/components/index.d.ts +6 -6
- package/{components → src/components}/datePicker/index.d.ts +7 -7
- package/{components → src/components}/datePicker/state/reducer.d.ts +26 -26
- package/{components → src/components}/datePicker/timePicker/index.d.ts +4 -4
- package/{components → src/components}/devicePreview/index.d.ts +2 -2
- package/{components → src/components}/dialog/index.d.ts +2 -2
- package/{components → src/components}/editableTable/Columns.d.ts +59 -59
- package/{components → src/components}/editableTable/EditableMobile.d.ts +23 -23
- package/{components → src/components}/editableTable/EditableTable.d.ts +432 -432
- package/{components → src/components}/editableTable/faker.d.ts +16 -16
- package/{components → src/components}/editableTable/index.d.ts +2 -2
- package/{components → src/components}/form/components/InputCombobox/InputCombobox.d.ts +43 -43
- package/{components → src/components}/form/components/InputCombobox/index.d.ts +1 -1
- package/{components → src/components}/form/components/InputCounter/InputCounter.d.ts +58 -58
- package/{components → src/components}/form/components/InputCounter/index.d.ts +2 -2
- package/{components → src/components}/form/components/InputDateRange/InputDateRange.d.ts +39 -39
- package/{components → src/components}/form/components/InputDateRange/index.d.ts +2 -2
- package/{components → src/components}/form/components/InputElement/index.d.ts +1 -1
- package/{components → src/components}/form/components/InputGroup/index.d.ts +1 -1
- package/{components → src/components}/form/components/InputOTP/InputOTP.d.ts +108 -108
- package/{components → src/components}/form/components/InputOTP/index.d.ts +2 -2
- package/{components → src/components}/form/components/InputResourceList/InputResourceList.d.ts +39 -39
- package/{components → src/components}/form/components/InputSelect/index.d.ts +2 -2
- package/{components → src/components}/form/components/InputSelectCheck/OptionGroupItem.d.ts +5 -5
- package/{components → src/components}/form/components/InputSignature/InputSignature.d.ts +12 -12
- package/{components → src/components}/form/components/InputSignature/SignatureModal.d.ts +11 -11
- package/{components → src/components}/form/components/InputSignature/index.d.ts +2 -2
- package/{components → src/components}/form/components/InputText/index.d.ts +1 -1
- package/{components → src/components}/form/components/index.d.ts +27 -27
- package/{components → src/components}/form/index.d.ts +1 -1
- package/{components → src/components}/heading/index.d.ts +2 -2
- package/{components → src/components}/image/index.d.ts +2 -2
- package/{components → src/components}/index.d.ts +53 -53
- package/{components → src/components}/link/index.d.ts +1 -1
- package/{components → src/components}/loadingBar/LoadingBar.d.ts +51 -51
- package/{components → src/components}/loadingBar/index.d.ts +1 -1
- package/{components → src/components}/mapPicker/InputMapPicker.d.ts +4 -4
- package/{components → src/components}/mapPicker/MapPicker.d.ts +17 -17
- package/{components → src/components}/mapPicker/index.d.ts +2 -2
- package/{components → src/components}/mapPicker/types/index.d.ts +103 -103
- package/{components → src/components}/modalDialog/index.d.ts +2 -2
- package/{components → src/components}/pageDialog/index.d.ts +1 -1
- package/{components → src/components}/paragraph/index.d.ts +2 -2
- package/{components → src/components}/pieChart/PieChart.d.ts +100 -100
- package/{components → src/components}/pieChart/index.d.ts +1 -1
- package/{components → src/components}/progressIndicator/ProgressIndicator.d.ts +17 -17
- package/{components → src/components}/progressIndicator/index.d.ts +1 -1
- package/{components → src/components}/scrollSync/ScrollSync.d.ts +45 -45
- package/{components → src/components}/scrollSync/ScrollSyncNode.d.ts +32 -32
- package/{components → src/components}/scrollSync/index.d.ts +2 -2
- package/{components → src/components}/scrollSync/utils.d.ts +3 -3
- package/{components → src/components}/separator/index.d.ts +2 -2
- package/{components → src/components}/skeleton/Skeleton.d.ts +19 -19
- package/{components → src/components}/skeleton/index.d.ts +1 -1
- package/{components → src/components}/stepWizard/index.d.ts +45 -45
- package/{components → src/components}/table/MobileTable.d.ts +39 -39
- package/{components → src/components}/table/index.d.ts +3 -3
- package/{components → src/components}/tableOfContent/index.d.ts +57 -57
- package/{components → src/components}/tagList/TagList.d.ts +21 -21
- package/{components → src/components}/tagList/index.d.ts +1 -1
- package/{components → src/components}/text/index.d.ts +2 -2
- package/{components → src/components}/upload/utils/canvasPreview.d.ts +2 -2
- package/{components → src/components}/upload/utils/imgPreview.d.ts +2 -2
- package/{foundations → src/foundations}/indices/Indices.d.ts +2 -2
- package/{foundations → src/foundations}/radii/Radii.d.ts +2 -2
- package/{foundations → src/foundations}/space/Space.d.ts +2 -2
- package/{hooks → src/hooks}/index.d.ts +2 -2
- package/{hooks → src/hooks}/useListOption/useListOption.d.ts +8 -8
- package/{hooks → src/hooks}/useToggle/useToggle.d.ts +1 -1
- package/src/index.d.ts +5 -0
- package/{layout → src/layout}/box/index.d.ts +1 -1
- package/{layout → src/layout}/flex/index.d.ts +2 -2
- package/{layout → src/layout}/grid/index.d.ts +2 -2
- package/{layout → src/layout}/index.d.ts +4 -4
- package/{type → src/type}/base.types.d.ts +11 -11
- package/src/type/stitches.types.d.ts +1 -0
- package/{utils → src/utils}/request.d.ts +14 -14
- package/{utils → src/utils}/useNavigatorOnline.d.ts +2 -2
- package/{utils → src/utils}/variant.d.ts +4 -4
- package/components/alert-backup/index.backup.d.ts +0 -1
- package/components/button/Button.d.ts +0 -163
- package/components/card/Card.d.ts +0 -531
- package/components/contextMenu/ContextMenu.d.ts +0 -404
- package/components/datePicker/components/DateNumber.d.ts +0 -104
- package/components/devicePreview/DevicePreview.d.ts +0 -161
- package/components/dialog/Dialog.d.ts +0 -402
- package/components/form/components/InputCombobox/InputCombobox.backup.d.ts +0 -43
- package/components/form/components/InputSelect/InputSelect.d.ts +0 -862
- package/components/heading/Heading.d.ts +0 -100
- package/components/link/Link.d.ts +0 -109
- package/components/modalDialog/ModalDialog.d.ts +0 -836
- package/components/pageDialog/PageDialog.d.ts +0 -810
- package/components/table/Table.d.ts +0 -1529
- package/config/stitches.config.d.ts +0 -645
- package/foundations/typography/Typography.d.ts +0 -396
- package/type/stitches.types.d.ts +0 -1
|
@@ -1,432 +1,432 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Column, Row, SortingRule } from 'react-table';
|
|
3
|
-
import { CSS } from '../../config/stitches.config';
|
|
4
|
-
import { EmptyDataProps } from '../table/Table';
|
|
5
|
-
interface CustomRows {
|
|
6
|
-
predicate: boolean;
|
|
7
|
-
css?: CSS;
|
|
8
|
-
Row?: any;
|
|
9
|
-
showInMobile?: boolean;
|
|
10
|
-
}
|
|
11
|
-
interface EditableTableProps<Data extends object> {
|
|
12
|
-
css?: CSS;
|
|
13
|
-
/**
|
|
14
|
-
* Columns of table.
|
|
15
|
-
*/
|
|
16
|
-
columns: ReadonlyArray<Column<Data>>;
|
|
17
|
-
/**
|
|
18
|
-
* Data record array to be displayed.
|
|
19
|
-
*/
|
|
20
|
-
data: Data[];
|
|
21
|
-
/**
|
|
22
|
-
* Define custom empty data props.<br/>
|
|
23
|
-
* interface EmptyDataProps { <br/>
|
|
24
|
-
* (define the doodle image component)<br/>
|
|
25
|
-
* doodleImage?: React.ReactNode;<br/>
|
|
26
|
-
* (define the title)<br/>
|
|
27
|
-
* title?: string | React.ReactNode;<br/>
|
|
28
|
-
* (define the description)<br/>
|
|
29
|
-
* description?: string | React.ReactNode;<br/>
|
|
30
|
-
* }
|
|
31
|
-
*/
|
|
32
|
-
customEmptyDataProps?: EmptyDataProps;
|
|
33
|
-
/**
|
|
34
|
-
* Additional height of the rows.
|
|
35
|
-
*/
|
|
36
|
-
rowHeight?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Additional align items of the rows.
|
|
39
|
-
*/
|
|
40
|
-
align?: 'top' | 'center' | 'bottom';
|
|
41
|
-
/**
|
|
42
|
-
* Additional customize one of the rows based on the specified condition
|
|
43
|
-
*/
|
|
44
|
-
customRows?: (row: Row<object>) => CustomRows[];
|
|
45
|
-
/**
|
|
46
|
-
* Show checkbox table selection.
|
|
47
|
-
*/
|
|
48
|
-
showCheckbox?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Change event handler table selection.
|
|
51
|
-
*/
|
|
52
|
-
onSelectedChange?: (data: any) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Checkbox callback props.
|
|
55
|
-
*/
|
|
56
|
-
getCheckboxProps?: (data: any) => void;
|
|
57
|
-
/**
|
|
58
|
-
* Row's unique key (for selectedIds & onSelectedChange purpose).
|
|
59
|
-
*/
|
|
60
|
-
keyId?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Selected data id (based on the keyId prop).
|
|
63
|
-
* Example:<br/>
|
|
64
|
-
* {
|
|
65
|
-
* '8192389219289': true,
|
|
66
|
-
* '2130912039281': true,
|
|
67
|
-
* '2130912039382': true
|
|
68
|
-
* }
|
|
69
|
-
*/
|
|
70
|
-
selectedIds?: Record<string, boolean>;
|
|
71
|
-
/**
|
|
72
|
-
* expanded row callback.
|
|
73
|
-
*/
|
|
74
|
-
onExpand?: (expanded: boolean) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Override isMobile condition
|
|
77
|
-
*/
|
|
78
|
-
isMobileLayout?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Array of hidden column id
|
|
81
|
-
*/
|
|
82
|
-
hiddenColumns?: string[];
|
|
83
|
-
/**
|
|
84
|
-
* Activate table row virtualizer support
|
|
85
|
-
*/
|
|
86
|
-
virtualized?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Sort by changes callback
|
|
89
|
-
*/
|
|
90
|
-
onSortByChange?: (sortBy: SortingRule<object>[]) => void;
|
|
91
|
-
}
|
|
92
|
-
interface RemoveProps {
|
|
93
|
-
position?: 'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop';
|
|
94
|
-
onRemove?: React.ChangeEventHandler;
|
|
95
|
-
}
|
|
96
|
-
declare function EditableTable(props: EditableTableProps<any>): JSX.Element;
|
|
97
|
-
declare namespace EditableTable {
|
|
98
|
-
var Product: ({ name, label, variants }: {
|
|
99
|
-
name: any;
|
|
100
|
-
label: any;
|
|
101
|
-
variants: any;
|
|
102
|
-
}) => JSX.Element;
|
|
103
|
-
var Input: import("@stitches/react/types/styled-component").StyledComponent<any, {}, {
|
|
104
|
-
sm: "(min-width: 359px)";
|
|
105
|
-
md: "(min-width: 767px)";
|
|
106
|
-
lg: "(min-width: 1023px)";
|
|
107
|
-
xl: "(min-width: 1199px)";
|
|
108
|
-
'2xl': "(min-width: 1399px)";
|
|
109
|
-
'3xl': "(min-width: 1600px)";
|
|
110
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
111
|
-
sm: "(min-width: 359px)";
|
|
112
|
-
md: "(min-width: 767px)";
|
|
113
|
-
lg: "(min-width: 1023px)";
|
|
114
|
-
xl: "(min-width: 1199px)";
|
|
115
|
-
'2xl': "(min-width: 1399px)";
|
|
116
|
-
'3xl': "(min-width: 1600px)";
|
|
117
|
-
}, {
|
|
118
|
-
colors: unknown;
|
|
119
|
-
space: unknown;
|
|
120
|
-
shadows: unknown;
|
|
121
|
-
fontSizes: unknown;
|
|
122
|
-
fonts: unknown;
|
|
123
|
-
lineHeights: unknown;
|
|
124
|
-
letterSpacings: unknown;
|
|
125
|
-
radii: unknown;
|
|
126
|
-
sizes: unknown;
|
|
127
|
-
zIndices: unknown;
|
|
128
|
-
toastPosition: unknown;
|
|
129
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
130
|
-
m: (value: {
|
|
131
|
-
readonly [$$ScaleValue]: "space";
|
|
132
|
-
}) => {
|
|
133
|
-
margin: {
|
|
134
|
-
readonly [$$ScaleValue]: "space";
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
mt: (value: {
|
|
138
|
-
readonly [$$ScaleValue]: "space";
|
|
139
|
-
}) => {
|
|
140
|
-
marginTop: {
|
|
141
|
-
readonly [$$ScaleValue]: "space";
|
|
142
|
-
}; /**
|
|
143
|
-
* Define custom empty data props.<br/>
|
|
144
|
-
* interface EmptyDataProps { <br/>
|
|
145
|
-
* (define the doodle image component)<br/>
|
|
146
|
-
* doodleImage?: React.ReactNode;<br/>
|
|
147
|
-
* (define the title)<br/>
|
|
148
|
-
* title?: string | React.ReactNode;<br/>
|
|
149
|
-
* (define the description)<br/>
|
|
150
|
-
* description?: string | React.ReactNode;<br/>
|
|
151
|
-
* }
|
|
152
|
-
*/
|
|
153
|
-
};
|
|
154
|
-
mr: (value: {
|
|
155
|
-
readonly [$$ScaleValue]: "space";
|
|
156
|
-
}) => {
|
|
157
|
-
marginRight: {
|
|
158
|
-
readonly [$$ScaleValue]: "space";
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
mb: (value: {
|
|
162
|
-
readonly [$$ScaleValue]: "space";
|
|
163
|
-
}) => {
|
|
164
|
-
marginBottom: {
|
|
165
|
-
readonly [$$ScaleValue]: "space";
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
ml: (value: {
|
|
169
|
-
readonly [$$ScaleValue]: "space";
|
|
170
|
-
}) => {
|
|
171
|
-
marginLeft: {
|
|
172
|
-
readonly [$$ScaleValue]: "space";
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
mx: (value: {
|
|
176
|
-
readonly [$$ScaleValue]: "space";
|
|
177
|
-
}) => {
|
|
178
|
-
marginLeft: {
|
|
179
|
-
readonly [$$ScaleValue]: "space";
|
|
180
|
-
};
|
|
181
|
-
marginRight: {
|
|
182
|
-
readonly [$$ScaleValue]: "space";
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
my: (value: {
|
|
186
|
-
readonly [$$ScaleValue]: "space";
|
|
187
|
-
}) => {
|
|
188
|
-
marginTop: {
|
|
189
|
-
readonly [$$ScaleValue]: "space";
|
|
190
|
-
};
|
|
191
|
-
marginBottom: {
|
|
192
|
-
readonly [$$ScaleValue]: "space";
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
size: (value: {
|
|
196
|
-
readonly [$$PropertyValue]: "width";
|
|
197
|
-
}) => {
|
|
198
|
-
width: {
|
|
199
|
-
readonly [$$PropertyValue]: "width";
|
|
200
|
-
};
|
|
201
|
-
height: {
|
|
202
|
-
readonly [$$PropertyValue]: "width";
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
subtleColor: (value: string) => {
|
|
206
|
-
color: string;
|
|
207
|
-
backgroundColor: string;
|
|
208
|
-
};
|
|
209
|
-
}>>;
|
|
210
|
-
var Switch: (props: any) => JSX.Element;
|
|
211
|
-
var Remove: (props: RemoveProps) => JSX.Element;
|
|
212
|
-
var TableRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {
|
|
213
|
-
subRow?: boolean | "true" | undefined;
|
|
214
|
-
}, {
|
|
215
|
-
sm: "(min-width: 359px)";
|
|
216
|
-
md: "(min-width: 767px)";
|
|
217
|
-
lg: "(min-width: 1023px)";
|
|
218
|
-
xl: "(min-width: 1199px)";
|
|
219
|
-
'2xl': "(min-width: 1399px)";
|
|
220
|
-
'3xl': "(min-width: 1600px)";
|
|
221
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
222
|
-
sm: "(min-width: 359px)";
|
|
223
|
-
md: "(min-width: 767px)";
|
|
224
|
-
lg: "(min-width: 1023px)";
|
|
225
|
-
xl: "(min-width: 1199px)";
|
|
226
|
-
'2xl': "(min-width: 1399px)";
|
|
227
|
-
'3xl': "(min-width: 1600px)";
|
|
228
|
-
}, {
|
|
229
|
-
colors: unknown;
|
|
230
|
-
space: unknown;
|
|
231
|
-
shadows: unknown;
|
|
232
|
-
fontSizes: unknown;
|
|
233
|
-
fonts: unknown;
|
|
234
|
-
lineHeights: unknown;
|
|
235
|
-
letterSpacings: unknown;
|
|
236
|
-
radii: unknown;
|
|
237
|
-
sizes: unknown;
|
|
238
|
-
zIndices: unknown;
|
|
239
|
-
toastPosition: unknown;
|
|
240
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
241
|
-
m: (value: {
|
|
242
|
-
readonly [$$ScaleValue]: "space";
|
|
243
|
-
}) => {
|
|
244
|
-
margin: {
|
|
245
|
-
readonly [$$ScaleValue]: "space";
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
mt: (value: {
|
|
249
|
-
readonly [$$ScaleValue]: "space";
|
|
250
|
-
}) => {
|
|
251
|
-
marginTop: {
|
|
252
|
-
readonly [$$ScaleValue]: "space";
|
|
253
|
-
}; /**
|
|
254
|
-
* Define custom empty data props.<br/>
|
|
255
|
-
* interface EmptyDataProps { <br/>
|
|
256
|
-
* (define the doodle image component)<br/>
|
|
257
|
-
* doodleImage?: React.ReactNode;<br/>
|
|
258
|
-
* (define the title)<br/>
|
|
259
|
-
* title?: string | React.ReactNode;<br/>
|
|
260
|
-
* (define the description)<br/>
|
|
261
|
-
* description?: string | React.ReactNode;<br/>
|
|
262
|
-
* }
|
|
263
|
-
*/
|
|
264
|
-
};
|
|
265
|
-
mr: (value: {
|
|
266
|
-
readonly [$$ScaleValue]: "space";
|
|
267
|
-
}) => {
|
|
268
|
-
marginRight: {
|
|
269
|
-
readonly [$$ScaleValue]: "space";
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
mb: (value: {
|
|
273
|
-
readonly [$$ScaleValue]: "space";
|
|
274
|
-
}) => {
|
|
275
|
-
marginBottom: {
|
|
276
|
-
readonly [$$ScaleValue]: "space";
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
ml: (value: {
|
|
280
|
-
readonly [$$ScaleValue]: "space";
|
|
281
|
-
}) => {
|
|
282
|
-
marginLeft: {
|
|
283
|
-
readonly [$$ScaleValue]: "space";
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
mx: (value: {
|
|
287
|
-
readonly [$$ScaleValue]: "space";
|
|
288
|
-
}) => {
|
|
289
|
-
marginLeft: {
|
|
290
|
-
readonly [$$ScaleValue]: "space";
|
|
291
|
-
};
|
|
292
|
-
marginRight: {
|
|
293
|
-
readonly [$$ScaleValue]: "space";
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
my: (value: {
|
|
297
|
-
readonly [$$ScaleValue]: "space";
|
|
298
|
-
}) => {
|
|
299
|
-
marginTop: {
|
|
300
|
-
readonly [$$ScaleValue]: "space";
|
|
301
|
-
};
|
|
302
|
-
marginBottom: {
|
|
303
|
-
readonly [$$ScaleValue]: "space";
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
size: (value: {
|
|
307
|
-
readonly [$$PropertyValue]: "width";
|
|
308
|
-
}) => {
|
|
309
|
-
width: {
|
|
310
|
-
readonly [$$PropertyValue]: "width";
|
|
311
|
-
};
|
|
312
|
-
height: {
|
|
313
|
-
readonly [$$PropertyValue]: "width";
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
subtleColor: (value: string) => {
|
|
317
|
-
color: string;
|
|
318
|
-
backgroundColor: string;
|
|
319
|
-
};
|
|
320
|
-
}>>;
|
|
321
|
-
var TableCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {
|
|
322
|
-
verticalAlign?: "bottom" | "top" | "middle" | undefined;
|
|
323
|
-
}, {
|
|
324
|
-
sm: "(min-width: 359px)";
|
|
325
|
-
md: "(min-width: 767px)";
|
|
326
|
-
lg: "(min-width: 1023px)";
|
|
327
|
-
xl: "(min-width: 1199px)";
|
|
328
|
-
'2xl': "(min-width: 1399px)";
|
|
329
|
-
'3xl': "(min-width: 1600px)";
|
|
330
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
331
|
-
sm: "(min-width: 359px)";
|
|
332
|
-
md: "(min-width: 767px)";
|
|
333
|
-
lg: "(min-width: 1023px)";
|
|
334
|
-
xl: "(min-width: 1199px)";
|
|
335
|
-
'2xl': "(min-width: 1399px)";
|
|
336
|
-
'3xl': "(min-width: 1600px)";
|
|
337
|
-
}, {
|
|
338
|
-
colors: unknown;
|
|
339
|
-
space: unknown;
|
|
340
|
-
shadows: unknown;
|
|
341
|
-
fontSizes: unknown;
|
|
342
|
-
fonts: unknown;
|
|
343
|
-
lineHeights: unknown;
|
|
344
|
-
letterSpacings: unknown;
|
|
345
|
-
radii: unknown;
|
|
346
|
-
sizes: unknown;
|
|
347
|
-
zIndices: unknown;
|
|
348
|
-
toastPosition: unknown;
|
|
349
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
350
|
-
m: (value: {
|
|
351
|
-
readonly [$$ScaleValue]: "space";
|
|
352
|
-
}) => {
|
|
353
|
-
margin: {
|
|
354
|
-
readonly [$$ScaleValue]: "space";
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
mt: (value: {
|
|
358
|
-
readonly [$$ScaleValue]: "space";
|
|
359
|
-
}) => {
|
|
360
|
-
marginTop: {
|
|
361
|
-
readonly [$$ScaleValue]: "space";
|
|
362
|
-
}; /**
|
|
363
|
-
* Define custom empty data props.<br/>
|
|
364
|
-
* interface EmptyDataProps { <br/>
|
|
365
|
-
* (define the doodle image component)<br/>
|
|
366
|
-
* doodleImage?: React.ReactNode;<br/>
|
|
367
|
-
* (define the title)<br/>
|
|
368
|
-
* title?: string | React.ReactNode;<br/>
|
|
369
|
-
* (define the description)<br/>
|
|
370
|
-
* description?: string | React.ReactNode;<br/>
|
|
371
|
-
* }
|
|
372
|
-
*/
|
|
373
|
-
};
|
|
374
|
-
mr: (value: {
|
|
375
|
-
readonly [$$ScaleValue]: "space";
|
|
376
|
-
}) => {
|
|
377
|
-
marginRight: {
|
|
378
|
-
readonly [$$ScaleValue]: "space";
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
mb: (value: {
|
|
382
|
-
readonly [$$ScaleValue]: "space";
|
|
383
|
-
}) => {
|
|
384
|
-
marginBottom: {
|
|
385
|
-
readonly [$$ScaleValue]: "space";
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
ml: (value: {
|
|
389
|
-
readonly [$$ScaleValue]: "space";
|
|
390
|
-
}) => {
|
|
391
|
-
marginLeft: {
|
|
392
|
-
readonly [$$ScaleValue]: "space";
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
mx: (value: {
|
|
396
|
-
readonly [$$ScaleValue]: "space";
|
|
397
|
-
}) => {
|
|
398
|
-
marginLeft: {
|
|
399
|
-
readonly [$$ScaleValue]: "space";
|
|
400
|
-
};
|
|
401
|
-
marginRight: {
|
|
402
|
-
readonly [$$ScaleValue]: "space";
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
my: (value: {
|
|
406
|
-
readonly [$$ScaleValue]: "space";
|
|
407
|
-
}) => {
|
|
408
|
-
marginTop: {
|
|
409
|
-
readonly [$$ScaleValue]: "space";
|
|
410
|
-
};
|
|
411
|
-
marginBottom: {
|
|
412
|
-
readonly [$$ScaleValue]: "space";
|
|
413
|
-
};
|
|
414
|
-
};
|
|
415
|
-
size: (value: {
|
|
416
|
-
readonly [$$PropertyValue]: "width";
|
|
417
|
-
}) => {
|
|
418
|
-
width: {
|
|
419
|
-
readonly [$$PropertyValue]: "width";
|
|
420
|
-
};
|
|
421
|
-
height: {
|
|
422
|
-
readonly [$$PropertyValue]: "width";
|
|
423
|
-
};
|
|
424
|
-
};
|
|
425
|
-
subtleColor: (value: string) => {
|
|
426
|
-
color: string;
|
|
427
|
-
backgroundColor: string;
|
|
428
|
-
};
|
|
429
|
-
}>>;
|
|
430
|
-
}
|
|
431
|
-
export declare const MemoizedEditableTable: React.MemoExoticComponent<typeof EditableTable>;
|
|
432
|
-
export default EditableTable;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Column, Row, SortingRule } from 'react-table';
|
|
3
|
+
import { CSS } from '../../config/stitches.config';
|
|
4
|
+
import { EmptyDataProps } from '../table/Table';
|
|
5
|
+
interface CustomRows {
|
|
6
|
+
predicate: boolean;
|
|
7
|
+
css?: CSS;
|
|
8
|
+
Row?: any;
|
|
9
|
+
showInMobile?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface EditableTableProps<Data extends object> {
|
|
12
|
+
css?: CSS;
|
|
13
|
+
/**
|
|
14
|
+
* Columns of table.
|
|
15
|
+
*/
|
|
16
|
+
columns: ReadonlyArray<Column<Data>>;
|
|
17
|
+
/**
|
|
18
|
+
* Data record array to be displayed.
|
|
19
|
+
*/
|
|
20
|
+
data: Data[];
|
|
21
|
+
/**
|
|
22
|
+
* Define custom empty data props.<br/>
|
|
23
|
+
* interface EmptyDataProps { <br/>
|
|
24
|
+
* (define the doodle image component)<br/>
|
|
25
|
+
* doodleImage?: React.ReactNode;<br/>
|
|
26
|
+
* (define the title)<br/>
|
|
27
|
+
* title?: string | React.ReactNode;<br/>
|
|
28
|
+
* (define the description)<br/>
|
|
29
|
+
* description?: string | React.ReactNode;<br/>
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
customEmptyDataProps?: EmptyDataProps;
|
|
33
|
+
/**
|
|
34
|
+
* Additional height of the rows.
|
|
35
|
+
*/
|
|
36
|
+
rowHeight?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Additional align items of the rows.
|
|
39
|
+
*/
|
|
40
|
+
align?: 'top' | 'center' | 'bottom';
|
|
41
|
+
/**
|
|
42
|
+
* Additional customize one of the rows based on the specified condition
|
|
43
|
+
*/
|
|
44
|
+
customRows?: (row: Row<object>) => CustomRows[];
|
|
45
|
+
/**
|
|
46
|
+
* Show checkbox table selection.
|
|
47
|
+
*/
|
|
48
|
+
showCheckbox?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Change event handler table selection.
|
|
51
|
+
*/
|
|
52
|
+
onSelectedChange?: (data: any) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Checkbox callback props.
|
|
55
|
+
*/
|
|
56
|
+
getCheckboxProps?: (data: any) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Row's unique key (for selectedIds & onSelectedChange purpose).
|
|
59
|
+
*/
|
|
60
|
+
keyId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Selected data id (based on the keyId prop).
|
|
63
|
+
* Example:<br/>
|
|
64
|
+
* {
|
|
65
|
+
* '8192389219289': true,
|
|
66
|
+
* '2130912039281': true,
|
|
67
|
+
* '2130912039382': true
|
|
68
|
+
* }
|
|
69
|
+
*/
|
|
70
|
+
selectedIds?: Record<string, boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* expanded row callback.
|
|
73
|
+
*/
|
|
74
|
+
onExpand?: (expanded: boolean) => void;
|
|
75
|
+
/**
|
|
76
|
+
* Override isMobile condition
|
|
77
|
+
*/
|
|
78
|
+
isMobileLayout?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Array of hidden column id
|
|
81
|
+
*/
|
|
82
|
+
hiddenColumns?: string[];
|
|
83
|
+
/**
|
|
84
|
+
* Activate table row virtualizer support
|
|
85
|
+
*/
|
|
86
|
+
virtualized?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Sort by changes callback
|
|
89
|
+
*/
|
|
90
|
+
onSortByChange?: (sortBy: SortingRule<object>[]) => void;
|
|
91
|
+
}
|
|
92
|
+
interface RemoveProps {
|
|
93
|
+
position?: 'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop';
|
|
94
|
+
onRemove?: React.ChangeEventHandler;
|
|
95
|
+
}
|
|
96
|
+
declare function EditableTable(props: EditableTableProps<any>): JSX.Element;
|
|
97
|
+
declare namespace EditableTable {
|
|
98
|
+
var Product: ({ name, label, variants }: {
|
|
99
|
+
name: any;
|
|
100
|
+
label: any;
|
|
101
|
+
variants: any;
|
|
102
|
+
}) => JSX.Element;
|
|
103
|
+
var Input: import("@stitches/react/types/styled-component").StyledComponent<any, {}, {
|
|
104
|
+
sm: "(min-width: 359px)";
|
|
105
|
+
md: "(min-width: 767px)";
|
|
106
|
+
lg: "(min-width: 1023px)";
|
|
107
|
+
xl: "(min-width: 1199px)";
|
|
108
|
+
'2xl': "(min-width: 1399px)";
|
|
109
|
+
'3xl': "(min-width: 1600px)";
|
|
110
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
111
|
+
sm: "(min-width: 359px)";
|
|
112
|
+
md: "(min-width: 767px)";
|
|
113
|
+
lg: "(min-width: 1023px)";
|
|
114
|
+
xl: "(min-width: 1199px)";
|
|
115
|
+
'2xl': "(min-width: 1399px)";
|
|
116
|
+
'3xl': "(min-width: 1600px)";
|
|
117
|
+
}, {
|
|
118
|
+
colors: unknown;
|
|
119
|
+
space: unknown;
|
|
120
|
+
shadows: unknown;
|
|
121
|
+
fontSizes: unknown;
|
|
122
|
+
fonts: unknown;
|
|
123
|
+
lineHeights: unknown;
|
|
124
|
+
letterSpacings: unknown;
|
|
125
|
+
radii: unknown;
|
|
126
|
+
sizes: unknown;
|
|
127
|
+
zIndices: unknown;
|
|
128
|
+
toastPosition: unknown;
|
|
129
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
130
|
+
m: (value: {
|
|
131
|
+
readonly [$$ScaleValue]: "space";
|
|
132
|
+
}) => {
|
|
133
|
+
margin: {
|
|
134
|
+
readonly [$$ScaleValue]: "space";
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
mt: (value: {
|
|
138
|
+
readonly [$$ScaleValue]: "space";
|
|
139
|
+
}) => {
|
|
140
|
+
marginTop: {
|
|
141
|
+
readonly [$$ScaleValue]: "space";
|
|
142
|
+
}; /**
|
|
143
|
+
* Define custom empty data props.<br/>
|
|
144
|
+
* interface EmptyDataProps { <br/>
|
|
145
|
+
* (define the doodle image component)<br/>
|
|
146
|
+
* doodleImage?: React.ReactNode;<br/>
|
|
147
|
+
* (define the title)<br/>
|
|
148
|
+
* title?: string | React.ReactNode;<br/>
|
|
149
|
+
* (define the description)<br/>
|
|
150
|
+
* description?: string | React.ReactNode;<br/>
|
|
151
|
+
* }
|
|
152
|
+
*/
|
|
153
|
+
};
|
|
154
|
+
mr: (value: {
|
|
155
|
+
readonly [$$ScaleValue]: "space";
|
|
156
|
+
}) => {
|
|
157
|
+
marginRight: {
|
|
158
|
+
readonly [$$ScaleValue]: "space";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
mb: (value: {
|
|
162
|
+
readonly [$$ScaleValue]: "space";
|
|
163
|
+
}) => {
|
|
164
|
+
marginBottom: {
|
|
165
|
+
readonly [$$ScaleValue]: "space";
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
ml: (value: {
|
|
169
|
+
readonly [$$ScaleValue]: "space";
|
|
170
|
+
}) => {
|
|
171
|
+
marginLeft: {
|
|
172
|
+
readonly [$$ScaleValue]: "space";
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
mx: (value: {
|
|
176
|
+
readonly [$$ScaleValue]: "space";
|
|
177
|
+
}) => {
|
|
178
|
+
marginLeft: {
|
|
179
|
+
readonly [$$ScaleValue]: "space";
|
|
180
|
+
};
|
|
181
|
+
marginRight: {
|
|
182
|
+
readonly [$$ScaleValue]: "space";
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
my: (value: {
|
|
186
|
+
readonly [$$ScaleValue]: "space";
|
|
187
|
+
}) => {
|
|
188
|
+
marginTop: {
|
|
189
|
+
readonly [$$ScaleValue]: "space";
|
|
190
|
+
};
|
|
191
|
+
marginBottom: {
|
|
192
|
+
readonly [$$ScaleValue]: "space";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
size: (value: {
|
|
196
|
+
readonly [$$PropertyValue]: "width";
|
|
197
|
+
}) => {
|
|
198
|
+
width: {
|
|
199
|
+
readonly [$$PropertyValue]: "width";
|
|
200
|
+
};
|
|
201
|
+
height: {
|
|
202
|
+
readonly [$$PropertyValue]: "width";
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
subtleColor: (value: string) => {
|
|
206
|
+
color: string;
|
|
207
|
+
backgroundColor: string;
|
|
208
|
+
};
|
|
209
|
+
}>>;
|
|
210
|
+
var Switch: (props: any) => JSX.Element;
|
|
211
|
+
var Remove: (props: RemoveProps) => JSX.Element;
|
|
212
|
+
var TableRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {
|
|
213
|
+
subRow?: boolean | "true" | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
sm: "(min-width: 359px)";
|
|
216
|
+
md: "(min-width: 767px)";
|
|
217
|
+
lg: "(min-width: 1023px)";
|
|
218
|
+
xl: "(min-width: 1199px)";
|
|
219
|
+
'2xl': "(min-width: 1399px)";
|
|
220
|
+
'3xl': "(min-width: 1600px)";
|
|
221
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
222
|
+
sm: "(min-width: 359px)";
|
|
223
|
+
md: "(min-width: 767px)";
|
|
224
|
+
lg: "(min-width: 1023px)";
|
|
225
|
+
xl: "(min-width: 1199px)";
|
|
226
|
+
'2xl': "(min-width: 1399px)";
|
|
227
|
+
'3xl': "(min-width: 1600px)";
|
|
228
|
+
}, {
|
|
229
|
+
colors: unknown;
|
|
230
|
+
space: unknown;
|
|
231
|
+
shadows: unknown;
|
|
232
|
+
fontSizes: unknown;
|
|
233
|
+
fonts: unknown;
|
|
234
|
+
lineHeights: unknown;
|
|
235
|
+
letterSpacings: unknown;
|
|
236
|
+
radii: unknown;
|
|
237
|
+
sizes: unknown;
|
|
238
|
+
zIndices: unknown;
|
|
239
|
+
toastPosition: unknown;
|
|
240
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
241
|
+
m: (value: {
|
|
242
|
+
readonly [$$ScaleValue]: "space";
|
|
243
|
+
}) => {
|
|
244
|
+
margin: {
|
|
245
|
+
readonly [$$ScaleValue]: "space";
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
mt: (value: {
|
|
249
|
+
readonly [$$ScaleValue]: "space";
|
|
250
|
+
}) => {
|
|
251
|
+
marginTop: {
|
|
252
|
+
readonly [$$ScaleValue]: "space";
|
|
253
|
+
}; /**
|
|
254
|
+
* Define custom empty data props.<br/>
|
|
255
|
+
* interface EmptyDataProps { <br/>
|
|
256
|
+
* (define the doodle image component)<br/>
|
|
257
|
+
* doodleImage?: React.ReactNode;<br/>
|
|
258
|
+
* (define the title)<br/>
|
|
259
|
+
* title?: string | React.ReactNode;<br/>
|
|
260
|
+
* (define the description)<br/>
|
|
261
|
+
* description?: string | React.ReactNode;<br/>
|
|
262
|
+
* }
|
|
263
|
+
*/
|
|
264
|
+
};
|
|
265
|
+
mr: (value: {
|
|
266
|
+
readonly [$$ScaleValue]: "space";
|
|
267
|
+
}) => {
|
|
268
|
+
marginRight: {
|
|
269
|
+
readonly [$$ScaleValue]: "space";
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
mb: (value: {
|
|
273
|
+
readonly [$$ScaleValue]: "space";
|
|
274
|
+
}) => {
|
|
275
|
+
marginBottom: {
|
|
276
|
+
readonly [$$ScaleValue]: "space";
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
ml: (value: {
|
|
280
|
+
readonly [$$ScaleValue]: "space";
|
|
281
|
+
}) => {
|
|
282
|
+
marginLeft: {
|
|
283
|
+
readonly [$$ScaleValue]: "space";
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
mx: (value: {
|
|
287
|
+
readonly [$$ScaleValue]: "space";
|
|
288
|
+
}) => {
|
|
289
|
+
marginLeft: {
|
|
290
|
+
readonly [$$ScaleValue]: "space";
|
|
291
|
+
};
|
|
292
|
+
marginRight: {
|
|
293
|
+
readonly [$$ScaleValue]: "space";
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
my: (value: {
|
|
297
|
+
readonly [$$ScaleValue]: "space";
|
|
298
|
+
}) => {
|
|
299
|
+
marginTop: {
|
|
300
|
+
readonly [$$ScaleValue]: "space";
|
|
301
|
+
};
|
|
302
|
+
marginBottom: {
|
|
303
|
+
readonly [$$ScaleValue]: "space";
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
size: (value: {
|
|
307
|
+
readonly [$$PropertyValue]: "width";
|
|
308
|
+
}) => {
|
|
309
|
+
width: {
|
|
310
|
+
readonly [$$PropertyValue]: "width";
|
|
311
|
+
};
|
|
312
|
+
height: {
|
|
313
|
+
readonly [$$PropertyValue]: "width";
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
subtleColor: (value: string) => {
|
|
317
|
+
color: string;
|
|
318
|
+
backgroundColor: string;
|
|
319
|
+
};
|
|
320
|
+
}>>;
|
|
321
|
+
var TableCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {
|
|
322
|
+
verticalAlign?: "bottom" | "top" | "middle" | undefined;
|
|
323
|
+
}, {
|
|
324
|
+
sm: "(min-width: 359px)";
|
|
325
|
+
md: "(min-width: 767px)";
|
|
326
|
+
lg: "(min-width: 1023px)";
|
|
327
|
+
xl: "(min-width: 1199px)";
|
|
328
|
+
'2xl': "(min-width: 1399px)";
|
|
329
|
+
'3xl': "(min-width: 1600px)";
|
|
330
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
331
|
+
sm: "(min-width: 359px)";
|
|
332
|
+
md: "(min-width: 767px)";
|
|
333
|
+
lg: "(min-width: 1023px)";
|
|
334
|
+
xl: "(min-width: 1199px)";
|
|
335
|
+
'2xl': "(min-width: 1399px)";
|
|
336
|
+
'3xl': "(min-width: 1600px)";
|
|
337
|
+
}, {
|
|
338
|
+
colors: unknown;
|
|
339
|
+
space: unknown;
|
|
340
|
+
shadows: unknown;
|
|
341
|
+
fontSizes: unknown;
|
|
342
|
+
fonts: unknown;
|
|
343
|
+
lineHeights: unknown;
|
|
344
|
+
letterSpacings: unknown;
|
|
345
|
+
radii: unknown;
|
|
346
|
+
sizes: unknown;
|
|
347
|
+
zIndices: unknown;
|
|
348
|
+
toastPosition: unknown;
|
|
349
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
350
|
+
m: (value: {
|
|
351
|
+
readonly [$$ScaleValue]: "space";
|
|
352
|
+
}) => {
|
|
353
|
+
margin: {
|
|
354
|
+
readonly [$$ScaleValue]: "space";
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
mt: (value: {
|
|
358
|
+
readonly [$$ScaleValue]: "space";
|
|
359
|
+
}) => {
|
|
360
|
+
marginTop: {
|
|
361
|
+
readonly [$$ScaleValue]: "space";
|
|
362
|
+
}; /**
|
|
363
|
+
* Define custom empty data props.<br/>
|
|
364
|
+
* interface EmptyDataProps { <br/>
|
|
365
|
+
* (define the doodle image component)<br/>
|
|
366
|
+
* doodleImage?: React.ReactNode;<br/>
|
|
367
|
+
* (define the title)<br/>
|
|
368
|
+
* title?: string | React.ReactNode;<br/>
|
|
369
|
+
* (define the description)<br/>
|
|
370
|
+
* description?: string | React.ReactNode;<br/>
|
|
371
|
+
* }
|
|
372
|
+
*/
|
|
373
|
+
};
|
|
374
|
+
mr: (value: {
|
|
375
|
+
readonly [$$ScaleValue]: "space";
|
|
376
|
+
}) => {
|
|
377
|
+
marginRight: {
|
|
378
|
+
readonly [$$ScaleValue]: "space";
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
mb: (value: {
|
|
382
|
+
readonly [$$ScaleValue]: "space";
|
|
383
|
+
}) => {
|
|
384
|
+
marginBottom: {
|
|
385
|
+
readonly [$$ScaleValue]: "space";
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
ml: (value: {
|
|
389
|
+
readonly [$$ScaleValue]: "space";
|
|
390
|
+
}) => {
|
|
391
|
+
marginLeft: {
|
|
392
|
+
readonly [$$ScaleValue]: "space";
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
mx: (value: {
|
|
396
|
+
readonly [$$ScaleValue]: "space";
|
|
397
|
+
}) => {
|
|
398
|
+
marginLeft: {
|
|
399
|
+
readonly [$$ScaleValue]: "space";
|
|
400
|
+
};
|
|
401
|
+
marginRight: {
|
|
402
|
+
readonly [$$ScaleValue]: "space";
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
my: (value: {
|
|
406
|
+
readonly [$$ScaleValue]: "space";
|
|
407
|
+
}) => {
|
|
408
|
+
marginTop: {
|
|
409
|
+
readonly [$$ScaleValue]: "space";
|
|
410
|
+
};
|
|
411
|
+
marginBottom: {
|
|
412
|
+
readonly [$$ScaleValue]: "space";
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
size: (value: {
|
|
416
|
+
readonly [$$PropertyValue]: "width";
|
|
417
|
+
}) => {
|
|
418
|
+
width: {
|
|
419
|
+
readonly [$$PropertyValue]: "width";
|
|
420
|
+
};
|
|
421
|
+
height: {
|
|
422
|
+
readonly [$$PropertyValue]: "width";
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
subtleColor: (value: string) => {
|
|
426
|
+
color: string;
|
|
427
|
+
backgroundColor: string;
|
|
428
|
+
};
|
|
429
|
+
}>>;
|
|
430
|
+
}
|
|
431
|
+
export declare const MemoizedEditableTable: React.MemoExoticComponent<typeof EditableTable>;
|
|
432
|
+
export default EditableTable;
|