mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-26 09:59:18 +01:00
bower update
This commit is contained in:
parent
7826302b8f
commit
a0c621ab34
792 changed files with 8947 additions and 4054 deletions
|
@ -1,18 +1,19 @@
|
|||
{
|
||||
"name": "angular-animate",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"main": "./angular-animate.js",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"angular": "1.3.0-rc.5"
|
||||
"angular": "1.3.1"
|
||||
},
|
||||
"homepage": "https://github.com/angular/bower-angular-animate",
|
||||
"_release": "1.3.0-rc.5",
|
||||
"_release": "1.3.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.3.0-rc.5",
|
||||
"commit": "7a4cf8a706dcd986a70b08d7be2faf34ed247742"
|
||||
"tag": "v1.3.1",
|
||||
"commit": "3b55cee18abd8aafab26456b59c663afb4263a1c"
|
||||
},
|
||||
"_source": "git://github.com/angular/bower-angular-animate.git",
|
||||
"_target": "1.3.0-rc.5",
|
||||
"_target": "~1.3.1",
|
||||
"_originalSource": "angular-animate"
|
||||
}
|
|
@ -1,24 +1,47 @@
|
|||
# bower-angular-animate
|
||||
# packaged angular-animate
|
||||
|
||||
This repo is for distribution on `bower`. The source for this module is in the
|
||||
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/ngAnimate).
|
||||
Please file issues and pull requests against that repo.
|
||||
|
||||
## Install
|
||||
|
||||
Install with `bower`:
|
||||
You can install this package either with `npm` or with `bower`.
|
||||
|
||||
### npm
|
||||
|
||||
```shell
|
||||
bower install angular-animate
|
||||
npm install angular-animate
|
||||
```
|
||||
|
||||
Add a `<script>` to your `index.html`:
|
||||
|
||||
```html
|
||||
<script src="/bower_components/angular-animate/angular-animate.js"></script>
|
||||
<script src="/node_modules/angular/angular-animate.js"></script>
|
||||
```
|
||||
|
||||
And add `ngAnimate` as a dependency for your app:
|
||||
Then add `ngAnimate` as a dependency for your app:
|
||||
|
||||
```javascript
|
||||
angular.module('myApp', ['ngAnimate']);
|
||||
```
|
||||
|
||||
Note that this package is not in CommonJS format, so doing `require('angular-animate')` will
|
||||
return `undefined`.
|
||||
|
||||
### bower
|
||||
|
||||
```shell
|
||||
bower install angular-animate
|
||||
```
|
||||
|
||||
Then add a `<script>` to your `index.html`:
|
||||
|
||||
```html
|
||||
<script src="/bower_components/angular/angular-animate.js"></script>
|
||||
```
|
||||
|
||||
Then add `ngAnimate` as a dependency for your app:
|
||||
|
||||
```javascript
|
||||
angular.module('myApp', ['ngAnimate']);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* @license AngularJS v1.3.0-rc.5
|
||||
* @license AngularJS v1.3.1
|
||||
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
||||
* License: MIT
|
||||
*/
|
||||
|
@ -25,18 +25,18 @@
|
|||
*
|
||||
* Below is a more detailed breakdown of the supported animation events provided by pre-existing ng directives:
|
||||
*
|
||||
* | Directive | Supported Animations |
|
||||
* |-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
|
||||
* | {@link ng.directive:ngRepeat#usage_animations ngRepeat} | enter, leave and move |
|
||||
* | {@link ngRoute.directive:ngView#usage_animations ngView} | enter and leave |
|
||||
* | {@link ng.directive:ngInclude#usage_animations ngInclude} | enter and leave |
|
||||
* | {@link ng.directive:ngSwitch#usage_animations ngSwitch} | enter and leave |
|
||||
* | {@link ng.directive:ngIf#usage_animations ngIf} | enter and leave |
|
||||
* | {@link ng.directive:ngClass#usage_animations ngClass} | add and remove (the CSS class(es) present) |
|
||||
* | {@link ng.directive:ngShow#usage_animations ngShow} & {@link ng.directive:ngHide#usage_animations ngHide} | add and remove (the ng-hide class value) |
|
||||
* | {@link ng.directive:form#usage_animations form} & {@link ng.directive:ngModel#usage_animations ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) |
|
||||
* | {@link ngMessages.directive:ngMessage#usage_animations ngMessages} | add and remove (ng-active & ng-inactive) |
|
||||
* | {@link ngMessages.directive:ngMessage#usage_animations ngMessage} | enter and leave |
|
||||
* | Directive | Supported Animations |
|
||||
* |----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
|
||||
* | {@link ng.directive:ngRepeat#animations ngRepeat} | enter, leave and move |
|
||||
* | {@link ngRoute.directive:ngView#animations ngView} | enter and leave |
|
||||
* | {@link ng.directive:ngInclude#animations ngInclude} | enter and leave |
|
||||
* | {@link ng.directive:ngSwitch#animations ngSwitch} | enter and leave |
|
||||
* | {@link ng.directive:ngIf#animations ngIf} | enter and leave |
|
||||
* | {@link ng.directive:ngClass#animations ngClass} | add and remove (the CSS class(es) present) |
|
||||
* | {@link ng.directive:ngShow#animations ngShow} & {@link ng.directive:ngHide#animations ngHide} | add and remove (the ng-hide class value) |
|
||||
* | {@link ng.directive:form#animation-hooks form} & {@link ng.directive:ngModel#animation-hooks ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) |
|
||||
* | {@link module:ngMessages#animations ngMessages} | add and remove (ng-active & ng-inactive) |
|
||||
* | {@link module:ngMessages#animations ngMessage} | enter and leave |
|
||||
*
|
||||
* You can find out more information about animations upon visiting each directive page.
|
||||
*
|
||||
|
@ -89,7 +89,7 @@
|
|||
* will automatically extend the wait time to enable animations once **all** of the outbound HTTP requests
|
||||
* are complete.
|
||||
*
|
||||
* <h2>CSS-defined Animations</h2>
|
||||
* ## CSS-defined Animations
|
||||
* The animate service will automatically apply two CSS classes to the animated element and these two CSS classes
|
||||
* are designed to contain the start and end CSS styling. Both CSS transitions and keyframe animations are supported
|
||||
* and can be used to play along with this naming structure.
|
||||
|
@ -214,8 +214,8 @@
|
|||
* when a CSS class containing a transition is applied to an element:
|
||||
*
|
||||
* ```css
|
||||
* /* this works as expected */
|
||||
* .fade {
|
||||
* /* this works as expected */
|
||||
* transition:1s linear all;
|
||||
* opacity:0;
|
||||
* }
|
||||
|
@ -225,6 +225,30 @@
|
|||
* Also, try not to mix the two class-based animation flavors together since the CSS code may become
|
||||
* overly complex.
|
||||
*
|
||||
*
|
||||
* ### Preventing Collisions With Third Party Libraries
|
||||
*
|
||||
* Some third-party frameworks place animation duration defaults across many element or className
|
||||
* selectors in order to make their code small and reuseable. This can lead to issues with ngAnimate, which
|
||||
* is expecting actual animations on these elements and has to wait for their completion.
|
||||
*
|
||||
* You can prevent this unwanted behavior by using a prefix on all your animation classes:
|
||||
*
|
||||
* ```css
|
||||
* /* prefixed with animate- */
|
||||
* .animate-fade-add.animate-fade-add-active {
|
||||
* transition:1s linear all;
|
||||
* opacity:0;
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* You then configure `$animate` to enforce this prefix:
|
||||
*
|
||||
* ```js
|
||||
* $animateProvider.classNamePrefix(/animate-/);
|
||||
* ```
|
||||
* </div>
|
||||
*
|
||||
* ### CSS Staggering Animations
|
||||
* A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a
|
||||
* curtain-like effect. The ngAnimate module (versions >=1.2) supports staggering animations and the stagger effect can be
|
||||
|
@ -326,6 +350,49 @@
|
|||
* and the JavaScript animation is found, then the enter callback will handle that animation (in addition to the CSS keyframe animation
|
||||
* or transition code that is defined via a stylesheet).
|
||||
*
|
||||
*
|
||||
* ### Applying Directive-specific Styles to an Animation
|
||||
* In some cases a directive or service may want to provide `$animate` with extra details that the animation will
|
||||
* include into its animation. Let's say for example we wanted to render an animation that animates an element
|
||||
* towards the mouse coordinates as to where the user clicked last. By collecting the X/Y coordinates of the click
|
||||
* (via the event parameter) we can set the `top` and `left` styles into an object and pass that into our function
|
||||
* call to `$animate.addClass`.
|
||||
*
|
||||
* ```js
|
||||
* canvas.on('click', function(e) {
|
||||
* $animate.addClass(element, 'on', {
|
||||
* to: {
|
||||
* left : e.client.x + 'px',
|
||||
* top : e.client.y + 'px'
|
||||
* }
|
||||
* }):
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* Now when the animation runs, and a transition or keyframe animation is picked up, then the animation itself will
|
||||
* also include and transition the styling of the `left` and `top` properties into its running animation. If we want
|
||||
* to provide some starting animation values then we can do so by placing the starting animations styles into an object
|
||||
* called `from` in the same object as the `to` animations.
|
||||
*
|
||||
* ```js
|
||||
* canvas.on('click', function(e) {
|
||||
* $animate.addClass(element, 'on', {
|
||||
* from: {
|
||||
* position: 'absolute',
|
||||
* left: '0px',
|
||||
* top: '0px'
|
||||
* },
|
||||
* to: {
|
||||
* left : e.client.x + 'px',
|
||||
* top : e.client.y + 'px'
|
||||
* }
|
||||
* }):
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* Once the animation is complete or cancelled then the union of both the before and after styles are applied to the
|
||||
* element. If `ngAnimate` is not present then the styles will be applied immediately.
|
||||
*
|
||||
*/
|
||||
|
||||
angular.module('ngAnimate', ['ng'])
|
||||
|
@ -384,6 +451,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
var selectors = $animateProvider.$$selectors;
|
||||
var isArray = angular.isArray;
|
||||
var isString = angular.isString;
|
||||
var isObject = angular.isObject;
|
||||
|
||||
var ELEMENT_NODE = 1;
|
||||
var NG_ANIMATE_STATE = '$$ngAnimateState';
|
||||
|
@ -392,7 +460,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
var rootAnimateState = {running: true};
|
||||
|
||||
function extractElementNode(element) {
|
||||
for(var i = 0; i < element.length; i++) {
|
||||
for (var i = 0; i < element.length; i++) {
|
||||
var elm = element[i];
|
||||
if (elm.nodeType == ELEMENT_NODE) {
|
||||
return elm;
|
||||
|
@ -478,8 +546,12 @@ angular.module('ngAnimate', ['ng'])
|
|||
// some plugin code may still be passing in the callback
|
||||
// function as the last param for the $animate methods so
|
||||
// it's best to only allow string or array values for now
|
||||
if (isArray(options)) return options;
|
||||
if (isString(options)) return [options];
|
||||
if (isObject(options)) {
|
||||
if (options.tempClasses && isString(options.tempClasses)) {
|
||||
options.tempClasses = options.tempClasses.split(/\s+/);
|
||||
}
|
||||
return options;
|
||||
}
|
||||
}
|
||||
|
||||
function resolveElementClasses(element, cache, runningAnimations) {
|
||||
|
@ -498,7 +570,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
});
|
||||
|
||||
var toAdd = [], toRemove = [];
|
||||
forEach(cache.classes, function(status, className) {
|
||||
forEach((cache && cache.classes) || [], function(status, className) {
|
||||
var hasClass = hasClasses[className];
|
||||
var matchingAnimation = lookup[className] || {};
|
||||
|
||||
|
@ -544,7 +616,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
matches.push($injector.get(selectors['']));
|
||||
}
|
||||
|
||||
for(var i=0; i < classes.length; i++) {
|
||||
for (var i=0; i < classes.length; i++) {
|
||||
var klass = classes[i],
|
||||
selectorFactoryName = selectors[klass];
|
||||
if (selectorFactoryName && !flagMap[klass]) {
|
||||
|
@ -556,7 +628,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
}
|
||||
}
|
||||
|
||||
function animationRunner(element, animationEvent, className) {
|
||||
function animationRunner(element, animationEvent, className, options) {
|
||||
//transcluded directives may sometimes fire an animation using only comment nodes
|
||||
//best to catch this early on to prevent any animation operations from occurring
|
||||
var node = element[0];
|
||||
|
@ -564,6 +636,11 @@ angular.module('ngAnimate', ['ng'])
|
|||
return;
|
||||
}
|
||||
|
||||
if (options) {
|
||||
options.to = options.to || {};
|
||||
options.from = options.from || {};
|
||||
}
|
||||
|
||||
var classNameAdd;
|
||||
var classNameRemove;
|
||||
if (isArray(className)) {
|
||||
|
@ -581,9 +658,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
}
|
||||
|
||||
var isSetClassOperation = animationEvent == 'setClass';
|
||||
var isClassBased = isSetClassOperation ||
|
||||
animationEvent == 'addClass' ||
|
||||
animationEvent == 'removeClass';
|
||||
var isClassBased = isSetClassOperation
|
||||
|| animationEvent == 'addClass'
|
||||
|| animationEvent == 'removeClass'
|
||||
|| animationEvent == 'animate';
|
||||
|
||||
var currentClassName = element.attr('class');
|
||||
var classes = currentClassName + ' ' + className;
|
||||
|
@ -617,10 +695,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
afterFn = null;
|
||||
}
|
||||
after.push({
|
||||
event : event, fn : afterFn
|
||||
event: event, fn: afterFn
|
||||
});
|
||||
before.push({
|
||||
event : event, fn : beforeFn
|
||||
event: event, fn: beforeFn
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
@ -649,18 +727,21 @@ angular.module('ngAnimate', ['ng'])
|
|||
var progress = function() {
|
||||
afterAnimationComplete(index);
|
||||
};
|
||||
switch(animation.event) {
|
||||
switch (animation.event) {
|
||||
case 'setClass':
|
||||
cancellations.push(animation.fn(element, classNameAdd, classNameRemove, progress));
|
||||
cancellations.push(animation.fn(element, classNameAdd, classNameRemove, progress, options));
|
||||
break;
|
||||
case 'animate':
|
||||
cancellations.push(animation.fn(element, className, options.from, options.to, progress));
|
||||
break;
|
||||
case 'addClass':
|
||||
cancellations.push(animation.fn(element, classNameAdd || className, progress));
|
||||
cancellations.push(animation.fn(element, classNameAdd || className, progress, options));
|
||||
break;
|
||||
case 'removeClass':
|
||||
cancellations.push(animation.fn(element, classNameRemove || className, progress));
|
||||
cancellations.push(animation.fn(element, classNameRemove || className, progress, options));
|
||||
break;
|
||||
default:
|
||||
cancellations.push(animation.fn(element, progress));
|
||||
cancellations.push(animation.fn(element, progress, options));
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
@ -671,26 +752,31 @@ angular.module('ngAnimate', ['ng'])
|
|||
}
|
||||
|
||||
return {
|
||||
node : node,
|
||||
event : animationEvent,
|
||||
className : className,
|
||||
isClassBased : isClassBased,
|
||||
isSetClassOperation : isSetClassOperation,
|
||||
before : function(allCompleteFn) {
|
||||
node: node,
|
||||
event: animationEvent,
|
||||
className: className,
|
||||
isClassBased: isClassBased,
|
||||
isSetClassOperation: isSetClassOperation,
|
||||
applyStyles: function() {
|
||||
if (options) {
|
||||
element.css(angular.extend(options.from || {}, options.to || {}));
|
||||
}
|
||||
},
|
||||
before: function(allCompleteFn) {
|
||||
beforeComplete = allCompleteFn;
|
||||
run(before, beforeCancel, function() {
|
||||
beforeComplete = noop;
|
||||
allCompleteFn();
|
||||
});
|
||||
},
|
||||
after : function(allCompleteFn) {
|
||||
after: function(allCompleteFn) {
|
||||
afterComplete = allCompleteFn;
|
||||
run(after, afterCancel, function() {
|
||||
afterComplete = noop;
|
||||
allCompleteFn();
|
||||
});
|
||||
},
|
||||
cancel : function() {
|
||||
cancel: function() {
|
||||
if (beforeCancel) {
|
||||
forEach(beforeCancel, function(cancelFn) {
|
||||
(cancelFn || noop)(true);
|
||||
|
@ -767,6 +853,65 @@ angular.module('ngAnimate', ['ng'])
|
|||
*
|
||||
*/
|
||||
return {
|
||||
/**
|
||||
* @ngdoc method
|
||||
* @name $animate#animate
|
||||
* @kind function
|
||||
*
|
||||
* @description
|
||||
* Performs an inline animation on the element which applies the provided `to` and `from` CSS styles to the element.
|
||||
* If any detected CSS transition, keyframe or JavaScript matches the provided `className` value then the animation
|
||||
* will take on the provided styles. For example, if a transition animation is set for the given className then the
|
||||
* provided `from` and `to` styles will be applied alongside the given transition. If a JavaScript animation is
|
||||
* detected then the provided styles will be given in as function paramters.
|
||||
*
|
||||
* ```js
|
||||
* ngModule.animation('.my-inline-animation', function() {
|
||||
* return {
|
||||
* animate : function(element, className, from, to, done) {
|
||||
* //styles
|
||||
* }
|
||||
* }
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* Below is a breakdown of each step that occurs during the `animate` animation:
|
||||
*
|
||||
* | Animation Step | What the element class attribute looks like |
|
||||
* |-------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|
|
||||
* | 1. $animate.animate(...) is called | class="my-animation" |
|
||||
* | 2. $animate waits for the next digest to start the animation | class="my-animation ng-animate" |
|
||||
* | 3. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" |
|
||||
* | 4. the className class value is added to the element | class="my-animation ng-animate className" |
|
||||
* | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate className" |
|
||||
* | 6. $animate blocks all CSS transitions on the element to ensure the .className class styling is applied right away| class="my-animation ng-animate className" |
|
||||
* | 7. $animate applies the provided collection of `from` CSS styles to the element | class="my-animation ng-animate className" |
|
||||
* | 8. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate className" |
|
||||
* | 9. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate className" |
|
||||
* | 10. the className-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate className className-active" |
|
||||
* | 11. $animate applies the collection of `to` CSS styles to the element which are then handled by the transition | class="my-animation ng-animate className className-active" |
|
||||
* | 12. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate className className-active" |
|
||||
* | 13. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
|
||||
* | 14. The returned promise is resolved. | class="my-animation" |
|
||||
*
|
||||
* @param {DOMElement} element the element that will be the focus of the enter animation
|
||||
* @param {object} from a collection of CSS styles that will be applied to the element at the start of the animation
|
||||
* @param {object} to a collection of CSS styles that the element will animate towards
|
||||
* @param {string=} className an optional CSS class that will be added to the element for the duration of the animation (the default class is `ng-inline-animate`)
|
||||
* @param {object=} options an optional collection of options that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
animate: function(element, from, to, className, options) {
|
||||
className = className || 'ng-inline-animate';
|
||||
options = parseAnimateOptions(options) || {};
|
||||
options.from = to ? from : null;
|
||||
options.to = to ? to : from;
|
||||
|
||||
return runAnimationPostDigest(function(done) {
|
||||
return performAnimation('animate', className, stripCommentsFromElement(element), null, null, noop, options, done);
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* @ngdoc method
|
||||
* @name $animate#enter
|
||||
|
@ -797,9 +942,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
* @param {DOMElement} element the element that will be the focus of the enter animation
|
||||
* @param {DOMElement} parentElement the parent element of the element that will be the focus of the enter animation
|
||||
* @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the enter animation
|
||||
* @param {object=} options an optional collection of options that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
enter : function(element, parentElement, afterElement, options) {
|
||||
enter: function(element, parentElement, afterElement, options) {
|
||||
options = parseAnimateOptions(options);
|
||||
element = angular.element(element);
|
||||
parentElement = prepareElement(parentElement);
|
||||
|
@ -840,9 +986,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
* | 13. The returned promise is resolved. | ... |
|
||||
*
|
||||
* @param {DOMElement} element the element that will be the focus of the leave animation
|
||||
* @param {object=} options an optional collection of styles that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
leave : function(element, options) {
|
||||
leave: function(element, options) {
|
||||
options = parseAnimateOptions(options);
|
||||
element = angular.element(element);
|
||||
|
||||
|
@ -886,9 +1033,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
* @param {DOMElement} element the element that will be the focus of the move animation
|
||||
* @param {DOMElement} parentElement the parentElement element of the element that will be the focus of the move animation
|
||||
* @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the move animation
|
||||
* @param {object=} options an optional collection of styles that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
move : function(element, parentElement, afterElement, options) {
|
||||
move: function(element, parentElement, afterElement, options) {
|
||||
options = parseAnimateOptions(options);
|
||||
element = angular.element(element);
|
||||
parentElement = prepareElement(parentElement);
|
||||
|
@ -929,9 +1077,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
*
|
||||
* @param {DOMElement} element the element that will be animated
|
||||
* @param {string} className the CSS class that will be added to the element and then animated
|
||||
* @param {object=} options an optional collection of styles that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
addClass : function(element, className, options) {
|
||||
addClass: function(element, className, options) {
|
||||
return this.setClass(element, className, [], options);
|
||||
},
|
||||
|
||||
|
@ -962,9 +1111,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
*
|
||||
* @param {DOMElement} element the element that will be animated
|
||||
* @param {string} className the CSS class that will be animated and then removed from the element
|
||||
* @param {object=} options an optional collection of styles that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
removeClass : function(element, className, options) {
|
||||
removeClass: function(element, className, options) {
|
||||
return this.setClass(element, [], className, options);
|
||||
},
|
||||
|
||||
|
@ -993,9 +1143,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
* @param {string} add the CSS classes which will be added to the element
|
||||
* @param {string} remove the CSS class which will be removed from the element
|
||||
* CSS classes have been set on the element
|
||||
* @param {object=} options an optional collection of styles that will be picked up by the CSS transition/animation
|
||||
* @return {Promise} the animation callback promise
|
||||
*/
|
||||
setClass : function(element, add, remove, options) {
|
||||
setClass: function(element, add, remove, options) {
|
||||
options = parseAnimateOptions(options);
|
||||
|
||||
var STORAGE_KEY = '$$animateClasses';
|
||||
|
@ -1003,10 +1154,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
element = stripCommentsFromElement(element);
|
||||
|
||||
if (classBasedAnimationsBlocked(element)) {
|
||||
// TODO(@caitp/@matsko): Don't use private/undocumented API here --- we should not be
|
||||
// changing the DOM synchronously in this case. The `true` parameter must eventually be
|
||||
// removed.
|
||||
return $delegate.setClass(element, add, remove, true);
|
||||
return $delegate.$$setClassImmediately(element, add, remove, options);
|
||||
}
|
||||
|
||||
// we're using a combined array for both the add and remove
|
||||
|
@ -1035,15 +1183,15 @@ angular.module('ngAnimate', ['ng'])
|
|||
|
||||
if (hasCache) {
|
||||
if (options && cache.options) {
|
||||
cache.options = cache.options.concat(options);
|
||||
cache.options = angular.extend(cache.options || {}, options);
|
||||
}
|
||||
|
||||
//the digest cycle will combine all the animations into one function
|
||||
return cache.promise;
|
||||
} else {
|
||||
element.data(STORAGE_KEY, cache = {
|
||||
classes : classes,
|
||||
options : options
|
||||
classes: classes,
|
||||
options: options
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1081,7 +1229,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
* @description
|
||||
* Cancels the provided animation.
|
||||
*/
|
||||
cancel : function(promise) {
|
||||
cancel: function(promise) {
|
||||
promise.$$cancelFn();
|
||||
},
|
||||
|
||||
|
@ -1098,8 +1246,8 @@ angular.module('ngAnimate', ['ng'])
|
|||
* Globally enables/disables animations.
|
||||
*
|
||||
*/
|
||||
enabled : function(value, element) {
|
||||
switch(arguments.length) {
|
||||
enabled: function(value, element) {
|
||||
switch (arguments.length) {
|
||||
case 2:
|
||||
if (value) {
|
||||
cleanup(element);
|
||||
|
@ -1130,9 +1278,8 @@ angular.module('ngAnimate', ['ng'])
|
|||
and the onComplete callback will be fired once the animation is fully complete.
|
||||
*/
|
||||
function performAnimation(animationEvent, className, element, parentElement, afterElement, domOperation, options, doneCallback) {
|
||||
|
||||
var noopCancel = noop;
|
||||
var runner = animationRunner(element, animationEvent, className);
|
||||
var runner = animationRunner(element, animationEvent, className, options);
|
||||
if (!runner) {
|
||||
fireDOMOperation();
|
||||
fireBeforeCallbackAsync();
|
||||
|
@ -1175,7 +1322,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
skipAnimation = true;
|
||||
} else {
|
||||
//cancel all animations when a structural animation takes place
|
||||
for(var klass in runningAnimations) {
|
||||
for (var klass in runningAnimations) {
|
||||
animationsToCancel.push(runningAnimations[klass]);
|
||||
}
|
||||
ngAnimateState = {};
|
||||
|
@ -1202,7 +1349,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
}
|
||||
}
|
||||
|
||||
if (runner.isClassBased && !runner.isSetClassOperation && !skipAnimation) {
|
||||
if (runner.isClassBased
|
||||
&& !runner.isSetClassOperation
|
||||
&& animationEvent != 'animate'
|
||||
&& !skipAnimation) {
|
||||
skipAnimation = (animationEvent == 'addClass') == element.hasClass(className); //opposite of XOR
|
||||
}
|
||||
|
||||
|
@ -1237,8 +1387,8 @@ angular.module('ngAnimate', ['ng'])
|
|||
//the ng-animate class does nothing, but it's here to allow for
|
||||
//parent animations to find and cancel child animations when needed
|
||||
element.addClass(NG_ANIMATE_CLASS_NAME);
|
||||
if (isArray(options)) {
|
||||
forEach(options, function(className) {
|
||||
if (options && options.tempClasses) {
|
||||
forEach(options.tempClasses, function(className) {
|
||||
element.addClass(className);
|
||||
});
|
||||
}
|
||||
|
@ -1248,10 +1398,10 @@ angular.module('ngAnimate', ['ng'])
|
|||
runningAnimations[className] = runner;
|
||||
|
||||
element.data(NG_ANIMATE_STATE, {
|
||||
last : runner,
|
||||
active : runningAnimations,
|
||||
index : localAnimationCount,
|
||||
totalActive : totalActiveAnimations
|
||||
last: runner,
|
||||
active: runningAnimations,
|
||||
index: localAnimationCount,
|
||||
totalActive: totalActiveAnimations
|
||||
});
|
||||
|
||||
//first we run the before animations and when all of those are complete
|
||||
|
@ -1279,8 +1429,8 @@ angular.module('ngAnimate', ['ng'])
|
|||
if (elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) {
|
||||
$$asyncCallback(function() {
|
||||
element.triggerHandler(eventName, {
|
||||
event : animationEvent,
|
||||
className : className
|
||||
event: animationEvent,
|
||||
className: className
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -1310,9 +1460,13 @@ angular.module('ngAnimate', ['ng'])
|
|||
|
||||
function closeAnimation() {
|
||||
if (!closeAnimation.hasBeenRun) {
|
||||
if (runner) { //the runner doesn't exist if it fails to instantiate
|
||||
runner.applyStyles();
|
||||
}
|
||||
|
||||
closeAnimation.hasBeenRun = true;
|
||||
if (isArray(options)) {
|
||||
forEach(options, function(className) {
|
||||
if (options && options.tempClasses) {
|
||||
forEach(options.tempClasses, function(className) {
|
||||
element.removeClass(className);
|
||||
});
|
||||
}
|
||||
|
@ -1422,7 +1576,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
state.running ||
|
||||
(state.last && !state.last.isClassBased);
|
||||
}
|
||||
while(parentElement = parentElement.parent());
|
||||
while (parentElement = parentElement.parent());
|
||||
|
||||
return !hasParent || (!allowChildAnimations && parentRunningAnimation);
|
||||
}
|
||||
|
@ -1569,7 +1723,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
}
|
||||
});
|
||||
data = {
|
||||
total : 0,
|
||||
total: 0,
|
||||
transitionDelay: transitionDelay,
|
||||
transitionDuration: transitionDuration,
|
||||
animationDelay: animationDelay,
|
||||
|
@ -1603,7 +1757,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
return parentID + '-' + extractElementNode(element).getAttribute('class');
|
||||
}
|
||||
|
||||
function animateSetup(animationEvent, element, className) {
|
||||
function animateSetup(animationEvent, element, className, styles) {
|
||||
var structural = ['ng-enter','ng-leave','ng-move'].indexOf(className) >= 0;
|
||||
|
||||
var cacheKey = getCacheKey(element);
|
||||
|
@ -1635,25 +1789,28 @@ angular.module('ngAnimate', ['ng'])
|
|||
return false;
|
||||
}
|
||||
|
||||
var blockTransition = structural && transitionDuration > 0;
|
||||
var blockTransition = styles || (structural && transitionDuration > 0);
|
||||
var blockAnimation = animationDuration > 0 &&
|
||||
stagger.animationDelay > 0 &&
|
||||
stagger.animationDuration === 0;
|
||||
|
||||
var closeAnimationFns = formerData.closeAnimationFns || [];
|
||||
element.data(NG_ANIMATE_CSS_DATA_KEY, {
|
||||
stagger : stagger,
|
||||
cacheKey : eventCacheKey,
|
||||
running : formerData.running || 0,
|
||||
itemIndex : itemIndex,
|
||||
blockTransition : blockTransition,
|
||||
closeAnimationFns : closeAnimationFns
|
||||
stagger: stagger,
|
||||
cacheKey: eventCacheKey,
|
||||
running: formerData.running || 0,
|
||||
itemIndex: itemIndex,
|
||||
blockTransition: blockTransition,
|
||||
closeAnimationFns: closeAnimationFns
|
||||
});
|
||||
|
||||
var node = extractElementNode(element);
|
||||
|
||||
if (blockTransition) {
|
||||
blockTransitions(node, true);
|
||||
if (styles) {
|
||||
element.css(styles);
|
||||
}
|
||||
}
|
||||
|
||||
if (blockAnimation) {
|
||||
|
@ -1663,7 +1820,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
return true;
|
||||
}
|
||||
|
||||
function animateRun(animationEvent, element, className, activeAnimationComplete) {
|
||||
function animateRun(animationEvent, element, className, activeAnimationComplete, styles) {
|
||||
var node = extractElementNode(element);
|
||||
var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY);
|
||||
if (node.getAttribute('class').indexOf(className) == -1 || !elementData) {
|
||||
|
@ -1671,10 +1828,6 @@ angular.module('ngAnimate', ['ng'])
|
|||
return;
|
||||
}
|
||||
|
||||
if (elementData.blockTransition) {
|
||||
blockTransitions(node, false);
|
||||
}
|
||||
|
||||
var activeClassName = '';
|
||||
var pendingClassName = '';
|
||||
forEach(className.split(' '), function(klass, i) {
|
||||
|
@ -1705,6 +1858,9 @@ angular.module('ngAnimate', ['ng'])
|
|||
|
||||
if (!staggerTime) {
|
||||
element.addClass(activeClassName);
|
||||
if (elementData.blockTransition) {
|
||||
blockTransitions(node, false);
|
||||
}
|
||||
}
|
||||
|
||||
var eventCacheKey = elementData.cacheKey + ' ' + activeClassName;
|
||||
|
@ -1717,6 +1873,14 @@ angular.module('ngAnimate', ['ng'])
|
|||
return;
|
||||
}
|
||||
|
||||
if (!staggerTime && styles) {
|
||||
if (!timings.transitionDuration) {
|
||||
element.css('transition', timings.animationDuration + 's linear all');
|
||||
appliedStyles.push('transition');
|
||||
}
|
||||
element.css(styles);
|
||||
}
|
||||
|
||||
var maxDelay = Math.max(timings.transitionDelay, timings.animationDelay);
|
||||
var maxDelayTime = maxDelay * ONE_SECOND;
|
||||
|
||||
|
@ -1741,11 +1905,24 @@ angular.module('ngAnimate', ['ng'])
|
|||
element.addClass(pendingClassName);
|
||||
staggerTimeout = $timeout(function() {
|
||||
staggerTimeout = null;
|
||||
element.addClass(activeClassName);
|
||||
element.removeClass(pendingClassName);
|
||||
|
||||
if (timings.transitionDuration > 0) {
|
||||
blockTransitions(node, false);
|
||||
}
|
||||
if (timings.animationDuration > 0) {
|
||||
blockAnimations(node, false);
|
||||
}
|
||||
|
||||
element.addClass(activeClassName);
|
||||
element.removeClass(pendingClassName);
|
||||
|
||||
if (styles) {
|
||||
if (timings.transitionDuration === 0) {
|
||||
element.css('transition', timings.animationDuration + 's linear all');
|
||||
}
|
||||
element.css(styles);
|
||||
appliedStyles.push('transition');
|
||||
}
|
||||
}, staggerTime * ONE_SECOND, false);
|
||||
}
|
||||
|
||||
|
@ -1762,7 +1939,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
// This will automatically be called by $animate so
|
||||
// there is no need to attach this internally to the
|
||||
// timeout done method.
|
||||
function onEnd(cancelled) {
|
||||
function onEnd() {
|
||||
element.off(css3AnimationEvents, onAnimationProgress);
|
||||
element.removeClass(activeClassName);
|
||||
element.removeClass(pendingClassName);
|
||||
|
@ -1806,28 +1983,28 @@ angular.module('ngAnimate', ['ng'])
|
|||
node.style[ANIMATION_PROP + ANIMATION_PLAYSTATE_KEY] = bool ? 'paused' : '';
|
||||
}
|
||||
|
||||
function animateBefore(animationEvent, element, className, calculationDecorator) {
|
||||
if (animateSetup(animationEvent, element, className, calculationDecorator)) {
|
||||
function animateBefore(animationEvent, element, className, styles) {
|
||||
if (animateSetup(animationEvent, element, className, styles)) {
|
||||
return function(cancelled) {
|
||||
cancelled && animateClose(element, className);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
function animateAfter(animationEvent, element, className, afterAnimationComplete) {
|
||||
function animateAfter(animationEvent, element, className, afterAnimationComplete, styles) {
|
||||
if (element.data(NG_ANIMATE_CSS_DATA_KEY)) {
|
||||
return animateRun(animationEvent, element, className, afterAnimationComplete);
|
||||
return animateRun(animationEvent, element, className, afterAnimationComplete, styles);
|
||||
} else {
|
||||
animateClose(element, className);
|
||||
afterAnimationComplete();
|
||||
}
|
||||
}
|
||||
|
||||
function animate(animationEvent, element, className, animationComplete) {
|
||||
function animate(animationEvent, element, className, animationComplete, options) {
|
||||
//If the animateSetup function doesn't bother returning a
|
||||
//cancellation function then it means that there is no animation
|
||||
//to perform at all
|
||||
var preReflowCancellation = animateBefore(animationEvent, element, className);
|
||||
var preReflowCancellation = animateBefore(animationEvent, element, className, options.from);
|
||||
if (!preReflowCancellation) {
|
||||
clearCacheAfterReflow();
|
||||
animationComplete();
|
||||
|
@ -1844,7 +2021,7 @@ angular.module('ngAnimate', ['ng'])
|
|||
//once the reflow is complete then we point cancel to
|
||||
//the new cancellation function which will remove all of the
|
||||
//animation properties from the active animation
|
||||
cancel = animateAfter(animationEvent, element, className, animationComplete);
|
||||
cancel = animateAfter(animationEvent, element, className, animationComplete, options.to);
|
||||
});
|
||||
|
||||
return function(cancelled) {
|
||||
|
@ -1866,22 +2043,33 @@ angular.module('ngAnimate', ['ng'])
|
|||
}
|
||||
|
||||
return {
|
||||
enter : function(element, animationCompleted) {
|
||||
return animate('enter', element, 'ng-enter', animationCompleted);
|
||||
animate: function(element, className, from, to, animationCompleted, options) {
|
||||
options = options || {};
|
||||
options.from = from;
|
||||
options.to = to;
|
||||
return animate('animate', element, className, animationCompleted, options);
|
||||
},
|
||||
|
||||
leave : function(element, animationCompleted) {
|
||||
return animate('leave', element, 'ng-leave', animationCompleted);
|
||||
enter: function(element, animationCompleted, options) {
|
||||
options = options || {};
|
||||
return animate('enter', element, 'ng-enter', animationCompleted, options);
|
||||
},
|
||||
|
||||
move : function(element, animationCompleted) {
|
||||
return animate('move', element, 'ng-move', animationCompleted);
|
||||
leave: function(element, animationCompleted, options) {
|
||||
options = options || {};
|
||||
return animate('leave', element, 'ng-leave', animationCompleted, options);
|
||||
},
|
||||
|
||||
beforeSetClass : function(element, add, remove, animationCompleted) {
|
||||
move: function(element, animationCompleted, options) {
|
||||
options = options || {};
|
||||
return animate('move', element, 'ng-move', animationCompleted, options);
|
||||
},
|
||||
|
||||
beforeSetClass: function(element, add, remove, animationCompleted, options) {
|
||||
options = options || {};
|
||||
var className = suffixClasses(remove, '-remove') + ' ' +
|
||||
suffixClasses(add, '-add');
|
||||
var cancellationMethod = animateBefore('setClass', element, className);
|
||||
var cancellationMethod = animateBefore('setClass', element, className, options.from);
|
||||
if (cancellationMethod) {
|
||||
afterReflow(element, animationCompleted);
|
||||
return cancellationMethod;
|
||||
|
@ -1890,8 +2078,9 @@ angular.module('ngAnimate', ['ng'])
|
|||
animationCompleted();
|
||||
},
|
||||
|
||||
beforeAddClass : function(element, className, animationCompleted) {
|
||||
var cancellationMethod = animateBefore('addClass', element, suffixClasses(className, '-add'));
|
||||
beforeAddClass: function(element, className, animationCompleted, options) {
|
||||
options = options || {};
|
||||
var cancellationMethod = animateBefore('addClass', element, suffixClasses(className, '-add'), options.from);
|
||||
if (cancellationMethod) {
|
||||
afterReflow(element, animationCompleted);
|
||||
return cancellationMethod;
|
||||
|
@ -1900,8 +2089,9 @@ angular.module('ngAnimate', ['ng'])
|
|||
animationCompleted();
|
||||
},
|
||||
|
||||
beforeRemoveClass : function(element, className, animationCompleted) {
|
||||
var cancellationMethod = animateBefore('removeClass', element, suffixClasses(className, '-remove'));
|
||||
beforeRemoveClass: function(element, className, animationCompleted, options) {
|
||||
options = options || {};
|
||||
var cancellationMethod = animateBefore('removeClass', element, suffixClasses(className, '-remove'), options.from);
|
||||
if (cancellationMethod) {
|
||||
afterReflow(element, animationCompleted);
|
||||
return cancellationMethod;
|
||||
|
@ -1910,19 +2100,22 @@ angular.module('ngAnimate', ['ng'])
|
|||
animationCompleted();
|
||||
},
|
||||
|
||||
setClass : function(element, add, remove, animationCompleted) {
|
||||
setClass: function(element, add, remove, animationCompleted, options) {
|
||||
options = options || {};
|
||||
remove = suffixClasses(remove, '-remove');
|
||||
add = suffixClasses(add, '-add');
|
||||
var className = remove + ' ' + add;
|
||||
return animateAfter('setClass', element, className, animationCompleted);
|
||||
return animateAfter('setClass', element, className, animationCompleted, options.to);
|
||||
},
|
||||
|
||||
addClass : function(element, className, animationCompleted) {
|
||||
return animateAfter('addClass', element, suffixClasses(className, '-add'), animationCompleted);
|
||||
addClass: function(element, className, animationCompleted, options) {
|
||||
options = options || {};
|
||||
return animateAfter('addClass', element, suffixClasses(className, '-add'), animationCompleted, options.to);
|
||||
},
|
||||
|
||||
removeClass : function(element, className, animationCompleted) {
|
||||
return animateAfter('removeClass', element, suffixClasses(className, '-remove'), animationCompleted);
|
||||
removeClass: function(element, className, animationCompleted, options) {
|
||||
options = options || {};
|
||||
return animateAfter('removeClass', element, suffixClasses(className, '-remove'), animationCompleted, options.to);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1,30 +1,33 @@
|
|||
/*
|
||||
AngularJS v1.3.0-rc.5
|
||||
AngularJS v1.3.1
|
||||
(c) 2010-2014 Google, Inc. http://angularjs.org
|
||||
License: MIT
|
||||
*/
|
||||
(function(L,f,U){'use strict';f.module("ngAnimate",["ng"]).directive("ngAnimateChildren",function(){return function(V,C,h){h=h.ngAnimateChildren;f.isString(h)&&0===h.length?C.data("$$ngAnimateChildren",!0):V.$watch(h,function(f){C.data("$$ngAnimateChildren",!!f)})}}).factory("$$animateReflow",["$$rAF","$document",function(f,C){return function(h){return f(function(){h()})}}]).config(["$provide","$animateProvider",function(V,C){function h(f){for(var k=0;k<f.length;k++){var h=f[k];if(1==h.nodeType)return h}}
|
||||
function M(f,k){return h(f)==h(k)}var p=f.noop,k=f.forEach,aa=C.$$selectors,D=f.isArray,ba=f.isString,t={running:!0};V.decorator("$animate",["$delegate","$$q","$injector","$sniffer","$rootElement","$$asyncCallback","$rootScope","$document","$templateRequest",function(N,L,K,W,u,y,O,U,X){function x(a,d){var c=a.data("$$ngAnimateState")||{};d&&(c.running=!0,c.structural=!0,a.data("$$ngAnimateState",c));return c.disabled||c.running&&c.structural}function P(a){var d,c=L.defer();c.promise.$$cancelFn=function(){d&&
|
||||
d()};O.$$postDigest(function(){d=a(function(){c.resolve()})});return c.promise}function Q(a){if(D(a))return a;if(ba(a))return[a]}function R(a,d,c){c=c||{};var e={};k(c,function(b,a){k(a.split(" "),function(a){e[a]=b})});var f=Object.create(null);k((a.attr("class")||"").split(/\s+/),function(b){f[b]=!0});var g=[],l=[];k(d.classes,function(b,a){var c=f[a],d=e[a]||{};!1===b?(c||"addClass"==d.event)&&l.push(a):!0===b&&(c&&"removeClass"!=d.event||g.push(a))});return 0<g.length+l.length&&[g.join(" "),l.join(" ")]}
|
||||
function S(a){if(a){var d=[],c={};a=a.substr(1).split(".");(W.transitions||W.animations)&&d.push(K.get(aa[""]));for(var e=0;e<a.length;e++){var f=a[e],g=aa[f];g&&!c[f]&&(d.push(K.get(g)),c[f]=!0)}return d}}function Y(a,d,c){function e(b,a){var c=b[a],d=b["before"+a.charAt(0).toUpperCase()+a.substr(1)];if(c||d)return"leave"==a&&(d=c,c=null),q.push({event:a,fn:c}),m.push({event:a,fn:d}),!0}function f(d,s,z){var e=[];k(d,function(b){b.fn&&e.push(b)});var m=0;k(e,function(d,f){var w=function(){a:{if(s){(s[f]||
|
||||
p)();if(++m<e.length)break a;s=null}z()}};switch(d.event){case "setClass":s.push(d.fn(a,l,b,w));break;case "addClass":s.push(d.fn(a,l||c,w));break;case "removeClass":s.push(d.fn(a,b||c,w));break;default:s.push(d.fn(a,w))}});s&&0===s.length&&z()}var g=a[0];if(g){var l,b;D(c)&&(l=c[0],b=c[1],l?b?c=l+" "+b:(c=l,d="addClass"):(c=b,d="removeClass"));var s="setClass"==d,z=s||"addClass"==d||"removeClass"==d,w=a.attr("class")+" "+c;if(A(w)){var E=p,F=[],m=[],r=p,h=[],q=[],w=(" "+w).replace(/\s+/g,".");k(S(w),
|
||||
function(b){!e(b,d)&&s&&(e(b,"addClass"),e(b,"removeClass"))});return{node:g,event:d,className:c,isClassBased:z,isSetClassOperation:s,before:function(b){E=b;f(m,F,function(){E=p;b()})},after:function(b){r=b;f(q,h,function(){r=p;b()})},cancel:function(){F&&(k(F,function(b){(b||p)(!0)}),E(!0));h&&(k(h,function(b){(b||p)(!0)}),r(!0))}}}}}function G(a,d,c,e,h,g,l,b){function s(b){var l="$animate:"+b;r&&r[l]&&0<r[l].length&&y(function(){c.triggerHandler(l,{event:a,className:d})})}function z(){s("before")}
|
||||
function w(){s("after")}function E(){E.hasBeenRun||(E.hasBeenRun=!0,g())}function F(){if(!F.hasBeenRun){F.hasBeenRun=!0;D(l)&&k(l,function(b){c.removeClass(b)});var z=c.data("$$ngAnimateState");z&&(m&&m.isClassBased?B(c,d):(y(function(){var b=c.data("$$ngAnimateState")||{};n==b.index&&B(c,d,a)}),c.data("$$ngAnimateState",z)));s("close");b()}}var m=Y(c,a,d);if(!m)return E(),z(),w(),F(),p;a=m.event;d=m.className;var r=f.element._data(m.node),r=r&&r.events;e||(e=h?h.parent():c.parent());if(J(c,e))return E(),
|
||||
z(),w(),F(),p;e=c.data("$$ngAnimateState")||{};var I=e.active||{},q=e.totalActive||0,v=e.last;h=!1;if(0<q){q=[];if(m.isClassBased)"setClass"==v.event?(q.push(v),B(c,d)):I[d]&&($=I[d],$.event==a?h=!0:(q.push($),B(c,d)));else if("leave"==a&&I["ng-leave"])h=!0;else{for(var $ in I)q.push(I[$]);e={};B(c,!0)}0<q.length&&k(q,function(b){b.cancel()})}!m.isClassBased||m.isSetClassOperation||h||(h="addClass"==a==c.hasClass(d));if(h)return E(),z(),w(),s("close"),b(),p;I=e.active||{};q=e.totalActive||0;if("leave"==
|
||||
a)c.one("$destroy",function(b){b=f.element(this);var a=b.data("$$ngAnimateState");a&&(a=a.active["ng-leave"])&&(a.cancel(),B(b,"ng-leave"))});c.addClass("ng-animate");D(l)&&k(l,function(b){c.addClass(b)});var n=H++;q++;I[d]=m;c.data("$$ngAnimateState",{last:m,active:I,index:n,totalActive:q});z();m.before(function(b){var l=c.data("$$ngAnimateState");b=b||!l||!l.active[d]||m.isClassBased&&l.active[d].event!=a;E();!0===b?F():(w(),m.after(F))});return m.cancel}function n(a){if(a=h(a))a=f.isFunction(a.getElementsByClassName)?
|
||||
a.getElementsByClassName("ng-animate"):a.querySelectorAll(".ng-animate"),k(a,function(a){a=f.element(a);(a=a.data("$$ngAnimateState"))&&a.active&&k(a.active,function(a){a.cancel()})})}function B(a,d){if(M(a,u))t.disabled||(t.running=!1,t.structural=!1);else if(d){var c=a.data("$$ngAnimateState")||{},e=!0===d;!e&&c.active&&c.active[d]&&(c.totalActive--,delete c.active[d]);if(e||!c.totalActive)a.removeClass("ng-animate"),a.removeData("$$ngAnimateState")}}function J(a,d){if(t.disabled)return!0;if(M(a,
|
||||
u))return t.running;var c,e,h;do{if(0===d.length)break;var g=M(d,u),l=g?t:d.data("$$ngAnimateState")||{};if(l.disabled)return!0;g&&(h=!0);!1!==c&&(g=d.data("$$ngAnimateChildren"),f.isDefined(g)&&(c=g));e=e||l.running||l.last&&!l.last.isClassBased}while(d=d.parent());return!h||!c&&e}u.data("$$ngAnimateState",t);var Z=O.$watch(function(){return X.totalPendingRequests},function(a,d){0===a&&(Z(),O.$$postDigest(function(){O.$$postDigest(function(){t.running=!1})}))}),H=0,T=C.classNameFilter(),A=T?function(a){return T.test(a)}:
|
||||
function(){return!0};return{enter:function(a,d,c,e){e=Q(e);a=f.element(a);d=d&&f.element(d);c=c&&f.element(c);x(a,!0);N.enter(a,d,c);return P(function(k){return G("enter","ng-enter",f.element(h(a)),d,c,p,e,k)})},leave:function(a,d){d=Q(d);a=f.element(a);n(a);x(a,!0);return P(function(c){return G("leave","ng-leave",f.element(h(a)),null,null,function(){N.leave(a)},d,c)})},move:function(a,d,c,e){e=Q(e);a=f.element(a);d=d&&f.element(d);c=c&&f.element(c);n(a);x(a,!0);N.move(a,d,c);return P(function(k){return G("move",
|
||||
"ng-move",f.element(h(a)),d,c,p,e,k)})},addClass:function(a,d,c){return this.setClass(a,d,[],c)},removeClass:function(a,d,c){return this.setClass(a,[],d,c)},setClass:function(a,d,c,e){e=Q(e);a=f.element(a);a=f.element(h(a));if(x(a))return N.setClass(a,d,c,!0);var n,g=a.data("$$animateClasses"),l=!!g;g||(g={classes:{}});n=g.classes;d=D(d)?d:d.split(" ");k(d,function(b){b&&b.length&&(n[b]=!0)});c=D(c)?c:c.split(" ");k(c,function(b){b&&b.length&&(n[b]=!1)});if(l)return e&&g.options&&(g.options=g.options.concat(e)),
|
||||
g.promise;a.data("$$animateClasses",g={classes:n,options:e});return g.promise=P(function(b){var c=a.parent(),d=h(a),l=d.parentNode;if(!l||l.$$NG_REMOVED||d.$$NG_REMOVED)b();else{d=a.data("$$animateClasses");a.removeData("$$animateClasses");var l=a.data("$$ngAnimateState")||{},e=R(a,d,l.active);return e?G("setClass",e,a,c,null,function(){e[0]&&N.$$addClassImmediately(a,e[0]);e[1]&&N.$$removeClassImmediately(a,e[1])},d.options,b):b()}})},cancel:function(a){a.$$cancelFn()},enabled:function(a,d){switch(arguments.length){case 2:if(a)B(d);
|
||||
else{var c=d.data("$$ngAnimateState")||{};c.disabled=!0;d.data("$$ngAnimateState",c)}break;case 1:t.disabled=!a;break;default:a=!t.disabled}return!!a}}}]);C.register("",["$window","$sniffer","$timeout","$$animateReflow",function(t,C,K,W){function u(){c||(c=W(function(){d=[];c=null;A={}}))}function y(a,b){c&&c();d.push(b);c=W(function(){k(d,function(b){b()});d=[];c=null;A={}})}function O(a,b){var c=h(a);a=f.element(c);g.push(a);c=Date.now()+b;c<=M||(K.cancel(e),M=c,e=K(function(){V(g);g=[]},b,!1))}
|
||||
function V(a){k(a,function(b){(b=b.data("$$ngAnimateCSS3Data"))&&k(b.closeAnimationFns,function(b){b()})})}function X(a,b){var c=b?A[b]:null;if(!c){var d=0,e=0,f=0,h=0;k(a,function(b){if(1==b.nodeType){b=t.getComputedStyle(b)||{};d=Math.max(x(b[J+"Duration"]),d);e=Math.max(x(b[J+"Delay"]),e);h=Math.max(x(b[H+"Delay"]),h);var a=x(b[H+"Duration"]);0<a&&(a*=parseInt(b[H+"IterationCount"],10)||1);f=Math.max(a,f)}});c={total:0,transitionDelay:e,transitionDuration:d,animationDelay:h,animationDuration:f};
|
||||
b&&(A[b]=c)}return c}function x(a){var b=0;a=ba(a)?a.split(/\s*,\s*/):[];k(a,function(a){b=Math.max(parseFloat(a)||0,b)});return b}function P(c,b,d){c=0<=["ng-enter","ng-leave","ng-move"].indexOf(d);var e,f=b.parent(),k=f.data("$$ngAnimateKey");k||(f.data("$$ngAnimateKey",++a),k=a);e=k+"-"+h(b).getAttribute("class");var f=e+" "+d,k=A[f]?++A[f].total:0,g={};if(0<k){var m=d+"-stagger",g=e+" "+m;(e=!A[g])&&b.addClass(m);g=X(b,g);e&&b.removeClass(m)}b.addClass(d);var m=b.data("$$ngAnimateCSS3Data")||
|
||||
{},r=X(b,f);e=r.transitionDuration;r=r.animationDuration;if(c&&0===e&&0===r)return b.removeClass(d),!1;d=c&&0<e;c=0<r&&0<g.animationDelay&&0===g.animationDuration;b.data("$$ngAnimateCSS3Data",{stagger:g,cacheKey:f,running:m.running||0,itemIndex:k,blockTransition:d,closeAnimationFns:m.closeAnimationFns||[]});b=h(b);d&&(b.style[J+"Property"]="none");c&&(b.style[H+"PlayState"]="paused");return!0}function Q(a,b,c,d){function e(a){b.off(D,f);b.removeClass(m);b.removeClass(r);y&&K.cancel(y);G(b,c);a=h(b);
|
||||
for(var d in n)a.style.removeProperty(n[d])}function f(b){b.stopPropagation();var a=b.originalEvent||b;b=a.$manualTimeStamp||a.timeStamp||Date.now();a=parseFloat(a.elapsedTime.toFixed(3));Math.max(b-C,0)>=A&&a>=x&&d()}var g=h(b);a=b.data("$$ngAnimateCSS3Data");if(-1!=g.getAttribute("class").indexOf(c)&&a){a.blockTransition&&(g.style[J+"Property"]="");var m="",r="";k(c.split(" "),function(b,a){var c=(0<a?" ":"")+b;m+=c+"-active";r+=c+"-pending"});var n=[],q=a.itemIndex,v=a.stagger,p=0;if(0<q){p=0;
|
||||
0<v.transitionDelay&&0===v.transitionDuration&&(p=v.transitionDelay*q);var t=0;0<v.animationDelay&&0===v.animationDuration&&(t=v.animationDelay*q,n.push(B+"animation-play-state"));p=Math.round(100*Math.max(p,t))/100}p||b.addClass(m);var u=X(b,a.cacheKey+" "+m),x=Math.max(u.transitionDuration,u.animationDuration);if(0===x)b.removeClass(m),G(b,c),d();else{var q=Math.max(u.transitionDelay,u.animationDelay),A=1E3*q;0<n.length&&(v=g.getAttribute("style")||"",";"!==v.charAt(v.length-1)&&(v+=";"),g.setAttribute("style",
|
||||
v+" "));var C=Date.now(),D=T+" "+Z,q=1E3*(p+1.5*(q+x)),y;0<p&&(b.addClass(r),y=K(function(){y=null;b.addClass(m);b.removeClass(r);0<u.animationDuration&&(g.style[H+"PlayState"]="")},1E3*p,!1));b.on(D,f);a.closeAnimationFns.push(function(){e();d()});a.running++;O(b,q);return e}}else d()}function R(a,b,c,d){if(P(a,b,c,d))return function(a){a&&G(b,c)}}function S(a,b,c,d){if(b.data("$$ngAnimateCSS3Data"))return Q(a,b,c,d);G(b,c);d()}function Y(a,b,c,d){var e=R(a,b,c);if(e){var f=e;y(b,function(){f=S(a,
|
||||
b,c,d)});return function(a){(f||p)(a)}}u();d()}function G(a,b){a.removeClass(b);var c=a.data("$$ngAnimateCSS3Data");c&&(c.running&&c.running--,c.running&&0!==c.running||a.removeData("$$ngAnimateCSS3Data"))}function n(a,b){var c="";a=D(a)?a:a.split(/\s+/);k(a,function(a,d){a&&0<a.length&&(c+=(0<d?" ":"")+a+b)});return c}var B="",J,Z,H,T;L.ontransitionend===U&&L.onwebkittransitionend!==U?(B="-webkit-",J="WebkitTransition",Z="webkitTransitionEnd transitionend"):(J="transition",Z="transitionend");L.onanimationend===
|
||||
U&&L.onwebkitanimationend!==U?(B="-webkit-",H="WebkitAnimation",T="webkitAnimationEnd animationend"):(H="animation",T="animationend");var A={},a=0,d=[],c,e=null,M=0,g=[];return{enter:function(a,b){return Y("enter",a,"ng-enter",b)},leave:function(a,b){return Y("leave",a,"ng-leave",b)},move:function(a,b){return Y("move",a,"ng-move",b)},beforeSetClass:function(a,b,c,d){b=n(c,"-remove")+" "+n(b,"-add");if(b=R("setClass",a,b))return y(a,d),b;u();d()},beforeAddClass:function(a,b,c){if(b=R("addClass",a,
|
||||
n(b,"-add")))return y(a,c),b;u();c()},beforeRemoveClass:function(a,b,c){if(b=R("removeClass",a,n(b,"-remove")))return y(a,c),b;u();c()},setClass:function(a,b,c,d){c=n(c,"-remove");b=n(b,"-add");return S("setClass",a,c+" "+b,d)},addClass:function(a,b,c){return S("addClass",a,n(b,"-add"),c)},removeClass:function(a,b,c){return S("removeClass",a,n(b,"-remove"),c)}}}])}])})(window,window.angular);
|
||||
(function(M,f,S){'use strict';f.module("ngAnimate",["ng"]).directive("ngAnimateChildren",function(){return function(T,B,k){k=k.ngAnimateChildren;f.isString(k)&&0===k.length?B.data("$$ngAnimateChildren",!0):T.$watch(k,function(f){B.data("$$ngAnimateChildren",!!f)})}}).factory("$$animateReflow",["$$rAF","$document",function(f,B){return function(k){return f(function(){k()})}}]).config(["$provide","$animateProvider",function(T,B){function k(f){for(var g=0;g<f.length;g++){var k=f[g];if(1==k.nodeType)return k}}
|
||||
function N(f,g){return k(f)==k(g)}var s=f.noop,g=f.forEach,ba=B.$$selectors,$=f.isArray,ca=f.isString,da=f.isObject,t={running:!0};T.decorator("$animate",["$delegate","$$q","$injector","$sniffer","$rootElement","$$asyncCallback","$rootScope","$document","$templateRequest",function(O,M,I,U,x,C,P,S,V){function A(a,c){var b=a.data("$$ngAnimateState")||{};c&&(b.running=!0,b.structural=!0,a.data("$$ngAnimateState",b));return b.disabled||b.running&&b.structural}function z(a){var c,b=M.defer();b.promise.$$cancelFn=
|
||||
function(){c&&c()};P.$$postDigest(function(){c=a(function(){b.resolve()})});return b.promise}function J(a){if(da(a))return a.tempClasses&&ca(a.tempClasses)&&(a.tempClasses=a.tempClasses.split(/\s+/)),a}function W(a,c,b){b=b||{};var e={};g(b,function(a,d){g(d.split(" "),function(d){e[d]=a})});var m=Object.create(null);g((a.attr("class")||"").split(/\s+/),function(a){m[a]=!0});var f=[],k=[];g(c&&c.classes||[],function(a,d){var b=m[d],c=e[d]||{};!1===a?(b||"addClass"==c.event)&&k.push(d):!0===a&&(b&&
|
||||
"removeClass"!=c.event||f.push(d))});return 0<f.length+k.length&&[f.join(" "),k.join(" ")]}function Q(a){if(a){var c=[],b={};a=a.substr(1).split(".");(U.transitions||U.animations)&&c.push(I.get(ba[""]));for(var e=0;e<a.length;e++){var f=a[e],k=ba[f];k&&!b[f]&&(c.push(I.get(k)),b[f]=!0)}return c}}function R(a,c,b,e){function m(a,d){var b=a[d],c=a["before"+d.charAt(0).toUpperCase()+d.substr(1)];if(b||c)return"leave"==d&&(c=b,b=null),l.push({event:d,fn:b}),H.push({event:d,fn:c}),!0}function k(c,h,G){var w=
|
||||
[];g(c,function(a){a.fn&&w.push(a)});var f=0;g(w,function(c,n){var u=function(){a:{if(h){(h[n]||s)();if(++f<w.length)break a;h=null}G()}};switch(c.event){case "setClass":h.push(c.fn(a,F,d,u,e));break;case "animate":h.push(c.fn(a,b,e.from,e.to,u));break;case "addClass":h.push(c.fn(a,F||b,u,e));break;case "removeClass":h.push(c.fn(a,d||b,u,e));break;default:h.push(c.fn(a,u,e))}});h&&0===h.length&&G()}var p=a[0];if(p){e&&(e.to=e.to||{},e.from=e.from||{});var F,d;$(b)&&(F=b[0],d=b[1],F?d?b=F+" "+d:(b=
|
||||
F,c="addClass"):(b=d,c="removeClass"));var h="setClass"==c,G=h||"addClass"==c||"removeClass"==c||"animate"==c,w=a.attr("class")+" "+b;if(X(w)){var u=s,n=[],H=[],q=s,r=[],l=[],w=(" "+w).replace(/\s+/g,".");g(Q(w),function(a){!m(a,c)&&h&&(m(a,"addClass"),m(a,"removeClass"))});return{node:p,event:c,className:b,isClassBased:G,isSetClassOperation:h,applyStyles:function(){e&&a.css(f.extend(e.from||{},e.to||{}))},before:function(a){u=a;k(H,n,function(){u=s;a()})},after:function(a){q=a;k(l,r,function(){q=
|
||||
s;a()})},cancel:function(){n&&(g(n,function(a){(a||s)(!0)}),u(!0));r&&(g(r,function(a){(a||s)(!0)}),q(!0))}}}}}function y(a,c,b,e,m,k,p,F){function d(d){var h="$animate:"+d;H&&H[h]&&0<H[h].length&&C(function(){b.triggerHandler(h,{event:a,className:c})})}function h(){d("before")}function G(){d("after")}function w(){w.hasBeenRun||(w.hasBeenRun=!0,k())}function u(){if(!u.hasBeenRun){n&&n.applyStyles();u.hasBeenRun=!0;p&&p.tempClasses&&g(p.tempClasses,function(a){b.removeClass(a)});var h=b.data("$$ngAnimateState");
|
||||
h&&(n&&n.isClassBased?l(b,c):(C(function(){var d=b.data("$$ngAnimateState")||{};v==d.index&&l(b,c,a)}),b.data("$$ngAnimateState",h)));d("close");F()}}var n=R(b,a,c,p);if(!n)return w(),h(),G(),u(),s;a=n.event;c=n.className;var H=f.element._data(n.node),H=H&&H.events;e||(e=m?m.parent():b.parent());if(Y(b,e))return w(),h(),G(),u(),s;e=b.data("$$ngAnimateState")||{};var q=e.active||{},r=e.totalActive||0,t=e.last;m=!1;if(0<r){r=[];if(n.isClassBased)"setClass"==t.event?(r.push(t),l(b,c)):q[c]&&(aa=q[c],
|
||||
aa.event==a?m=!0:(r.push(aa),l(b,c)));else if("leave"==a&&q["ng-leave"])m=!0;else{for(var aa in q)r.push(q[aa]);e={};l(b,!0)}0<r.length&&g(r,function(a){a.cancel()})}!n.isClassBased||n.isSetClassOperation||"animate"==a||m||(m="addClass"==a==b.hasClass(c));if(m)return w(),h(),G(),d("close"),F(),s;q=e.active||{};r=e.totalActive||0;if("leave"==a)b.one("$destroy",function(a){a=f.element(this);var d=a.data("$$ngAnimateState");d&&(d=d.active["ng-leave"])&&(d.cancel(),l(a,"ng-leave"))});b.addClass("ng-animate");
|
||||
p&&p.tempClasses&&g(p.tempClasses,function(a){b.addClass(a)});var v=Z++;r++;q[c]=n;b.data("$$ngAnimateState",{last:n,active:q,index:v,totalActive:r});h();n.before(function(d){var h=b.data("$$ngAnimateState");d=d||!h||!h.active[c]||n.isClassBased&&h.active[c].event!=a;w();!0===d?u():(G(),n.after(u))});return n.cancel}function K(a){if(a=k(a))a=f.isFunction(a.getElementsByClassName)?a.getElementsByClassName("ng-animate"):a.querySelectorAll(".ng-animate"),g(a,function(a){a=f.element(a);(a=a.data("$$ngAnimateState"))&&
|
||||
a.active&&g(a.active,function(a){a.cancel()})})}function l(a,c){if(N(a,x))t.disabled||(t.running=!1,t.structural=!1);else if(c){var b=a.data("$$ngAnimateState")||{},e=!0===c;!e&&b.active&&b.active[c]&&(b.totalActive--,delete b.active[c]);if(e||!b.totalActive)a.removeClass("ng-animate"),a.removeData("$$ngAnimateState")}}function Y(a,c){if(t.disabled)return!0;if(N(a,x))return t.running;var b,e,k;do{if(0===c.length)break;var g=N(c,x),p=g?t:c.data("$$ngAnimateState")||{};if(p.disabled)return!0;g&&(k=
|
||||
!0);!1!==b&&(g=c.data("$$ngAnimateChildren"),f.isDefined(g)&&(b=g));e=e||p.running||p.last&&!p.last.isClassBased}while(c=c.parent());return!k||!b&&e}x.data("$$ngAnimateState",t);var L=P.$watch(function(){return V.totalPendingRequests},function(a,c){0===a&&(L(),P.$$postDigest(function(){P.$$postDigest(function(){t.running=!1})}))}),Z=0,E=B.classNameFilter(),X=E?function(a){return E.test(a)}:function(){return!0};return{animate:function(a,c,b,e,g){e=e||"ng-inline-animate";g=J(g)||{};g.from=b?c:null;
|
||||
g.to=b?b:c;return z(function(b){return y("animate",e,f.element(k(a)),null,null,s,g,b)})},enter:function(a,c,b,e){e=J(e);a=f.element(a);c=c&&f.element(c);b=b&&f.element(b);A(a,!0);O.enter(a,c,b);return z(function(g){return y("enter","ng-enter",f.element(k(a)),c,b,s,e,g)})},leave:function(a,c){c=J(c);a=f.element(a);K(a);A(a,!0);return z(function(b){return y("leave","ng-leave",f.element(k(a)),null,null,function(){O.leave(a)},c,b)})},move:function(a,c,b,e){e=J(e);a=f.element(a);c=c&&f.element(c);b=b&&
|
||||
f.element(b);K(a);A(a,!0);O.move(a,c,b);return z(function(g){return y("move","ng-move",f.element(k(a)),c,b,s,e,g)})},addClass:function(a,c,b){return this.setClass(a,c,[],b)},removeClass:function(a,c,b){return this.setClass(a,[],c,b)},setClass:function(a,c,b,e){e=J(e);a=f.element(a);a=f.element(k(a));if(A(a))return O.$$setClassImmediately(a,c,b,e);var m,l=a.data("$$animateClasses"),p=!!l;l||(l={classes:{}});m=l.classes;c=$(c)?c:c.split(" ");g(c,function(a){a&&a.length&&(m[a]=!0)});b=$(b)?b:b.split(" ");
|
||||
g(b,function(a){a&&a.length&&(m[a]=!1)});if(p)return e&&l.options&&(l.options=f.extend(l.options||{},e)),l.promise;a.data("$$animateClasses",l={classes:m,options:e});return l.promise=z(function(b){var d=a.parent(),h=k(a),c=h.parentNode;if(!c||c.$$NG_REMOVED||h.$$NG_REMOVED)b();else{h=a.data("$$animateClasses");a.removeData("$$animateClasses");var c=a.data("$$ngAnimateState")||{},e=W(a,h,c.active);return e?y("setClass",e,a,d,null,function(){e[0]&&O.$$addClassImmediately(a,e[0]);e[1]&&O.$$removeClassImmediately(a,
|
||||
e[1])},h.options,b):b()}})},cancel:function(a){a.$$cancelFn()},enabled:function(a,c){switch(arguments.length){case 2:if(a)l(c);else{var b=c.data("$$ngAnimateState")||{};b.disabled=!0;c.data("$$ngAnimateState",b)}break;case 1:t.disabled=!a;break;default:a=!t.disabled}return!!a}}}]);B.register("",["$window","$sniffer","$timeout","$$animateReflow",function(t,B,I,U){function x(){e||(e=U(function(){b=[];e=null;a={}}))}function C(c,d){e&&e();b.push(d);e=U(function(){g(b,function(a){a()});b=[];e=null;a=
|
||||
{}})}function P(a,d){var h=k(a);a=f.element(h);p.push(a);h=Date.now()+d;h<=N||(I.cancel(m),N=h,m=I(function(){T(p);p=[]},d,!1))}function T(a){g(a,function(a){(a=a.data("$$ngAnimateCSS3Data"))&&g(a.closeAnimationFns,function(a){a()})})}function V(b,d){var h=d?a[d]:null;if(!h){var c=0,e=0,f=0,k=0;g(b,function(a){if(1==a.nodeType){a=t.getComputedStyle(a)||{};c=Math.max(A(a[L+"Duration"]),c);e=Math.max(A(a[L+"Delay"]),e);k=Math.max(A(a[E+"Delay"]),k);var d=A(a[E+"Duration"]);0<d&&(d*=parseInt(a[E+"IterationCount"],
|
||||
10)||1);f=Math.max(d,f)}});h={total:0,transitionDelay:e,transitionDuration:c,animationDelay:k,animationDuration:f};d&&(a[d]=h)}return h}function A(a){var d=0;a=ca(a)?a.split(/\s*,\s*/):[];g(a,function(a){d=Math.max(parseFloat(a)||0,d)});return d}function z(b,d,h,e){b=0<=["ng-enter","ng-leave","ng-move"].indexOf(h);var f,g=d.parent(),n=g.data("$$ngAnimateKey");n||(g.data("$$ngAnimateKey",++c),n=c);f=n+"-"+k(d).getAttribute("class");var g=f+" "+h,n=a[g]?++a[g].total:0,l={};if(0<n){var q=h+"-stagger",
|
||||
l=f+" "+q;(f=!a[l])&&d.addClass(q);l=V(d,l);f&&d.removeClass(q)}d.addClass(h);var q=d.data("$$ngAnimateCSS3Data")||{},r=V(d,g);f=r.transitionDuration;r=r.animationDuration;if(b&&0===f&&0===r)return d.removeClass(h),!1;h=e||b&&0<f;b=0<r&&0<l.animationDelay&&0===l.animationDuration;d.data("$$ngAnimateCSS3Data",{stagger:l,cacheKey:g,running:q.running||0,itemIndex:n,blockTransition:h,closeAnimationFns:q.closeAnimationFns||[]});g=k(d);h&&(W(g,!0),e&&d.css(e));b&&(g.style[E+"PlayState"]="paused");return!0}
|
||||
function J(a,d,b,c,e){function f(){d.off(C,l);d.removeClass(q);d.removeClass(r);z&&I.cancel(z);K(d,b);var a=k(d),c;for(c in p)a.style.removeProperty(p[c])}function l(a){a.stopPropagation();var d=a.originalEvent||a;a=d.$manualTimeStamp||d.timeStamp||Date.now();d=parseFloat(d.elapsedTime.toFixed(3));Math.max(a-B,0)>=A&&d>=x&&c()}var m=k(d);a=d.data("$$ngAnimateCSS3Data");if(-1!=m.getAttribute("class").indexOf(b)&&a){var q="",r="";g(b.split(" "),function(a,d){var b=(0<d?" ":"")+a;q+=b+"-active";r+=b+
|
||||
"-pending"});var p=[],t=a.itemIndex,v=a.stagger,s=0;if(0<t){s=0;0<v.transitionDelay&&0===v.transitionDuration&&(s=v.transitionDelay*t);var y=0;0<v.animationDelay&&0===v.animationDuration&&(y=v.animationDelay*t,p.push(Y+"animation-play-state"));s=Math.round(100*Math.max(s,y))/100}s||(d.addClass(q),a.blockTransition&&W(m,!1));var D=V(d,a.cacheKey+" "+q),x=Math.max(D.transitionDuration,D.animationDuration);if(0===x)d.removeClass(q),K(d,b),c();else{!s&&e&&(D.transitionDuration||(d.css("transition",D.animationDuration+
|
||||
"s linear all"),p.push("transition")),d.css(e));var t=Math.max(D.transitionDelay,D.animationDelay),A=1E3*t;0<p.length&&(v=m.getAttribute("style")||"",";"!==v.charAt(v.length-1)&&(v+=";"),m.setAttribute("style",v+" "));var B=Date.now(),C=X+" "+Z,t=1E3*(s+1.5*(t+x)),z;0<s&&(d.addClass(r),z=I(function(){z=null;0<D.transitionDuration&&W(m,!1);0<D.animationDuration&&(m.style[E+"PlayState"]="");d.addClass(q);d.removeClass(r);e&&(0===D.transitionDuration&&d.css("transition",D.animationDuration+"s linear all"),
|
||||
d.css(e),p.push("transition"))},1E3*s,!1));d.on(C,l);a.closeAnimationFns.push(function(){f();c()});a.running++;P(d,t);return f}}else c()}function W(a,d){a.style[L+"Property"]=d?"none":""}function Q(a,d,b,c){if(z(a,d,b,c))return function(a){a&&K(d,b)}}function R(a,d,b,c,e){if(d.data("$$ngAnimateCSS3Data"))return J(a,d,b,c,e);K(d,b);c()}function y(a,d,b,c,e){var f=Q(a,d,b,e.from);if(f){var g=f;C(d,function(){g=R(a,d,b,c,e.to)});return function(a){(g||s)(a)}}x();c()}function K(a,d){a.removeClass(d);
|
||||
var b=a.data("$$ngAnimateCSS3Data");b&&(b.running&&b.running--,b.running&&0!==b.running||a.removeData("$$ngAnimateCSS3Data"))}function l(a,d){var b="";a=$(a)?a:a.split(/\s+/);g(a,function(a,c){a&&0<a.length&&(b+=(0<c?" ":"")+a+d)});return b}var Y="",L,Z,E,X;M.ontransitionend===S&&M.onwebkittransitionend!==S?(Y="-webkit-",L="WebkitTransition",Z="webkitTransitionEnd transitionend"):(L="transition",Z="transitionend");M.onanimationend===S&&M.onwebkitanimationend!==S?(Y="-webkit-",E="WebkitAnimation",
|
||||
X="webkitAnimationEnd animationend"):(E="animation",X="animationend");var a={},c=0,b=[],e,m=null,N=0,p=[];return{animate:function(a,d,b,c,e,f){f=f||{};f.from=b;f.to=c;return y("animate",a,d,e,f)},enter:function(a,b,c){c=c||{};return y("enter",a,"ng-enter",b,c)},leave:function(a,b,c){c=c||{};return y("leave",a,"ng-leave",b,c)},move:function(a,b,c){c=c||{};return y("move",a,"ng-move",b,c)},beforeSetClass:function(a,b,c,e,f){f=f||{};b=l(c,"-remove")+" "+l(b,"-add");if(f=Q("setClass",a,b,f.from))return C(a,
|
||||
e),f;x();e()},beforeAddClass:function(a,b,c,e){e=e||{};if(b=Q("addClass",a,l(b,"-add"),e.from))return C(a,c),b;x();c()},beforeRemoveClass:function(a,b,c,e){e=e||{};if(b=Q("removeClass",a,l(b,"-remove"),e.from))return C(a,c),b;x();c()},setClass:function(a,b,c,e,f){f=f||{};c=l(c,"-remove");b=l(b,"-add");return R("setClass",a,c+" "+b,e,f.to)},addClass:function(a,b,c,e){e=e||{};return R("addClass",a,l(b,"-add"),c,e.to)},removeClass:function(a,b,c,e){e=e||{};return R("removeClass",a,l(b,"-remove"),c,e.to)}}}])}])})(window,
|
||||
window.angular);
|
||||
//# sourceMappingURL=angular-animate.min.js.map
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,9 @@
|
|||
{
|
||||
"name": "angular-animate",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"main": "./angular-animate.js",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"angular": "1.3.0-rc.5"
|
||||
"angular": "1.3.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "angular-animate",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"description": "AngularJS module for animations",
|
||||
"main": "angular-animate.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{
|
||||
"name": "angular-aria",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"main": "./angular-aria.js",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"angular": "1.3.0-rc.5"
|
||||
"angular": "1.3.1"
|
||||
},
|
||||
"homepage": "https://github.com/angular/bower-angular-aria",
|
||||
"_release": "1.3.0-rc.5",
|
||||
"_release": "1.3.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.3.0-rc.5",
|
||||
"commit": "b48dc5d0f1f5c7850848a05c24b7cf38d59c21b0"
|
||||
"tag": "v1.3.1",
|
||||
"commit": "64def707d6ba3764dff4e5c09eb66d37c6960ad6"
|
||||
},
|
||||
"_source": "git://github.com/angular/bower-angular-aria.git",
|
||||
"_target": "1.3.0-rc.5",
|
||||
"_target": "~1.3.1",
|
||||
"_originalSource": "angular-aria"
|
||||
}
|
|
@ -1,12 +1,35 @@
|
|||
# bower-angular-aria
|
||||
# packaged angular-aria
|
||||
|
||||
This repo is for distribution on `bower`. The source for this module is in the
|
||||
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/ngAria).
|
||||
Please file issues and pull requests against that repo.
|
||||
|
||||
## Install
|
||||
|
||||
Install with `bower`:
|
||||
You can install this package either with `npm` or with `bower`.
|
||||
|
||||
### npm
|
||||
|
||||
```shell
|
||||
npm install angular-aria
|
||||
```
|
||||
|
||||
Add a `<script>` to your `index.html`:
|
||||
|
||||
```html
|
||||
<script src="/node_modules/angular-aria/angular-aria.js"></script>
|
||||
```
|
||||
|
||||
Then add `ngAria` as a dependency for your app:
|
||||
|
||||
```javascript
|
||||
angular.module('myApp', ['ngAria']);
|
||||
```
|
||||
|
||||
Note that this package is not in CommonJS format, so doing `require('angular-aria')` will
|
||||
return `undefined`.
|
||||
|
||||
### bower
|
||||
|
||||
```shell
|
||||
bower install angular-aria
|
||||
|
@ -18,7 +41,7 @@ Add a `<script>` to your `index.html`:
|
|||
<script src="/bower_components/angular-aria/angular-aria.js"></script>
|
||||
```
|
||||
|
||||
And add `ngAria` as a dependency for your app:
|
||||
Then add `ngAria` as a dependency for your app:
|
||||
|
||||
```javascript
|
||||
angular.module('myApp', ['ngAria']);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* @license AngularJS v1.3.0-rc.5
|
||||
* @license AngularJS v1.3.1
|
||||
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
||||
* License: MIT
|
||||
*/
|
||||
|
@ -10,18 +10,18 @@
|
|||
* @name ngAria
|
||||
* @description
|
||||
*
|
||||
* The `ngAria` module provides support for adding aria tags that convey state or semantic information
|
||||
* about the application in order to allow assistive technologies to convey appropriate information to
|
||||
* persons with disabilities.
|
||||
* The `ngAria` module provides support for adding <abbr title="Accessible Rich Internet Applications">ARIA</abbr>
|
||||
* attributes that convey state or semantic information about the application in order to allow assistive technologies
|
||||
* to convey appropriate information to persons with disabilities.
|
||||
*
|
||||
* <div doc-module-components="ngAria"></div>
|
||||
*
|
||||
* # Usage
|
||||
* To enable the addition of the aria tags, just require the module into your application and the tags will
|
||||
* To enable the addition of the ARIA tags, just require the module into your application and the tags will
|
||||
* hook into your ng-show/ng-hide, input, textarea, button, select and ng-required directives and adds the
|
||||
* appropriate aria-tags.
|
||||
* appropriate ARIA attributes.
|
||||
*
|
||||
* Currently, the following aria tags are implemented:
|
||||
* Currently, the following ARIA attributes are implemented:
|
||||
*
|
||||
* + aria-hidden
|
||||
* + aria-checked
|
||||
|
@ -34,7 +34,7 @@
|
|||
* + aria-valuemax
|
||||
* + tabindex
|
||||
*
|
||||
* You can disable individual aria tags by using the {@link ngAria.$ariaProvider#config config} method.
|
||||
* You can disable individual ARIA attributes by using the {@link ngAria.$ariaProvider#config config} method.
|
||||
*/
|
||||
|
||||
/* global -ngAriaModule */
|
||||
|
@ -47,14 +47,14 @@ var ngAriaModule = angular.module('ngAria', ['ng']).
|
|||
*
|
||||
* @description
|
||||
*
|
||||
* Used for configuring aria attributes.
|
||||
* Used for configuring ARIA attributes.
|
||||
*
|
||||
* ## Dependencies
|
||||
* Requires the {@link ngAria} module to be installed.
|
||||
*/
|
||||
function $AriaProvider() {
|
||||
var config = {
|
||||
ariaHidden : true,
|
||||
ariaHidden: true,
|
||||
ariaChecked: true,
|
||||
ariaDisabled: true,
|
||||
ariaRequired: true,
|
||||
|
@ -68,7 +68,7 @@ function $AriaProvider() {
|
|||
* @ngdoc method
|
||||
* @name $ariaProvider#config
|
||||
*
|
||||
* @param {object} config object to enable/disable specific aria tags
|
||||
* @param {object} config object to enable/disable specific ARIA attributes
|
||||
*
|
||||
* - **ariaHidden** – `{boolean}` – Enables/disables aria-hidden tags
|
||||
* - **ariaChecked** – `{boolean}` – Enables/disables aria-checked tags
|
||||
|
@ -80,7 +80,7 @@ function $AriaProvider() {
|
|||
* - **tabindex** – `{boolean}` – Enables/disables tabindex tags
|
||||
*
|
||||
* @description
|
||||
* Enables/disables various aria tags
|
||||
* Enables/disables various ARIA attributes
|
||||
*/
|
||||
this.config = function(newConfig) {
|
||||
config = angular.extend(config, newConfig);
|
||||
|
@ -113,14 +113,14 @@ function $AriaProvider() {
|
|||
*
|
||||
* @description
|
||||
*
|
||||
* Contains helper methods for applying aria tags to HTML
|
||||
* Contains helper methods for applying ARIA attributes to HTML
|
||||
*
|
||||
* ## Dependencies
|
||||
* Requires the {@link ngAria} module to be installed.
|
||||
*/
|
||||
this.$get = function() {
|
||||
return {
|
||||
config: function (key) {
|
||||
config: function(key) {
|
||||
return config[camelCase(key)];
|
||||
},
|
||||
$$watchExpr: watchExpr
|
||||
|
@ -144,11 +144,11 @@ ngAriaModule.directive('ngShow', ['$aria', function($aria) {
|
|||
}])
|
||||
.directive('ngModel', ['$aria', function($aria) {
|
||||
|
||||
function shouldAttachAttr (attr, elem) {
|
||||
function shouldAttachAttr(attr, elem) {
|
||||
return $aria.config(attr) && !elem.attr(attr);
|
||||
}
|
||||
|
||||
function getShape (attr, elem) {
|
||||
function getShape(attr, elem) {
|
||||
var type = attr.type,
|
||||
role = attr.role;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
AngularJS v1.3.0-rc.5
|
||||
AngularJS v1.3.1
|
||||
(c) 2010-2014 Google, Inc. http://angularjs.org
|
||||
License: MIT
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"version":3,
|
||||
"file":"angular-aria.min.js",
|
||||
"lineCount":10,
|
||||
"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CA6HlCC,CAAAA,CAAiB,CAAC,OAAD,CAAU,QAAQ,CAACC,CAAD,CAAQ,CAC7C,MAAO,SAAQ,CAACC,CAAD,CAAQC,CAAR,CAAcC,CAAd,CAAoB,CAC7BH,CAAAI,OAAA,CAAa,UAAb,CAAJ,EAAiC,CAAAF,CAAAC,KAAA,CAAU,UAAV,CAAjC,EACED,CAAAC,KAAA,CAAU,UAAV,CAAsB,CAAtB,CAF+B,CADU,CAA1B,CA1FFN,EAAAQ,OAAA,CAAe,QAAf,CAAyB,CAAC,IAAD,CAAzB,CAAAC,SAAAC,CACc,OADdA,CAcnBC,QAAsB,EAAG,CAkCvBC,QAASA,EAAS,CAACC,CAAD,CAAQ,CACxB,MAAOA,EAAAC,QAAA,CAAc,KAAd,CAAqB,QAAQ,CAACC,CAAD,CAASC,CAAT,CAAc,CAChD,MAAOD,EAAA,CAAO,CAAP,CAAAE,YAAA,EADyC,CAA3C,CADiB,CAO1BC,QAASA,EAAS,CAACC,CAAD,CAAWC,CAAX,CAAqBC,CAArB,CAA6B,CAC7C,IAAIC,EAAgBV,CAAA,CAAUQ,CAAV,CACpB,OAAO,SAAQ,CAAChB,CAAD,CAAQC,CAAR,CAAcC,CAAd,CAAoB,CAC7BC,CAAA,CAAOe,CAAP,CAAJ,EAA8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aria.js"],
|
||||
"names":["window","angular","undefined","ngAriaTabindex","$aria","scope","elem","attr","config","module","provider","ngAriaModule","$AriaProvider","camelCase","input","replace","letter","pos","toUpperCase","watchExpr","attrName","ariaAttr","negate","ariaCamelName","$watch","boolVal","ariaHidden","ariaChecked","ariaDisabled","ariaRequired","ariaInvalid","ariaMultiline","ariaValue","tabindex","this.config","newConfig","extend","$get","this.$get","key","$$watchExpr","directive","shouldAttachAttr","getShape","type","role","nodeName","restrict","require","link","ngModel","ngAriaWatchModelValue","$modelValue","getRadioReaction","needsTabIndex","ngAriaRadioReaction","newVal","value","ngAriaCheckboxReaction","shape","min","max","ngAriaValueNowReaction","$validators","required","ngAriaRequiredWatch","$error","ngAriaRequiredReaction","ngAriaInvalidWatch","$invalid","ngAriaInvalidReaction"]
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{
|
||||
"name": "angular-aria",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"main": "./angular-aria.js",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"angular": "1.3.0-rc.5"
|
||||
"angular": "1.3.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "angular-aria",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"description": "AngularJS module for making accessibility easy",
|
||||
"main": "angular-aria.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"name": "angular-i18n",
|
||||
"version": "1.3.0-rc.5",
|
||||
"version": "1.3.1",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"components"
|
||||
],
|
||||
"homepage": "https://github.com/angular/bower-angular-i18n",
|
||||
"_release": "1.3.0-rc.5",
|
||||
"_release": "1.3.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.3.0-rc.5",
|
||||
"commit": "44c63923486037f25c62d179c426ac27ad3b71bf"
|
||||
"tag": "v1.3.1",
|
||||
"commit": "805a118d8935a5ac3959106fce5d68162e1eb3ae"
|
||||
},
|
||||
"_source": "git://github.com/angular/bower-angular-i18n.git",
|
||||
"_target": "1.3.0-rc.5",
|
||||
"_target": "~1.3.1",
|
||||
"_originalSource": "angular-i18n"
|
||||
}
|
|
@ -1,12 +1,29 @@
|
|||
# bower-angular-i18n
|
||||
# packaged angular-i18n
|
||||
|
||||
This repo is for distribution on `bower`. The source for this module is in the
|
||||
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).
|
||||
Please file issues and pull requests against that repo.
|
||||
|
||||
## Install
|
||||
|
||||
Install with `bower`:
|
||||
You can install this package either with `npm` or with `bower`.
|
||||
|
||||
### npm
|
||||
|
||||
```shell
|
||||
npm install angular-i18n
|
||||
```
|
||||
|
||||
Add a `<script>` to your `index.html`:
|
||||
|
||||
```html
|
||||
<script src="/node_modules/angular-i18n/angular-locale_YOUR-LOCALE.js"></script>
|
||||
```
|
||||
|
||||
Note that this package is not in CommonJS format, so doing `require('angular-i18n')` will
|
||||
return `undefined`.
|
||||
|
||||
### bower
|
||||
|
||||
```shell
|
||||
bower install angular-i18n
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "aa-dj",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "aa-er",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "aa-et",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "aa",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "af-na",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "af-za",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "af",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "agq-cm",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "agq",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ak-gh",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ak",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "am-et",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "am",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-001",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-ae",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-bh",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-dj",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-dz",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-eg",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-eh",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-er",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-il",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-iq",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-jo",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-km",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-kw",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-lb",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-ly",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-ma",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-mr",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-om",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-ps",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-qa",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-sa",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-sd",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-so",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-ss",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-sy",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-td",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-tn",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar-ye",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ar",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "as-in",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "as",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "asa-tz",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "asa",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ast-es",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ast",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "az-cyrl-az",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "az-cyrl",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "az-latn-az",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "az-latn",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "az",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bas-cm",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bas",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "be-by",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "be",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bem-zm",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bem",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bez-tz",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bez",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bg-bg",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bg",
|
||||
"pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bm-ml",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bm",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bn-bd",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bn-in",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bn",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bo-cn",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bo-in",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bo",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "br-fr",
|
||||
"pluralCat": function (n, opt_precision) { if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) { return PLURAL_CATEGORY.ONE; } if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) { return PLURAL_CATEGORY.TWO; } if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) { return PLURAL_CATEGORY.FEW; } if (n != 0 && n % 1000000 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) { return PLURAL_CATEGORY.ONE; } if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) { return PLURAL_CATEGORY.TWO; } if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) { return PLURAL_CATEGORY.FEW; } if (n != 0 && n % 1000000 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -92,6 +92,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "br",
|
||||
"pluralCat": function (n, opt_precision) { if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) { return PLURAL_CATEGORY.ONE; } if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) { return PLURAL_CATEGORY.TWO; } if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) { return PLURAL_CATEGORY.FEW; } if (n != 0 && n % 1000000 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) { return PLURAL_CATEGORY.ONE; } if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) { return PLURAL_CATEGORY.TWO; } if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) { return PLURAL_CATEGORY.FEW; } if (n != 0 && n % 1000000 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "brx-in",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "brx",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bs-cyrl-ba",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bs-cyrl",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bs-latn-ba",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bs-latn",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "bs",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "byn-er",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "byn",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ca-ad",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
|
@ -110,6 +110,6 @@ $provide.value("$locale", {
|
|||
]
|
||||
},
|
||||
"id": "ca-es-valencia",
|
||||
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue