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sources":["components/shared/ChangeStatusShipping.tsx","components/shared/Image.tsx","components/shared/InputSelect.tsx","assets/icons/sort.svg","assets/icons/sort-up.svg","assets/icons/sort-down.svg","components/shared/TableData.tsx","components/shared/modal.tsx","assets/icons/InPreparation.svg","assets/icons/InProd_1.svg","assets/icons/ReadyToShip.svg","assets/icons/Shipped.svg","models/order.models.ts","constants/common.ts","models/print.request.models.ts","services/print.request.service.ts"],"sourcesContent":["import { InputSelect } from \"./InputSelect\";\nimport classNames from \"classnames\";\n\ninterface IProps {\n list: string[];\n id?: string;\n value?: string;\n onChange: (value: string) => void;\n disabled?: boolean;\n onClickButton: () => void;\n textButton?: string;\n title?: string;\n className?: string;\n rows: number[];\n}\n\nexport const ChangeStatusShipping = (props: IProps) => {\n const {\n id,\n value,\n list,\n onChange,\n disabled,\n onClickButton,\n textButton = \"Apply\",\n title,\n className,\n rows,\n } = props;\n\n return (\n
\n \n {title}\n
\n
\n \n
\n
\n \n {textButton}\n \n
\n \n );\n};\n","import classNames from \"classnames\";\nimport { useState } from \"react\";\nimport noImageUrl from \"../../assets/images/no_image.png\";\n\n// Create the containers interface\ninterface IProps {\n src: string;\n className?: string;\n onClick?: () => void;\n onError?: () => void;\n alt?: string;\n}\n\nfunction ImageCustom(props: IProps) {\n const { className, src, alt } = props;\n const [isError, setIsError] = useState(false);\n\n const handleImageErrored = (): void => {\n setIsError(true);\n };\n\n const url = isError ? noImageUrl : src;\n\n return (\n \n );\n}\n\nexport default ImageCustom;\n","type Props = {\n list: string[];\n id?: string;\n value?: string;\n onChange: (value: string) => void;\n disabled?: boolean;\n};\n\nexport const InputSelect = (props: Props) => {\n const { list, id, value, onChange, disabled } = props;\n\n return (\n {\n onChange(e.currentTarget.value);\n }}\n >\n {list.map((item) => (\n \n ))}\n \n );\n};\n","var _g, _g2, _g3, _g4, _g5, _g6, _g7, _g8, _g9, _g10, _g11, _g12, _g13, _g14, _g15, _g16;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSort(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Capa_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n width: \"401.998px\",\n height: \"401.998px\",\n viewBox: \"0 0 401.998 401.998\",\n style: {\n enableBackground: \"new 0 0 401.998 401.998\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M73.092,164.452h255.813c4.949,0,9.233-1.807,12.848-5.424c3.613-3.616,5.427-7.898,5.427-12.847 c0-4.949-1.813-9.229-5.427-12.85L213.846,5.424C210.232,1.812,205.951,0,200.999,0s-9.233,1.812-12.85,5.424L60.242,133.331 c-3.617,3.617-5.424,7.901-5.424,12.85c0,4.948,1.807,9.231,5.424,12.847C63.863,162.645,68.144,164.452,73.092,164.452z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M328.905,237.549H73.092c-4.952,0-9.233,1.808-12.85,5.421c-3.617,3.617-5.424,7.898-5.424,12.847 c0,4.949,1.807,9.233,5.424,12.848L188.149,396.57c3.621,3.617,7.902,5.428,12.85,5.428s9.233-1.811,12.847-5.428l127.907-127.906 c3.613-3.614,5.427-7.898,5.427-12.848c0-4.948-1.813-9.229-5.427-12.847C338.139,239.353,333.854,237.549,328.905,237.549z\"\n })))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", null)), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", null)), _g4 || (_g4 = /*#__PURE__*/React.createElement(\"g\", null)), _g5 || (_g5 = /*#__PURE__*/React.createElement(\"g\", null)), _g6 || (_g6 = /*#__PURE__*/React.createElement(\"g\", null)), _g7 || (_g7 = /*#__PURE__*/React.createElement(\"g\", null)), _g8 || (_g8 = /*#__PURE__*/React.createElement(\"g\", null)), _g9 || (_g9 = /*#__PURE__*/React.createElement(\"g\", null)), _g10 || (_g10 = /*#__PURE__*/React.createElement(\"g\", null)), _g11 || (_g11 = /*#__PURE__*/React.createElement(\"g\", null)), _g12 || (_g12 = /*#__PURE__*/React.createElement(\"g\", null)), _g13 || (_g13 = /*#__PURE__*/React.createElement(\"g\", null)), _g14 || (_g14 = /*#__PURE__*/React.createElement(\"g\", null)), _g15 || (_g15 = /*#__PURE__*/React.createElement(\"g\", null)), _g16 || (_g16 = /*#__PURE__*/React.createElement(\"g\", null)));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgSort);\nexport default __webpack_public_path__ + \"static/media/sort.6a125d44ef95409ce72329ffafd3f7d4.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _g2, _g3, _g4, _g5, _g6, _g7, _g8, _g9, _g10, _g11, _g12, _g13, _g14, _g15, _g16;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSortUp(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Capa_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n width: \"292.362px\",\n height: \"292.362px\",\n viewBox: \"0 0 292.362 292.362\",\n style: {\n enableBackground: \"new 0 0 292.362 292.362\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M286.935,69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952,0-9.233,1.807-12.85,5.424 C1.807,72.998,0,77.279,0,82.228c0,4.948,1.807,9.229,5.424,12.847l127.907,127.907c3.621,3.617,7.902,5.428,12.85,5.428 s9.233-1.811,12.847-5.428L286.935,95.074c3.613-3.617,5.427-7.898,5.427-12.847C292.362,77.279,290.548,72.998,286.935,69.377z\"\n }))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", null)), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", null)), _g4 || (_g4 = /*#__PURE__*/React.createElement(\"g\", null)), _g5 || (_g5 = /*#__PURE__*/React.createElement(\"g\", null)), _g6 || (_g6 = /*#__PURE__*/React.createElement(\"g\", null)), _g7 || (_g7 = /*#__PURE__*/React.createElement(\"g\", null)), _g8 || (_g8 = /*#__PURE__*/React.createElement(\"g\", null)), _g9 || (_g9 = /*#__PURE__*/React.createElement(\"g\", null)), _g10 || (_g10 = /*#__PURE__*/React.createElement(\"g\", null)), _g11 || (_g11 = /*#__PURE__*/React.createElement(\"g\", null)), _g12 || (_g12 = /*#__PURE__*/React.createElement(\"g\", null)), _g13 || (_g13 = /*#__PURE__*/React.createElement(\"g\", null)), _g14 || (_g14 = /*#__PURE__*/React.createElement(\"g\", null)), _g15 || (_g15 = /*#__PURE__*/React.createElement(\"g\", null)), _g16 || (_g16 = /*#__PURE__*/React.createElement(\"g\", null)));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgSortUp);\nexport default __webpack_public_path__ + \"static/media/sort-up.bfd98d5464d9a5f73479207f34b40098.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _g2, _g3, _g4, _g5, _g6, _g7, _g8, _g9, _g10, _g11, _g12, _g13, _g14, _g15, _g16;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSortDown(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Capa_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n width: \"292.362px\",\n height: \"292.362px\",\n viewBox: \"0 0 292.362 292.362\",\n style: {\n enableBackground: \"new 0 0 292.362 292.362\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M286.935,197.286L159.028,69.379c-3.613-3.617-7.895-5.424-12.847-5.424s-9.233,1.807-12.85,5.424L5.424,197.286 C1.807,200.9,0,205.184,0,210.132s1.807,9.233,5.424,12.847c3.621,3.617,7.902,5.428,12.85,5.428h255.813 c4.949,0,9.233-1.811,12.848-5.428c3.613-3.613,5.427-7.898,5.427-12.847S290.548,200.9,286.935,197.286z\"\n }))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", null)), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", null)), _g4 || (_g4 = /*#__PURE__*/React.createElement(\"g\", null)), _g5 || (_g5 = /*#__PURE__*/React.createElement(\"g\", null)), _g6 || (_g6 = /*#__PURE__*/React.createElement(\"g\", null)), _g7 || (_g7 = /*#__PURE__*/React.createElement(\"g\", null)), _g8 || (_g8 = /*#__PURE__*/React.createElement(\"g\", null)), _g9 || (_g9 = /*#__PURE__*/React.createElement(\"g\", null)), _g10 || (_g10 = /*#__PURE__*/React.createElement(\"g\", null)), _g11 || (_g11 = /*#__PURE__*/React.createElement(\"g\", null)), _g12 || (_g12 = /*#__PURE__*/React.createElement(\"g\", null)), _g13 || (_g13 = /*#__PURE__*/React.createElement(\"g\", null)), _g14 || (_g14 = /*#__PURE__*/React.createElement(\"g\", null)), _g15 || (_g15 = /*#__PURE__*/React.createElement(\"g\", null)), _g16 || (_g16 = /*#__PURE__*/React.createElement(\"g\", null)));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgSortDown);\nexport default __webpack_public_path__ + \"static/media/sort-down.a643bb6c1c465d10f599376c60fddf17.svg\";\nexport { ForwardRef as ReactComponent };","import { ReactComponent as SortIcon } from \"../../assets/icons/sort.svg\";\nimport { ReactComponent as SortUp } from \"../../assets/icons/sort-up.svg\";\nimport { ReactComponent as SortDown } from \"../../assets/icons/sort-down.svg\";\nimport { useEffect, useState } from \"react\";\nimport { OrderDirection } from \"../../models/common.models\";\n\nexport interface ITableHeader {\n field?: keyof T;\n title?: React.ReactNode;\n handleItem?: (item: T) => React.ReactNode;\n isHide?: boolean;\n align?: \"left\" | \"right\" | \"center\";\n width?: string;\n}\n\nfunction dynamicSort(columnName: string, sortType: OrderDirection) {\n let sortOrder = 1;\n if (sortType === OrderDirection.DESC) {\n sortOrder = -1;\n }\n return function (a: any, b: any) {\n let result = 0;\n if (columnName.match(\"[Dd]ate\")) {\n result =\n new Date(a[columnName]) < new Date(b[columnName])\n ? -1\n : new Date(a[columnName]) > new Date(b[columnName])\n ? 1\n : 0;\n } else {\n result =\n a[columnName] < b[columnName]\n ? -1\n : a[columnName] > b[columnName]\n ? 1\n : 0;\n }\n return result * sortOrder;\n };\n}\n\nexport interface ITableData {\n data: T[];\n headersTable: ITableHeader[];\n}\n\nconst TableData = (props: ITableData) => {\n const { headersTable, data } = props;\n const [sortParams, setSortParams] = useState<{\n field: string | null;\n sortType: OrderDirection | null;\n }>({\n field: null,\n sortType: null,\n });\n\n useEffect(() => {\n setSortParams({\n field: null,\n sortType: null,\n });\n }, [data]);\n\n const renderIcon = (field: string) => {\n let icon = ;\n\n if (sortParams.field !== field) {\n icon = ;\n } else if (\n sortParams.sortType === OrderDirection.DESC &&\n sortParams.field === field\n ) {\n icon = ;\n } else {\n icon = ;\n }\n\n return icon;\n };\n\n const handleSort = (field: string) => {\n const value =\n sortParams.field === field\n ? sortParams.sortType === OrderDirection.DESC\n ? OrderDirection.ASC\n : OrderDirection.DESC\n : OrderDirection.DESC;\n\n setSortParams({ field, sortType: value });\n };\n\n const dataSorts = () => {\n let prSortData = [...data];\n\n if (sortParams.field && sortParams.sortType)\n prSortData = prSortData.sort(\n dynamicSort(sortParams.field, sortParams.sortType)\n );\n\n return prSortData;\n };\n\n const dataSort = dataSorts();\n\n return (\n \n \n \n {headersTable.map((item, key) => {\n if (item.isHide) {\n return ;\n } else {\n return (\n item.field && handleSort(item.field as string)}\n >\n \n {item.title}\n {item.field && (\n
\n {renderIcon(item.field as string)}\n
\n )}\n \n \n );\n }\n })}\n
\n \n \n {dataSort.map((item) => (\n \n {headersTable.map((field, key) => {\n if (field.handleItem) {\n return (\n \n {field.handleItem(item)}\n \n );\n } else {\n return (\n \n {field.field ? item[field.field] : null}\n \n );\n }\n })}\n \n ))}\n \n
\n );\n};\n\nexport default TableData;\n","export interface IProps {\n open: boolean;\n onClose: () => void;\n content: React.ReactNode;\n handleOK?: () => void;\n handleCancel?: () => void;\n modalHeader?: React.ReactNode;\n size?: \"modal-sm\" | \"modal-lg\" | \"modal-xl\"\n id?: string;\n modalFooter?: React.ReactNode;\n}\n\nexport function Modal(props: IProps) {\n const { open, onClose, handleOK, handleCancel, content, modalHeader, size, id, modalFooter } = props;\n\n return (\n
\n \n
\n
\n
\n {modalHeader && modalHeader}\n \n
\n
{content}
\n
\n {modalFooter ? modalFooter : \n <>\n {handleCancel && (\n {\n handleCancel();\n onClose();\n }}\n >\n Cancel\n \n )}\n\n {handleOK && (\n {\n handleOK();\n onClose();\n }}\n >\n OK\n \n )}\n \n }\n \n
\n
\n
\n
\n
\n \n );\n}\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInPreparation(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"222.000000pt\",\n height: \"195.000000pt\",\n viewBox: \"0 0 222.000000 195.000000\",\n preserveAspectRatio: \"xMidYMid meet\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(0.000000,195.000000) scale(0.100000,-0.100000)\",\n fill: \"#000000\",\n stroke: \"none\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M370 1870 c0 -37 4 -50 13 -47 7 2 12 21 12 47 0 26 -5 45 -12 48 -9 2 -13 -11 -13 -48z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M275 1870 c-9 -15 35 -54 47 -42 12 12 4 28 -22 42 -12 6 -21 7 -25 0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M451 1856 c-16 -17 -19 -26 -11 -31 17 -10 57 32 44 45 -7 7 -17 3 -33 -14z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M233 1768 c2 -8 21 -13 47 -13 26 0 45 5 48 13 2 8 -11 12 -48 12 -37 0 -50 -4 -47 -12z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M443 1768 c2 -8 20 -13 42 -13 22 0 40 5 43 13 2 8 -10 12 -43 12 -33 0 -45 -4 -42 -12z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1339 1761 c-20 -16 -22 -23 -14 -47 11 -32 55 -45 81 -23 21 17 18 66 -5 79 -27 14 -35 13 -62 -9z m59 -34 c2 -9 -4 -20 -12 -23 -21 -8 -46 13 -39 32 8 20 47 13 51 -9z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M291 1696 c-16 -17 -19 -26 -11 -31 17 -10 57 32 44 45 -7 7 -17 3 -33 -14z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M377 1714 c-4 -4 -7 -27 -7 -51 0 -56 24 -54 28 2 3 37 -8 62 -21 49z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M440 1695 c0 -19 36 -39 45 -25 8 13 -13 40 -31 40 -8 0 -14 -7 -14 -15z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1143 1680 c-90 -55 -80 -185 19 -233 117 -57 237 89 162 197 -38 55 -122 72 -181 36z m135 -35 c85 -71 13 -204 -93 -174 -42 12 -75 53 -75 92 1 92 100 140 168 82z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1160 1620 c-21 -21 -27 -50 -11 -50 5 0 12 9 16 19 3 11 15 23 26 26 10 4 17 11 14 16 -9 14 -23 11 -45 -11z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1150 1530 c0 -5 7 -10 15 -10 8 0 15 5 15 10 0 6 -7 10 -15 10 -8 0 -15 -4 -15 -10z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M624 1418 c-24 -11 -44 -48 -44 -78 0 -10 11 -31 24 -46 50 -58 140 -24 140 52 0 63 -63 100 -120 72z m70 -31 c36 -27 14 -97 -31 -97 -20 0 -53 37 -53 59 0 20 34 51 55 51 6 0 19 -6 29 -13z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1675 1338 c-4 -10 -4 -26 0 -35 8 -17 8 -17 12 0 3 9 3 25 0 35 -4 16 -4 16 -12 0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1632 1299 c2 -7 10 -15 17 -17 8 -3 12 1 9 9 -2 7 -10 15 -17 17 -8 3 -12 -1 -9 -9z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1715 1299 c-4 -6 -5 -13 -2 -16 7 -7 27 6 27 18 0 12 -17 12 -25 -2z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1605 1260 c-8 -13 20 -24 41 -16 20 8 9 26 -16 26 -10 0 -22 -5 -25 -10z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1717 1264 c-14 -14 -7 -25 13 -22 12 2 21 8 21 13 0 12 -24 18 -34 9z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1635 1219 c-4 -6 -5 -13 -2 -16 7 -7 27 6 27 18 0 12 -17 12 -25 -2z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1670 1205 c0 -14 5 -25 10 -25 6 0 10 11 10 25 0 14 -4 25 -10 25 -5 0 -10 -11 -10 -25z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1712 1219 c2 -7 10 -15 17 -17 8 -3 12 1 9 9 -2 7 -10 15 -17 17 -8 3 -12 -1 -9 -9z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M59 1105 c-14 -8 -32 -28 -39 -45 -22 -54 -1 -83 122 -162 99 -64 108 -73 109 -101 0 -18 2 -124 3 -237 3 -155 8 -218 20 -257 21 -66 91 -145 154 -173 44 -20 48 -25 44 -51 -2 -17 3 -40 12 -54 l16 -25 605 0 605 0 16 25 c10 15 14 37 12 55 -4 26 -1 31 28 40 48 16 129 93 156 148 22 44 23 61 28 297 l5 250 118 78 c122 80 144 107 132 155 -9 36 -50 72 -82 72 -15 0 -57 -18 -93 -40 -36 -22 -68 -40 -72 -40 -4 0 -8 17 -10 38 l-3 37 -840 0 -840 0 -3 -32 c-2 -18 -7 -33 -11 -33 -5 0 -35 16 -67 35 -63 38 -85 42 -125 20z m134 -80 c63 -43 67 -48 67 -83 0 -64 -8 -64 -105 2 -90 61 -107 84 -85 111 21 25 52 17 123 -30z m1717 -295 c0 -207 -4 -359 -11 -390 -14 -67 -62 -128 -129 -165 l-55 -30 -610 0 -610 0 -45 24 c-55 29 -81 51 -74 62 3 5 79 9 170 9 152 0 165 1 162 17 -3 16 -21 18 -189 21 l-186 2 -11 26 c-7 14 -12 34 -12 44 0 18 9 20 128 22 119 3 127 4 127 23 0 19 -8 20 -132 23 l-133 3 0 44 0 45 64 0 c45 0 65 4 69 14 9 24 -15 36 -75 36 l-58 0 0 255 0 255 805 0 805 0 0 -340z m240 325 c24 -29 2 -59 -87 -115 -115 -72 -115 -72 -111 -13 3 47 4 49 73 95 73 50 104 58 125 33z m-462 -984 c8 -51 10 -51 -581 -51 -359 0 -555 4 -568 10 -18 10 -26 50 -12 63 3 4 266 6 582 5 l576 -3 3 -24z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M765 270 c-8 -14 3 -30 21 -30 8 0 14 9 14 20 0 21 -24 28 -35 10z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgInPreparation);\nexport default __webpack_public_path__ + \"static/media/InPreparation.d9695c61f87f00d2fd82e347cf1320cc.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInProd1(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"149.000000pt\",\n height: \"115.000000pt\",\n viewBox: \"0 0 149.000000 115.000000\",\n preserveAspectRatio: \"xMidYMid meet\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(0.000000,115.000000) scale(0.100000,-0.100000)\",\n fill: \"#000000\",\n stroke: \"none\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M294 1125 c-5 -12 -26 -15 -99 -15 -101 0 -105 -2 -141 -70 -40 -74 -17 -330 37 -419 18 -29 22 -31 79 -31 l60 0 0 -100 0 -100 -60 0 c-33 0 -76 -6 -94 -14 -58 -24 -66 -46 -66 -182 0 -139 11 -165 78 -184 25 -8 235 -10 659 -8 l622 3 30 29 31 30 0 215 c-1 119 -7 268 -14 331 -8 63 -12 118 -9 123 2 4 12 6 21 5 36 -6 55 141 31 238 l-11 44 -48 0 -48 0 -11 45 -11 45 -460 0 c-400 0 -461 2 -466 15 -8 21 -102 21 -110 0z m6 -255 l0 -220 45 0 45 0 0 220 0 220 129 0 128 0 7 -52 c4 -28 13 -66 21 -84 15 -37 67 -74 103 -74 13 0 38 -16 59 -36 35 -35 38 -36 97 -32 l61 5 47 -49 c83 -86 123 -239 99 -387 -16 -95 -10 -128 25 -141 14 -6 75 -10 135 -10 l109 0 0 -74 c0 -59 -4 -78 -21 -100 l-20 -26 -639 0 c-351 0 -646 3 -655 6 -32 13 -45 59 -45 159 0 129 19 165 86 165 21 0 24 -4 19 -20 -6 -19 -2 -20 155 -20 157 0 161 1 155 20 -6 20 -2 20 189 20 l196 0 36 33 c46 42 53 92 29 223 -15 83 -22 102 -50 133 l-33 36 -105 3 c-130 5 -179 -13 -226 -80 -16 -23 -39 -55 -51 -71 l-22 -27 -144 0 c-169 0 -161 -6 -189 130 -30 142 -25 252 15 318 l20 32 95 0 95 0 0 -220z m70 10 c0 -203 -1 -210 -20 -210 -19 0 -20 7 -20 210 0 203 1 210 20 210 19 0 20 -7 20 -210z m944 193 c36 -115 84 -465 93 -675 l6 -148 -104 0 c-132 0 -155 10 -151 65 2 22 4 94 5 160 1 110 -1 125 -27 188 -17 41 -48 89 -77 122 -48 52 -49 53 -34 81 52 101 -46 213 -148 171 -40 -17 -77 -68 -77 -105 0 -21 -4 -23 -37 -20 -29 2 -41 10 -55 35 -19 32 -40 128 -30 138 3 3 146 5 318 5 289 0 313 -1 318 -17z m-329 -77 c13 -13 27 -36 31 -50 14 -56 -38 -116 -99 -116 -30 0 -75 35 -88 68 -12 32 5 87 34 107 34 24 94 19 122 -9z m450 -13 c26 -71 11 -227 -23 -221 -16 3 -23 33 -46 191 l-7 47 34 0 c24 0 37 -6 42 -17z m-640 -227 c48 -20 61 -47 80 -163 14 -82 15 -109 5 -137 -22 -68 -13 -66 -311 -66 l-269 0 0 100 0 100 56 0 c66 0 89 10 109 50 24 46 76 102 110 116 41 18 177 18 220 0z m-515 -266 c0 -82 -3 -100 -15 -100 -12 0 -15 18 -15 100 0 82 3 100 15 100 12 0 15 -18 15 -100z m130 -140 c0 -6 -47 -10 -120 -10 -73 0 -120 4 -120 10 0 6 47 10 120 10 73 0 120 -4 120 -10z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M502 991 c-9 -5 -12 -24 -10 -52 l3 -44 45 0 45 0 3 40 c3 29 -1 43 -14 52 -20 15 -53 17 -72 4z m66 -48 c-2 -22 -9 -29 -30 -31 -25 -3 -28 0 -28 27 0 28 3 31 31 31 27 0 30 -3 27 -27z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgInProd1);\nexport default __webpack_public_path__ + \"static/media/InProd_1.ad5c006dd92cfba8c95f190ac598fc07.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgReadyToShip(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"182.000000pt\",\n height: \"186.000000pt\",\n viewBox: \"0 0 182.000000 186.000000\",\n preserveAspectRatio: \"xMidYMid meet\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(0.000000,186.000000) scale(0.100000,-0.100000)\",\n fill: \"#000000\",\n stroke: \"none\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M630 1668 c-151 -88 -349 -205 -440 -258 l-165 -97 0 -374 0 -374 440 -257 c242 -142 442 -258 445 -258 3 0 118 66 255 146 138 80 337 196 442 257 l193 112 0 371 c0 286 -3 374 -12 382 -12 8 -115 69 -698 410 -86 50 -162 93 -170 96 -9 3 -133 -63 -290 -156z m495 -3 c110 -64 293 -171 408 -238 114 -66 207 -124 207 -127 -1 -3 -80 -51 -176 -107 l-175 -103 -415 242 c-228 133 -414 245 -414 248 0 9 345 209 355 206 6 -2 101 -56 210 -121z m-278 -394 c224 -131 408 -242 410 -247 1 -5 -41 -34 -95 -65 -53 -32 -131 -77 -173 -102 l-77 -45 -68 40 c-68 40 -197 115 -554 323 -102 59 -190 113 -197 119 -9 8 30 36 160 113 95 56 175 102 179 102 4 1 190 -106 415 -238z m-355 -254 l397 -232 1 -342 0 -342 -92 54 c-51 30 -238 139 -415 242 l-323 188 0 339 c0 314 1 338 17 332 9 -4 196 -111 415 -239z m1278 -92 l0 -334 -117 -69 c-65 -38 -239 -140 -388 -227 -148 -86 -285 -166 -303 -177 l-32 -20 2 343 3 343 165 98 c91 53 171 97 178 97 9 1 12 -24 12 -94 0 -52 3 -95 7 -95 11 0 98 53 105 64 4 6 8 56 8 111 l1 100 167 97 c92 53 173 97 180 98 9 0 12 -73 12 -335z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgReadyToShip);\nexport default __webpack_public_path__ + \"static/media/ReadyToShip.4e66f4ed4d3d18181b3d65f01e8d80b4.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgShipped(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"165.000000pt\",\n height: \"115.000000pt\",\n viewBox: \"0 0 165.000000 115.000000\",\n preserveAspectRatio: \"xMidYMid meet\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(0.000000,115.000000) scale(0.100000,-0.100000)\",\n fill: \"#000000\",\n stroke: \"none\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M34 1109 l-29 -30 0 -425 0 -426 33 -29 c29 -26 39 -29 102 -29 47 0 70 -4 70 -12 0 -6 9 -31 21 -55 31 -64 91 -97 168 -91 85 6 128 42 161 131 l10 27 291 -2 291 -3 13 -38 c15 -44 48 -82 87 -103 35 -18 121 -18 157 0 39 21 88 79 96 115 6 29 8 30 73 33 l67 3 3 227 2 227 -71 117 c-45 73 -83 123 -103 135 -27 17 -52 19 -218 19 l-186 0 -4 91 c-3 88 -4 92 -36 120 l-32 29 -468 0 -468 0 -30 -31z m970 -20 l26 -20 0 -435 0 -434 -230 0 -230 0 -10 27 c-19 52 -35 76 -68 101 -35 26 -109 40 -157 28 -40 -10 -103 -74 -117 -117 l-11 -39 -57 0 c-43 0 -64 5 -84 21 l-26 20 0 412 c0 408 0 411 22 434 l21 23 447 0 c437 0 448 0 474 -21z m446 -232 c21 -11 138 -178 139 -199 1 -5 -116 -8 -259 -8 l-260 0 0 110 0 110 178 0 c122 0 185 -4 202 -13z m160 -452 l0 -205 -48 0 c-48 0 -49 1 -60 39 -15 49 -79 108 -127 117 -106 20 -186 -30 -219 -139 -4 -12 -16 -17 -46 -17 l-40 0 0 205 0 205 270 0 270 0 0 -205z m-1133 -111 c86 -66 58 -214 -48 -245 -104 -31 -208 69 -179 171 28 99 144 137 227 74z m906 22 c18 -7 45 -28 60 -45 22 -27 27 -42 27 -86 0 -46 -5 -60 -30 -89 -53 -60 -136 -71 -194 -25 -83 66 -70 194 24 241 42 22 70 22 113 4z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M598 763 l-147 -146 -79 71 c-79 71 -102 85 -102 59 0 -17 164 -167 182 -167 20 0 322 306 314 319 -4 6 -10 11 -14 11 -4 0 -73 -66 -154 -147z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgShipped);\nexport default __webpack_public_path__ + \"static/media/Shipped.9ce38da7cb14231d2c150d201367b5f7.svg\";\nexport { ForwardRef as ReactComponent };","import { ClientDefectStatus } from './printRequestDefect.models';\nimport { PRStatus } from \"./print.request.models\";\n\nexport interface IOrder {\n id: number;\n orderDate: string | Date;\n plannedShipDate: string;\n orderStatus: number;\n cancellable: boolean;\n billingInfo: {\n firstName: string;\n lastName: string;\n company: string;\n countryId: number;\n countryName: string;\n stateProvinceId: number;\n stateProvinceName: string;\n city: string;\n address1: string;\n phoneNumber: string;\n zipPostalCode: string;\n };\n shippingInfo: {\n firstName: string;\n lastName: string;\n company: string;\n countryId: number;\n countryName: string;\n stateProvinceId: number;\n stateProvinceName: string;\n city: string;\n address1: string;\n phoneNumber: string;\n zipPostalCode: string;\n };\n printRequests: IPrintRequests[];\n progression: number;\n}\n\nexport interface IPrintRequests {\n printRequestId: number;\n progress: number;\n length: number;\n size: string;\n fabricCode: string;\n lastPrintDate: string | Date | null;\n status: PRStatus;\n productImage: string;\n sku: string;\n dueDate: string | Date;\n version: number;\n defectStatus?: ClientDefectStatus;\n productName?: string;\n bundlePrIds?: number[];\n shippingWindowLabel?: string;\n}\n\nexport interface IOrderStatus {\n title: string;\n status: OrderStatusType;\n prStatus: PRStatus[];\n icon: React.FunctionComponent<\n React.SVGProps & {\n title?: string | undefined;\n }\n >;\n}\n\nexport enum OrderStatusType {\n InPreparation = \"InPreparation\",\n InProduction = \"InProduction\",\n ReadyToShip = \"ReadyToShip\",\n Shipped = \"Shipped\",\n Canceled = \"Canceled\"\n}","import { Fabric, PRStatus } from \"../models/print.request.models\";\nimport { ReactComponent as InPreparationIcon } from \"../assets/icons/InPreparation.svg\";\nimport { ReactComponent as InProdIcon } from \"../assets/icons/InProd_1.svg\";\nimport { ReactComponent as ReadyToShipIcon } from \"../assets/icons/ReadyToShip.svg\";\nimport { ReactComponent as ShippedIcon } from \"../assets/icons/Shipped.svg\";\nimport { IOrderStatus, OrderStatusType } from \"../models/order.models\";\n\nexport const searchStatus = Object.keys(PRStatus).map((k) => k);\nexport const updateStatuses = Object.keys(PRStatus).filter(\n (k) =>\n k !== PRStatus.Placed && k !== PRStatus.Error && k !== PRStatus.Canceled\n);\nexport const fabric = Object.keys(Fabric).map((k) => k);\n\nexport const orderStatus: IOrderStatus[] = [\n {\n title: \"orderDetail.statusShipping.inPreparation\",\n status: OrderStatusType.InPreparation,\n prStatus: [PRStatus.Placed, PRStatus.TFInDesign, PRStatus.ReadyToPrint],\n icon: InPreparationIcon,\n },\n {\n title: \"orderDetail.statusShipping.inProduction\",\n status: OrderStatusType.InProduction,\n prStatus: [\n PRStatus.Printed,\n PRStatus.Carrefour,\n PRStatus.PrintInProgress,\n PRStatus.ReadyForReprint,\n PRStatus.OnHold,\n ],\n icon: InProdIcon,\n },\n {\n title: \"orderDetail.statusShipping.readyToShip\",\n status: OrderStatusType.ReadyToShip,\n prStatus: [PRStatus.ShipReady],\n icon: ReadyToShipIcon,\n },\n {\n title: \"orderDetail.statusShipping.shipped\",\n status: OrderStatusType.Shipped,\n prStatus: [PRStatus.Shipped],\n icon: ShippedIcon,\n }\n];\n\nexport const prStatusesValue = [\n {\n value: PRStatus.Canceled,\n textValue: \"orderDetail.statusShipping.canceled\"\n }\n]","export enum FrontEndPRStatus {\n All = \"All\",\n NotShippedNorReadyToShip = \"Not Shipped or Ready to Ship\",\n DefectRequest = \"DefectRequest\"\n}\n\nexport interface ISearchPRParamsReq {\n status?: string;\n prId?: number;\n orderId?: number;\n fabric?: string;\n sku?: string;\n startShipDate?: string | Date;\n endShipDate?: string | Date;\n startLastPrintDate?: string | Date;\n endLastPrintDate?: string | Date;\n notShippedNorReadyToShip?: boolean;\n weekNumber?: string;\n page: number;\n pageSize: number;\n}\n\nexport enum PRStatus {\n Placed = \"Placed\",\n TFInDesign = \"TFInDesign\",\n ReadyToPrint = \"ReadyToPrint\",\n ReadyForReprint = \"ReadyForReprint\",\n Printed = \"Printed\",\n PrintInProgress = \"PrintInProgress\",\n OnHold = \"OnHold\",\n Carrefour = \"Carrefour\",\n ShipReady = \"ShipReady\",\n Error = \"Error\",\n Shipped = \"Shipped\",\n Canceled = \"Canceled\",\n}\n\nexport enum Fabric {\n \"AL\" = \"AL\",\n \"CS\" = \"CS\",\n \"DY\" = \"DY\",\n \"GC\" = \"GC\",\n \"HT\" = \"HT\",\n \"IY\" = \"IY\",\n \"JE\" = \"JE\",\n \"KC\" = \"KC\",\n \"LI\" = \"LI\",\n \"LP\" = \"LP\",\n \"LT\" = \"LT\",\n \"MF\" = \"MF\",\n \"MI\" = \"MI\",\n \"NA\" = \"NA\",\n \"RS\" = \"RS\",\n \"SA\" = \"SA\",\n \"SC\" = \"SC\",\n \"SF\" = \"SF\",\n \"SK\" = \"SK\",\n \"ST\" = \"ST\",\n \"WC\" = \"WC\",\n \"STOCK\" = \"STOCK\",\n}\n\nexport enum LocationEnum {\n Printroom = \"Printroom\",\n Sub = \"Sublimation\",\n Laser = \"Laser\",\n Sew = \"Sew\",\n Cleaning = \"Cleaning\",\n Shipping = \"Shipping\",\n PostProd = \"Client-flagged\",\n}\nexport enum ProblemEnum {\n DesignRedoHT = \"Design - Redo HT\",\n DesignRedoTF = \"Design - Redo TF\",\n ProductionReprintHT = \"Production - Reprint HT\",\n ProductionFabric = \"Production - Fabric defect\",\n ProductionPrintDefect = \"Production - Print defect\",\n ProductionSub = \"Production - Sub defect\",\n ProductionLaser = \"Production - Laser defect\",\n ProductionSew = \"Production - Sew defect\",\n ProductionUnitMissing = \"Production - Unit missing or lost\",\n ProductionClient = \"Production - Client spotted Production defect\",\n}\n\nexport enum CommentsEnum {\n Other = \"Other (see comment)\",\n FlipBack = \"Flip Back\",\n MissingSignature = \"Missing Signature\",\n NotPlacedOrScaledLikeMockup = \"Not placed or scaled like mockup\",\n}\n\nexport interface IPRRes {\n defectNote: number;\n dueDate: string | Date;\n fabricCode: string;\n id: number;\n length: number;\n orderId: number;\n orderItemId: number;\n printCount: number;\n size: string;\n status: PRStatus;\n transferFileId: string;\n lastPrintDate: string | Date;\n orderGuid: string;\n imageUrl: string;\n version: number;\n startOfShippingWeek: string | Date;\n endOfShippingWeek: string | Date;\n weekNumber: string;\n}\n\nexport interface IReportErrorReq {\n printRequestId: number;\n step: LocationEnum;\n problem: ProblemEnum;\n comment: string;\n comment1?: string;\n}\n\nexport interface IHistories {\n id: number;\n guidId: string;\n comment: string;\n printRequestId: number;\n problem: ProblemEnum;\n step: string;\n status: PRStatus;\n createdDate: string | Date;\n modifiedBy: number;\n isErrorReported?: boolean;\n}\n\nexport interface IPrintRequestRes {\n defectNote: number;\n modifiedDate: string;\n dueDate: string;\n fabricCode: string;\n id: number;\n length: number;\n orderId: number;\n orderItemId: number;\n printCount: number;\n size: string;\n status: string;\n transferFile: {\n id: string;\n dueDate: string;\n status: string;\n version: number;\n };\n transferFileId: string;\n imageUrl: string;\n histories: IHistories[];\n lastPrintDate: string;\n hangtagUrl: string;\n tfUrl: string;\n transferFileStatus: string;\n orderGuid: string; \n customLabelUrl: string;\n availableSizes: string[];\n weekNumber: string;\n shippingWindowLabel: string;\n}\n\nexport enum ConfirmActionEnum {\n UpdateStatus,\n GenerateHangtag,\n UpdateSize\n}\n","import { AxiosResponse } from \"axios\";\nimport {\n IPRRes,\n IReportErrorReq,\n ISearchPRParamsReq,\n PRStatus,\n} from \"../models/print.request.models\";\nimport {\n downloadAsync,\n getAsync,\n postAsync,\n postDownloadFileAsync,\n putAsync,\n} from \"../utils/http-client\";\n\nexport const searchPR = (\n params: ISearchPRParamsReq\n): Promise> => {\n const url = `manage-design/api/pr/search`;\n\n return getAsync(url, params);\n};\n\nexport const getNumberOfMeters = (\n params: ISearchPRParamsReq\n): Promise> => {\n const url = `manage-design/api/pr/get-number-of-meters`;\n\n return getAsync(url, params);\n};\n\nexport const getPR = (id: number): Promise> => {\n const url = `manage-design/api/pr/${id}`;\n\n return getAsync(url);\n};\n\nexport const getHangtag = (id: number): Promise> => {\n const url = `manage-design/api/pr/${id}/download-hangtag`;\n\n return downloadAsync(url);\n};\n\nexport const getTFLink = (id: number): Promise> => {\n const url = `manage-design/api/pr/${id}/download-tf`;\n\n return downloadAsync(url);\n};\n\nexport const getPullfile = (): Promise> => {\n const url = `manage-design/api/charted/pull-file`;\n\n return getAsync(url);\n};\n\nexport const postGenerateHangtag = (\n id: number\n): Promise> => {\n const url = `manage-design/api/pr/${id}/generate-hangtag`;\n\n return postAsync(url, {});\n};\n\nexport const putUpdateStatus = (\n params: number[],\n status: PRStatus\n): Promise> => {\n \n const url = `manage-design/api/pr/update-status?status=${status}`;\n\n return putAsync(url, params);\n};\n\nexport const putUpdateSize = (\n params: number[],\n sizeName: string\n): Promise> => {\n const url = `manage-design/api/pr/update-size?id=${params[0]}&sizeName=${sizeName}`;\n\n return putAsync(url);\n};\n\nexport const postRegenerateHangtag = (\n params: number[]\n): Promise> => {\n const url = `manage-design/api/pr/regenerate-hangtag`;\n\n return postDownloadFileAsync(url, params);\n};\n\nexport const putMarkPRAsShipReady = (\n id: string | number\n): Promise> => {\n const url = `manage-design/api/pr/${id}/ship-ready`;\n\n return putAsync(url);\n};\nexport const postReportError = (\n params: IReportErrorReq\n): Promise> => {\n const url = `manage-design/api/pr/report-error`;\n\n return postAsync(url, params);\n};\nexport const addPRComment = (\n id: string | number,\n comment: string\n): Promise> => {\n const url = `manage-design/api/pr/comment`;\n\n return postAsync(url, {id, comment});\n};\n"],"names":["ChangeStatusShipping","props","id","value","list","onChange","disabled","onClickButton","textButton","title","className","rows","_jsxs","classNames","children","_jsx","InputSelect","type","onClick","src","alt","isError","setIsError","useState","url","noImageUrl","onError","handleImageErrored","e","currentTarget","map","item","_g","_g2","_g3","_g4","_g5","_g6","_g7","_g8","_g9","_g10","_g11","_g12","_g13","_g14","_g15","_g16","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","SvgSort","_ref","svgRef","titleId","xmlns","xmlnsXlink","x","y","width","height","viewBox","style","enableBackground","xmlSpace","ref","d","ForwardRef","SvgSortUp","SvgSortDown","headersTable","data","sortParams","setSortParams","field","sortType","useEffect","renderIcon","icon","SortIcon","OrderDirection","DESC","SortUp","SortDown","dataSort","dataSorts","prSortData","sort","columnName","sortOrder","a","b","result","match","Date","dynamicSort","key","isHide","textAlign","align","ASC","handleSort","handleItem","Modal","open","onClose","handleOK","handleCancel","content","modalHeader","size","modalFooter","tabIndex","alignItems","_Fragment","SvgInPreparation","preserveAspectRatio","transform","fill","stroke","SvgInProd1","SvgReadyToShip","SvgShipped","OrderStatusType","searchStatus","keys","PRStatus","k","updateStatuses","filter","Placed","Error","Canceled","fabric","Fabric","orderStatus","status","InPreparation","prStatus","TFInDesign","ReadyToPrint","InPreparationIcon","InProduction","Printed","Carrefour","PrintInProgress","ReadyForReprint","OnHold","InProdIcon","ReadyToShip","ShipReady","ReadyToShipIcon","Shipped","ShippedIcon","prStatusesValue","textValue","FrontEndPRStatus","LocationEnum","ProblemEnum","CommentsEnum","ConfirmActionEnum","searchPR","params","getAsync","getNumberOfMeters","getPR","putUpdateStatus","putAsync","putUpdateSize","sizeName","postRegenerateHangtag","postDownloadFileAsync","putMarkPRAsShipReady","postReportError","postAsync","addPRComment","comment"],"sourceRoot":""}