@coolon/angular-ui-powerups 3.10.2 → 3.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +78 -60
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  8. package/esm2015/lib/{place/components → components}/busy-overlay/busy-overlay.component.js +3 -2
  9. package/esm2015/lib/components/busy-overlay/busy-overlay.component.js.map +1 -0
  10. package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -0
  11. package/esm2015/lib/components/busy-overlay/busy-overlay.component.ngfactory.js.map +1 -0
  12. package/esm2015/lib/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +1 -0
  13. package/esm2015/lib/components/components.module.js +11 -3
  14. package/esm2015/lib/components/components.module.js.map +1 -1
  15. package/esm2015/lib/components/components.module.metadata.json +1 -1
  16. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  17. package/esm2015/lib/components/empty-state/empty-state.component.js.map +1 -0
  18. package/esm2015/lib/components/empty-state/empty-state.component.ngfactory.js.map +1 -0
  19. package/esm2015/lib/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +1 -0
  20. package/esm2015/lib/components/exports.js +2 -0
  21. package/esm2015/lib/components/exports.js.map +1 -1
  22. package/esm2015/lib/components/exports.metadata.json +1 -1
  23. package/esm2015/lib/components/switch-case/switch-case.component.js +3 -1
  24. package/esm2015/lib/components/switch-case/switch-case.component.js.map +1 -1
  25. package/esm2015/lib/interaction/activity-ref.js +7 -1
  26. package/esm2015/lib/interaction/activity-ref.js.map +1 -1
  27. package/esm2015/lib/interaction/activity-ref.metadata.json +1 -1
  28. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +6 -3
  29. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  30. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  31. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  32. package/esm2015/lib/place/exports.js +0 -2
  33. package/esm2015/lib/place/exports.js.map +1 -1
  34. package/esm2015/lib/place/exports.metadata.json +1 -1
  35. package/esm2015/lib/place/place-router.js +1 -1
  36. package/esm2015/lib/place/place-router.js.map +1 -1
  37. package/esm2015/lib/place/place.module.js +1 -7
  38. package/esm2015/lib/place/place.module.js.map +1 -1
  39. package/esm2015/lib/place/place.module.metadata.json +1 -1
  40. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  41. package/fesm2015/coolon-angular-ui-powerups.js +73 -60
  42. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  43. package/lib/components/busy-overlay/busy-overlay.component.d.ts +8 -0
  44. package/lib/components/exports.d.ts +2 -0
  45. package/lib/interaction/activity-ref.d.ts +3 -1
  46. package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -1
  47. package/lib/place/exports.d.ts +0 -2
  48. package/lib/place/place-router.d.ts +1 -1
  49. package/package.json +1 -1
  50. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +0 -1
  51. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.metadata.json +0 -1
  52. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
  53. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
  54. package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +0 -1
  55. package/esm2015/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
  56. package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
  57. package/lib/place/components/busy-overlay/busy-overlay.component.d.ts +0 -8
  58. /package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.js +0 -0
  59. /package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.metadata.json +0 -0
  60. /package/lib/{place/components → components}/empty-state/empty-state.component.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/components/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mDAAmD,CAAC;AAClE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6EAA6E,CAAC;AAC5F,cAAc,uDAAuD,CAAC;AACtE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2EAA2E,CAAC;AAC1F,cAAc,2DAA2D,CAAC;AAC1E,cAAc,yEAAyE,CAAC;AACxF,cAAc,iDAAiD,CAAC;AAChE,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oEAAoE,CAAC;AACnF,cAAc,0EAA0E,CAAC;AACzF,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+DAA+D,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./components.module\";\nexport * from \"./disposable-component\";\nexport * from \"./focusable.component\";\nexport * from \"./resize-aware.component\";\nexport * from \"./track-by\";\nexport * from \"./card-container/card-container.component\";\nexport * from \"./commands/command-face\";\nexport * from \"./commands/flex.component\";\nexport * from \"./commands/separator.component\";\nexport * from \"./commands/command/command.component\";\nexport * from \"./commands/command-face/command-face.component\";\nexport * from \"./commands/group/command-container\";\nexport * from \"./commands/group/popup-aware.component\";\nexport * from \"./commands/group/popup-container\";\nexport * from \"./commands/group/popup-menu/abstract-popup-menu.component\";\nexport * from \"./commands/group/popup-menu/more-menu.component\";\nexport * from \"./commands/group/popup-menu/popup-menu.component\";\nexport * from \"./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component\";\nexport * from \"./commands/group/tool-bar/tool-bar.component\";\nexport * from \"./focus-container/focus-container.component\";\nexport * from \"./forms/abstract-input.component\";\nexport * from \"./forms/abstract-list-input.component\";\nexport * from \"./forms/abstract-value-input.component\";\nexport * from \"./forms/autocomplete-input/autocomplete-input.component\";\nexport * from \"./forms/checkbox-input/checkbox-input.component\";\nexport * from \"./forms/multiple-select-input/multiple-select-input.component\";\nexport * from \"./forms/number-input/number-input.component\";\nexport * from \"./forms/password-input/password-input.component\";\nexport * from \"./forms/select-input/select-input.component\";\nexport * from \"./forms/string-input/string-input.component\";\nexport * from \"./forms/text-input/text-input.component\";\nexport * from \"./icon/icon.component\";\nexport * from \"./noop/noop.component\";\nexport * from \"./scroll-container/scroll-container.component\";\nexport * from \"./section-header/section-header.component\";\nexport * from \"./switch-case/switch-case.component\";\nexport * from \"./table/abstract-table-model\";\nexport * from \"./table/cell-editors\";\nexport * from \"./table/cell-portal-ref\";\nexport * from \"./table/cell-renderer\";\nexport * from \"./table/column-model\";\nexport * from \"./table/column-text-properties\";\nexport * from \"./table/edit-session\";\nexport * from \"./table/mutable-cell-renderer\";\nexport * from \"./table/table-def\";\nexport * from \"./table/table-model\";\nexport * from \"./table/table.component\";\nexport * from \"./table/column-template/column-template.directive\";\nexport * from \"./table/default-cell-renderer/default-cell-renderer.component\";\nexport * from \"./table/default-header-cell-renderer/default-header-cell-renderer.component\";\nexport * from \"./table/edit-row-controls/edit-row-controls.component\";\nexport * from \"./table/select-cell-renderer/select-cell-renderer.component\";\nexport * from \"./table/select-header-cell-renderer/select-header-cell-renderer.component\";\nexport * from \"./table/table-cell-renderer/table-cell-renderer.component\";\nexport * from \"./table/table-header-cell-renderer/table-header-cell-renderer.component\";\nexport * from \"./table/table-row-menu/table-row-menu.component\";\nexport * from \"./tree-table/decorated-tree-node\";\nexport * from \"./tree-table/tree-expansion-model\";\nexport * from \"./tree-table/tree-label-column-model\";\nexport * from \"./tree-table/tree-node\";\nexport * from \"./tree-table/tree-table-component\";\nexport * from \"./tree-table/tree-table-model\";\nexport * from \"./tree-table/tree-to-list-model\";\nexport * from \"./tree-table/visitable.class\";\nexport * from \"./tree-table/tree-inheritance-icon/tree-inheritance-icon.component\";\nexport * from \"./tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component\";\nexport * from \"./types/bounds.class\";\nexport * from \"./types/dimension.class\";\nexport * from \"./types/point.class\";\nexport * from \"./vertical-focus-container/vertical-focus-container.component\";\n"]}
1
+ {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/components/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACj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;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+DAA+D,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./components.module\";\nexport * from \"./disposable-component\";\nexport * from \"./focusable.component\";\nexport * from \"./resize-aware.component\";\nexport * from \"./track-by\";\nexport * from \"./busy-overlay/busy-overlay.component\";\nexport * from \"./card-container/card-container.component\";\nexport * from \"./commands/command-face\";\nexport * from \"./commands/flex.component\";\nexport * from \"./commands/separator.component\";\nexport * from \"./commands/command/command.component\";\nexport * from \"./commands/command-face/command-face.component\";\nexport * from \"./commands/group/command-container\";\nexport * from \"./commands/group/popup-aware.component\";\nexport * from \"./commands/group/popup-container\";\nexport * from \"./commands/group/popup-menu/abstract-popup-menu.component\";\nexport * from \"./commands/group/popup-menu/more-menu.component\";\nexport * from \"./commands/group/popup-menu/popup-menu.component\";\nexport * from \"./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component\";\nexport * from \"./commands/group/tool-bar/tool-bar.component\";\nexport * from \"./empty-state/empty-state.component\";\nexport * from \"./focus-container/focus-container.component\";\nexport * from \"./forms/abstract-input.component\";\nexport * from \"./forms/abstract-list-input.component\";\nexport * from \"./forms/abstract-value-input.component\";\nexport * from \"./forms/autocomplete-input/autocomplete-input.component\";\nexport * from \"./forms/checkbox-input/checkbox-input.component\";\nexport * from \"./forms/multiple-select-input/multiple-select-input.component\";\nexport * from \"./forms/number-input/number-input.component\";\nexport * from \"./forms/password-input/password-input.component\";\nexport * from \"./forms/select-input/select-input.component\";\nexport * from \"./forms/string-input/string-input.component\";\nexport * from \"./forms/text-input/text-input.component\";\nexport * from \"./icon/icon.component\";\nexport * from \"./noop/noop.component\";\nexport * from \"./scroll-container/scroll-container.component\";\nexport * from \"./section-header/section-header.component\";\nexport * from \"./switch-case/switch-case.component\";\nexport * from \"./table/abstract-table-model\";\nexport * from \"./table/cell-editors\";\nexport * from \"./table/cell-portal-ref\";\nexport * from \"./table/cell-renderer\";\nexport * from \"./table/column-model\";\nexport * from \"./table/column-text-properties\";\nexport * from \"./table/edit-session\";\nexport * from \"./table/mutable-cell-renderer\";\nexport * from \"./table/table-def\";\nexport * from \"./table/table-model\";\nexport * from \"./table/table.component\";\nexport * from \"./table/column-template/column-template.directive\";\nexport * from \"./table/default-cell-renderer/default-cell-renderer.component\";\nexport * from \"./table/default-header-cell-renderer/default-header-cell-renderer.component\";\nexport * from \"./table/edit-row-controls/edit-row-controls.component\";\nexport * from \"./table/select-cell-renderer/select-cell-renderer.component\";\nexport * from \"./table/select-header-cell-renderer/select-header-cell-renderer.component\";\nexport * from \"./table/table-cell-renderer/table-cell-renderer.component\";\nexport * from \"./table/table-header-cell-renderer/table-header-cell-renderer.component\";\nexport * from \"./table/table-row-menu/table-row-menu.component\";\nexport * from \"./tree-table/decorated-tree-node\";\nexport * from \"./tree-table/tree-expansion-model\";\nexport * from \"./tree-table/tree-label-column-model\";\nexport * from \"./tree-table/tree-node\";\nexport * from \"./tree-table/tree-table-component\";\nexport * from \"./tree-table/tree-table-model\";\nexport * from \"./tree-table/tree-to-list-model\";\nexport * from \"./tree-table/visitable.class\";\nexport * from \"./tree-table/tree-inheritance-icon/tree-inheritance-icon.component\";\nexport * from \"./tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component\";\nexport * from \"./types/bounds.class\";\nexport * from \"./types/dimension.class\";\nexport * from \"./types/point.class\";\nexport * from \"./vertical-focus-container/vertical-focus-container.component\";\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./components.module"},{"from":"./disposable-component"},{"from":"./focusable.component"},{"from":"./resize-aware.component"},{"from":"./track-by"},{"from":"./card-container/card-container.component"},{"from":"./commands/command-face"},{"from":"./commands/flex.component"},{"from":"./commands/separator.component"},{"from":"./commands/command/command.component"},{"from":"./commands/command-face/command-face.component"},{"from":"./commands/group/command-container"},{"from":"./commands/group/popup-aware.component"},{"from":"./commands/group/popup-container"},{"from":"./commands/group/popup-menu/abstract-popup-menu.component"},{"from":"./commands/group/popup-menu/more-menu.component"},{"from":"./commands/group/popup-menu/popup-menu.component"},{"from":"./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component"},{"from":"./commands/group/tool-bar/tool-bar.component"},{"from":"./focus-container/focus-container.component"},{"from":"./forms/abstract-input.component"},{"from":"./forms/abstract-list-input.component"},{"from":"./forms/abstract-value-input.component"},{"from":"./forms/autocomplete-input/autocomplete-input.component"},{"from":"./forms/checkbox-input/checkbox-input.component"},{"from":"./forms/multiple-select-input/multiple-select-input.component"},{"from":"./forms/number-input/number-input.component"},{"from":"./forms/password-input/password-input.component"},{"from":"./forms/select-input/select-input.component"},{"from":"./forms/string-input/string-input.component"},{"from":"./forms/text-input/text-input.component"},{"from":"./icon/icon.component"},{"from":"./noop/noop.component"},{"from":"./scroll-container/scroll-container.component"},{"from":"./section-header/section-header.component"},{"from":"./switch-case/switch-case.component"},{"from":"./table/abstract-table-model"},{"from":"./table/cell-editors"},{"from":"./table/cell-portal-ref"},{"from":"./table/cell-renderer"},{"from":"./table/column-model"},{"from":"./table/column-text-properties"},{"from":"./table/edit-session"},{"from":"./table/mutable-cell-renderer"},{"from":"./table/table-def"},{"from":"./table/table-model"},{"from":"./table/table.component"},{"from":"./table/column-template/column-template.directive"},{"from":"./table/default-cell-renderer/default-cell-renderer.component"},{"from":"./table/default-header-cell-renderer/default-header-cell-renderer.component"},{"from":"./table/edit-row-controls/edit-row-controls.component"},{"from":"./table/select-cell-renderer/select-cell-renderer.component"},{"from":"./table/select-header-cell-renderer/select-header-cell-renderer.component"},{"from":"./table/table-cell-renderer/table-cell-renderer.component"},{"from":"./table/table-header-cell-renderer/table-header-cell-renderer.component"},{"from":"./table/table-row-menu/table-row-menu.component"},{"from":"./tree-table/decorated-tree-node"},{"from":"./tree-table/tree-expansion-model"},{"from":"./tree-table/tree-label-column-model"},{"from":"./tree-table/tree-node"},{"from":"./tree-table/tree-table-component"},{"from":"./tree-table/tree-table-model"},{"from":"./tree-table/tree-to-list-model"},{"from":"./tree-table/visitable.class"},{"from":"./tree-table/tree-inheritance-icon/tree-inheritance-icon.component"},{"from":"./tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component"},{"from":"./types/bounds.class"},{"from":"./types/dimension.class"},{"from":"./types/point.class"},{"from":"./vertical-focus-container/vertical-focus-container.component"}]}]
1
+ [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./components.module"},{"from":"./disposable-component"},{"from":"./focusable.component"},{"from":"./resize-aware.component"},{"from":"./track-by"},{"from":"./busy-overlay/busy-overlay.component"},{"from":"./card-container/card-container.component"},{"from":"./commands/command-face"},{"from":"./commands/flex.component"},{"from":"./commands/separator.component"},{"from":"./commands/command/command.component"},{"from":"./commands/command-face/command-face.component"},{"from":"./commands/group/command-container"},{"from":"./commands/group/popup-aware.component"},{"from":"./commands/group/popup-container"},{"from":"./commands/group/popup-menu/abstract-popup-menu.component"},{"from":"./commands/group/popup-menu/more-menu.component"},{"from":"./commands/group/popup-menu/popup-menu.component"},{"from":"./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component"},{"from":"./commands/group/tool-bar/tool-bar.component"},{"from":"./empty-state/empty-state.component"},{"from":"./focus-container/focus-container.component"},{"from":"./forms/abstract-input.component"},{"from":"./forms/abstract-list-input.component"},{"from":"./forms/abstract-value-input.component"},{"from":"./forms/autocomplete-input/autocomplete-input.component"},{"from":"./forms/checkbox-input/checkbox-input.component"},{"from":"./forms/multiple-select-input/multiple-select-input.component"},{"from":"./forms/number-input/number-input.component"},{"from":"./forms/password-input/password-input.component"},{"from":"./forms/select-input/select-input.component"},{"from":"./forms/string-input/string-input.component"},{"from":"./forms/text-input/text-input.component"},{"from":"./icon/icon.component"},{"from":"./noop/noop.component"},{"from":"./scroll-container/scroll-container.component"},{"from":"./section-header/section-header.component"},{"from":"./switch-case/switch-case.component"},{"from":"./table/abstract-table-model"},{"from":"./table/cell-editors"},{"from":"./table/cell-portal-ref"},{"from":"./table/cell-renderer"},{"from":"./table/column-model"},{"from":"./table/column-text-properties"},{"from":"./table/edit-session"},{"from":"./table/mutable-cell-renderer"},{"from":"./table/table-def"},{"from":"./table/table-model"},{"from":"./table/table.component"},{"from":"./table/column-template/column-template.directive"},{"from":"./table/default-cell-renderer/default-cell-renderer.component"},{"from":"./table/default-header-cell-renderer/default-header-cell-renderer.component"},{"from":"./table/edit-row-controls/edit-row-controls.component"},{"from":"./table/select-cell-renderer/select-cell-renderer.component"},{"from":"./table/select-header-cell-renderer/select-header-cell-renderer.component"},{"from":"./table/table-cell-renderer/table-cell-renderer.component"},{"from":"./table/table-header-cell-renderer/table-header-cell-renderer.component"},{"from":"./table/table-row-menu/table-row-menu.component"},{"from":"./tree-table/decorated-tree-node"},{"from":"./tree-table/tree-expansion-model"},{"from":"./tree-table/tree-label-column-model"},{"from":"./tree-table/tree-node"},{"from":"./tree-table/tree-table-component"},{"from":"./tree-table/tree-table-model"},{"from":"./tree-table/tree-to-list-model"},{"from":"./tree-table/visitable.class"},{"from":"./tree-table/tree-inheritance-icon/tree-inheritance-icon.component"},{"from":"./tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component"},{"from":"./types/bounds.class"},{"from":"./types/dimension.class"},{"from":"./types/point.class"},{"from":"./vertical-focus-container/vertical-focus-container.component"}]}]
@@ -76,7 +76,9 @@ export class SwitchCaseComponent extends DisposableComponent {
76
76
  }
77
77
  if (matchingIndicies.length === 0) {
78
78
  this.switchCaseOptions.forEach((option, index) => {
79
- matchingIndicies.push(index);
79
+ if (option.isDefault) {
80
+ matchingIndicies.push(index);
81
+ }
80
82
  });
81
83
  if (matchingIndicies.length > 1) {
82
84
  console.warn(`found ${matchingIndicies.length} default case values, displaying the first.`);
@@ -1 +1 @@
1
- {"version":3,"file":"switch-case.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/components/switch-case/switch-case.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,i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K,EAAE,EAAE;gBAC/C,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC/B,CAAC,CAAC,CAAC;YACH,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC/B,OAAO,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,MAAM,6CAA6C,CAAC,CAAC;aAC7F;SACF;QACD,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;YAC/B,IAAI,CAAC,aAAa,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;SAC1C;aAAM;YACL,OAAO,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;YAC1D,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC;SACzB;IACH,CAAC;;;YAzDF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,+RAA2C;;aAE5C;;;YAlEC,iBAAiB;;;0BAqEhB,KAAK;qBAGL,KAAK;gCAGL,eAAe,SAAC,gBAAgB;;AALjC;IADU,aAAa,EAAE;8BACZ,UAAU;wDAAI;AAG3B;IADU,iBAAiB,CAAC,aAAa,CAAC;;mDAChC","sourcesContent":["import {\n AfterContentInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Directive,\n Input,\n OnInit,\n QueryList,\n TemplateRef\n} from '@angular/core';\n\nimport { Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';\nimport { DisposableComponent } from '../disposable-component';\n\n\nexport abstract class SwitchCaseOption<T> {\n\n abstract readonly isDefault: boolean;\n\n constructor(readonly templateRef: TemplateRef<Object>) {\n }\n\n get name() {\n return this.constructor.name;\n }\n\n abstract matches(value: T): boolean;\n}\n\n@Directive({\n selector: '[aupSwitchCaseWhen]',\n providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective }]\n})\nexport class SwitchCaseWhenDirective<T> extends SwitchCaseOption<T> {\n @Input() aupSwitchCaseWhen: T;\n readonly isDefault = false;\n\n constructor(templateRef: TemplateRef<Object>) {\n super(templateRef);\n }\n\n matches(value: T): boolean {\n return this.aupSwitchCaseWhen === value;\n }\n}\n\n@Directive({\n selector: '[aupSwitchCaseDefault]',\n providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective }]\n})\nexport class SwitchCaseDefaultDirective<T> extends SwitchCaseOption<T> {\n readonly isDefault = true;\n\n constructor(templateRef: TemplateRef<Object>) {\n super(templateRef);\n }\n\n matches(value: T): boolean {\n return false;\n }\n}\n\n\n@Component({\n selector: 'aup-switch-case',\n templateUrl: './switch-case.component.html',\n styleUrls: ['./switch-case.component.scss']\n})\nexport class SwitchCaseComponent<T> extends DisposableComponent implements OnInit, AfterContentInit {\n\n @Input() @TrackExternal()\n switchModel: ValueModel<T>;\n\n @Input() @StoreInValueModel('switchModel')\n switch: T;\n\n @ContentChildren(SwitchCaseOption)\n switchCaseOptions: QueryList<SwitchCaseOption<T>>;\n\n selectedIndex = 0;\n\n constructor(private cdr: ChangeDetectorRef) {\n super();\n }\n\n ngOnInit(): void {\n }\n\n ngAfterContentInit(): void {\n const subscription = this.switchCaseOptions.changes.subscribe(change => this.updateSelection());\n this.onDispose(() => subscription.unsubscribe());\n const { chain, when } = Dsl.disposeWith(this);\n when(this.switchModel).changes(() => this.updateSelection(), { initialValue: 'triggerChange' });\n this.cdr.detectChanges();\n }\n\n private updateSelection() {\n const matchingIndicies = [];\n this.switchCaseOptions.forEach((option, index) => {\n if (option.matches(this.switchModel.value)) {\n matchingIndicies.push(index);\n }\n });\n if (matchingIndicies.length > 1) {\n console.warn(`found ${matchingIndicies.length} matching case values, displaying the first.`);\n }\n if (matchingIndicies.length === 0) {\n this.switchCaseOptions.forEach((option, index) => {\n matchingIndicies.push(index);\n });\n if (matchingIndicies.length > 1) {\n console.warn(`found ${matchingIndicies.length} default case values, displaying the first.`);\n }\n }\n if (matchingIndicies.length > 0) {\n this.selectedIndex = matchingIndicies[0];\n } else {\n console.warn(`found no matching or default case values.`);\n this.selectedIndex = -1;\n }\n }\n}\n\n"]}
1
+ {"version":3,"file":"switch-case.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/src/lib/components/switch-case/switch-case.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,KAAK,EAEL,SAAS,EACT,WAAW,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,MAAM,OAAgB,gBAAgB;IAIpC,YAAqB,WAAgC;QAAhC,gBAAW,GAAX,WAAW,CAAqB;IACrD,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IAC/B,CAAC;CAGF;AAMD,MAAM,OAAO,uBAA2B,SAAQ,gBAAmB;IAIjE,YAAY,WAAgC;QAC1C,KAAK,CAAC,WAAW,CAAC,CAAC;QAHZ,cAAS,GAAG,KAAK,CAAC;IAI3B,CAAC;IAED,OAAO,CAAC,KAAQ;QACd,OAAO,IAAI,CAAC,iBAAiB,KAAK,KAAK,CAAC;IAC1C,CAAC;;;YAdF,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC;aACjF;;;YAxBC,WAAW;;;gCA0BV,KAAK;;AAgBR,MAAM,OAAO,0BAA8B,SAAQ,gBAAmB;IAGpE,YAAY,WAAgC;QAC1C,KAAK,CAAC,WAAW,CAAC,CAAC;QAHZ,cAAS,GAAG,IAAI,CAAC;IAI1B,CAAC;IAED,OAAO,CAAC,KAAQ;QACd,OAAO,KAAK,CAAC;IACf,CAAC;;;YAbF,SAAS,SAAC;gBACT,QAAQ,EAAE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gB,CAAC,MAAM,8CAA8C,CAAC,CAAC;SAC9F;QACD,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE;YACjC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;gBAC/C,IAAI,MAAM,CAAC,SAAS,EAAE;oBACpB,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;iBAC9B;YACH,CAAC,CAAC,CAAC;YACH,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC/B,OAAO,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,MAAM,6CAA6C,CAAC,CAAC;aAC7F;SACF;QACD,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;YAC/B,IAAI,CAAC,aAAa,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;SAC1C;aAAM;YACL,OAAO,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;YAC1D,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC;SACzB;IACH,CAAC;;;YA3DF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,+RAA2C;;aAE5C;;;YAlEC,iBAAiB;;;0BAqEhB,KAAK;qBAGL,KAAK;gCAGL,eAAe,SAAC,gBAAgB;;AALjC;IADU,aAAa,EAAE;8BACZ,UAAU;wDAAI;AAG3B;IADU,iBAAiB,CAAC,aAAa,CAAC;;mDAChC","sourcesContent":["import {\n AfterContentInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Directive,\n Input,\n OnInit,\n QueryList,\n TemplateRef\n} from '@angular/core';\n\nimport { Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';\nimport { DisposableComponent } from '../disposable-component';\n\n\nexport abstract class SwitchCaseOption<T> {\n\n abstract readonly isDefault: boolean;\n\n constructor(readonly templateRef: TemplateRef<Object>) {\n }\n\n get name() {\n return this.constructor.name;\n }\n\n abstract matches(value: T): boolean;\n}\n\n@Directive({\n selector: '[aupSwitchCaseWhen]',\n providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective }]\n})\nexport class SwitchCaseWhenDirective<T> extends SwitchCaseOption<T> {\n @Input() aupSwitchCaseWhen: T;\n readonly isDefault = false;\n\n constructor(templateRef: TemplateRef<Object>) {\n super(templateRef);\n }\n\n matches(value: T): boolean {\n return this.aupSwitchCaseWhen === value;\n }\n}\n\n@Directive({\n selector: '[aupSwitchCaseDefault]',\n providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective }]\n})\nexport class SwitchCaseDefaultDirective<T> extends SwitchCaseOption<T> {\n readonly isDefault = true;\n\n constructor(templateRef: TemplateRef<Object>) {\n super(templateRef);\n }\n\n matches(value: T): boolean {\n return false;\n }\n}\n\n\n@Component({\n selector: 'aup-switch-case',\n templateUrl: './switch-case.component.html',\n styleUrls: ['./switch-case.component.scss']\n})\nexport class SwitchCaseComponent<T> extends DisposableComponent implements OnInit, AfterContentInit {\n\n @Input() @TrackExternal()\n switchModel: ValueModel<T>;\n\n @Input() @StoreInValueModel('switchModel')\n switch: T;\n\n @ContentChildren(SwitchCaseOption)\n switchCaseOptions: QueryList<SwitchCaseOption<T>>;\n\n selectedIndex = 0;\n\n constructor(private cdr: ChangeDetectorRef) {\n super();\n }\n\n ngOnInit(): void {\n }\n\n ngAfterContentInit(): void {\n const subscription = this.switchCaseOptions.changes.subscribe(change => this.updateSelection());\n this.onDispose(() => subscription.unsubscribe());\n const { chain, when } = Dsl.disposeWith(this);\n when(this.switchModel).changes(() => this.updateSelection(), { initialValue: 'triggerChange' });\n this.cdr.detectChanges();\n }\n\n private updateSelection() {\n const matchingIndicies = [];\n this.switchCaseOptions.forEach((option, index) => {\n if (option.matches(this.switchModel.value)) {\n matchingIndicies.push(index);\n }\n });\n if (matchingIndicies.length > 1) {\n console.warn(`found ${matchingIndicies.length} matching case values, displaying the first.`);\n }\n if (matchingIndicies.length === 0) {\n this.switchCaseOptions.forEach((option, index) => {\n if (option.isDefault) {\n matchingIndicies.push(index);\n }\n });\n if (matchingIndicies.length > 1) {\n console.warn(`found ${matchingIndicies.length} default case values, displaying the first.`);\n }\n }\n if (matchingIndicies.length > 0) {\n this.selectedIndex = matchingIndicies[0];\n } else {\n console.warn(`found no matching or default case values.`);\n this.selectedIndex = -1;\n }\n }\n}\n\n"]}
@@ -1,4 +1,4 @@
1
- import { assert, Deferred, MutableValueModel } from '@coolon/pectin';
1
+ import { assert, Deferred, MutableValueModel, DelegatingValueModel } from '@coolon/pectin';
2
2
  export class ActivityRef {
3
3
  constructor(activityClass, activityData, onComplete) {
4
4
  this.activityClass = activityClass;
@@ -7,6 +7,7 @@ export class ActivityRef {
7
7
  this._complete = false;
8
8
  this.deferredResult = Deferred.defer();
9
9
  this.focusedModel = new MutableValueModel();
10
+ this._activityBusy = new DelegatingValueModel().withDefault(false);
10
11
  }
11
12
  isActivityRealised() {
12
13
  return !!this._activity;
@@ -37,12 +38,14 @@ export class ActivityRef {
37
38
  },
38
39
  focused: this.focusedModel.readonly
39
40
  });
41
+ this._activityBusy.setDelegate(this._activity.busy);
40
42
  }
41
43
  finishActivity(resolveOrReject) {
42
44
  assert.isFalsey(this.isComplete());
43
45
  resolveOrReject(this.deferredResult);
44
46
  this._complete = true;
45
47
  this.onComplete(this);
48
+ this._activityBusy.dispose();
46
49
  }
47
50
  cancel() {
48
51
  this.activity.cancel();
@@ -50,5 +53,8 @@ export class ActivityRef {
50
53
  get activityResult() {
51
54
  return this.deferredResult.promise;
52
55
  }
56
+ get activityBusy() {
57
+ return this._activityBusy.readonly;
58
+ }
53
59
  }
54
60
  //# sourceMappingURL=activity-ref.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity-ref.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/activity-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,QAAQ,EAAE,iBAAiB,EAA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,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ;SACpC,CAAC,CAAC;IACL,CAAC;IAES,cAAc,CAAC,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,MAAM;QACJ,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;IACrC,CAAC;CAEF","sourcesContent":["import { assert, Constructable, Deferred, MutableValueModel, Trace, ValueModel } 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 private readonly focusedModel = new MutableValueModel<boolean>();\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 setFocused(focused: boolean) {\n this.focusedModel.value = focused;\n }\n\n get focused() {\n return this.focusedModel.value\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 focused: this.focusedModel.readonly\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
+ {"version":3,"file":"activity-ref.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/activity-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,QAAQ,EAAQ,iBAAiB,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAInI,MAAM,OAAO,WAAW;IAQtB,YAAqB,aAA+C,EAC/C,YAAe,EACf,UAAuD;QAFvD,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAG;QACf,eAAU,GAAV,UAAU,CAA6C;QARpE,cAAS,GAAG,KAAK,CAAC;QAElB,mBAAc,GAAG,QAAQ,CAAC,KAAK,EAAK,CAAC;QAC5B,iBAAY,GAAG,IAAI,iBAAiB,EAAW,CAAC;QAChD,kBAAa,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAKxF,CAAC;IAED,kBAAkB;QAChB,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,UAAU;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,QAAQ;QACV,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;QAC3C,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,UAAU,CAAC,OAAgB;QACzB,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,OAAO,CAAC;IACpC,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,C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C;IACrC,CAAC;CAEF","sourcesContent":["import { assert, Constructable, Deferred, Form, MutableValueModel, DelegatingValueModel, Trace, ValueModel } 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 private readonly focusedModel = new MutableValueModel<boolean>();\n private readonly _activityBusy = new DelegatingValueModel<boolean>().withDefault(false);\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 setFocused(focused: boolean) {\n this.focusedModel.value = focused;\n }\n\n get focused() {\n return this.focusedModel.value\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 focused: this.focusedModel.readonly\n });\n this._activityBusy.setDelegate(this._activity.busy);\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 this._activityBusy.dispose();\n }\n\n cancel() {\n this.activity.cancel();\n }\n\n get activityResult(): Promise<R> {\n return this.deferredResult.promise;\n }\n\n get activityBusy() {\n return this._activityBusy.readonly;\n }\n\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ActivityRef":{"__symbolic":"class","arity":3,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@coolon/pectin","name":"Constructable","line":11,"character":38,"arguments":[{"__symbolic":"reference","module":"./activity","name":"Activity","line":11,"character":52,"arguments":[{"__symbolic":"error","message":"Could not resolve type","line":11,"character":61,"context":{"typeName":"D"}},{"__symbolic":"error","message":"Could not resolve type","line":11,"character":64,"context":{"typeName":"R"}},{"__symbolic":"error","message":"Could not resolve type","line":11,"character":67,"context":{"typeName":"E"}}]}]},{"__symbolic":"error","message":"Could not resolve type","line":12,"character":37,"context":{"typeName":"D"}},{"__symbolic":"error","message":"Expression form not supported","line":13,"character":35}]}],"isActivityRealised":[{"__symbolic":"method"}],"isComplete":[{"__symbolic":"method"}],"setFocused":[{"__symbolic":"method"}],"notifyActivityCreated":[{"__symbolic":"method"}],"finishActivity":[{"__symbolic":"method"}],"cancel":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"ActivityRef":{"__symbolic":"class","arity":3,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@coolon/pectin","name":"Constructable","line":12,"character":38,"arguments":[{"__symbolic":"reference","module":"./activity","name":"Activity","line":12,"character":52,"arguments":[{"__symbolic":"error","message":"Could not resolve type","line":12,"character":61,"context":{"typeName":"D"}},{"__symbolic":"error","message":"Could not resolve type","line":12,"character":64,"context":{"typeName":"R"}},{"__symbolic":"error","message":"Could not resolve type","line":12,"character":67,"context":{"typeName":"E"}}]}]},{"__symbolic":"error","message":"Could not resolve type","line":13,"character":37,"context":{"typeName":"D"}},{"__symbolic":"error","message":"Expression form not supported","line":14,"character":35}]}],"isActivityRealised":[{"__symbolic":"method"}],"isComplete":[{"__symbolic":"method"}],"setFocused":[{"__symbolic":"method"}],"notifyActivityCreated":[{"__symbolic":"method"}],"finishActivity":[{"__symbolic":"method"}],"cancel":[{"__symbolic":"method"}]}}}}]
@@ -1,7 +1,7 @@
1
1
  import { __awaiter } from "tslib";
