@coolon/angular-ui-powerups 12.4.0-alpha.27 → 12.4.0-alpha.28

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 (47) hide show
  1. package/bundles/coolon-angular-ui-powerups.umd.js +157 -59
  2. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  3. package/coolon-angular-ui-powerups.metadata.json +1 -1
  4. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  5. package/esm2015/lib/components/cards/abstract-card-container.component.js +29 -0
  6. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +1 -0
  7. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +1 -0
  8. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +1 -0
  9. package/esm2015/lib/components/{card-container → cards/card-container}/card-container.component.js +4 -22
  10. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +1 -0
  11. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -0
  12. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +1 -0
  13. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
  14. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +72 -0
  15. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +1 -0
  16. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -0
  17. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +1 -0
  18. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +1 -0
  19. package/esm2015/lib/components/components.module.js +29 -24
  20. package/esm2015/lib/components/components.module.js.map +1 -1
  21. package/esm2015/lib/components/components.module.metadata.json +1 -1
  22. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  23. package/esm2015/lib/components/exports.js +3 -1
  24. package/esm2015/lib/components/exports.js.map +1 -1
  25. package/esm2015/lib/components/exports.metadata.json +1 -1
  26. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +19 -8
  27. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +1 -1
  28. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -1
  29. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  30. package/esm2015/lib/place/place-router.js +3 -8
  31. package/esm2015/lib/place/place-router.js.map +1 -1
  32. package/esm2015/lib/place/place-router.metadata.json +1 -1
  33. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  34. package/fesm2015/coolon-angular-ui-powerups.js +143 -56
  35. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  36. package/lib/components/cards/abstract-card-container.component.d.ts +11 -0
  37. package/lib/components/{card-container → cards/card-container}/card-container.component.d.ts +2 -10
  38. package/lib/components/cards/card-stack/card-stack.component.d.ts +63 -0
  39. package/lib/components/exports.d.ts +3 -1
  40. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +15 -2
  41. package/package.json +1 -1
  42. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  43. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +5 -3
  44. package/esm2015/lib/components/card-container/card-container.component.js.map +0 -1
  45. package/esm2015/lib/components/card-container/card-container.component.metadata.json +0 -1
  46. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
  47. package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
