sag_components 2.0.0-beta142 → 2.0.0-beta143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +36 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -1
- package/dist/types/components/Table/TableBody.d.ts +5 -1
- package/dist/types/components/Table/TableBody.styles.d.ts +2 -0
- package/dist/types/components/Table/data.d.ts +3 -16
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default TableBody;
|
|
2
|
-
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor, onDeleteClick, selectedColor, resetFocus, onFocusChange, indexToShimmer, onCommentSave, ref, }: {
|
|
2
|
+
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor, onDeleteClick, selectedColor, resetFocus, onFocusChange, indexToShimmer, statuses, onCommentSave, ref, }: {
|
|
3
3
|
columns: any;
|
|
4
4
|
data: any;
|
|
5
5
|
onRowClick: any;
|
|
@@ -10,6 +10,10 @@ declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor
|
|
|
10
10
|
resetFocus?: boolean;
|
|
11
11
|
onFocusChange: any;
|
|
12
12
|
indexToShimmer?: number;
|
|
13
|
+
statuses?: {
|
|
14
|
+
status: string;
|
|
15
|
+
palette: string[];
|
|
16
|
+
}[];
|
|
13
17
|
onCommentSave?: () => void;
|
|
14
18
|
ref?: any;
|
|
15
19
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,3 +10,5 @@ export const SentStatus: import("styled-components/dist/types").IStyledComponent
|
|
|
10
10
|
export const TrashIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export const CommentIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
12
|
export const DisabledTrashIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
+
export const StatusCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
|
+
export const StatusCellCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -175,7 +175,8 @@ export const supplierColumns: ({
|
|
|
175
175
|
freeTextFilter?: undefined;
|
|
176
176
|
rangeFilter?: undefined;
|
|
177
177
|
})[];
|
|
178
|
-
export const supplierData:
|
|
178
|
+
export const supplierData: {
|
|
179
|
+
Status: string;
|
|
179
180
|
Supplier: string;
|
|
180
181
|
EventID: string;
|
|
181
182
|
WeekNumber: string;
|
|
@@ -189,18 +190,4 @@ export const supplierData: ({
|
|
|
189
190
|
HUB: string;
|
|
190
191
|
Comments: string;
|
|
191
192
|
Trash: string;
|
|
192
|
-
}
|
|
193
|
-
Supplier: string;
|
|
194
|
-
EventID: string;
|
|
195
|
-
WeekNumber: string;
|
|
196
|
-
Period: string;
|
|
197
|
-
EventAttribute: string;
|
|
198
|
-
EventType: string;
|
|
199
|
-
EventSubType: string;
|
|
200
|
-
Component: string;
|
|
201
|
-
NegotiatedBrand: string;
|
|
202
|
-
ProductGroup: string;
|
|
203
|
-
HUB: string;
|
|
204
|
-
Comments: string;
|
|
205
|
-
Trash?: undefined;
|
|
206
|
-
})[];
|
|
193
|
+
}[];
|