diff options
author | st782s <statta@research.att.com> | 2017-05-04 07:48:42 -0400 |
---|---|---|
committer | st782s <statta@research.att.com> | 2017-05-04 12:28:17 -0400 |
commit | b54df0ddd0c6a0372327c5aa3668e5a6458fcd64 (patch) | |
tree | e69cfa9b314a801bd187cf0145d1d4306436229c /ecomp-portal-FE/client/bower_components/angular-messages | |
parent | 39d1e62c84041831bfc52cca73b5ed5efaf57d27 (diff) |
[PORTAL-7] Rebase
This rebasing includes common libraries and common overlays projects
abstraction of components
Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8
Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/angular-messages')
9 files changed, 0 insertions, 912 deletions
diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/.bower.json b/ecomp-portal-FE/client/bower_components/angular-messages/.bower.json deleted file mode 100644 index 21cfce15..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/.bower.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "angular-messages", - "version": "1.5.11", - "license": "MIT", - "main": "./angular-messages.js", - "ignore": [], - "dependencies": { - "angular": "1.5.11" - }, - "homepage": "https://github.com/angular/bower-angular-messages", - "_release": "1.5.11", - "_resolution": { - "type": "version", - "tag": "v1.5.11", - "commit": "4853e43f00243d582b4f6145b6096129ca91fbdf" - }, - "_source": "https://github.com/angular/bower-angular-messages.git", - "_target": "~1.5.0", - "_originalSource": "angular-messages" -}
\ No newline at end of file diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/LICENSE.md b/ecomp-portal-FE/client/bower_components/angular-messages/LICENSE.md deleted file mode 100644 index 2c395eef..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Angular - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/README.md b/ecomp-portal-FE/client/bower_components/angular-messages/README.md deleted file mode 100644 index 1a151749..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/README.md +++ /dev/null @@ -1,68 +0,0 @@ -# packaged angular-messages - -This repo is for distribution on `npm` and `bower`. The source for this module is in the -[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMessages). -Please file issues and pull requests against that repo. - -## Install - -You can install this package either with `npm` or with `bower`. - -### npm - -```shell -npm install angular-messages -``` - -Then add `ngMessages` as a dependency for your app: - -```javascript -angular.module('myApp', [require('angular-messages')]); -``` - -### bower - -```shell -bower install angular-messages -``` - -Add a `<script>` to your `index.html`: - -```html -<script src="/bower_components/angular-messages/angular-messages.js"></script> -``` - -Then add `ngMessages` as a dependency for your app: - -```javascript -angular.module('myApp', ['ngMessages']); -``` - -## Documentation - -Documentation is available on the -[AngularJS docs site](http://docs.angularjs.org/api/ngMessages). - -## License - -The MIT License - -Copyright (c) 2010-2015 Google, Inc. http://angularjs.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.js b/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.js deleted file mode 100644 index b102046e..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.js +++ /dev/null @@ -1,739 +0,0 @@ -/** - * @license AngularJS v1.5.11 - * (c) 2010-2017 Google, Inc. http://angularjs.org - * License: MIT - */ -(function(window, angular) {'use strict'; - -var forEach; -var isArray; -var isString; -var jqLite; - -/** - * @ngdoc module - * @name ngMessages - * @description - * - * The `ngMessages` module provides enhanced support for displaying messages within templates - * (typically within forms or when rendering message objects that return key/value data). - * Instead of relying on JavaScript code and/or complex ng-if statements within your form template to - * show and hide error messages specific to the state of an input field, the `ngMessages` and - * `ngMessage` directives are designed to handle the complexity, inheritance and priority - * sequencing based on the order of how the messages are defined in the template. - * - * Currently, the ngMessages module only contains the code for the `ngMessages`, `ngMessagesInclude` - * `ngMessage` and `ngMessageExp` directives. - * - * # Usage - * The `ngMessages` directive allows keys in a key/value collection to be associated with a child element - * (or 'message') that will show or hide based on the truthiness of that key's value in the collection. A common use - * case for `ngMessages` is to display error messages for inputs using the `$error` object exposed by the - * {@link ngModel ngModel} directive. - * - * The child elements of the `ngMessages` directive are matched to the collection keys by a `ngMessage` or - * `ngMessageExp` directive. The value of these attributes must match a key in the collection that is provided by - * the `ngMessages` directive. - * - * Consider the following example, which illustrates a typical use case of `ngMessages`. Within the form `myForm` we - * have a text input named `myField` which is bound to the scope variable `field` using the {@link ngModel ngModel} - * directive. - * - * The `myField` field is a required input of type `email` with a maximum length of 15 characters. - * - * ```html - * <form name="myForm"> - * <label> - * Enter text: - * <input type="email" ng-model="field" name="myField" required maxlength="15" /> - * </label> - * <div ng-messages="myForm.myField.$error" role="alert"> - * <div ng-message="required">Please enter a value for this field.</div> - * <div ng-message="email">This field must be a valid email address.</div> - * <div ng-message="maxlength">This field can be at most 15 characters long.</div> - * </div> - * </form> - * ``` - * - * In order to show error messages corresponding to `myField` we first create an element with an `ngMessages` attribute - * set to the `$error` object owned by the `myField` input in our `myForm` form. - * - * Within this element we then create separate elements for each of the possible errors that `myField` could have. - * The `ngMessage` attribute is used to declare which element(s) will appear for which error - for example, - * setting `ng-message="required"` specifies that this particular element should be displayed when there - * is no value present for the required field `myField` (because the key `required` will be `true` in the object - * `myForm.myField.$error`). - * - * ### Message order - * - * By default, `ngMessages` will only display one message for a particular key/value collection at any time. If more - * than one message (or error) key is currently true, then which message is shown is determined by the order of messages - * in the HTML template code (messages declared first are prioritised). This mechanism means the developer does not have - * to prioritize messages using custom JavaScript code. - * - * Given the following error object for our example (which informs us that the field `myField` currently has both the - * `required` and `email` errors): - * - * ```javascript - * <!-- keep in mind that ngModel automatically sets these error flags --> - * myField.$error = { required : true, email: true, maxlength: false }; - * ``` - * The `required` message will be displayed to the user since it appears before the `email` message in the DOM. - * Once the user types a single character, the `required` message will disappear (since the field now has a value) - * but the `email` message will be visible because it is still applicable. - * - * ### Displaying multiple messages at the same time - * - * While `ngMessages` will by default only display one error element at a time, the `ng-messages-multiple` attribute can - * be applied to the `ngMessages` container element to cause it to display all applicable error messages at once: - * - * ```html - * <!-- attribute-style usage --> - * <div ng-messages="myForm.myField.$error" ng-messages-multiple>...</div> - * - * <!-- element-style usage --> - * <ng-messages for="myForm.myField.$error" multiple>...</ng-messages> - * ``` - * - * ## Reusing and Overriding Messages - * In addition to prioritization, ngMessages also allows for including messages from a remote or an inline - * template. This allows for generic collection of messages to be reused across multiple parts of an - * application. - * - * ```html - * <script type="text/ng-template" id="error-messages"> - * <div ng-message="required">This field is required</div> - * <div ng-message="minlength">This field is too short</div> - * </script> - * - * <div ng-messages="myForm.myField.$error" role="alert"> - * <div ng-messages-include="error-messages"></div> - * </div> - * ``` - * - * However, including generic messages may not be useful enough to match all input fields, therefore, - * `ngMessages` provides the ability to override messages defined in the remote template by redefining - * them within the directive container. - * - * ```html - * <!-- a generic template of error messages known as "my-custom-messages" --> - * <script type="text/ng-template" id="my-custom-messages"> - * <div ng-message="required">This field is required</div> - * <div ng-message="minlength">This field is too short</div> - * </script> - * - * <form name="myForm"> - * <label> - * Email address - * <input type="email" - * id="email" - * name="myEmail" - * ng-model="email" - * minlength="5" - * required /> - * </label> - * <!-- any ng-message elements that appear BEFORE the ng-messages-include will - * override the messages present in the ng-messages-include template --> - * <div ng-messages="myForm.myEmail.$error" role="alert"> - * <!-- this required message has overridden the template message --> - * <div ng-message="required">You did not enter your email address</div> - * - * <!-- this is a brand new message and will appear last in the prioritization --> - * <div ng-message="email">Your email address is invalid</div> - * - * <!-- and here are the generic error messages --> - * <div ng-messages-include="my-custom-messages"></div> - * </div> - * </form> - * ``` - * - * In the example HTML code above the message that is set on required will override the corresponding - * required message defined within the remote template. Therefore, with particular input fields (such - * email addresses, date fields, autocomplete inputs, etc...), specialized error messages can be applied - * while more generic messages can be used to handle other, more general input errors. - * - * ## Dynamic Messaging - * ngMessages also supports using expressions to dynamically change key values. Using arrays and - * repeaters to list messages is also supported. This means that the code below will be able to - * fully adapt itself and display the appropriate message when any of the expression data changes: - * - * ```html - * <form name="myForm"> - * <label> - * Email address - * <input type="email" - * name="myEmail" - * ng-model="email" - * minlength="5" - * required /> - * </label> - * <div ng-messages="myForm.myEmail.$error" role="alert"> - * <div ng-message="required">You did not enter your email address</div> - * <div ng-repeat="errorMessage in errorMessages"> - * <!-- use ng-message-exp for a message whose key is given by an expression --> - * <div ng-message-exp="errorMessage.type">{{ errorMessage.text }}</div> - * </div> - * </div> - * </form> - * ``` - * - * The `errorMessage.type` expression can be a string value or it can be an array so - * that multiple errors can be associated with a single error message: - * - * ```html - * <label> - * Email address - * <input type="email" - * ng-model="data.email" - * name="myEmail" - * ng-minlength="5" - * ng-maxlength="100" - * required /> - * </label> - * <div ng-messages="myForm.myEmail.$error" role="alert"> - * <div ng-message-exp="'required'">You did not enter your email address</div> - * <div ng-message-exp="['minlength', 'maxlength']"> - * Your email must be between 5 and 100 characters long - * </div> - * </div> - * ``` - * - * Feel free to use other structural directives such as ng-if and ng-switch to further control - * what messages are active and when. Be careful, if you place ng-message on the same element - * as these structural directives, Angular may not be able to determine if a message is active - * or not. Therefore it is best to place the ng-message on a child element of the structural - * directive. - * - * ```html - * <div ng-messages="myForm.myEmail.$error" role="alert"> - * <div ng-if="showRequiredError"> - * <div ng-message="required">Please enter something</div> - * </div> - * </div> - * ``` - * - * ## Animations - * If the `ngAnimate` module is active within the application then the `ngMessages`, `ngMessage` and - * `ngMessageExp` directives will trigger animations whenever any messages are added and removed from - * the DOM by the `ngMessages` directive. - * - * Whenever the `ngMessages` directive contains one or more visible messages then the `.ng-active` CSS - * class will be added to the element. The `.ng-inactive` CSS class will be applied when there are no - * messages present. Therefore, CSS transitions and keyframes as well as JavaScript animations can - * hook into the animations whenever these classes are added/removed. - * - * Let's say that our HTML code for our messages container looks like so: - * - * ```html - * <div ng-messages="myMessages" class="my-messages" role="alert"> - * <div ng-message="alert" class="some-message">...</div> - * <div ng-message="fail" class="some-message">...</div> - * </div> - * ``` - * - * Then the CSS animation code for the message container looks like so: - * - * ```css - * .my-messages { - * transition:1s linear all; - * } - * .my-messages.ng-active { - * // messages are visible - * } - * .my-messages.ng-inactive { - * // messages are hidden - * } - * ``` - * - * Whenever an inner message is attached (becomes visible) or removed (becomes hidden) then the enter - * and leave animation is triggered for each particular element bound to the `ngMessage` directive. - * - * Therefore, the CSS code for the inner messages looks like so: - * - * ```css - * .some-message { - * transition:1s linear all; - * } - * - * .some-message.ng-enter {} - * .some-message.ng-enter.ng-enter-active {} - * - * .some-message.ng-leave {} - * .some-message.ng-leave.ng-leave-active {} - * ``` - * - * {@link ngAnimate Click here} to learn how to use JavaScript animations or to learn more about ngAnimate. - */ -angular.module('ngMessages', [], function initAngularHelpers() { - // Access helpers from angular core. - // Do it inside a `config` block to ensure `window.angular` is available. - forEach = angular.forEach; - isArray = angular.isArray; - isString = angular.isString; - jqLite = angular.element; -}) - - /** - * @ngdoc directive - * @module ngMessages - * @name ngMessages - * @restrict AE - * - * @description - * `ngMessages` is a directive that is designed to show and hide messages based on the state - * of a key/value object that it listens on. The directive itself complements error message - * reporting with the `ngModel` $error object (which stores a key/value state of validation errors). - * - * `ngMessages` manages the state of internal messages within its container element. The internal - * messages use the `ngMessage` directive and will be inserted/removed from the page depending - * on if they're present within the key/value object. By default, only one message will be displayed - * at a time and this depends on the prioritization of the messages within the template. (This can - * be changed by using the `ng-messages-multiple` or `multiple` attribute on the directive container.) - * - * A remote template can also be used to promote message reusability and messages can also be - * overridden. - * - * {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`. - * - * @usage - * ```html - * <!-- using attribute directives --> - * <ANY ng-messages="expression" role="alert"> - * <ANY ng-message="stringValue">...</ANY> - * <ANY ng-message="stringValue1, stringValue2, ...">...</ANY> - * <ANY ng-message-exp="expressionValue">...</ANY> - * </ANY> - * - * <!-- or by using element directives --> - * <ng-messages for="expression" role="alert"> - * <ng-message when="stringValue">...</ng-message> - * <ng-message when="stringValue1, stringValue2, ...">...</ng-message> - * <ng-message when-exp="expressionValue">...</ng-message> - * </ng-messages> - * ``` - * - * @param {string} ngMessages an angular expression evaluating to a key/value object - * (this is typically the $error object on an ngModel instance). - * @param {string=} ngMessagesMultiple|multiple when set, all messages will be displayed with true - * - * @example - * <example name="ngMessages-directive" module="ngMessagesExample" - * deps="angular-messages.js" - * animations="true" fixBase="true"> - * <file name="index.html"> - * <form name="myForm"> - * <label> - * Enter your name: - * <input type="text" - * name="myName" - * ng-model="name" - * ng-minlength="5" - * ng-maxlength="20" - * required /> - * </label> - * <pre>myForm.myName.$error = {{ myForm.myName.$error | json }}</pre> - * - * <div ng-messages="myForm.myName.$error" style="color:maroon" role="alert"> - * <div ng-message="required">You did not enter a field</div> - * <div ng-message="minlength">Your field is too short</div> - * <div ng-message="maxlength">Your field is too long</div> - * </div> - * </form> - * </file> - * <file name="script.js"> - * angular.module('ngMessagesExample', ['ngMessages']); - * </file> - * </example> - */ - .directive('ngMessages', ['$animate', function($animate) { - var ACTIVE_CLASS = 'ng-active'; - var INACTIVE_CLASS = 'ng-inactive'; - - return { - require: 'ngMessages', - restrict: 'AE', - controller: ['$element', '$scope', '$attrs', function NgMessagesCtrl($element, $scope, $attrs) { - var ctrl = this; - var latestKey = 0; - var nextAttachId = 0; - - this.getAttachId = function getAttachId() { return nextAttachId++; }; - - var messages = this.messages = {}; - var renderLater, cachedCollection; - - this.render = function(collection) { - collection = collection || {}; - - renderLater = false; - cachedCollection = collection; - - // this is true if the attribute is empty or if the attribute value is truthy - var multiple = isAttrTruthy($scope, $attrs.ngMessagesMultiple) || - isAttrTruthy($scope, $attrs.multiple); - - var unmatchedMessages = []; - var matchedKeys = {}; - var messageItem = ctrl.head; - var messageFound = false; - var totalMessages = 0; - - // we use != instead of !== to allow for both undefined and null values - while (messageItem != null) { - totalMessages++; - var messageCtrl = messageItem.message; - - var messageUsed = false; - if (!messageFound) { - forEach(collection, function(value, key) { - if (!messageUsed && truthy(value) && messageCtrl.test(key)) { - // this is to prevent the same error name from showing up twice - if (matchedKeys[key]) return; - matchedKeys[key] = true; - - messageUsed = true; - messageCtrl.attach(); - } - }); - } - - if (messageUsed) { - // unless we want to display multiple messages then we should - // set a flag here to avoid displaying the next message in the list - messageFound = !multiple; - } else { - unmatchedMessages.push(messageCtrl); - } - - messageItem = messageItem.next; - } - - forEach(unmatchedMessages, function(messageCtrl) { - messageCtrl.detach(); - }); - - if (unmatchedMessages.length !== totalMessages) { - $animate.setClass($element, ACTIVE_CLASS, INACTIVE_CLASS); - } else { - $animate.setClass($element, INACTIVE_CLASS, ACTIVE_CLASS); - } - }; - - $scope.$watchCollection($attrs.ngMessages || $attrs['for'], ctrl.render); - - // If the element is destroyed, proactively destroy all the currently visible messages - $element.on('$destroy', function() { - forEach(messages, function(item) { - item.message.detach(); - }); - }); - - this.reRender = function() { - if (!renderLater) { - renderLater = true; - $scope.$evalAsync(function() { - if (renderLater && cachedCollection) { - ctrl.render(cachedCollection); - } - }); - } - }; - - this.register = function(comment, messageCtrl) { - var nextKey = latestKey.toString(); - messages[nextKey] = { - message: messageCtrl - }; - insertMessageNode($element[0], comment, nextKey); - comment.$$ngMessageNode = nextKey; - latestKey++; - - ctrl.reRender(); - }; - - this.deregister = function(comment) { - var key = comment.$$ngMessageNode; - delete comment.$$ngMessageNode; - removeMessageNode($element[0], comment, key); - delete messages[key]; - ctrl.reRender(); - }; - - function findPreviousMessage(parent, comment) { - var prevNode = comment; - var parentLookup = []; - - while (prevNode && prevNode !== parent) { - var prevKey = prevNode.$$ngMessageNode; - if (prevKey && prevKey.length) { - return messages[prevKey]; - } - - // dive deeper into the DOM and examine its children for any ngMessage - // comments that may be in an element that appears deeper in the list - if (prevNode.childNodes.length && parentLookup.indexOf(prevNode) === -1) { - parentLookup.push(prevNode); - prevNode = prevNode.childNodes[prevNode.childNodes.length - 1]; - } else if (prevNode.previousSibling) { - prevNode = prevNode.previousSibling; - } else { - prevNode = prevNode.parentNode; - parentLookup.push(prevNode); - } - } - } - - function insertMessageNode(parent, comment, key) { - var messageNode = messages[key]; - if (!ctrl.head) { - ctrl.head = messageNode; - } else { - var match = findPreviousMessage(parent, comment); - if (match) { - messageNode.next = match.next; - match.next = messageNode; - } else { - messageNode.next = ctrl.head; - ctrl.head = messageNode; - } - } - } - - function removeMessageNode(parent, comment, key) { - var messageNode = messages[key]; - - var match = findPreviousMessage(parent, comment); - if (match) { - match.next = messageNode.next; - } else { - ctrl.head = messageNode.next; - } - } - }] - }; - - function isAttrTruthy(scope, attr) { - return (isString(attr) && attr.length === 0) || //empty attribute - truthy(scope.$eval(attr)); - } - - function truthy(val) { - return isString(val) ? val.length : !!val; - } - }]) - - /** - * @ngdoc directive - * @name ngMessagesInclude - * @restrict AE - * @scope - * - * @description - * `ngMessagesInclude` is a directive with the purpose to import existing ngMessage template - * code from a remote template and place the downloaded template code into the exact spot - * that the ngMessagesInclude directive is placed within the ngMessages container. This allows - * for a series of pre-defined messages to be reused and also allows for the developer to - * determine what messages are overridden due to the placement of the ngMessagesInclude directive. - * - * @usage - * ```html - * <!-- using attribute directives --> - * <ANY ng-messages="expression" role="alert"> - * <ANY ng-messages-include="remoteTplString">...</ANY> - * </ANY> - * - * <!-- or by using element directives --> - * <ng-messages for="expression" role="alert"> - * <ng-messages-include src="expressionValue1">...</ng-messages-include> - * </ng-messages> - * ``` - * - * {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`. - * - * @param {string} ngMessagesInclude|src a string value corresponding to the remote template. - */ - .directive('ngMessagesInclude', - ['$templateRequest', '$document', '$compile', function($templateRequest, $document, $compile) { - - return { - restrict: 'AE', - require: '^^ngMessages', // we only require this for validation sake - link: function($scope, element, attrs) { - var src = attrs.ngMessagesInclude || attrs.src; - $templateRequest(src).then(function(html) { - if ($scope.$$destroyed) return; - - if (isString(html) && !html.trim()) { - // Empty template - nothing to compile - replaceElementWithMarker(element, src); - } else { - // Non-empty template - compile and link - $compile(html)($scope, function(contents) { - element.after(contents); - replaceElementWithMarker(element, src); - }); - } - }); - } - }; - - // Helpers - function replaceElementWithMarker(element, src) { - // A comment marker is placed for debugging purposes - var comment = $compile.$$createComment ? - $compile.$$createComment('ngMessagesInclude', src) : - $document[0].createComment(' ngMessagesInclude: ' + src + ' '); - var marker = jqLite(comment); - element.after(marker); - - // Don't pollute the DOM anymore by keeping an empty directive element - element.remove(); - } - }]) - - /** - * @ngdoc directive - * @name ngMessage - * @restrict AE - * @scope - * - * @description - * `ngMessage` is a directive with the purpose to show and hide a particular message. - * For `ngMessage` to operate, a parent `ngMessages` directive on a parent DOM element - * must be situated since it determines which messages are visible based on the state - * of the provided key/value map that `ngMessages` listens on. - * - * More information about using `ngMessage` can be found in the - * {@link module:ngMessages `ngMessages` module documentation}. - * - * @usage - * ```html - * <!-- using attribute directives --> - * <ANY ng-messages="expression" role="alert"> - * <ANY ng-message="stringValue">...</ANY> - * <ANY ng-message="stringValue1, stringValue2, ...">...</ANY> - * </ANY> - * - * <!-- or by using element directives --> - * <ng-messages for="expression" role="alert"> - * <ng-message when="stringValue">...</ng-message> - * <ng-message when="stringValue1, stringValue2, ...">...</ng-message> - * </ng-messages> - * ``` - * - * @param {expression} ngMessage|when a string value corresponding to the message key. - */ - .directive('ngMessage', ngMessageDirectiveFactory()) - - - /** - * @ngdoc directive - * @name ngMessageExp - * @restrict AE - * @priority 1 - * @scope - * - * @description - * `ngMessageExp` is the same as {@link directive:ngMessage `ngMessage`}, but instead of a static - * value, it accepts an expression to be evaluated for the message key. - * - * @usage - * ```html - * <!-- using attribute directives --> - * <ANY ng-messages="expression"> - * <ANY ng-message-exp="expressionValue">...</ANY> - * </ANY> - * - * <!-- or by using element directives --> - * <ng-messages for="expression"> - * <ng-message when-exp="expressionValue">...</ng-message> - * </ng-messages> - * ``` - * - * {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`. - * - * @param {expression} ngMessageExp|whenExp an expression value corresponding to the message key. - */ - .directive('ngMessageExp', ngMessageDirectiveFactory()); - -function ngMessageDirectiveFactory() { - return ['$animate', function($animate) { - return { - restrict: 'AE', - transclude: 'element', - priority: 1, // must run before ngBind, otherwise the text is set on the comment - terminal: true, - require: '^^ngMessages', - link: function(scope, element, attrs, ngMessagesCtrl, $transclude) { - var commentNode = element[0]; - - var records; - var staticExp = attrs.ngMessage || attrs.when; - var dynamicExp = attrs.ngMessageExp || attrs.whenExp; - var assignRecords = function(items) { - records = items - ? (isArray(items) - ? items - : items.split(/[\s,]+/)) - : null; - ngMessagesCtrl.reRender(); - }; - - if (dynamicExp) { - assignRecords(scope.$eval(dynamicExp)); - scope.$watchCollection(dynamicExp, assignRecords); - } else { - assignRecords(staticExp); - } - - var currentElement, messageCtrl; - ngMessagesCtrl.register(commentNode, messageCtrl = { - test: function(name) { - return contains(records, name); - }, - attach: function() { - if (!currentElement) { - $transclude(function(elm, newScope) { - $animate.enter(elm, null, element); - currentElement = elm; - - // Each time we attach this node to a message we get a new id that we can match - // when we are destroying the node later. - var $$attachId = currentElement.$$attachId = ngMessagesCtrl.getAttachId(); - - // in the event that the element or a parent element is destroyed - // by another structural directive then it's time - // to deregister the message from the controller - currentElement.on('$destroy', function() { - if (currentElement && currentElement.$$attachId === $$attachId) { - ngMessagesCtrl.deregister(commentNode); - messageCtrl.detach(); - } - newScope.$destroy(); - }); - }); - } - }, - detach: function() { - if (currentElement) { - var elm = currentElement; - currentElement = null; - $animate.leave(elm); - } - } - }); - } - }; - }]; - - function contains(collection, key) { - if (collection) { - return isArray(collection) - ? collection.indexOf(key) >= 0 - : collection.hasOwnProperty(key); - } - } -} - - -})(window, window.angular); diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.min.js b/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.min.js deleted file mode 100644 index 9d6faecb..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.min.js +++ /dev/null @@ -1,12 +0,0 @@ -/* - AngularJS v1.5.11 - (c) 2010-2017 Google, Inc. http://angularjs.org - License: MIT -*/ -(function(y,l){'use strict';function w(){return["$animate",function(t){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link:function(u,n,a,c,f){var e=n[0],d,r=a.ngMessage||a.when;a=a.ngMessageExp||a.whenExp;var k=function(a){d=a?p(a)?a:a.split(/[\s,]+/):null;c.reRender()};a?(k(u.$eval(a)),u.$watchCollection(a,k)):k(r);var g,s;c.register(e,s={test:function(a){var m=d;a=m?p(m)?0<=m.indexOf(a):m.hasOwnProperty(a):void 0;return a},attach:function(){g||f(function(a, -m){t.enter(a,null,n);g=a;var d=g.$$attachId=c.getAttachId();g.on("$destroy",function(){g&&g.$$attachId===d&&(c.deregister(e),s.detach());m.$destroy()})})},detach:function(){if(g){var a=g;g=null;t.leave(a)}}})}}}]}var v,p,q,x;l.module("ngMessages",[],function(){v=l.forEach;p=l.isArray;q=l.isString;x=l.element}).directive("ngMessages",["$animate",function(t){function u(a,c){return q(c)&&0===c.length||n(a.$eval(c))}function n(a){return q(a)?a.length:!!a}return{require:"ngMessages",restrict:"AE",controller:["$element", -"$scope","$attrs",function(a,c,f){function e(a,c){for(var b=c,d=[];b&&b!==a;){var h=b.$$ngMessageNode;if(h&&h.length)return g[h];b.childNodes.length&&-1===d.indexOf(b)?(d.push(b),b=b.childNodes[b.childNodes.length-1]):b.previousSibling?b=b.previousSibling:(b=b.parentNode,d.push(b))}}var d=this,r=0,k=0;this.getAttachId=function(){return k++};var g=this.messages={},s,l;this.render=function(m){m=m||{};s=!1;l=m;for(var g=u(c,f.ngMessagesMultiple)||u(c,f.multiple),b=[],e={},h=d.head,r=!1,k=0;null!=h;){k++; -var q=h.message,p=!1;r||v(m,function(a,b){!p&&n(a)&&q.test(b)&&!e[b]&&(p=e[b]=!0,q.attach())});p?r=!g:b.push(q);h=h.next}v(b,function(a){a.detach()});b.length!==k?t.setClass(a,"ng-active","ng-inactive"):t.setClass(a,"ng-inactive","ng-active")};c.$watchCollection(f.ngMessages||f["for"],d.render);a.on("$destroy",function(){v(g,function(a){a.message.detach()})});this.reRender=function(){s||(s=!0,c.$evalAsync(function(){s&&l&&d.render(l)}))};this.register=function(c,f){var b=r.toString();g[b]={message:f}; -var k=a[0],h=g[b];d.head?(k=e(k,c))?(h.next=k.next,k.next=h):(h.next=d.head,d.head=h):d.head=h;c.$$ngMessageNode=b;r++;d.reRender()};this.deregister=function(c){var f=c.$$ngMessageNode;delete c.$$ngMessageNode;var b=g[f];(c=e(a[0],c))?c.next=b.next:d.head=b.next;delete g[f];d.reRender()}}]}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(l,p,n){function a(a,f){var e=n.$$createComment?n.$$createComment("ngMessagesInclude",f):p[0].createComment(" ngMessagesInclude: "+ -f+" "),e=x(e);a.after(e);a.remove()}return{restrict:"AE",require:"^^ngMessages",link:function(c,f,e){var d=e.ngMessagesInclude||e.src;l(d).then(function(e){c.$$destroyed||(q(e)&&!e.trim()?a(f,d):n(e)(c,function(c){f.after(c);a(f,d)}))})}}}]).directive("ngMessage",w()).directive("ngMessageExp",w())})(window,window.angular); -//# sourceMappingURL=angular-messages.min.js.map diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.min.js.map b/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.min.js.map deleted file mode 100644 index 33517564..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/angular-messages.min.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ -"version":3, -"file":"angular-messages.min.js", -"lineCount":11, -"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkB,CA6oB3BC,QAASA,EAAyB,EAAG,CACnC,MAAO,CAAC,UAAD,CAAa,QAAQ,CAACC,CAAD,CAAW,CACrC,MAAO,CACLC,SAAU,IADL,CAELC,WAAY,SAFP,CAGLC,SAAU,CAHL,CAILC,SAAU,CAAA,CAJL,CAKLC,QAAS,cALJ,CAMLC,KAAMA,QAAQ,CAACC,CAAD,CAAQC,CAAR,CAAiBC,CAAjB,CAAwBC,CAAxB,CAAwCC,CAAxC,CAAqD,CACjE,IAAIC,EAAcJ,CAAA,CAAQ,CAAR,CAAlB,CAEIK,CAFJ,CAGIC,EAAYL,CAAAM,UAAZD,EAA+BL,CA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AG,gBAAA,CAAyB,mBAAzB,CAA8CD,CAA9C,CADU,CAEVH,CAAA,CAAU,CAAV,CAAAK,cAAA,CAA2B,sBAA3B;AAAoDF,CAApD,CAA0D,GAA1D,CAFJ,CAGIG,EAASnE,CAAA,CAAOgB,CAAP,CACbxD,EAAA4G,MAAA,CAAcD,CAAd,CAGA3G,EAAA6G,OAAA,EAT8C,CAvBhD,MAAO,CACLpH,SAAU,IADL,CAELI,QAAS,cAFJ,CAGLC,KAAMA,QAAQ,CAACsD,CAAD,CAASpD,CAAT,CAAkBC,CAAlB,CAAyB,CACrC,IAAIuG,EAAMvG,CAAA6G,kBAANN,EAAiCvG,CAAAuG,IACrCJ,EAAA,CAAiBI,CAAjB,CAAAO,KAAA,CAA2B,QAAQ,CAACC,CAAD,CAAO,CACpC5D,CAAA6D,YAAJ,GAEI1E,CAAA,CAASyE,CAAT,CAAJ,EAAuB,CAAAA,CAAAE,KAAA,EAAvB,CAEEX,CAAA,CAAyBvG,CAAzB,CAAkCwG,CAAlC,CAFF,CAKEF,CAAA,CAASU,CAAT,CAAA,CAAe5D,CAAf,CAAuB,QAAQ,CAAC+D,CAAD,CAAW,CACxCnH,CAAA4G,MAAA,CAAcO,CAAd,CACAZ,EAAA,CAAyBvG,CAAzB,CAAkCwG,CAAlC,CAFwC,CAA1C,CAPF,CADwC,CAA1C,CAFqC,CAHlC,CAFuF,CAA9F,CAjSJ,CAAA7D,UAAA,CAuWa,WAvWb,CAuW0BpD,CAAA,EAvW1B,CAAAoD,UAAA,CAsYa,cAtYb,CAsY6BpD,CAAA,EAtY7B,CArQ2B,CAA1B,CAAD,CA6tBGF,MA7tBH,CA6tBWA,MAAAC,QA7tBX;", -"sources":["angular-messages.js"], -"names":["window","angular","ngMessageDirectiveFactory","$animate","restrict","transclude","priority","terminal","require","link","scope","element","attrs","ngMessagesCtrl","$transclude","commentNode","records","staticExp","ngMessage","when","dynamicExp","ngMessageExp","whenExp","assignRecords","items","isArray","split","reRender","$eval","$watchCollection","currentElement","messageCtrl","register","test","name","collection","indexOf","hasOwnProperty","attach","elm","newScope","enter","$$attachId","getAttachId","on","deregister","detach","$destroy","leave","forEach","isString","jqLite","module","initAngularHelpers","directive","isAttrTruthy","attr","length","truthy","val","controller","NgMessagesCtrl","$element","$scope","$attrs","findPreviousMessage","parent","comment","prevNode","parentLookup","prevKey","$$ngMessageNode","messages","childNodes","push","previousSibling","parentNode","ctrl","latestKey","nextAttachId","this.getAttachId","renderLater","cachedCollection","render","this.render","multiple","ngMessagesMultiple","unmatchedMessages","matchedKeys","messageItem","head","messageFound","totalMessages","message","messageUsed","value","key","next","setClass","ACTIVE_CLASS","INACTIVE_CLASS","ngMessages","item","this.reRender","$evalAsync","this.register","nextKey","toString","messageNode","match","this.deregister","$templateRequest","$document","$compile","replaceElementWithMarker","src","$$createComment","createComment","marker","after","remove","ngMessagesInclude","then","html","$$destroyed","trim","contents"] -} diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/bower.json b/ecomp-portal-FE/client/bower_components/angular-messages/bower.json deleted file mode 100644 index e03fefb8..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/bower.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "angular-messages", - "version": "1.5.11", - "license": "MIT", - "main": "./angular-messages.js", - "ignore": [], - "dependencies": { - "angular": "1.5.11" - } -} diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/index.js b/ecomp-portal-FE/client/bower_components/angular-messages/index.js deleted file mode 100644 index 9e04c9fe..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/index.js +++ /dev/null @@ -1,2 +0,0 @@ -require('./angular-messages'); -module.exports = 'ngMessages'; diff --git a/ecomp-portal-FE/client/bower_components/angular-messages/package.json b/ecomp-portal-FE/client/bower_components/angular-messages/package.json deleted file mode 100644 index 780c9bdd..00000000 --- a/ecomp-portal-FE/client/bower_components/angular-messages/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "angular-messages", - "version": "1.5.11", - "description": "AngularJS module that provides enhanced support for displaying messages within templates", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "https://github.com/angular/angular.js.git" - }, - "keywords": [ - "angular", - "framework", - "browser", - "client-side" - ], - "author": "Angular Core Team <angular-core+npm@google.com>", - "license": "MIT", - "bugs": { - "url": "https://github.com/angular/angular.js/issues" - }, - "homepage": "http://angularjs.org", - "jspm": { - "shim": { - "angular-messages": { - "deps": ["angular"] - } - } - } -} |