@@ -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,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,uCAAuC,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AAc,0DAA0D,CAAC;AACzE,cAAc,sEAAsE,CAAC;AACrF,cAAc,oFAAoF,CAAC;AACnG,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oEAAoE,CAAC;AACnF,cAAc,kFAAkF,CAAC;AACjG,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2EAA2E,CAAC;AAC1F,cAAc,iFAAiF,CAAC;AAChG,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 \"./alignment\";\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 \"./tables/abstract-table-model\";\nexport * from \"./tables/abstract-table.component\";\nexport * from \"./tables/column-list-model\";\nexport * from \"./tables/table/cell-editors\";\nexport * from \"./tables/table/cell-portal-ref\";\nexport * from \"./tables/table/cell-renderer\";\nexport * from \"./tables/table/column-model\";\nexport * from \"./tables/table/column-text-properties\";\nexport * from \"./tables/table/edit-session\";\nexport * from \"./tables/table/mutable-cell-renderer\";\nexport * from \"./tables/table/table-def\";\nexport * from \"./tables/table/table-model\";\nexport * from \"./tables/table/table.component\";\nexport * from \"./tables/table/column-template/column-template.directive\";\nexport * from \"./tables/table/default-cell-renderer/default-cell-renderer.component\";\nexport * from \"./tables/table/default-header-cell-renderer/default-header-cell-renderer.component\";\nexport * from \"./tables/table/edit-row-controls/edit-row-controls.component\";\nexport * from \"./tables/table/paginator/paginator.component\";\nexport * from \"./tables/table/select-cell-renderer/select-cell-renderer.component\";\nexport * from \"./tables/table/select-header-cell-renderer/select-header-cell-renderer.component\";\nexport * from \"./tables/table/table-cell-renderer/table-cell-renderer.component\";\nexport * from \"./tables/table/table-header-cell-renderer/table-header-cell-renderer.component\";\nexport * from \"./tables/table/table-row-menu/table-row-menu.component\";\nexport * from \"./tables/tree-table/decorated-tree-node\";\nexport * from \"./tables/tree-table/flattened-tree-list-model\";\nexport * from \"./tables/tree-table/tree-expansion-model\";\nexport * from \"./tables/tree-table/tree-label-column-model\";\nexport * from \"./tables/tree-table/tree-node\";\nexport * from \"./tables/tree-table/tree-table-component\";\nexport * from \"./tables/tree-table/tree-table-model\";\nexport * from \"./tables/tree-table/visitable.class\";\nexport * from \"./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component\";\nexport * from \"./tables/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,aAAa,CAAC;AAC5B,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,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,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;AA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sC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2EAA2E,CAAC;AAC1F,cAAc,iFAAiF,CAAC;AAChG,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 \"./alignment\";\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 \"./cards/abstract-card-container.component\";\nexport * from \"./cards/card-container/card-container.component\";\nexport * from \"./cards/card-stack/card-stack.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 \"./tables/abstract-table-model\";\nexport * from \"./tables/abstract-table.component\";\nexport * from \"./tables/column-list-model\";\nexport * from \"./tables/table/cell-editors\";\nexport * from \"./tables/table/cell-portal-ref\";\nexport * from \"./tables/table/cell-renderer\";\nexport * from \"./tables/table/column-model\";\nexport * from \"./tables/table/column-text-properties\";\nexport * from \"./tables/table/edit-session\";\nexport * from \"./tables/table/mutable-cell-renderer\";\nexport * from \"./tables/table/table-def\";\nexport * from \"./tables/table/table-model\";\nexport * from \"./tables/table/table.component\";\nexport * from \"./tables/table/column-template/column-template.directive\";\nexport * from \"./tables/table/default-cell-renderer/default-cell-renderer.component\";\nexport * from \"./tables/table/default-header-cell-renderer/default-header-cell-renderer.component\";\nexport * from \"./tables/table/edit-row-controls/edit-row-controls.component\";\nexport * from \"./tables/table/paginator/paginator.component\";\nexport * from \"./tables/table/select-cell-renderer/select-cell-renderer.component\";\nexport * from \"./tables/table/select-header-cell-renderer/select-header-cell-renderer.component\";\nexport * from \"./tables/table/table-cell-renderer/table-cell-renderer.component\";\nexport * from \"./tables/table/table-header-cell-renderer/table-header-cell-renderer.component\";\nexport * from \"./tables/table/table-row-menu/table-row-menu.component\";\nexport * from \"./tables/tree-table/decorated-tree-node\";\nexport * from \"./tables/tree-table/flattened-tree-list-model\";\nexport * from \"./tables/tree-table/tree-expansion-model\";\nexport * from \"./tables/tree-table/tree-label-column-model\";\nexport * from \"./tables/tree-table/tree-node\";\nexport * from \"./tables/tree-table/tree-table-component\";\nexport * from \"./tables/tree-table/tree-table-model\";\nexport * from \"./tables/tree-table/visitable.class\";\nexport * from \"./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component\";\nexport * from \"./tables/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":"./alignment"},{"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":"./tables/abstract-table-model"},{"from":"./tables/abstract-table.component"},{"from":"./tables/column-list-model"},{"from":"./tables/table/cell-editors"},{"from":"./tables/table/cell-portal-ref"},{"from":"./tables/table/cell-renderer"},{"from":"./tables/table/column-model"},{"from":"./tables/table/column-text-properties"},{"from":"./tables/table/edit-session"},{"from":"./tables/table/mutable-cell-renderer"},{"from":"./tables/table/table-def"},{"from":"./tables/table/table-model"},{"from":"./tables/table/table.component"},{"from":"./tables/table/column-template/column-template.directive"},{"from":"./tables/table/default-cell-renderer/default-cell-renderer.component"},{"from":"./tables/table/default-header-cell-renderer/default-header-cell-renderer.component"},{"from":"./tables/table/edit-row-controls/edit-row-controls.component"},{"from":"./tables/table/paginator/paginator.component"},{"from":"./tables/table/select-cell-renderer/select-cell-renderer.component"},{"from":"./tables/table/select-header-cell-renderer/select-header-cell-renderer.component"},{"from":"./tables/table/table-cell-renderer/table-cell-renderer.component"},{"from":"./tables/table/table-header-cell-renderer/table-header-cell-renderer.component"},{"from":"./tables/table/table-row-menu/table-row-menu.component"},{"from":"./tables/tree-table/decorated-tree-node"},{"from":"./tables/tree-table/flattened-tree-list-model"},{"from":"./tables/tree-table/tree-expansion-model"},{"from":"./tables/tree-table/tree-label-column-model"},{"from":"./tables/tree-table/tree-node"},{"from":"./tables/tree-table/tree-table-component"},{"from":"./tables/tree-table/tree-table-model"},{"from":"./tables/tree-table/visitable.class"},{"from":"./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component"},{"from":"./tables/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":"./alignment"},{"from":"./components.module"},{"from":"./disposable-component"},{"from":"./focusable.component"},{"from":"./resize-aware.component"},{"from":"./track-by"},{"from":"./busy-overlay/busy-overlay.component"},{"from":"./cards/abstract-card-container.component"},{"from":"./cards/card-container/card-container.component"},{"from":"./cards/card-stack/card-stack.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":"./tables/abstract-table-model"},{"from":"./tables/abstract-table.component"},{"from":"./tables/column-list-model"},{"from":"./tables/table/cell-editors"},{"from":"./tables/table/cell-portal-ref"},{"from":"./tables/table/cell-renderer"},{"from":"./tables/table/column-model"},{"from":"./tables/table/column-text-properties"},{"from":"./tables/table/edit-session"},{"from":"./tables/table/mutable-cell-renderer"},{"from":"./tables/table/table-def"},{"from":"./tables/table/table-model"},{"from":"./tables/table/table.component"},{"from":"./tables/table/column-template/column-template.directive"},{"from":"./tables/table/default-cell-renderer/default-cell-renderer.component"},{"from":"./tables/table/default-header-cell-renderer/default-header-cell-renderer.component"},{"from":"./tables/table/edit-row-controls/edit-row-controls.component"},{"from":"./tables/table/paginator/paginator.component"},{"from":"./tables/table/select-cell-renderer/select-cell-renderer.component"},{"from":"./tables/table/select-header-cell-renderer/select-header-cell-renderer.component"},{"from":"./tables/table/table-cell-renderer/table-cell-renderer.component"},{"from":"./tables/table/table-header-cell-renderer/table-header-cell-renderer.component"},{"from":"./tables/table/table-row-menu/table-row-menu.component"},{"from":"./tables/tree-table/decorated-tree-node"},{"from":"./tables/tree-table/flattened-tree-list-model"},{"from":"./tables/tree-table/tree-expansion-model"},{"from":"./tables/tree-table/tree-label-column-model"},{"from":"./tables/tree-table/tree-node"},{"from":"./tables/tree-table/tree-table-component"},{"from":"./tables/tree-table/tree-table-model"},{"from":"./tables/tree-table/visitable.class"},{"from":"./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component"},{"from":"./tables/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,5 +1,6 @@
1
1
  import { Component, HostBinding, Input, ViewChild } from '@angular/core';
2
2
  import { Dsl } from '@coolon/pectin';
3
+ import { Enum } from 'typescript-string-enums';
3
4
  import { InteractionService } from '../../services/interaction.service';
4
5
  import { AbstractActivityTriggerComponent } from '../activity-triggers/abstract-activity-trigger.component';
5
6
  import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
@@ -9,8 +10,8 @@ import { InPlaceInteractionContextComponent } from '../inplace-interaction-conte
9
10
  export class AddCardActivityComponent extends AbstractActivityTriggerComponent {
10
11
  constructor(interactionService) {
11
12
  super();
12
- this.type = 'modal';
13
- this.renderAs = 'card';
13
+ this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
14
+ this.renderAs = AddCardActivityComponent.RenderAs.CARD;
14
15
  const { chain } = Dsl.disposeWith(this);
15
16
  this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
16
17
  this.faceList = chain(this.faceModel).mapToList(face => [face]);
@@ -19,7 +20,7 @@ export class AddCardActivityComponent extends AbstractActivityTriggerComponent {
19
20
  return `render-as-${this.renderAs}`;
20
21
  }
21
22
  get activityTypeClass() {
22
- return `${this.type}-activity`;
23
+ return `${this.interactionStyle}-activity`;
23
24
  }
24
25
  isRenderAsCard() {
25
26
  return this.renderAs === 'card';
@@ -30,7 +31,7 @@ export class AddCardActivityComponent extends AbstractActivityTriggerComponent {
30
31
  ngOnInit() {
31
32
  }
32
33
  get interactionContext() {
33
- switch (this.type) {
34
+ switch (this.interactionStyle) {
34
35
  case 'inline':
35
36
  return this.inlineInteractionContext;
36
37
  default:
@@ -38,17 +39,17 @@ export class AddCardActivityComponent extends AbstractActivityTriggerComponent {
38
39
  }
39
40
  }
40
41
  isModal() {
41
- return this.type === 'modal';
42
+ return this.interactionStyle === 'modal';
42
43
  }
43
44
  isInline() {
44
- return this.type === 'inline';
45
+ return this.interactionStyle === 'inline';
45
46
  }
46
47
  }
47
48
  AddCardActivityComponent.decorators = [
48
49
  { type: Component, args: [{
49
50
  selector: 'aup-add-card-activity',
50
51
  template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n",
51
- styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host[type=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[type=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[type=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[type=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[type=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[type=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}"]
52
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host[interactionStyle=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[interactionStyle=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}"]
52
53
  },] }
53
54
  ];
54
55
  AddCardActivityComponent.ctorParameters = () => [
@@ -56,9 +57,19 @@ AddCardActivityComponent.ctorParameters = () => [
56
57
  ];
57
58
  AddCardActivityComponent.propDecorators = {
58
59
  inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
59
- type: [{ type: Input }],
60
+ interactionStyle: [{ type: Input }],
60
61
  renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
61
62
  renderAsClass: [{ type: HostBinding, args: ['class',] }],
62
63
  activityTypeClass: [{ type: HostBinding, args: ['class',] }]
63
64
  };
65
+ (function (AddCardActivityComponent) {
66
+ AddCardActivityComponent.InteractionType = Enum({
67
+ MODAL: 'modal',
68
+ INLINE: 'inline'
69
+ });
70
+ AddCardActivityComponent.RenderAs = Enum({
71
+ CARD: 'card',
72
+ BUTTON: 'button'
73
+ });
74
+ })(AddCardActivityComponent || (AddCardActivityComponent = {}));
64
75
  //# sourceMappingURL=add-card-activity.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-card-activity.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/add-card-activity/add-card-activity.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,GAAG,EAAkB,MAAM,gBAAgB,CAAC;AAGrD,OAAO,EAAE,k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I,KAAK,QAAQ,CAAC;IAChC,CAAC;;;YAhEF,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,0dAAiD;;aAElD;;;YAXQ,kBAAkB;;;uCAgBxB,SAAS,SAAC,kCAAkC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;mBAG9D,KAAK;uBAGL,KAAK,YACL,WAAW,SAAC,OAAO;4BAKnB,WAAW,SAAC,OAAO;gCAKnB,WAAW,SAAC,OAAO","sourcesContent":["import { Component, HostBinding, Input, OnInit, ViewChild } from '@angular/core';\nimport { Dsl, ListModelChain } from '@coolon/pectin';\nimport { CommandFace } from '../../../components/commands/command-face';\nimport { InteractionContext } from '../../interaction-context';\nimport { InteractionService } from '../../services/interaction.service';\nimport { AbstractActivityTriggerComponent } from '../activity-triggers/abstract-activity-trigger.component';\nimport { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';\n\n/**\n *\n */\n@Component({\n selector: 'aup-add-card-activity',\n templateUrl: './add-card-activity.component.html',\n styleUrls: ['./add-card-activity.component.scss']\n})\nexport class AddCardActivityComponent extends AbstractActivityTriggerComponent implements OnInit {\n\n private modalInteractionContext: InteractionContext;\n\n @ViewChild(InPlaceInteractionContextComponent, { static: true })\n inlineInteractionContext: InteractionContext;\n\n @Input()\n type: 'inline' | 'modal' = 'modal';\n\n @Input()\n @HostBinding('class')\n renderAs: 'card' | 'button' = 'card';\n\n readonly faceList: ListModelChain<CommandFace>;\n\n @HostBinding('class')\n get renderAsClass() {\n return `render-as-${this.renderAs}`;\n }\n\n @HostBinding('class')\n get activityTypeClass() {\n return `${this.type}-activity`;\n }\n\n isRenderAsCard(): boolean {\n return this.renderAs === 'card';\n }\n\n isRenderAsButton(): boolean {\n return this.renderAs === 'button';\n }\n\n constructor(interactionService: InteractionService) {\n super();\n const { chain } = Dsl.disposeWith(this);\n this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);\n this.faceList = chain(this.faceModel).mapToList(face => [face]);\n }\n\n ngOnInit(): void {\n }\n\n get interactionContext(): InteractionContext {\n switch (this.type) {\n case 'inline':\n return this.inlineInteractionContext;\n default:\n return this.modalInteractionContext;\n }\n }\n\n isModal() {\n return this.type === 'modal';\n }\n\n isInline() {\n return this.type === 'inline';\n }\n\n\n}\n"]}
1
+ {"version":3,"file":"add-card-activity.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/add-card-activity/add-card-activity.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,GAAG,EAAkB,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,gCAAgC,EAAE,MAAM,0DAA0D,CAAC;AAC5G,OAAO,EAAE,kCAAkC,EAAE,MAAM,uEAAuE,CAAC;AAE3H;;GAEG;AAMH,MAAM,OAAO,wBAAyB,SAAQ,gCAAgC;IAkC5E,YAAY,kBAAsC;QAChD,KAAK,EAAE,CAAC;QA3BV,qBAAgB,GAA6C,wBAAwB,CAAC,eAAe,CAAC,KAAK,CAAC;QAI5G,aAAQ,GAAsC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,CAAC;QAwBnF,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxC,IAAI,CAAC,uBAAuB,GAAG,kBAAkB,CAAC,yCAAyC,CAAC,IAAI,CAAC,CAAC;QAClG,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAClE,CAAC;IAvBD,IACI,aAAa;QACf,OAAO,aAAa,I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@coolon/pectin';\nimport { Enum } from 'typescript-string-enums';\nimport { CommandFace } from '../../../components/commands/command-face';\nimport { InteractionContext } from '../../interaction-context';\nimport { InteractionService } from '../../services/interaction.service';\nimport { AbstractActivityTriggerComponent } from '../activity-triggers/abstract-activity-trigger.component';\nimport { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';\n\n/**\n *\n */\n@Component({\n selector: 'aup-add-card-activity',\n templateUrl: './add-card-activity.component.html',\n styleUrls: ['./add-card-activity.component.scss']\n})\nexport class AddCardActivityComponent extends AbstractActivityTriggerComponent implements OnInit {\n\n private modalInteractionContext: InteractionContext;\n\n @ViewChild(InPlaceInteractionContextComponent, { static: true })\n inlineInteractionContext: InteractionContext;\n\n @Input()\n interactionStyle: AddCardActivityComponent.InteractionType = AddCardActivityComponent.InteractionType.MODAL;\n\n @Input()\n @HostBinding('class')\n renderAs: AddCardActivityComponent.RenderAs = AddCardActivityComponent.RenderAs.CARD;\n\n readonly faceList: ListModelChain<CommandFace>;\n\n @HostBinding('class')\n get renderAsClass() {\n return `render-as-${this.renderAs}`;\n }\n\n @HostBinding('class')\n get activityTypeClass() {\n return `${this.interactionStyle}-activity`;\n }\n\n isRenderAsCard(): boolean {\n return this.renderAs === 'card';\n }\n\n isRenderAsButton(): boolean {\n return this.renderAs === 'button';\n }\n\n constructor(interactionService: InteractionService) {\n super();\n const { chain } = Dsl.disposeWith(this);\n this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);\n this.faceList = chain(this.faceModel).mapToList(face => [face]);\n }\n\n ngOnInit(): void {\n }\n\n get interactionContext(): InteractionContext {\n switch (this.interactionStyle) {\n case 'inline':\n return this.inlineInteractionContext;\n default:\n return this.modalInteractionContext;\n }\n }\n\n isModal() {\n return this.interactionStyle === 'modal';\n }\n\n isInline() {\n return this.interactionStyle === 'inline';\n }\n\n\n}\n\nexport namespace AddCardActivityComponent {\n export const InteractionType = Enum({\n MODAL: 'modal',\n INLINE: 'inline'\n });\n export type InteractionType = Enum<typeof InteractionType>;\n export const RenderAs = Enum({\n CARD: 'card',\n BUTTON: 'button'\n });\n export type RenderAs = Enum<typeof RenderAs>;\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"AddCardActivityComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../activity-triggers/abstract-activity-trigger.component","name":"AbstractActivityTriggerComponent","line":16,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"aup-add-card-activity","template":"<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n","styles":[":host{display:flex;flex-direction:column;align-items:stretch}:host[type=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[type=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[type=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[type=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[type=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[type=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}"]}]}],"members":{"inlineInteractionContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":20,"character":3},"arguments":[{"__symbolic":"reference","module":"../inplace-interaction-context/in-place-interaction-context.component","name":"InPlaceInteractionContextComponent","line":20,"character":13},{"static":true}]}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"renderAs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":27,"character":3},"arguments":["class"]}]}],"renderAsClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":32,"character":3},"arguments":["class"]}]}],"activityTypeClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":37,"character":3},"arguments":["class"]}]}],"isRenderAsCard":[{"__symbolic":"method"}],"isRenderAsButton":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../services/interaction.service","name":"InteractionService","line":50,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"isModal":[{"__symbolic":"method"}],"isInline":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"AddCardActivityComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../activity-triggers/abstract-activity-trigger.component","name":"AbstractActivityTriggerComponent","line":17,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"aup-add-card-activity","template":"<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n","styles":[":host{display:flex;flex-direction:column;align-items:stretch}:host[interactionStyle=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[interactionStyle=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}"]}]}],"members":{"inlineInteractionContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":21,"character":3},"arguments":[{"__symbolic":"reference","module":"../inplace-interaction-context/in-place-interaction-context.component","name":"InPlaceInteractionContextComponent","line":21,"character":13},{"static":true}]}]}],"interactionStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"renderAs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":28,"character":3},"arguments":["class"]}]}],"renderAsClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":33,"character":3},"arguments":["class"]}]}],"activityTypeClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":38,"character":3},"arguments":["class"]}]}],"isRenderAsCard":[{"__symbolic":"method"}],"isRenderAsButton":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../services/interaction.service","name":"InteractionService","line":51,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"isModal":[{"__symbolic":"method"}],"isInline":[{"__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 '../directives/highlight-text-model.directive';\nimport * as i13 from '@angular/flex-layout/flex';\nimport * as i14 from '@angular/flex-layout/grid';\nimport * as i15 from '../components/forms/number-input/number-input.component';\nimport * as i16 from '../components/forms/string-input/string-input.component';\nimport * as i17 from '../components/forms/text-input/text-input.component';\nimport * as i18 from '../components/forms/password-input/password-input.component';\nimport * as i19 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i20 from '../components/forms/select-input/select-input.component';\nimport * as i21 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i22 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i23 from '../components/scroll-container/scroll-container.component';\nimport * as i24 from '../components/noop/noop.component';\nimport * as i25 from '../components/switch-case/switch-case.component';\nimport * as i26 from '../components/focus-container/focus-container.component';\nimport * as i27 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i28 from '../components/focusable.component';\nimport * as i29 from '../components/card-container/card-container.component';\nimport * as i30 from '../components/tables/table/table.component';\nimport * as i31 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i32 from '../components/tables/table/column-template/column-template.directive';\nimport * as i33 from '../components/icon/icon.component';\nimport * as i34 from '../components/section-header/section-header.component';\nimport * as i35 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i36 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i37 from '../components/commands/command/command.component';\nimport * as i38 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i39 from '../components/commands/command-face/command-face.component';\nimport * as i40 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i41 from '../components/commands/separator.component';\nimport * as i42 from '../components/commands/flex.component';\nimport * as i43 from '../components/tables/tree-table/tree-table-component';\nimport * as i44 from '../components/busy-overlay/busy-overlay.component';\nimport * as i45 from '../components/empty-state/empty-state.component';\nimport * as i46 from '../components/tables/table/paginator/paginator.component';\nimport * as i47 from './components/activity-container/activity-container.component';\nimport * as i48 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i49 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i50 from './components/alert-dialog/alert-dialog.component';\nimport * as i51 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i52 from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i53 from './components/add-item-interaction-context/add-item-interaction-context.component';\nimport * as i54 from './components/activity-actions/activity-actions.component';\nimport * as i55 from './components/popup-interaction-context/popup-interaction-context.component';\nimport * as i56 from './components/input-activities/string-input-activity';\nimport * as i57 from './components/input-activities/select-input-activity';\nimport * as i58 from './components/input-activities/abstract-input-activity';\nimport * as i59 from './directives/interaction-context-trigger-for.directive';\nimport * as i60 from './activity';\nimport * as i61 from './components/activity-title/activity-title.component';\nimport * as i62 from './components/activity-body/activity-body.component';\nimport * as i63 from './components/activity-triggers/abstract-activity-trigger.component';\nimport * as i64 from './components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component';\nimport * as i65 from './components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component';\nimport * as i66 from './components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component';\nimport * as i67 from './components/add-card-activity/add-card-activity.component';\nimport * as i68 from '../directives/highlight.pipe';\nimport * as i69 from '../directives/directives.module';\nimport * as i70 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.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_38:i13.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_39:i13.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_40:i13.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_41:i13.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_42:i13.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_43:i13.FlexFillDirective = (<any>(null as any));\nvar _decl0_44:i13.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_45:i13.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_46:i14.ɵgrid_privatec = (<any>(null as any));\nvar _decl0_47:i14.ɵgrid_privatef = (<any>(null as any));\nvar _decl0_48:i14.ɵgrid_privatei = (<any>(null as any));\nvar _decl0_49:i14.ɵgrid_privatel = (<any>(null as any));\nvar _decl0_50:i14.ɵgrid_privateo = (<any>(null as any));\nvar _decl0_51:i14.ɵgrid_privater = (<any>(null as any));\nvar _decl0_52:i14.ɵgrid_privateu = (<any>(null as any));\nvar _decl0_53:i14.ɵgrid_privatex = (<any>(null as any));\nvar _decl0_54:i14.ɵgrid_privateba = (<any>(null as any));\nvar _decl0_55:i14.ɵgrid_privatebd = (<any>(null as any));\nvar _decl0_56:i14.ɵgrid_privatebg = (<any>(null as any));\nvar _decl0_57:i15.NumberInputComponent = (<any>(null as any));\nvar _decl0_58:i16.StringInputComponent = (<any>(null as any));\nvar _decl0_59:i17.TextInputComponent = (<any>(null as any));\nvar _decl0_60:i18.PasswordInputComponent = (<any>(null as any));\nvar _decl0_61:i19.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_62:i20.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_63:i21.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i22.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_65:i23.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_66:i24.NoopComponent = (<any>(null as any));\nvar _decl0_67:i25.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_68:i25.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_69:i25.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_70:i26.FocusContainerComponent = (<any>(null as any));\nvar _decl0_71:i27.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_72:i28.FocusableComponent = (<any>(null as any));\nvar _decl0_73:i29.CardContainerComponent = (<any>(null as any));\nvar _decl0_74:i30.TableComponent<any> = (<any>(null as any));\nvar _decl0_75:i31.EditRowControls<any> = (<any>(null as any));\nvar _decl0_76:i32.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_77:i33.IconComponent = (<any>(null as any));\nvar _decl0_78:i34.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_79:i35.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_80:i36.ToolBarComponent = (<any>(null as any));\nvar _decl0_81:i37.CommandComponent = (<any>(null as any));\nvar _decl0_82:i38.PopupMenuComponent = (<any>(null as any));\nvar _decl0_83:i39.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_84:i40.MoreMenuComponent = (<any>(null as any));\nvar _decl0_85:i41.SeparatorComponent = (<any>(null as any));\nvar _decl0_86:i42.FlexComponent = (<any>(null as any));\nvar _decl0_87:i43.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_88:i44.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_89:i45.EmptyStateComponent = (<any>(null as any));\nvar _decl0_90:i46.PaginatorComponent = (<any>(null as any));\nvar _decl0_91:i47.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_92:i48.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_93:i49.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_94:i50.AlertDialogComponent = (<any>(null as any));\nvar _decl0_95:i51.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_96:i52.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_97:i53.AddItemInteractionContextComponent = (<any>(null as any));\nvar _decl0_98:i54.ActivityActionsComponent = (<any>(null as any));\nvar _decl0_99:i55.PopupInteractionContextComponent = (<any>(null as any));\nvar _decl0_100:i56.StringInputActivity = (<any>(null as any));\nvar _decl0_101:i57.SelectInputActivity<any> = (<any>(null as any));\nvar _decl0_102:i58.AbstractInputActivity<any,any> = (<any>(null as any));\nvar _decl0_103:i59.InteractionContextTriggerFor<any,any,any> = (<any>(null as any));\nvar _decl0_104:i60.Activity<any,any,any> = (<any>(null as any));\nvar _decl0_105:i61.ActivityTitleComponent = (<any>(null as any));\nvar _decl0_106:i62.ActivityBodyComponent = (<any>(null as any));\nvar _decl0_107:i63.AbstractActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_108:i64.PopupActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_109:i65.InlineActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_110:i66.ModalActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_111:i67.AddCardActivityComponent = (<any>(null as any));\nvar _decl0_112:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_113:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_114:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_115:i2.JsonPipe = (<any>(null as any));\nvar _decl0_116:i2.SlicePipe = (<any>(null as any));\nvar _decl0_117:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_118:i2.PercentPipe = (<any>(null as any));\nvar _decl0_119:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_120:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_121:i2.DatePipe = (<any>(null as any));\nvar _decl0_122:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_123:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_124:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_125:i68.HighlightPipe = (<any>(null as any));\nvar _decl0_126:i2.CommonModule = (<any>(null as any));\nvar _decl0_127:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_128:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_129:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_130:i7.PortalModule = (<any>(null as any));\nvar _decl0_131:i8.RouterModule = (<any>(null as any));\nvar _decl0_132:i9.MatIconModule = (<any>(null as any));\nvar _decl0_133:i69.DirectivesModule = (<any>(null as any));\nvar _decl0_134:i13.FlexModule = (<any>(null as any));\nvar _decl0_135:i14.GridModule = (<any>(null as any));\nvar _decl0_136:i70.ComponentsModule = (<any>(null as any));\nvar _decl0_137:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_138: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_91.busy;\n currVal_0;\n const currVal_1:any = !_any.focused;\n currVal_1;\n const currVal_2:any = _decl0_91;\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_91.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_91.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_91.activityRefs;\n currVal_4;\n const currVal_5:any = _decl0_91.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_92.class;\n currVal_0;\n const currVal_1:any = _decl0_92.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_92.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_92.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_105.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_105.color;\n currVal_2;\n const currVal_3:any = _decl0_92.confirm.title();\n currVal_3;\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_92.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_106.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_92.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_92.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_92.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_98.alignEnd;\n currVal_5;\n const currVal_6:any = _decl0_98.alignStretch;\n currVal_6;\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.class;\n currVal_0;\n const currVal_1:any = _decl0_93.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_93.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_105.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_105.color;\n currVal_2;\n const currVal_3:any = _decl0_93.confirm.title();\n currVal_3;\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_93.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_106.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_93.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_93.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_93.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_98.alignEnd;\n currVal_5;\n const currVal_6:any = _decl0_98.alignStretch;\n currVal_6;\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.class;\n currVal_0;\n const currVal_1:any = _decl0_94.isFocused;\n currVal_1;\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_94.alert.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_105.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_105.color;\n currVal_1;\n const currVal_2:any = _decl0_94.alert.title();\n currVal_2;\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_94.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_106.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_94.alert.content();\n currVal_2;\n const currVal_3:any = _decl0_94.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_98.alignEnd;\n currVal_4;\n const currVal_5:any = _decl0_98.alignStretch;\n currVal_5;\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 const currVal_0:any = _decl0_96.active;\n currVal_0;\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_96.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_96.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_97.active;\n currVal_0;\n const currVal_1:any = _decl0_97.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_96.active;\n currVal_1;\n const currVal_2:any = _decl0_97.clickCommand;\n currVal_2;\n const currVal_3:any = _decl0_97.icon;\n currVal_3;\n const currVal_4:any = _decl0_97.label;\n currVal_4;\n const pd_5: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_98.alignEnd;\n currVal_0;\n const currVal_1:any = _decl0_98.alignStretch;\n currVal_1;\n}\nfunction _View_ActivityActionsComponent_8_1():void {\n if (_decl0_98.hasConfirmFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.confirmCommand;\n currVal_0;\n const currVal_1:any = _decl0_98.confirmFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_2():void {\n if (_decl0_98.hasCancelFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.cancelCommand;\n currVal_0;\n const currVal_1:any = _decl0_98.cancelFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_98.hasConfirmFace();\n currVal_0;\n const currVal_1:any = _decl0_98.hasCancelFace();\n currVal_1;\n}\nfunction _View_PopupInteractionContextComponent_Host_9_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.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_100.class;\n currVal_0;\n const currVal_1:any = _decl0_100.isFocused;\n currVal_1;\n}\nfunction _View_StringInputActivity_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.data.label;\n currVal_0;\n const currVal_1:any = _decl0_100.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_100.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_100.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_100.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_58.dense;\n currVal_5;\n const currVal_6:any = _decl0_58.baseClassName;\n currVal_6;\n const currVal_7:any = _decl0_100.data.buttonStyle;\n currVal_7;\n const currVal_8:any = 'end';\n currVal_8;\n const currVal_9:any = _decl0_98.alignEnd;\n currVal_9;\n const currVal_10:any = _decl0_98.alignStretch;\n currVal_10;\n const pd_11:any = ((<any>_decl0_58.notifyClick()) !== false);\n const pd_12:any = ((<any>_decl0_58.notifyFocusIn()) !== false);\n const pd_13:any = ((<any>_decl0_58.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputActivity_Host_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_101.class;\n currVal_0;\n const currVal_1:any = _decl0_101.isFocused;\n currVal_1;\n}\nfunction _View_SelectInputActivity_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_101.data.label;\n currVal_0;\n const currVal_1:any = _decl0_101.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_101.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_101.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_101.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_101.options;\n currVal_5;\n const currVal_6:any = _decl0_101.optionLabelFormat;\n currVal_6;\n const currVal_7:any = _decl0_62.dense;\n currVal_7;\n const currVal_8:any = _decl0_62.baseClassName;\n currVal_8;\n const currVal_9:any = _decl0_101.data.buttonStyle;\n currVal_9;\n const currVal_10:any = 'end';\n currVal_10;\n const currVal_11:any = _decl0_98.alignEnd;\n currVal_11;\n const currVal_12:any = _decl0_98.alignStretch;\n currVal_12;\n const pd_13:any = ((<any>_decl0_62.notifyClick()) !== false);\n const pd_14:any = ((<any>_decl0_62.notifyFocusIn()) !== false);\n const pd_15:any = ((<any>_decl0_62.notifyFocusOut()) !== false);\n}\nfunction _View_AbstractInputActivity_Host_12_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_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_104.class;\n currVal_0;\n const currVal_1:any = _decl0_104.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 const currVal_0:any = _decl0_105.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_105.color;\n currVal_1;\n}\nfunction _View_ActivityTitleComponent_14_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityBodyComponent_Host_15_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_106.fullWidth;\n currVal_0;\n}\nfunction _View_ActivityBodyComponent_15_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractActivityTriggerComponent_Host_16_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_107.isActive;\n currVal_0;\n}\nfunction _View_AbstractActivityTriggerComponent_16_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PopupActivityTriggerComponent_Host_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_108.isActive;\n currVal_0;\n}\nfunction _View_PopupActivityTriggerComponent_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_108.anchorX;\n currVal_0;\n const currVal_1:any = _decl0_108.anchorY;\n currVal_1;\n const currVal_2:any = _decl0_99.active;\n currVal_2;\n const currVal_3:any = _decl0_108.startActivityCommand;\n currVal_3;\n const currVal_4:any = _decl0_108.faceModel;\n currVal_4;\n const currVal_5:any = _decl0_108.alignFace;\n currVal_5;\n const currVal_6:any = _decl0_81.alignFace;\n currVal_6;\n}\nfunction _View_InlineActivityTriggerComponent_Host_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_109.isActive;\n currVal_0;\n}\nfunction _View_InlineActivityTriggerComponent_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_96.active;\n currVal_1;\n const currVal_2:any = _decl0_109.startActivityCommand;\n currVal_2;\n const currVal_3:any = _decl0_109.faceModel;\n currVal_3;\n const currVal_4:any = _decl0_109.alignFace;\n currVal_4;\n const currVal_5:any = _decl0_81.alignFace;\n currVal_5;\n}\nfunction _View_ModalActivityTriggerComponent_Host_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.isActive;\n currVal_0;\n}\nfunction _View_ModalActivityTriggerComponent_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_110.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_110.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n}\nfunction _View_AddCardActivityComponent_Host_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.isActive;\n currVal_0;\n const currVal_1:any = _decl0_111.activityTypeClass;\n currVal_1;\n}\nfunction _View_AddCardActivityComponent_20_1():void {\n if (_decl0_111.isRenderAsButton()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_111.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_111.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n }\n}\nfunction _View_AddCardActivityComponent_20_2():void {\n if (_decl0_111.isRenderAsCard()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.faceList.value;\n currVal_0;\n const currVal_1:any = _decl0_83.requiresMissingIconInLayout;\n currVal_1;\n const currVal_2:any = _decl0_83.color;\n currVal_2;\n }\n}\nfunction _View_AddCardActivityComponent_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.startActivityCommand;\n currVal_0;\n const currVal_1:any = false;\n currVal_1;\n const currVal_2:any = _decl0_96.active;\n currVal_2;\n const currVal_3:any = _decl0_111.isRenderAsButton();\n currVal_3;\n const currVal_4:any = _decl0_111.isRenderAsCard();\n currVal_4;\n const pd_5:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\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 '../directives/highlight-text-model.directive';\nimport * as i13 from '@angular/flex-layout/flex';\nimport * as i14 from '@angular/flex-layout/grid';\nimport * as i15 from '../components/forms/number-input/number-input.component';\nimport * as i16 from '../components/forms/string-input/string-input.component';\nimport * as i17 from '../components/forms/text-input/text-input.component';\nimport * as i18 from '../components/forms/password-input/password-input.component';\nimport * as i19 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i20 from '../components/forms/select-input/select-input.component';\nimport * as i21 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i22 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i23 from '../components/scroll-container/scroll-container.component';\nimport * as i24 from '../components/noop/noop.component';\nimport * as i25 from '../components/switch-case/switch-case.component';\nimport * as i26 from '../components/focus-container/focus-container.component';\nimport * as i27 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i28 from '../components/focusable.component';\nimport * as i29 from '../components/cards/card-container/card-container.component';\nimport * as i30 from '../components/tables/table/table.component';\nimport * as i31 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i32 from '../components/tables/table/column-template/column-template.directive';\nimport * as i33 from '../components/icon/icon.component';\nimport * as i34 from '../components/section-header/section-header.component';\nimport * as i35 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i36 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i37 from '../components/commands/command/command.component';\nimport * as i38 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i39 from '../components/commands/command-face/command-face.component';\nimport * as i40 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i41 from '../components/commands/separator.component';\nimport * as i42 from '../components/commands/flex.component';\nimport * as i43 from '../components/tables/tree-table/tree-table-component';\nimport * as i44 from '../components/busy-overlay/busy-overlay.component';\nimport * as i45 from '../components/empty-state/empty-state.component';\nimport * as i46 from '../components/tables/table/paginator/paginator.component';\nimport * as i47 from '../components/cards/card-stack/card-stack.component';\nimport * as i48 from './components/activity-container/activity-container.component';\nimport * as i49 from './components/confirmation-dialog/confirmation-dialog.component';\nimport * as i50 from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport * as i51 from './components/alert-dialog/alert-dialog.component';\nimport * as i52 from './components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i53 from './components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i54 from './components/add-item-interaction-context/add-item-interaction-context.component';\nimport * as i55 from './components/activity-actions/activity-actions.component';\nimport * as i56 from './components/popup-interaction-context/popup-interaction-context.component';\nimport * as i57 from './components/input-activities/string-input-activity';\nimport * as i58 from './components/input-activities/select-input-activity';\nimport * as i59 from './components/input-activities/abstract-input-activity';\nimport * as i60 from './directives/interaction-context-trigger-for.directive';\nimport * as i61 from './activity';\nimport * as i62 from './components/activity-title/activity-title.component';\nimport * as i63 from './components/activity-body/activity-body.component';\nimport * as i64 from './components/activity-triggers/abstract-activity-trigger.component';\nimport * as i65 from './components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component';\nimport * as i66 from './components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component';\nimport * as i67 from './components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component';\nimport * as i68 from './components/add-card-activity/add-card-activity.component';\nimport * as i69 from '../directives/highlight.pipe';\nimport * as i70 from '../directives/directives.module';\nimport * as i71 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.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_38:i13.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_39:i13.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_40:i13.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_41:i13.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_42:i13.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_43:i13.FlexFillDirective = (<any>(null as any));\nvar _decl0_44:i13.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_45:i13.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_46:i14.ɵgrid_privatec = (<any>(null as any));\nvar _decl0_47:i14.ɵgrid_privatef = (<any>(null as any));\nvar _decl0_48:i14.ɵgrid_privatei = (<any>(null as any));\nvar _decl0_49:i14.ɵgrid_privatel = (<any>(null as any));\nvar _decl0_50:i14.ɵgrid_privateo = (<any>(null as any));\nvar _decl0_51:i14.ɵgrid_privater = (<any>(null as any));\nvar _decl0_52:i14.ɵgrid_privateu = (<any>(null as any));\nvar _decl0_53:i14.ɵgrid_privatex = (<any>(null as any));\nvar _decl0_54:i14.ɵgrid_privateba = (<any>(null as any));\nvar _decl0_55:i14.ɵgrid_privatebd = (<any>(null as any));\nvar _decl0_56:i14.ɵgrid_privatebg = (<any>(null as any));\nvar _decl0_57:i15.NumberInputComponent = (<any>(null as any));\nvar _decl0_58:i16.StringInputComponent = (<any>(null as any));\nvar _decl0_59:i17.TextInputComponent = (<any>(null as any));\nvar _decl0_60:i18.PasswordInputComponent = (<any>(null as any));\nvar _decl0_61:i19.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_62:i20.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_63:i21.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i22.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_65:i23.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_66:i24.NoopComponent = (<any>(null as any));\nvar _decl0_67:i25.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_68:i25.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_69:i25.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_70:i26.FocusContainerComponent = (<any>(null as any));\nvar _decl0_71:i27.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_72:i28.FocusableComponent = (<any>(null as any));\nvar _decl0_73:i29.CardContainerComponent = (<any>(null as any));\nvar _decl0_74:i30.TableComponent<any> = (<any>(null as any));\nvar _decl0_75:i31.EditRowControls<any> = (<any>(null as any));\nvar _decl0_76:i32.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_77:i33.IconComponent = (<any>(null as any));\nvar _decl0_78:i34.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_79:i35.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_80:i36.ToolBarComponent = (<any>(null as any));\nvar _decl0_81:i37.CommandComponent = (<any>(null as any));\nvar _decl0_82:i38.PopupMenuComponent = (<any>(null as any));\nvar _decl0_83:i39.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_84:i40.MoreMenuComponent = (<any>(null as any));\nvar _decl0_85:i41.SeparatorComponent = (<any>(null as any));\nvar _decl0_86:i42.FlexComponent = (<any>(null as any));\nvar _decl0_87:i43.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_88:i44.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_89:i45.EmptyStateComponent = (<any>(null as any));\nvar _decl0_90:i46.PaginatorComponent = (<any>(null as any));\nvar _decl0_91:i47.CardStackComponent = (<any>(null as any));\nvar _decl0_92:i48.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_93:i49.ConfirmationDialogComponent = (<any>(null as any));\nvar _decl0_94:i50.ConfirmThenDialogComponent<any,any,any> = (<any>(null as any));\nvar _decl0_95:i51.AlertDialogComponent = (<any>(null as any));\nvar _decl0_96:i52.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_97:i53.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_98:i54.AddItemInteractionContextComponent = (<any>(null as any));\nvar _decl0_99:i55.ActivityActionsComponent = (<any>(null as any));\nvar _decl0_100:i56.PopupInteractionContextComponent = (<any>(null as any));\nvar _decl0_101:i57.StringInputActivity = (<any>(null as any));\nvar _decl0_102:i58.SelectInputActivity<any> = (<any>(null as any));\nvar _decl0_103:i59.AbstractInputActivity<any,any> = (<any>(null as any));\nvar _decl0_104:i60.InteractionContextTriggerFor<any,any,any> = (<any>(null as any));\nvar _decl0_105:i61.Activity<any,any,any> = (<any>(null as any));\nvar _decl0_106:i62.ActivityTitleComponent = (<any>(null as any));\nvar _decl0_107:i63.ActivityBodyComponent = (<any>(null as any));\nvar _decl0_108:i64.AbstractActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_109:i65.PopupActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_110:i66.InlineActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_111:i67.ModalActivityTriggerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_112:i68.AddCardActivityComponent = (<any>(null as any));\nvar _decl0_113:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_114:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_115:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_116:i2.JsonPipe = (<any>(null as any));\nvar _decl0_117:i2.SlicePipe = (<any>(null as any));\nvar _decl0_118:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_119:i2.PercentPipe = (<any>(null as any));\nvar _decl0_120:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_121:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_122:i2.DatePipe = (<any>(null as any));\nvar _decl0_123:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_124:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_125:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_126:i69.HighlightPipe = (<any>(null as any));\nvar _decl0_127:i2.CommonModule = (<any>(null as any));\nvar _decl0_128:i4.MatButtonModule = (<any>(null as any));\nvar _decl0_129:i5.MatDialogModule = (<any>(null as any));\nvar _decl0_130:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_131:i7.PortalModule = (<any>(null as any));\nvar _decl0_132:i8.RouterModule = (<any>(null as any));\nvar _decl0_133:i9.MatIconModule = (<any>(null as any));\nvar _decl0_134:i70.DirectivesModule = (<any>(null as any));\nvar _decl0_135:i13.FlexModule = (<any>(null as any));\nvar _decl0_136:i14.GridModule = (<any>(null as any));\nvar _decl0_137:i71.ComponentsModule = (<any>(null as any));\nvar _decl0_138:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_139: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_92.busy;\n currVal_0;\n const currVal_1:any = !_any.focused;\n currVal_1;\n const currVal_2:any = _decl0_92;\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_92.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_92.dynamicHeight;\n currVal_3;\n const currVal_4:any = _decl0_92.activityRefs;\n currVal_4;\n const currVal_5:any = _decl0_92.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_93.class;\n currVal_0;\n const currVal_1:any = _decl0_93.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmationDialogComponent_2_1():void {\n if (_decl0_93.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_106.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_106.color;\n currVal_2;\n const currVal_3:any = _decl0_93.confirm.title();\n currVal_3;\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_93.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_107.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_93.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_93.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_93.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_99.alignEnd;\n currVal_5;\n const currVal_6:any = _decl0_99.alignStretch;\n currVal_6;\n}\nfunction _View_ConfirmThenDialogComponent_Host_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.class;\n currVal_0;\n const currVal_1:any = _decl0_94.isFocused;\n currVal_1;\n}\nfunction _View_ConfirmThenDialogComponent_3_1():void {\n if (_decl0_94.confirm.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.titleColor;\n currVal_0;\n const currVal_1:any = _decl0_106.hasTransparentBackground;\n currVal_1;\n const currVal_2:any = _decl0_106.color;\n currVal_2;\n const currVal_3:any = _decl0_94.confirm.title();\n currVal_3;\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_94.confirm.title;\n currVal_0;\n const currVal_1:any = _decl0_107.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_94.confirm.content();\n currVal_2;\n const currVal_3:any = _decl0_94.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_94.cancelFace;\n currVal_4;\n const currVal_5:any = _decl0_99.alignEnd;\n currVal_5;\n const currVal_6:any = _decl0_99.alignStretch;\n currVal_6;\n}\nfunction _View_AlertDialogComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_95.class;\n currVal_0;\n const currVal_1:any = _decl0_95.isFocused;\n currVal_1;\n}\nfunction _View_AlertDialogComponent_4_1():void {\n if (_decl0_95.alert.title) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_106.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_106.color;\n currVal_1;\n const currVal_2:any = _decl0_95.alert.title();\n currVal_2;\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_95.alert.title;\n currVal_0;\n const currVal_1:any = _decl0_107.fullWidth;\n currVal_1;\n const currVal_2:any = _decl0_95.alert.content();\n currVal_2;\n const currVal_3:any = _decl0_95.confirmFace;\n currVal_3;\n const currVal_4:any = _decl0_99.alignEnd;\n currVal_4;\n const currVal_5:any = _decl0_99.alignStretch;\n currVal_5;\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 const currVal_0:any = _decl0_97.active;\n currVal_0;\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_97.isActive()? 1: 0);\n currVal_1;\n const currVal_2:any = _decl0_97.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_98.active;\n currVal_0;\n const currVal_1:any = _decl0_98.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_97.active;\n currVal_1;\n const currVal_2:any = _decl0_98.clickCommand;\n currVal_2;\n const currVal_3:any = _decl0_98.icon;\n currVal_3;\n const currVal_4:any = _decl0_98.label;\n currVal_4;\n const pd_5: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_99.alignEnd;\n currVal_0;\n const currVal_1:any = _decl0_99.alignStretch;\n currVal_1;\n}\nfunction _View_ActivityActionsComponent_8_1():void {\n if (_decl0_99.hasConfirmFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.confirmCommand;\n currVal_0;\n const currVal_1:any = _decl0_99.confirmFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_2():void {\n if (_decl0_99.hasCancelFace()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.cancelCommand;\n currVal_0;\n const currVal_1:any = _decl0_99.cancelFace;\n currVal_1;\n const currVal_2:any = _decl0_81.alignFace;\n currVal_2;\n }\n}\nfunction _View_ActivityActionsComponent_8_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_99.hasConfirmFace();\n currVal_0;\n const currVal_1:any = _decl0_99.hasCancelFace();\n currVal_1;\n}\nfunction _View_PopupInteractionContextComponent_Host_9_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_100.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_101.class;\n currVal_0;\n const currVal_1:any = _decl0_101.isFocused;\n currVal_1;\n}\nfunction _View_StringInputActivity_10_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_101.data.label;\n currVal_0;\n const currVal_1:any = _decl0_101.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_101.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_101.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_101.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_58.dense;\n currVal_5;\n const currVal_6:any = _decl0_58.baseClassName;\n currVal_6;\n const currVal_7:any = _decl0_101.data.buttonStyle;\n currVal_7;\n const currVal_8:any = 'end';\n currVal_8;\n const currVal_9:any = _decl0_99.alignEnd;\n currVal_9;\n const currVal_10:any = _decl0_99.alignStretch;\n currVal_10;\n const pd_11:any = ((<any>_decl0_58.notifyClick()) !== false);\n const pd_12:any = ((<any>_decl0_58.notifyFocusIn()) !== false);\n const pd_13:any = ((<any>_decl0_58.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputActivity_Host_11_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_SelectInputActivity_11_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_102.data.label;\n currVal_0;\n const currVal_1:any = _decl0_102.data.placeholder;\n currVal_1;\n const currVal_2:any = _decl0_102.confirmCommand;\n currVal_2;\n const currVal_3:any = _decl0_102.cancelCommand;\n currVal_3;\n const currVal_4:any = _decl0_102.valueModel;\n currVal_4;\n const currVal_5:any = _decl0_102.options;\n currVal_5;\n const currVal_6:any = _decl0_102.optionLabelFormat;\n currVal_6;\n const currVal_7:any = _decl0_62.dense;\n currVal_7;\n const currVal_8:any = _decl0_62.baseClassName;\n currVal_8;\n const currVal_9:any = _decl0_102.data.buttonStyle;\n currVal_9;\n const currVal_10:any = 'end';\n currVal_10;\n const currVal_11:any = _decl0_99.alignEnd;\n currVal_11;\n const currVal_12:any = _decl0_99.alignStretch;\n currVal_12;\n const pd_13:any = ((<any>_decl0_62.notifyClick()) !== false);\n const pd_14:any = ((<any>_decl0_62.notifyFocusIn()) !== false);\n const pd_15:any = ((<any>_decl0_62.notifyFocusOut()) !== false);\n}\nfunction _View_AbstractInputActivity_Host_12_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_103.class;\n currVal_0;\n const currVal_1:any = _decl0_103.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_105.class;\n currVal_0;\n const currVal_1:any = _decl0_105.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 const currVal_0:any = _decl0_106.hasTransparentBackground;\n currVal_0;\n const currVal_1:any = _decl0_106.color;\n currVal_1;\n}\nfunction _View_ActivityTitleComponent_14_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ActivityBodyComponent_Host_15_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_107.fullWidth;\n currVal_0;\n}\nfunction _View_ActivityBodyComponent_15_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractActivityTriggerComponent_Host_16_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_108.isActive;\n currVal_0;\n}\nfunction _View_AbstractActivityTriggerComponent_16_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PopupActivityTriggerComponent_Host_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_109.isActive;\n currVal_0;\n}\nfunction _View_PopupActivityTriggerComponent_17_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_109.anchorX;\n currVal_0;\n const currVal_1:any = _decl0_109.anchorY;\n currVal_1;\n const currVal_2:any = _decl0_100.active;\n currVal_2;\n const currVal_3:any = _decl0_109.startActivityCommand;\n currVal_3;\n const currVal_4:any = _decl0_109.faceModel;\n currVal_4;\n const currVal_5:any = _decl0_109.alignFace;\n currVal_5;\n const currVal_6:any = _decl0_81.alignFace;\n currVal_6;\n}\nfunction _View_InlineActivityTriggerComponent_Host_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_110.isActive;\n currVal_0;\n}\nfunction _View_InlineActivityTriggerComponent_18_0():void {\n var _any:any = (null as any);\n const currVal_0:any = false;\n currVal_0;\n const currVal_1:any = _decl0_97.active;\n currVal_1;\n const currVal_2:any = _decl0_110.startActivityCommand;\n currVal_2;\n const currVal_3:any = _decl0_110.faceModel;\n currVal_3;\n const currVal_4:any = _decl0_110.alignFace;\n currVal_4;\n const currVal_5:any = _decl0_81.alignFace;\n currVal_5;\n}\nfunction _View_ModalActivityTriggerComponent_Host_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.isActive;\n currVal_0;\n}\nfunction _View_ModalActivityTriggerComponent_19_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_111.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_111.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_111.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n}\nfunction _View_AddCardActivityComponent_Host_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.isActive;\n currVal_0;\n const currVal_1:any = _decl0_112.activityTypeClass;\n currVal_1;\n}\nfunction _View_AddCardActivityComponent_20_1():void {\n if (_decl0_112.isRenderAsButton()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.startActivityCommand;\n currVal_0;\n const currVal_1:any = _decl0_112.faceModel;\n currVal_1;\n const currVal_2:any = _decl0_112.alignFace;\n currVal_2;\n const currVal_3:any = _decl0_81.alignFace;\n currVal_3;\n }\n}\nfunction _View_AddCardActivityComponent_20_2():void {\n if (_decl0_112.isRenderAsCard()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.faceList.value;\n currVal_0;\n const currVal_1:any = _decl0_83.requiresMissingIconInLayout;\n currVal_1;\n const currVal_2:any = _decl0_83.color;\n currVal_2;\n }\n}\nfunction _View_AddCardActivityComponent_20_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_112.startActivityCommand;\n currVal_0;\n const currVal_1:any = false;\n currVal_1;\n const currVal_2:any = _decl0_97.active;\n currVal_2;\n const currVal_3:any = _decl0_112.isRenderAsButton();\n currVal_3;\n const currVal_4:any = _decl0_112.isRenderAsCard();\n currVal_4;\n const pd_5:any = ((<any>_decl0_35.notifyClick(_any)) !== false);\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { __awaiter, __decorate, __metadata } from "tslib";
1
+ import { __awaiter } from "tslib";
2
2
  import { Location } from '@angular/common';
3
3
  import { Injectable } from '@angular/core';
4
4
  import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router';
5
- import { assert, Binding, DebugContext, DelegatingValueModel, Dsl, GarbageCollector, lang, MutableListModel, MutableValueModel, Trace } from '@coolon/pectin';
5
+ import { assert, Binding, DebugContext, DelegatingValueModel, Dsl, GarbageCollector, lang, MutableListModel, MutableValueModel } from '@coolon/pectin';
6
6
  import { InteractionService } from '../interaction/services/interaction.service';
7
7
  import { NavigatingDuringInteraction } from './navigation/session/interactions/navigating-during-interaction';
8
8
  import { PopStateDuringInteractionNavigation } from './navigation/session/interactions/pop-state-during-interaction-navigation';
@@ -280,6 +280,7 @@ export class PlaceRouter extends GarbageCollector {
280
280
  * to be able to capture the back button on the first page. If we don't then the back click will exit
281
281
  * the app directly and we don't get to ask.
282
282
  */
283
+ // @Trace()
283
284
  syncInteractionContextIdsWithRouter() {
284
285
  if (this.navigationSession) {
285
286
  // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
@@ -321,12 +322,6 @@ PlaceRouter.ctorParameters = () => [
321
322
  { type: UrlService },
322
323
  { type: PlaceHistory }
323
324
  ];
324
- __decorate([
325
- Trace(),
326
- __metadata("design:type", Function),
327
- __metadata("design:paramtypes", []),
328
- __metadata("design:returntype", Promise)
329
- ], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
330
325
  (function (PlaceRouter) {
331
326
  class State {
332
327
  constructor(activeVisits) {
@@ -1 +1 @@
1
- {"version":3,"file":"place-router.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-router.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAA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AAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC,CAAC;SAEL;IACH,CAAC;IAGO,qBAAqB,CAAC,KAAY;QACxC,MAAM,GAAG,GAAG,KAAK,CAAC,eAAe,CAAC;QAClC,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;YACzB,CAAC,GAAG,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC1E,CAAC,GAAG,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7C,CAAC;;;;YA/UF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YApCC,MAAM;YAVC,QAAQ;YA6BR,kBAAkB;YAWlB,UAAU;YADV,YAAY;;AAwTnB;IADC,KAAK,EAAE;;;;sEAqBP;AAYH,WAAiB,WAAW;IAM1B,MAAa,KAAK;QAChB,YAA6B,YAAqB;YAArB,iBAAY,GAAZ,YAAY,CAAS;QAClD,CAAC;QAED,aAAa,CAAC,eAAgC;YAC5C,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAC7C,CAAC;QAED,WAAW,CAAC,eAAgC;YAC1C,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,eAAe,KAAK,eAAe,CAAC,CAAC;QAC5E,CAAC;KACF;IAXY,iBAAK,QAWjB,CAAA;AAEH,CAAC,EAnBgB,WAAW,KAAX,WAAW,QAmB3B","sourcesContent":["import { Location } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport {\n ActivatedRoute,\n ActivatedRouteSnapshot,\n NavigationCancel,\n NavigationEnd,\n NavigationError,\n NavigationExtras,\n NavigationStart,\n Router,\n RouterStateSnapshot\n} from '@angular/router';\nimport {\n assert,\n Binding,\n DebugContext,\n DelegatingValueModel,\n Dsl,\n GarbageCollector,\n lang,\n ListModel,\n MutableListModel,\n MutableValueModel,\n Trace,\n ValueModel,\n ValueModelChain\n} from '@coolon/pectin';\nimport { InteractionServiceRoutingAdapter } from '../interaction/services/interaction-service-routing-adapter';\nimport { InteractionService } from '../interaction/services/interaction.service';\nimport { NavigatingDuringInteraction } from './navigation/session/interactions/navigating-during-interaction';\nimport { PopStateDuringInteractionNavigation } from './navigation/session/interactions/pop-state-during-interaction-navigation';\nimport { SynchroniseInteractionContextIdsWithRoute } from './navigation/session/interactions/synchronise-interaction-context-ids-with-route';\nimport { Navigating } from './navigation/session/navigating';\nimport { NavigationContext } from './navigation/session/navigation-context';\nimport { NavigationSession } from './navigation/session/navigation-session';\nimport { PopStateNavigation } from './navigation/session/pop-state-navigation';\nimport { PlaceAccessGuard } from './place-access-guard';\nimport { PlaceDefinition } from './place-definition';\nimport { PlaceHistory } from './place-history';\nimport { UrlService } from './url-service';\nimport { UrlSnapshot } from './url-snapshot';\nimport { Visit } from './visit';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PlaceRouter extends GarbageCollector {\n\n readonly navigationSessionModel = new MutableValueModel<NavigationSession>();\n readonly navigationInProgress: ValueModelChain<boolean>;\n readonly navigationSessionName: ValueModelChain<string>; // used by tests\n\n private readonly navigationContext: NavigationContext.Impl;\n\n private readonly _activeVisits = new MutableListModel<Visit>();\n private readonly routerInteractionAdapter: InteractionServiceRoutingAdapter;\n private sessionFinishedJobs: (() => void)[] = [];\n\n public readonly state: ValueModel<PlaceRouter.State>;\n\n /**\n * An observable model containing the authoriser function. This allows places to react to changes\n * in permissions when any underlying auth logic changes, e.g. a role being removed from a user.\n */\n private readonly _accessGuard = new DelegatingValueModel<PlaceAccessGuard>().withDefault(new PlaceAccessGuard.NoAuth());\n private redirections: PlaceRouter.Redirections;\n\n constructor(private readonly angularRouter: Router,\n private readonly angularLocation: Location,\n private readonly interactionService: InteractionService,\n private readonly urlService: UrlService,\n private readonly placeHistory: PlaceHistory) {\n super();\n\n if (window['Cypress']) {\n window['aup.PlaceRouter'] = this;\n }\n\n this.routerInteractionAdapter = interactionService.registerPlaceRouter(this);\n\n // TODO: Make this an interface and use 'this' instead.\n this.navigationContext = new NavigationContext.Impl(\n this.urlService,\n this.routerInteractionAdapter,\n (urlSnapshot: UrlSnapshot, options: { replaceUrl: boolean }) => {\n return this.navigateByUrl(urlSnapshot, options);\n },\n state => {\n this.transitionTo(state);\n },\n visits => {\n this.routingSessionFinished(visits);\n });\n\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n this.navigationInProgress = chain(this.navigationSessionModel).isNotNil();\n\n const idleStateName = chain(this.interactionService.active).map(active => active ? 'IdleDuringInteraction' : 'Idle');\n this.navigationSessionName = chain(this.navigationSessionModel)\n .pluck('name')\n .otherwise(idleStateName);\n\n DebugContext.tag(this._activeVisits, 'PlaceRouter.activeVisits');\n this.state = chain(this._activeVisits).reduce(visits => new PlaceRouter.State(visits));\n\n // TODO: make setup the callbacks in during module initiation to make this testable.\n angularRouter.events.subscribe(event => {\n // Routing event sequence\n // ======================\n // NavigationStart -> .... -> NavigationCancel --> redirect, go around again in the same session\n // NavigationStart -> .... -> NavigationEnd --> navigation complete, end session.\n // NavigationStart -> .... -> NavigationError --> navigation aborted, end session.\n // =======================\n if (event instanceof NavigationStart) {\n // console.log(`---> NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n if (event.navigationTrigger === 'popstate') {\n this.onPopState(event);\n } else {\n this.onRouterStarted(event);\n }\n // console.log(`<--- NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n }\n if (event instanceof NavigationEnd) {\n // console.log(`---> NavigationEnd[${event.id}]: ${event.url}`);\n this.onRouterEnd(event);\n // console.log(`<--- NavigationEnd[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationError) {\n // console.log(`---> NavigationError[${event.id}]: ${event.url}`);\n this.onRouterError(event);\n // console.log(`<--- NavigationError[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationCancel) {\n // console.log(`---> NavigationCancel[${event.id}]: ${event.url}`);\n this.onRouterCancelled(event);\n // console.log(`<--- NavigationCancel[${event.id}]: ${event.url}`);\n }\n });\n\n // The router needs to know about url changes and in some cases they are the only way the router can know if\n // the back button was clicked.\n angularLocation.onUrlChange(url => this.onUrlChanged(url));\n\n }\n\n get accessGuard(): ValueModel<PlaceAccessGuard> {\n return this._accessGuard.readonly;\n }\n\n // @Trace()\n configureAuth(accessGrant: ValueModel<PlaceAccessGuard>, redirections: PlaceRouter.Redirections) {\n // We need a shitty mutable model until setDelegate is clever enough to work with readonly models.\n const hackyMutableModel = new MutableValueModel<PlaceAccessGuard>();\n const binding = new Binding(hackyMutableModel, accessGrant, {\n toRight(leftValue: PlaceAccessGuard) {\n return lang.illegalState('hackyMutableModel is read only');\n },\n toLeft: (rightValue: PlaceAccessGuard) => rightValue\n });\n binding.writeLeft();\n this._accessGuard.setDelegate(hackyMutableModel);\n this.redirections = redirections;\n }\n\n getAuthenticationFailureRedirect(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Visit {\n return this.redirections.onAuthenticationFailure(activatedRoute, state);\n }\n\n get navigationSession() {\n return this.navigationSessionModel.value;\n }\n\n get currentSession() {\n return this.navigationSessionModel.value;\n }\n\n isNavigating(): boolean {\n return this.navigationInProgress.value;\n }\n\n waitUntilIdle(): Promise<this> {\n const { when } = Dsl.disposeWith(this);\n return new Promise<this>(resolve => {\n when(this.navigationInProgress).becomesFalsey(() => resolve(this), {\n initialValue: 'evaluate',\n once: true\n });\n });\n }\n\n // @Trace()\n onPopState(event: NavigationStart) {\n assert.isTruthy(event.navigationTrigger === 'popstate');\n if (this.currentSession) {\n this.currentSession.onPopState(event);\n } else {\n const poppedHistoryUrl = event.url;\n const currentRouterUrl = this.urlService.getCurrentRouterUrl();\n const session = this.interactionService.isActive() ?\n new PopStateDuringInteractionNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl) :\n new PopStateNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl);\n this.transitionTo(session);\n }\n }\n\n // @Trace()\n onRouterStarted(event: NavigationStart) {\n assert.isFalsey(event.navigationTrigger === 'popstate');\n const inInteraction = this.interactionService.isActive();\n if (this.currentSession) {\n this.currentSession.onRouterStarted(event);\n } else {\n this.transitionTo(this.createNavigationSession(this.urlService.getCurrentRouterUrl()));\n }\n }\n\n // @Trace()\n onUrlChanged(newUrl: string) {\n // the back button can trigger a url change without a navigation session in progress so we\n // console.log(`---> Url Changed ${newUrl}`);\n if (this.currentSession) {\n this.currentSession.onUrlChange(newUrl);\n } else {\n console.log('FYI: url changed without a navigation session in progress');\n }\n // console.log(`<--- Url Changed`);\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel) {\n this.currentSession.onRouterCancelled(event);\n }\n\n // @Trace()\n onRouterError(event: NavigationError) {\n this.currentSession.onRouterError(event);\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd) {\n this.currentSession.onRouterEnd(event);\n }\n\n navigate(visit: Visit, options?: { relativeTo: ActivatedRoute }) {\n return this.doNavigation(visit, async router => {\n const commands = [\n visit.placeDefinition.path,\n ...this.createRouteParameters(visit)\n ];\n await this.angularRouter.navigate(commands, {\n relativeTo: options ? options.relativeTo : null\n });\n });\n }\n\n // @Trace()\n async doNavigation(visit: Visit, runNavigationCommands: (router: Router) => any) {\n if (this.navigationInProgress.value) {\n lang.illegalState('Navigation already in progress');\n }\n const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());\n navigation.storeVisit(visit);\n this.transitionTo(navigation);\n try {\n await runNavigationCommands(this.angularRouter);\n } finally {\n // Check if the router has finished (in the case where no router change required) and we're still in a\n // transient state and finish of the transition.\n if (!this.angularRouter.getCurrentNavigation() && this.currentSession) {\n this.currentSession.onRouterEnd(new NavigationEnd(-1, '', ''));\n }\n }\n }\n\n navigateByUrl(urlSnapshot: UrlSnapshot, navigationExtras?: NavigationExtras): Promise<boolean> {\n console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);\n return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);\n }\n\n get activeVisits(): ListModel<Visit> {\n return this._activeVisits.readonly;\n }\n\n // @Trace()\n async pushVisitChangesToRoute(previous: Visit, next: Visit): Promise<void> {\n this.placeHistory.updateVisit(next);\n\n // FIXME: no route id -> route id duplicates route parameters\n if (next.hasRoutingChangedFrom(previous)) {\n return this.doNavigation(next, router => {\n const urlSnapshot = this.urlService.parseUrl(this.angularRouter.routerState.snapshot.url).updateVisitSegments(next);\n // console.log('### Push Changes to route Redirect', { commands: urlSnapshot.url });\n return this.navigateByUrl(urlSnapshot);\n });\n }\n }\n\n\n private createNavigationSession(currentRouterUrl: string): NavigationSession {\n const inInteraction = this.interactionService.isActive();\n return inInteraction ?\n new NavigatingDuringInteraction(this.navigationContext, currentRouterUrl) :\n new Navigating(this.navigationContext, currentRouterUrl);\n }\n\n // @Trace()\n protected transitionTo(next: NavigationSession) {\n const previous = this.navigationSessionModel.value;\n if (!previous) {\n this.placeHistory.notifyNavigationStarted();\n }\n assert.isTruthy(next !== previous);\n // Logger.get(this).info(`### Router State Transition: ${previous ? previous.toString() : 'null'} -> ${next.toString()}`);\n this.navigationSessionModel.value = next;\n if (!!previous) {\n previous.dispose();\n }\n next.notifyActive();\n }\n\n // @Trace()\n private routingSessionFinished(visits: Visit[]) {\n if (visits && visits.length > 0) {\n assert.isTruthy(this.navigationInProgress.value);\n this.placeHistory.notifyNavigationFinished(visits);\n // We update the active visits before we finish the session so the\n // place outlets can ignore the incoming changes until things are\n // settled. TODO: can we removed the event'ness here and just do a push?\n this._activeVisits.value = visits;\n }\n const session = this.currentSession;\n session.dispose();\n this.navigationSessionModel.value = null;\n // console.log(`### Router Session Finished (was ${session.toString()})`);\n this.sessionFinishedJobs.forEach(job => job());\n this.sessionFinishedJobs = [];\n }\n\n private runAfterRoutingSessionFinishes(func: () => void) {\n assert.isTruthy(this.navigationInProgress);\n this.sessionFinishedJobs.push(func);\n }\n\n\n /**\n * Sync's the current interaction state with the URL. We need to push something in the URL in order\n * to be able to capture the back button on the first page. If we don't then the back click will exit\n * the app directly and we don't get to ask.\n */\n @Trace()\n syncInteractionContextIdsWithRouter(): Promise<void> {\n if (this.navigationSession) {\n // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);\n const session = this.navigationSession;\n return new Promise<void>((resolve, reject) => {\n this.runAfterRoutingSessionFinishes(() => {\n this.runAfterRoutingSessionFinishes(resolve);\n const syncSession = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(syncSession);\n });\n });\n } else {\n return new Promise<void>(((resolve, reject) => {\n // console.log(`No navigation in progress, starting synchronisation job`);\n this.runAfterRoutingSessionFinishes(resolve);\n const session = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(session);\n }));\n\n }\n }\n\n\n private createRouteParameters(visit: Visit) {\n const def = visit.placeDefinition;\n return visit.hasRouteId() ?\n [def.getFormattedRouteId(visit), def.getFormattedRouteParameters(visit)] :\n [def.getFormattedRouteParameters(visit)];\n }\n\n}\n\nexport namespace PlaceRouter {\n\n export interface Redirections {\n onAuthenticationFailure(activatedRoute?: ActivatedRouteSnapshot, state?: RouterStateSnapshot): Visit;\n }\n\n export class State {\n constructor(private readonly activeVisits: Visit[]) {\n }\n\n isPlaceActive(placeDefinition: PlaceDefinition): boolean {\n return !!this.getVisitFor(placeDefinition);\n }\n\n getVisitFor(placeDefinition: PlaceDefinition): Visit {\n return this.activeVisits.find(v => v.placeDefinition === placeDefinition);\n }\n }\n\n}\n"]}
1
+ {"version":3,"file":"place-router.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place-router.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eA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AAC,YAAY,CAAC,OAAO,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC,CAAC;SAEL;IACH,CAAC;IAGO,qBAAqB,CAAC,KAAY;QACxC,MAAM,GAAG,GAAG,KAAK,CAAC,eAAe,CAAC;QAClC,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;YACzB,CAAC,GAAG,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC1E,CAAC,GAAG,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7C,CAAC;;;;YA/UF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YApCC,MAAM;YAVC,QAAQ;YA6BR,kBAAkB;YAWlB,UAAU;YADV,YAAY;;AAwVrB,WAAiB,WAAW;IAM1B,MAAa,KAAK;QAChB,YAA6B,YAAqB;YAArB,iBAAY,GAAZ,YAAY,CAAS;QAClD,CAAC;QAED,aAAa,CAAC,eAAgC;YAC5C,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAC7C,CAAC;QAED,WAAW,CAAC,eAAgC;YAC1C,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,eAAe,KAAK,eAAe,CAAC,CAAC;QAC5E,CAAC;KACF;IAXY,iBAAK,QAWjB,CAAA;AAEH,CAAC,EAnBgB,WAAW,KAAX,WAAW,QAmB3B","sourcesContent":["import { Location } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport {\n ActivatedRoute,\n ActivatedRouteSnapshot,\n NavigationCancel,\n NavigationEnd,\n NavigationError,\n NavigationExtras,\n NavigationStart,\n Router,\n RouterStateSnapshot\n} from '@angular/router';\nimport {\n assert,\n Binding,\n DebugContext,\n DelegatingValueModel,\n Dsl,\n GarbageCollector,\n lang,\n ListModel,\n MutableListModel,\n MutableValueModel,\n Trace,\n ValueModel,\n ValueModelChain\n} from '@coolon/pectin';\nimport { InteractionServiceRoutingAdapter } from '../interaction/services/interaction-service-routing-adapter';\nimport { InteractionService } from '../interaction/services/interaction.service';\nimport { NavigatingDuringInteraction } from './navigation/session/interactions/navigating-during-interaction';\nimport { PopStateDuringInteractionNavigation } from './navigation/session/interactions/pop-state-during-interaction-navigation';\nimport { SynchroniseInteractionContextIdsWithRoute } from './navigation/session/interactions/synchronise-interaction-context-ids-with-route';\nimport { Navigating } from './navigation/session/navigating';\nimport { NavigationContext } from './navigation/session/navigation-context';\nimport { NavigationSession } from './navigation/session/navigation-session';\nimport { PopStateNavigation } from './navigation/session/pop-state-navigation';\nimport { PlaceAccessGuard } from './place-access-guard';\nimport { PlaceDefinition } from './place-definition';\nimport { PlaceHistory } from './place-history';\nimport { UrlService } from './url-service';\nimport { UrlSnapshot } from './url-snapshot';\nimport { Visit } from './visit';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PlaceRouter extends GarbageCollector {\n\n readonly navigationSessionModel = new MutableValueModel<NavigationSession>();\n readonly navigationInProgress: ValueModelChain<boolean>;\n readonly navigationSessionName: ValueModelChain<string>; // used by tests\n\n private readonly navigationContext: NavigationContext.Impl;\n\n private readonly _activeVisits = new MutableListModel<Visit>();\n private readonly routerInteractionAdapter: InteractionServiceRoutingAdapter;\n private sessionFinishedJobs: (() => void)[] = [];\n\n public readonly state: ValueModel<PlaceRouter.State>;\n\n /**\n * An observable model containing the authoriser function. This allows places to react to changes\n * in permissions when any underlying auth logic changes, e.g. a role being removed from a user.\n */\n private readonly _accessGuard = new DelegatingValueModel<PlaceAccessGuard>().withDefault(new PlaceAccessGuard.NoAuth());\n private redirections: PlaceRouter.Redirections;\n\n constructor(private readonly angularRouter: Router,\n private readonly angularLocation: Location,\n private readonly interactionService: InteractionService,\n private readonly urlService: UrlService,\n private readonly placeHistory: PlaceHistory) {\n super();\n\n if (window['Cypress']) {\n window['aup.PlaceRouter'] = this;\n }\n\n this.routerInteractionAdapter = interactionService.registerPlaceRouter(this);\n\n // TODO: Make this an interface and use 'this' instead.\n this.navigationContext = new NavigationContext.Impl(\n this.urlService,\n this.routerInteractionAdapter,\n (urlSnapshot: UrlSnapshot, options: { replaceUrl: boolean }) => {\n return this.navigateByUrl(urlSnapshot, options);\n },\n state => {\n this.transitionTo(state);\n },\n visits => {\n this.routingSessionFinished(visits);\n });\n\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n this.navigationInProgress = chain(this.navigationSessionModel).isNotNil();\n\n const idleStateName = chain(this.interactionService.active).map(active => active ? 'IdleDuringInteraction' : 'Idle');\n this.navigationSessionName = chain(this.navigationSessionModel)\n .pluck('name')\n .otherwise(idleStateName);\n\n DebugContext.tag(this._activeVisits, 'PlaceRouter.activeVisits');\n this.state = chain(this._activeVisits).reduce(visits => new PlaceRouter.State(visits));\n\n // TODO: make setup the callbacks in during module initiation to make this testable.\n angularRouter.events.subscribe(event => {\n // Routing event sequence\n // ======================\n // NavigationStart -> .... -> NavigationCancel --> redirect, go around again in the same session\n // NavigationStart -> .... -> NavigationEnd --> navigation complete, end session.\n // NavigationStart -> .... -> NavigationError --> navigation aborted, end session.\n // =======================\n if (event instanceof NavigationStart) {\n // console.log(`---> NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n if (event.navigationTrigger === 'popstate') {\n this.onPopState(event);\n } else {\n this.onRouterStarted(event);\n }\n // console.log(`<--- NavigationStart[${event.id}]: ${event.url} (${event.navigationTrigger})`);\n }\n if (event instanceof NavigationEnd) {\n // console.log(`---> NavigationEnd[${event.id}]: ${event.url}`);\n this.onRouterEnd(event);\n // console.log(`<--- NavigationEnd[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationError) {\n // console.log(`---> NavigationError[${event.id}]: ${event.url}`);\n this.onRouterError(event);\n // console.log(`<--- NavigationError[${event.id}]: ${event.url}`);\n }\n if (event instanceof NavigationCancel) {\n // console.log(`---> NavigationCancel[${event.id}]: ${event.url}`);\n this.onRouterCancelled(event);\n // console.log(`<--- NavigationCancel[${event.id}]: ${event.url}`);\n }\n });\n\n // The router needs to know about url changes and in some cases they are the only way the router can know if\n // the back button was clicked.\n angularLocation.onUrlChange(url => this.onUrlChanged(url));\n\n }\n\n get accessGuard(): ValueModel<PlaceAccessGuard> {\n return this._accessGuard.readonly;\n }\n\n // @Trace()\n configureAuth(accessGrant: ValueModel<PlaceAccessGuard>, redirections: PlaceRouter.Redirections) {\n // We need a shitty mutable model until setDelegate is clever enough to work with readonly models.\n const hackyMutableModel = new MutableValueModel<PlaceAccessGuard>();\n const binding = new Binding(hackyMutableModel, accessGrant, {\n toRight(leftValue: PlaceAccessGuard) {\n return lang.illegalState('hackyMutableModel is read only');\n },\n toLeft: (rightValue: PlaceAccessGuard) => rightValue\n });\n binding.writeLeft();\n this._accessGuard.setDelegate(hackyMutableModel);\n this.redirections = redirections;\n }\n\n getAuthenticationFailureRedirect(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Visit {\n return this.redirections.onAuthenticationFailure(activatedRoute, state);\n }\n\n get navigationSession() {\n return this.navigationSessionModel.value;\n }\n\n get currentSession() {\n return this.navigationSessionModel.value;\n }\n\n isNavigating(): boolean {\n return this.navigationInProgress.value;\n }\n\n waitUntilIdle(): Promise<this> {\n const { when } = Dsl.disposeWith(this);\n return new Promise<this>(resolve => {\n when(this.navigationInProgress).becomesFalsey(() => resolve(this), {\n initialValue: 'evaluate',\n once: true\n });\n });\n }\n\n // @Trace()\n onPopState(event: NavigationStart) {\n assert.isTruthy(event.navigationTrigger === 'popstate');\n if (this.currentSession) {\n this.currentSession.onPopState(event);\n } else {\n const poppedHistoryUrl = event.url;\n const currentRouterUrl = this.urlService.getCurrentRouterUrl();\n const session = this.interactionService.isActive() ?\n new PopStateDuringInteractionNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl) :\n new PopStateNavigation(this.navigationContext, currentRouterUrl, poppedHistoryUrl);\n this.transitionTo(session);\n }\n }\n\n // @Trace()\n onRouterStarted(event: NavigationStart) {\n assert.isFalsey(event.navigationTrigger === 'popstate');\n const inInteraction = this.interactionService.isActive();\n if (this.currentSession) {\n this.currentSession.onRouterStarted(event);\n } else {\n this.transitionTo(this.createNavigationSession(this.urlService.getCurrentRouterUrl()));\n }\n }\n\n // @Trace()\n onUrlChanged(newUrl: string) {\n // the back button can trigger a url change without a navigation session in progress so we\n // console.log(`---> Url Changed ${newUrl}`);\n if (this.currentSession) {\n this.currentSession.onUrlChange(newUrl);\n } else {\n console.log('FYI: url changed without a navigation session in progress');\n }\n // console.log(`<--- Url Changed`);\n }\n\n // @Trace()\n onRouterCancelled(event: NavigationCancel) {\n this.currentSession.onRouterCancelled(event);\n }\n\n // @Trace()\n onRouterError(event: NavigationError) {\n this.currentSession.onRouterError(event);\n }\n\n // @Trace()\n onRouterEnd(event: NavigationEnd) {\n this.currentSession.onRouterEnd(event);\n }\n\n navigate(visit: Visit, options?: { relativeTo: ActivatedRoute }) {\n return this.doNavigation(visit, async router => {\n const commands = [\n visit.placeDefinition.path,\n ...this.createRouteParameters(visit)\n ];\n await this.angularRouter.navigate(commands, {\n relativeTo: options ? options.relativeTo : null\n });\n });\n }\n\n // @Trace()\n async doNavigation(visit: Visit, runNavigationCommands: (router: Router) => any) {\n if (this.navigationInProgress.value) {\n lang.illegalState('Navigation already in progress');\n }\n const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());\n navigation.storeVisit(visit);\n this.transitionTo(navigation);\n try {\n await runNavigationCommands(this.angularRouter);\n } finally {\n // Check if the router has finished (in the case where no router change required) and we're still in a\n // transient state and finish of the transition.\n if (!this.angularRouter.getCurrentNavigation() && this.currentSession) {\n this.currentSession.onRouterEnd(new NavigationEnd(-1, '', ''));\n }\n }\n }\n\n navigateByUrl(urlSnapshot: UrlSnapshot, navigationExtras?: NavigationExtras): Promise<boolean> {\n console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);\n return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);\n }\n\n get activeVisits(): ListModel<Visit> {\n return this._activeVisits.readonly;\n }\n\n // @Trace()\n async pushVisitChangesToRoute(previous: Visit, next: Visit): Promise<void> {\n this.placeHistory.updateVisit(next);\n\n // FIXME: no route id -> route id duplicates route parameters\n if (next.hasRoutingChangedFrom(previous)) {\n return this.doNavigation(next, router => {\n const urlSnapshot = this.urlService.parseUrl(this.angularRouter.routerState.snapshot.url).updateVisitSegments(next);\n // console.log('### Push Changes to route Redirect', { commands: urlSnapshot.url });\n return this.navigateByUrl(urlSnapshot);\n });\n }\n }\n\n\n private createNavigationSession(currentRouterUrl: string): NavigationSession {\n const inInteraction = this.interactionService.isActive();\n return inInteraction ?\n new NavigatingDuringInteraction(this.navigationContext, currentRouterUrl) :\n new Navigating(this.navigationContext, currentRouterUrl);\n }\n\n // @Trace()\n protected transitionTo(next: NavigationSession) {\n const previous = this.navigationSessionModel.value;\n if (!previous) {\n this.placeHistory.notifyNavigationStarted();\n }\n assert.isTruthy(next !== previous);\n // Logger.get(this).info(`### Router State Transition: ${previous ? previous.toString() : 'null'} -> ${next.toString()}`);\n this.navigationSessionModel.value = next;\n if (!!previous) {\n previous.dispose();\n }\n next.notifyActive();\n }\n\n // @Trace()\n private routingSessionFinished(visits: Visit[]) {\n if (visits && visits.length > 0) {\n assert.isTruthy(this.navigationInProgress.value);\n this.placeHistory.notifyNavigationFinished(visits);\n // We update the active visits before we finish the session so the\n // place outlets can ignore the incoming changes until things are\n // settled. TODO: can we removed the event'ness here and just do a push?\n this._activeVisits.value = visits;\n }\n const session = this.currentSession;\n session.dispose();\n this.navigationSessionModel.value = null;\n // console.log(`### Router Session Finished (was ${session.toString()})`);\n this.sessionFinishedJobs.forEach(job => job());\n this.sessionFinishedJobs = [];\n }\n\n private runAfterRoutingSessionFinishes(func: () => void) {\n assert.isTruthy(this.navigationInProgress);\n this.sessionFinishedJobs.push(func);\n }\n\n\n /**\n * Sync's the current interaction state with the URL. We need to push something in the URL in order\n * to be able to capture the back button on the first page. If we don't then the back click will exit\n * the app directly and we don't get to ask.\n */\n // @Trace()\n syncInteractionContextIdsWithRouter(): Promise<void> {\n if (this.navigationSession) {\n // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);\n const session = this.navigationSession;\n return new Promise<void>((resolve, reject) => {\n this.runAfterRoutingSessionFinishes(() => {\n this.runAfterRoutingSessionFinishes(resolve);\n const syncSession = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(syncSession);\n });\n });\n } else {\n return new Promise<void>(((resolve, reject) => {\n // console.log(`No navigation in progress, starting synchronisation job`);\n this.runAfterRoutingSessionFinishes(resolve);\n const session = new SynchroniseInteractionContextIdsWithRoute(this.navigationContext, this.urlService.getCurrentRouterUrl(), false);\n this.transitionTo(session);\n }));\n\n }\n }\n\n\n private createRouteParameters(visit: Visit) {\n const def = visit.placeDefinition;\n return visit.hasRouteId() ?\n [def.getFormattedRouteId(visit), def.getFormattedRouteParameters(visit)] :\n [def.getFormattedRouteParameters(visit)];\n }\n\n}\n\nexport namespace PlaceRouter {\n\n export interface Redirections {\n onAuthenticationFailure(activatedRoute?: ActivatedRouteSnapshot, state?: RouterStateSnapshot): Visit;\n }\n\n export class State {\n constructor(private readonly activeVisits: Visit[]) {\n }\n\n isPlaceActive(placeDefinition: PlaceDefinition): boolean {\n return !!this.getVisitFor(placeDefinition);\n }\n\n getVisitFor(placeDefinition: PlaceDefinition): Visit {\n return this.activeVisits.find(v => v.placeDefinition === placeDefinition);\n }\n }\n\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"PlaceRouter":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@coolon/pectin","name":"GarbageCollector","line":47,"character":33},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":68,"character":46},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":69,"character":48},{"__symbolic":"reference","module":"../interaction/services/interaction.service","name":"InteractionService","line":70,"character":51},{"__symbolic":"reference","module":"./url-service","name":"UrlService","line":71,"character":43},{"__symbolic":"reference","module":"./place-history","name":"PlaceHistory","line":72,"character":45}]}],"configureAuth":[{"__symbolic":"method"}],"getAuthenticationFailureRedirect":[{"__symbolic":"method"}],"isNavigating":[{"__symbolic":"method"}],"waitUntilIdle":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onRouterStarted":[{"__symbolic":"method"}],"onUrlChanged":[{"__symbolic":"method"}],"onRouterCancelled":[{"__symbolic":"method"}],"onRouterError":[{"__symbolic":"method"}],"onRouterEnd":[{"__symbolic":"method"}],"navigate":[{"__symbolic":"method"}],"doNavigation":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}],"pushVisitChangesToRoute":[{"__symbolic":"method"}],"createNavigationSession":[{"__symbolic":"method"}],"transitionTo":[{"__symbolic":"method"}],"routingSessionFinished":[{"__symbolic":"method"}],"runAfterRoutingSessionFinishes":[{"__symbolic":"method"}],"syncInteractionContextIdsWithRouter":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"Trace","line":350,"character":3}}]}],"createRouteParameters":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"PlaceRouter":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@coolon/pectin","name":"GarbageCollector","line":47,"character":33},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":68,"character":46},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":69,"character":48},{"__symbolic":"reference","module":"../interaction/services/interaction.service","name":"InteractionService","line":70,"character":51},{"__symbolic":"reference","module":"./url-service","name":"UrlService","line":71,"character":43},{"__symbolic":"reference","module":"./place-history","name":"PlaceHistory","line":72,"character":45}]}],"configureAuth":[{"__symbolic":"method"}],"getAuthenticationFailureRedirect":[{"__symbolic":"method"}],"isNavigating":[{"__symbolic":"method"}],"waitUntilIdle":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onRouterStarted":[{"__symbolic":"method"}],"onUrlChanged":[{"__symbolic":"method"}],"onRouterCancelled":[{"__symbolic":"method"}],"onRouterError":[{"__symbolic":"method"}],"onRouterEnd":[{"__symbolic":"method"}],"navigate":[{"__symbolic":"method"}],"doNavigation":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}],"pushVisitChangesToRoute":[{"__symbolic":"method"}],"createNavigationSession":[{"__symbolic":"method"}],"transitionTo":[{"__symbolic":"method"}],"routingSessionFinished":[{"__symbolic":"method"}],"runAfterRoutingSessionFinishes":[{"__symbolic":"method"}],"syncInteractionContextIdsWithRouter":[{"__symbolic":"method"}],"createRouteParameters":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}}}]