Liferay.Loader.define("commerce-frontend-js@4.0.52/components/account_selector/OrdersTable",["module","exports","require","@frontend-taglib-clay$clayui/table","@liferay/frontend-data-set-web","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../utilities/index"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=f(a("@frontend-taglib-clay$clayui/table")),r=a("@liferay/frontend-data-set-web"),d=(f(a("liferay!frontend-js-react-web$prop-types")),f(a("liferay!frontend-js-react-web$react"))),n=a("../../utilities/index");function f(e){return e&&e.__esModule?e:{default:e}}var u=function({orders:e,selectOrderURL:t}){return d.default.createElement(l.default,{borderless:!0,className:"orders-table"},d.default.createElement(l.default.Head,null,d.default.createElement(l.default.Row,null,d.default.createElement(l.default.Cell,{headingCell:!0},Liferay.Language.get("order-number")),d.default.createElement(l.default.Cell,{headingCell:!0},Liferay.Language.get("status")),d.default.createElement(l.default.Cell,{headingCell:!0},Liferay.Language.get("last-modified")))),d.default.createElement(l.default.Body,null,e.map((e=>d.default.createElement(l.default.Row,{key:e.id},d.default.createElement(l.default.Cell,{headingTitle:!0},d.default.createElement("a",{href:(0,n.formatActionUrl)(t,e)},e.id)),d.default.createElement(l.default.Cell,null,d.default.createElement(r.StatusRenderer,{value:e.orderStatusInfo})),d.default.createElement(l.default.Cell,null,d.default.createElement(r.DateTimeRenderer,{value:e.modifiedDate})))))))};t.default=u}}));
//# sourceMappingURL=OrdersTable.js.map