@angular-wave/angular.ts 0.1.2 → 0.1.4
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/.github/workflows/lint.yml +19 -0
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +0 -77
- package/src/animations/animate-css.html +1 -7
- package/src/animations/animate-css.js +4 -9
- package/src/core/compile/compile.js +1 -1
- package/src/core/location/location.js +3 -5
- package/src/core/task-tracker-factory.js +94 -78
- package/src/loader.js +34 -50
- package/src/public.js +0 -1
- package/src/router/common/coreservices.js +1 -2
- package/src/router/params/param-type.js +3 -8
- package/src/router/params/param-types.js +3 -10
- package/src/router/resolve/resolvable.js +7 -15
- package/src/router/resolve/resolve-context.js +3 -5
- package/src/router/state/state-service.js +1 -0
- package/src/router/transition/transition.js +2 -2
- package/src/router/url/url-matcher.js +4 -4
- package/src/services/anchor-scroll.js +9 -7
- package/src/services/browser.js +146 -194
- package/src/services/http/http.spec.js +1 -0
- package/src/services/http-backend/http-backend.js +3 -4
- package/src/shared/common.js +33 -36
- package/src/shared/hof.js +0 -14
- package/src/shared/predicates.js +11 -12
- package/typedoc/assets/navigation.js +1 -1
- package/typedoc/assets/search.js +1 -1
- package/typedoc/classes/animations_animate.AnimateProvider.html +5 -5
- package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +2 -2
- package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +2 -2
- package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +2 -2
- package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +2 -2
- package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +2 -2
- package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateRunner.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +2 -2
- package/typedoc/classes/animations_animation.__AnimationProvider.html +2 -2
- package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +3 -3
- package/typedoc/classes/core_compile_attributes.Attributes.html +8 -8
- package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +4 -4
- package/typedoc/classes/core_di_internal_injector.InjectorService.html +6 -6
- package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +7 -7
- package/typedoc/classes/core_di_ng_module.NgModule.html +4 -4
- package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +2 -2
- package/typedoc/classes/core_filter_filter._FilterProvider.html +2 -2
- package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +4 -4
- package/typedoc/classes/core_interval_interval._IntervalProvider.html +2 -2
- package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +2 -2
- package/typedoc/classes/core_location_location.Location.html +20 -20
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +21 -21
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +21 -21
- package/typedoc/classes/core_location_location._LocationProvider.html +4 -4
- package/typedoc/classes/core_parser_ast.AST.html +28 -28
- package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +26 -26
- package/typedoc/classes/core_parser_lexer.Lexer.html +16 -16
- package/typedoc/classes/core_parser_parse._ParseProvider.html +3 -3
- package/typedoc/classes/core_parser_parser.Parser.html +4 -4
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +9 -9
- package/typedoc/classes/core_q_q._QProvider.html +3 -3
- package/typedoc/classes/core_q_q.__QProvider.html +2 -2
- package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +4 -4
- package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +4 -4
- package/typedoc/classes/core_sce_sce._SceProvider.html +3 -3
- package/typedoc/classes/core_scope_scope.Scope.html +18 -18
- package/typedoc/classes/core_scope_scope._RootScopeProvider.html +2 -2
- package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +5 -5
- package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +2 -2
- package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +2 -2
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +2 -2
- package/typedoc/classes/directive_form_form.FormController.html +21 -21
- package/typedoc/classes/directive_model_model.NgModelController.html +32 -32
- package/typedoc/classes/loader.Angular.html +5 -5
- package/typedoc/classes/router_common_glob.Glob.html +4 -4
- package/typedoc/classes/router_common_queue.Queue.html +2 -2
- package/typedoc/classes/router_common_trace.Trace.html +17 -17
- package/typedoc/classes/router_globals.UIRouterGlobals.html +3 -3
- package/typedoc/classes/router_params_param.Param.html +6 -6
- package/typedoc/classes/router_params_param_factory.ParamFactory.html +2 -2
- package/typedoc/classes/router_params_param_type.ParamType.html +4 -4
- package/typedoc/classes/router_params_param_types.ParamTypes.html +3 -3
- package/typedoc/classes/router_params_state_params.StateParams.html +3 -3
- package/typedoc/classes/router_path_path_node.PathNode.html +7 -7
- package/typedoc/classes/router_path_path_utils.PathUtils.html +10 -10
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -4
- package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +9 -9
- package/typedoc/classes/router_state_state_builder.StateBuilder.html +3 -3
- package/typedoc/classes/router_state_state_matcher.StateMatcher.html +2 -2
- package/typedoc/classes/router_state_state_object.StateObject.html +9 -9
- package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +2 -2
- package/typedoc/classes/router_state_state_registry.StateRegistry.html +8 -8
- package/typedoc/classes/router_state_state_service.StateService.html +17 -17
- package/typedoc/classes/router_state_target_state.TargetState.html +15 -15
- package/typedoc/classes/router_state_views.Ng1ViewConfig.html +4 -4
- package/typedoc/classes/router_template_factory.TemplateFactory.html +9 -9
- package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +4 -4
- package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +6 -6
- package/typedoc/classes/router_transition_reject_factory.Rejection.html +9 -9
- package/typedoc/classes/router_transition_transition.Transition.html +31 -31
- package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +3 -3
- package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +10 -10
- package/typedoc/classes/router_transition_transition_service.TransitionService.html +8 -8
- package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +6 -6
- package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +12 -12
- package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +3 -3
- package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +5 -5
- package/typedoc/classes/router_url_url_rules.UrlRules.html +9 -9
- package/typedoc/classes/router_url_url_service.UrlService.html +20 -20
- package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +2 -2
- package/typedoc/classes/router_view_view.ViewService.html +7 -7
- package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +2 -2
- package/typedoc/classes/services_browser.Browser.html +10 -10
- package/typedoc/classes/services_browser.BrowserProvider.html +2 -2
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +2 -2
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +2 -2
- package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpProvider.html +3 -3
- package/typedoc/classes/services_log._LogProvider.html +3 -3
- package/typedoc/classes/services_template_request.TemplateRequestProvider.html +4 -4
- package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +16 -16
- package/typedoc/enums/core_parser_ast_type.ASTType.html +2 -2
- package/typedoc/enums/core_scope_scope.ScopePhase.html +2 -2
- package/typedoc/enums/router_transition_reject_factory.RejectType.html +6 -6
- package/typedoc/functions/animations_animate.domInsert.html +1 -1
- package/typedoc/functions/animations_animate_cache.animateCache.html +6 -6
- package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -2
- package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -2
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -1
- package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -1
- package/typedoc/functions/animations_shared.assertArg.html +1 -1
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -1
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -1
- package/typedoc/functions/animations_shared.concatWithSpace.html +1 -1
- package/typedoc/functions/animations_shared.extractElementNode.html +1 -1
- package/typedoc/functions/animations_shared.getDomNode.html +1 -1
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -1
- package/typedoc/functions/animations_shared.mergeClasses.html +1 -1
- package/typedoc/functions/animations_shared.ngMinErr.html +1 -1
- package/typedoc/functions/animations_shared.packageStyles.html +1 -1
- package/typedoc/functions/animations_shared.pendClasses.html +1 -1
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -1
- package/typedoc/functions/animations_shared.removeFromArray.html +1 -1
- package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -1
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -1
- package/typedoc/functions/core_controller_controller.identifierForController.html +1 -1
- package/typedoc/functions/core_di_injector.annotate.html +1 -1
- package/typedoc/functions/core_di_injector.createInjector.html +1 -1
- package/typedoc/functions/core_exception_handler.errorHandler-1.html +1 -1
- package/typedoc/functions/core_location_location.serverBase.html +1 -1
- package/typedoc/functions/core_location_location.stripBaseUrl.html +1 -1
- package/typedoc/functions/core_location_location.stripFile.html +1 -1
- package/typedoc/functions/core_location_location.stripHash.html +1 -1
- package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -1
- package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -1
- package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -1
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -1
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -1
- package/typedoc/functions/core_scope_scope.countChildScopes.html +1 -1
- package/typedoc/functions/core_scope_scope.countWatchers.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +1 -1
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -1
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -2
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -1
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -1
- package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -1
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -1
- package/typedoc/functions/directive_events_events.createEventDirective.html +1 -1
- package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -1
- package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -1
- package/typedoc/functions/directive_form_form.setupValidity.html +1 -1
- package/typedoc/functions/directive_if_if.ngIfDirective.html +2 -2
- package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -1
- package/typedoc/functions/directive_input_input.badInputChecker.html +1 -1
- package/typedoc/functions/directive_input_input.countDecimals.html +1 -1
- package/typedoc/functions/directive_input_input.createDateInputType.html +1 -1
- package/typedoc/functions/directive_input_input.createDateParser.html +1 -1
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -1
- package/typedoc/functions/directive_input_input.inputDirective.html +2 -2
- package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -1
- package/typedoc/functions/directive_input_input.isValidForStep.html +1 -1
- package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -1
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -1
- package/typedoc/functions/directive_input_input.numberInputType.html +1 -1
- package/typedoc/functions/directive_input_input.rangeInputType.html +1 -1
- package/typedoc/functions/directive_input_input.weekParser.html +1 -1
- package/typedoc/functions/directive_list_list.ngListDirective.html +1 -1
- package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -2
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
- package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -1
- package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -1
- package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -1
- package/typedoc/functions/directive_select_select.optionDirective.html +2 -2
- package/typedoc/functions/directive_select_select.selectDirective.html +1 -1
- package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -2
- package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -2
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -1
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -1
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -1
- package/typedoc/functions/filters_filter.filterFilter.html +1 -1
- package/typedoc/functions/filters_filters.formatNumber.html +1 -1
- package/typedoc/functions/filters_filters.jsonFilter.html +1 -1
- package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -1
- package/typedoc/functions/filters_order_by.orderByFilter.html +2 -2
- package/typedoc/functions/public.publishExternalAPI.html +1 -1
- package/typedoc/functions/router.initRouter.html +1 -1
- package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -2
- package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -2
- package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -2
- package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -2
- package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -1
- package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -1
- package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -1
- package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -1
- package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +1 -1
- package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -1
- package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -1
- package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -1
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -1
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -1
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -1
- package/typedoc/functions/router_services.runBlock.html +2 -2
- package/typedoc/functions/router_services.watchDigests.html +2 -2
- package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +2 -2
- package/typedoc/functions/router_state_filters._IsStateFilter.html +2 -2
- package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +1 -1
- package/typedoc/functions/router_state_state_registry.getLocals.html +1 -1
- package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -1
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +1 -1
- package/typedoc/functions/router_transition_hook_registry.makeEvent.html +1 -1
- package/typedoc/functions/router_transition_hook_registry.matchState.html +1 -1
- package/typedoc/functions/services_browser.trimEmptyHash.html +1 -1
- package/typedoc/functions/services_cookie_reader.getCookies.html +1 -1
- package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -1
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -1
- package/typedoc/functions/shared_common._removeFrom.html +1 -1
- package/typedoc/functions/shared_common.allTrueR.html +1 -1
- package/typedoc/functions/shared_common.ancestors.html +1 -1
- package/typedoc/functions/shared_common.anyTrueR.html +1 -1
- package/typedoc/functions/shared_common.applyPairs.html +1 -1
- package/typedoc/functions/shared_common.arrayTuples.html +1 -1
- package/typedoc/functions/shared_common.assertFn.html +1 -1
- package/typedoc/functions/shared_common.assertMap.html +1 -1
- package/typedoc/functions/shared_common.assertPredicate.html +1 -1
- package/typedoc/functions/shared_common.copy.html +1 -1
- package/typedoc/functions/shared_common.createProxyFunctions.html +1 -1
- package/typedoc/functions/shared_common.defaults.html +1 -1
- package/typedoc/functions/shared_common.deregAll.html +1 -1
- package/typedoc/functions/shared_common.equals.html +1 -1
- package/typedoc/functions/shared_common.filter.html +1 -1
- package/typedoc/functions/shared_common.find.html +1 -1
- package/typedoc/functions/shared_common.flatten.html +1 -1
- package/typedoc/functions/shared_common.flattenR.html +1 -1
- package/typedoc/functions/shared_common.forEach.html +1 -2
- package/typedoc/functions/shared_common.inherit.html +1 -1
- package/typedoc/functions/shared_common.map.html +1 -1
- package/typedoc/functions/shared_common.mapObj.html +1 -1
- package/typedoc/functions/shared_common.mergeR.html +1 -1
- package/typedoc/functions/shared_common.omit.html +1 -1
- package/typedoc/functions/shared_common.pairs.html +1 -1
- package/typedoc/functions/shared_common.pick.html +1 -1
- package/typedoc/functions/shared_common.pluck.html +1 -1
- package/typedoc/functions/shared_common.pushR.html +1 -1
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -1
- package/typedoc/functions/shared_common.silentRejection.html +1 -1
- package/typedoc/functions/shared_common.tail.html +1 -1
- package/typedoc/functions/shared_common.uniqR.html +1 -1
- package/typedoc/functions/shared_common.unnest.html +1 -1
- package/typedoc/functions/shared_common.unnestR.html +1 -1
- package/typedoc/functions/shared_hof.all.html +1 -1
- package/typedoc/functions/shared_hof.and.html +1 -1
- package/typedoc/functions/shared_hof.any.html +1 -1
- package/typedoc/functions/shared_hof.compose.html +1 -1
- package/typedoc/functions/shared_hof.curry.html +1 -1
- package/typedoc/functions/shared_hof.eq.html +1 -1
- package/typedoc/functions/shared_hof.invoke.html +1 -1
- package/typedoc/functions/shared_hof.is.html +1 -1
- package/typedoc/functions/shared_hof.or.html +1 -1
- package/typedoc/functions/shared_hof.parse.html +1 -1
- package/typedoc/functions/shared_hof.pattern.html +1 -1
- package/typedoc/functions/shared_hof.pipe.html +1 -1
- package/typedoc/functions/shared_hof.prop.html +1 -1
- package/typedoc/functions/shared_hof.val.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +1 -1
- package/typedoc/functions/shared_predicates.isInjectable.html +1 -1
- package/typedoc/functions/shared_predicates.isNull.html +1 -1
- package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -1
- package/typedoc/functions/shared_predicates.isPromise.html +2 -2
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +1 -1
- package/typedoc/functions/shared_strings.fnToString.html +1 -1
- package/typedoc/functions/shared_strings.functionToString.html +1 -1
- package/typedoc/functions/shared_strings.joinNeighborsR.html +1 -1
- package/typedoc/functions/shared_strings.kebobString.html +1 -1
- package/typedoc/functions/shared_strings.maxLength.html +1 -1
- package/typedoc/functions/shared_strings.padString.html +1 -1
- package/typedoc/functions/shared_strings.splitEqual.html +1 -1
- package/typedoc/functions/shared_strings.splitHash.html +1 -1
- package/typedoc/functions/shared_strings.splitOnDelim.html +1 -1
- package/typedoc/functions/shared_strings.splitQuery.html +1 -1
- package/typedoc/functions/shared_strings.stringify.html +1 -1
- package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -1
- package/typedoc/functions/shared_strings.trimHashVal.html +1 -1
- package/typedoc/functions/shared_utils.addDateMinutes.html +1 -1
- package/typedoc/functions/shared_utils.arrayRemove.html +1 -1
- package/typedoc/functions/shared_utils.assert.html +1 -1
- package/typedoc/functions/shared_utils.assertArg.html +1 -1
- package/typedoc/functions/shared_utils.assertArgFn.html +1 -1
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +1 -1
- package/typedoc/functions/shared_utils.baseExtend.html +1 -1
- package/typedoc/functions/shared_utils.bind.html +1 -1
- package/typedoc/functions/shared_utils.concat.html +1 -1
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -1
- package/typedoc/functions/shared_utils.csp.html +1 -1
- package/typedoc/functions/shared_utils.directiveNormalize.html +1 -1
- package/typedoc/functions/shared_utils.encodeUriQuery.html +1 -1
- package/typedoc/functions/shared_utils.encodeUriSegment.html +1 -1
- package/typedoc/functions/shared_utils.equals.html +1 -1
- package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -1
- package/typedoc/functions/shared_utils.extend.html +1 -1
- package/typedoc/functions/shared_utils.forEach.html +1 -1
- package/typedoc/functions/shared_utils.forEachSorted.html +1 -1
- package/typedoc/functions/shared_utils.fromJson.html +1 -1
- package/typedoc/functions/shared_utils.getNgAttribute.html +1 -1
- package/typedoc/functions/shared_utils.getNodeName.html +1 -1
- package/typedoc/functions/shared_utils.getter.html +1 -1
- package/typedoc/functions/shared_utils.hasAnimate.html +1 -1
- package/typedoc/functions/shared_utils.hasCustomToString.html +1 -1
- package/typedoc/functions/shared_utils.hashKey.html +1 -1
- package/typedoc/functions/shared_utils.includes.html +1 -1
- package/typedoc/functions/shared_utils.inherit.html +1 -1
- package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -1
- package/typedoc/functions/shared_utils.isArrayLike.html +1 -1
- package/typedoc/functions/shared_utils.isBlankObject.html +1 -1
- package/typedoc/functions/shared_utils.isBlob.html +1 -1
- package/typedoc/functions/shared_utils.isBoolean.html +1 -1
- package/typedoc/functions/shared_utils.isDate.html +1 -1
- package/typedoc/functions/shared_utils.isDefined.html +1 -1
- package/typedoc/functions/shared_utils.isElement.html +1 -1
- package/typedoc/functions/shared_utils.isError.html +1 -1
- package/typedoc/functions/shared_utils.isFile.html +1 -1
- package/typedoc/functions/shared_utils.isFormData.html +1 -1
- package/typedoc/functions/shared_utils.isFunction.html +1 -1
- package/typedoc/functions/shared_utils.isNumber.html +1 -1
- package/typedoc/functions/shared_utils.isNumberNaN.html +1 -1
- package/typedoc/functions/shared_utils.isObject.html +1 -1
- package/typedoc/functions/shared_utils.isPromiseLike.html +1 -1
- package/typedoc/functions/shared_utils.isRegExp.html +1 -1
- package/typedoc/functions/shared_utils.isScope.html +1 -1
- package/typedoc/functions/shared_utils.isString.html +1 -1
- package/typedoc/functions/shared_utils.isTypedArray.html +1 -1
- package/typedoc/functions/shared_utils.isUndefined.html +1 -1
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -1
- package/typedoc/functions/shared_utils.isWindow.html +1 -1
- package/typedoc/functions/shared_utils.lowercase.html +1 -1
- package/typedoc/functions/shared_utils.merge.html +1 -1
- package/typedoc/functions/shared_utils.mergeClasses.html +1 -1
- package/typedoc/functions/shared_utils.minErr.html +1 -1
- package/typedoc/functions/shared_utils.nextUid.html +1 -1
- package/typedoc/functions/shared_utils.parseKeyValue.html +1 -1
- package/typedoc/functions/shared_utils.reverseParams.html +1 -1
- package/typedoc/functions/shared_utils.setHashKey.html +1 -1
- package/typedoc/functions/shared_utils.shallowCopy.html +1 -1
- package/typedoc/functions/shared_utils.simpleCompare.html +1 -1
- package/typedoc/functions/shared_utils.sliceArgs.html +1 -1
- package/typedoc/functions/shared_utils.snakeCase.html +1 -1
- package/typedoc/functions/shared_utils.stringify.html +1 -1
- package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -1
- package/typedoc/functions/shared_utils.toDebugString.html +1 -1
- package/typedoc/functions/shared_utils.toInt.html +1 -1
- package/typedoc/functions/shared_utils.toJson.html +1 -1
- package/typedoc/functions/shared_utils.toKeyValue.html +1 -1
- package/typedoc/functions/shared_utils.trim.html +1 -1
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +1 -1
- package/typedoc/functions/shared_utils.uppercase.html +1 -1
- package/typedoc/functions/shared_utils.valueFn.html +1 -1
- package/typedoc/index.html +3 -8
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +5 -5
- package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +2 -2
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +2 -2
- package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -2
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +2 -2
- package/typedoc/interfaces/core_location_location.Html5Mode.html +2 -2
- package/typedoc/interfaces/core_parser_ast.ASTNode.html +23 -23
- package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +3 -3
- package/typedoc/interfaces/core_parser_lexer.Token.html +7 -7
- package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +5 -5
- package/typedoc/interfaces/core_parser_parser.ParsedAST.html +3 -3
- package/typedoc/interfaces/core_q_q.Deferred.html +5 -5
- package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +2 -2
- package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +5 -5
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +2 -2
- package/typedoc/interfaces/router_template_factory.BindingTuple.html +2 -2
- package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -2
- package/typedoc/interfaces/services_log.LogService.html +6 -6
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +3 -3
- package/typedoc/interfaces/types.Annotated.html +2 -2
- package/typedoc/interfaces/types.ChangesObject.html +4 -4
- package/typedoc/interfaces/types.Controller.html +7 -7
- package/typedoc/interfaces/types.Directive.html +18 -18
- package/typedoc/interfaces/types.DirectivePrePost.html +3 -3
- package/typedoc/interfaces/types.FormController.html +20 -20
- package/typedoc/interfaces/types.Module.html +15 -15
- package/typedoc/interfaces/types.NgModelController.html +30 -30
- package/typedoc/interfaces/types.NgModelOptions.html +8 -8
- package/typedoc/interfaces/types.OnChangesObject.html +2 -2
- package/typedoc/interfaces/types.ServiceProviderClass.html +2 -2
- package/typedoc/interfaces/types.TranscludeFunctionObject.html +2 -2
- package/typedoc/modules/animations_animate.html +1 -1
- package/typedoc/modules/animations_animate_cache.html +1 -1
- package/typedoc/modules/animations_animate_children_directive.html +1 -1
- package/typedoc/modules/animations_animate_css.html +1 -1
- package/typedoc/modules/animations_animate_css_driver.html +1 -1
- package/typedoc/modules/animations_animate_js.html +1 -1
- package/typedoc/modules/animations_animate_js_driver.html +1 -1
- package/typedoc/modules/animations_animate_queue.html +1 -1
- package/typedoc/modules/animations_animate_runner.html +1 -1
- package/typedoc/modules/animations_animate_swap.html +1 -1
- package/typedoc/modules/animations_animation.html +1 -1
- package/typedoc/modules/animations_raf_scheduler.html +1 -1
- package/typedoc/modules/animations_shared.html +1 -1
- package/typedoc/modules/core_cache_cache.html +1 -1
- package/typedoc/modules/core_compile_attributes.html +1 -1
- package/typedoc/modules/core_compile_compile.html +1 -1
- package/typedoc/modules/core_controller_controller.html +1 -1
- package/typedoc/modules/core_di_injector.html +1 -1
- package/typedoc/modules/core_di_internal_injector.html +1 -1
- package/typedoc/modules/core_di_ng_module.html +1 -1
- package/typedoc/modules/core_exception_handler.html +1 -1
- package/typedoc/modules/core_filter_filter.html +1 -1
- package/typedoc/modules/core_interpolate_interpolate.html +1 -1
- package/typedoc/modules/core_interval_interval.html +1 -1
- package/typedoc/modules/core_interval_interval_factory.html +1 -1
- package/typedoc/modules/core_location_location.html +1 -1
- package/typedoc/modules/core_parser_ast.html +1 -1
- package/typedoc/modules/core_parser_ast_type.html +1 -1
- package/typedoc/modules/core_parser_interpreter.html +1 -1
- package/typedoc/modules/core_parser_lexer.html +1 -1
- package/typedoc/modules/core_parser_parse.html +1 -1
- package/typedoc/modules/core_parser_parser.html +1 -1
- package/typedoc/modules/core_pubsub_pubsub.html +1 -1
- package/typedoc/modules/core_q_q.html +1 -1
- package/typedoc/modules/core_sanitize_sanitize_uri.html +1 -1
- package/typedoc/modules/core_sce_sce.html +1 -1
- package/typedoc/modules/core_scope_scope.html +1 -1
- package/typedoc/modules/core_task_tracker_factory.html +1 -1
- package/typedoc/modules/core_timeout_timeout.html +1 -1
- package/typedoc/modules/core_url_utils_url_utils.html +1 -1
- package/typedoc/modules/directive_aria_aria.html +1 -1
- package/typedoc/modules/directive_attrs_attrs.html +1 -1
- package/typedoc/modules/directive_bind_bind.html +1 -1
- package/typedoc/modules/directive_change_change.html +1 -1
- package/typedoc/modules/directive_class_class.html +1 -1
- package/typedoc/modules/directive_cloak_cloak.html +1 -1
- package/typedoc/modules/directive_controller_controller.html +1 -1
- package/typedoc/modules/directive_events_events.html +1 -1
- package/typedoc/modules/directive_form_form.html +1 -1
- package/typedoc/modules/directive_if_if.html +1 -1
- package/typedoc/modules/directive_include_include.html +1 -1
- package/typedoc/modules/directive_init_init.html +1 -1
- package/typedoc/modules/directive_input_input.html +1 -1
- package/typedoc/modules/directive_list_list.html +1 -1
- package/typedoc/modules/directive_messages_messages.html +1 -1
- package/typedoc/modules/directive_model_model.html +1 -1
- package/typedoc/modules/directive_model_options_model_options.html +1 -1
- package/typedoc/modules/directive_non_bindable_non_bindable.html +1 -1
- package/typedoc/modules/directive_options_options.html +1 -1
- package/typedoc/modules/directive_ref_ref.html +1 -1
- package/typedoc/modules/directive_repeat_repeat.html +1 -1
- package/typedoc/modules/directive_script_script.html +1 -1
- package/typedoc/modules/directive_select_select.html +1 -1
- package/typedoc/modules/directive_show_hide_show_hide.html +1 -1
- package/typedoc/modules/directive_style_style.html +1 -1
- package/typedoc/modules/directive_switch_switch.html +1 -1
- package/typedoc/modules/directive_transclude_transclude.html +1 -1
- package/typedoc/modules/directive_validators_validators.html +1 -1
- package/typedoc/modules/filters_filter.html +1 -1
- package/typedoc/modules/filters_filters.html +1 -1
- package/typedoc/modules/filters_limit_to.html +1 -1
- package/typedoc/modules/filters_order_by.html +1 -1
- package/typedoc/modules/index.html +1 -1
- package/typedoc/modules/loader.html +1 -1
- package/typedoc/modules/public.html +1 -1
- package/typedoc/modules/router.html +1 -1
- package/typedoc/modules/router_common_coreservices.html +1 -1
- package/typedoc/modules/router_common_glob.html +1 -1
- package/typedoc/modules/router_common_queue.html +1 -1
- package/typedoc/modules/router_common_trace.html +1 -1
- package/typedoc/modules/router_directives_state_directives.html +1 -1
- package/typedoc/modules/router_directives_view_directive.html +1 -1
- package/typedoc/modules/router_globals.html +1 -1
- package/typedoc/modules/router_hooks_core_resolvables.html +1 -1
- package/typedoc/modules/router_hooks_ignored_transition.html +1 -1
- package/typedoc/modules/router_hooks_invalid_transition.html +1 -1
- package/typedoc/modules/router_hooks_lazy_load.html +1 -1
- package/typedoc/modules/router_hooks_on_enter_exit_retain.html +1 -1
- package/typedoc/modules/router_hooks_redirect_to.html +1 -1
- package/typedoc/modules/router_hooks_resolve.html +1 -1
- package/typedoc/modules/router_hooks_update_globals.html +1 -1
- package/typedoc/modules/router_hooks_url.html +1 -1
- package/typedoc/modules/router_hooks_views.html +1 -1
- package/typedoc/modules/router_params_param.html +1 -1
- package/typedoc/modules/router_params_param_factory.html +1 -1
- package/typedoc/modules/router_params_param_type.html +1 -1
- package/typedoc/modules/router_params_param_types.html +1 -1
- package/typedoc/modules/router_params_state_params.html +1 -1
- package/typedoc/modules/router_path_path_node.html +1 -1
- package/typedoc/modules/router_path_path_utils.html +1 -1
- package/typedoc/modules/router_resolve_resolvable.html +1 -1
- package/typedoc/modules/router_resolve_resolve_context.html +1 -1
- package/typedoc/modules/router_services.html +1 -1
- package/typedoc/modules/router_state_filters.html +1 -1
- package/typedoc/modules/router_state_state_builder.html +1 -1
- package/typedoc/modules/router_state_state_matcher.html +1 -1
- package/typedoc/modules/router_state_state_object.html +1 -1
- package/typedoc/modules/router_state_state_queue_manager.html +1 -1
- package/typedoc/modules/router_state_state_registry.html +1 -1
- package/typedoc/modules/router_state_state_service.html +1 -1
- package/typedoc/modules/router_state_target_state.html +1 -1
- package/typedoc/modules/router_state_views.html +1 -1
- package/typedoc/modules/router_template_factory.html +1 -1
- package/typedoc/modules/router_transition_hook_builder.html +1 -1
- package/typedoc/modules/router_transition_hook_registry.html +1 -1
- package/typedoc/modules/router_transition_interface.html +1 -1
- package/typedoc/modules/router_transition_reject_factory.html +1 -1
- package/typedoc/modules/router_transition_transition.html +1 -1
- package/typedoc/modules/router_transition_transition_event_type.html +1 -1
- package/typedoc/modules/router_transition_transition_hook.html +1 -1
- package/typedoc/modules/router_transition_transition_service.html +1 -1
- package/typedoc/modules/router_url_url_config.html +1 -1
- package/typedoc/modules/router_url_url_matcher.html +1 -1
- package/typedoc/modules/router_url_url_rule.html +1 -1
- package/typedoc/modules/router_url_url_rules.html +1 -1
- package/typedoc/modules/router_url_url_service.html +1 -1
- package/typedoc/modules/router_view_scroll.html +1 -1
- package/typedoc/modules/router_view_view.html +1 -1
- package/typedoc/modules/services_anchor_scroll.html +1 -1
- package/typedoc/modules/services_browser.html +1 -1
- package/typedoc/modules/services_cache_factory.html +1 -1
- package/typedoc/modules/services_cookie_reader.html +1 -1
- package/typedoc/modules/services_http_backend_http_backend.html +1 -1
- package/typedoc/modules/services_http_http.html +1 -1
- package/typedoc/modules/services_log.html +1 -1
- package/typedoc/modules/services_template_request.html +1 -1
- package/typedoc/modules/shared_common.html +1 -3
- package/typedoc/modules/shared_constants.html +1 -1
- package/typedoc/modules/shared_hof.html +1 -1
- package/typedoc/modules/shared_jqlite_jqlite.html +1 -1
- package/typedoc/modules/shared_predicates.html +1 -4
- package/typedoc/modules/shared_strings.html +1 -1
- package/typedoc/modules/shared_utils.html +1 -1
- package/typedoc/modules/types.html +1 -1
- package/typedoc/types/animations_animate.AnimationMethod.html +1 -1
- package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -1
- package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -1
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -1
- package/typedoc/types/core_exception_handler.ErrorHandler.html +1 -1
- package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -1
- package/typedoc/types/core_interval_interval.IntervalId.html +1 -1
- package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -1
- package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -1
- package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -1
- package/typedoc/types/core_parser_parse.ParseService.html +1 -1
- package/typedoc/types/core_scope_scope.TTL.html +1 -1
- package/typedoc/types/core_scope_scope.WatchExpression.html +1 -1
- package/typedoc/types/core_scope_scope.WatchListener.html +1 -1
- package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -1
- package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -1
- package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -1
- package/typedoc/types/services_browser.UrlChangeListener.html +1 -1
- package/typedoc/types/services_log.LogCall.html +1 -1
- package/typedoc/types/types.AnnotatedFunction.html +1 -1
- package/typedoc/types/types.AsyncModelValidators.html +1 -1
- package/typedoc/types/types.Attributes.html +1 -1
- package/typedoc/types/types.BootstrapConfig.html +1 -1
- package/typedoc/types/types.CloneAttachFunction.html +1 -1
- package/typedoc/types/types.ComponentOptions.html +1 -1
- package/typedoc/types/types.ControllerConstructor.html +1 -1
- package/typedoc/types/types.DirectiveCompileFn.html +1 -1
- package/typedoc/types/types.DirectiveController.html +1 -1
- package/typedoc/types/types.DirectiveFactory.html +1 -1
- package/typedoc/types/types.DirectiveLinkFn.html +1 -1
- package/typedoc/types/types.FilterFactory.html +1 -1
- package/typedoc/types/types.FilterFunction.html +1 -1
- package/typedoc/types/types.Injectable.html +1 -1
- package/typedoc/types/types.ModelValidators.html +1 -1
- package/typedoc/types/types.ServiceProviderFactory.html +1 -1
- package/typedoc/types/types.TAttributes.html +1 -1
- package/typedoc/types/types.TController.html +1 -1
- package/typedoc/types/types.TElement.html +1 -1
- package/typedoc/types/types.TScope.html +1 -1
- package/typedoc/types/types.TranscludeFunction.html +1 -1
- package/typedoc/types/types.transcludeWithScope.html +1 -1
- package/typedoc/types/types.transcludeWithoutScope.html +1 -1
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -1
- package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -1
- package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -1
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -1
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -1
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -1
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -1
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -1
- package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -1
- package/typedoc/variables/core_cache_cache.CACHE.html +1 -1
- package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -1
- package/typedoc/variables/core_di_injector.path.html +1 -1
- package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -1
- package/typedoc/variables/core_parser_ast.literals.html +1 -1
- package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -1
- package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -1
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -1
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -1
- package/typedoc/variables/core_scope_scope.TTL-1.html +1 -1
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -1
- package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -1
- package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -1
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -1
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -1
- package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -1
- package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -1
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -1
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -1
- package/typedoc/variables/directive_form_form.formDirective.html +1 -1
- package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -1
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -1
- package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -1
- package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -1
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -1
- package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -1
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -1
- package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -1
- package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -1
- package/typedoc/variables/directive_script_script.scriptDirective.html +1 -1
- package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -1
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.patternDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +1 -1
- package/typedoc/variables/index.angular.html +1 -1
- package/typedoc/variables/public.VERSION.html +1 -1
- package/typedoc/variables/router_common_coreservices.services.html +1 -1
- package/typedoc/variables/router_common_trace.Category.html +1 -1
- package/typedoc/variables/router_common_trace.trace-1.html +1 -1
- package/typedoc/variables/router_directives_view_directive.ngView.html +1 -1
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -1
- package/typedoc/variables/router_params_param.DefType.html +1 -1
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -1
- package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +1 -1
- package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -1
- package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +1 -1
- package/typedoc/variables/router_transition_interface.TransitionHookScope.html +1 -1
- package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +1 -1
- package/typedoc/variables/services_log.LogService-1.html +1 -1
- package/typedoc/variables/shared_common.pushTo.html +1 -1
- package/typedoc/variables/shared_common.removeFrom.html +1 -1
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -1
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -1
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -1
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -1
- package/typedoc/variables/shared_hof.propEq.html +1 -1
- package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -1
- package/typedoc/variables/shared_strings.hostRegex.html +1 -1
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -1
- package/types/core/task-tracker-factory.d.ts +44 -33
- package/types/loader.d.ts +1 -1
- package/types/router/params/param-type.d.ts +1 -7
- package/types/router/url/url-service.d.ts +2 -2
- package/types/services/browser.d.ts +41 -103
- package/types/services/http-backend/http-backend.d.ts +1 -2
- package/types/shared/common.d.ts +2 -5
- package/types/shared/predicates.d.ts +5 -3
- package/typedoc/variables/shared_common.fromJson.html +0 -1
- package/typedoc/variables/shared_common.toJson.html +0 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@angular-wave/angular.ts",
|
|
3
3
|
"description": "A modern, optimized and typesafe version of AngularJS",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.4",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/angular-ts.esm.js",
|
|
8
8
|
"browser": "dist/angular-ts.umd.js",
|
package/src/angular.spec.js
CHANGED
|
@@ -1893,83 +1893,6 @@ describe("angular", () => {
|
|
|
1893
1893
|
expect(element.html()).toBe("{{1+2}}");
|
|
1894
1894
|
dealoc(element);
|
|
1895
1895
|
});
|
|
1896
|
-
|
|
1897
|
-
describe("deferred bootstrap", () => {
|
|
1898
|
-
const originalName = window.name;
|
|
1899
|
-
let element;
|
|
1900
|
-
|
|
1901
|
-
beforeEach(() => {
|
|
1902
|
-
window.name = "";
|
|
1903
|
-
element = JQLite("<div>{{1+2}}</div>");
|
|
1904
|
-
});
|
|
1905
|
-
|
|
1906
|
-
afterEach(() => {
|
|
1907
|
-
dealoc(element);
|
|
1908
|
-
window.name = originalName;
|
|
1909
|
-
});
|
|
1910
|
-
|
|
1911
|
-
it("should provide injector for deferred bootstrap", () => {
|
|
1912
|
-
window.name = "NG_DEFER_BOOTSTRAP!";
|
|
1913
|
-
|
|
1914
|
-
injector = angular.bootstrap(element);
|
|
1915
|
-
expect(injector).toBeUndefined();
|
|
1916
|
-
|
|
1917
|
-
injector = angular.resumeBootstrap();
|
|
1918
|
-
expect(injector).toBeDefined();
|
|
1919
|
-
});
|
|
1920
|
-
|
|
1921
|
-
it("should wait for extra modules", () => {
|
|
1922
|
-
window.name = "NG_DEFER_BOOTSTRAP!";
|
|
1923
|
-
angular.bootstrap(element);
|
|
1924
|
-
|
|
1925
|
-
expect(element.html()).toBe("{{1+2}}");
|
|
1926
|
-
|
|
1927
|
-
angular.resumeBootstrap();
|
|
1928
|
-
|
|
1929
|
-
expect(element.html()).toBe("3");
|
|
1930
|
-
expect(window.name).toEqual("");
|
|
1931
|
-
});
|
|
1932
|
-
|
|
1933
|
-
it("should load extra modules", () => {
|
|
1934
|
-
element = JQLite("<div>{{1+2}}</div>");
|
|
1935
|
-
window.name = "NG_DEFER_BOOTSTRAP!";
|
|
1936
|
-
|
|
1937
|
-
const bootstrapping = jasmine.createSpy("bootstrapping");
|
|
1938
|
-
angular.bootstrap(element, [bootstrapping]);
|
|
1939
|
-
|
|
1940
|
-
expect(bootstrapping).not.toHaveBeenCalled();
|
|
1941
|
-
expect(element.injector()).toBeUndefined();
|
|
1942
|
-
|
|
1943
|
-
angular.module("addedModule", []).value("foo", "bar");
|
|
1944
|
-
angular.resumeBootstrap(["addedModule"]);
|
|
1945
|
-
|
|
1946
|
-
expect(bootstrapping).toHaveBeenCalled();
|
|
1947
|
-
expect(element.injector().get("foo")).toEqual("bar");
|
|
1948
|
-
});
|
|
1949
|
-
|
|
1950
|
-
it("should not defer bootstrap without window.name cue", () => {
|
|
1951
|
-
angular.bootstrap(element, []);
|
|
1952
|
-
angular.module("addedModule", []).value("foo", "bar");
|
|
1953
|
-
|
|
1954
|
-
expect(() => {
|
|
1955
|
-
element.injector().get("foo");
|
|
1956
|
-
}).toThrowError(/unpr/);
|
|
1957
|
-
|
|
1958
|
-
expect(element.injector().get("$http")).toBeDefined();
|
|
1959
|
-
});
|
|
1960
|
-
|
|
1961
|
-
it("should restore the original window.name after bootstrap", () => {
|
|
1962
|
-
window.name = "NG_DEFER_BOOTSTRAP!my custom name";
|
|
1963
|
-
angular.bootstrap(element);
|
|
1964
|
-
|
|
1965
|
-
expect(element.html()).toBe("{{1+2}}");
|
|
1966
|
-
|
|
1967
|
-
angular.resumeBootstrap();
|
|
1968
|
-
|
|
1969
|
-
expect(element.html()).toBe("3");
|
|
1970
|
-
expect(window.name).toEqual("my custom name");
|
|
1971
|
-
});
|
|
1972
|
-
});
|
|
1973
1896
|
});
|
|
1974
1897
|
|
|
1975
1898
|
describe("startingElementHtml", () => {
|
|
@@ -49,13 +49,7 @@
|
|
|
49
49
|
</style>
|
|
50
50
|
</head>
|
|
51
51
|
<body ng-app="test">
|
|
52
|
-
<div
|
|
53
|
-
Fade me in out
|
|
54
|
-
</div>
|
|
55
|
-
<div ng-if="bool" id="animate" class="fade" animate="true">
|
|
56
|
-
Fade me in out
|
|
57
|
-
</div>
|
|
58
|
-
<div ng-if="bool" id="no-animate" class="fade">Fade me in out</div>
|
|
52
|
+
<div class="{{bool}}">{{bool}}</div>
|
|
59
53
|
<button ng-click="bool=true">Fade In!</button>
|
|
60
54
|
<button ng-click="bool=false">Fade Out!</button>
|
|
61
55
|
</body>
|
|
@@ -392,7 +392,7 @@ export function $AnimateCssProvider() {
|
|
|
392
392
|
|
|
393
393
|
if (!options.$$skipPreparationClasses) {
|
|
394
394
|
element[0].classList.add(
|
|
395
|
-
preparationClasses.split(" ").filter((x) => x !== ""),
|
|
395
|
+
...preparationClasses.split(" ").filter((x) => x !== ""),
|
|
396
396
|
);
|
|
397
397
|
}
|
|
398
398
|
|
|
@@ -589,15 +589,11 @@ export function $AnimateCssProvider() {
|
|
|
589
589
|
animationPaused = false;
|
|
590
590
|
|
|
591
591
|
if (preparationClasses && !options.$$skipPreparationClasses) {
|
|
592
|
-
preparationClasses.split(" ")
|
|
593
|
-
element[0].classList.remove(cls);
|
|
594
|
-
});
|
|
592
|
+
element[0].classList.remove(...preparationClasses.split(" "));
|
|
595
593
|
}
|
|
596
594
|
activeClasses = pendClasses(preparationClasses, ACTIVE_CLASS_SUFFIX);
|
|
597
595
|
if (activeClasses) {
|
|
598
|
-
activeClasses.split(" ")
|
|
599
|
-
element[0].classList.remove(cls);
|
|
600
|
-
});
|
|
596
|
+
element[0].classList.remove(...activeClasses.split(" "));
|
|
601
597
|
}
|
|
602
598
|
|
|
603
599
|
blockKeyframeAnimations(node, false);
|
|
@@ -786,9 +782,8 @@ export function $AnimateCssProvider() {
|
|
|
786
782
|
});
|
|
787
783
|
|
|
788
784
|
applyAnimationClasses(element, options);
|
|
789
|
-
|
|
790
785
|
element[0].classList.add(
|
|
791
|
-
activeClasses.split(" ").filter((x) => x !== ""),
|
|
786
|
+
...activeClasses.split(" ").filter((x) => x !== ""),
|
|
792
787
|
);
|
|
793
788
|
if (flags.recalculateTimingStyles) {
|
|
794
789
|
cacheKey = $$animateCache.cacheKey(
|
|
@@ -2352,7 +2352,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
|
|
|
2352
2352
|
// Copy in CSS classes from original node
|
|
2353
2353
|
try {
|
|
2354
2354
|
if (oldClasses !== "") {
|
|
2355
|
-
linkNode.classList.add(oldClasses);
|
|
2355
|
+
linkNode.classList.add(...oldClasses.trim().split(" "));
|
|
2356
2356
|
}
|
|
2357
2357
|
} catch (e) {
|
|
2358
2358
|
// ignore, since it means that we are trying to set class on
|
|
@@ -649,11 +649,11 @@ export function $LocationProvider() {
|
|
|
649
649
|
|
|
650
650
|
const IGNORE_URI_REGEXP = /^\s*(javascript|mailto):/i;
|
|
651
651
|
|
|
652
|
-
function setBrowserUrlWithFallback(url,
|
|
652
|
+
function setBrowserUrlWithFallback(url, state) {
|
|
653
653
|
const oldUrl = $location.url();
|
|
654
654
|
const oldState = $location.$$state;
|
|
655
655
|
try {
|
|
656
|
-
$browser.url(url,
|
|
656
|
+
$browser.url(url, state);
|
|
657
657
|
|
|
658
658
|
// Make sure $location.state() returns referentially identical (not just deeply equal)
|
|
659
659
|
// state object; this makes possible quick checking if the state changed in the digest
|
|
@@ -762,7 +762,7 @@ export function $LocationProvider() {
|
|
|
762
762
|
if (defaultPrevented) {
|
|
763
763
|
$location.$$parse(oldUrl);
|
|
764
764
|
$location.$$state = oldState;
|
|
765
|
-
setBrowserUrlWithFallback(oldUrl,
|
|
765
|
+
setBrowserUrlWithFallback(oldUrl, oldState);
|
|
766
766
|
} else {
|
|
767
767
|
initializing = false;
|
|
768
768
|
afterLocationChange(oldUrl, oldState);
|
|
@@ -779,7 +779,6 @@ export function $LocationProvider() {
|
|
|
779
779
|
const oldUrl = /** @type {string} */ ($browser.url());
|
|
780
780
|
const newUrl = $location.absUrl();
|
|
781
781
|
const oldState = $browser.state();
|
|
782
|
-
const currentReplace = $location.$$replace;
|
|
783
782
|
const urlOrStateChanged =
|
|
784
783
|
!urlsEqual(oldUrl, newUrl) ||
|
|
785
784
|
($location.$$html5 && oldState !== $location.$$state);
|
|
@@ -808,7 +807,6 @@ export function $LocationProvider() {
|
|
|
808
807
|
if (urlOrStateChanged) {
|
|
809
808
|
setBrowserUrlWithFallback(
|
|
810
809
|
newUrl,
|
|
811
|
-
currentReplace,
|
|
812
810
|
oldState === $location.$$state ? null : $location.$$state,
|
|
813
811
|
);
|
|
814
812
|
}
|
|
@@ -1,122 +1,138 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export class $$TaskTrackerFactoryProvider {
|
|
2
|
+
$get = [
|
|
3
3
|
"$log",
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Creates a new `TaskTracker` instance.
|
|
6
|
+
*
|
|
7
|
+
* @param {import('../services/log').LogService} log - The logging service.
|
|
8
|
+
* @returns {TaskTracker} A new `TaskTracker` instance.
|
|
9
|
+
*/
|
|
5
10
|
(log) => new TaskTracker(log),
|
|
6
11
|
];
|
|
7
12
|
}
|
|
8
13
|
|
|
9
14
|
/**
|
|
10
|
-
*
|
|
15
|
+
* A factory function to create `TaskTracker` instances.
|
|
11
16
|
*
|
|
12
|
-
*
|
|
13
|
-
* @description
|
|
14
|
-
* A function to create `TaskTracker` instances.
|
|
15
|
-
*
|
|
16
|
-
* A `TaskTracker` can keep track of pending tasks (grouped by type) and can notify interested
|
|
17
|
+
* A `TaskTracker` tracks pending tasks (grouped by type) and notifies interested
|
|
17
18
|
* parties when all pending tasks (or tasks of a specific type) have been completed.
|
|
18
|
-
* @param {import('../services/log').LogService} log
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
const self = this;
|
|
22
|
-
const taskCounts = {};
|
|
23
|
-
const taskCallbacks = [];
|
|
24
|
-
|
|
25
|
-
const ALL_TASKS_TYPE = (self.ALL_TASKS_TYPE = "$$all$$");
|
|
26
|
-
const DEFAULT_TASK_TYPE = (self.DEFAULT_TASK_TYPE = "$$default$$");
|
|
27
|
-
|
|
20
|
+
export class TaskTracker {
|
|
28
21
|
/**
|
|
29
|
-
*
|
|
30
|
-
* If the counter reaches 0, all corresponding `taskCallbacks` are executed.
|
|
31
|
-
*
|
|
32
|
-
* @param {Function} fn - The function to execute.
|
|
33
|
-
* @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task that is being completed.
|
|
22
|
+
* @param {import('../services/log').LogService} log - The logging service.
|
|
34
23
|
*/
|
|
35
|
-
|
|
24
|
+
constructor(log) {
|
|
25
|
+
/** @private */
|
|
26
|
+
this.log = log;
|
|
36
27
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
28
|
+
/** @private */
|
|
29
|
+
this.taskCounts = {};
|
|
30
|
+
|
|
31
|
+
/** @private */
|
|
32
|
+
this.taskCallbacks = [];
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Special task types used for tracking all tasks and default tasks.
|
|
36
|
+
* @type {string}
|
|
37
|
+
*/
|
|
38
|
+
this.ALL_TASKS_TYPE = "$$all$$";
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Default task type.
|
|
42
|
+
* @type {string}
|
|
43
|
+
*/
|
|
44
|
+
this.DEFAULT_TASK_TYPE = "$$default$$";
|
|
45
|
+
}
|
|
44
46
|
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* If there are no pending tasks, the callback is executed immediately. You can optionally limit
|
|
49
|
-
* the tasks that will be waited for to a specific type, by passing a `taskType`.
|
|
48
|
+
* Completes a task and decrements the associated task counter.
|
|
49
|
+
* If the counter reaches 0, all corresponding callbacks are executed.
|
|
50
50
|
*
|
|
51
|
-
* @param {
|
|
52
|
-
* @param {string
|
|
51
|
+
* @param {Function} fn - The function to execute when completing the task.
|
|
52
|
+
* @param {string} [taskType=this.DEFAULT_TASK_TYPE] - The type of task being completed.
|
|
53
53
|
*/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
function completeTask(fn, taskType) {
|
|
57
|
-
taskType = taskType || DEFAULT_TASK_TYPE;
|
|
58
|
-
|
|
54
|
+
completeTask(fn, taskType = this.DEFAULT_TASK_TYPE) {
|
|
59
55
|
try {
|
|
60
56
|
fn();
|
|
61
57
|
} finally {
|
|
62
|
-
|
|
58
|
+
if (this.taskCounts[taskType]) {
|
|
59
|
+
this.taskCounts[taskType]--;
|
|
60
|
+
this.taskCounts[this.ALL_TASKS_TYPE]--;
|
|
61
|
+
}
|
|
63
62
|
|
|
64
|
-
const countForType = taskCounts[taskType];
|
|
65
|
-
const countForAll = taskCounts[ALL_TASKS_TYPE];
|
|
63
|
+
const countForType = this.taskCounts[taskType];
|
|
64
|
+
const countForAll = this.taskCounts[this.ALL_TASKS_TYPE];
|
|
66
65
|
|
|
67
|
-
// If
|
|
66
|
+
// If either the overall task queue or the specific task type queue is empty, run callbacks.
|
|
68
67
|
if (!countForAll || !countForType) {
|
|
69
68
|
const getNextCallback = !countForAll
|
|
70
|
-
? getLastCallback
|
|
71
|
-
: getLastCallbackForType;
|
|
72
|
-
let nextCb;
|
|
69
|
+
? this.getLastCallback.bind(this)
|
|
70
|
+
: () => this.getLastCallbackForType(taskType);
|
|
73
71
|
|
|
74
|
-
|
|
72
|
+
let nextCb;
|
|
73
|
+
while ((nextCb = getNextCallback())) {
|
|
75
74
|
try {
|
|
76
75
|
nextCb();
|
|
77
76
|
} catch (e) {
|
|
78
|
-
log.error(e);
|
|
77
|
+
this.log.error(e);
|
|
79
78
|
}
|
|
80
79
|
}
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
/**
|
|
85
|
+
* Increments the task count for the specified task type.
|
|
86
|
+
*
|
|
87
|
+
* @param {string} [taskType=this.DEFAULT_TASK_TYPE] - The type of task whose count will be increased.
|
|
88
|
+
*/
|
|
89
|
+
incTaskCount(taskType = this.DEFAULT_TASK_TYPE) {
|
|
90
|
+
this.taskCounts[taskType] = (this.taskCounts[taskType] || 0) + 1;
|
|
91
|
+
this.taskCounts[this.ALL_TASKS_TYPE] =
|
|
92
|
+
(this.taskCounts[this.ALL_TASKS_TYPE] || 0) + 1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Registers a callback to be executed when all pending tasks of the specified type are completed.
|
|
97
|
+
* If there are no pending tasks of the specified type, the callback is executed immediately.
|
|
98
|
+
*
|
|
99
|
+
* @param {Function} callback - The function to execute when no pending tasks remain.
|
|
100
|
+
* @param {string} [taskType=this.ALL_TASKS_TYPE] - The type of tasks to wait for completion.
|
|
101
|
+
*/
|
|
102
|
+
notifyWhenNoPendingTasks(callback, taskType = this.ALL_TASKS_TYPE) {
|
|
103
|
+
if (!this.taskCounts[taskType]) {
|
|
104
|
+
callback();
|
|
105
|
+
} else {
|
|
106
|
+
this.taskCallbacks.push({ type: taskType, cb: callback });
|
|
90
107
|
}
|
|
91
108
|
}
|
|
92
109
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves and removes the last registered callback from the queue.
|
|
112
|
+
*
|
|
113
|
+
* @private
|
|
114
|
+
* @returns {Function|undefined} The last callback function or undefined if none exist.
|
|
115
|
+
*/
|
|
116
|
+
getLastCallback() {
|
|
117
|
+
const cbInfo = this.taskCallbacks.pop();
|
|
118
|
+
return cbInfo ? cbInfo.cb : undefined;
|
|
96
119
|
}
|
|
97
120
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
121
|
+
/**
|
|
122
|
+
* Retrieves and removes the last registered callback for the specified task type.
|
|
123
|
+
*
|
|
124
|
+
* @private
|
|
125
|
+
* @param {string} taskType - The type of task for which the callback was registered.
|
|
126
|
+
* @returns {Function|undefined} The last callback function for the task type, or undefined if none exist.
|
|
127
|
+
*/
|
|
128
|
+
getLastCallbackForType(taskType) {
|
|
129
|
+
for (let i = this.taskCallbacks.length - 1; i >= 0; --i) {
|
|
130
|
+
const cbInfo = this.taskCallbacks[i];
|
|
101
131
|
if (cbInfo.type === taskType) {
|
|
102
|
-
taskCallbacks.splice(i, 1);
|
|
132
|
+
this.taskCallbacks.splice(i, 1);
|
|
103
133
|
return cbInfo.cb;
|
|
104
134
|
}
|
|
105
135
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
function incTaskCount(taskType) {
|
|
109
|
-
taskType = taskType || DEFAULT_TASK_TYPE;
|
|
110
|
-
taskCounts[taskType] = (taskCounts[taskType] || 0) + 1;
|
|
111
|
-
taskCounts[ALL_TASKS_TYPE] = (taskCounts[ALL_TASKS_TYPE] || 0) + 1;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function notifyWhenNoPendingTasks(callback, taskType) {
|
|
115
|
-
taskType = taskType || ALL_TASKS_TYPE;
|
|
116
|
-
if (!taskCounts[taskType]) {
|
|
117
|
-
callback();
|
|
118
|
-
} else {
|
|
119
|
-
taskCallbacks.push({ type: taskType, cb: callback });
|
|
120
|
-
}
|
|
136
|
+
return undefined;
|
|
121
137
|
}
|
|
122
138
|
}
|
package/src/loader.js
CHANGED
|
@@ -113,61 +113,45 @@ export class Angular {
|
|
|
113
113
|
strictDi: false,
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
const jqLite = JQLite(element);
|
|
116
|
+
const jqLite = JQLite(element);
|
|
118
117
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
if (Array.isArray(modules)) {
|
|
124
|
-
this.bootsrappedModules = modules;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
this.bootsrappedModules.unshift([
|
|
128
|
-
"$provide",
|
|
129
|
-
($provide) => {
|
|
130
|
-
$provide.value("$rootElement", jqLite);
|
|
131
|
-
},
|
|
132
|
-
]);
|
|
133
|
-
|
|
134
|
-
this.bootsrappedModules.unshift("ng");
|
|
118
|
+
if (jqLite.injector()) {
|
|
119
|
+
throw ngMinErr("btstrpd", "App already bootstrapped");
|
|
120
|
+
}
|
|
135
121
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"$rootElement",
|
|
140
|
-
"$compile",
|
|
141
|
-
"$injector",
|
|
142
|
-
/**
|
|
143
|
-
* @param {import('./core/scope/scope').Scope} scope
|
|
144
|
-
* @param {JQLite} el
|
|
145
|
-
* @param {*} compile
|
|
146
|
-
* @param {import("./core/di/internal-injector").InjectorService} $injector
|
|
147
|
-
*/
|
|
148
|
-
function (scope, el, compile, $injector) {
|
|
149
|
-
scope.$apply(() => {
|
|
150
|
-
el.data("$injector", $injector);
|
|
151
|
-
compile(el)(scope);
|
|
152
|
-
});
|
|
153
|
-
},
|
|
154
|
-
]);
|
|
155
|
-
return injector;
|
|
156
|
-
};
|
|
122
|
+
if (Array.isArray(modules)) {
|
|
123
|
+
this.bootsrappedModules = modules;
|
|
124
|
+
}
|
|
157
125
|
|
|
158
|
-
|
|
126
|
+
this.bootsrappedModules.unshift([
|
|
127
|
+
"$provide",
|
|
128
|
+
($provide) => {
|
|
129
|
+
$provide.value("$rootElement", jqLite);
|
|
130
|
+
},
|
|
131
|
+
]);
|
|
159
132
|
|
|
160
|
-
|
|
161
|
-
return this.doBootstrap();
|
|
162
|
-
}
|
|
133
|
+
this.bootsrappedModules.unshift("ng");
|
|
163
134
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
135
|
+
const injector = createInjector(this.bootsrappedModules, config.strictDi);
|
|
136
|
+
injector.invoke([
|
|
137
|
+
"$rootScope",
|
|
138
|
+
"$rootElement",
|
|
139
|
+
"$compile",
|
|
140
|
+
"$injector",
|
|
141
|
+
/**
|
|
142
|
+
* @param {import('./core/scope/scope').Scope} scope
|
|
143
|
+
* @param {JQLite} el
|
|
144
|
+
* @param {*} compile
|
|
145
|
+
* @param {import("./core/di/internal-injector").InjectorService} $injector
|
|
146
|
+
*/
|
|
147
|
+
function (scope, el, compile, $injector) {
|
|
148
|
+
scope.$apply(() => {
|
|
149
|
+
el.data("$injector", $injector);
|
|
150
|
+
compile(el)(scope);
|
|
151
|
+
});
|
|
152
|
+
},
|
|
153
|
+
]);
|
|
154
|
+
return injector;
|
|
171
155
|
}
|
|
172
156
|
|
|
173
157
|
/**
|
package/src/public.js
CHANGED
|
@@ -129,7 +129,6 @@ export const VERSION = "[VI]{version}[/VI]";
|
|
|
129
129
|
* @returns {import('./types').Module} `ng`module
|
|
130
130
|
*/
|
|
131
131
|
export function publishExternalAPI(angular) {
|
|
132
|
-
console.assert(angular !== undefined, `angular is %s`, angular);
|
|
133
132
|
const ng = angular
|
|
134
133
|
.module(
|
|
135
134
|
"ng",
|
|
@@ -30,27 +30,22 @@ export class ParamType {
|
|
|
30
30
|
* @returns a new ParamType object
|
|
31
31
|
*/
|
|
32
32
|
constructor(def) {
|
|
33
|
-
/** @inheritdoc */
|
|
34
33
|
this.pattern = /.*/;
|
|
35
|
-
/** @inheritdoc */
|
|
36
34
|
this.inherit = true;
|
|
37
35
|
Object.assign(this, def);
|
|
38
36
|
this.name = undefined;
|
|
39
37
|
}
|
|
40
38
|
// consider these four methods to be "abstract methods" that should be overridden
|
|
41
|
-
|
|
42
|
-
is(
|
|
43
|
-
return
|
|
39
|
+
|
|
40
|
+
is(val) {
|
|
41
|
+
return !!val;
|
|
44
42
|
}
|
|
45
|
-
/** @inheritdoc */
|
|
46
43
|
encode(val) {
|
|
47
44
|
return val;
|
|
48
45
|
}
|
|
49
|
-
/** @inheritdoc */
|
|
50
46
|
decode(val) {
|
|
51
47
|
return val;
|
|
52
48
|
}
|
|
53
|
-
/** @inheritdoc */
|
|
54
49
|
equals(a, b) {
|
|
55
50
|
return a == b;
|
|
56
51
|
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
fromJson,
|
|
3
|
-
toJson,
|
|
4
|
-
equals,
|
|
5
|
-
inherit,
|
|
6
|
-
map,
|
|
7
|
-
pick,
|
|
8
|
-
} from "../../shared/common";
|
|
1
|
+
import { equals, inherit, map, pick } from "../../shared/common";
|
|
9
2
|
import { isNullOrUndefined } from "../../shared/predicates";
|
|
10
3
|
import { isDefined } from "../../shared/utils";
|
|
11
4
|
import { is } from "../../shared/hof";
|
|
@@ -141,8 +134,8 @@ function initDefaultTypes() {
|
|
|
141
134
|
capture: /([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/,
|
|
142
135
|
}),
|
|
143
136
|
json: makeDefaultType({
|
|
144
|
-
encode:
|
|
145
|
-
decode:
|
|
137
|
+
encode: JSON.stringify,
|
|
138
|
+
decode: JSON.parse,
|
|
146
139
|
is: is(Object),
|
|
147
140
|
equals: equals,
|
|
148
141
|
pattern: /[^/]*/,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isFunction, isObject } from "../../shared/utils";
|
|
1
|
+
import { assert, isFunction, isObject } from "../../shared/utils";
|
|
2
2
|
import { services } from "../common/coreservices";
|
|
3
3
|
import { trace } from "../common/trace";
|
|
4
4
|
import { stringify } from "../../shared/strings";
|
|
@@ -27,12 +27,7 @@ export class Resolvable {
|
|
|
27
27
|
if (arg1 instanceof Resolvable) {
|
|
28
28
|
Object.assign(this, arg1);
|
|
29
29
|
} else if (isFunction(resolveFn)) {
|
|
30
|
-
|
|
31
|
-
throw new Error("new Resolvable(): token argument is required");
|
|
32
|
-
if (!isFunction(resolveFn))
|
|
33
|
-
throw new Error(
|
|
34
|
-
"new Resolvable(): resolveFn argument must be a function",
|
|
35
|
-
);
|
|
30
|
+
assert(!isNullOrUndefined(arg1), "token argument is required");
|
|
36
31
|
this.token = arg1;
|
|
37
32
|
this.policy = policy;
|
|
38
33
|
this.resolveFn = resolveFn;
|
|
@@ -46,14 +41,11 @@ export class Resolvable {
|
|
|
46
41
|
(Object.prototype.hasOwnProperty.call(arg1, "resolveFn") ||
|
|
47
42
|
Object.prototype.hasOwnProperty.call(arg1, "data"))
|
|
48
43
|
) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
literal.policy,
|
|
55
|
-
literal.data,
|
|
56
|
-
);
|
|
44
|
+
this.token = arg1.token;
|
|
45
|
+
this.resolveFn = arg1.resolveFn;
|
|
46
|
+
this.deps = arg1.deps;
|
|
47
|
+
this.policy = arg1.policy;
|
|
48
|
+
this.data = arg1.data;
|
|
57
49
|
}
|
|
58
50
|
}
|
|
59
51
|
getPolicy(state) {
|
|
@@ -7,7 +7,7 @@ import { PathUtils } from "../path/path-utils";
|
|
|
7
7
|
import { stringify } from "../../shared/strings";
|
|
8
8
|
import { isUndefined } from "../../shared/utils";
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export const resolvePolicies = {
|
|
11
11
|
when: {
|
|
12
12
|
LAZY: "LAZY",
|
|
13
13
|
EAGER: "EAGER",
|
|
@@ -18,10 +18,8 @@ export let resolvePolicies = {
|
|
|
18
18
|
},
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const EAGER_WHENS = [whens.EAGER];
|
|
24
|
-
export const NATIVE_INJECTOR_TOKEN = "Native Injector";
|
|
21
|
+
const ALL_WHENS = [resolvePolicies.when.EAGER, resolvePolicies.when.LAZY];
|
|
22
|
+
const EAGER_WHENS = [resolvePolicies.when.EAGER];
|
|
25
23
|
/**
|
|
26
24
|
* Encapsulates Dependency Injection for a path of nodes
|
|
27
25
|
*
|
|
@@ -667,6 +667,7 @@ export class StateService {
|
|
|
667
667
|
defaultErrorHandler(handler) {
|
|
668
668
|
return (this._defaultErrorHandler = handler || this._defaultErrorHandler);
|
|
669
669
|
}
|
|
670
|
+
|
|
670
671
|
get(stateOrName, base) {
|
|
671
672
|
const reg = this.stateRegistry;
|
|
672
673
|
if (arguments.length === 0) return reg.get();
|