!function(){"use strict";angular.module("order-completion.pending-orders.widget",[]).constant("WidgetConstants",{FILES:[]})}();
!function(){angular.module("order-completion.pending-orders.widget.templates",[]).run(["$templateCache",function(n){n.put("/widgetTemplate","\r\n"),n.put("/yourPendingOrdersTemplate",'\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n Je hebt\r\n \r\n \r\n een bestelling die je nog moet afronden.\r\n \r\n \r\n {{vm.orderCompletionLinks.length}}\r\n bestellingen die je nog moet afronden.\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n')}])}();
!function(){"use strict";angular.module("order-completion.pending-orders.widget").constant("WidgetEntityConfig",{ordercompletionlinks:{secure:!1,disableCache:!0,rel:"on:ordercompletionlinks",version:"v1",parentRel:"index",requiredJwts:["x-application-authorization"],dataStrategy:proximusConfig.DATASTRATEGY.TWO_PHASE_COMMIT,storageStrategy:proximusConfig.STORAGESTRATEGY.SESSIONSTORAGE}})}();
!function(){"use strict";function e(){var e={restrict:"A",templateUrl:"/yourPendingOrdersTemplate",controller:r,controllerAs:"vm"};return e}function r(e,r,n,o){var i=this;i.orderCompletionLinks=[],r.dispatch(n.GET_ORDER_COMPLETION_LINKS.EVENT),e.$watch(function(){return o.data.orderCompletionLinks},function(e){e&&(i.orderCompletionLinks=e.ordercompletionlinks)})}angular.module("order-completion.pending-orders.widget").directive("yourPendingOrders",e),e.$inject=[],r.$inject=["$scope","$commangular","WidgetCommandConfig","OrderCompletionLinksService"]}();
!function(){"use strict";function e(e,t,n,r,o){function i(){var i=e.defer(),c={customerId:t.customerId,status:"pending"};return n.getEntity(o.ordercompletionlinks,c).subscribe(function(e){r.setOrderCompletionLinks(e.value),i.resolve(r.data.orderCompletionLinks)},function(){i.reject(!1)}),i.promise}var c={execute:i};return c}commangular.create("GetOrderCompletionLinksCommand",e,{resultKey:"orderCompletionLinks"}),e.$inject=["$q","customerAccount","$entityManager","OrderCompletionLinksService","WidgetEntityConfig"]}();
!function(){"use strict";function e(){function e(e){n.data.orderCompletionLinks=e}var n={setOrderCompletionLinks:e,data:{orderCompletionLinks:{}}};return n}angular.module("order-completion.pending-orders.widget").factory("OrderCompletionLinksService",e),e.$inject=[]}();
!function(){"use strict";function n(n,o,e){n.mapTo(e.GET_ORDER_COMPLETION_LINKS.EVENT).asSequence().add(o.GET_CUSTOMER_ACCOUNT.COMMAND).add(e.GET_ORDER_COMPLETION_LINKS.COMMAND)}var o={GET_ORDER_COMPLETION_LINKS:{EVENT:"GetOrderCompletionLinksCommand",COMMAND:"GetOrderCompletionLinksCommand"}};angular.module("order-completion.pending-orders.widget").config(n).constant("WidgetCommandConfig",o),n.$inject=["$commangularProvider","CommonCommandConfig","WidgetCommandConfig"]}();
//# sourceMappingURL=widget.order-completion.process.js.map