text: define("text!sampleTask/app/navbar/action/cam-tasklist-navbar-action-create-task-plugin.html",[],function(){return'<a href =# \r\n   ng-click="open()">\r\n  <span class="glyphicon glyphicon-plus-sign"></span>\r\n   Yet another {{ \'CREATE_TASK\' | translate }}\r\n</a>\r\n'}),define("text!sampleTask/app/navbar/action/modals/cam-tasklist-create-task-modal.html",[],function(){return'<!-- # CE - camunda-bpm-webapp/webapp/src/main/resources-plugin/standaloneTask/app/navbar/action/modals/cam-tasklist-create-task-modal.html -->\r\n<div class="modal-header">\r\n  <h3 class="cam-tasklist-create-task modal-title">{{ \'CREATE_TASK\' | translate }}</h3>\r\n</div>\r\n\r\n<div class="modal-body">\r\n\r\n  <div notifications-panel></div>\r\n\r\n  <form class="form-horizontal"\r\n        name="newTaskForm"\r\n        role="form">\r\n    <div ng-init="setNewTaskForm(this.newTaskForm)"></div>\r\n\r\n    <div class="form-group">\r\n      <label for="filter-form-color"\r\n             class="col-xs-2 control-label">{{ \'NEW_TASK_NAME\' | translate }}</label>\r\n      <div class="col-xs-10">\r\n        <input class="form-control"\r\n               name="taskName"\r\n               ng-model="task.name"\r\n               required\r\n               type="text" />\r\n        <span ng-if="this.newTaskForm.taskName.$invalid && this.newTaskForm.taskName.$dirty"\r\n              class="has-error">\r\n          <span ng-show="this.newTaskForm.taskName.$error.required"\r\n                class="help-block">\r\n            {{ \'REQUIRED_FIELD\' | translate }}\r\n          </span>\r\n        </span>\r\n      </div>\r\n    </div>\r\n\r\n    <div class="form-group">\r\n      <label for="filter-form-color"\r\n             class="col-xs-2 control-label">{{ \'NEW_TASK_ASSIGNEE\' | translate }}</label>\r\n      <div class="col-xs-10">\r\n        <input class="form-control"\r\n               name="taskAssignee"\r\n               ng-model="task.assignee"\r\n               type="text" />\r\n      </div>\r\n    </div>\r\n\r\n    <div class="form-group">\r\n      <label for="filter-form-color"\r\n             class="col-xs-2 control-label">{{ \'NEW_TASK_DESCRIPTION\' | translate }}</label>\r\n      <div class="col-xs-10">\r\n        <textarea class="form-control"\r\n                  name="taskDescription"\r\n                  ng-model="task.description"\r\n                  rows="4">\r\n        </textarea>\r\n      </div>\r\n    </div>\r\n\r\n  </form>\r\n\r\n</div>\r\n\r\n<div class="modal-footer">\r\n  <div class="row row-action">\r\n\r\n    <div class="col-xs-12">\r\n      <button class="btn btn-xs btn-link"\r\n              type="button"\r\n              ng-click="$dismiss()">\r\n        {{ \'CLOSE\' | translate }}\r\n      </button>\r\n\r\n      <button class="btn btn-primary"\r\n              type="submit"\r\n              ng-click="save()"\r\n              ng-disabled="!isValid()">\r\n        {{ \'SAVE\' | translate }}\r\n      </button>\r\n    </div>\r\n\r\n  </div>\r\n</div>\r\n<!-- / CE - camunda-bpm-webapp/webapp/src/main/resources-plugin/standaloneTask/app/navbar/action/modals/cam-tasklist-create-task-modal.html -->\r\n'}),define("sampleTask/app/navbar/action/cam-tasklist-navbar-action-create-task-plugin",["text!./cam-tasklist-navbar-action-create-task-plugin.html","text!./modals/cam-tasklist-create-task-modal.html"],function(a,n){"use strict";var r=["$scope","$modal",function(a,r){a.open=function(){r.open({size:"lg",controller:"camCreateTaskModalCtrl",template:n}).result.then(function(n){a.tasklistApp&&a.tasklistApp.refreshProvider&&a.tasklistApp.refreshProvider.refreshTaskList()})}}],s=function(n){n.registerDefaultView("tasklist.navbar.action",{id:"create-task-action",template:a,controller:r,priority:200})};return s.$inject=["ViewsProvider"],s}),define("sampleTask/app/navbar/action/modals/cam-tasklist-create-task-modal",["angular"],function(a){"use strict";return["$scope","$translate","Notifications","camAPI",function(n,r,s,t){var e={name:null,assignee:null,description:null,priority:50},l=t.resource("task"),i=n.task=a.copy(e),o=null;n.setNewTaskForm=function(a){o=a},n.$on("$locationChangeSuccess",function(){n.$dismiss()});var c=n.isValid=function(){return o&&o.$valid};n.save=function(){c()&&l.create(i,function(a){a?r("TASK_SAVE_ERROR").then(function(r){s.addError({status:r,message:a?a.message:"",exclusive:!0,scope:n})}):n.$close()})}}]}),define("sampleTask/app/navbar/main",["angular","./action/cam-tasklist-navbar-action-create-task-plugin","./action/modals/cam-tasklist-create-task-modal"],function(a,n,r){var s=a.module("tasklist.plugin.sampleTask.navbar.action",[]);return s.config(n),s.controller("camCreateTaskModalCtrl",r),s}),define("sampleTask/app/plugin",["angular","./navbar/main"],function(a,n){return a.module("tasklist.plugin.sampleTask",[n.name])}),require(["sampleTask/app/plugin"]);
  //# sourceMappingURL=plugin.js.map