2
2
  import { Component, Input, QueryList, ViewChild, ViewChildren } from '@angular/core';
3
3
  import { MatTabGroup } from '@angular/material/tabs';
4
- import { assert, Dsl, GarbageCollector, MutableValueModel } from '@coolon/pectin';
4
+ import { assert, DelegatingValueModel, Dsl, GarbageCollector, MutableValueModel } from '@coolon/pectin';
5
5
  import { lang } from '@coolon/typescript-utilities';
6
6
  import _ from 'lodash';
7
7
  import { AbstractInteractionContext } from '../../abstract-interaction-context';
@@ -14,6 +14,8 @@ export class ActivityContainerComponent extends AbstractInteractionContext {
14
14
  this.activityRefs = [];
15
15
  this.garbage = new GarbageCollector();
16
16
  this.inAnimation = new MutableValueModel(false);
17
+ this.busy = new DelegatingValueModel().withDefault(false);
18
+ this.registerDisposable(this.busy);
17
19
  }
18
20
  ngOnInit() {
19
21
  }
@@ -156,6 +158,7 @@ export class ActivityContainerComponent extends AbstractInteractionContext {
156
158
  if (previousIndex !== newIndex) {
157
159
  this.inAnimation.value = true;
158
160
  this.activityRefs[newIndex].setFocused(false);
161
+ this.busy.setDelegate(this.activityRefs[newIndex].activityBusy);
159
162
  this.tabs.selectedIndex = newIndex;
160
163
  this.onAnimationFinishedJob = () => {
161
164
  this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());
@@ -187,8 +190,8 @@ export class ActivityContainerComponent extends AbstractInteractionContext {
187
190
  ActivityContainerComponent.decorators = [
188
191
  { type: Component, args: [{
189
192
  selector: 'aup-activity-container',
190
- template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n",
191
- styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
193
+ template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n",
194
+ styles: [":host{display:flex;flex-direction:column}aup-busy-overlay,mat-tab-group{flex:1}"]
192
195
  },] }
193
196
  ];
194
197
  ActivityContainerComponent.ctorParameters = () => [];
@@ -1 +1 @@
1
- {"version":3,"file":"activity-container.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-container.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAU,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,MAAM,EAA6B,GAAG,EAAE,gBAAgB,EAAE,iBAAiB,EAAS,MAAM,gBAAgB,CAAC;AACpH,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AA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AC,CAAC;IACjE,CAAC;IAED,WAAW;IACX,mBAAmB;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;IACjC,CAAC;IAED,WAAW;IACH,yBAAyB;QAC/B,IAAI,IAAI,CAAC,sBAAsB,EAAE;YAC/B,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;SAC3C;QACD,IAAI,CAAC,sBAAsB,GAAG,UAAU,CAAC,GAAG,EAAE;YAC5C,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;YACnC,IAAI,CAAC,2BAA2B,EAAE,CAAC;QACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;;;YAtNF,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,gyBAAkD;;aAEnD;;;;4BAGE,KAAK;mBAGL,SAAS,SAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;8BAGlC,YAAY,SAAC,uBAAuB","sourcesContent":["import { AfterViewInit, Component, Input, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';\nimport { MatTabGroup } from '@angular/material/tabs';\nimport { assert, Constructable, Disposable, Dsl, GarbageCollector, MutableValueModel, Trace } from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport _ from 'lodash';\nimport { slideDownOnEnterAnimation } from '../../../animations/slide-animations';\nimport { AbstractInteractionContext } from '../../abstract-interaction-context';\nimport { Activity } from '../../activity';\nimport { ActivityRef } from '../../activity-ref';\nimport { InteractionService } from '../../services/interaction.service';\nimport { ActivityOutletComponent } from './activity-outlet/activity-outlet.component';\n\n@Component({\n selector: 'aup-activity-container',\n templateUrl: './activity-container.component.html',\n styleUrls: ['./activity-container.component.scss']\n})\nexport class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext implements OnInit, AfterViewInit {\n\n @Input()\n dynamicHeight = false;\n\n @ViewChild('tabs', { static: true })\n tabs: MatTabGroup;\n\n @ViewChildren(ActivityOutletComponent)\n activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;\n\n activityRefs: ActivityRef<any, any, any>[] = [];\n\n private _identifier: string;\n private _deferredCleanUp: Promise<any>;\n\n private interactionServiceApi: InteractionService.Api;\n\n private garbage = new GarbageCollector();\n private syncSelectedTabTimeout: any;\n private onAnimationFinishedJob: () => void;\n\n readonly inAnimation = new MutableValueModel<boolean>(false);\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n ngAfterViewInit(): void {\n const { chain, observe } = Dsl.disposeWith(this);\n // using the component directly rather than (animationDone)=.. allows us\n // to keep our callback private.\n observe.valuesFrom(this.tabs.animationDone).subscribe(() => this.onAnimationFinished());\n }\n\n initialise(identifier: string, api: InteractionService.Api) {\n assert.isFalsey(this.isInitialised());\n assert.notNil(identifier);\n assert.notNil(api);\n this._identifier = identifier;\n this.interactionServiceApi = api;\n }\n\n get identifier() {\n return this._identifier;\n }\n\n isInitialised() {\n return !!this.identifier;\n }\n\n /**\n * Returns true if an activity is currently running.\n */\n isActive(): boolean {\n return this.getActiveActivityCount() > 0;\n }\n\n registerDisposable<T extends Disposable>(disposable: T): T {\n return this.garbage.registerDisposable(disposable);\n }\n\n // @Trace()\n dispose(): void {\n // TODO: think about auto cancelling any outstanding activity on dispose.\n // See NavigationState.Navigating for a use-case.\n assert.isFalsey(this.isActive());\n this.garbage.dispose();\n }\n\n getActiveActivityRef(): ActivityRef<any, any, any> {\n if (!this.isActive()) {\n lang.illegalState('no activity in progress');\n }\n return _.findLast(this.activityRefs, tab => !tab.isComplete());\n }\n\n /**\n * Cancels the current activity and returns true the context is no longer active, false if\n * there is still another activity running.\n */\n // @Trace()\n async cancelActiveActivity(): Promise<boolean> {\n const activity = this.getActiveActivityRef();\n activity.cancel();\n if (this.isCleaningUp()) {\n return this.waitForInteractionContextCleanupToFinish();\n } else {\n return !this.isActive();\n }\n }\n\n // TODO: this handling of multiple nested activities is only used by the activity component and is not a general case.\n // @Trace()\n protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, disableClose: boolean): Promise<R1> {\n assert.isTruthy(this.isInitialised()); // make sure we've been initialised\n const activityRef = new ActivityRef<D1, R1, E1>(activityType, data, () => {\n const activeActivityCount = this.getActiveActivityCount() > 0;\n if (activeActivityCount) {\n this.triggerTabSynchronisation();\n } else {\n this.finishAndStartCleanup();\n }\n });\n this.launchActivity(activityRef);\n // if this is the first activity let the interaction service know.\n if (this.activityRefs.length === 1) {\n // console.log('Now active!!!');\n this.interactionServiceApi.notifyActive(this);\n }\n return activityRef.activityResult;\n }\n\n private getActiveActivityCount(): number {\n return this.activityRefs.filter(ref => !ref.isComplete()).length;\n }\n\n /**\n * Checks if this interaction context has finished an is in the process of waiting\n * for all the infrastructure (including route updates) to be completed.\n */\n isCleaningUp(): boolean {\n return !!this._deferredCleanUp;\n }\n\n async waitForInteractionContextCleanupToFinish(): Promise<any> {\n return this._deferredCleanUp ?\n this._deferredCleanUp :\n true;\n }\n\n // @Trace()\n private finishAndStartCleanup(): void {\n if (!this._deferredCleanUp) {\n // Important:\n // Clear our tabs so the next activity triggers a tab change.\n // Without this our animation done wasn't called when a single\n // new activity followed a single tab activity (since we're tracking\n // by activity index)\n this.activityRefs = [];\n const promise = this.interactionServiceApi.notifyFinished(this);\n this._deferredCleanUp = promise\n .finally(() => {\n this._deferredCleanUp = null;\n });\n }\n }\n\n// @Trace()\n launchActivity<D1, R1, E1>(activityRef: ActivityRef<D1, R1, E1>) {\n const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());\n this.activityRefs = cleanedTabs.concat(activityRef);\n this.synchroniseSelectedTabIndex();\n }\n\n activityIndex(index: number, activityRef: ActivityRef<any, any, any>) {\n return index;\n };\n\n // @Trace()\n private onAnimationFinished() {\n if (this.onAnimationFinishedJob) {\n this.onAnimationFinishedJob();\n this.onAnimationFinishedJob = undefined;\n }\n }\n\n /**\n * Synchronises the selected tab index.\n */\n // @Trace()\n private synchroniseSelectedTabIndex(): void {\n const previousIndex = this.tabs.selectedIndex;\n const newIndex = this.getActiveActivityCount() - 1;\n if (previousIndex !== newIndex) {\n this.inAnimation.value = true;\n this.activityRefs[newIndex].setFocused(false);\n this.tabs.selectedIndex = newIndex;\n this.onAnimationFinishedJob = () => {\n this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());\n this.inAnimation.value = false;\n this.activityRefs.forEach((ref, index) => {\n ref.setFocused(index === newIndex)\n })\n };\n }\n }\n\n private getSelectedOutlet() {\n return this.activityOutlets.toArray()[this.tabs.selectedIndex];\n }\n\n // @Trace()\n getSelectedTabIndex() {\n return this.tabs.selectedIndex;\n }\n\n // @Trace()\n private triggerTabSynchronisation() {\n if (this.syncSelectedTabTimeout) {\n clearTimeout(this.syncSelectedTabTimeout);\n }\n this.syncSelectedTabTimeout = setTimeout(() => {\n this.syncSelectedTabTimeout = null;\n this.synchroniseSelectedTabIndex();\n }, 75);\n }\n}\n"]}
1
+ {"version":3,"file":"activity-container.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-container.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAU,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EACL,MAAM,EAEN,oBAAoB,EAEpB,GAAG,EACH,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAOtF,MAAM,OAAO,0BAAoC,SAAQ,0BAA0B;I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AU,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAA;gBACpC,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC;SACH;IACH,CAAC;IAEO,iBAAiB;QACvB,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACjE,CAAC;IAED,WAAW;IACX,mBAAmB;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;IACjC,CAAC;IAED,WAAW;IACH,yBAAyB;QAC/B,IAAI,IAAI,CAAC,sBAAsB,EAAE;YAC/B,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;SAC3C;QACD,IAAI,CAAC,sBAAsB,GAAG,UAAU,CAAC,GAAG,EAAE;YAC5C,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;YACnC,IAAI,CAAC,2BAA2B,EAAE,CAAC;QACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;;;YA1NF,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,w3BAAkD;;aAEnD;;;;4BAGE,KAAK;mBAGL,SAAS,SAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;8BAGlC,YAAY,SAAC,uBAAuB","sourcesContent":["import { AfterViewInit, Component, Input, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';\nimport { MatTabGroup } from '@angular/material/tabs';\nimport {\n assert,\n Constructable,\n DelegatingValueModel,\n Disposable,\n Dsl,\n GarbageCollector,\n MutableValueModel,\n Trace\n} from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport _ from 'lodash';\nimport { slideDownOnEnterAnimation } from '../../../animations/slide-animations';\nimport { AbstractInteractionContext } from '../../abstract-interaction-context';\nimport { Activity } from '../../activity';\nimport { ActivityRef } from '../../activity-ref';\nimport { InteractionService } from '../../services/interaction.service';\nimport { ActivityOutletComponent } from './activity-outlet/activity-outlet.component';\n\n@Component({\n selector: 'aup-activity-container',\n templateUrl: './activity-container.component.html',\n styleUrls: ['./activity-container.component.scss']\n})\nexport class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext implements OnInit, AfterViewInit {\n\n @Input()\n dynamicHeight = false;\n\n @ViewChild('tabs', { static: true })\n tabs: MatTabGroup;\n\n @ViewChildren(ActivityOutletComponent)\n activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;\n\n activityRefs: ActivityRef<any, any, any>[] = [];\n\n private _identifier: string;\n private _deferredCleanUp: Promise<any>;\n\n private interactionServiceApi: InteractionService.Api;\n\n private garbage = new GarbageCollector();\n private syncSelectedTabTimeout: any;\n private onAnimationFinishedJob: () => void;\n\n readonly inAnimation = new MutableValueModel<boolean>(false);\n\n readonly busy = new DelegatingValueModel<boolean>().withDefault(false);\n\n constructor() {\n super();\n this.registerDisposable(this.busy);\n }\n\n ngOnInit() {\n }\n\n ngAfterViewInit(): void {\n const { chain, observe } = Dsl.disposeWith(this);\n // using the component directly rather than (animationDone)=.. allows us\n // to keep our callback private.\n observe.valuesFrom(this.tabs.animationDone).subscribe(() => this.onAnimationFinished());\n }\n\n initialise(identifier: string, api: InteractionService.Api) {\n assert.isFalsey(this.isInitialised());\n assert.notNil(identifier);\n assert.notNil(api);\n this._identifier = identifier;\n this.interactionServiceApi = api;\n }\n\n get identifier() {\n return this._identifier;\n }\n\n isInitialised() {\n return !!this.identifier;\n }\n\n /**\n * Returns true if an activity is currently running.\n */\n isActive(): boolean {\n return this.getActiveActivityCount() > 0;\n }\n\n registerDisposable<T extends Disposable>(disposable: T): T {\n return this.garbage.registerDisposable(disposable);\n }\n\n // @Trace()\n dispose(): void {\n // TODO: think about auto cancelling any outstanding activity on dispose.\n // See NavigationState.Navigating for a use-case.\n assert.isFalsey(this.isActive());\n this.garbage.dispose();\n }\n\n getActiveActivityRef(): ActivityRef<any, any, any> {\n if (!this.isActive()) {\n lang.illegalState('no activity in progress');\n }\n return _.findLast(this.activityRefs, tab => !tab.isComplete());\n }\n\n /**\n * Cancels the current activity and returns true the context is no longer active, false if\n * there is still another activity running.\n */\n // @Trace()\n async cancelActiveActivity(): Promise<boolean> {\n const activity = this.getActiveActivityRef();\n activity.cancel();\n if (this.isCleaningUp()) {\n return this.waitForInteractionContextCleanupToFinish();\n } else {\n return !this.isActive();\n }\n }\n\n // TODO: this handling of multiple nested activities is only used by the activity component and is not a general case.\n // @Trace()\n protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, disableClose: boolean): Promise<R1> {\n assert.isTruthy(this.isInitialised()); // make sure we've been initialised\n const activityRef = new ActivityRef<D1, R1, E1>(activityType, data, () => {\n const activeActivityCount = this.getActiveActivityCount() > 0;\n if (activeActivityCount) {\n this.triggerTabSynchronisation();\n } else {\n this.finishAndStartCleanup();\n }\n });\n this.launchActivity(activityRef);\n // if this is the first activity let the interaction service know.\n if (this.activityRefs.length === 1) {\n // console.log('Now active!!!');\n this.interactionServiceApi.notifyActive(this);\n }\n return activityRef.activityResult;\n }\n\n private getActiveActivityCount(): number {\n return this.activityRefs.filter(ref => !ref.isComplete()).length;\n }\n\n /**\n * Checks if this interaction context has finished an is in the process of waiting\n * for all the infrastructure (including route updates) to be completed.\n */\n isCleaningUp(): boolean {\n return !!this._deferredCleanUp;\n }\n\n async waitForInteractionContextCleanupToFinish(): Promise<any> {\n return this._deferredCleanUp ?\n this._deferredCleanUp :\n true;\n }\n\n // @Trace()\n private finishAndStartCleanup(): void {\n if (!this._deferredCleanUp) {\n // Important:\n // Clear our tabs so the next activity triggers a tab change.\n // Without this our animation done wasn't called when a single\n // new activity followed a single tab activity (since we're tracking\n // by activity index)\n this.activityRefs = [];\n const promise = this.interactionServiceApi.notifyFinished(this);\n this._deferredCleanUp = promise\n .finally(() => {\n this._deferredCleanUp = null;\n });\n }\n }\n\n// @Trace()\n launchActivity<D1, R1, E1>(activityRef: ActivityRef<D1, R1, E1>) {\n const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());\n this.activityRefs = cleanedTabs.concat(activityRef);\n this.synchroniseSelectedTabIndex();\n }\n\n activityIndex(index: number, activityRef: ActivityRef<any, any, any>) {\n return index;\n };\n\n // @Trace()\n private onAnimationFinished() {\n if (this.onAnimationFinishedJob) {\n this.onAnimationFinishedJob();\n this.onAnimationFinishedJob = undefined;\n }\n }\n\n /**\n * Synchronises the selected tab index.\n */\n // @Trace()\n private synchroniseSelectedTabIndex(): void {\n const previousIndex = this.tabs.selectedIndex;\n const newIndex = this.getActiveActivityCount() - 1;\n if (previousIndex !== newIndex) {\n this.inAnimation.value = true;\n this.activityRefs[newIndex].setFocused(false);\n this.busy.setDelegate(this.activityRefs[newIndex].activityBusy)\n this.tabs.selectedIndex = newIndex;\n this.onAnimationFinishedJob = () => {\n this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());\n this.inAnimation.value = false;\n this.activityRefs.forEach((ref, index) => {\n ref.setFocused(index === newIndex)\n })\n };\n }\n }\n\n private getSelectedOutlet() {\n return this.activityOutlets.toArray()[this.tabs.selectedIndex];\n }\n\n // @Trace()\n getSelectedTabIndex() {\n return this.tabs.selectedIndex;\n }\n\n // @Trace()\n private triggerTabSynchronisation() {\n if (this.syncSelectedTabTimeout) {\n clearTimeout(this.syncSelectedTabTimeout);\n }\n this.syncSelectedTabTimeout = setTimeout(() => {\n this.syncSelectedTabTimeout = null;\n this.synchroniseSelectedTabIndex();\n }, 75);\n }\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ActivityContainerComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../abstract-interaction-context","name":"AbstractInteractionContext","line":17,"character":57},"arity":3,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"aup-activity-container","template":"<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n","styles":[":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]}]}],"members":{"dynamicHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":22,"character":3},"arguments":["tabs",{"static":true}]}]}],"activityOutlets":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":25,"character":3},"arguments":[{"__symbolic":"reference","module":"./activity-outlet/activity-outlet.component","name":"ActivityOutletComponent","line":25,"character":16}]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"initialise":[{"__symbolic":"method"}],"isInitialised":[{"__symbolic":"method"}],"isActive":[{"__symbolic":"method"}],"registerDisposable":[{"__symbolic":"method"}],"dispose":[{"__symbolic":"method"}],"getActiveActivityRef":[{"__symbolic":"method"}],"cancelActiveActivity":[{"__symbolic":"method"}],"createAndLaunchActivity":[{"__symbolic":"method"}],"getActiveActivityCount":[{"__symbolic":"method"}],"isCleaningUp":[{"__symbolic":"method"}],"waitForInteractionContextCleanupToFinish":[{"__symbolic":"method"}],"finishAndStartCleanup":[{"__symbolic":"method"}],"launchActivity":[{"__symbolic":"method"}],"activityIndex":[{"__symbolic":"method"}],"onAnimationFinished":[{"__symbolic":"method"}],"synchroniseSelectedTabIndex":[{"__symbolic":"method"}],"getSelectedOutlet":[{"__symbolic":"method"}],"getSelectedTabIndex":[{"__symbolic":"method"}],"triggerTabSynchronisation":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"ActivityContainerComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../abstract-interaction-context","name":"AbstractInteractionContext","line":26,"character":57},"arity":3,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"aup-activity-container","template":"<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n","styles":[":host{display:flex;flex-direction:column}aup-busy-overlay,mat-tab-group{flex:1}"]}]}],"members":{"dynamicHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":31,"character":3},"arguments":["tabs",{"static":true}]}]}],"activityOutlets":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":34,"character":3},"arguments":[{"__symbolic":"reference","module":"./activity-outlet/activity-outlet.component","name":"ActivityOutletComponent","line":34,"character":16}]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"initialise":[{"__symbolic":"method"}],"isInitialised":[{"__symbolic":"method"}],"isActive":[{"__symbolic":"method"}],"registerDisposable":[{"__symbolic":"method"}],"dispose":[{"__symbolic":"method"}],"getActiveActivityRef":[{"__symbolic":"method"}],"cancelActiveActivity":[{"__symbolic":"method"}],"createAndLaunchActivity":[{"__symbolic":"method"}],"getActiveActivityCount":[{"__symbolic":"method"}],"isCleaningUp":[{"__symbolic":"method"}],"waitForInteractionContextCleanupToFinish":[{"__symbolic":"method"}],"finishAndStartCleanup":[{"__symbolic":"method"}],"launchActivity":[{"__symbolic":"method"}],"activityIndex":[{"__symbolic":"method"}],"onAnimationFinished":[{"__symbolic":"method"}],"synchroniseSelectedTabIndex":[{"__symbolic":"method"}],"getSelectedOutlet":[{"__symbolic":"method"}],"getSelectedTabIndex":[{"__symbolic":"method"}],"triggerTabSynchronisation":[{"__symbolic":"method"}]}}}}]
@@ -1 +1 @@
1
- {"version":3,"file":"interaction.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/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 '@angular/material/icon';\nimport * as i10 from '../directives/command.directive';\nimport * as i11 from '../directives/focus-binding.directive';\nimport * as i12 from '@angular/flex-layout/flex';\nimport * as i13 from '@angular/flex-layout/grid';\nimport * as i14 from '../components/forms/number-input/number-input.component';\nimport * as i15 from '../components/forms/string-input/string-input.component';\nimport * as i16 from '../components/forms/text-input/text-input.component';\nimport * as i17 from '../components/forms/password-input/password-input.component';\nimport * as i18 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i19 from '../components/forms/select-input/select-input.component';\nimport * as i20 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i21 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i22 from '../components/scroll-container/scroll-container.component';\nimport * as i23 from '../components/noop/noop.component';\nimport * as i24 from '../components/switch-case/switch-case.component';\nimport * as i25 from '../components/focus-container/focus-container.component';\nimport * as i26 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i27 from '../components/focusable.component';\nimport * as i28 from '../components/card-container/card-container.component';\nimport * as i29 from '../components/table/table.component';\nimport * as i30 from '../components/table/edit-row-controls/edit-row-controls.component';\nimport * as i31 from '../components/table/column-template/column-template.directive';\nimport * as i32 from '../components/icon/icon.component';\nimport * as i33 from '../components/section-header/section-header.component';\nimport * as i34 from '../components/table/table-row-menu/table-row-menu.component';\nimport * as i35 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i36 from '../components/commands/command/command.component';\nimport * as i37 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i38 from '../components/commands/command-face/command-face.component';\nimport * as i39 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i40 from '../components/commands/separator.component';\nimport * as i41 from '../components/commands/flex.component';\nimport * as i42 from '../components/tree-table/tree-table-component';\nimport * as i43 from './components/activity-container/activity-container.component';\nimport * as i44 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i45 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i46 from './components/alert-dialog/alert-dialog.component';\nimport * as i47 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i48 from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i49 from './components/add-item-interaction-context/add-item-interaction-context.component';\nimport * as i50 from './components/activity-actions/activity-actions.component';\nimport * as i51 from './components/popup-interaction-context/popup-interaction-context.component';\nimport * as i52 from './components/input-activities/string-input-activity';\nimport * as i53 from './components/input-activities/select-input-activity';\nimport * as i54 from './components/input-activities/abstract-input-activity';\nimport * as i55 from './directives/interaction-context-trigger-for.directive';\nimport * as i56 from './activity';\nimport * as i57 from './components/activity-title/activity-title.component';\nimport * as i58 from '../directives/directives.module';\nimport * as i59 from '../components/components.module';\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> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<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.MatIcon = (<any>(null as any));\nvar _decl0_35:i10.CommandDirective<any> = (<any>(null as any));\nvar _decl0_36:i11.FocusBindingDirective = (<any>(null as any));\nvar _decl0_37:i12.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_38:i12.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_39:i12.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_40:i12.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_41:i12.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_42:i12.FlexFillDirective = (<any>(null as any));\nvar _decl0_43:i12.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_44:i12.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_45:i13.ɵgrid_privatec = (<any>(null as any));\nvar _decl0_46:i13.ɵgrid_privatef = (<any>(null as any));\nvar _decl0_47:i13.ɵgrid_privatei = (<any>(null as any));\nvar _decl0_48:i13.ɵgrid_privatel = (<any>(null as any));\nvar _decl0_49:i13.ɵgrid_privateo = (<any>(null as any));\nvar _decl0_50:i13.ɵgrid_privater = (<any>(null as any));\nvar _decl0_51:i13.ɵgrid_privateu = (<any>(null as any));\nvar _decl0_52:i13.ɵgrid_privatex = (<any>(null as any));\nvar _decl0_53:i13.ɵgrid_privateba = (<any>(null as any));\nvar _decl0_54:i13.ɵgrid_privatebd = (<any>(null as any));\nvar _decl0_55:i13.ɵgrid_privatebg = (<any>(null as any));\nvar _decl0_56:i14.NumberInputComponent = (<any>(null as any));\nvar _decl0_57:i15.StringInputComponent = (<any>(null as any));\nvar _decl0_58:i16.TextInputComponent = (<any>(null as any));\nvar _decl0_59:i17.PasswordInputComponent = (<any>(null as any));\nvar _decl0_60:i18.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_61:i19.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_62:i20.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_63:i21.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i22.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_65:i23.NoopComponent = (<any>(null as any));\nvar _decl0_66:i24.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_67:i24.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_68:i24.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_69:i25.FocusContainerComponent = (<any>(null as any));\nvar _decl0_70:i26.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_71:i27.FocusableComponent = (<any>(null as any));\nvar _decl0_72:i28.CardContainerComponent = (<any>(null as any));\nvar _decl0_73:i29.TableComponent<any> = (<any>(null as any));\nvar _decl0_74:i30.EditRowControls<any> = (<any>(null as any));\nvar _decl0_75:i31.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_76:i32.IconComponent = (<any>(null as any));\nvar _decl0_77:i33.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_78:i34.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_79:i35.ToolBarComponent = (<any>(null as any));\nvar _decl0_80:i36.CommandComponent = (<any>(null as any));\nvar _decl0_81:i37.PopupMenuComponent = (<any>(null as any));\nvar _decl0_82:i38.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_83:i39.MoreMenuComponent = (<any>(null as any));\nvar _decl0_84:i40.SeparatorComponent = (<any>(null as any));\nvar _decl0_85:i41.FlexComponent = (<any>(null as any));\nvar _decl0_86:i42.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_87:i43.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_88:i44.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_89:i45.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_90:i46.AlertDialogComponent = (<any>(null as any));\nvar _decl0_91:i47.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_92:i48.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_93:i49.AddItemInteractionContextComponent = (<any>(null as any));\nvar _decl0_94:i50.ActivityActionsComponent = (<any>(null as any));\nvar _decl0_95:i51.PopupInteractionContextComponent = (<any>(null as any));\nvar _decl0_96:i52.StringInputActivity = (<any>(null as any));\nvar _decl0_97:i53.SelectInputActivity<any> = (<any>(null as any));\nvar _decl0_98:i54.AbstractInputActivity<any,any> = (<any>(null as any));\nvar _decl0_99:i55.InteractionContextTriggerFor<any,any,any> = (<any>(null as any));\nvar _decl0_100:i56.Activity<any,any,any> = (<any>(null as any));\nvar _decl0_101:i57.ActivityTitleComponent = (<any>(null as any));\nvar _decl0_102:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_103:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_104:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_105:i2.JsonPipe = (<any>(null as any));\nvar _decl0_106:i2.SlicePipe = (<any>(null as any));\nvar _decl0_107:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_108:i2.PercentPipe = (<any>(null as any));\nvar _decl0_109:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_110:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_111:i2.DatePipe = (<any>(null as any));\nvar _decl0_112:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_113:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_114:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_115:i2.CommonModule = (<any>(null as any));\nvar _decl0_116:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_117:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_118:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_119:i7.PortalModule = (<any>(null as any));\nvar _decl0_120:i8.RouterModule = (<any>(null as any));\nvar _decl0_121:i9.MatIconModule = (<any>(null as any));\nvar _decl0_122:i58.DirectivesModule = (<any>(null as any));\nvar _decl0_123:i12.FlexModule = (<any>(null as any));\nvar _decl0_124:i13.GridModule = (<any>(null as any));\nvar _decl0_125:i59.ComponentsModule = (<any>(null as any));\nvar _decl0_126:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_127: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 = !_any.focused;\n currVal_0;\n const currVal_1:any = _decl0_87;\n currVal_1;\n const currVal_2:any = _any;\n currVal_2;\n}\nfunction _View_ActivityContainerComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_87.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_87.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_87.activityRefs;\n currVal_4;\n const currVal_5:any = _decl0_87.activityIndex;\n currVal_5;\n}\nfunction _View_ConfirmationDialogComponent_Host_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_88.class;\n currVal_0;\n const currVal_1:any = _decl0_88.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_88.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_88.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_88.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_88.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_12.disabled;\n currVal_4;\n const currVal_5:any = _decl0_88.confirm.cancel();\n currVal_5;\n const currVal_6:any = (_decl0_88.isDestructive()? 'warn': 'primary');\n currVal_6;\n const currVal_7:any = (_decl0_12.disabled || null);\n currVal_7;\n const currVal_8:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_8;\n const currVal_9:any = _decl0_12.disabled;\n currVal_9;\n const currVal_10:any = _decl0_88.confirm.ok();\n currVal_10;\n const pd_11:any = ((<any>_decl0_88.cancel()) !== false);\n const pd_12:any = ((<any>_decl0_88.done()) !== false);\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_89.class;\n currVal_0;\n const currVal_1:any = _decl0_89.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_89.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_89.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_89.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_89.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_12.disabled;\n currVal_4;\n const currVal_5:any = _decl0_89.confirm.cancel();\n currVal_5;\n const currVal_6:any = (_decl0_89.isDestructive()? 'warn': 'primary');\n currVal_6;\n const currVal_7:any = (_decl0_12.disabled || null);\n currVal_7;\n const currVal_8:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_8;\n const currVal_9:any = _decl0_12.disabled;\n currVal_9;\n const currVal_10:any = _decl0_89.confirm.ok();\n currVal_10;\n const pd_11:any = ((<any>_decl0_89.cancel()) !== false);\n const pd_12:any = ((<any>_decl0_89.onConfirm()) !== false);\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_90.class;\n currVal_0;\n const currVal_1:any = _decl0_90.isFocused;\n currVal_1;\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_90.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_90.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_90.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_90.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_12.disabled;\n currVal_5;\n const currVal_6:any = _decl0_90.alert.ok();\n currVal_6;\n const pd_7:any = ((<any>_decl0_90.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_92.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_92.animationDuration;\n currVal_2;\n const currVal_3:any = _decl0_19.dynamicHeight;\n currVal_3;\n const currVal_4:any = (_decl0_19.headerPosition === 'below');\n currVal_4;\n const currVal_5:any = false;\n currVal_5;\n}\nfunction _View_AddItemInteractionContextComponent_Host_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.active;\n currVal_0;\n const currVal_1:any = _decl0_93.tabindex;\n currVal_1;\n}\nfunction _View_AddItemInteractionContextComponent_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_93.clickCommand;\n currVal_1;\n const currVal_2:any = _decl0_93.icon;\n currVal_2;\n const currVal_3:any = _decl0_93.label;\n currVal_3;\n const pd_4:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\nfunction _View_ActivityActionsComponent_Host_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.alignEnd;\n currVal_0;\n const currVal_1:any = _decl0_94.alignStretch;\n currVal_1;\n}\nfunction _View_ActivityActionsComponent_8_1():void {\n if (_decl0_94.hasCancelCommand()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.cancelCommand;\n currVal_0;\n const currVal_1:any = _decl0_94.style.cancel;\n currVal_1;\n }\n}\nfunction _View_ActivityActionsComponent_8_2():void {\n if (_decl0_94.hasConfirmCommand()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.confirmCommand;\n currVal_0;\n const currVal_1:any = _decl0_94.style.confirm;\n currVal_1;\n }\n}\nfunction _View_ActivityActionsComponent_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.hasCancelCommand();\n currVal_0;\n const currVal_1:any = _decl0_94.hasConfirmCommand();\n currVal_1;\n}\nfunction _View_PopupInteractionContextComponent_Host_9_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.active;\n currVal_0;\n}\nfunction _View_PopupInteractionContextComponent_9_0():void {\n var _any:any = (null as any);\n}\nfunction _View_StringInputActivity_Host_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.class;\n currVal_0;\n const currVal_1:any = _decl0_96.isFocused;\n currVal_1;\n}\nfunction _View_StringInputActivity_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.data.label;\n currVal_0;\n const currVal_1:any = _decl0_96.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_96.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_96.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_96.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_57.dense;\n currVal_5;\n const currVal_6:any = _decl0_57.baseClassName;\n currVal_6;\n const currVal_7:any = _decl0_96.confirmCommand;\n currVal_7;\n const currVal_8:any = _decl0_96.cancelCommand;\n currVal_8;\n const currVal_9:any = _decl0_96.data.buttonStyle;\n currVal_9;\n const currVal_10:any = 'end';\n currVal_10;\n const currVal_11:any = _decl0_94.alignEnd;\n currVal_11;\n const currVal_12:any = _decl0_94.alignStretch;\n currVal_12;\n const pd_13:any = ((<any>_decl0_57.notifyClick()) !== false);\n const pd_14:any = ((<any>_decl0_57.notifyFocusIn()) !== false);\n const pd_15:any = ((<any>_decl0_57.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputActivity_Host_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_97.class;\n currVal_0;\n const currVal_1:any = _decl0_97.isFocused;\n currVal_1;\n}\nfunction _View_SelectInputActivity_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_97.data.label;\n currVal_0;\n const currVal_1:any = _decl0_97.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_97.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_97.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_97.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_97.options;\n currVal_5;\n const currVal_6:any = _decl0_97.optionLabelFormat;\n currVal_6;\n const currVal_7:any = _decl0_61.dense;\n currVal_7;\n const currVal_8:any = _decl0_61.baseClassName;\n currVal_8;\n const currVal_9:any = _decl0_97.confirmCommand;\n currVal_9;\n const currVal_10:any = _decl0_97.cancelCommand;\n currVal_10;\n const currVal_11:any = _decl0_97.data.buttonStyle;\n currVal_11;\n const currVal_12:any = 'end';\n currVal_12;\n const currVal_13:any = _decl0_94.alignEnd;\n currVal_13;\n const currVal_14:any = _decl0_94.alignStretch;\n currVal_14;\n const pd_15:any = ((<any>_decl0_61.notifyClick()) !== false);\n const pd_16:any = ((<any>_decl0_61.notifyFocusIn()) !== false);\n const pd_17:any = ((<any>_decl0_61.notifyFocusOut()) !== false);\n}\nfunction _View_AbstractInputActivity_Host_12_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.class;\n currVal_0;\n const currVal_1:any = _decl0_98.isFocused;\n currVal_1;\n}\nfunction _View_AbstractInputActivity_12_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Activity_Host_13_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.class;\n currVal_0;\n const currVal_1:any = _decl0_100.isFocused;\n currVal_1;\n}\nfunction _View_Activity_13_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityTitleComponent_Host_14_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityTitleComponent_14_0():void {\n var _any:any = (null as any);\n}\n"]}
1
+ {"version":3,"file":"interaction.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/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 '@angular/material/icon';\nimport * as i10 from '../directives/command.directive';\nimport * as i11 from '../directives/focus-binding.directive';\nimport * as i12 from '@angular/flex-layout/flex';\nimport * as i13 from '@angular/flex-layout/grid';\nimport * as i14 from '../components/forms/number-input/number-input.component';\nimport * as i15 from '../components/forms/string-input/string-input.component';\nimport * as i16 from '../components/forms/text-input/text-input.component';\nimport * as i17 from '../components/forms/password-input/password-input.component';\nimport * as i18 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i19 from '../components/forms/select-input/select-input.component';\nimport * as i20 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i21 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i22 from '../components/scroll-container/scroll-container.component';\nimport * as i23 from '../components/noop/noop.component';\nimport * as i24 from '../components/switch-case/switch-case.component';\nimport * as i25 from '../components/focus-container/focus-container.component';\nimport * as i26 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i27 from '../components/focusable.component';\nimport * as i28 from '../components/card-container/card-container.component';\nimport * as i29 from '../components/table/table.component';\nimport * as i30 from '../components/table/edit-row-controls/edit-row-controls.component';\nimport * as i31 from '../components/table/column-template/column-template.directive';\nimport * as i32 from '../components/icon/icon.component';\nimport * as i33 from '../components/section-header/section-header.component';\nimport * as i34 from '../components/table/table-row-menu/table-row-menu.component';\nimport * as i35 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i36 from '../components/commands/command/command.component';\nimport * as i37 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i38 from '../components/commands/command-face/command-face.component';\nimport * as i39 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i40 from '../components/commands/separator.component';\nimport * as i41 from '../components/commands/flex.component';\nimport * as i42 from '../components/tree-table/tree-table-component';\nimport * as i43 from '../components/busy-overlay/busy-overlay.component';\nimport * as i44 from '../components/empty-state/empty-state.component';\nimport * as i45 from './components/activity-container/activity-container.component';\nimport * as i46 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i47 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i48 from './components/alert-dialog/alert-dialog.component';\nimport * as i49 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i50 from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i51 from './components/add-item-interaction-context/add-item-interaction-context.component';\nimport * as i52 from './components/activity-actions/activity-actions.component';\nimport * as i53 from './components/popup-interaction-context/popup-interaction-context.component';\nimport * as i54 from './components/input-activities/string-input-activity';\nimport * as i55 from './components/input-activities/select-input-activity';\nimport * as i56 from './components/input-activities/abstract-input-activity';\nimport * as i57 from './directives/interaction-context-trigger-for.directive';\nimport * as i58 from './activity';\nimport * as i59 from './components/activity-title/activity-title.component';\nimport * as i60 from '../directives/directives.module';\nimport * as i61 from '../components/components.module';\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> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<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.MatIcon = (<any>(null as any));\nvar _decl0_35:i10.CommandDirective<any> = (<any>(null as any));\nvar _decl0_36:i11.FocusBindingDirective = (<any>(null as any));\nvar _decl0_37:i12.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_38:i12.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_39:i12.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_40:i12.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_41:i12.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_42:i12.FlexFillDirective = (<any>(null as any));\nvar _decl0_43:i12.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_44:i12.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_45:i13.ɵgrid_privatec = (<any>(null as any));\nvar _decl0_46:i13.ɵgrid_privatef = (<any>(null as any));\nvar _decl0_47:i13.ɵgrid_privatei = (<any>(null as any));\nvar _decl0_48:i13.ɵgrid_privatel = (<any>(null as any));\nvar _decl0_49:i13.ɵgrid_privateo = (<any>(null as any));\nvar _decl0_50:i13.ɵgrid_privater = (<any>(null as any));\nvar _decl0_51:i13.ɵgrid_privateu = (<any>(null as any));\nvar _decl0_52:i13.ɵgrid_privatex = (<any>(null as any));\nvar _decl0_53:i13.ɵgrid_privateba = (<any>(null as any));\nvar _decl0_54:i13.ɵgrid_privatebd = (<any>(null as any));\nvar _decl0_55:i13.ɵgrid_privatebg = (<any>(null as any));\nvar _decl0_56:i14.NumberInputComponent = (<any>(null as any));\nvar _decl0_57:i15.StringInputComponent = (<any>(null as any));\nvar _decl0_58:i16.TextInputComponent = (<any>(null as any));\nvar _decl0_59:i17.PasswordInputComponent = (<any>(null as any));\nvar _decl0_60:i18.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_61:i19.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_62:i20.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_63:i21.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i22.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_65:i23.NoopComponent = (<any>(null as any));\nvar _decl0_66:i24.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_67:i24.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_68:i24.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_69:i25.FocusContainerComponent = (<any>(null as any));\nvar _decl0_70:i26.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_71:i27.FocusableComponent = (<any>(null as any));\nvar _decl0_72:i28.CardContainerComponent = (<any>(null as any));\nvar _decl0_73:i29.TableComponent<any> = (<any>(null as any));\nvar _decl0_74:i30.EditRowControls<any> = (<any>(null as any));\nvar _decl0_75:i31.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_76:i32.IconComponent = (<any>(null as any));\nvar _decl0_77:i33.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_78:i34.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_79:i35.ToolBarComponent = (<any>(null as any));\nvar _decl0_80:i36.CommandComponent = (<any>(null as any));\nvar _decl0_81:i37.PopupMenuComponent = (<any>(null as any));\nvar _decl0_82:i38.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_83:i39.MoreMenuComponent = (<any>(null as any));\nvar _decl0_84:i40.SeparatorComponent = (<any>(null as any));\nvar _decl0_85:i41.FlexComponent = (<any>(null as any));\nvar _decl0_86:i42.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_87:i43.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_88:i44.EmptyStateComponent = (<any>(null as any));\nvar _decl0_89:i45.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_90:i46.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_91:i47.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_92:i48.AlertDialogComponent = (<any>(null as any));\nvar _decl0_93:i49.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_94:i50.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_95:i51.AddItemInteractionContextComponent = (<any>(null as any));\nvar _decl0_96:i52.ActivityActionsComponent = (<any>(null as any));\nvar _decl0_97:i53.PopupInteractionContextComponent = (<any>(null as any));\nvar _decl0_98:i54.StringInputActivity = (<any>(null as any));\nvar _decl0_99:i55.SelectInputActivity<any> = (<any>(null as any));\nvar _decl0_100:i56.AbstractInputActivity<any,any> = (<any>(null as any));\nvar _decl0_101:i57.InteractionContextTriggerFor<any,any,any> = (<any>(null as any));\nvar _decl0_102:i58.Activity<any,any,any> = (<any>(null as any));\nvar _decl0_103:i59.ActivityTitleComponent = (<any>(null as any));\nvar _decl0_104:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_105:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_106:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_107:i2.JsonPipe = (<any>(null as any));\nvar _decl0_108:i2.SlicePipe = (<any>(null as any));\nvar _decl0_109:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_110:i2.PercentPipe = (<any>(null as any));\nvar _decl0_111:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_112:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_113:i2.DatePipe = (<any>(null as any));\nvar _decl0_114:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_115:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_116:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_117:i2.CommonModule = (<any>(null as any));\nvar _decl0_118:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_119:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_120:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_121:i7.PortalModule = (<any>(null as any));\nvar _decl0_122:i8.RouterModule = (<any>(null as any));\nvar _decl0_123:i9.MatIconModule = (<any>(null as any));\nvar _decl0_124:i60.DirectivesModule = (<any>(null as any));\nvar _decl0_125:i12.FlexModule = (<any>(null as any));\nvar _decl0_126:i13.GridModule = (<any>(null as any));\nvar _decl0_127:i61.ComponentsModule = (<any>(null as any));\nvar _decl0_128:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_129: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_89.busy;\n currVal_0;\n const currVal_1:any = !_any.focused;\n currVal_1;\n const currVal_2:any = _decl0_89;\n currVal_2;\n const currVal_3:any = _any;\n currVal_3;\n}\nfunction _View_ActivityContainerComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_89.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_89.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_89.activityRefs;\n currVal_4;\n const currVal_5:any = _decl0_89.activityIndex;\n currVal_5;\n}\nfunction _View_ConfirmationDialogComponent_Host_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_90.class;\n currVal_0;\n const currVal_1:any = _decl0_90.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_90.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_90.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_90.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_90.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_12.disabled;\n currVal_4;\n const currVal_5:any = _decl0_90.confirm.cancel();\n currVal_5;\n const currVal_6:any = (_decl0_90.isDestructive()? 'warn': 'primary');\n currVal_6;\n const currVal_7:any = (_decl0_12.disabled || null);\n currVal_7;\n const currVal_8:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_8;\n const currVal_9:any = _decl0_12.disabled;\n currVal_9;\n const currVal_10:any = _decl0_90.confirm.ok();\n currVal_10;\n const pd_11:any = ((<any>_decl0_90.cancel()) !== false);\n const pd_12:any = ((<any>_decl0_90.done()) !== false);\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_91.class;\n currVal_0;\n const currVal_1:any = _decl0_91.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_91.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_91.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_91.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_91.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_12.disabled;\n currVal_4;\n const currVal_5:any = _decl0_91.confirm.cancel();\n currVal_5;\n const currVal_6:any = (_decl0_91.isDestructive()? 'warn': 'primary');\n currVal_6;\n const currVal_7:any = (_decl0_12.disabled || null);\n currVal_7;\n const currVal_8:any = (_decl0_12._animationMode === 'NoopAnimations');\n currVal_8;\n const currVal_9:any = _decl0_12.disabled;\n currVal_9;\n const currVal_10:any = _decl0_91.confirm.ok();\n currVal_10;\n const pd_11:any = ((<any>_decl0_91.cancel()) !== false);\n const pd_12:any = ((<any>_decl0_91.onConfirm()) !== false);\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_92.class;\n currVal_0;\n const currVal_1:any = _decl0_92.isFocused;\n currVal_1;\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_92.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_92.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_92.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_92.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_12.disabled;\n currVal_5;\n const currVal_6:any = _decl0_92.alert.ok();\n currVal_6;\n const pd_7:any = ((<any>_decl0_92.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_94.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_94.animationDuration;\n currVal_2;\n const currVal_3:any = _decl0_19.dynamicHeight;\n currVal_3;\n const currVal_4:any = (_decl0_19.headerPosition === 'below');\n currVal_4;\n const currVal_5:any = false;\n currVal_5;\n}\nfunction _View_AddItemInteractionContextComponent_Host_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.active;\n currVal_0;\n const currVal_1:any = _decl0_95.tabindex;\n currVal_1;\n}\nfunction _View_AddItemInteractionContextComponent_7_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_95.clickCommand;\n currVal_1;\n const currVal_2:any = _decl0_95.icon;\n currVal_2;\n const currVal_3:any = _decl0_95.label;\n currVal_3;\n const pd_4:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\nfunction _View_ActivityActionsComponent_Host_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.alignEnd;\n currVal_0;\n const currVal_1:any = _decl0_96.alignStretch;\n currVal_1;\n}\nfunction _View_ActivityActionsComponent_8_1():void {\n if (_decl0_96.hasCancelCommand()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.cancelCommand;\n currVal_0;\n const currVal_1:any = _decl0_96.style.cancel;\n currVal_1;\n }\n}\nfunction _View_ActivityActionsComponent_8_2():void {\n if (_decl0_96.hasConfirmCommand()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.confirmCommand;\n currVal_0;\n const currVal_1:any = _decl0_96.style.confirm;\n currVal_1;\n }\n}\nfunction _View_ActivityActionsComponent_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_96.hasCancelCommand();\n currVal_0;\n const currVal_1:any = _decl0_96.hasConfirmCommand();\n currVal_1;\n}\nfunction _View_PopupInteractionContextComponent_Host_9_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_97.active;\n currVal_0;\n}\nfunction _View_PopupInteractionContextComponent_9_0():void {\n var _any:any = (null as any);\n}\nfunction _View_StringInputActivity_Host_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.class;\n currVal_0;\n const currVal_1:any = _decl0_98.isFocused;\n currVal_1;\n}\nfunction _View_StringInputActivity_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.data.label;\n currVal_0;\n const currVal_1:any = _decl0_98.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_98.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_98.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_98.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_57.dense;\n currVal_5;\n const currVal_6:any = _decl0_57.baseClassName;\n currVal_6;\n const currVal_7:any = _decl0_98.confirmCommand;\n currVal_7;\n const currVal_8:any = _decl0_98.cancelCommand;\n currVal_8;\n const currVal_9:any = _decl0_98.data.buttonStyle;\n currVal_9;\n const currVal_10:any = 'end';\n currVal_10;\n const currVal_11:any = _decl0_96.alignEnd;\n currVal_11;\n const currVal_12:any = _decl0_96.alignStretch;\n currVal_12;\n const pd_13:any = ((<any>_decl0_57.notifyClick()) !== false);\n const pd_14:any = ((<any>_decl0_57.notifyFocusIn()) !== false);\n const pd_15:any = ((<any>_decl0_57.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputActivity_Host_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.class;\n currVal_0;\n const currVal_1:any = _decl0_99.isFocused;\n currVal_1;\n}\nfunction _View_SelectInputActivity_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.data.label;\n currVal_0;\n const currVal_1:any = _decl0_99.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_99.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_99.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_99.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_99.options;\n currVal_5;\n const currVal_6:any = _decl0_99.optionLabelFormat;\n currVal_6;\n const currVal_7:any = _decl0_61.dense;\n currVal_7;\n const currVal_8:any = _decl0_61.baseClassName;\n currVal_8;\n const currVal_9:any = _decl0_99.confirmCommand;\n currVal_9;\n const currVal_10:any = _decl0_99.cancelCommand;\n currVal_10;\n const currVal_11:any = _decl0_99.data.buttonStyle;\n currVal_11;\n const currVal_12:any = 'end';\n currVal_12;\n const currVal_13:any = _decl0_96.alignEnd;\n currVal_13;\n const currVal_14:any = _decl0_96.alignStretch;\n currVal_14;\n const pd_15:any = ((<any>_decl0_61.notifyClick()) !== false);\n const pd_16:any = ((<any>_decl0_61.notifyFocusIn()) !== false);\n const pd_17:any = ((<any>_decl0_61.notifyFocusOut()) !== false);\n}\nfunction _View_AbstractInputActivity_Host_12_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.class;\n currVal_0;\n const currVal_1:any = _decl0_100.isFocused;\n currVal_1;\n}\nfunction _View_AbstractInputActivity_12_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Activity_Host_13_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_102.class;\n currVal_0;\n const currVal_1:any = _decl0_102.isFocused;\n currVal_1;\n}\nfunction _View_Activity_13_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityTitleComponent_Host_14_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityTitleComponent_14_0():void {\n var _any:any = (null as any);\n}\n"]}
@@ -14,8 +14,6 @@ export * from "./url-service";
14
14
  export * from "./url-snapshot";
