Skip to content

Commit 3610a8e

Browse files
author
Acker Apple
committed
update
1 parent b8e9a51 commit 3610a8e

17 files changed

+128
-30
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# ack-angular-fx - Change Log
22
All notable changes to this project will be documented here.
33

4+
## [4.2.0] - 2022-01-04
5+
- Add peerDependencies
6+
47
## [3.0.4] - 2019-05-26
58
- Fix tracking history by orderArray
69

bin/src/allFxDynamic.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
"use strict";
2+
var __spreadArrays = (this && this.__spreadArrays) || function () {
3+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
5+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
6+
r[k] = a[j];
7+
return r;
8+
};
29
exports.__esModule = true;
310
var childStag_1 = require("./animations/childStag");
411
var absolutes_1 = require("./animations/absolutes");
@@ -7,4 +14,4 @@ var bounce_1 = require("./animations/bounce");
714
var rotate_1 = require("./animations/rotate");
815
var slide_1 = require("./animations/slide");
916
var zoom_1 = require("./animations/zoom");
10-
exports.animations = childStag_1.childStags.concat(absolutes_1.triggers, fade_1.triggers, bounce_1.triggers, rotate_1.triggers, slide_1.triggers, zoom_1.triggers);
17+
exports.animations = __spreadArrays(childStag_1.childStags, absolutes_1.triggers, fade_1.triggers, bounce_1.triggers, rotate_1.triggers, slide_1.triggers, zoom_1.triggers);

bin/src/animations/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports.__esModule = true;
1414
//import { style } from '@angular/core';
1515
var animations_1 = require("@angular/animations");
1616
function stylize(styleDef, options) {
17-
return animations_1.style(__assign({}, styleDef, options.whileStyle));
17+
return animations_1.style(__assign(__assign({}, styleDef), options.whileStyle));
1818
}
1919
exports.stylize = stylize;
2020
function defaultOptions(options) {

dist/AckFx.module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import * as tslib_1 from "tslib";
1+
import { __decorate } from "tslib";
22
import { NgModule } from '@angular/core';
33
import { CommonModule } from '@angular/common';
44
import { FxTracker } from './components/FxTracker.directive';
55
var AckFxModule = (function () {
66
function AckFxModule() {
77
}
8-
AckFxModule = tslib_1.__decorate([
8+
AckFxModule = __decorate([
99
NgModule({
1010
imports: [
1111
CommonModule,

dist/components/FxTracker.directive.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as tslib_1 from "tslib";
1+
import { __decorate, __metadata } from "tslib";
22
import { EventEmitter, Output, Input, Directive } from "@angular/core";
33
import { ActivatedRoute } from "@angular/router";
44
var FxTracker = (function () {
@@ -82,39 +82,39 @@ var FxTracker = (function () {
8282
var _this = this;
8383
Promise.resolve().then(function () { return _this.inFx = false; });
8484
};
85-
tslib_1.__decorate([
85+
__decorate([
8686
Input(),
87-
tslib_1.__metadata("design:type", Object)
87+
__metadata("design:type", Object)
8888
], FxTracker.prototype, "value", void 0);
89-
tslib_1.__decorate([
89+
__decorate([
9090
Input(),
91-
tslib_1.__metadata("design:type", ActivatedRoute)
91+
__metadata("design:type", ActivatedRoute)
9292
], FxTracker.prototype, "activatedRoute", void 0);
93-
tslib_1.__decorate([
93+
__decorate([
9494
Input(),
95-
tslib_1.__metadata("design:type", Array)
95+
__metadata("design:type", Array)
9696
], FxTracker.prototype, "orderArray", void 0);
97-
tslib_1.__decorate([
97+
__decorate([
9898
Input(),
99-
tslib_1.__metadata("design:type", Array)
99+
__metadata("design:type", Array)
100100
], FxTracker.prototype, "history", void 0);
101-
tslib_1.__decorate([
101+
__decorate([
102102
Output(),
103-
tslib_1.__metadata("design:type", EventEmitter)
103+
__metadata("design:type", EventEmitter)
104104
], FxTracker.prototype, "historyChange", void 0);
105-
tslib_1.__decorate([
105+
__decorate([
106106
Input(),
107-
tslib_1.__metadata("design:type", Number)
107+
__metadata("design:type", Number)
108108
], FxTracker.prototype, "index", void 0);
109-
tslib_1.__decorate([
109+
__decorate([
110110
Output(),
111-
tslib_1.__metadata("design:type", EventEmitter)
111+
__metadata("design:type", EventEmitter)
112112
], FxTracker.prototype, "indexChange", void 0);
113-
tslib_1.__decorate([
113+
__decorate([
114114
Input(),
115-
tslib_1.__metadata("design:type", Object)
115+
__metadata("design:type", Object)
116116
], FxTracker.prototype, "id", void 0);
117-
FxTracker = tslib_1.__decorate([
117+
FxTracker = __decorate([
118118
Directive({
119119
selector: 'fx-tracker',
120120
exportAs: 'FxTracker'

example/src/overview.template.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

example/www/3rdpartylicenses.txt

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
@angular-devkit/build-angular
2+
MIT
3+
The MIT License
4+
5+
Copyright (c) 2017 Google, Inc.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.
24+
25+
126
@angular/animations
227
MIT
328

@@ -41,6 +66,29 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4166
SOFTWARE.
4267

4368

69+
core-js
70+
MIT
71+
Copyright (c) 2014-2020 Denis Pushkarev
72+
73+
Permission is hereby granted, free of charge, to any person obtaining a copy
74+
of this software and associated documentation files (the "Software"), to deal
75+
in the Software without restriction, including without limitation the rights
76+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
77+
copies of the Software, and to permit persons to whom the Software is
78+
furnished to do so, subject to the following conditions:
79+
80+
The above copyright notice and this permission notice shall be included in
81+
all copies or substantial portions of the Software.
82+
83+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
89+
THE SOFTWARE.
90+
91+
4492
reflect-metadata
4593
Apache-2.0
4694
Apache License
@@ -99,6 +147,31 @@ If the Work includes a "NOTICE" text file as part of its distribution, then any
99147

100148
END OF TERMS AND CONDITIONS
101149

150+
regenerator-runtime
151+
MIT
152+
MIT License
153+
154+
Copyright (c) 2014-present, Facebook, Inc.
155+
156+
Permission is hereby granted, free of charge, to any person obtaining a copy
157+
of this software and associated documentation files (the "Software"), to deal
158+
in the Software without restriction, including without limitation the rights
159+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
160+
copies of the Software, and to permit persons to whom the Software is
161+
furnished to do so, subject to the following conditions:
162+
163+
The above copyright notice and this permission notice shall be included in all
164+
copies or substantial portions of the Software.
165+
166+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
167+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
168+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
169+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
170+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
171+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
172+
SOFTWARE.
173+
174+
102175
rxjs
103176
Apache-2.0
104177
Apache License
@@ -309,7 +382,7 @@ zone.js
309382
MIT
310383
The MIT License
311384

312-
Copyright (c) 2016-2018 Google, Inc.
385+
Copyright (c) 2010-2019 Google LLC. http://angular.io/license
313386

314387
Permission is hereby granted, free of charge, to any person obtaining a copy
315388
of this software and associated documentation files (the "Software"), to deal

example/www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
<script>
1313
window.scriptLoadTime = Date.now()
1414
</script>
15-
<script type="text/javascript" src="runtime.js"></script><script type="text/javascript" src="main.js"></script></body>
15+
<script src="runtime-es2015.js" type="module"></script><script src="runtime-es5.js" nomodule defer></script><script src="polyfills-es5.js" nomodule defer></script><script src="main-es2015.js" type="module"></script><script src="main-es5.js" nomodule defer></script></body>
1616
</html>

example/www/main-es2015.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/www/main-es5.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)