@angular-wave/angular.ts 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/angular-ts.esm.js +1 -1
- package/dist/angular-ts.umd.js +1 -1
- package/index.html +66 -57
- package/package.json +1 -1
- package/rollup.config.js +2 -6
- package/src/animations/animate-children-directive.js +1 -1
- package/src/animations/animate-css-driver.js +1 -1
- package/src/animations/animate-css.js +220 -15
- package/src/animations/animate-js-driver.js +1 -1
- package/src/animations/animate-js.js +2 -2
- package/src/animations/animate-queue.js +3 -4
- package/src/animations/animation.js +1 -1
- package/src/animations/module.js +750 -0
- package/src/animations/shared.js +15 -4
- package/src/core/animate-runner.js +1 -1
- package/src/core/animate.js +4 -5
- package/src/core/compile.js +6 -7
- package/src/core/controller.js +4 -3
- package/src/core/filter.js +1 -1
- package/src/core/interpolate.js +1 -1
- package/src/core/interval-factory.js +1 -1
- package/src/core/interval.js +1 -1
- package/src/core/location.js +1 -1
- package/src/core/parser/parse.js +1 -1
- package/src/core/q.js +2 -3
- package/src/core/root-scope.js +1 -1
- package/src/core/sanitize-uri.js +1 -1
- package/src/core/sce.js +1 -1
- package/src/core/task-tracker-factory.js +1 -1
- package/src/core/timeout.js +1 -1
- package/src/core/urlUtils.js +1 -1
- package/src/directive/attrs.js +1 -1
- package/src/directive/bind.js +1 -1
- package/src/directive/class.js +2 -2
- package/src/directive/events.js +1 -1
- package/src/directive/form.js +1 -1
- package/src/directive/include.js +1 -1
- package/src/directive/input.js +1 -1
- package/src/directive/list.js +2 -2
- package/src/directive/model-options.js +1 -1
- package/src/directive/model.js +1 -1
- package/src/directive/options.js +2 -3
- package/src/directive/ref.js +1 -1
- package/src/directive/repeat.js +1 -1
- package/src/directive/select.js +1 -1
- package/src/directive/switch.js +1 -1
- package/src/directive/transclude.js +1 -1
- package/src/directive/validators.js +1 -1
- package/src/exts/aria.js +1 -1
- package/src/exts/messages.js +3 -3
- package/src/exts/messages.md +28 -31
- package/src/filters/filter.js +2 -3
- package/src/filters/filters.js +1 -1
- package/src/filters/limit-to.js +1 -1
- package/src/filters/order-by.js +2 -3
- package/src/injector.js +8 -9
- package/src/jqLite.js +3 -4
- package/src/loader.js +1 -3
- package/src/public.js +1 -1
- package/src/router/common/coreservices.js +5 -0
- package/src/router/{core/common → common}/queue.js +1 -1
- package/src/router/{core/common → common}/trace.js +21 -19
- package/src/router/{adapter/directives → directives}/stateDirectives.js +24 -28
- package/src/router/{adapter/directives → directives}/viewDirective.js +10 -9
- package/src/router/{core/globals.js → globals.js} +13 -3
- package/src/router/{core/hooks → hooks}/coreResolvables.js +6 -4
- package/src/router/{core/hooks → hooks}/lazyLoad.js +5 -2
- package/src/router/{core/hooks → hooks}/redirectTo.js +1 -1
- package/src/router/{core/hooks → hooks}/resolve.js +5 -4
- package/src/router/{core/hooks → hooks}/updateGlobals.js +1 -1
- package/src/router/{core/hooks → hooks}/views.js +2 -3
- package/src/router/index.js +60 -0
- package/src/router/{adapter/injectables.js → injectables.js} +9 -9
- package/src/router/{adapter/locationServices.js → locationServices.js} +19 -12
- package/src/router/{core/params → params}/param.js +5 -10
- package/src/router/{core/params → params}/paramType.js +4 -4
- package/src/router/{core/params → params}/paramTypes.js +4 -3
- package/src/router/{core/params → params}/stateParams.js +1 -1
- package/src/router/{core/path → path}/pathNode.js +2 -2
- package/src/router/{core/path → path}/pathUtils.js +13 -7
- package/src/router/{core/resolve → resolve}/resolvable.js +5 -5
- package/src/router/{core/resolve → resolve}/resolveContext.js +16 -6
- package/src/router/router.js +171 -72
- package/src/router/{adapter/services.js → services.js} +47 -27
- package/src/router/{core/state → state}/stateBuilder.js +14 -10
- package/src/router/{core/state → state}/stateMatcher.js +2 -3
- package/src/router/{core/state → state}/stateObject.js +8 -6
- package/src/router/{core/state → state}/stateQueueManager.js +3 -3
- package/src/router/{core/state → state}/stateRegistry.js +6 -7
- package/src/router/{core/state → state}/stateService.js +12 -15
- package/src/router/{core/state → state}/targetState.js +2 -2
- package/src/router/{adapter/statebuilders → state}/views.js +17 -15
- package/src/router/{adapter/stateProvider.js → stateProvider.js} +52 -9
- package/src/router/{adapter/templateFactory.js → templateFactory.js} +10 -19
- package/src/router/{core/transition → transition}/hookBuilder.js +4 -3
- package/src/router/{core/transition → transition}/hookRegistry.js +3 -6
- package/src/router/{core/transition → transition}/rejectFactory.js +4 -5
- package/src/router/{core/transition → transition}/transition.js +10 -12
- package/src/router/{core/transition → transition}/transitionHook.js +4 -4
- package/src/router/{core/transition → transition}/transitionService.js +13 -13
- package/src/router/{core/url → url}/urlConfig.js +28 -19
- package/src/router/{core/url → url}/urlMatcher.js +14 -16
- package/src/router/{core/url → url}/urlMatcherFactory.js +7 -6
- package/src/router/{core/url → url}/urlRouter.js +6 -30
- package/src/router/{core/url → url}/urlRule.js +3 -3
- package/src/router/{core/url → url}/urlRules.js +10 -11
- package/src/router/{core/url → url}/urlService.js +12 -6
- package/src/router/{core/view → view}/view.js +32 -27
- package/src/router/{adapter/viewScroll.js → viewScroll.js} +3 -0
- package/src/services/anchor-scroll.js +1 -1
- package/src/services/browser.js +1 -1
- package/src/services/cache-factory.js +7 -1
- package/src/services/cookie-reader.js +1 -1
- package/src/services/http-backend.js +6 -1
- package/src/services/http.js +4 -5
- package/src/services/log.js +1 -1
- package/src/services/template-request.js +2 -2
- package/src/{router/core/common → shared}/common.js +35 -16
- package/src/{router/core/common → shared}/predicates.js +2 -12
- package/src/{router/core/common → shared}/strings.js +5 -13
- package/src/{core → shared}/utils.js +13 -29
- package/test/angular.spec.js +1 -31
- package/test/{ng → core}/animate.spec.js +1 -1
- package/test/{ng → core}/compile.spec.js +2 -3
- package/test/{ng → core}/http.spec.js +2 -2
- package/test/{ng → core}/on.spec.js +1 -1
- package/test/{ng → core}/parse.spec.js +1 -1
- package/test/{ng → core}/prop.spec.js +1 -1
- package/test/{ng → core}/scope.spec.js +1 -1
- package/test/{ng/directive → directive}/a.spec.js +4 -4
- package/test/{ng/directive → directive}/bind.spec.js +3 -3
- package/test/{ng/directive → directive}/boolean.spec.js +2 -2
- package/test/{ng/directive → directive}/change.spec.js +3 -3
- package/test/{ng/directive → directive}/class.spec.js +4 -4
- package/test/{ng/directive → directive}/click.spec.js +3 -3
- package/test/{ng/directive → directive}/cloak.spec.js +4 -4
- package/test/{ng/directive → directive}/constoller.spec.js +5 -5
- package/test/{ng/directive → directive}/element-style.spec.js +3 -3
- package/test/{ng/directive → directive}/event.spec.js +4 -4
- package/test/{ng/directive → directive}/form.spec.js +5 -5
- package/test/{ng/directive → directive}/href.spec.js +4 -4
- package/test/{ng/directive → directive}/if.spec.js +5 -5
- package/test/{ng/directive → directive}/include.spec.js +5 -5
- package/test/{ng/directive → directive}/init.spec.js +4 -4
- package/test/{ng/directive → directive}/input.spec.js +5 -5
- package/test/{ng/directive → directive}/list.spec.js +3 -3
- package/test/{ng/directive → directive}/model-options.spec.js +6 -6
- package/test/{ng/directive → directive}/model.spec.js +8 -8
- package/test/{ng/directive → directive}/non-bindable.spec.js +3 -3
- package/test/{ng/directive → directive}/options.spec.js +5 -5
- package/test/{ng/directive → directive}/ref.spec.js +2 -2
- package/test/{ng/directive → directive}/repeat.spec.js +5 -5
- package/test/{ng/directive → directive}/script.spec.js +3 -3
- package/test/{ng/directive → directive}/scrset.spec.js +3 -3
- package/test/{ng/directive → directive}/select.spec.js +5 -5
- package/test/{ng/directive → directive}/show-hide.spec.js +3 -3
- package/test/{ng/directive → directive}/src.spec.js +3 -3
- package/test/{ng/directive → directive}/style.spec.js +3 -3
- package/test/{ng/directive → directive}/switch.spec.js +3 -3
- package/test/{ng/directive → directive}/validators.spec.js +3 -3
- package/test/{ng/filter → filter}/filter.spec.js +4 -4
- package/test/{ng/filter → filter}/filters.spec.js +3 -3
- package/test/{ng/filter → filter}/limit-to.spec.js +3 -3
- package/test/{ng/filter → filter}/order-by.spec.js +2 -2
- package/test/injector.spec.js +1 -1
- package/test/jqlite.spec.js +1 -1
- package/test/messages/messages.spec.js +1 -1
- package/test/min-err.spec.js +1 -1
- package/test/original-test.html +4 -4
- package/test/router/glob.spec.js +78 -0
- package/test/router/state.spec.js +931 -0
- package/test/sanitize/bing-html.spec.js +1 -1
- package/test/shared/common.spec.js +283 -0
- package/test/shared/hof.spec.js +60 -0
- package/test/shared/strings.spec.js +40 -0
- package/test/{ng → shared}/utils.spec.js +1 -1
- package/types/router/angular.d.ts +1 -0
- package/types/router/core/common/common.d.ts +370 -0
- package/types/router/core/common/coreservices.d.ts +80 -0
- package/types/router/core/common/glob.d.ts +60 -0
- package/types/router/core/common/hof.d.ts +160 -0
- package/types/router/core/common/index.d.ts +8 -0
- package/types/router/core/common/predicates.d.ts +25 -0
- package/types/router/core/common/queue.d.ts +15 -0
- package/types/router/core/common/safeConsole.d.ts +5 -0
- package/types/router/core/common/strings.d.ts +64 -0
- package/types/router/core/common/trace.d.ts +114 -0
- package/types/router/core/globals.d.ts +45 -0
- package/types/router/core/hooks/coreResolvables.d.ts +4 -0
- package/types/router/core/hooks/ignoredTransition.d.ts +2 -0
- package/types/router/core/hooks/invalidTransition.d.ts +2 -0
- package/types/router/core/hooks/lazyLoad.d.ts +12 -0
- package/types/router/core/hooks/onEnterExitRetain.d.ts +4 -0
- package/types/router/core/hooks/redirectTo.d.ts +2 -0
- package/types/router/core/hooks/resolve.d.ts +5 -0
- package/types/router/core/hooks/updateGlobals.d.ts +2 -0
- package/types/router/core/hooks/url.d.ts +2 -0
- package/types/router/core/hooks/views.d.ts +3 -0
- package/types/router/core/index.d.ts +12 -0
- package/types/router/core/interface.d.ts +102 -0
- package/types/router/core/params/index.d.ts +12 -0
- package/types/router/core/params/interface.d.ts +606 -0
- package/types/router/core/params/param.d.ts +65 -0
- package/types/router/core/params/paramType.d.ts +65 -0
- package/types/router/core/params/paramTypes.d.ts +190 -0
- package/types/router/core/params/stateParams.d.ts +15 -0
- package/types/router/core/path/index.d.ts +2 -0
- package/types/router/core/path/pathNode.d.ts +60 -0
- package/types/router/core/path/pathUtils.d.ts +79 -0
- package/types/router/core/resolve/index.d.ts +3 -0
- package/types/router/core/resolve/interface.d.ts +210 -0
- package/types/router/core/resolve/resolvable.d.ts +69 -0
- package/types/router/core/resolve/resolveContext.d.ts +92 -0
- package/types/router/core/router.d.ts +95 -0
- package/types/router/core/state/index.d.ts +28 -0
- package/types/router/core/state/interface.d.ts +708 -0
- package/types/router/core/state/stateBuilder.d.ts +104 -0
- package/types/router/core/state/stateMatcher.d.ts +11 -0
- package/types/router/core/state/stateObject.d.ts +155 -0
- package/types/router/core/state/stateQueueManager.d.ts +24 -0
- package/types/router/core/state/stateRegistry.d.ts +136 -0
- package/types/router/core/state/stateService.d.ts +350 -0
- package/types/router/core/state/targetState.d.ts +100 -0
- package/types/router/core/transition/hookBuilder.d.ts +45 -0
- package/types/router/core/transition/hookRegistry.d.ts +93 -0
- package/types/router/core/transition/index.d.ts +20 -0
- package/types/router/core/transition/interface.d.ts +819 -0
- package/types/router/core/transition/rejectFactory.d.ts +103 -0
- package/types/router/core/transition/transition.d.ts +527 -0
- package/types/router/core/transition/transitionEventType.d.ts +17 -0
- package/types/router/core/transition/transitionHook.d.ts +88 -0
- package/types/router/core/transition/transitionService.d.ts +187 -0
- package/types/router/core/url/index.d.ts +8 -0
- package/types/router/core/url/interface.d.ts +156 -0
- package/types/router/core/url/urlConfig.d.ts +141 -0
- package/types/router/core/url/urlMatcher.d.ts +180 -0
- package/types/router/core/url/urlMatcherFactory.d.ts +52 -0
- package/types/router/core/url/urlRouter.d.ts +85 -0
- package/types/router/core/url/urlRule.d.ts +120 -0
- package/types/router/core/url/urlRules.d.ts +244 -0
- package/types/router/core/url/urlService.d.ts +206 -0
- package/types/router/core/vanilla.d.ts +1 -0
- package/types/router/core/view/index.d.ts +2 -0
- package/types/router/core/view/interface.d.ts +46 -0
- package/types/router/core/view/view.d.ts +167 -0
- package/types/router/directives/stateDirectives.d.ts +3 -0
- package/types/router/directives/viewDirective.d.ts +143 -0
- package/types/router/index.d.ts +19 -0
- package/types/router/interface.d.ts +491 -0
- package/types/router/legacy/resolveService.d.ts +44 -0
- package/types/router/legacy/stateEvents.d.ts +123 -0
- package/types/router/locationServices.d.ts +43 -0
- package/types/router/services.d.ts +15 -0
- package/types/router/stateFilters.d.ts +11 -0
- package/types/router/stateProvider.d.ts +254 -0
- package/types/router/statebuilders/onEnterExitRetain.d.ts +12 -0
- package/types/router/statebuilders/views.d.ts +41 -0
- package/types/router/templateFactory.d.ts +84 -0
- package/types/router/viewScroll.d.ts +9 -0
- package/src/animations/animate.css.md +0 -263
- package/src/animations/animate.md +0 -933
- package/src/router/adapter/statebuilders/onEnterExitRetain.js +0 -29
- package/src/router/core/common/coreservices.js +0 -15
- package/src/router/core/common/safeConsole.js +0 -37
- package/src/router/core/interface.js +0 -3
- package/src/router/core/resolve/interface.js +0 -10
- package/src/router/core/router.js +0 -203
- package/src/router/core/url/interface.js +0 -1
- package/src/router/core/view/interface.js +0 -1
- /package/src/router/{core/common → common}/glob.js +0 -0
- /package/src/router/{core/hooks → hooks}/ignoredTransition.js +0 -0
- /package/src/router/{core/hooks → hooks}/invalidTransition.js +0 -0
- /package/src/router/{core/hooks → hooks}/onEnterExitRetain.js +0 -0
- /package/src/router/{core/hooks → hooks}/url.js +0 -0
- /package/src/router/{core/params → params}/README.md +0 -0
- /package/src/router/{core/state → state}/README.md +0 -0
- /package/src/router/{adapter/stateFilters.js → stateFilters.js} +0 -0
- /package/src/router/{core/transition → transition}/interface.js +0 -0
- /package/src/router/{core/transition → transition}/transitionEventType.js +0 -0
- /package/src/{router/core/common → shared}/hof.js +0 -0
- /package/test/{ng → core}/cache-factor.spec.js +0 -0
- /package/test/{ng → core}/controller-provider.spec.js +0 -0
- /package/test/{ng → core}/cookie-reader.spec.js +0 -0
- /package/test/{ng → core}/document.spec.js +0 -0
- /package/test/{ng → core}/filter.spec.js +0 -0
- /package/test/{ng → core}/http-backend.spec.js +0 -0
- /package/test/{ng → core}/interpolate.spec.js +0 -0
- /package/test/{ng → core}/interval.spec.js +0 -0
- /package/test/{ng → core}/location.spec.js +0 -0
- /package/test/{ng → core}/q.spec.js +0 -0
- /package/test/{ng → core}/root-element.spec.js +0 -0
- /package/test/{ng → core}/sanitize-uri.spec.js +0 -0
- /package/test/{ng → core}/sce.spec.js +0 -0
- /package/test/{ng → core}/template-request.spec.js +0 -0
- /package/test/{ng → core}/timeout.spec.js +0 -0
- /package/test/{ng → core}/url-utils.spec.js +0 -0
- /package/{src/router/adapter/interface.js → types/router/injectables.d.ts} +0 -0
package/index.html
CHANGED
|
@@ -17,71 +17,70 @@
|
|
|
17
17
|
<!-- <script src="dist/angular-ts.umd.js"></script> -->
|
|
18
18
|
<!-- include spec files here... -->
|
|
19
19
|
|
|
20
|
-
<script type="module" src="test/
|
|
21
|
-
<script type="module" src="test/
|
|
22
|
-
<script type="module" src="test/
|
|
23
|
-
<script type="module" src="test/
|
|
24
|
-
<script type="module" src="test/
|
|
25
|
-
<script type="module" src="test/
|
|
26
|
-
<script type="module" src="test/
|
|
27
|
-
<script type="module" src="test/
|
|
28
|
-
<script type="module" src="test/
|
|
29
|
-
<script type="module" src="test/
|
|
30
|
-
<script type="module" src="test/
|
|
31
|
-
<script type="module" src="test/
|
|
32
|
-
<script type="module" src="test/
|
|
33
|
-
<script type="module" src="test/
|
|
34
|
-
<script type="module" src="test/
|
|
20
|
+
<script type="module" src="test/directive/a.spec.js"></script>
|
|
21
|
+
<script type="module" src="test/directive/boolean.spec.js"></script>
|
|
22
|
+
<script type="module" src="test/directive/form.spec.js"></script>
|
|
23
|
+
<script type="module" src="test/directive/input.spec.js"></script>
|
|
24
|
+
<script type="module" src="test/directive/bind.spec.js"></script>
|
|
25
|
+
<script type="module" src="test/directive/change.spec.js"></script>
|
|
26
|
+
<script type="module" src="test/directive/class.spec.js"></script>
|
|
27
|
+
<script type="module" src="test/directive/click.spec.js"></script>
|
|
28
|
+
<script type="module" src="test/directive/cloak.spec.js"></script>
|
|
29
|
+
<script type="module" src="test/directive/constoller.spec.js"></script>
|
|
30
|
+
<script type="module" src="test/directive/event.spec.js"></script>
|
|
31
|
+
<script type="module" src="test/directive/href.spec.js"></script>
|
|
32
|
+
<script type="module" src="test/directive/if.spec.js"></script>
|
|
33
|
+
<script type="module" src="test/directive/include.spec.js"></script>
|
|
34
|
+
<script type="module" src="test/directive/init.spec.js"></script>
|
|
35
35
|
|
|
36
|
-
<script type="module" src="test/
|
|
37
|
-
<script type="module" src="test/
|
|
38
|
-
<script type="module" src="test/
|
|
39
|
-
<script type="module" src="test/
|
|
36
|
+
<script type="module" src="test/directive/list.spec.js"></script>
|
|
37
|
+
<script type="module" src="test/directive/model-options.spec.js"></script>
|
|
38
|
+
<script type="module" src="test/directive/model.spec.js"></script>
|
|
39
|
+
<script type="module" src="test/directive/non-bindable.spec.js"></script>
|
|
40
40
|
|
|
41
|
-
<script type="module" src="test/
|
|
41
|
+
<script type="module" src="test/directive/ref.spec.js"></script>
|
|
42
42
|
|
|
43
|
-
<script type="module" src="test/
|
|
44
|
-
<script type="module" src="test/
|
|
45
|
-
<script type="module" src="test/
|
|
46
|
-
<script type="module" src="test/
|
|
47
|
-
<script type="module" src="test/
|
|
48
|
-
<script type="module" src="test/
|
|
49
|
-
<script type="module" src="test/
|
|
50
|
-
<script type="module" src="test/
|
|
51
|
-
<script type="module" src="test/
|
|
52
|
-
<script type="module" src="test/
|
|
43
|
+
<script type="module" src="test/directive/repeat.spec.js"></script>
|
|
44
|
+
<script type="module" src="test/directive/show-hide.spec.js"></script>
|
|
45
|
+
<script type="module" src="test/directive/scrset.spec.js"></script>
|
|
46
|
+
<script type="module" src="test/directive/src.spec.js"></script>
|
|
47
|
+
<script type="module" src="test/directive/style.spec.js"></script>
|
|
48
|
+
<script type="module" src="test/directive/switch.spec.js"></script>
|
|
49
|
+
<script type="module" src="test/directive/script.spec.js"></script>
|
|
50
|
+
<script type="module" src="test/directive/select.spec.js"></script>
|
|
51
|
+
<script type="module" src="test/directive/style.spec.js"></script>
|
|
52
|
+
<script type="module" src="test/directive/validators.spec.js"></script>
|
|
53
53
|
|
|
54
|
-
<script type="module" src="test/
|
|
55
|
-
<script type="module" src="test/
|
|
56
|
-
<script type="module" src="test/
|
|
57
|
-
<script type="module" src="test/
|
|
54
|
+
<script type="module" src="test/filter/filter.spec.js"></script>
|
|
55
|
+
<script type="module" src="test/filter/filters.spec.js"></script>
|
|
56
|
+
<script type="module" src="test/filter/limit-to.spec.js"></script>
|
|
57
|
+
<script type="module" src="test/filter/order-by.spec.js"></script>
|
|
58
58
|
|
|
59
|
-
<script type="module" src="test/
|
|
60
|
-
<script type="module" src="test/
|
|
61
|
-
<script type="module" src="test/
|
|
62
|
-
<script type="module" src="test/
|
|
63
|
-
<script type="module" src="test/
|
|
64
|
-
<script type="module" src="test/
|
|
65
|
-
<script type="module" src="test/
|
|
66
|
-
<script type="module" src="test/
|
|
59
|
+
<script type="module" src="test/core/cache-factor.spec.js"></script>
|
|
60
|
+
<script type="module" src="test/core/compile.spec.js"></script>
|
|
61
|
+
<script type="module" src="test/core/controller-provider.spec.js"></script>
|
|
62
|
+
<script type="module" src="test/core/cookie-reader.spec.js"></script>
|
|
63
|
+
<script type="module" src="test/core/document.spec.js"></script>
|
|
64
|
+
<script type="module" src="test/core/filter.spec.js"></script>
|
|
65
|
+
<script type="module" src="test/core/http-backend.spec.js"></script>
|
|
66
|
+
<script type="module" src="test/core/http.spec.js"></script>
|
|
67
67
|
|
|
68
|
-
<script type="module" src="test/
|
|
68
|
+
<script type="module" src="test/core/interpolate.spec.js"></script>
|
|
69
69
|
|
|
70
|
-
<script type="module" src="test/
|
|
71
|
-
<script type="module" src="test/
|
|
72
|
-
<script type="module" src="test/
|
|
73
|
-
<script type="module" src="test/
|
|
74
|
-
<script type="module" src="test/
|
|
75
|
-
<script type="module" src="test/
|
|
70
|
+
<script type="module" src="test/core/location.spec.js"></script>
|
|
71
|
+
<script type="module" src="test/core/on.spec.js"></script>
|
|
72
|
+
<script type="module" src="test/core/prop.spec.js"></script>
|
|
73
|
+
<script type="module" src="test/core/parse.spec.js"></script>
|
|
74
|
+
<script type="module" src="test/core/q.spec.js"></script>
|
|
75
|
+
<script type="module" src="test/core/root-element.spec.js"></script>
|
|
76
76
|
|
|
77
|
-
<script type="module" src="test/
|
|
78
|
-
<script type="module" src="test/
|
|
79
|
-
<script type="module" src="test/
|
|
77
|
+
<script type="module" src="test/core/sce.spec.js"></script>
|
|
78
|
+
<script type="module" src="test/core/sanitize-uri.spec.js"></script>
|
|
79
|
+
<script type="module" src="test/core/scope.spec.js"></script>
|
|
80
80
|
|
|
81
|
-
<script type="module" src="test/
|
|
81
|
+
<script type="module" src="test/core/template-request.spec.js"></script>
|
|
82
82
|
|
|
83
|
-
<script type="module" src="test/
|
|
84
|
-
<script type="module" src="test/ng/url-utils.spec.js"></script>
|
|
83
|
+
<script type="module" src="test/core/url-utils.spec.js"></script>
|
|
85
84
|
|
|
86
85
|
<script type="module" src="test/aria/aria.spec.js"></script>
|
|
87
86
|
<script type="module" src="test/messages/messages.spec.js"></script>
|
|
@@ -94,9 +93,19 @@
|
|
|
94
93
|
<script type="module" src="test/min-err.spec.js"></script>
|
|
95
94
|
<script type="module" src="test/public.spec.js"></script>
|
|
96
95
|
|
|
96
|
+
<script type="module" src="test/shared/common.spec.js"></script>
|
|
97
|
+
<script type="module" src="test/shared/hof.spec.js"></script>
|
|
98
|
+
<script type="module" src="test/shared/strings.spec.js"></script>
|
|
99
|
+
<script type="module" src="test/shared/utils.spec.js"></script>
|
|
100
|
+
|
|
101
|
+
<!-- Router specs-->
|
|
102
|
+
<script type="module" src="test/router/glob.spec.js"></script>
|
|
103
|
+
<script type="module" src="test/router/state.spec.js"></script>
|
|
104
|
+
|
|
105
|
+
|
|
97
106
|
<!-- Run asyncs last to prevent digest polution-->
|
|
98
|
-
<script type="module" src="test/
|
|
99
|
-
<script type="module" src="test/
|
|
107
|
+
<script type="module" src="test/core/interval.spec.js"></script>
|
|
108
|
+
<script type="module" src="test/core/timeout.spec.js"></script>
|
|
100
109
|
</head>
|
|
101
110
|
<body>
|
|
102
111
|
<div id="dummy"></div>
|
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -3,10 +3,6 @@ import commonjs from '@rollup/plugin-commonjs';
|
|
|
3
3
|
import pkg from './package.json' assert { type: 'json' };
|
|
4
4
|
import terser from '@rollup/plugin-terser';
|
|
5
5
|
|
|
6
|
-
const terserConfig = terser({
|
|
7
|
-
mangle: true
|
|
8
|
-
})
|
|
9
|
-
|
|
10
6
|
export default [
|
|
11
7
|
// browser-friendly UMD build
|
|
12
8
|
{
|
|
@@ -16,7 +12,7 @@ export default [
|
|
|
16
12
|
file: pkg.browser,
|
|
17
13
|
format: 'umd',
|
|
18
14
|
},
|
|
19
|
-
plugins: [resolve(), commonjs(),
|
|
15
|
+
plugins: [resolve(), commonjs(), terser()],
|
|
20
16
|
},
|
|
21
17
|
|
|
22
18
|
// ES module (for bundlers) build.
|
|
@@ -29,6 +25,6 @@ export default [
|
|
|
29
25
|
input: 'src/index.js',
|
|
30
26
|
external: ['ms'],
|
|
31
27
|
output: { file: pkg.main, format: 'es' },
|
|
32
|
-
plugins: [
|
|
28
|
+
plugins: [terser()],
|
|
33
29
|
},
|
|
34
30
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { forEach, isDefined
|
|
1
|
+
import { forEach, isDefined } from "../shared/utils";
|
|
2
2
|
import {
|
|
3
3
|
TRANSITION_DURATION_PROP,
|
|
4
4
|
TRANSITION_DELAY_PROP,
|
|
@@ -32,6 +32,220 @@ import {
|
|
|
32
32
|
|
|
33
33
|
const ANIMATE_TIMER_KEY = "$$animateCss";
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* @ngdoc service
|
|
37
|
+
* @name $animateCss
|
|
38
|
+
* @kind object
|
|
39
|
+
*
|
|
40
|
+
* @description
|
|
41
|
+
* The `$animateCss` service is a useful utility to trigger customized CSS-based transitions/keyframes
|
|
42
|
+
* from a JavaScript-based animation or directly from a directive. The purpose of `$animateCss` is NOT
|
|
43
|
+
* to side-step how `$animate` and ngAnimate work, but the goal is to allow pre-existing animations or
|
|
44
|
+
* directives to create more complex animations that can be purely driven using CSS code.
|
|
45
|
+
*
|
|
46
|
+
* Note that only browsers that support CSS transitions and/or keyframe animations are capable of
|
|
47
|
+
* rendering animations triggered via `$animateCss` (bad news for IE9 and lower).
|
|
48
|
+
*
|
|
49
|
+
* ## General Use
|
|
50
|
+
* Once again, `$animateCss` is designed to be used inside of a registered JavaScript animation that
|
|
51
|
+
* is powered by ngAnimate. It is possible to use `$animateCss` directly inside of a directive, however,
|
|
52
|
+
* any automatic control over cancelling animations and/or preventing animations from being run on
|
|
53
|
+
* child elements will not be handled by AngularJS. For this to work as expected, please use `$animate` to
|
|
54
|
+
* trigger the animation and then setup a JavaScript animation that injects `$animateCss` to trigger
|
|
55
|
+
* the CSS animation.
|
|
56
|
+
*
|
|
57
|
+
* The example below shows how we can create a folding animation on an element using `ng-if`:
|
|
58
|
+
*
|
|
59
|
+
* ```html
|
|
60
|
+
* <!-- notice the `fold-animation` CSS class -->
|
|
61
|
+
* <div ng-if="onOff" class="fold-animation">
|
|
62
|
+
* This element will go BOOM
|
|
63
|
+
* </div>
|
|
64
|
+
* <button ng-click="onOff=true">Fold In</button>
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* Now we create the **JavaScript animation** that will trigger the CSS transition:
|
|
68
|
+
*
|
|
69
|
+
* ```js
|
|
70
|
+
* ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {
|
|
71
|
+
* return {
|
|
72
|
+
* enter: function(element, doneFn) {
|
|
73
|
+
* let height = element[0].offsetHeight;
|
|
74
|
+
* return $animateCss(element, {
|
|
75
|
+
* from: { height:'0px' },
|
|
76
|
+
* to: { height:height + 'px' },
|
|
77
|
+
* duration: 1 // one second
|
|
78
|
+
* });
|
|
79
|
+
* }
|
|
80
|
+
* }
|
|
81
|
+
* }]);
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* ## More Advanced Uses
|
|
85
|
+
*
|
|
86
|
+
* `$animateCss` is the underlying code that ngAnimate uses to power **CSS-based animations** behind the scenes. Therefore CSS hooks
|
|
87
|
+
* like `.ng-EVENT`, `.ng-EVENT-active`, `.ng-EVENT-stagger` are all features that can be triggered using `$animateCss` via JavaScript code.
|
|
88
|
+
*
|
|
89
|
+
* This also means that just about any combination of adding classes, removing classes, setting styles, dynamically setting a keyframe animation,
|
|
90
|
+
* applying a hardcoded duration or delay value, changing the animation easing or applying a stagger animation are all options that work with
|
|
91
|
+
* `$animateCss`. The service itself is smart enough to figure out the combination of options and examine the element styling properties in order
|
|
92
|
+
* to provide a working animation that will run in CSS.
|
|
93
|
+
*
|
|
94
|
+
* The example below showcases a more advanced version of the `.fold-animation` from the example above:
|
|
95
|
+
*
|
|
96
|
+
* ```js
|
|
97
|
+
* ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {
|
|
98
|
+
* return {
|
|
99
|
+
* enter: function(element, doneFn) {
|
|
100
|
+
* let height = element[0].offsetHeight;
|
|
101
|
+
* return $animateCss(element, {
|
|
102
|
+
* addClass: 'red large-text pulse-twice',
|
|
103
|
+
* easing: 'ease-out',
|
|
104
|
+
* from: { height:'0px' },
|
|
105
|
+
* to: { height:height + 'px' },
|
|
106
|
+
* duration: 1 // one second
|
|
107
|
+
* });
|
|
108
|
+
* }
|
|
109
|
+
* }
|
|
110
|
+
* }]);
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* Since we're adding/removing CSS classes then the CSS transition will also pick those up:
|
|
114
|
+
*
|
|
115
|
+
* ```css
|
|
116
|
+
* /* since a hardcoded duration value of 1 was provided in the JavaScript animation code,
|
|
117
|
+
* the CSS classes below will be transitioned despite them being defined as regular CSS classes */
|
|
118
|
+
* .red { background:red; }
|
|
119
|
+
* .large-text { font-size:20px; }
|
|
120
|
+
*
|
|
121
|
+
* /* we can also use a keyframe animation and $animateCss will make it work alongside the transition */
|
|
122
|
+
* .pulse-twice {
|
|
123
|
+
* animation: 0.5s pulse linear 2;
|
|
124
|
+
* -webkit-animation: 0.5s pulse linear 2;
|
|
125
|
+
* }
|
|
126
|
+
*
|
|
127
|
+
* @keyframes pulse {
|
|
128
|
+
* from { transform: scale(0.5); }
|
|
129
|
+
* to { transform: scale(1.5); }
|
|
130
|
+
* }
|
|
131
|
+
*
|
|
132
|
+
* @-webkit-keyframes pulse {
|
|
133
|
+
* from { -webkit-transform: scale(0.5); }
|
|
134
|
+
* to { -webkit-transform: scale(1.5); }
|
|
135
|
+
* }
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* Given this complex combination of CSS classes, styles and options, `$animateCss` will figure everything out and make the animation happen.
|
|
139
|
+
*
|
|
140
|
+
* ## How the Options are handled
|
|
141
|
+
*
|
|
142
|
+
* `$animateCss` is very versatile and intelligent when it comes to figuring out what configurations to apply to the element to ensure the animation
|
|
143
|
+
* works with the options provided. Say for example we were adding a class that contained a keyframe value and we wanted to also animate some inline
|
|
144
|
+
* styles using the `from` and `to` properties.
|
|
145
|
+
*
|
|
146
|
+
* ```js
|
|
147
|
+
* let animator = $animateCss(element, {
|
|
148
|
+
* from: { background:'red' },
|
|
149
|
+
* to: { background:'blue' }
|
|
150
|
+
* });
|
|
151
|
+
* animator.start();
|
|
152
|
+
* ```
|
|
153
|
+
*
|
|
154
|
+
* ```css
|
|
155
|
+
* .rotating-animation {
|
|
156
|
+
* animation:0.5s rotate linear;
|
|
157
|
+
* -webkit-animation:0.5s rotate linear;
|
|
158
|
+
* }
|
|
159
|
+
*
|
|
160
|
+
* @keyframes rotate {
|
|
161
|
+
* from { transform: rotate(0deg); }
|
|
162
|
+
* to { transform: rotate(360deg); }
|
|
163
|
+
* }
|
|
164
|
+
*
|
|
165
|
+
* @-webkit-keyframes rotate {
|
|
166
|
+
* from { -webkit-transform: rotate(0deg); }
|
|
167
|
+
* to { -webkit-transform: rotate(360deg); }
|
|
168
|
+
* }
|
|
169
|
+
* ```
|
|
170
|
+
*
|
|
171
|
+
* The missing pieces here are that we do not have a transition set (within the CSS code nor within the `$animateCss` options) and the duration of the animation is
|
|
172
|
+
* going to be detected from what the keyframe styles on the CSS class are. In this event, `$animateCss` will automatically create an inline transition
|
|
173
|
+
* style matching the duration detected from the keyframe style (which is present in the CSS class that is being added) and then prepare both the transition
|
|
174
|
+
* and keyframe animations to run in parallel on the element. Then when the animation is underway the provided `from` and `to` CSS styles will be applied
|
|
175
|
+
* and spread across the transition and keyframe animation.
|
|
176
|
+
*
|
|
177
|
+
* ## What is returned
|
|
178
|
+
*
|
|
179
|
+
* `$animateCss` works in two stages: a preparation phase and an animation phase. Therefore when `$animateCss` is first called it will NOT actually
|
|
180
|
+
* start the animation. All that is going on here is that the element is being prepared for the animation (which means that the generated CSS classes are
|
|
181
|
+
* added and removed on the element). Once `$animateCss` is called it will return an object with the following properties:
|
|
182
|
+
*
|
|
183
|
+
* ```js
|
|
184
|
+
* let animator = $animateCss(element, { ... });
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
187
|
+
* Now what do the contents of our `animator` variable look like:
|
|
188
|
+
*
|
|
189
|
+
* ```js
|
|
190
|
+
* {
|
|
191
|
+
* // starts the animation
|
|
192
|
+
* start: Function,
|
|
193
|
+
*
|
|
194
|
+
* // ends (aborts) the animation
|
|
195
|
+
* end: Function
|
|
196
|
+
* }
|
|
197
|
+
* ```
|
|
198
|
+
*
|
|
199
|
+
* To actually start the animation we need to run `animation.start()` which will then return a promise that we can hook into to detect when the animation ends.
|
|
200
|
+
* If we choose not to run the animation then we MUST run `animation.end()` to perform a cleanup on the element (since some CSS classes and styles may have been
|
|
201
|
+
* applied to the element during the preparation phase). Note that all other properties such as duration, delay, transitions and keyframes are just properties
|
|
202
|
+
* and that changing them will not reconfigure the parameters of the animation.
|
|
203
|
+
*
|
|
204
|
+
* ### runner.done() vs runner.then()
|
|
205
|
+
* It is documented that `animation.start()` will return a promise object and this is true, however, there is also an additional method available on the
|
|
206
|
+
* runner called `.done(callbackFn)`. The done method works the same as `.finally(callbackFn)`, however, it does **not trigger a digest to occur**.
|
|
207
|
+
* Therefore, for performance reasons, it's always best to use `runner.done(callback)` instead of `runner.then()`, `runner.catch()` or `runner.finally()`
|
|
208
|
+
* unless you really need a digest to kick off afterwards.
|
|
209
|
+
*
|
|
210
|
+
* Keep in mind that, to make this easier, ngAnimate has tweaked the JS animations API to recognize when a runner instance is returned from $animateCss
|
|
211
|
+
* (so there is no need to call `runner.done(doneFn)` inside of your JavaScript animation code).
|
|
212
|
+
* Check the {@link ngAnimate.$animateCss#usage animation code above} to see how this works.
|
|
213
|
+
*
|
|
214
|
+
* @param {Element} element the element that will be animated
|
|
215
|
+
* @param {object} options the animation-related options that will be applied during the animation
|
|
216
|
+
*
|
|
217
|
+
* * `event` - The DOM event (e.g. enter, leave, move). When used, a generated CSS class of `ng-EVENT` and `ng-EVENT-active` will be applied
|
|
218
|
+
* to the element during the animation. Multiple events can be provided when spaces are used as a separator. (Note that this will not perform any DOM operation.)
|
|
219
|
+
* * `structural` - Indicates that the `ng-` prefix will be added to the event class. Setting to `false` or omitting will turn `ng-EVENT` and
|
|
220
|
+
* `ng-EVENT-active` in `EVENT` and `EVENT-active`. Unused if `event` is omitted.
|
|
221
|
+
* * `easing` - The CSS easing value that will be applied to the transition or keyframe animation (or both).
|
|
222
|
+
* * `transitionStyle` - The raw CSS transition style that will be used (e.g. `1s linear all`).
|
|
223
|
+
* * `keyframeStyle` - The raw CSS keyframe animation style that will be used (e.g. `1s my_animation linear`).
|
|
224
|
+
* * `from` - The starting CSS styles (a key/value object) that will be applied at the start of the animation.
|
|
225
|
+
* * `to` - The ending CSS styles (a key/value object) that will be applied across the animation via a CSS transition.
|
|
226
|
+
* * `addClass` - A space separated list of CSS classes that will be added to the element and spread across the animation.
|
|
227
|
+
* * `removeClass` - A space separated list of CSS classes that will be removed from the element and spread across the animation.
|
|
228
|
+
* * `duration` - A number value representing the total duration of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `0`
|
|
229
|
+
* is provided then the animation will be skipped entirely.
|
|
230
|
+
* * `delay` - A number value representing the total delay of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `true` is
|
|
231
|
+
* used then whatever delay value is detected from the CSS classes will be mirrored on the elements styles (e.g. by setting delay true then the style value
|
|
232
|
+
* of the element will be `transition-delay: DETECTED_VALUE`). Using `true` is useful when you want the CSS classes and inline styles to all share the same
|
|
233
|
+
* CSS delay value.
|
|
234
|
+
* * `stagger` - A numeric time value representing the delay between successively animated elements
|
|
235
|
+
* ({@link ngAnimate#css-staggering-animations Click here to learn how CSS-based staggering works in ngAnimate.})
|
|
236
|
+
* * `staggerIndex` - The numeric index representing the stagger item (e.g. a value of 5 is equal to the sixth item in the stagger; therefore when a
|
|
237
|
+
* `stagger` option value of `0.1` is used then there will be a stagger delay of `600ms`)
|
|
238
|
+
* * `applyClassesEarly` - Whether or not the classes being added or removed will be used when detecting the animation. This is set by `$animate` when enter/leave/move animations are fired to ensure that the CSS classes are resolved in time. (Note that this will prevent any transitions from occurring on the classes being added and removed.)
|
|
239
|
+
* * `cleanupStyles` - Whether or not the provided `from` and `to` styles will be removed once
|
|
240
|
+
* the animation is closed. This is useful for when the styles are used purely for the sake of
|
|
241
|
+
* the animation and do not have a lasting visual effect on the element (e.g. a collapse and open animation).
|
|
242
|
+
* By default this value is set to `false`.
|
|
243
|
+
*
|
|
244
|
+
* @return {object} an object with start and end methods and details about the animation.
|
|
245
|
+
*
|
|
246
|
+
* * `start` - The method to start the animation. This will return a `Promise` when called.
|
|
247
|
+
* * `end` - This method will cancel the animation and remove all applied CSS classes and styles.
|
|
248
|
+
*/
|
|
35
249
|
const ONE_SECOND = 1000;
|
|
36
250
|
|
|
37
251
|
const ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;
|
|
@@ -306,7 +520,7 @@ export const $AnimateCssProvider = [
|
|
|
306
520
|
}
|
|
307
521
|
|
|
308
522
|
const method =
|
|
309
|
-
options.event && isArray(options.event)
|
|
523
|
+
options.event && Array.isArray(options.event)
|
|
310
524
|
? options.event.join(" ")
|
|
311
525
|
: options.event;
|
|
312
526
|
|
|
@@ -440,7 +654,7 @@ export const $AnimateCssProvider = [
|
|
|
440
654
|
// that if there is no transition defined then nothing will happen and this will also allow
|
|
441
655
|
// other transitions to be stacked on top of each other without any chopping them out.
|
|
442
656
|
if (isFirst && !options.skipBlocking) {
|
|
443
|
-
blockTransitions(node, SAFE_FAST_FORWARD_DURATION_VALUE);
|
|
657
|
+
helpers.blockTransitions(node, SAFE_FAST_FORWARD_DURATION_VALUE);
|
|
444
658
|
}
|
|
445
659
|
|
|
446
660
|
let timings = computeTimings(
|
|
@@ -551,7 +765,7 @@ export const $AnimateCssProvider = [
|
|
|
551
765
|
if (flags.blockTransition || flags.blockKeyframeAnimation) {
|
|
552
766
|
applyBlocking(maxDuration);
|
|
553
767
|
} else if (!options.skipBlocking) {
|
|
554
|
-
blockTransitions(node, false);
|
|
768
|
+
helpers.blockTransitions(node, false);
|
|
555
769
|
}
|
|
556
770
|
|
|
557
771
|
// TODO(matsko): for 1.5 change this code to have an animator object for better debugging
|
|
@@ -609,7 +823,7 @@ export const $AnimateCssProvider = [
|
|
|
609
823
|
}
|
|
610
824
|
|
|
611
825
|
blockKeyframeAnimations(node, false);
|
|
612
|
-
blockTransitions(node, false);
|
|
826
|
+
helpers.blockTransitions(node, false);
|
|
613
827
|
|
|
614
828
|
forEach(temporaryStyles, (entry) => {
|
|
615
829
|
// There is only one way to remove inline style properties entirely from elements.
|
|
@@ -660,7 +874,7 @@ export const $AnimateCssProvider = [
|
|
|
660
874
|
|
|
661
875
|
function applyBlocking(duration) {
|
|
662
876
|
if (flags.blockTransition) {
|
|
663
|
-
blockTransitions(node, duration);
|
|
877
|
+
helpers.blockTransitions(node, duration);
|
|
664
878
|
}
|
|
665
879
|
|
|
666
880
|
if (flags.blockKeyframeAnimation) {
|
|
@@ -922,12 +1136,3 @@ export const $AnimateCssProvider = [
|
|
|
922
1136
|
];
|
|
923
1137
|
},
|
|
924
1138
|
];
|
|
925
|
-
|
|
926
|
-
function blockTransitions(node, duration) {
|
|
927
|
-
// we use a negative delay value since it performs blocking
|
|
928
|
-
// yet it doesn't kill any existing transitions running on the
|
|
929
|
-
// same element which makes this safe for class-based animations
|
|
930
|
-
const value = duration ? `-${duration}s` : "";
|
|
931
|
-
applyInlineStyle(node, [TRANSITION_DELAY_PROP, value]);
|
|
932
|
-
return [TRANSITION_DELAY_PROP, value];
|
|
933
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { forEach,
|
|
1
|
+
import { forEach, isObject, isFunction } from "../shared/utils";
|
|
2
2
|
import {
|
|
3
3
|
applyAnimationClassesFactory,
|
|
4
4
|
applyAnimationStyles,
|
|
@@ -347,7 +347,7 @@ export const $$AnimateJsProvider = [
|
|
|
347
347
|
};
|
|
348
348
|
|
|
349
349
|
function lookupAnimations(classes) {
|
|
350
|
-
classes = isArray(classes) ? classes : classes.split(" ");
|
|
350
|
+
classes = Array.isArray(classes) ? classes : classes.split(" ");
|
|
351
351
|
const matches = [];
|
|
352
352
|
const flagMap = {};
|
|
353
353
|
for (let i = 0; i < classes.length; i++) {
|
|
@@ -3,12 +3,11 @@ import {
|
|
|
3
3
|
isUndefined,
|
|
4
4
|
forEach,
|
|
5
5
|
isObject,
|
|
6
|
-
isArray,
|
|
7
6
|
isString,
|
|
8
7
|
isElement,
|
|
9
8
|
isDefined,
|
|
10
9
|
extend,
|
|
11
|
-
} from "../
|
|
10
|
+
} from "../shared/utils";
|
|
12
11
|
import {
|
|
13
12
|
NG_ANIMATE_CHILDREN_DATA,
|
|
14
13
|
applyAnimationClassesFactory,
|
|
@@ -413,7 +412,7 @@ export const $$AnimateQueueProvider = [
|
|
|
413
412
|
// this is used to trigger callbacks in postDigest mode
|
|
414
413
|
const runInNextPostDigestOrNow = postDigestTaskFactory();
|
|
415
414
|
|
|
416
|
-
if (isArray(options.addClass)) {
|
|
415
|
+
if (Array.isArray(options.addClass)) {
|
|
417
416
|
options.addClass = options.addClass.join(" ");
|
|
418
417
|
}
|
|
419
418
|
|
|
@@ -421,7 +420,7 @@ export const $$AnimateQueueProvider = [
|
|
|
421
420
|
options.addClass = null;
|
|
422
421
|
}
|
|
423
422
|
|
|
424
|
-
if (isArray(options.removeClass)) {
|
|
423
|
+
if (Array.isArray(options.removeClass)) {
|
|
425
424
|
options.removeClass = options.removeClass.join(" ");
|
|
426
425
|
}
|
|
427
426
|
|