15
15
  export * from "./visit";
16
16
  export * from "./components/abstract-place-navigation.component";
17
- export * from "./components/busy-overlay/busy-overlay.component";
18
- export * from "./components/empty-state/empty-state.component";
19
17
  export * from "./components/list-place-nav/list-place-nav.component";
20
18
  export * from "./components/place-outlet/place-outlet.component";
21
19
  export * from "./components/place-outlet/route-animations";
@@ -1 +1 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oEAAoE,CAAC;AACnF,cAAc,wEAAwE,CAAC;AACvF,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,wFAAwF,CAAC;AACvG,cAAc,iHAAiH,CAAC;AAChI,cAAc,kGAAkG,CAAC;AACjH,cAAc,iEAAiE,CAAC;AAChF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uFAAuF,CAAC;AACtG,cAAc,kFAAkF,CAAC;AACjG,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./nav-item\";\nexport * from \"./place-access-guard\";\nexport * from \"./place-component\";\nexport * from \"./place-config\";\nexport * from \"./place-definition\";\nexport * from \"./place-history\";\nexport * from \"./place-router\";\nexport * from \"./place.decorator\";\nexport * from \"./place.module\";\nexport * from \"./url-service\";\nexport * from \"./url-snapshot\";\nexport * from \"./visit\";\nexport * from \"./components/abstract-place-navigation.component\";\nexport * from \"./components/busy-overlay/busy-overlay.component\";\nexport * from \"./components/empty-state/empty-state.component\";\nexport * from \"./components/list-place-nav/list-place-nav.component\";\nexport * from \"./components/place-outlet/place-outlet.component\";\nexport * from \"./components/place-outlet/route-animations\";\nexport * from \"./components/side-place-navigation/side-place-navigation.component\";\nexport * from \"./components/tabbed-place-navigation/tabbed-place-navigation.component\";\nexport * from \"./guards/consolidated-param-map\";\nexport * from \"./guards/noop-auth-guard.service\";\nexport * from \"./guards/place.guard\";\nexport * from \"./navigation/place-component-deactivation-handler\";\nexport * from \"./navigation/session/abstract-pop-state-navigation\";\nexport * from \"./navigation/session/navigating\";\nexport * from \"./navigation/session/navigation-context\";\nexport * from \"./navigation/session/navigation-session\";\nexport * from \"./navigation/session/pop-state-navigation\";\nexport * from \"./navigation/session/event-cleanup/event-clean-up-session\";\nexport * from \"./navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled\";\nexport * from \"./navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined\";\nexport * from \"./navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes\";\nexport * from \"./navigation/session/interactions/navigating-during-interaction\";\nexport * from \"./navigation/session/interactions/pop-state-during-interaction-navigation\";\nexport * from \"./navigation/session/interactions/remove-last-interaction-from-url-navigation-session\";\nexport * from \"./navigation/session/interactions/synchronise-interaction-context-ids-with-route\";\nexport * from \"./route/formatter\";\nexport * from \"./route/json-types\";\nexport * from \"./route/parameter-decorators\";\nexport * from \"./route/parameter-definition.class\";\nexport * from \"./route/parameter-sanitiser\";\nexport * from \"./route/parameter-snapshot\";\nexport * from \"./route/visit-sanitiser\";\n"]}
1
+ {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kDAAkD,CAAC;AACjE,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oEAAoE,CAAC;AACnF,cAAc,wEAAwE,CAAC;AACvF,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,wFAAwF,CAAC;AACvG,cAAc,iHAAiH,CAAC;AAChI,cAAc,kGAAkG,CAAC;AACjH,cAAc,iEAAiE,CAAC;AAChF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uFAAuF,CAAC;AACtG,cAAc,kFAAkF,CAAC;AACjG,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./nav-item\";\nexport * from \"./place-access-guard\";\nexport * from \"./place-component\";\nexport * from \"./place-config\";\nexport * from \"./place-definition\";\nexport * from \"./place-history\";\nexport * from \"./place-router\";\nexport * from \"./place.decorator\";\nexport * from \"./place.module\";\nexport * from \"./url-service\";\nexport * from \"./url-snapshot\";\nexport * from \"./visit\";\nexport * from \"./components/abstract-place-navigation.component\";\nexport * from \"./components/list-place-nav/list-place-nav.component\";\nexport * from \"./components/place-outlet/place-outlet.component\";\nexport * from \"./components/place-outlet/route-animations\";\nexport * from \"./components/side-place-navigation/side-place-navigation.component\";\nexport * from \"./components/tabbed-place-navigation/tabbed-place-navigation.component\";\nexport * from \"./guards/consolidated-param-map\";\nexport * from \"./guards/noop-auth-guard.service\";\nexport * from \"./guards/place.guard\";\nexport * from \"./navigation/place-component-deactivation-handler\";\nexport * from \"./navigation/session/abstract-pop-state-navigation\";\nexport * from \"./navigation/session/navigating\";\nexport * from \"./navigation/session/navigation-context\";\nexport * from \"./navigation/session/navigation-session\";\nexport * from \"./navigation/session/pop-state-navigation\";\nexport * from \"./navigation/session/event-cleanup/event-clean-up-session\";\nexport * from \"./navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled\";\nexport * from \"./navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined\";\nexport * from \"./navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes\";\nexport * from \"./navigation/session/interactions/navigating-during-interaction\";\nexport * from \"./navigation/session/interactions/pop-state-during-interaction-navigation\";\nexport * from \"./navigation/session/interactions/remove-last-interaction-from-url-navigation-session\";\nexport * from \"./navigation/session/interactions/synchronise-interaction-context-ids-with-route\";\nexport * from \"./route/formatter\";\nexport * from \"./route/json-types\";\nexport * from \"./route/parameter-decorators\";\nexport * from \"./route/parameter-definition.class\";\nexport * from \"./route/parameter-sanitiser\";\nexport * from \"./route/parameter-snapshot\";\nexport * from \"./route/visit-sanitiser\";\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./nav-item"},{"from":"./place-access-guard"},{"from":"./place-component"},{"from":"./place-config"},{"from":"./place-definition"},{"from":"./place-history"},{"from":"./place-router"},{"from":"./place.decorator"},{"from":"./place.module"},{"from":"./url-service"},{"from":"./url-snapshot"},{"from":"./visit"},{"from":"./components/abstract-place-navigation.component"},{"from":"./components/busy-overlay/busy-overlay.component"},{"from":"./components/empty-state/empty-state.component"},{"from":"./components/list-place-nav/list-place-nav.component"},{"from":"./components/place-outlet/place-outlet.component"},{"from":"./components/place-outlet/route-animations"},{"from":"./components/side-place-navigation/side-place-navigation.component"},{"from":"./components/tabbed-place-navigation/tabbed-place-navigation.component"},{"from":"./guards/consolidated-param-map"},{"from":"./guards/noop-auth-guard.service"},{"from":"./guards/place.guard"},{"from":"./navigation/place-component-deactivation-handler"},{"from":"./navigation/session/abstract-pop-state-navigation"},{"from":"./navigation/session/navigating"},{"from":"./navigation/session/navigation-context"},{"from":"./navigation/session/navigation-session"},{"from":"./navigation/session/pop-state-navigation"},{"from":"./navigation/session/event-cleanup/event-clean-up-session"},{"from":"./navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled"},{"from":"./navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined"},{"from":"./navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes"},{"from":"./navigation/session/interactions/navigating-during-interaction"},{"from":"./navigation/session/interactions/pop-state-during-interaction-navigation"},{"from":"./navigation/session/interactions/remove-last-interaction-from-url-navigation-session"},{"from":"./navigation/session/interactions/synchronise-interaction-context-ids-with-route"},{"from":"./route/formatter"},{"from":"./route/json-types"},{"from":"./route/parameter-decorators"},{"from":"./route/parameter-definition.class"},{"from":"./route/parameter-sanitiser"},{"from":"./route/parameter-snapshot"},{"from":"./route/visit-sanitiser"}]}]
1
+ [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./nav-item"},{"from":"./place-access-guard"},{"from":"./place-component"},{"from":"./place-config"},{"from":"./place-definition"},{"from":"./place-history"},{"from":"./place-router"},{"from":"./place.decorator"},{"from":"./place.module"},{"from":"./url-service"},{"from":"./url-snapshot"},{"from":"./visit"},{"from":"./components/abstract-place-navigation.component"},{"from":"./components/list-place-nav/list-place-nav.component"},{"from":"./components/place-outlet/place-outlet.component"},{"from":"./components/place-outlet/route-animations"},{"from":"./components/side-place-navigation/side-place-navigation.component"},{"from":"./components/tabbed-place-navigation/tabbed-place-navigation.component"},{"from":"./guards/consolidated-param-map"},{"from":"./guards/noop-auth-guard.service"},{"from":"./guards/place.guard"},{"from":"./navigation/place-component-deactivation-handler"},{"from":"./navigation/session/abstract-pop-state-navigation"},{"from":"./navigation/session/navigating"},{"from":"./navigation/session/navigation-context"},{"from":"./navigation/session/navigation-session"},{"from":"./navigation/session/pop-state-navigation"},{"from":"./navigation/session/event-cleanup/event-clean-up-session"},{"from":"./navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled"},{"from":"./navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined"},{"from":"./navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes"},{"from":"./navigation/session/interactions/navigating-during-interaction"},{"from":"./navigation/session/interactions/pop-state-during-interaction-navigation"},{"from":"./navigation/session/interactions/remove-last-interaction-from-url-navigation-session"},{"from":"./navigation/session/interactions/synchronise-interaction-context-ids-with-route"},{"from":"./route/formatter"},{"from":"./route/json-types"},{"from":"./route/parameter-decorators"},{"from":"./route/parameter-definition.class"},{"from":"./route/parameter-sanitiser"},{"from":"./route/parameter-snapshot"},{"from":"./route/visit-sanitiser"}]}]
@@ -128,7 +128,7 @@ export class PlaceRouter extends GarbageCollector {
128
128
  waitUntilIdle() {
129
129
  const { when } = Dsl.disposeWith(this);
130
130
  return new Promise(resolve => {
131
- when(this.navigationInProgress).becomesFalsey(() => resolve(), {
131
+ when(this.navigationInProgress).becomesFalsey(() => resolve(this), {
132
132
  initialValue: 'evaluate',
133
133
  once: true
134
134
  });