@coolon/angular-ui-powerups 0.0.135 → 1.0.0-alpha.12
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/CHANGELOG.md +303 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +1142 -6275
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +16 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +1 -5
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/index.js +1 -5
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.js +32 -32
- package/esm2015/lib/angular-ui-powerups.module.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/animations/index.js +1 -5
- package/esm2015/lib/animations/index.js.map +1 -1
- package/esm2015/lib/animations/slide-animations.js +0 -8
- package/esm2015/lib/animations/slide-animations.js.map +1 -1
- package/esm2015/lib/components/components.module.js +39 -39
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/disposable-component.js +8 -9
- package/esm2015/lib/components/disposable-component.js.map +1 -1
- package/esm2015/lib/components/disposable-component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.js +82 -114
- package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js +12 -18
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js +12 -18
- package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +38 -57
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +19 -41
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/index.js +13 -17
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/noop/noop.component.js +12 -15
- package/esm2015/lib/components/noop/noop.component.js.map +1 -1
- package/esm2015/lib/components/resize-aware.component.js +17 -64
- package/esm2015/lib/components/resize-aware.component.js.map +1 -1
- package/esm2015/lib/components/resize-aware.component.metadata.json +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +12 -18
- package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +1 -1
- package/esm2015/lib/components/types/bounds.class.js +0 -29
- package/esm2015/lib/components/types/bounds.class.js.map +1 -1
- package/esm2015/lib/components/types/dimension.class.js +0 -14
- package/esm2015/lib/components/types/dimension.class.js.map +1 -1
- package/esm2015/lib/components/types/point.class.js +0 -23
- package/esm2015/lib/components/types/point.class.js.map +1 -1
- package/esm2015/lib/directives/command.directive.js +31 -85
- package/esm2015/lib/directives/command.directive.js.map +1 -1
- package/esm2015/lib/directives/directives.module.js +28 -28
- package/esm2015/lib/directives/directives.module.js.map +1 -1
- package/esm2015/lib/directives/directives.module.metadata.json +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/focus-binding.directive.js +41 -96
- package/esm2015/lib/directives/focus-binding.directive.js.map +1 -1
- package/esm2015/lib/directives/index.js +3 -7
- package/esm2015/lib/directives/index.js.map +1 -1
- package/esm2015/lib/interaction/abstract-interaction-context.js +4 -73
- package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.js +2 -79
- package/esm2015/lib/interaction/activity-ref.js.map +1 -1
- package/esm2015/lib/interaction/activity.js +0 -72
- package/esm2015/lib/interaction/activity.js.map +1 -1
- package/esm2015/lib/interaction/alert.js +0 -22
- package/esm2015/lib/interaction/alert.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +41 -187
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +24 -74
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +13 -24
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +15 -62
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +13 -27
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +16 -71
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/confirm.js +0 -16
- package/esm2015/lib/interaction/confirm.js.map +1 -1
- package/esm2015/lib/interaction/index.js +15 -24
- package/esm2015/lib/interaction/index.js.map +1 -1
- package/esm2015/lib/interaction/interaction-context.js +0 -50
- package/esm2015/lib/interaction/interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.js +41 -41
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/result.js +2 -23
- package/esm2015/lib/interaction/result.js.map +1 -1
- package/esm2015/lib/interaction/route-synchronisation-adapter.js +0 -16
- package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js +0 -43
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.js +22 -172
- package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.metadata.json +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +17 -40
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.metadata.json +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +7 -86
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.metadata.json +1 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js +0 -16
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +36 -105
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js +17 -34
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +1 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.js +12 -18
- package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +16 -33
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +52 -240
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/route-animations.js +0 -12
- package/esm2015/lib/place/components/place-outlet/route-animations.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +12 -17
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/guards/consolidated-param-map.js +9 -92
- package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.js +12 -21
- package/esm2015/lib/place/guards/noop-auth-guard.service.js.map +1 -1
- package/esm2015/lib/place/guards/noop-auth-guard.service.metadata.json +1 -1
- package/esm2015/lib/place/guards/place.guard.js +10 -119
- package/esm2015/lib/place/guards/place.guard.js.map +1 -1
- package/esm2015/lib/place/index.js +38 -46
- package/esm2015/lib/place/index.js.map +1 -1
- package/esm2015/lib/place/nav-item.js +0 -22
- package/esm2015/lib/place/nav-item.js.map +1 -1
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js +3 -49
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js +0 -23
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +0 -11
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +2 -51
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +2 -54
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +1 -1
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +2 -60
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js +0 -24
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +1 -19
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +0 -55
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +4 -60
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigating.js +0 -31
- package/esm2015/lib/place/navigation/session/navigating.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigation-context.js +0 -24
- package/esm2015/lib/place/navigation/session/navigation-context.js.map +1 -1
- package/esm2015/lib/place/navigation/session/navigation-session.js +12 -178
- package/esm2015/lib/place/navigation/session/navigation-session.js.map +1 -1
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js +0 -16
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +1 -1
- package/esm2015/lib/place/place-component.js +22 -107
- package/esm2015/lib/place/place-component.js.map +1 -1
- package/esm2015/lib/place/place-component.metadata.json +1 -1
- package/esm2015/lib/place/place-config.js +0 -13
- package/esm2015/lib/place/place-config.js.map +1 -1
- package/esm2015/lib/place/place-definition.js +26 -163
- package/esm2015/lib/place/place-definition.js.map +1 -1
- package/esm2015/lib/place/place-history.js +11 -38
- package/esm2015/lib/place/place-history.js.map +1 -1
- package/esm2015/lib/place/place-history.metadata.json +1 -1
- package/esm2015/lib/place/place-router.js +38 -247
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.metadata.json +1 -1
- package/esm2015/lib/place/place.decorator.js +3 -38
- package/esm2015/lib/place/place.decorator.js.map +1 -1
- package/esm2015/lib/place/place.module.js +40 -42
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/route/formatter.js +0 -30
- package/esm2015/lib/place/route/formatter.js.map +1 -1
- package/esm2015/lib/place/route/json-types.js +0 -12
- package/esm2015/lib/place/route/json-types.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.js +14 -133
- package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm2015/lib/place/route/parameter-definition.class.js +2 -147
- package/esm2015/lib/place/route/parameter-definition.class.js.map +1 -1
- package/esm2015/lib/place/route/parameter-sanitiser.js +0 -18
- package/esm2015/lib/place/route/parameter-sanitiser.js.map +1 -1
- package/esm2015/lib/place/route/parameter-snapshot.js +0 -19
- package/esm2015/lib/place/route/parameter-snapshot.js.map +1 -1
- package/esm2015/lib/place/route/visit-sanitiser.js +2 -47
- package/esm2015/lib/place/route/visit-sanitiser.js.map +1 -1
- package/esm2015/lib/place/url-service.js +13 -68
- package/esm2015/lib/place/url-service.js.map +1 -1
- package/esm2015/lib/place/url-service.metadata.json +1 -1
- package/esm2015/lib/place/url-snapshot.js +3 -86
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/visit.js +5 -73
- package/esm2015/lib/place/visit.js.map +1 -1
- package/esm2015/public_api.js +6 -10
- package/esm2015/public_api.js.map +1 -1
- package/esm5/coolon-angular-ui-powerups.js +1 -5
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/index.js +1 -5
- package/esm5/index.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.js +29 -30
- package/esm5/lib/angular-ui-powerups.module.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/animations/index.js +1 -5
- package/esm5/lib/animations/index.js.map +1 -1
- package/esm5/lib/animations/slide-animations.js +0 -8
- package/esm5/lib/animations/slide-animations.js.map +1 -1
- package/esm5/lib/components/components.module.js +36 -37
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/disposable-component.js +7 -13
- package/esm5/lib/components/disposable-component.js.map +1 -1
- package/esm5/lib/components/forms/abstract-input.component.js +95 -157
- package/esm5/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js +11 -22
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js +11 -22
- package/esm5/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm5/lib/components/forms/select-input/select-input.component.js +38 -61
- package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js +19 -45
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm5/lib/components/index.js +13 -17
- package/esm5/lib/components/index.js.map +1 -1
- package/esm5/lib/components/noop/noop.component.js +9 -13
- package/esm5/lib/components/noop/noop.component.js.map +1 -1
- package/esm5/lib/components/resize-aware.component.js +21 -80
- package/esm5/lib/components/resize-aware.component.js.map +1 -1
- package/esm5/lib/components/scroll-container/scroll-container.component.js +10 -20
- package/esm5/lib/components/scroll-container/scroll-container.component.js.map +1 -1
- package/esm5/lib/components/types/bounds.class.js +3 -30
- package/esm5/lib/components/types/bounds.class.js.map +1 -1
- package/esm5/lib/components/types/dimension.class.js +0 -10
- package/esm5/lib/components/types/dimension.class.js.map +1 -1
- package/esm5/lib/components/types/point.class.js +2 -30
- package/esm5/lib/components/types/point.class.js.map +1 -1
- package/esm5/lib/directives/command.directive.js +37 -103
- package/esm5/lib/directives/command.directive.js.map +1 -1
- package/esm5/lib/directives/directives.module.js +25 -26
- package/esm5/lib/directives/directives.module.js.map +1 -1
- package/esm5/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm5/lib/directives/focus-binding.directive.js +50 -147
- package/esm5/lib/directives/focus-binding.directive.js.map +1 -1
- package/esm5/lib/directives/index.js +3 -7
- package/esm5/lib/directives/index.js.map +1 -1
- package/esm5/lib/interaction/abstract-interaction-context.js +7 -114
- package/esm5/lib/interaction/abstract-interaction-context.js.map +1 -1
- package/esm5/lib/interaction/activity-ref.js +12 -109
- package/esm5/lib/interaction/activity-ref.js.map +1 -1
- package/esm5/lib/interaction/activity.js +12 -121
- package/esm5/lib/interaction/activity.js.map +1 -1
- package/esm5/lib/interaction/alert.js +0 -22
- package/esm5/lib/interaction/alert.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +64 -330
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +26 -79
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js +12 -25
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +17 -72
- package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +13 -32
- package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +24 -117
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm5/lib/interaction/confirm.js +0 -16
- package/esm5/lib/interaction/confirm.js.map +1 -1
- package/esm5/lib/interaction/index.js +15 -24
- package/esm5/lib/interaction/index.js.map +1 -1
- package/esm5/lib/interaction/interaction-context.js +0 -50
- package/esm5/lib/interaction/interaction-context.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.js +38 -39
- package/esm5/lib/interaction/interaction.module.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/interaction/result.js +2 -23
- package/esm5/lib/interaction/result.js.map +1 -1
- package/esm5/lib/interaction/route-synchronisation-adapter.js +0 -16
- package/esm5/lib/interaction/route-synchronisation-adapter.js.map +1 -1
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js +6 -73
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -1
- package/esm5/lib/interaction/services/interaction.service.js +33 -290
- package/esm5/lib/interaction/services/interaction.service.js.map +1 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +16 -41
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +14 -109
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js +1 -23
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.js +37 -115
- package/esm5/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js +16 -37
- package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js.map +1 -1
- package/esm5/lib/place/components/empty-state/empty-state.component.js +10 -20
- package/esm5/lib/place/components/empty-state/empty-state.component.js.map +1 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +17 -42
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +64 -314
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm5/lib/place/components/place-outlet/route-animations.js +0 -12
- package/esm5/lib/place/components/place-outlet/route-animations.js.map +1 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +10 -14
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/guards/consolidated-param-map.js +17 -117
- package/esm5/lib/place/guards/consolidated-param-map.js.map +1 -1
- package/esm5/lib/place/guards/noop-auth-guard.service.js +11 -26
- package/esm5/lib/place/guards/noop-auth-guard.service.js.map +1 -1
- package/esm5/lib/place/guards/place.guard.js +24 -172
- package/esm5/lib/place/guards/place.guard.js.map +1 -1
- package/esm5/lib/place/index.js +38 -46
- package/esm5/lib/place/index.js.map +1 -1
- package/esm5/lib/place/nav-item.js +0 -22
- package/esm5/lib/place/nav-item.js.map +1 -1
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js +11 -86
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js +4 -34
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -1
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +4 -25
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +11 -110
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +12 -147
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +1 -1
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +11 -126
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -1
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js +7 -71
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -1
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +6 -49
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -1
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +11 -120
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -1
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +13 -106
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -1
- package/esm5/lib/place/navigation/session/navigating.js +6 -53
- package/esm5/lib/place/navigation/session/navigating.js.map +1 -1
- package/esm5/lib/place/navigation/session/navigation-context.js +0 -17
- package/esm5/lib/place/navigation/session/navigation-context.js.map +1 -1
- package/esm5/lib/place/navigation/session/navigation-session.js +39 -306
- package/esm5/lib/place/navigation/session/navigation-session.js.map +1 -1
- package/esm5/lib/place/navigation/session/pop-state-navigation.js +5 -33
- package/esm5/lib/place/navigation/session/pop-state-navigation.js.map +1 -1
- package/esm5/lib/place/place-component.js +30 -142
- package/esm5/lib/place/place-component.js.map +1 -1
- package/esm5/lib/place/place-config.js +0 -13
- package/esm5/lib/place/place-config.js.map +1 -1
- package/esm5/lib/place/place-definition.js +37 -219
- package/esm5/lib/place/place-definition.js.map +1 -1
- package/esm5/lib/place/place-history.js +11 -56
- package/esm5/lib/place/place-history.js.map +1 -1
- package/esm5/lib/place/place-router.js +59 -372
- package/esm5/lib/place/place-router.js.map +1 -1
- package/esm5/lib/place/place.decorator.js +3 -38
- package/esm5/lib/place/place.decorator.js.map +1 -1
- package/esm5/lib/place/place.module.js +37 -40
- package/esm5/lib/place/place.module.js.map +1 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm5/lib/place/route/formatter.js +6 -60
- package/esm5/lib/place/route/formatter.js.map +1 -1
- package/esm5/lib/place/route/json-types.js +0 -12
- package/esm5/lib/place/route/json-types.js.map +1 -1
- package/esm5/lib/place/route/parameter-decorators.js +14 -133
- package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm5/lib/place/route/parameter-definition.class.js +21 -222
- package/esm5/lib/place/route/parameter-definition.class.js.map +1 -1
- package/esm5/lib/place/route/parameter-sanitiser.js +0 -18
- package/esm5/lib/place/route/parameter-sanitiser.js.map +1 -1
- package/esm5/lib/place/route/parameter-snapshot.js +0 -19
- package/esm5/lib/place/route/parameter-snapshot.js.map +1 -1
- package/esm5/lib/place/route/visit-sanitiser.js +4 -42
- package/esm5/lib/place/route/visit-sanitiser.js.map +1 -1
- package/esm5/lib/place/url-service.js +20 -119
- package/esm5/lib/place/url-service.js.map +1 -1
- package/esm5/lib/place/url-snapshot.js +15 -143
- package/esm5/lib/place/url-snapshot.js.map +1 -1
- package/esm5/lib/place/visit.js +14 -132
- package/esm5/lib/place/visit.js.map +1 -1
- package/esm5/public_api.js +6 -10
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +861 -4526
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +1129 -6274
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-input.component.d.ts +9 -9
- package/lib/components/resize-aware.component.d.ts +3 -3
- package/lib/directives/command.directive.d.ts +4 -2
- package/lib/directives/focus-binding.directive.d.ts +1 -1
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +2 -2
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -2
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -2
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
- package/lib/interaction/services/interaction.service.d.ts +1 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +1 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +1 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -4
- package/lib/place/guards/consolidated-param-map.d.ts +1 -1
- package/lib/place/navigation/place-component-deactivation-handler.d.ts +2 -2
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +1 -1
- package/lib/place/navigation/session/navigation-session.d.ts +4 -4
- package/lib/place/place-component.d.ts +2 -2
- package/lib/place/place-router.d.ts +3 -3
- package/lib/place/route/formatter.d.ts +4 -3
- package/lib/place/route/parameter-definition.class.d.ts +2 -2
- package/package.json +10 -10
- package/schematics/place-routes/place-builder.js +4 -2
- package/schematics/place-routes/place-builder.js.map +1 -1
- package/schematics/place-routes/place-class-scanner.d.ts +3 -3
- package/schematics/place-routes/place-class-scanner.js +1 -1
- package/schematics/place-routes/place-class-scanner.js.map +1 -1
- package/schematics/place-routes/place-def.d.ts +9 -9
- /package/{styles → assets}/styles.scss +0 -0
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @file Automatically generated by barrelsby.
|
|
7
3
|
*/
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
4
|
+
export * from "./command.directive";
|
|
5
|
+
export * from "./directives.module";
|
|
6
|
+
export * from "./focus-binding.directive";
|
|
11
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./command.directive\";\nexport * from \"./directives.module\";\nexport * from \"./focus-binding.directive\";\n"]}
|
|
@@ -1,75 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
1
|
import { AlertDialogComponent } from './components/alert-dialog/alert-dialog.component';
|
|
6
2
|
import { ConfirmThenDialogComponent } from './components/confirm-then-dialog/confirm-then-dialog.component';
|
|
7
3
|
import { ConfirmationDialogComponent } from './components/confirmation-dialog/confirmation-dialog.component';
|
|
8
|
-
/**
|
|
9
|
-
* @abstract
|
|
10
|
-
*/
|
|
11
|
-
var /**
|
|
12
|
-
* @abstract
|
|
13
|
-
*/
|
|
14
|
-
AbstractInteractionContext = /** @class */ (function () {
|
|
4
|
+
var AbstractInteractionContext = /** @class */ (function () {
|
|
15
5
|
function AbstractInteractionContext() {
|
|
16
6
|
}
|
|
17
|
-
|
|
18
|
-
* @template D, R, E
|
|
19
|
-
* @param {?} activityType
|
|
20
|
-
* @param {?=} data
|
|
21
|
-
* @return {?}
|
|
22
|
-
*/
|
|
23
|
-
AbstractInteractionContext.prototype.startActivity = /**
|
|
24
|
-
* @template D, R, E
|
|
25
|
-
* @param {?} activityType
|
|
26
|
-
* @param {?=} data
|
|
27
|
-
* @return {?}
|
|
28
|
-
*/
|
|
29
|
-
function (activityType, data) {
|
|
7
|
+
AbstractInteractionContext.prototype.startActivity = function (activityType, data) {
|
|
30
8
|
return this.createAndLaunchActivity(activityType, data, false);
|
|
31
9
|
};
|
|
32
|
-
|
|
33
|
-
* @param {?} confirm
|
|
34
|
-
* @return {?}
|
|
35
|
-
*/
|
|
36
|
-
AbstractInteractionContext.prototype.confirm = /**
|
|
37
|
-
* @param {?} confirm
|
|
38
|
-
* @return {?}
|
|
39
|
-
*/
|
|
40
|
-
function (confirm) {
|
|
10
|
+
AbstractInteractionContext.prototype.confirm = function (confirm) {
|
|
41
11
|
// Important: we have to implement confirmOrReject as the main entry point
|
|
42
12
|
// as the canDeactivation guards need to be able to cancel an interaction
|
|
43
13
|
// without caring about returning a value.
|
|
44
|
-
return this.confirmOrReject(confirm).then((
|
|
45
|
-
* @return {?}
|
|
46
|
-
*/
|
|
47
|
-
function () { return true; })).catch((/**
|
|
48
|
-
* @return {?}
|
|
49
|
-
*/
|
|
50
|
-
function () { return false; }));
|
|
14
|
+
return this.confirmOrReject(confirm).then(function () { return true; }).catch(function () { return false; });
|
|
51
15
|
};
|
|
52
|
-
|
|
53
|
-
* @param {?} alert
|
|
54
|
-
* @return {?}
|
|
55
|
-
*/
|
|
56
|
-
AbstractInteractionContext.prototype.alert = /**
|
|
57
|
-
* @param {?} alert
|
|
58
|
-
* @return {?}
|
|
59
|
-
*/
|
|
60
|
-
function (alert) {
|
|
16
|
+
AbstractInteractionContext.prototype.alert = function (alert) {
|
|
61
17
|
// TODO: Test disableClose === false
|
|
62
18
|
return this.createAndLaunchActivity(AlertDialogComponent, alert, false);
|
|
63
19
|
};
|
|
64
|
-
|
|
65
|
-
* @param {?} confirm
|
|
66
|
-
* @return {?}
|
|
67
|
-
*/
|
|
68
|
-
AbstractInteractionContext.prototype.confirmOrReject = /**
|
|
69
|
-
* @param {?} confirm
|
|
70
|
-
* @return {?}
|
|
71
|
-
*/
|
|
72
|
-
function (confirm) {
|
|
20
|
+
AbstractInteractionContext.prototype.confirmOrReject = function (confirm) {
|
|
73
21
|
return this.createAndLaunchActivity(ConfirmationDialogComponent, confirm, true);
|
|
74
22
|
};
|
|
75
23
|
/**
|
|
@@ -78,23 +26,7 @@ AbstractInteractionContext = /** @class */ (function () {
|
|
|
78
26
|
* @param activityType the activity to run if confirmed.
|
|
79
27
|
* @param data the activity data.
|
|
80
28
|
*/
|
|
81
|
-
|
|
82
|
-
* Presents the confirmation to the user and runs the activity only if the user confirms.
|
|
83
|
-
* @template D, R, E
|
|
84
|
-
* @param {?} confirm
|
|
85
|
-
* @param {?} activityType the activity to run if confirmed.
|
|
86
|
-
* @param {?=} data the activity data.
|
|
87
|
-
* @return {?}
|
|
88
|
-
*/
|
|
89
|
-
AbstractInteractionContext.prototype.confirmThen = /**
|
|
90
|
-
* Presents the confirmation to the user and runs the activity only if the user confirms.
|
|
91
|
-
* @template D, R, E
|
|
92
|
-
* @param {?} confirm
|
|
93
|
-
* @param {?} activityType the activity to run if confirmed.
|
|
94
|
-
* @param {?=} data the activity data.
|
|
95
|
-
* @return {?}
|
|
96
|
-
*/
|
|
97
|
-
function (confirm, activityType, data) {
|
|
29
|
+
AbstractInteractionContext.prototype.confirmThen = function (confirm, activityType, data) {
|
|
98
30
|
return this.createAndLaunchActivity(ConfirmThenDialogComponent, {
|
|
99
31
|
confirm: confirm,
|
|
100
32
|
activityType: activityType,
|
|
@@ -103,44 +35,5 @@ AbstractInteractionContext = /** @class */ (function () {
|
|
|
103
35
|
};
|
|
104
36
|
return AbstractInteractionContext;
|
|
105
37
|
}());
|
|
106
|
-
/**
|
|
107
|
-
* @abstract
|
|
108
|
-
*/
|
|
109
38
|
export { AbstractInteractionContext };
|
|
110
|
-
if (false) {
|
|
111
|
-
/** @type {?} */
|
|
112
|
-
AbstractInteractionContext.prototype.identifier;
|
|
113
|
-
/**
|
|
114
|
-
* @abstract
|
|
115
|
-
* @return {?}
|
|
116
|
-
*/
|
|
117
|
-
AbstractInteractionContext.prototype.cancelActiveActivity = function () { };
|
|
118
|
-
/**
|
|
119
|
-
* @abstract
|
|
120
|
-
* @return {?}
|
|
121
|
-
*/
|
|
122
|
-
AbstractInteractionContext.prototype.dispose = function () { };
|
|
123
|
-
/**
|
|
124
|
-
* @abstract
|
|
125
|
-
* @template T
|
|
126
|
-
* @param {?} disposable
|
|
127
|
-
* @return {?}
|
|
128
|
-
*/
|
|
129
|
-
AbstractInteractionContext.prototype.registerDisposable = function (disposable) { };
|
|
130
|
-
/**
|
|
131
|
-
* @abstract
|
|
132
|
-
* @return {?}
|
|
133
|
-
*/
|
|
134
|
-
AbstractInteractionContext.prototype.isActive = function () { };
|
|
135
|
-
/**
|
|
136
|
-
* @abstract
|
|
137
|
-
* @protected
|
|
138
|
-
* @template D, R, E
|
|
139
|
-
* @param {?} activityType
|
|
140
|
-
* @param {?} data
|
|
141
|
-
* @param {?} disableClose
|
|
142
|
-
* @return {?}
|
|
143
|
-
*/
|
|
144
|
-
AbstractInteractionContext.prototype.createAndLaunchActivity = function (activityType, data, disableClose) { };
|
|
145
|
-
}
|
|
146
39
|
//# sourceMappingURL=abstract-interaction-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstract-interaction-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/abstract-interaction-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"abstract-interaction-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/abstract-interaction-context.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,2BAA2B,EAAE,MAAM,gEAAgE,CAAC;AAI7G;IAAA;IA6CA,CAAC;IAjCC,kDAAa,GAAb,UAAuB,YAA8C,EAAE,IAAQ;QAC7E,OAAO,IAAI,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;IAED,4CAAO,GAAP,UAAQ,OAAgB;QACtB,0EAA0E;QAC1E,yEAAyE;QACzE,0CAA0C;QAC1C,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,cAAM,OAAA,IAAI,EAAJ,CAAI,CAAC,CAAC,KAAK,CAAC,cAAM,OAAA,KAAK,EAAL,CAAK,CAAC,CAAC;IAC3E,CAAC;IAED,0CAAK,GAAL,UAAM,KAAY;QAChB,oCAAoC;QACpC,OAAO,IAAI,CAAC,uBAAuB,CAAC,oBAAoB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC1E,CAAC;IAED,oDAAe,GAAf,UAAgB,OAAgB;QAC9B,OAAO,IAAI,CAAC,uBAAuB,CAAC,2BAA2B,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IACD;;;;;OAKG;IACH,gDAAW,GAAX,UAAqB,OAAgB,EAAE,YAA8C,EAAE,IAAQ;QAC7F,OAAO,IAAI,CAAC,uBAAuB,CAAiD,0BAA0B,EAAE;YAC9G,OAAO,SAAA;YACP,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,IAAI;SACX,EAAE,IAAI,CAAC,CAAC;IACX,CAAC;IAEH,iCAAC;AAAD,CAAC,AA7CD,IA6CC","sourcesContent":["import { Constructable, Disposable, ValueModel } from '@coolon/pectin';\nimport { Activity } from './activity';\nimport { Alert } from './alert';\nimport { AlertDialogComponent } from './components/alert-dialog/alert-dialog.component';\nimport { ConfirmThenDialogComponent } from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport { ConfirmationDialogComponent } from './components/confirmation-dialog/confirmation-dialog.component';\nimport { Confirm } from './confirm';\nimport { InteractionContext } from './interaction-context';\n\nexport abstract class AbstractInteractionContext implements InteractionContext {\n abstract readonly identifier: string;\n\n abstract cancelActiveActivity(): Promise<boolean>;\n\n abstract dispose(): void;\n\n abstract registerDisposable<T extends Disposable>(disposable: T): T;\n abstract isActive(): boolean;\n\n protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, disableClose: boolean): Promise<R>;\n\n startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R> {\n return this.createAndLaunchActivity(activityType, data, false);\n }\n\n confirm(confirm: Confirm): Promise<boolean> {\n // Important: we have to implement confirmOrReject as the main entry point\n // as the canDeactivation guards need to be able to cancel an interaction\n // without caring about returning a value.\n return this.confirmOrReject(confirm).then(() => true).catch(() => false);\n }\n\n alert(alert: Alert): Promise<void> {\n // TODO: Test disableClose === false\n return this.createAndLaunchActivity(AlertDialogComponent, alert, false);\n }\n\n confirmOrReject(confirm: Confirm): Promise<void> {\n return this.createAndLaunchActivity(ConfirmationDialogComponent, confirm, true);\n }\n /**\n * Presents the confirmation to the user and runs the activity only if the user confirms.\n * @param confirm:Confirm the confirmation to display.\n * @param activityType the activity to run if confirmed.\n * @param data the activity data.\n */\n confirmThen<D, R, E>(confirm: Confirm, activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R> {\n return this.createAndLaunchActivity<ConfirmThenDialogComponent.Data<D, R, E>, R, E>(ConfirmThenDialogComponent, {\n confirm,\n activityType: activityType,\n data: data\n }, true);\n }\n\n}\n"]}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
1
|
import { assert, Deferred } from '@coolon/pectin';
|
|
6
|
-
/**
|
|
7
|
-
* @template D, R, E
|
|
8
|
-
*/
|
|
9
|
-
var /**
|
|
10
|
-
* @template D, R, E
|
|
11
|
-
*/
|
|
12
|
-
ActivityRef = /** @class */ (function () {
|
|
2
|
+
var ActivityRef = /** @class */ (function () {
|
|
13
3
|
function ActivityRef(activityClass, activityData, onComplete) {
|
|
14
4
|
this.activityClass = activityClass;
|
|
15
5
|
this.activityData = activityData;
|
|
@@ -17,105 +7,44 @@ ActivityRef = /** @class */ (function () {
|
|
|
17
7
|
this._complete = false;
|
|
18
8
|
this.deferredResult = Deferred.defer();
|
|
19
9
|
}
|
|
20
|
-
|
|
21
|
-
* @return {?}
|
|
22
|
-
*/
|
|
23
|
-
ActivityRef.prototype.isActivityRealised = /**
|
|
24
|
-
* @return {?}
|
|
25
|
-
*/
|
|
26
|
-
function () {
|
|
10
|
+
ActivityRef.prototype.isActivityRealised = function () {
|
|
27
11
|
return !!this._activity;
|
|
28
12
|
};
|
|
29
|
-
|
|
30
|
-
* @return {?}
|
|
31
|
-
*/
|
|
32
|
-
ActivityRef.prototype.isComplete = /**
|
|
33
|
-
* @return {?}
|
|
34
|
-
*/
|
|
35
|
-
function () {
|
|
13
|
+
ActivityRef.prototype.isComplete = function () {
|
|
36
14
|
return this._complete;
|
|
37
15
|
};
|
|
38
16
|
Object.defineProperty(ActivityRef.prototype, "activity", {
|
|
39
|
-
get:
|
|
40
|
-
* @return {?}
|
|
41
|
-
*/
|
|
42
|
-
function () {
|
|
17
|
+
get: function () {
|
|
43
18
|
assert.isTruthy(this.isActivityRealised());
|
|
44
19
|
return this._activity;
|
|
45
20
|
},
|
|
46
21
|
enumerable: true,
|
|
47
22
|
configurable: true
|
|
48
23
|
});
|
|
49
|
-
|
|
50
|
-
* @param {?} activity
|
|
51
|
-
* @param {?} nestedInteractionContext
|
|
52
|
-
* @return {?}
|
|
53
|
-
*/
|
|
54
|
-
ActivityRef.prototype.notifyActivityCreated = /**
|
|
55
|
-
* @param {?} activity
|
|
56
|
-
* @param {?} nestedInteractionContext
|
|
57
|
-
* @return {?}
|
|
58
|
-
*/
|
|
59
|
-
function (activity, nestedInteractionContext) {
|
|
24
|
+
ActivityRef.prototype.notifyActivityCreated = function (activity, nestedInteractionContext) {
|
|
60
25
|
assert.isNil(this._activity);
|
|
61
26
|
this._activity = activity;
|
|
62
|
-
/** @type {?} */
|
|
63
27
|
var self = this;
|
|
64
28
|
this._activity.initialise(nestedInteractionContext, {
|
|
65
|
-
onDone:
|
|
66
|
-
|
|
67
|
-
* @return {?}
|
|
68
|
-
*/
|
|
69
|
-
function (result) {
|
|
70
|
-
self.finishActivity((/**
|
|
71
|
-
* @param {?} deferred
|
|
72
|
-
* @return {?}
|
|
73
|
-
*/
|
|
74
|
-
function (deferred) { return deferred.resolve(result); }));
|
|
29
|
+
onDone: function (result) {
|
|
30
|
+
self.finishActivity(function (deferred) { return deferred.resolve(result); });
|
|
75
31
|
},
|
|
76
|
-
onCancel:
|
|
77
|
-
|
|
78
|
-
* @return {?}
|
|
79
|
-
*/
|
|
80
|
-
function (error) {
|
|
81
|
-
self.finishActivity((/**
|
|
82
|
-
* @param {?} deferred
|
|
83
|
-
* @return {?}
|
|
84
|
-
*/
|
|
85
|
-
function (deferred) { return deferred.reject(error); }));
|
|
32
|
+
onCancel: function (error) {
|
|
33
|
+
self.finishActivity(function (deferred) { return deferred.reject(error); });
|
|
86
34
|
}
|
|
87
35
|
});
|
|
88
36
|
};
|
|
89
|
-
|
|
90
|
-
* @protected
|
|
91
|
-
* @param {?} resolveOrReject
|
|
92
|
-
* @return {?}
|
|
93
|
-
*/
|
|
94
|
-
ActivityRef.prototype.finishActivity = /**
|
|
95
|
-
* @protected
|
|
96
|
-
* @param {?} resolveOrReject
|
|
97
|
-
* @return {?}
|
|
98
|
-
*/
|
|
99
|
-
function (resolveOrReject) {
|
|
37
|
+
ActivityRef.prototype.finishActivity = function (resolveOrReject) {
|
|
100
38
|
assert.isFalsey(this.isComplete());
|
|
101
39
|
resolveOrReject(this.deferredResult);
|
|
102
40
|
this._complete = true;
|
|
103
41
|
this.onComplete(this);
|
|
104
42
|
};
|
|
105
|
-
|
|
106
|
-
* @return {?}
|
|
107
|
-
*/
|
|
108
|
-
ActivityRef.prototype.cancel = /**
|
|
109
|
-
* @return {?}
|
|
110
|
-
*/
|
|
111
|
-
function () {
|
|
43
|
+
ActivityRef.prototype.cancel = function () {
|
|
112
44
|
this.activity.cancel();
|
|
113
45
|
};
|
|
114
46
|
Object.defineProperty(ActivityRef.prototype, "activityResult", {
|
|
115
|
-
get:
|
|
116
|
-
* @return {?}
|
|
117
|
-
*/
|
|
118
|
-
function () {
|
|
47
|
+
get: function () {
|
|
119
48
|
return this.deferredResult.promise;
|
|
120
49
|
},
|
|
121
50
|
enumerable: true,
|
|
@@ -123,31 +52,5 @@ ActivityRef = /** @class */ (function () {
|
|
|
123
52
|
});
|
|
124
53
|
return ActivityRef;
|
|
125
54
|
}());
|
|
126
|
-
/**
|
|
127
|
-
* @template D, R, E
|
|
128
|
-
*/
|
|
129
55
|
export { ActivityRef };
|
|
130
|
-
if (false) {
|
|
131
|
-
/**
|
|
132
|
-
* @type {?}
|
|
133
|
-
* @private
|
|
134
|
-
*/
|
|
135
|
-
ActivityRef.prototype._complete;
|
|
136
|
-
/**
|
|
137
|
-
* @type {?}
|
|
138
|
-
* @private
|
|
139
|
-
*/
|
|
140
|
-
ActivityRef.prototype._activity;
|
|
141
|
-
/**
|
|
142
|
-
* @type {?}
|
|
143
|
-
* @private
|
|
144
|
-
*/
|
|
145
|
-
ActivityRef.prototype.deferredResult;
|
|
146
|
-
/** @type {?} */
|
|
147
|
-
ActivityRef.prototype.activityClass;
|
|
148
|
-
/** @type {?} */
|
|
149
|
-
ActivityRef.prototype.activityData;
|
|
150
|
-
/** @type {?} */
|
|
151
|
-
ActivityRef.prototype.onComplete;
|
|
152
|
-
}
|
|
153
56
|
//# sourceMappingURL=activity-ref.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-ref.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity-ref.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"activity-ref.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,QAAQ,EAAS,MAAM,gBAAgB,CAAC;AAIxE;IAME,qBAAqB,aAA+C,EAC/C,YAAe,EACf,UAAuD;QAFvD,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAG;QACf,eAAU,GAAV,UAAU,CAA6C;QANpE,cAAS,GAAG,KAAK,CAAC;QAElB,mBAAc,GAAG,QAAQ,CAAC,KAAK,EAAK,CAAC;IAK7C,CAAC;IAED,wCAAkB,GAAlB;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,gCAAU,GAAV;QACE,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,sBAAI,iCAAQ;aAAZ;YACE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;YAC3C,OAAO,IAAI,CAAC,SAAS,CAAC;QACxB,CAAC;;;OAAA;IAED,2CAAqB,GAArB,UAAsB,QAA2B,EAAE,wBAA4C;QAC7F,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,wBAAwB,EAAE;YAClD,MAAM,EAAN,UAAO,MAAS;gBACd,IAAI,CAAC,cAAc,CAAC,UAAA,QAAQ,IAAI,OAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,EAAxB,CAAwB,CAAC,CAAC;YAC5D,CAAC;YACD,QAAQ,EAAR,UAAS,KAAQ;gBACf,IAAI,CAAC,cAAc,CAAC,UAAA,QAAQ,IAAI,OAAA,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EAAtB,CAAsB,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC,CAAC;IACL,CAAC;IAES,oCAAc,GAAxB,UAAyB,eAAgD;QAEvE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QACnC,eAAe,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,4BAAM,GAAN;QACE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;IAED,sBAAI,uCAAc;aAAlB;YACE,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;QACrC,CAAC;;;OAAA;IAEH,kBAAC;AAAD,CAAC,AAtDD,IAsDC","sourcesContent":["import { assert, Constructable, Deferred, Trace } from '@coolon/pectin';\nimport { Activity } from './activity';\nimport { InteractionContext } from './interaction-context';\n\nexport class ActivityRef<D, R, E> {\n\n private _complete = false;\n private _activity: Activity<D, R, E>;\n private deferredResult = Deferred.defer<R>();\n\n constructor(readonly activityClass: Constructable<Activity<D, R, E>>,\n readonly activityData: D,\n readonly onComplete: (activityRef: ActivityRef<D, R, E>) => void) {\n }\n\n isActivityRealised(): boolean {\n return !!this._activity;\n }\n\n isComplete() {\n return this._complete;\n }\n\n get activity(): Activity<D, R, E> {\n assert.isTruthy(this.isActivityRealised());\n return this._activity;\n }\n\n notifyActivityCreated(activity: Activity<D, R, E>, nestedInteractionContext: InteractionContext) {\n assert.isNil(this._activity);\n this._activity = activity;\n const self = this;\n this._activity.initialise(nestedInteractionContext, {\n onDone(result: R) {\n self.finishActivity(deferred => deferred.resolve(result));\n },\n onCancel(error: E) {\n self.finishActivity(deferred => deferred.reject(error));\n }\n });\n }\n\n protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void) {\n\n assert.isFalsey(this.isComplete());\n resolveOrReject(this.deferredResult);\n this._complete = true;\n this.onComplete(this);\n }\n\n cancel() {\n this.activity.cancel();\n }\n\n get activityResult(): Promise<R> {\n return this.deferredResult.promise;\n }\n\n}\n"]}
|
|
@@ -1,163 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
1
|
+
import { __extends } from "tslib";
|
|
6
2
|
import { InjectionToken } from '@angular/core';
|
|
7
3
|
import { DelegatingValueModel, GarbageCollector } from '@coolon/pectin';
|
|
8
4
|
import { assert } from '@coolon/typescript-utilities';
|
|
9
|
-
/** @type {?} */
|
|
10
5
|
export var ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
* @template D, R, E
|
|
14
|
-
*/
|
|
15
|
-
var /**
|
|
16
|
-
* @abstract
|
|
17
|
-
* @template D, R, E
|
|
18
|
-
*/
|
|
19
|
-
Activity = /** @class */ (function (_super) {
|
|
20
|
-
tslib_1.__extends(Activity, _super);
|
|
6
|
+
var Activity = /** @class */ (function (_super) {
|
|
7
|
+
__extends(Activity, _super);
|
|
21
8
|
function Activity() {
|
|
22
9
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
23
10
|
_this._busyModel = new DelegatingValueModel().withDefault(false);
|
|
24
11
|
return _this;
|
|
25
12
|
}
|
|
26
|
-
|
|
27
|
-
* @param {?} nestedInteractionContext
|
|
28
|
-
* @param {?} activityContext
|
|
29
|
-
* @return {?}
|
|
30
|
-
*/
|
|
31
|
-
Activity.prototype.initialise = /**
|
|
32
|
-
* @param {?} nestedInteractionContext
|
|
33
|
-
* @param {?} activityContext
|
|
34
|
-
* @return {?}
|
|
35
|
-
*/
|
|
36
|
-
function (nestedInteractionContext, activityContext) {
|
|
13
|
+
Activity.prototype.initialise = function (nestedInteractionContext, activityContext) {
|
|
37
14
|
assert.isNil(this._activityContext);
|
|
38
15
|
this._activityContext = activityContext;
|
|
39
16
|
this._interactionContext = nestedInteractionContext;
|
|
40
17
|
};
|
|
41
18
|
Object.defineProperty(Activity.prototype, "interactionContext", {
|
|
42
|
-
get:
|
|
43
|
-
* @return {?}
|
|
44
|
-
*/
|
|
45
|
-
function () {
|
|
19
|
+
get: function () {
|
|
46
20
|
assert.isTruthy(this.isInitialised());
|
|
47
21
|
return this._interactionContext;
|
|
48
22
|
},
|
|
49
23
|
enumerable: true,
|
|
50
24
|
configurable: true
|
|
51
25
|
});
|
|
52
|
-
|
|
53
|
-
* @param {?=} result
|
|
54
|
-
* @return {?}
|
|
55
|
-
*/
|
|
56
|
-
Activity.prototype.done = /**
|
|
57
|
-
* @param {?=} result
|
|
58
|
-
* @return {?}
|
|
59
|
-
*/
|
|
60
|
-
function (result) {
|
|
26
|
+
Activity.prototype.done = function (result) {
|
|
61
27
|
return this._activityContext.onDone(result);
|
|
62
28
|
};
|
|
63
|
-
|
|
64
|
-
* @param {?=} error
|
|
65
|
-
* @return {?}
|
|
66
|
-
*/
|
|
67
|
-
Activity.prototype.cancel = /**
|
|
68
|
-
* @param {?=} error
|
|
69
|
-
* @return {?}
|
|
70
|
-
*/
|
|
71
|
-
function (error) {
|
|
29
|
+
Activity.prototype.cancel = function (error) {
|
|
72
30
|
this._activityContext.onCancel(error);
|
|
73
31
|
};
|
|
74
32
|
// @Trace()
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @return {?}
|
|
78
|
-
*/
|
|
79
|
-
Activity.prototype.onActivityReady =
|
|
80
|
-
// @Trace()
|
|
81
|
-
/**
|
|
82
|
-
* @return {?}
|
|
83
|
-
*/
|
|
84
|
-
function () {
|
|
33
|
+
Activity.prototype.onActivityReady = function () {
|
|
85
34
|
};
|
|
86
35
|
Object.defineProperty(Activity.prototype, "busy", {
|
|
87
|
-
get:
|
|
88
|
-
* @return {?}
|
|
89
|
-
*/
|
|
90
|
-
function () {
|
|
36
|
+
get: function () {
|
|
91
37
|
return this._busyModel.readonly;
|
|
92
38
|
},
|
|
93
39
|
enumerable: true,
|
|
94
40
|
configurable: true
|
|
95
41
|
});
|
|
96
|
-
|
|
97
|
-
* @param {?} busyModel
|
|
98
|
-
* @return {?}
|
|
99
|
-
*/
|
|
100
|
-
Activity.prototype.busyWhile = /**
|
|
101
|
-
* @param {?} busyModel
|
|
102
|
-
* @return {?}
|
|
103
|
-
*/
|
|
104
|
-
function (busyModel) {
|
|
42
|
+
Activity.prototype.busyWhile = function (busyModel) {
|
|
105
43
|
this._busyModel.setDelegate(busyModel);
|
|
106
44
|
};
|
|
107
|
-
|
|
108
|
-
* @return {?}
|
|
109
|
-
*/
|
|
110
|
-
Activity.prototype.isBusy = /**
|
|
111
|
-
* @return {?}
|
|
112
|
-
*/
|
|
113
|
-
function () {
|
|
45
|
+
Activity.prototype.isBusy = function () {
|
|
114
46
|
return this._busyModel.value;
|
|
115
47
|
};
|
|
116
|
-
|
|
117
|
-
* @return {?}
|
|
118
|
-
*/
|
|
119
|
-
Activity.prototype.isInitialised = /**
|
|
120
|
-
* @return {?}
|
|
121
|
-
*/
|
|
122
|
-
function () {
|
|
48
|
+
Activity.prototype.isInitialised = function () {
|
|
123
49
|
return !!this._activityContext;
|
|
124
50
|
};
|
|
125
51
|
return Activity;
|
|
126
52
|
}(GarbageCollector));
|
|
127
|
-
/**
|
|
128
|
-
* @abstract
|
|
129
|
-
* @template D, R, E
|
|
130
|
-
*/
|
|
131
53
|
export { Activity };
|
|
132
|
-
if (false) {
|
|
133
|
-
/**
|
|
134
|
-
* @type {?}
|
|
135
|
-
* @private
|
|
136
|
-
*/
|
|
137
|
-
Activity.prototype._busyModel;
|
|
138
|
-
/**
|
|
139
|
-
* @type {?}
|
|
140
|
-
* @private
|
|
141
|
-
*/
|
|
142
|
-
Activity.prototype._activityContext;
|
|
143
|
-
/**
|
|
144
|
-
* @type {?}
|
|
145
|
-
* @private
|
|
146
|
-
*/
|
|
147
|
-
Activity.prototype._interactionContext;
|
|
148
|
-
}
|
|
149
|
-
(function (Activity) {
|
|
150
|
-
/**
|
|
151
|
-
* @record
|
|
152
|
-
* @template R, E
|
|
153
|
-
*/
|
|
154
|
-
function Callbacks() { }
|
|
155
|
-
Activity.Callbacks = Callbacks;
|
|
156
|
-
if (false) {
|
|
157
|
-
/** @type {?} */
|
|
158
|
-
Callbacks.prototype.onDone;
|
|
159
|
-
/** @type {?} */
|
|
160
|
-
Callbacks.prototype.onCancel;
|
|
161
|
-
}
|
|
162
|
-
})(Activity || (Activity = {}));
|
|
163
54
|
//# sourceMappingURL=activity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAqB,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD,MAAM,CAAC,IAAM,aAAa,GAAG,IAAI,cAAc,CAAM,yBAAyB,CAAC,CAAC;AAEhF;IAAsD,4BAAgB;IAAtE;QAAA,qEA+CC;QA7CkB,gBAAU,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;;IA6CvF,CAAC;IAvCC,6BAAU,GAAV,UAAW,wBAA4C,EAAE,eAAyC;QAChG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,wBAAwB,CAAC;IACtD,CAAC;IAED,sBAAI,wCAAkB;aAAtB;YACE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;YACtC,OAAO,IAAI,CAAC,mBAAmB,CAAC;QAClC,CAAC;;;OAAA;IAED,uBAAI,GAAJ,UAAK,MAAU;QACb,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAED,yBAAM,GAAN,UAAO,KAAS;QACd,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,WAAW;IACX,kCAAe,GAAf;IACA,CAAC;IAGD,sBAAI,0BAAI;aAAR;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAClC,CAAC;;;OAAA;IAED,4BAAS,GAAT,UAAU,SAA8B;QACtC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;IAED,yBAAM,GAAN;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;IAED,gCAAa,GAAb;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IACH,eAAC;AAAD,CAAC,AA/CD,CAAsD,gBAAgB,GA+CrE","sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, GarbageCollector, Trace, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\nimport { InteractionContext } from './interaction-context';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\nexport abstract class Activity<D, R, E = any> extends GarbageCollector {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _activityContext: Activity.Callbacks<R, E>;\n\n // @Trace()\n private _interactionContext: InteractionContext;\n\n initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Callbacks<R, E>): void {\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n this._interactionContext = nestedInteractionContext;\n }\n\n get interactionContext() {\n assert.isTruthy(this.isInitialised());\n return this._interactionContext;\n }\n\n done(result?: R): void {\n return this._activityContext.onDone(result);\n }\n\n cancel(error?: E): void {\n this._activityContext.onCancel(error);\n }\n\n // @Trace()\n onActivityReady() {\n }\n\n\n get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n busyWhile(busyModel: ValueModel<boolean>) {\n this._busyModel.setDelegate(busyModel);\n }\n\n isBusy() {\n return this._busyModel.value;\n }\n\n isInitialised() {\n return !!this._activityContext;\n }\n}\n\nexport namespace Activity {\n\n export interface Callbacks<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n }\n}\n"]}
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function Alert() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/**
|
|
11
|
-
* @return {?}
|
|
12
|
-
*/
|
|
13
|
-
Alert.prototype.title = function () { };
|
|
14
|
-
/**
|
|
15
|
-
* @return {?}
|
|
16
|
-
*/
|
|
17
|
-
Alert.prototype.content = function () { };
|
|
18
|
-
/**
|
|
19
|
-
* @return {?}
|
|
20
|
-
*/
|
|
21
|
-
Alert.prototype.ok = function () { };
|
|
22
|
-
}
|
|
23
1
|
//# sourceMappingURL=alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/alert.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/alert.ts"],"names":[],"mappings":"","sourcesContent":["export interface Alert {\n title?(): string;\n\n content(): string[];\n\n ok(): string;\n}\n"]}
|