@coolon/angular-ui-powerups 0.0.125 → 0.0.128
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/bundles/coolon-angular-ui-powerups.umd.js +3743 -3012
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +17 -18
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +16 -17
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/index.js +1 -1
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/abstract-interaction-context.js +104 -0
- package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -0
- package/esm2015/lib/interaction/abstract-interaction-context.metadata.json +1 -0
- package/esm2015/lib/interaction/activity-ref.js +123 -0
- package/esm2015/lib/interaction/activity-ref.js.map +1 -0
- package/esm2015/lib/interaction/activity-ref.metadata.json +1 -0
- package/esm2015/lib/interaction/activity.js +21 -1
- package/esm2015/lib/interaction/activity.js.map +1 -1
- package/esm2015/lib/interaction/activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +199 -230
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/{activity-outlet → activity-container/activity-outlet}/activity-outlet.component.js +24 -31
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -0
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -0
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +2 -3
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +4 -11
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +2 -3
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +113 -0
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -0
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -0
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/interaction/index.js +7 -6
- package/esm2015/lib/interaction/index.js.map +1 -1
- package/esm2015/lib/interaction/index.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction-context.js +12 -67
- package/esm2015/lib/interaction/interaction-context.js.map +1 -1
- package/esm2015/lib/interaction/interaction-context.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.js +4 -4
- 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/route-synchronisation-adapter.js +17 -0
- package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +1 -0
- package/esm2015/lib/interaction/route-synchronisation-adapter.metadata.json +1 -0
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js +72 -0
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -0
- package/esm2015/lib/interaction/services/interaction-service-routing-adapter.metadata.json +1 -0
- package/esm2015/lib/interaction/services/interaction.service.js +174 -104
- 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 +4 -2
- 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 +79 -87
- 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 +3 -1
- package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +27 -6
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +9 -3
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +98 -110
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +9 -3
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/guards/place.guard.js +14 -13
- package/esm2015/lib/place/guards/place.guard.js.map +1 -1
- package/esm2015/lib/place/guards/place.guard.metadata.json +1 -1
- package/esm2015/lib/place/index.js +15 -2
- package/esm2015/lib/place/index.js.map +1 -1
- package/esm2015/lib/place/index.metadata.json +1 -1
- package/esm2015/lib/place/{guards → navigation}/place-component-deactivation-handler.js +28 -22
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -0
- package/esm2015/lib/place/navigation/place-component-deactivation-handler.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js +37 -0
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -0
- package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +19 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +95 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +132 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +123 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -0
- package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js +62 -0
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -0
- package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +48 -0
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -0
- package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +104 -0
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -0
- package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +141 -0
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -0
- package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/navigating.js +54 -0
- package/esm2015/lib/place/navigation/session/navigating.js.map +1 -0
- package/esm2015/lib/place/navigation/session/navigating.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/navigation-context.js +38 -0
- package/esm2015/lib/place/navigation/session/navigation-context.js.map +1 -0
- package/esm2015/lib/place/navigation/session/navigation-context.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/navigation-session.js +326 -0
- package/esm2015/lib/place/navigation/session/navigation-session.js.map +1 -0
- package/esm2015/lib/place/navigation/session/navigation-session.metadata.json +1 -0
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js +31 -0
- package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +1 -0
- package/esm2015/lib/place/navigation/session/pop-state-navigation.metadata.json +1 -0
- package/esm2015/lib/place/place-component.js +47 -22
- 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-router.js +314 -309
- 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.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/parameter-decorators.js +1 -0
- package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
- package/esm2015/lib/place/url-service.js +126 -0
- package/esm2015/lib/place/url-service.js.map +1 -0
- package/esm2015/lib/place/url-service.metadata.json +1 -0
- package/esm2015/lib/place/url-service.ngfactory.js.map +1 -0
- package/esm2015/lib/place/url-snapshot.js +15 -1
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
- package/esm2015/lib/place/visit.js +10 -0
- package/esm2015/lib/place/visit.js.map +1 -1
- package/esm2015/lib/place/visit.metadata.json +1 -1
- package/esm2015/public_api.js +2 -2
- package/esm2015/public_api.js.map +1 -1
- package/esm5/coolon-angular-ui-powerups.js +16 -17
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/index.js +1 -1
- package/esm5/index.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/interaction/abstract-interaction-context.js +146 -0
- package/esm5/lib/interaction/abstract-interaction-context.js.map +1 -0
- package/esm5/lib/interaction/activity-ref.js +153 -0
- package/esm5/lib/interaction/activity-ref.js.map +1 -0
- package/esm5/lib/interaction/activity.js +29 -1
- package/esm5/lib/interaction/activity.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +273 -265
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm5/lib/interaction/components/{activity-outlet → activity-container/activity-outlet}/activity-outlet.component.js +25 -32
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -0
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -0
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js +2 -3
- 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 +4 -10
- 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 +2 -3
- 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 +158 -0
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -0
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -0
- package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/interaction/index.js +7 -6
- package/esm5/lib/interaction/index.js.map +1 -1
- package/esm5/lib/interaction/interaction-context.js +12 -106
- package/esm5/lib/interaction/interaction-context.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.js +4 -4
- 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/route-synchronisation-adapter.js +17 -0
- package/esm5/lib/interaction/route-synchronisation-adapter.js.map +1 -0
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js +98 -0
- package/esm5/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -0
- package/esm5/lib/interaction/services/interaction.service.js +243 -117
- package/esm5/lib/interaction/services/interaction.service.js.map +1 -1
- package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +6 -2
- 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 +96 -107
- 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 +3 -1
- package/esm5/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
- package/esm5/lib/place/components/abstract-place-navigation.component.js +24 -6
- package/esm5/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +6 -3
- 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 +130 -129
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +6 -3
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/guards/place.guard.js +17 -13
- package/esm5/lib/place/guards/place.guard.js.map +1 -1
- package/esm5/lib/place/index.js +15 -2
- package/esm5/lib/place/index.js.map +1 -1
- package/esm5/lib/place/{guards → navigation}/place-component-deactivation-handler.js +45 -21
- package/esm5/lib/place/navigation/place-component-deactivation-handler.js.map +1 -0
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js +49 -0
- package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -0
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +36 -0
- package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -0
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +151 -0
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -0
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +221 -0
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +1 -0
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +186 -0
- package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -0
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js +107 -0
- package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -0
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +77 -0
- package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -0
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +167 -0
- package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -0
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +185 -0
- package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -0
- package/esm5/lib/place/navigation/session/navigating.js +75 -0
- package/esm5/lib/place/navigation/session/navigating.js.map +1 -0
- package/esm5/lib/place/navigation/session/navigation-context.js +32 -0
- package/esm5/lib/place/navigation/session/navigation-context.js.map +1 -0
- package/esm5/lib/place/navigation/session/navigation-session.js +450 -0
- package/esm5/lib/place/navigation/session/navigation-session.js.map +1 -0
- package/esm5/lib/place/navigation/session/pop-state-navigation.js +50 -0
- package/esm5/lib/place/navigation/session/pop-state-navigation.js.map +1 -0
- package/esm5/lib/place/place-component.js +66 -25
- package/esm5/lib/place/place-component.js.map +1 -1
- package/esm5/lib/place/place-router.js +414 -401
- package/esm5/lib/place/place-router.js.map +1 -1
- 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/parameter-decorators.js +1 -0
- package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm5/lib/place/url-service.js +176 -0
- package/esm5/lib/place/url-service.js.map +1 -0
- package/esm5/lib/place/url-service.ngfactory.js.map +1 -0
- package/esm5/lib/place/url-snapshot.js +22 -1
- package/esm5/lib/place/url-snapshot.js.map +1 -1
- package/esm5/lib/place/visit.js +14 -0
- package/esm5/lib/place/visit.js.map +1 -1
- package/esm5/public_api.js +2 -2
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +2641 -2268
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +3703 -2984
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/abstract-interaction-context.d.ts +24 -0
- package/lib/interaction/activity-ref.d.ts +19 -0
- package/lib/interaction/activity.d.ts +5 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +42 -43
- package/lib/interaction/components/{activity-outlet → activity-container/activity-outlet}/activity-outlet.component.d.ts +7 -10
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +2 -2
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +2 -5
- package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +2 -2
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +24 -0
- package/lib/interaction/index.d.ts +6 -5
- package/lib/interaction/interaction-context.d.ts +8 -29
- package/lib/interaction/route-synchronisation-adapter.d.ts +5 -0
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +15 -0
- package/lib/interaction/services/interaction.service.d.ts +52 -24
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +15 -12
- package/lib/interaction/services/modal-interaction-context.factory.d.ts +2 -1
- package/lib/place/components/abstract-place-navigation.component.d.ts +5 -3
- package/lib/place/components/list-place-nav/list-place-nav.component.d.ts +2 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +9 -10
- package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +2 -1
- package/lib/place/guards/place.guard.d.ts +4 -3
- package/lib/place/index.d.ts +15 -2
- package/lib/place/navigation/place-component-deactivation-handler.d.ts +22 -0
- package/lib/place/navigation/session/abstract-pop-state-navigation.d.ts +9 -0
- package/lib/place/navigation/session/event-cleanup/event-clean-up-session.d.ts +4 -0
- package/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.d.ts +27 -0
- package/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.d.ts +43 -0
- package/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.d.ts +33 -0
- package/lib/place/navigation/session/interactions/navigating-during-interaction.d.ts +15 -0
- package/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.d.ts +17 -0
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +24 -0
- package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +15 -0
- package/lib/place/navigation/session/navigating.d.ts +11 -0
- package/lib/place/navigation/session/navigation-context.d.ts +28 -0
- package/lib/place/navigation/session/navigation-session.d.ts +51 -0
- package/lib/place/navigation/session/pop-state-navigation.d.ts +7 -0
- package/lib/place/place-component.d.ts +6 -3
- package/lib/place/place-router.d.ts +39 -35
- package/lib/place/url-service.d.ts +30 -0
- package/lib/place/url-snapshot.d.ts +3 -1
- package/lib/place/visit.d.ts +1 -0
- package/package.json +1 -1
- package/schematics/place-routes/templates/place-routes.ts.template +4 -3
- package/esm2015/lib/interaction/abstract-activity.js +0 -13
- package/esm2015/lib/interaction/abstract-activity.js.map +0 -1
- package/esm2015/lib/interaction/abstract-activity.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet-context.js +0 -21
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet-context.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet-context.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js +0 -102
- package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js.map +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/interaction-context-base.js +0 -171
- package/esm2015/lib/interaction/interaction-context-base.js.map +0 -1
- package/esm2015/lib/interaction/interaction-context-base.metadata.json +0 -1
- package/esm2015/lib/place/guards/navigation-state.js +0 -1118
- package/esm2015/lib/place/guards/navigation-state.js.map +0 -1
- package/esm2015/lib/place/guards/navigation-state.metadata.json +0 -1
- package/esm2015/lib/place/guards/place-component-deactivation-handler.js.map +0 -1
- package/esm2015/lib/place/guards/place-component-deactivation-handler.metadata.json +0 -1
- package/esm5/lib/interaction/abstract-activity.js +0 -30
- package/esm5/lib/interaction/abstract-activity.js.map +0 -1
- package/esm5/lib/interaction/components/activity-outlet/activity-outlet-context.js +0 -21
- package/esm5/lib/interaction/components/activity-outlet/activity-outlet-context.js.map +0 -1
- package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.js.map +0 -1
- package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js +0 -119
- package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.ngfactory.js.map +0 -1
- package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/interaction/interaction-context-base.js +0 -228
- package/esm5/lib/interaction/interaction-context-base.js.map +0 -1
- package/esm5/lib/place/guards/navigation-state.js +0 -1491
- package/esm5/lib/place/guards/navigation-state.js.map +0 -1
- package/esm5/lib/place/guards/place-component-deactivation-handler.js.map +0 -1
- package/lib/interaction/abstract-activity.d.ts +0 -6
- package/lib/interaction/components/activity-outlet/activity-outlet-context.d.ts +0 -7
- package/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.d.ts +0 -17
- package/lib/interaction/interaction-context-base.d.ts +0 -29
- package/lib/place/guards/navigation-state.d.ts +0 -228
- package/lib/place/guards/place-component-deactivation-handler.d.ts +0 -15
|
@@ -2,111 +2,18 @@
|
|
|
2
2
|
* @fileoverview added by tsickle
|
|
3
3
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
4
|
*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { assert, Dsl, GarbageCollector } from '@coolon/pectin';
|
|
7
5
|
/**
|
|
8
|
-
* @
|
|
6
|
+
* @record
|
|
9
7
|
*/
|
|
10
|
-
|
|
11
|
-
* @abstract
|
|
12
|
-
*/
|
|
13
|
-
InteractionContext = /** @class */ (function (_super) {
|
|
14
|
-
tslib_1.__extends(InteractionContext, _super);
|
|
15
|
-
function InteractionContext() {
|
|
16
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Returns true if an activity is currently running.
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* Returns true if an activity is currently running.
|
|
23
|
-
* @return {?}
|
|
24
|
-
*/
|
|
25
|
-
InteractionContext.prototype.isActive = /**
|
|
26
|
-
* Returns true if an activity is currently running.
|
|
27
|
-
* @return {?}
|
|
28
|
-
*/
|
|
29
|
-
function () {
|
|
30
|
-
return this.active.value;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @return {?}
|
|
34
|
-
*/
|
|
35
|
-
InteractionContext.prototype.dispose = /**
|
|
36
|
-
* @return {?}
|
|
37
|
-
*/
|
|
38
|
-
function () {
|
|
39
|
-
// TODO: think about auto cancelling any outstanding activity on dispose.
|
|
40
|
-
// See NavigationState.Navigating for a use-case.
|
|
41
|
-
assert.isFalsey(this.isActive());
|
|
42
|
-
_super.prototype.dispose.call(this);
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Cancels the current activity and returns true the context is no longer active, false if
|
|
46
|
-
* there is still another activity running.
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* Cancels the current activity and returns true the context is no longer active, false if
|
|
50
|
-
* there is still another activity running.
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
|
-
InteractionContext.prototype.cancelActiveActivity = /**
|
|
54
|
-
* Cancels the current activity and returns true the context is no longer active, false if
|
|
55
|
-
* there is still another activity running.
|
|
56
|
-
* @return {?}
|
|
57
|
-
*/
|
|
58
|
-
function () {
|
|
59
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
60
|
-
var when, activity;
|
|
61
|
-
var _this = this;
|
|
62
|
-
return tslib_1.__generator(this, function (_a) {
|
|
63
|
-
switch (_a.label) {
|
|
64
|
-
case 0:
|
|
65
|
-
when = Dsl.disposeWith(this).when;
|
|
66
|
-
return [4 /*yield*/, this.getActiveActivity()];
|
|
67
|
-
case 1:
|
|
68
|
-
activity = _a.sent();
|
|
69
|
-
return [2 /*return*/, new Promise((/**
|
|
70
|
-
* @param {?} resolve
|
|
71
|
-
* @return {?}
|
|
72
|
-
*/
|
|
73
|
-
function (resolve) {
|
|
74
|
-
when.valueOf(_this.activeActivity)
|
|
75
|
-
.changes((/**
|
|
76
|
-
* @param {?} nextActivity
|
|
77
|
-
* @return {?}
|
|
78
|
-
*/
|
|
79
|
-
function (nextActivity) {
|
|
80
|
-
resolve(!nextActivity);
|
|
81
|
-
}), { once: true });
|
|
82
|
-
activity.cancel();
|
|
83
|
-
}))];
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
};
|
|
88
|
-
return InteractionContext;
|
|
89
|
-
}(GarbageCollector));
|
|
90
|
-
/**
|
|
91
|
-
* @abstract
|
|
92
|
-
*/
|
|
93
|
-
export { InteractionContext };
|
|
8
|
+
export function InteractionContext() { }
|
|
94
9
|
if (false) {
|
|
95
10
|
/** @type {?} */
|
|
96
|
-
InteractionContext.prototype.
|
|
97
|
-
/** @type {?} */
|
|
98
|
-
InteractionContext.prototype.activityList;
|
|
99
|
-
/** @type {?} */
|
|
100
|
-
InteractionContext.prototype.activeActivity;
|
|
11
|
+
InteractionContext.prototype.identifier;
|
|
101
12
|
/**
|
|
102
|
-
* Returns the activity that is currently active.
|
|
103
|
-
* This model is only updated in the next tick after the view has been updated.
|
|
104
|
-
* @abstract
|
|
105
13
|
* @return {?}
|
|
106
14
|
*/
|
|
107
|
-
InteractionContext.prototype.
|
|
15
|
+
InteractionContext.prototype.isActive = function () { };
|
|
108
16
|
/**
|
|
109
|
-
* @abstract
|
|
110
17
|
* @template D, R, E
|
|
111
18
|
* @param {?} activityType
|
|
112
19
|
* @param {?=} data
|
|
@@ -114,30 +21,29 @@ if (false) {
|
|
|
114
21
|
*/
|
|
115
22
|
InteractionContext.prototype.startActivity = function (activityType, data) { };
|
|
116
23
|
/**
|
|
117
|
-
* @abstract
|
|
118
|
-
* @param {?} alert
|
|
119
24
|
* @return {?}
|
|
120
25
|
*/
|
|
121
|
-
InteractionContext.prototype.
|
|
26
|
+
InteractionContext.prototype.cancelActiveActivity = function () { };
|
|
122
27
|
/**
|
|
123
|
-
* @abstract
|
|
124
28
|
* @param {?} confirm
|
|
125
29
|
* @return {?}
|
|
126
30
|
*/
|
|
127
31
|
InteractionContext.prototype.confirm = function (confirm) { };
|
|
128
32
|
/**
|
|
129
|
-
* @
|
|
33
|
+
* @param {?} alert
|
|
34
|
+
* @return {?}
|
|
35
|
+
*/
|
|
36
|
+
InteractionContext.prototype.alert = function (alert) { };
|
|
37
|
+
/**
|
|
130
38
|
* @param {?} confirm
|
|
131
39
|
* @return {?}
|
|
132
40
|
*/
|
|
133
41
|
InteractionContext.prototype.confirmOrReject = function (confirm) { };
|
|
134
42
|
/**
|
|
135
|
-
* Presents the confirmation to the user and runs the activity only if the user confirms.
|
|
136
|
-
* @abstract
|
|
137
43
|
* @template D, R, E
|
|
138
44
|
* @param {?} confirm
|
|
139
|
-
* @param {?} activityType
|
|
140
|
-
* @param {?=} data
|
|
45
|
+
* @param {?} activityType
|
|
46
|
+
* @param {?=} data
|
|
141
47
|
* @return {?}
|
|
142
48
|
*/
|
|
143
49
|
InteractionContext.prototype.confirmThen = function (confirm, activityType, data) { };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/interaction-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"interaction-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/interaction-context.ts"],"names":[],"mappings":";;;;;;;AAKA,wCAgBC;;;IAfC,wCAA4B;;;;IAE5B,wDAAoB;;;;;;;IAEpB,+EAA6F;;;;IAE7F,oEAAyC;;;;;IAEzC,8DAA4C;;;;;IAE5C,0DAAmC;;;;;IAEnC,sEAAiD;;;;;;;;IAEjD,sFAA6G","sourcesContent":["import { Constructable, Disposable, ValueModel } from '@coolon/pectin';\nimport { Activity } from './activity';\nimport { Alert } from './alert';\nimport { Confirm } from './confirm';\n\nexport interface InteractionContext extends Disposable, Disposable.Collector {\n readonly identifier: string;\n\n isActive(): boolean;\n\n startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;\n\n cancelActiveActivity(): Promise<boolean>;\n\n confirm(confirm: Confirm): Promise<boolean>;\n\n alert(alert: Alert): Promise<void>;\n\n confirmOrReject(confirm: Confirm): Promise<void>;\n\n confirmThen<D, R, E>(confirm: Confirm, activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;\n}\n"]}
|
|
@@ -8,11 +8,11 @@ import { NgModule } from '@angular/core';
|
|
|
8
8
|
import { MatButtonModule, MatDialogModule, MatTabsModule } from '@angular/material';
|
|
9
9
|
import { RouterModule } from '@angular/router';
|
|
10
10
|
import { ActivityContainerComponent } from './components/activity-container/activity-container.component';
|
|
11
|
-
import { ActivityOutletComponent } from './components/activity-outlet/activity-outlet.component';
|
|
11
|
+
import { ActivityOutletComponent } from './components/activity-container/activity-outlet/activity-outlet.component';
|
|
12
12
|
import { AlertDialogComponent } from './components/alert-dialog/alert-dialog.component';
|
|
13
13
|
import { ConfirmThenDialogComponent } from './components/confirm-then-dialog/confirm-then-dialog.component';
|
|
14
14
|
import { ConfirmationDialogComponent } from './components/confirmation-dialog/confirmation-dialog.component';
|
|
15
|
-
import {
|
|
15
|
+
import { InPlaceInteractionContextComponent } from './components/inplace-interaction-context/in-place-interaction-context.component';
|
|
16
16
|
import { InteractionService } from './services/interaction.service';
|
|
17
17
|
var InteractionModule = /** @class */ (function () {
|
|
18
18
|
function InteractionModule() {
|
|
@@ -33,12 +33,12 @@ var InteractionModule = /** @class */ (function () {
|
|
|
33
33
|
ConfirmThenDialogComponent,
|
|
34
34
|
AlertDialogComponent,
|
|
35
35
|
ActivityOutletComponent,
|
|
36
|
-
|
|
36
|
+
InPlaceInteractionContextComponent
|
|
37
37
|
],
|
|
38
38
|
exports: [
|
|
39
39
|
ActivityContainerComponent,
|
|
40
40
|
ActivityOutletComponent,
|
|
41
|
-
|
|
41
|
+
InPlaceInteractionContextComponent
|
|
42
42
|
],
|
|
43
43
|
entryComponents: [
|
|
44
44
|
ActivityContainerComponent,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.module.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/interaction.module.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEpF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8DAA8D,CAAC;AAC1G,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"interaction.module.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/interaction.module.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEpF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8DAA8D,CAAC;AAC1G,OAAO,EAAE,uBAAuB,EAAE,MAAM,2EAA2E,CAAC;AACpH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,2BAA2B,EAAE,MAAM,gEAAgE,CAAC;AAC7G,OAAO,EAAE,kCAAkC,EAAE,MAAM,iFAAiF,CAAC;AACrI,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;IAAA;IAoCA,CAAC;;gBApCA,QAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,aAAa;wBACb,YAAY;wBACZ,YAAY;qBACb;oBACD,YAAY,EAAE;wBACZ,0BAA0B;wBAC1B,2BAA2B;wBAC3B,0BAA0B;wBAC1B,oBAAoB;wBACpB,uBAAuB;wBACvB,kCAAkC;qBACnC;oBACD,OAAO,EAAE;wBACP,0BAA0B;wBAC1B,uBAAuB;wBACvB,kCAAkC;qBACnC;oBACD,eAAe,EAAE;wBACf,0BAA0B;wBAC1B,2BAA2B;wBAC3B,0BAA0B;wBAC1B,oBAAoB;qBACrB;oBACD,SAAS,EAAE;wBACT,kBAAkB;qBAInB;iBACF;;IAED,wBAAC;CAAA,AApCD,IAoCC;SADY,iBAAiB","sourcesContent":["import { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatButtonModule, MatDialogModule, MatTabsModule } from '@angular/material';\nimport { MAT_TABS_CONFIG } from '@angular/material/tabs';\nimport { RouterModule } from '@angular/router';\nimport { PlaceModule } from '../place/place.module';\nimport { ActivityContainerComponent } from './components/activity-container/activity-container.component';\nimport { ActivityOutletComponent } from './components/activity-container/activity-outlet/activity-outlet.component';\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 { InPlaceInteractionContextComponent } from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport { InteractionService } from './services/interaction.service';\n\n@NgModule({\n imports: [\n CommonModule,\n MatButtonModule,\n MatDialogModule,\n MatTabsModule,\n PortalModule,\n RouterModule\n ],\n declarations: [\n ActivityContainerComponent,\n ConfirmationDialogComponent,\n ConfirmThenDialogComponent,\n AlertDialogComponent,\n ActivityOutletComponent,\n InPlaceInteractionContextComponent\n ],\n exports: [\n ActivityContainerComponent,\n ActivityOutletComponent,\n InPlaceInteractionContextComponent\n ],\n entryComponents: [\n ActivityContainerComponent,\n ConfirmationDialogComponent,\n ConfirmThenDialogComponent,\n AlertDialogComponent\n ],\n providers: [\n InteractionService,\n // {\n // provide: MAT_TABS_CONFIG, useValue: { animationDuration: \"2s\" }\n // }\n ]\n})\nexport class InteractionModule {\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/interaction.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './interaction.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/button';\nimport * as i5 from '@angular/material/dialog';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/cdk/portal';\nimport * as i8 from '@angular/router';\nimport * as i9 from './components/activity-container/activity-container.component';\nimport * as i10 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i11 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i12 from './components/alert-dialog/alert-dialog.component';\nimport * as i13 from './components/activity-outlet/activity-outlet.component';\nimport * as i14 from './components/inplace-interaction-context/inplace-interaction-context.component';\nexport const InteractionModuleNgFactory:i0.NgModuleFactory<i1.InteractionModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatButton = (<any>(null as any));\nvar _decl0_13:i4.MatAnchor = (<any>(null as any));\nvar _decl0_14:i5.MatDialogContainer = (<any>(null as any));\nvar _decl0_15:i5.MatDialogClose = (<any>(null as any));\nvar _decl0_16:i5.MatDialogTitle = (<any>(null as any));\nvar _decl0_17:i5.MatDialogContent = (<any>(null as any));\nvar _decl0_18:i5.MatDialogActions = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.CdkPortal = (<any>(null as any));\nvar _decl0_26:i7.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_27:i7.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_28:i7.PortalHostDirective = (<any>(null as any));\nvar _decl0_29:i8.RouterOutlet = (<any>(null as any));\nvar _decl0_30:i8.RouterLink = (<any>(null as any));\nvar _decl0_31:i8.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_32:i8.RouterLinkActive = (<any>(null as any));\nvar _decl0_33:i8.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_34:i9.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_35:i10.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_36:i11.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_37:i12.AlertDialogComponent = (<any>(null as any));\nvar _decl0_38:i13.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_39:i14.InplaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_40:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_41:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_42:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_43:i2.JsonPipe = (<any>(null as any));\nvar _decl0_44:i2.SlicePipe = (<any>(null as any));\nvar _decl0_45:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_46:i2.PercentPipe = (<any>(null as any));\nvar _decl0_47:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_48:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_49:i2.DatePipe = (<any>(null as any));\nvar _decl0_50:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_51:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_52:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_53:i2.CommonModule = (<any>(null as any));\nvar _decl0_54:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_55:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_56:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_57:i7.PortalModule = (<any>(null as any));\nvar _decl0_58:i8.RouterModule = (<any>(null as any));\nvar _decl0_59:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_60:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_ActivityContainerComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityContainerComponent_1_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34;\n currVal_0;\n const currVal_1:any = _any;\n currVal_1;\n}\nfunction _View_ActivityContainerComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.dynamicHeight;\n currVal_0;\n const currVal_1:any = _decl0_19.dynamicHeight;\n currVal_1;\n const currVal_2:any = (_decl0_19.headerPosition === 'below');\n currVal_2;\n const currVal_3:any = !_decl0_34.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_34.activityTabs.value;\n currVal_4;\n}\nfunction _View_ConfirmationDialogComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_35.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_16.id;\n currVal_0;\n const currVal_1:any = _decl0_35.confirm.title();\n currVal_1;\n }\n}\nfunction _View_ConfirmationDialogComponent_2_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmationDialogComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_35.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_35.confirm.content();\n currVal_1;\n const currVal_2:any = (_decl0_12.disabled || null);\n currVal_2;\n const currVal_3:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_3;\n const currVal_4:any = _decl0_35.confirm.cancel();\n currVal_4;\n const currVal_5:any = (_decl0_35.isDestructive()? 'warn': 'primary');\n currVal_5;\n const currVal_6:any = (_decl0_12.disabled || null);\n currVal_6;\n const currVal_7:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_7;\n const currVal_8:any = _decl0_35.confirm.ok();\n currVal_8;\n const pd_9:any = ((<any>_decl0_35.cancel()) !== false);\n const pd_10:any = ((<any>_decl0_35.done()) !== false);\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_36.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_16.id;\n currVal_0;\n const currVal_1:any = _decl0_36.confirm.title();\n currVal_1;\n }\n}\nfunction _View_ConfirmThenDialogComponent_3_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmThenDialogComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_36.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_36.confirm.content();\n currVal_1;\n const currVal_2:any = (_decl0_12.disabled || null);\n currVal_2;\n const currVal_3:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_3;\n const currVal_4:any = _decl0_36.confirm.cancel();\n currVal_4;\n const currVal_5:any = (_decl0_36.isDestructive()? 'warn': 'primary');\n currVal_5;\n const currVal_6:any = (_decl0_12.disabled || null);\n currVal_6;\n const currVal_7:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_7;\n const currVal_8:any = _decl0_36.confirm.ok();\n currVal_8;\n const pd_9:any = ((<any>_decl0_36.cancel()) !== false);\n const pd_10:any = ((<any>_decl0_36.onConfirm()) !== false);\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_37.alert.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_16.id;\n currVal_0;\n const currVal_1:any = _decl0_37.alert.title();\n currVal_1;\n }\n}\nfunction _View_AlertDialogComponent_4_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_AlertDialogComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_37.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_37.alert.content();\n currVal_1;\n const currVal_2:any = 'primary';\n currVal_2;\n const currVal_3:any = (_decl0_12.disabled || null);\n currVal_3;\n const currVal_4:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_4;\n const currVal_5:any = _decl0_37.alert.ok();\n currVal_5;\n const pd_6:any = ((<any>_decl0_37.done()) !== false);\n}\nfunction _View_ActivityOutletComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityOutletComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InplaceInteractionContextComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InplaceInteractionContextComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = (_decl0_39.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_19.dynamicHeight;\n currVal_2;\n const currVal_3:any = (_decl0_19.headerPosition === 'below');\n currVal_3;\n const currVal_4:any = _decl0_39.initialActivityContext;\n currVal_4;\n const currVal_5:any = false;\n currVal_5;\n const pd_6:any = ((<any>(_decl0_39.initialActivityContext = _any)) !== false);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interaction.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/interaction.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './interaction.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/button';\nimport * as i5 from '@angular/material/dialog';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/cdk/portal';\nimport * as i8 from '@angular/router';\nimport * as i9 from './components/activity-container/activity-container.component';\nimport * as i10 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i11 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i12 from './components/alert-dialog/alert-dialog.component';\nimport * as i13 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i14 from './components/inplace-interaction-context/in-place-interaction-context.component';\nexport const InteractionModuleNgFactory:i0.NgModuleFactory<i1.InteractionModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatButton = (<any>(null as any));\nvar _decl0_13:i4.MatAnchor = (<any>(null as any));\nvar _decl0_14:i5.MatDialogContainer = (<any>(null as any));\nvar _decl0_15:i5.MatDialogClose = (<any>(null as any));\nvar _decl0_16:i5.MatDialogTitle = (<any>(null as any));\nvar _decl0_17:i5.MatDialogContent = (<any>(null as any));\nvar _decl0_18:i5.MatDialogActions = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.CdkPortal = (<any>(null as any));\nvar _decl0_26:i7.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_27:i7.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_28:i7.PortalHostDirective = (<any>(null as any));\nvar _decl0_29:i8.RouterOutlet = (<any>(null as any));\nvar _decl0_30:i8.RouterLink = (<any>(null as any));\nvar _decl0_31:i8.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_32:i8.RouterLinkActive = (<any>(null as any));\nvar _decl0_33:i8.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_34:i9.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_35:i10.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_36:i11.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_37:i12.AlertDialogComponent = (<any>(null as any));\nvar _decl0_38:i13.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_39:i14.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_40:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_41:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_42:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_43:i2.JsonPipe = (<any>(null as any));\nvar _decl0_44:i2.SlicePipe = (<any>(null as any));\nvar _decl0_45:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_46:i2.PercentPipe = (<any>(null as any));\nvar _decl0_47:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_48:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_49:i2.DatePipe = (<any>(null as any));\nvar _decl0_50:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_51:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_52:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_53:i2.CommonModule = (<any>(null as any));\nvar _decl0_54:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_55:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_56:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_57:i7.PortalModule = (<any>(null as any));\nvar _decl0_58:i8.RouterModule = (<any>(null as any));\nvar _decl0_59:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_60:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_ActivityContainerComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityContainerComponent_1_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34;\n currVal_0;\n const currVal_1:any = _any;\n currVal_1;\n}\nfunction _View_ActivityContainerComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.dynamicHeight;\n currVal_0;\n const currVal_1:any = _decl0_19.dynamicHeight;\n currVal_1;\n const currVal_2:any = (_decl0_19.headerPosition === 'below');\n currVal_2;\n const currVal_3:any = !_decl0_34.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_34.activityTabs;\n currVal_4;\n const currVal_5:any = _decl0_34.activityIndex;\n currVal_5;\n}\nfunction _View_ConfirmationDialogComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_35.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_16.id;\n currVal_0;\n const currVal_1:any = _decl0_35.confirm.title();\n currVal_1;\n }\n}\nfunction _View_ConfirmationDialogComponent_2_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmationDialogComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_35.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_35.confirm.content();\n currVal_1;\n const currVal_2:any = (_decl0_12.disabled || null);\n currVal_2;\n const currVal_3:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_3;\n const currVal_4:any = _decl0_35.confirm.cancel();\n currVal_4;\n const currVal_5:any = (_decl0_35.isDestructive()? 'warn': 'primary');\n currVal_5;\n const currVal_6:any = (_decl0_12.disabled || null);\n currVal_6;\n const currVal_7:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_7;\n const currVal_8:any = _decl0_35.confirm.ok();\n currVal_8;\n const pd_9:any = ((<any>_decl0_35.cancel()) !== false);\n const pd_10:any = ((<any>_decl0_35.done()) !== false);\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_36.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_16.id;\n currVal_0;\n const currVal_1:any = _decl0_36.confirm.title();\n currVal_1;\n }\n}\nfunction _View_ConfirmThenDialogComponent_3_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_ConfirmThenDialogComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_36.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_36.confirm.content();\n currVal_1;\n const currVal_2:any = (_decl0_12.disabled || null);\n currVal_2;\n const currVal_3:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_3;\n const currVal_4:any = _decl0_36.confirm.cancel();\n currVal_4;\n const currVal_5:any = (_decl0_36.isDestructive()? 'warn': 'primary');\n currVal_5;\n const currVal_6:any = (_decl0_12.disabled || null);\n currVal_6;\n const currVal_7:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_7;\n const currVal_8:any = _decl0_36.confirm.ok();\n currVal_8;\n const pd_9:any = ((<any>_decl0_36.cancel()) !== false);\n const pd_10:any = ((<any>_decl0_36.onConfirm()) !== false);\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_37.alert.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_16.id;\n currVal_0;\n const currVal_1:any = _decl0_37.alert.title();\n currVal_1;\n }\n}\nfunction _View_AlertDialogComponent_4_2():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n}\nfunction _View_AlertDialogComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_37.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_37.alert.content();\n currVal_1;\n const currVal_2:any = 'primary';\n currVal_2;\n const currVal_3:any = (_decl0_12.disabled || null);\n currVal_3;\n const currVal_4:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_4;\n const currVal_5:any = _decl0_37.alert.ok();\n currVal_5;\n const pd_6:any = ((<any>_decl0_37.done()) !== false);\n}\nfunction _View_ActivityOutletComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityOutletComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InPlaceInteractionContextComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_InPlaceInteractionContextComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = (_decl0_39.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_19.dynamicHeight;\n currVal_2;\n const currVal_3:any = (_decl0_19.headerPosition === 'below');\n currVal_3;\n const currVal_4:any = false;\n currVal_4;\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 RouteSynchronisationAdapter() { }
|
|
9
|
+
if (false) {
|
|
10
|
+
/**
|
|
11
|
+
* @param {?} interactionContext
|
|
12
|
+
* @param {?} activities
|
|
13
|
+
* @return {?}
|
|
14
|
+
*/
|
|
15
|
+
RouteSynchronisationAdapter.prototype.synchroniseRoute = function (interactionContext, activities) { };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=route-synchronisation-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-synchronisation-adapter.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/route-synchronisation-adapter.ts"],"names":[],"mappings":";;;;;;;AAGA,iDAEC;;;;;;;IADC,uGAAyF","sourcesContent":["import { Activity } from './activity';\nimport { InteractionContext } from './interaction-context';\n\nexport interface RouteSynchronisationAdapter {\n synchroniseRoute(interactionContext: InteractionContext, activities:Activity<any, any>[])\n}\n"]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
var InteractionServiceRoutingAdapter = /** @class */ (function () {
|
|
6
|
+
function InteractionServiceRoutingAdapter(activeInteractionContextIds, activeModalContext, createExclusiveInteractionContext) {
|
|
7
|
+
this.activeInteractionContextIds = activeInteractionContextIds;
|
|
8
|
+
this.activeModalContext = activeModalContext;
|
|
9
|
+
this.createExclusiveInteractionContext = createExclusiveInteractionContext;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @return {?}
|
|
13
|
+
*/
|
|
14
|
+
InteractionServiceRoutingAdapter.prototype.isActive = /**
|
|
15
|
+
* @return {?}
|
|
16
|
+
*/
|
|
17
|
+
function () {
|
|
18
|
+
return this.getActiveInteractionContextIds().length > 0;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @return {?}
|
|
22
|
+
*/
|
|
23
|
+
InteractionServiceRoutingAdapter.prototype.isModalActive = /**
|
|
24
|
+
* @return {?}
|
|
25
|
+
*/
|
|
26
|
+
function () {
|
|
27
|
+
return !!this.activeModalContext.value;
|
|
28
|
+
};
|
|
29
|
+
// @Trace()
|
|
30
|
+
// @Trace()
|
|
31
|
+
/**
|
|
32
|
+
* @param {?} component
|
|
33
|
+
* @return {?}
|
|
34
|
+
*/
|
|
35
|
+
InteractionServiceRoutingAdapter.prototype.isComponentInteracting =
|
|
36
|
+
// @Trace()
|
|
37
|
+
/**
|
|
38
|
+
* @param {?} component
|
|
39
|
+
* @return {?}
|
|
40
|
+
*/
|
|
41
|
+
function (component) {
|
|
42
|
+
return component.interactionContext && component.interactionContext.isActive();
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @return {?}
|
|
46
|
+
*/
|
|
47
|
+
InteractionServiceRoutingAdapter.prototype.getActiveInteractionContextIds = /**
|
|
48
|
+
* @return {?}
|
|
49
|
+
*/
|
|
50
|
+
function () {
|
|
51
|
+
return this.activeInteractionContextIds.value;
|
|
52
|
+
};
|
|
53
|
+
// @Trace()
|
|
54
|
+
// @Trace()
|
|
55
|
+
/**
|
|
56
|
+
* @return {?}
|
|
57
|
+
*/
|
|
58
|
+
InteractionServiceRoutingAdapter.prototype.cancelCurrentModalInteraction =
|
|
59
|
+
// @Trace()
|
|
60
|
+
/**
|
|
61
|
+
* @return {?}
|
|
62
|
+
*/
|
|
63
|
+
function () {
|
|
64
|
+
return this.activeModalContext.value.cancelActiveActivity();
|
|
65
|
+
};
|
|
66
|
+
// @Trace()
|
|
67
|
+
// @Trace()
|
|
68
|
+
/**
|
|
69
|
+
* @param {?} component
|
|
70
|
+
* @return {?}
|
|
71
|
+
*/
|
|
72
|
+
InteractionServiceRoutingAdapter.prototype.cancelComponentInteraction =
|
|
73
|
+
// @Trace()
|
|
74
|
+
/**
|
|
75
|
+
* @param {?} component
|
|
76
|
+
* @return {?}
|
|
77
|
+
*/
|
|
78
|
+
function (component) {
|
|
79
|
+
return component.interactionContext.cancelActiveActivity();
|
|
80
|
+
};
|
|
81
|
+
return InteractionServiceRoutingAdapter;
|
|
82
|
+
}());
|
|
83
|
+
export { InteractionServiceRoutingAdapter };
|
|
84
|
+
if (false) {
|
|
85
|
+
/**
|
|
86
|
+
* @type {?}
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
InteractionServiceRoutingAdapter.prototype.activeInteractionContextIds;
|
|
90
|
+
/**
|
|
91
|
+
* @type {?}
|
|
92
|
+
* @private
|
|
93
|
+
*/
|
|
94
|
+
InteractionServiceRoutingAdapter.prototype.activeModalContext;
|
|
95
|
+
/** @type {?} */
|
|
96
|
+
InteractionServiceRoutingAdapter.prototype.createExclusiveInteractionContext;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=interaction-service-routing-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-service-routing-adapter.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/services/interaction-service-routing-adapter.ts"],"names":[],"mappings":";;;;AAIA;IAEE,0CAA6B,2BAA8C,EAC9C,kBAAkD,EAC1D,iCAA2D;QAFnD,gCAA2B,GAA3B,2BAA2B,CAAmB;QAC9C,uBAAkB,GAAlB,kBAAkB,CAAgC;QAC1D,sCAAiC,GAAjC,iCAAiC,CAA0B;IAChF,CAAC;;;;IAED,mDAAQ;;;IAAR;QACE,OAAO,IAAI,CAAC,8BAA8B,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;IAC1D,CAAC;;;;IAED,wDAAa;;;IAAb;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC;IACzC,CAAC;IAED,WAAW;;;;;;IACX,iEAAsB;;;;;;IAAtB,UAAuB,SAAyB;QAC9C,OAAO,SAAS,CAAC,kBAAkB,IAAI,SAAS,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC;IACjF,CAAC;;;;IAED,yEAA8B;;;IAA9B;QACE,OAAO,IAAI,CAAC,2BAA2B,CAAC,KAAK,CAAC;IAChD,CAAC;IAED,WAAW;;;;;IACX,wEAA6B;;;;;IAA7B;QACE,OAAO,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,oBAAoB,EAAE,CAAC;IAC9D,CAAC;IAED,WAAW;;;;;;IACX,qEAA0B;;;;;;IAA1B,UAA2B,SAAyB;QAClD,OAAO,SAAS,CAAC,kBAAkB,CAAC,oBAAoB,EAAE,CAAC;IAC7D,CAAC;IAEH,uCAAC;AAAD,CAAC,AAlCD,IAkCC;;;;;;;IAhCa,uEAA+D;;;;;IAC/D,8DAAmE;;IACnE,6EAAoE","sourcesContent":["import { ListModel, Trace, ValueModel } from '@coolon/pectin';\nimport { PlaceComponent } from '../../place/place-component';\nimport { InteractionContext } from '../interaction-context';\n\nexport class InteractionServiceRoutingAdapter {\n\n constructor(private readonly activeInteractionContextIds: ListModel<string>,\n private readonly activeModalContext: ValueModel<InteractionContext>,\n readonly createExclusiveInteractionContext: () => InteractionContext) {\n }\n\n isActive(): boolean {\n return this.getActiveInteractionContextIds().length > 0;\n }\n\n isModalActive(): boolean {\n return !!this.activeModalContext.value;\n }\n\n // @Trace()\n isComponentInteracting(component: PlaceComponent): boolean {\n return component.interactionContext && component.interactionContext.isActive();\n }\n\n getActiveInteractionContextIds(): string[] {\n return this.activeInteractionContextIds.value;\n }\n\n // @Trace()\n cancelCurrentModalInteraction(): Promise<boolean> {\n return this.activeModalContext.value.cancelActiveActivity();\n }\n\n // @Trace()\n cancelComponentInteraction(component: PlaceComponent): Promise<boolean> {\n return component.interactionContext.cancelActiveActivity();\n }\n\n}\n"]}
|