@coolon/angular-ui-powerups 1.4.2 → 1.5.0

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 (79) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/assets/styles.scss +32 -0
  3. package/bundles/coolon-angular-ui-powerups.umd.js +176 -47
  4. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
  6. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  7. package/coolon-angular-ui-powerups.d.ts +27 -25
  8. package/coolon-angular-ui-powerups.metadata.json +1 -1
  9. package/esm2015/coolon-angular-ui-powerups.js +25 -23
  10. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  11. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  12. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  13. package/esm2015/lib/components/card-container/card-container.component.js +43 -0
  14. package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
  15. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
  16. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
  17. package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
  18. package/esm2015/lib/components/components.module.js +5 -2
  19. package/esm2015/lib/components/components.module.js.map +1 -1
  20. package/esm2015/lib/components/components.module.metadata.json +1 -1
  21. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  22. package/esm2015/lib/components/index.js +1 -0
  23. package/esm2015/lib/components/index.js.map +1 -1
  24. package/esm2015/lib/components/index.metadata.json +1 -1
  25. package/esm2015/lib/interaction/activity.js +3 -2
  26. package/esm2015/lib/interaction/activity.js.map +1 -1
  27. package/esm2015/lib/interaction/activity.metadata.json +1 -1
  28. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +2 -2
  29. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  30. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  31. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +83 -0
  32. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -0
  33. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -0
  34. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +1 -0
  35. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +1 -0
  36. package/esm2015/lib/place/index.js +1 -0
  37. package/esm2015/lib/place/index.js.map +1 -1
  38. package/esm2015/lib/place/index.metadata.json +1 -1
  39. package/esm2015/lib/place/place.module.js +6 -1
  40. package/esm2015/lib/place/place.module.js.map +1 -1
  41. package/esm2015/lib/place/place.module.metadata.json +1 -1
  42. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  43. package/esm5/coolon-angular-ui-powerups.js +25 -23
  44. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  45. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  46. package/esm5/lib/components/card-container/card-container.component.js +44 -0
  47. package/esm5/lib/components/card-container/card-container.component.js.map +1 -0
  48. package/esm5/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
  49. package/esm5/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
  50. package/esm5/lib/components/components.module.js +5 -2
  51. package/esm5/lib/components/components.module.js.map +1 -1
  52. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  53. package/esm5/lib/components/index.js +1 -0
  54. package/esm5/lib/components/index.js.map +1 -1
  55. package/esm5/lib/interaction/activity.js +3 -2
  56. package/esm5/lib/interaction/activity.js.map +1 -1
  57. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +2 -2
  58. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  59. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +86 -0
  60. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -0
  61. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +1 -0
  62. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +1 -0
  63. package/esm5/lib/place/index.js +1 -0
  64. package/esm5/lib/place/index.js.map +1 -1
  65. package/esm5/lib/place/place.module.js +6 -1
  66. package/esm5/lib/place/place.module.js.map +1 -1
  67. package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
  68. package/fesm2015/coolon-angular-ui-powerups.js +129 -7
  69. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  70. package/fesm5/coolon-angular-ui-powerups.js +133 -7
  71. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  72. package/lib/components/card-container/card-container.component.d.ts +23 -0
  73. package/lib/components/index.d.ts +1 -0
  74. package/lib/interaction/activity.d.ts +3 -2
  75. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +53 -0
  76. package/lib/place/index.d.ts +1 -0
  77. package/package.json +3 -2
  78. package/schematics/place-routes/place-builder.js +1 -1
  79. package/schematics/place-routes/place-builder.js.map +1 -1
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { InjectionToken } from '@angular/core';
3
- import { DelegatingValueModel, GarbageCollector } from '@coolon/pectin';
3
+ import { DelegatingValueModel } from '@coolon/pectin';
4
4
  import { assert } from '@coolon/typescript-utilities';
5
+ import { DisposableComponent } from '../components/disposable-component';
5
6
  export var ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
6
7
  var Activity = /** @class */ (function (_super) {
7
8
  __extends(Activity, _super);
@@ -49,6 +50,6 @@ var Activity = /** @class */ (function (_super) {
49
50
  return !!this._activityContext;
50
51
  };
51
52
  return Activity;
52
- }(GarbageCollector));
53
+ }(DisposableComponent));
53
54
  export { Activity };
54
55
  //# sourceMappingURL=activity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAqB,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD,MAAM,CAAC,IAAM,aAAa,GAAG,IAAI,cAAc,CAAM,yBAAyB,CAAC,CAAC;AAEhF;IAAsD,4BAAgB;IAAtE;QAAA,qEA+CC;QA7CkB,gBAAU,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;;IA6CvF,CAAC;IAvCC,6BAAU,GAAV,UAAW,wBAA4C,EAAE,eAAyC;QAChG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,wBAAwB,CAAC;IACtD,CAAC;IAED,sBAAI,wCAAkB;aAAtB;YACE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;YACtC,OAAO,IAAI,CAAC,mBAAmB,CAAC;QAClC,CAAC;;;OAAA;IAED,uBAAI,GAAJ,UAAK,MAAU;QACb,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAED,yBAAM,GAAN,UAAO,KAAS;QACd,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,WAAW;IACX,kCAAe,GAAf;IACA,CAAC;IAGD,sBAAI,0BAAI;aAAR;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAClC,CAAC;;;OAAA;IAED,4BAAS,GAAT,UAAU,SAA8B;QACtC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;IAED,yBAAM,GAAN;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;IAED,gCAAa,GAAb;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IACH,eAAC;AAAD,CAAC,AA/CD,CAAsD,gBAAgB,GA+CrE","sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, GarbageCollector, Trace, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\nimport { InteractionContext } from './interaction-context';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\nexport abstract class Activity<D, R, E = any> extends GarbageCollector {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _activityContext: Activity.Callbacks<R, E>;\n\n // @Trace()\n private _interactionContext: InteractionContext;\n\n initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Callbacks<R, E>): void {\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n this._interactionContext = nestedInteractionContext;\n }\n\n get interactionContext() {\n assert.isTruthy(this.isInitialised());\n return this._interactionContext;\n }\n\n done(result?: R): void {\n return this._activityContext.onDone(result);\n }\n\n cancel(error?: E): void {\n this._activityContext.onCancel(error);\n }\n\n // @Trace()\n onActivityReady() {\n }\n\n\n get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n busyWhile(busyModel: ValueModel<boolean>) {\n this._busyModel.setDelegate(busyModel);\n }\n\n isBusy() {\n return this._busyModel.value;\n }\n\n isInitialised() {\n return !!this._activityContext;\n }\n}\n\nexport namespace Activity {\n\n export interface Callbacks<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n }\n}\n"]}
1
+ {"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAuC,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAGzE,MAAM,CAAC,IAAM,aAAa,GAAG,IAAI,cAAc,CAAM,yBAAyB,CAAC,CAAC;AAEhF;IAAsD,4BAAmB;IAAzE;QAAA,qEA+CC;QA7CkB,gBAAU,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;;IA6CvF,CAAC;IAvCC,6BAAU,GAAV,UAAW,wBAA4C,EAAE,eAAyC;QAChG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,wBAAwB,CAAC;IACtD,CAAC;IAED,sBAAI,wCAAkB;aAAtB;YACE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;YACtC,OAAO,IAAI,CAAC,mBAAmB,CAAC;QAClC,CAAC;;;OAAA;IAED,uBAAI,GAAJ,UAAK,MAAU;QACb,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAED,yBAAM,GAAN,UAAO,KAAS;QACd,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,WAAW;IACX,kCAAe,GAAf;IACA,CAAC;IAGD,sBAAI,0BAAI;aAAR;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAClC,CAAC;;;OAAA;IAED,4BAAS,GAAT,UAAU,SAA8B;QACtC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;IAED,yBAAM,GAAN;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;IAED,gCAAa,GAAb;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IACH,eAAC;AAAD,CAAC,AA/CD,CAAsD,mBAAmB,GA+CxE","sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, GarbageCollector, Trace, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\nimport { DisposableComponent } from '../components/disposable-component';\nimport { InteractionContext } from './interaction-context';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\nexport abstract class Activity<D, R, E = any> extends DisposableComponent {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _activityContext: Activity.Callbacks<R, E>;\n\n // @Trace()\n private _interactionContext: InteractionContext;\n\n initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Callbacks<R, E>): void {\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n this._interactionContext = nestedInteractionContext;\n }\n\n get interactionContext() {\n assert.isTruthy(this.isInitialised());\n return this._interactionContext;\n }\n\n done(result?: R): void {\n return this._activityContext.onDone(result);\n }\n\n cancel(error?: E): void {\n this._activityContext.onCancel(error);\n }\n\n // @Trace()\n onActivityReady() {\n }\n\n\n get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n busyWhile(busyModel: ValueModel<boolean>) {\n this._busyModel.setDelegate(busyModel);\n }\n\n isBusy() {\n return this._busyModel.value;\n }\n\n isInitialised() {\n return !!this._activityContext;\n }\n}\n\nexport namespace Activity {\n\n export interface Callbacks<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n }\n}\n"]}
@@ -28,8 +28,8 @@ var ListPlaceNavComponent = /** @class */ (function (_super) {
28
28
  ListPlaceNavComponent = __decorate([
29
29
  Component({
30
30
  selector: 'aup-list-place-nav',
31
- template: "<mat-nav-list class=\"app-menu\">\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <mat-icon *ngIf=\"getNav(placeDefinition).icon()\">{{getNav(placeDefinition).icon()}}</mat-icon>\n <span class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n</mat-nav-list>\n",
32
- styles: [":host{display:flex;flex-direction:column;--expanded-width:235px;--nav-item-width:var(--nav-bar-height);width:var(--nav-item-width);transition:width 125ms linear}:host.expanded{width:var(--expanded-width);max-width:var(--expanded-width)}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}.header{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:var(--nav-bar-height);border-bottom:var(--pinstripe-border);cursor:pointer}.header .menu{flex:1}.header button{color:inherit;width:var(--nav-item-width);height:var(--nav-bar-height)}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--nav-item-width);height:var(--nav-bar-height);color:rgba(0,0,0,.6)}.mat-list-item.active{background-color:rgba(0,0,0,.1);color:rgba(0,0,0,.9)}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item mat-icon{margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}a[ng-reflect-router-link=manage-instruments] mat-icon{transform:rotate(90deg)}.app-menu{padding-top:0}"]
31
+ template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <mat-icon *ngIf=\"getNav(placeDefinition).icon()\">{{getNav(placeDefinition).icon()}}</mat-icon>\n <span class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n</mat-nav-list>\n",
32
+ styles: [":host{display:flex;flex-direction:column}"]
33
33
  }),
34
34
  __metadata("design:paramtypes", [PlaceRouter])
35
35
  ], ListPlaceNavComponent);
@@ -1 +1 @@
1
- {"version":3,"file":"list-place-nav.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/components/list-place-nav/list-place-nav.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAO1F;IAA2C,yCAAgC;IAKzE,+BAAY,WAAuB;QAAnC,YACE,kBAAM,WAAW,CAAC,SACnB;QAJM,cAAQ,GAAG,IAAI,CAAC;;IAIvB,CAAC;IAED,0CAAU,GAAV;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,4CAAY,GAAZ;QACE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,0CAAU,GAAV;QACE,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;IACjC,CAAC;;gBAduB,WAAW;;IAFnC;QADC,WAAW,CAAC,gBAAgB,CAAC;;2DACP;IAHZ,qBAAqB;QALjC,SAAS,CAAC;YACT,QAAQ,EAAE,oBAAoB;YAC9B,ufAA8C;;SAE/C,CAAC;yCAMwB,WAAW;OALxB,qBAAqB,CAoBjC;IAAD,4BAAC;CAAA,AApBD,CAA2C,gCAAgC,GAoB1E;SApBY,qBAAqB","sourcesContent":["import { Component, HostBinding } from '@angular/core';\nimport { PlaceRouter } from '../../place-router';\nimport { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.component';\n\n@Component({\n selector: 'aup-list-place-nav',\n templateUrl: './list-place-nav.component.html',\n styleUrls: ['./list-place-nav.component.scss']\n})\nexport class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {\n\n @HostBinding('class.expanded')\n public expanded = true;\n\n constructor(placeRouter:PlaceRouter) {\n super(placeRouter);\n }\n\n expandMenu() {\n this.expanded = true;\n }\n\n collapseMenu() {\n this.expanded = false;\n }\n\n toggleMenu() {\n this.expanded = !this.expanded;\n }\n}\n"]}
1
+ {"version":3,"file":"list-place-nav.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/components/list-place-nav/list-place-nav.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAO1F;IAA2C,yCAAgC;IAKzE,+BAAY,WAAuB;QAAnC,YACE,kBAAM,WAAW,CAAC,SACnB;QAJM,cAAQ,GAAG,IAAI,CAAC;;IAIvB,CAAC;IAED,0CAAU,GAAV;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,4CAAY,GAAZ;QACE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,0CAAU,GAAV;QACE,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;IACjC,CAAC;;gBAduB,WAAW;;IAFnC;QADC,WAAW,CAAC,gBAAgB,CAAC;;2DACP;IAHZ,qBAAqB;QALjC,SAAS,CAAC;YACT,QAAQ,EAAE,oBAAoB;YAC9B,2eAA8C;;SAE/C,CAAC;yCAMwB,WAAW;OALxB,qBAAqB,CAoBjC;IAAD,4BAAC;CAAA,AApBD,CAA2C,gCAAgC,GAoB1E;SApBY,qBAAqB","sourcesContent":["import { Component, HostBinding } from '@angular/core';\nimport { PlaceRouter } from '../../place-router';\nimport { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.component';\n\n@Component({\n selector: 'aup-list-place-nav',\n templateUrl: './list-place-nav.component.html',\n styleUrls: ['./list-place-nav.component.scss']\n})\nexport class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {\n\n @HostBinding('class.expanded')\n public expanded = true;\n\n constructor(placeRouter:PlaceRouter) {\n super(placeRouter);\n }\n\n expandMenu() {\n this.expanded = true;\n }\n\n collapseMenu() {\n this.expanded = false;\n }\n\n toggleMenu() {\n this.expanded = !this.expanded;\n }\n}\n"]}
@@ -0,0 +1,86 @@
1
+ import { __decorate, __extends, __metadata } from "tslib";
2
+ import { Component, ContentChild, HostBinding, TemplateRef } from '@angular/core';
3
+ import { Router } from '@angular/router';
4
+ import { PlaceRouter } from '../../place-router';
5
+ import { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.component';
6
+ /**
7
+ * @example
8
+ * // Usage
9
+ * <aup-vertical-place-navigation [places]="placeConstructorArray"
10
+ * [placeOutlet]="placeOutletComponent">
11
+ * </aup-vertical-place-navigation>
12
+ * <aup-place-outlet #placeOutletComponent></aup-place-outlet>
13
+ *
14
+ * // CSS overrides:
15
+ * --nav-width: 56px
16
+ * --nav-expanded-width: 235px
17
+ * --nav-item-height: var(--nav-width)
18
+ * --nav-background-color: #555;
19
+ * --nav-color: rgba(255, 255, 255, 0.9);
20
+ *
21
+ * // Content Templates:
22
+ * #navEndTemplate
23
+ * <ng-template #navEndTemplate>
24
+ * <a mat-list-item (click)="logout()" matTooltip="Logout">
25
+ * <mat-icon>exit_to_app</mat-icon>
26
+ * <span class="expanded-only">Logout</span>
27
+ * </a>
28
+ * </nav-template>
29
+ *
30
+ * // Place nav item in an i18n.yml
31
+ * places:
32
+ * myPlace:
33
+ * nav(NavItem):
34
+ * title: "Activities"
35
+ * icon: "build"
36
+ * tooltip: "Alerts, confirms and dialogs"
37
+ *
38
+ * // In your place
39
+ * (at)Place({
40
+ * path: 'myPlace',
41
+ * data: {
42
+ * nav: I18n.places.myPlace.nav()
43
+ * }
44
+ * })
45
+ */
46
+ var SidePlaceNavigationComponent = /** @class */ (function (_super) {
47
+ __extends(SidePlaceNavigationComponent, _super);
48
+ function SidePlaceNavigationComponent(router, placeRouter) {
49
+ var _this = _super.call(this, placeRouter) || this;
50
+ _this.router = router;
51
+ _this.expanded = false;
52
+ return _this;
53
+ }
54
+ SidePlaceNavigationComponent.prototype.expandMenu = function () {
55
+ this.expanded = true;
56
+ };
57
+ SidePlaceNavigationComponent.prototype.collapseMenu = function () {
58
+ this.expanded = false;
59
+ };
60
+ SidePlaceNavigationComponent.prototype.toggleMenu = function () {
61
+ this.expanded = !this.expanded;
62
+ };
63
+ SidePlaceNavigationComponent.ctorParameters = function () { return [
64
+ { type: Router },
65
+ { type: PlaceRouter }
66
+ ]; };
67
+ __decorate([
68
+ HostBinding('class.expanded'),
69
+ __metadata("design:type", Object)
70
+ ], SidePlaceNavigationComponent.prototype, "expanded", void 0);
71
+ __decorate([
72
+ ContentChild('navEndTemplate'),
73
+ __metadata("design:type", TemplateRef)
74
+ ], SidePlaceNavigationComponent.prototype, "navEndTemplate", void 0);
75
+ SidePlaceNavigationComponent = __decorate([
76
+ Component({
77
+ selector: 'aup-side-place-navigation',
78
+ template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <mat-icon class=\"collapsed-only\">menu</mat-icon>\n <mat-icon class=\"expanded-only\">arrow_back</mat-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <mat-icon *ngIf=\"getNav(placeDefinition).icon()\">{{getNav(placeDefinition).icon()}}</mat-icon>\n <span\n class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
79
+ styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:var(--nav-width, 56px);--resolved-nav-item-height:var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width:var(--nav-expanded-width, 235px);--resolved-color:var(--nav-color, rgba(255, 255, 255, 0.9));--resolved-background-color:var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item mat-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
80
+ }),
81
+ __metadata("design:paramtypes", [Router, PlaceRouter])
82
+ ], SidePlaceNavigationComponent);
83
+ return SidePlaceNavigationComponent;
84
+ }(AbstractPlaceNavigationComponent));
85
+ export { SidePlaceNavigationComponent };
86
+ //# sourceMappingURL=side-place-navigation.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-place-navigation.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/components/side-place-navigation/side-place-navigation.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAG1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAMH;IAAkD,gDAAgC;IAQhF,sCAAqB,MAAc,EAAE,WAAwB;QAA7D,YACE,kBAAM,WAAW,CAAC,SACnB;QAFoB,YAAM,GAAN,MAAM,CAAQ;QAL5B,cAAQ,GAAG,KAAK,CAAC;;IAOxB,CAAC;IAED,iDAAU,GAAV;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,mDAAY,GAAZ;QACE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,iDAAU,GAAV;QACE,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;IACjC,CAAC;;gBAd4B,MAAM;gBAAe,WAAW;;IAL7D;QADC,WAAW,CAAC,gBAAgB,CAAC;;kEACN;IAGxB;QADC,YAAY,CAAC,gBAAgB,CAAC;kCACf,WAAW;wEAAM;IANtB,4BAA4B;QALxC,SAAS,CAAC;YACT,QAAQ,EAAE,2BAA2B;YACrC,w1BAAqD;;SAEtD,CAAC;yCAS6B,MAAM,EAAe,WAAW;OARlD,4BAA4B,CAuBxC;IAAD,mCAAC;CAAA,AAvBD,CAAkD,gCAAgC,GAuBjF;SAvBY,4BAA4B","sourcesContent":["import { Component, ContentChild, HostBinding, TemplateRef } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { PlaceRouter } from '../../place-router';\nimport { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.component';\n\n\n/**\n * @example\n * // Usage\n * <aup-vertical-place-navigation [places]=\"placeConstructorArray\"\n * [placeOutlet]=\"placeOutletComponent\">\n * </aup-vertical-place-navigation>\n * <aup-place-outlet #placeOutletComponent></aup-place-outlet>\n *\n * // CSS overrides:\n * --nav-width: 56px\n * --nav-expanded-width: 235px\n * --nav-item-height: var(--nav-width)\n * --nav-background-color: #555;\n * --nav-color: rgba(255, 255, 255, 0.9);\n *\n * // Content Templates:\n * #navEndTemplate\n * <ng-template #navEndTemplate>\n * <a mat-list-item (click)=\"logout()\" matTooltip=\"Logout\">\n * <mat-icon>exit_to_app</mat-icon>\n * <span class=\"expanded-only\">Logout</span>\n * </a>\n * </nav-template>\n *\n * // Place nav item in an i18n.yml\n * places:\n * myPlace:\n * nav(NavItem):\n * title: \"Activities\"\n * icon: \"build\"\n * tooltip: \"Alerts, confirms and dialogs\"\n *\n * // In your place\n * (at)Place({\n * path: 'myPlace',\n * data: {\n * nav: I18n.places.myPlace.nav()\n * }\n * })\n */\n@Component({\n selector: 'aup-side-place-navigation',\n templateUrl: './side-place-navigation.component.html',\n styleUrls: ['./side-place-navigation.component.scss']\n})\nexport class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {\n\n @HostBinding('class.expanded')\n public expanded = false;\n\n @ContentChild('navEndTemplate')\n navEndTemplate: TemplateRef<any>;\n\n constructor(readonly router: Router, placeRouter: PlaceRouter) {\n super(placeRouter);\n }\n\n expandMenu() {\n this.expanded = true;\n }\n\n collapseMenu() {\n this.expanded = false;\n }\n\n toggleMenu() {\n this.expanded = !this.expanded;\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-place-navigation.component.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-place-navigation.component.scss.shim.ngstyle.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -17,6 +17,7 @@ export * from "./components/empty-state/empty-state.component";
17
17
  export * from "./components/list-place-nav/list-place-nav.component";
18
18
  export * from "./components/place-outlet/place-outlet.component";
19
19
  export * from "./components/place-outlet/route-animations";
20
+ export * from "./components/side-place-navigation/side-place-navigation.component";
20
21
  export * from "./components/tabbed-place-navigation/tabbed-place-navigation.component";
21
22
  export * from "./guards/consolidated-param-map";
22
23
  export * from "./guards/noop-auth-guard.service";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wEAAwE,CAAC;AACvF,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,wFAAwF,CAAC;AACvG,cAAc,+FAA+F,CAAC;AAC9G,cAAc,kGAAkG,CAAC;AACjH,cAAc,iEAAiE,CAAC;AAChF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uFAAuF,CAAC;AACtG,cAAc,kFAAkF,CAAC;AACjG,cAAc,mBAAmB,CAAC;AAElC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAGnD,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./nav-item\";\nexport * from \"./place-component\";\nexport * from \"./place-config\";\nexport * from \"./place-definition\";\nexport * from \"./place-history\";\nexport * from \"./place-router\";\nexport * from \"./place.decorator\";\nexport * from \"./place.module\";\nexport * from \"./url-service\";\nexport * from \"./url-snapshot\";\nexport * from \"./visit\";\nexport * from \"./components/abstract-place-navigation.component\";\nexport * from \"./components/busy-overlay/busy-overlay.component\";\nexport * from \"./components/empty-state/empty-state.component\";\nexport * from \"./components/list-place-nav/list-place-nav.component\";\nexport * from \"./components/place-outlet/place-outlet.component\";\nexport * from \"./components/place-outlet/route-animations\";\nexport * from \"./components/tabbed-place-navigation/tabbed-place-navigation.component\";\nexport * from \"./guards/consolidated-param-map\";\nexport * from \"./guards/noop-auth-guard.service\";\nexport * from \"./guards/place.guard\";\nexport * from \"./navigation/place-component-deactivation-handler\";\nexport * from \"./navigation/session/abstract-pop-state-navigation\";\nexport * from \"./navigation/session/navigating\";\nexport * from \"./navigation/session/navigation-context\";\nexport * from \"./navigation/session/navigation-session\";\nexport * from \"./navigation/session/pop-state-navigation\";\nexport * from \"./navigation/session/event-cleanup/event-clean-up-session\";\nexport * from \"./navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled\";\nexport * from \"./navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes\";\nexport * from \"./navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes\";\nexport * from \"./navigation/session/interactions/navigating-during-interaction\";\nexport * from \"./navigation/session/interactions/pop-state-during-interaction-navigation\";\nexport * from \"./navigation/session/interactions/remove-last-interaction-from-url-navigation-session\";\nexport * from \"./navigation/session/interactions/synchronise-interaction-context-ids-with-route\";\nexport * from \"./route/formatter\";\nexport * from \"./route/json-types\";\nexport * from \"./route/parameter-decorators\";\nexport * from \"./route/parameter-definition.class\";\nexport * from \"./route/parameter-sanitiser\";\nexport * from \"./route/parameter-snapshot\";\nexport * from \"./route/visit-sanitiser\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oEAAoE,CAAC;AACnF,cAAc,wEAAwE,CAAC;AACvF,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,wFAAwF,CAAC;AACvG,cAAc,+FAA+F,CAAC;AAC9G,cAAc,kGAAkG,CAAC;AACjH,cAAc,iEAAiE,CAAC;AAChF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uFAAuF,CAAC;AACtG,cAAc,kFAAkF,CAAC;AACjG,cAAc,mBAAmB,CAAC;AAElC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAGnD,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./nav-item\";\nexport * from \"./place-component\";\nexport * from \"./place-config\";\nexport * from \"./place-definition\";\nexport * from \"./place-history\";\nexport * from \"./place-router\";\nexport * from \"./place.decorator\";\nexport * from \"./place.module\";\nexport * from \"./url-service\";\nexport * from \"./url-snapshot\";\nexport * from \"./visit\";\nexport * from \"./components/abstract-place-navigation.component\";\nexport * from \"./components/busy-overlay/busy-overlay.component\";\nexport * from \"./components/empty-state/empty-state.component\";\nexport * from \"./components/list-place-nav/list-place-nav.component\";\nexport * from \"./components/place-outlet/place-outlet.component\";\nexport * from \"./components/place-outlet/route-animations\";\nexport * from \"./components/side-place-navigation/side-place-navigation.component\";\nexport * from \"./components/tabbed-place-navigation/tabbed-place-navigation.component\";\nexport * from \"./guards/consolidated-param-map\";\nexport * from \"./guards/noop-auth-guard.service\";\nexport * from \"./guards/place.guard\";\nexport * from \"./navigation/place-component-deactivation-handler\";\nexport * from \"./navigation/session/abstract-pop-state-navigation\";\nexport * from \"./navigation/session/navigating\";\nexport * from \"./navigation/session/navigation-context\";\nexport * from \"./navigation/session/navigation-session\";\nexport * from \"./navigation/session/pop-state-navigation\";\nexport * from \"./navigation/session/event-cleanup/event-clean-up-session\";\nexport * from \"./navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled\";\nexport * from \"./navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes\";\nexport * from \"./navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes\";\nexport * from \"./navigation/session/interactions/navigating-during-interaction\";\nexport * from \"./navigation/session/interactions/pop-state-during-interaction-navigation\";\nexport * from \"./navigation/session/interactions/remove-last-interaction-from-url-navigation-session\";\nexport * from \"./navigation/session/interactions/synchronise-interaction-context-ids-with-route\";\nexport * from \"./route/formatter\";\nexport * from \"./route/json-types\";\nexport * from \"./route/parameter-decorators\";\nexport * from \"./route/parameter-definition.class\";\nexport * from \"./route/parameter-sanitiser\";\nexport * from \"./route/parameter-snapshot\";\nexport * from \"./route/visit-sanitiser\";\n"]}
@@ -1,6 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { NgModule } from '@angular/core';
4
+ import { FlexModule } from '@angular/flex-layout';
4
5
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
5
6
  import { MatIconModule } from '@angular/material/icon';
6
7
  import { MatListModule } from '@angular/material/list';
@@ -15,6 +16,7 @@ import { EmptyStateComponent } from './components/empty-state/empty-state.compon
15
16
  import { ListPlaceNavComponent } from './components/list-place-nav/list-place-nav.component';
16
17
  import { PlaceOutletComponent } from './components/place-outlet/place-outlet.component';
17
18
  import { TabbedPlaceNavigationComponent } from './components/tabbed-place-navigation/tabbed-place-navigation.component';
19
+ import { SidePlaceNavigationComponent } from './components/side-place-navigation/side-place-navigation.component';
18
20
  var PlaceModule = /** @class */ (function () {
19
21
  function PlaceModule() {
20
22
  }
@@ -29,7 +31,8 @@ var PlaceModule = /** @class */ (function () {
29
31
  MatListModule,
30
32
  MatTooltipModule,
31
33
  MatIconModule,
32
- DirectivesModule
34
+ DirectivesModule,
35
+ FlexModule
33
36
  ],
34
37
  declarations: [
35
38
  EmptyStateComponent,
@@ -37,6 +40,7 @@ var PlaceModule = /** @class */ (function () {
37
40
  PlaceOutletComponent,
38
41
  TabbedPlaceNavigationComponent,
39
42
  ListPlaceNavComponent,
43
+ SidePlaceNavigationComponent,
40
44
  AbstractPlaceNavigationComponent
41
45
  ],
42
46
  entryComponents: [BusyOverlayComponent],
@@ -46,6 +50,7 @@ var PlaceModule = /** @class */ (function () {
46
50
  EmptyStateComponent,
47
51
  TabbedPlaceNavigationComponent,
48
52
  ListPlaceNavComponent,
53
+ SidePlaceNavigationComponent,
49
54
  AbstractPlaceNavigationComponent
50
55
  ],
51
56
  providers: [
@@ -1 +1 @@
1
- {"version":3,"file":"place.module.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wEAAwE,CAAC;AAoCxH;IAAA;IAEA,CAAC;IAFY,WAAW;QAjCvB,QAAQ,CAAC;YACR,OAAO,EAAE;gBACP,YAAY;gBACZ,uBAAuB;gBACvB,wBAAwB;gBACxB,YAAY;gBACZ,aAAa;gBACb,aAAa;gBACb,gBAAgB;gBAChB,aAAa;gBACb,gBAAgB;aACjB;YACD,YAAY,EAAE;gBACZ,mBAAmB;gBACnB,oBAAoB;gBACpB,oBAAoB;gBACpB,8BAA8B;gBAC9B,qBAAqB;gBACrB,gCAAgC;aACjC;YACD,eAAe,EAAE,CAAC,oBAAoB,CAAC;YACvC,OAAO,EAAE;gBACP,oBAAoB;gBACpB,oBAAoB;gBACpB,mBAAmB;gBACnB,8BAA8B;gBAC9B,qBAAqB;gBACrB,gCAAgC;aACjC;YACD,SAAS,EAAE;YACT,uEAAuE;aACxE;SACF,CAAC;OACW,WAAW,CAEvB;IAAD,kBAAC;CAAA,AAFD,IAEC;SAFY,WAAW","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { RouterModule } from '@angular/router';\nimport { DirectivesModule } from '../directives/directives.module';\nimport { AbstractPlaceNavigationComponent } from './components/abstract-place-navigation.component';\nimport { BusyOverlayComponent } from './components/busy-overlay/busy-overlay.component';\nimport { EmptyStateComponent } from './components/empty-state/empty-state.component';\nimport { ListPlaceNavComponent } from './components/list-place-nav/list-place-nav.component';\nimport { PlaceOutletComponent } from './components/place-outlet/place-outlet.component';\nimport { TabbedPlaceNavigationComponent } from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport { UrlService } from './url-service';\n\n@NgModule({\n imports: [\n CommonModule,\n BrowserAnimationsModule,\n MatProgressSpinnerModule,\n RouterModule,\n MatTabsModule,\n MatListModule,\n MatTooltipModule,\n MatIconModule,\n DirectivesModule\n ],\n declarations: [\n EmptyStateComponent,\n BusyOverlayComponent,\n PlaceOutletComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n AbstractPlaceNavigationComponent\n ],\n entryComponents: [BusyOverlayComponent],\n exports: [\n BusyOverlayComponent,\n PlaceOutletComponent,\n EmptyStateComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n AbstractPlaceNavigationComponent\n ],\n providers: [\n // {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: \"2000ms\"}}\n ]\n})\nexport class PlaceModule {\n\n}\n"]}
1
+ {"version":3,"file":"place.module.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wEAAwE,CAAC;AACxH,OAAO,EAAE,4BAA4B,EAAE,MAAM,oEAAoE,CAAC;AAuClH;IAAA;IAEA,CAAC;IAFY,WAAW;QApCvB,QAAQ,CAAC;YACR,OAAO,EAAE;gBACP,YAAY;gBACZ,uBAAuB;gBACvB,wBAAwB;gBACxB,YAAY;gBACZ,aAAa;gBACb,aAAa;gBACb,gBAAgB;gBAChB,aAAa;gBACb,gBAAgB;gBAChB,UAAU;aACX;YACD,YAAY,EAAE;gBACZ,mBAAmB;gBACnB,oBAAoB;gBACpB,oBAAoB;gBACpB,8BAA8B;gBAC9B,qBAAqB;gBACrB,4BAA4B;gBAC5B,gCAAgC;aACjC;YACD,eAAe,EAAE,CAAC,oBAAoB,CAAC;YACvC,OAAO,EAAE;gBACP,oBAAoB;gBACpB,oBAAoB;gBACpB,mBAAmB;gBACnB,8BAA8B;gBAC9B,qBAAqB;gBACrB,4BAA4B;gBAC5B,gCAAgC;aACjC;YACD,SAAS,EAAE;YACT,uEAAuE;aACxE;SACF,CAAC;OACW,WAAW,CAEvB;IAAD,kBAAC;CAAA,AAFD,IAEC;SAFY,WAAW","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexModule } from '@angular/flex-layout';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { RouterModule } from '@angular/router';\nimport { DirectivesModule } from '../directives/directives.module';\nimport { AbstractPlaceNavigationComponent } from './components/abstract-place-navigation.component';\nimport { BusyOverlayComponent } from './components/busy-overlay/busy-overlay.component';\nimport { EmptyStateComponent } from './components/empty-state/empty-state.component';\nimport { ListPlaceNavComponent } from './components/list-place-nav/list-place-nav.component';\nimport { PlaceOutletComponent } from './components/place-outlet/place-outlet.component';\nimport { TabbedPlaceNavigationComponent } from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport { SidePlaceNavigationComponent } from './components/side-place-navigation/side-place-navigation.component';\nimport { UrlService } from './url-service';\n\n@NgModule({\n imports: [\n CommonModule,\n BrowserAnimationsModule,\n MatProgressSpinnerModule,\n RouterModule,\n MatTabsModule,\n MatListModule,\n MatTooltipModule,\n MatIconModule,\n DirectivesModule,\n FlexModule\n ],\n declarations: [\n EmptyStateComponent,\n BusyOverlayComponent,\n PlaceOutletComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n SidePlaceNavigationComponent,\n AbstractPlaceNavigationComponent\n ],\n entryComponents: [BusyOverlayComponent],\n exports: [\n BusyOverlayComponent,\n PlaceOutletComponent,\n EmptyStateComponent,\n TabbedPlaceNavigationComponent,\n ListPlaceNavComponent,\n SidePlaceNavigationComponent,\n AbstractPlaceNavigationComponent\n ],\n providers: [\n // {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: \"2000ms\"}}\n ]\n})\nexport class PlaceModule {\n\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"place.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from './components/empty-state/empty-state.component';\nimport * as i16 from './components/busy-overlay/busy-overlay.component';\nimport * as i17 from './components/place-outlet/place-outlet.component';\nimport * as i18 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i19 from './components/list-place-nav/list-place-nav.component';\nimport * as i20 from './components/abstract-place-navigation.component';\nimport * as i21 from '@angular/platform-browser/animations';\nimport * as i22 from '../directives/directives.module';\nexport const PlaceModuleNgFactory:i0.NgModuleFactory<i1.PlaceModule> = (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.MatProgressSpinner = (<any>(null as any));\nvar _decl0_13:i4.MatSpinner = (<any>(null as any));\nvar _decl0_14:i5.RouterOutlet = (<any>(null as any));\nvar _decl0_15:i5.RouterLink = (<any>(null as any));\nvar _decl0_16:i5.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_17:i5.RouterLinkActive = (<any>(null as any));\nvar _decl0_18:i5.ɵangular_packages_router_router_l = (<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.MatLine = (<any>(null as any));\nvar _decl0_26:i7.MatPseudoCheckbox = (<any>(null as any));\nvar _decl0_27:i8.MatDivider = (<any>(null as any));\nvar _decl0_28:i9.MatList = (<any>(null as any));\nvar _decl0_29:i9.MatNavList = (<any>(null as any));\nvar _decl0_30:i9.MatListItem = (<any>(null as any));\nvar _decl0_31:i9.MatListAvatarCssMatStyler = (<any>(null as any));\nvar _decl0_32:i9.MatListIconCssMatStyler = (<any>(null as any));\nvar _decl0_33:i9.MatListSubheaderCssMatStyler = (<any>(null as any));\nvar _decl0_34:i9.MatSelectionList = (<any>(null as any));\nvar _decl0_35:i9.MatListOption = (<any>(null as any));\nvar _decl0_36:i10.CdkScrollable = (<any>(null as any));\nvar _decl0_37:i11.MatTooltip = (<any>(null as any));\nvar _decl0_38:i11.TooltipComponent = (<any>(null as any));\nvar _decl0_39:i12.MatIcon = (<any>(null as any));\nvar _decl0_40:i13.CommandDirective<any> = (<any>(null as any));\nvar _decl0_41:i14.FocusBindingDirective = (<any>(null as any));\nvar _decl0_42:i15.EmptyStateComponent = (<any>(null as any));\nvar _decl0_43:i16.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_44:i17.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_45:i18.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_46:i19.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_47:i20.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_48:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_49:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_50:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_51:i2.JsonPipe = (<any>(null as any));\nvar _decl0_52:i2.SlicePipe = (<any>(null as any));\nvar _decl0_53:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_54:i2.PercentPipe = (<any>(null as any));\nvar _decl0_55:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_56:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_57:i2.DatePipe = (<any>(null as any));\nvar _decl0_58:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_59:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_60:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_61:i2.CommonModule = (<any>(null as any));\nvar _decl0_62:i21.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_63:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_64:i5.RouterModule = (<any>(null as any));\nvar _decl0_65:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_66:i9.MatListModule = (<any>(null as any));\nvar _decl0_67:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_68:i12.MatIconModule = (<any>(null as any));\nvar _decl0_69:i22.DirectivesModule = (<any>(null as any));\nvar _decl0_70:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_71:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_EmptyStateComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_EmptyStateComponent_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_2_1():void {\n if (_decl0_43.busyModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = 52;\n currVal_0;\n const currVal_1:any = 'indeterminate';\n currVal_1;\n const currVal_2:any = _decl0_12._noopAnimations;\n currVal_2;\n const currVal_3:any = _decl0_12.diameter;\n currVal_3;\n const currVal_4:any = _decl0_12.diameter;\n currVal_4;\n const currVal_5:any = ((_decl0_12.mode === 'determinate')? 0: null);\n currVal_5;\n const currVal_6:any = ((_decl0_12.mode === 'determinate')? 100: null);\n currVal_6;\n const currVal_7:any = ((_decl0_12.mode === 'determinate')? _decl0_12.value: null);\n currVal_7;\n const currVal_8:any = _decl0_12.mode;\n currVal_8;\n }\n}\nfunction _View_BusyOverlayComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_43.busyModel.value;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PlaceOutletComponent_3_1():void {\n if (_decl0_44.animateModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_44.getAnimationOrder(),params:{duration:_decl0_44.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_44.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_44.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_44.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_44.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_2():void {\n if (!_decl0_44.animateModel.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_44.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_44.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_44.animateModel.value;\n currVal_0;\n const currVal_1:any = !_decl0_44.animateModel.value;\n currVal_1;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_2():void {\n if (_decl0_45.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_39.inline;\n currVal_0;\n const currVal_1:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_1;\n const currVal_2:any = _decl0_45.getNav(_any).icon();\n currVal_2;\n }\n}\nfunction _View_TabbedPlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_45.isActive(_any);\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_45.getNav(_any).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_45.commandFactory.create(_any);\n currVal_7;\n const currVal_8:any = _decl0_45.getNav(_any).icon();\n currVal_8;\n const currVal_9:any = _decl0_45.getNav(_any).title();\n currVal_9;\n const pd_10:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_45.placeDefinitions.value;\n currVal_5;\n}\nfunction _View_ListPlaceNavComponent_Host_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_46.expanded;\n currVal_0;\n}\nfunction _View_ListPlaceNavComponent_5_2():void {\n if (_decl0_46.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_39.inline;\n currVal_0;\n const currVal_1:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_1;\n const currVal_2:any = _decl0_46.getNav(_any).icon();\n currVal_2;\n }\n}\nfunction _View_ListPlaceNavComponent_5_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_46.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_46.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_46.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_46.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_46.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_46.placeDefinitions.value;\n currVal_0;\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_6_0():void {\n var _any:any = (null as any);\n}\n"]}
1
+ {"version":3,"file":"place.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '@angular/flex-layout/flex';\nimport * as i16 from './components/empty-state/empty-state.component';\nimport * as i17 from './components/busy-overlay/busy-overlay.component';\nimport * as i18 from './components/place-outlet/place-outlet.component';\nimport * as i19 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i20 from './components/list-place-nav/list-place-nav.component';\nimport * as i21 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i22 from './components/abstract-place-navigation.component';\nimport * as i23 from '@angular/platform-browser/animations';\nimport * as i24 from '../directives/directives.module';\nexport const PlaceModuleNgFactory:i0.NgModuleFactory<i1.PlaceModule> = (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.MatProgressSpinner = (<any>(null as any));\nvar _decl0_13:i4.MatSpinner = (<any>(null as any));\nvar _decl0_14:i5.RouterOutlet = (<any>(null as any));\nvar _decl0_15:i5.RouterLink = (<any>(null as any));\nvar _decl0_16:i5.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_17:i5.RouterLinkActive = (<any>(null as any));\nvar _decl0_18:i5.ɵangular_packages_router_router_l = (<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.MatLine = (<any>(null as any));\nvar _decl0_26:i7.MatPseudoCheckbox = (<any>(null as any));\nvar _decl0_27:i8.MatDivider = (<any>(null as any));\nvar _decl0_28:i9.MatList = (<any>(null as any));\nvar _decl0_29:i9.MatNavList = (<any>(null as any));\nvar _decl0_30:i9.MatListItem = (<any>(null as any));\nvar _decl0_31:i9.MatListAvatarCssMatStyler = (<any>(null as any));\nvar _decl0_32:i9.MatListIconCssMatStyler = (<any>(null as any));\nvar _decl0_33:i9.MatListSubheaderCssMatStyler = (<any>(null as any));\nvar _decl0_34:i9.MatSelectionList = (<any>(null as any));\nvar _decl0_35:i9.MatListOption = (<any>(null as any));\nvar _decl0_36:i10.CdkScrollable = (<any>(null as any));\nvar _decl0_37:i11.MatTooltip = (<any>(null as any));\nvar _decl0_38:i11.TooltipComponent = (<any>(null as any));\nvar _decl0_39:i12.MatIcon = (<any>(null as any));\nvar _decl0_40:i13.CommandDirective<any> = (<any>(null as any));\nvar _decl0_41:i14.FocusBindingDirective = (<any>(null as any));\nvar _decl0_42:i15.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_43:i15.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_44:i15.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_45:i15.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_46:i15.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_47:i15.FlexFillDirective = (<any>(null as any));\nvar _decl0_48:i15.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_49:i15.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_50:i16.EmptyStateComponent = (<any>(null as any));\nvar _decl0_51:i17.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_52:i18.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_53:i19.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_54:i20.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_55:i21.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_56:i22.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_57:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_58:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_59:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_60:i2.JsonPipe = (<any>(null as any));\nvar _decl0_61:i2.SlicePipe = (<any>(null as any));\nvar _decl0_62:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_63:i2.PercentPipe = (<any>(null as any));\nvar _decl0_64:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_65:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_66:i2.DatePipe = (<any>(null as any));\nvar _decl0_67:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_68:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_69:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_70:i2.CommonModule = (<any>(null as any));\nvar _decl0_71:i23.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_72:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_73:i5.RouterModule = (<any>(null as any));\nvar _decl0_74:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_75:i9.MatListModule = (<any>(null as any));\nvar _decl0_76:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_77:i12.MatIconModule = (<any>(null as any));\nvar _decl0_78:i24.DirectivesModule = (<any>(null as any));\nvar _decl0_79:i15.FlexModule = (<any>(null as any));\nvar _decl0_80:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_81:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_EmptyStateComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_EmptyStateComponent_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_2_1():void {\n if (_decl0_51.busyModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = 52;\n currVal_0;\n const currVal_1:any = 'indeterminate';\n currVal_1;\n const currVal_2:any = _decl0_12._noopAnimations;\n currVal_2;\n const currVal_3:any = _decl0_12.diameter;\n currVal_3;\n const currVal_4:any = _decl0_12.diameter;\n currVal_4;\n const currVal_5:any = ((_decl0_12.mode === 'determinate')? 0: null);\n currVal_5;\n const currVal_6:any = ((_decl0_12.mode === 'determinate')? 100: null);\n currVal_6;\n const currVal_7:any = ((_decl0_12.mode === 'determinate')? _decl0_12.value: null);\n currVal_7;\n const currVal_8:any = _decl0_12.mode;\n currVal_8;\n }\n}\nfunction _View_BusyOverlayComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_51.busyModel.value;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PlaceOutletComponent_3_1():void {\n if (_decl0_52.animateModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_52.getAnimationOrder(),params:{duration:_decl0_52.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_52.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_52.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_52.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_52.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_2():void {\n if (!_decl0_52.animateModel.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_52.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_52.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_52.animateModel.value;\n currVal_0;\n const currVal_1:any = !_decl0_52.animateModel.value;\n currVal_1;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_2():void {\n if (_decl0_53.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_39.inline;\n currVal_0;\n const currVal_1:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_1;\n const currVal_2:any = _decl0_53.getNav(_any).icon();\n currVal_2;\n }\n}\nfunction _View_TabbedPlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_53.isActive(_any);\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_53.getNav(_any).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_53.commandFactory.create(_any);\n currVal_7;\n const currVal_8:any = _decl0_53.getNav(_any).icon();\n currVal_8;\n const currVal_9:any = _decl0_53.getNav(_any).title();\n currVal_9;\n const pd_10:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_53.placeDefinitions.value;\n currVal_5;\n}\nfunction _View_ListPlaceNavComponent_Host_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_54.expanded;\n currVal_0;\n}\nfunction _View_ListPlaceNavComponent_5_2():void {\n if (_decl0_54.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_39.inline;\n currVal_0;\n const currVal_1:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_1;\n const currVal_2:any = _decl0_54.getNav(_any).icon();\n currVal_2;\n }\n}\nfunction _View_ListPlaceNavComponent_5_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_54.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_54.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_54.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_54.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_54.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_54.placeDefinitions.value;\n currVal_1;\n}\nfunction _View_SidePlaceNavigationComponent_Host_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_55.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_6_2():void {\n if (_decl0_55.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_39.inline;\n currVal_0;\n const currVal_1:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_1;\n const currVal_2:any = _decl0_55.getNav(_any).icon();\n currVal_2;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_55.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_55.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_55.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_55.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_55.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_6_3():void {\n if (_decl0_55.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_55.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_39.inline;\n currVal_3;\n const currVal_4:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_4;\n const currVal_5:any = _decl0_39.inline;\n currVal_5;\n const currVal_6:any = (((_decl0_39.color !== 'primary') && (_decl0_39.color !== 'accent')) && (_decl0_39.color !== 'warn'));\n currVal_6;\n const currVal_7:any = _decl0_55.placeDefinitions.value;\n currVal_7;\n const currVal_8:any = 1;\n currVal_8;\n const currVal_9:any = _decl0_55.navEndTemplate;\n currVal_9;\n const pd_10:any = ((<any>_decl0_55.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_7_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_7_0():void {\n var _any:any = (null as any);\n}\n"]}
@@ -16,6 +16,7 @@ import { MatDialogModule, MatDialog, MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS
16
16
  import { RouterModule, UrlSegment, Router, UrlSerializer, NavigationStart, NavigationEnd, NavigationError, NavigationCancel, RouterOutlet } from '@angular/router';
17
17
  import { assert as assert$1, lang as lang$1, Opts, Klass } from '@coolon/typescript-utilities';
18
18
  import ___default, { isEqual, isNil } from 'lodash';
19
+ import { FlexModule } from '@angular/flex-layout';
19
20
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
20
21
  import { MatListModule } from '@angular/material/list';
21
22
  import { MatTooltipModule } from '@angular/material/tooltip';
@@ -940,6 +941,45 @@ VerticalFocusContainerComponent = __decorate([
940
941
  __metadata("design:paramtypes", [FocusManager])
941
942
  ], VerticalFocusContainerComponent);
942
943
 
944
+ /**
945
+ * @example
946
+ * // CSS Vars
947
+ * --resolved-card-gap: var(--card-gap, 16px);
948
+ * --resolved-card-width: var(--card-width, 300px);
949
+ * --resolved-card-height: var(--card-height, auto);
950
+ * --resolved-card-background: var(--card-background, #fcfcfb);
951
+ *
952
+ * // Content Templates:
953
+ * #addCardTemplate
954
+ * <ng-template #addCardTemplate>
955
+ * This is a new card template, it will the the size of the other cards.
956
+ * </nav-template>
957
+ *
958
+ */
959
+ let CardContainerComponent = class CardContainerComponent {
960
+ constructor() {
961
+ }
962
+ ngOnInit() {
963
+ }
964
+ };
965
+ __decorate([
966
+ Input(),
967
+ TrackExternal(),
968
+ __metadata("design:type", Command)
969
+ ], CardContainerComponent.prototype, "addCardCommand", void 0);
970
+ __decorate([
971
+ ContentChild("addCardTemplate"),
972
+ __metadata("design:type", TemplateRef)
973
+ ], CardContainerComponent.prototype, "addCardTemplate", void 0);
974
+ CardContainerComponent = __decorate([
975
+ Component({
976
+ selector: 'aup-card-container',
977
+ template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <mat-icon>add</mat-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
978
+ styles: [":root{--aup-default-padding:var(--default-padding, 18px)}.dialog-interaction-context{max-width:95vw!important;max-height:95vh!important}.dialog-interaction-context mat-dialog-container{max-width:95vw!important;max-height:95vh!important;padding:0}[no-tab-header]>mat-tab-header{display:none}[full-height-tabs] .mat-tab-body-wrapper,mat-tab-group.full-height-tabs .mat-tab-body-wrapper{flex:1}[full-height-tabs] .mat-tab-body-wrapper .mat-tab-body-content,[full-height-tabs] .mat-tab-body-wrapper mat-tab-body,mat-tab-group.full-height-tabs .mat-tab-body-wrapper .mat-tab-body-content,mat-tab-group.full-height-tabs .mat-tab-body-wrapper mat-tab-body{display:flex;flex-direction:column;justify-content:stretch}.router-outlet-container>*{position:absolute;top:0;left:0;bottom:0;right:0}:host{--resolved-card-gap:var(--card-gap, 16px);--resolved-card-width:var(--card-width, 300px);--resolved-card-height:var(--card-height, auto);--resolved-card-background:var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(0,var(--resolved-card-height)));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap));max-width:100%}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:center;justify-content:center;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:rgba(255,255,255,.8);transition:280ms cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:280ms cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container: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)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
979
+ }),
980
+ __metadata("design:paramtypes", [])
981
+ ], CardContainerComponent);
982
+
943
983
  let ComponentsModule = class ComponentsModule {
944
984
  };
945
985
  ComponentsModule = __decorate([
@@ -958,7 +998,8 @@ ComponentsModule = __decorate([
958
998
  SwitchCaseDefaultDirective,
959
999
  FocusContainerComponent,
960
1000
  VerticalFocusContainerComponent,
961
- FocusableComponent
1001
+ FocusableComponent,
1002
+ CardContainerComponent
962
1003
  ],
963
1004
  imports: [
964
1005
  CommonModule,
@@ -986,7 +1027,8 @@ ComponentsModule = __decorate([
986
1027
  SwitchCaseDefaultDirective,
987
1028
  FocusContainerComponent,
988
1029
  VerticalFocusContainerComponent,
989
- FocusableComponent
1030
+ FocusableComponent,
1031
+ CardContainerComponent
990
1032
  ],
991
1033
  providers: [
992
1034
  FocusBindingFactory
@@ -995,7 +1037,7 @@ ComponentsModule = __decorate([
995
1037
  ], ComponentsModule);
996
1038
 
997
1039
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
998
- class Activity extends GarbageCollector {
1040
+ class Activity extends DisposableComponent {
999
1041
  constructor() {
1000
1042
  super(...arguments);
1001
1043
  this._busyModel = new DelegatingValueModel().withDefault(false);
@@ -3670,8 +3712,8 @@ __decorate([
3670
3712
  ListPlaceNavComponent = __decorate([
3671
3713
  Component({
3672
3714
  selector: 'aup-list-place-nav',
3673
- template: "<mat-nav-list class=\"app-menu\">\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <mat-icon *ngIf=\"getNav(placeDefinition).icon()\">{{getNav(placeDefinition).icon()}}</mat-icon>\n <span class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n</mat-nav-list>\n",
3674
- styles: [":host{display:flex;flex-direction:column;--expanded-width:235px;--nav-item-width:var(--nav-bar-height);width:var(--nav-item-width);transition:width 125ms linear}:host.expanded{width:var(--expanded-width);max-width:var(--expanded-width)}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}.header{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:var(--nav-bar-height);border-bottom:var(--pinstripe-border);cursor:pointer}.header .menu{flex:1}.header button{color:inherit;width:var(--nav-item-width);height:var(--nav-bar-height)}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--nav-item-width);height:var(--nav-bar-height);color:rgba(0,0,0,.6)}.mat-list-item.active{background-color:rgba(0,0,0,.1);color:rgba(0,0,0,.9)}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item mat-icon{margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}a[ng-reflect-router-link=manage-instruments] mat-icon{transform:rotate(90deg)}.app-menu{padding-top:0}"]
3715
+ template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <mat-icon *ngIf=\"getNav(placeDefinition).icon()\">{{getNav(placeDefinition).icon()}}</mat-icon>\n <span class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n</mat-nav-list>\n",
3716
+ styles: [":host{display:flex;flex-direction:column}"]
3675
3717
  }),
3676
3718
  __metadata("design:paramtypes", [PlaceRouter])
3677
3719
  ], ListPlaceNavComponent);
@@ -3693,6 +3735,83 @@ TabbedPlaceNavigationComponent = __decorate([
3693
3735
  __metadata("design:paramtypes", [PlaceRouter])
3694
3736
  ], TabbedPlaceNavigationComponent);
3695
3737
 
3738
+ /**
3739
+ * @example
3740
+ * // Usage
3741
+ * <aup-vertical-place-navigation [places]="placeConstructorArray"
3742
+ * [placeOutlet]="placeOutletComponent">
3743
+ * </aup-vertical-place-navigation>
3744
+ * <aup-place-outlet #placeOutletComponent></aup-place-outlet>
3745
+ *
3746
+ * // CSS overrides:
3747
+ * --nav-width: 56px
3748
+ * --nav-expanded-width: 235px
3749
+ * --nav-item-height: var(--nav-width)
3750
+ * --nav-background-color: #555;
3751
+ * --nav-color: rgba(255, 255, 255, 0.9);
3752
+ *
3753
+ * // Content Templates:
3754
+ * #navEndTemplate
3755
+ * <ng-template #navEndTemplate>
3756
+ * <a mat-list-item (click)="logout()" matTooltip="Logout">
3757
+ * <mat-icon>exit_to_app</mat-icon>
3758
+ * <span class="expanded-only">Logout</span>
3759
+ * </a>
3760
+ * </nav-template>
3761
+ *
3762
+ * // Place nav item in an i18n.yml
3763
+ * places:
3764
+ * myPlace:
3765
+ * nav(NavItem):
3766
+ * title: "Activities"
3767
+ * icon: "build"
3768
+ * tooltip: "Alerts, confirms and dialogs"
3769
+ *
3770
+ * // In your place
3771
+ * (at)Place({
3772
+ * path: 'myPlace',
3773
+ * data: {
3774
+ * nav: I18n.places.myPlace.nav()
3775
+ * }
3776
+ * })
3777
+ */
3778
+ let SidePlaceNavigationComponent = class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
3779
+ constructor(router, placeRouter) {
3780
+ super(placeRouter);
3781
+ this.router = router;
3782
+ this.expanded = false;
3783
+ }
3784
+ expandMenu() {
3785
+ this.expanded = true;
3786
+ }
3787
+ collapseMenu() {
3788
+ this.expanded = false;
3789
+ }
3790
+ toggleMenu() {
3791
+ this.expanded = !this.expanded;
3792
+ }
3793
+ };
3794
+ SidePlaceNavigationComponent.ctorParameters = () => [
3795
+ { type: Router },
3796
+ { type: PlaceRouter }
3797
+ ];
3798
+ __decorate([
3799
+ HostBinding('class.expanded'),
3800
+ __metadata("design:type", Object)
3801
+ ], SidePlaceNavigationComponent.prototype, "expanded", void 0);
3802
+ __decorate([
3803
+ ContentChild('navEndTemplate'),
3804
+ __metadata("design:type", TemplateRef)
3805
+ ], SidePlaceNavigationComponent.prototype, "navEndTemplate", void 0);
3806
+ SidePlaceNavigationComponent = __decorate([
3807
+ Component({
3808
+ selector: 'aup-side-place-navigation',
3809
+ template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <mat-icon class=\"collapsed-only\">menu</mat-icon>\n <mat-icon class=\"expanded-only\">arrow_back</mat-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <mat-icon *ngIf=\"getNav(placeDefinition).icon()\">{{getNav(placeDefinition).icon()}}</mat-icon>\n <span\n class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
3810
+ styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:var(--nav-width, 56px);--resolved-nav-item-height:var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width:var(--nav-expanded-width, 235px);--resolved-color:var(--nav-color, rgba(255, 255, 255, 0.9));--resolved-background-color:var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item mat-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
3811
+ }),
3812
+ __metadata("design:paramtypes", [Router, PlaceRouter])
3813
+ ], SidePlaceNavigationComponent);
3814
+
3696
3815
  let PlaceModule = class PlaceModule {
3697
3816
  };
3698
3817
  PlaceModule = __decorate([
@@ -3706,7 +3825,8 @@ PlaceModule = __decorate([
3706
3825
  MatListModule,
3707
3826
  MatTooltipModule,
3708
3827
  MatIconModule,
3709
- DirectivesModule
3828
+ DirectivesModule,
3829
+ FlexModule
3710
3830
  ],
3711
3831
  declarations: [
3712
3832
  EmptyStateComponent,
@@ -3714,6 +3834,7 @@ PlaceModule = __decorate([
3714
3834
  PlaceOutletComponent,
3715
3835
  TabbedPlaceNavigationComponent,
3716
3836
  ListPlaceNavComponent,
3837
+ SidePlaceNavigationComponent,
3717
3838
  AbstractPlaceNavigationComponent
3718
3839
  ],
3719
3840
  entryComponents: [BusyOverlayComponent],
@@ -3723,6 +3844,7 @@ PlaceModule = __decorate([
3723
3844
  EmptyStateComponent,
3724
3845
  TabbedPlaceNavigationComponent,
3725
3846
  ListPlaceNavComponent,
3847
+ SidePlaceNavigationComponent,
3726
3848
  AbstractPlaceNavigationComponent
3727
3849
  ],
3728
3850
  providers: [
@@ -4289,5 +4411,5 @@ function VisitParameterList(options) {
4289
4411
  * Generated bundle index. Do not edit.
4290
4412
  */
4291
4413
 
4292
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CheckboxInputComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, InPlaceInteractionContextComponent, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectInputComponent, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, LEFT_RIGHT_PLACE_ANIMATION as ɵba, AUP_PLACE_CONFIG as ɵbb, PlaceRouter as ɵbd, InteractionService as ɵbe, ModalInteractionContextFactory as ɵbf, UrlService as ɵbg, PlaceHistory as ɵbh, TabbedPlaceNavigationComponent as ɵbi, AbstractPlaceNavigationComponent as ɵbj, ListPlaceNavComponent as ɵbk, InteractionModule as ɵbl, ActivityContainerComponent as ɵbm, AbstractInteractionContext as ɵbn, ActivityOutletComponent as ɵbo, ConfirmationDialogComponent as ɵbp, ACTIVITY_DATA as ɵbq, Activity as ɵbr, ConfirmThenDialogComponent as ɵbt, AlertDialogComponent as ɵbu, InPlaceInteractionContextComponent as ɵbw, FocusBindingDirective as ɵc, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, NumberInputComponent as ɵg, AbstractInputComponent as ɵh, StringInputComponent as ɵi, PasswordInputComponent as ɵj, SelectInputComponent as ɵk, CheckboxInputComponent as ɵl, ScrollContainerComponent as ɵm, NoopComponent as ɵn, SwitchCaseOption as ɵo, SwitchCaseWhenDirective as ɵp, SwitchCaseDefaultDirective as ɵq, SwitchCaseComponent as ɵr, FocusContainerComponent as ɵs, VerticalFocusContainerComponent as ɵt, FocusableComponent as ɵu, PlaceModule as ɵv, EmptyStateComponent as ɵw, BusyOverlayComponent as ɵx, PlaceOutletComponent as ɵy, leftRightPlaceAnimation as ɵz };
4414
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CardContainerComponent, CheckboxInputComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, InPlaceInteractionContextComponent, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectInputComponent, SidePlaceNavigationComponent, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, leftRightPlaceAnimation as ɵba, LEFT_RIGHT_PLACE_ANIMATION as ɵbb, AUP_PLACE_CONFIG as ɵbc, PlaceRouter as ɵbe, InteractionService as ɵbf, ModalInteractionContextFactory as ɵbg, UrlService as ɵbh, PlaceHistory as ɵbi, TabbedPlaceNavigationComponent as ɵbj, AbstractPlaceNavigationComponent as ɵbk, ListPlaceNavComponent as ɵbl, SidePlaceNavigationComponent as ɵbm, InteractionModule as ɵbn, ActivityContainerComponent as ɵbo, AbstractInteractionContext as ɵbp, ActivityOutletComponent as ɵbq, ConfirmationDialogComponent as ɵbr, ACTIVITY_DATA as ɵbs, Activity as ɵbt, ConfirmThenDialogComponent as ɵbv, AlertDialogComponent as ɵbw, InPlaceInteractionContextComponent as ɵby, FocusBindingDirective as ɵc, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, NumberInputComponent as ɵg, AbstractInputComponent as ɵh, StringInputComponent as ɵi, PasswordInputComponent as ɵj, SelectInputComponent as ɵk, CheckboxInputComponent as ɵl, ScrollContainerComponent as ɵm, NoopComponent as ɵn, SwitchCaseOption as ɵo, SwitchCaseWhenDirective as ɵp, SwitchCaseDefaultDirective as ɵq, SwitchCaseComponent as ɵr, FocusContainerComponent as ɵs, VerticalFocusContainerComponent as ɵt, FocusableComponent as ɵu, CardContainerComponent as ɵv, PlaceModule as ɵw, EmptyStateComponent as ɵx, BusyOverlayComponent as ɵy, PlaceOutletComponent as ɵz };
4293
4415
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map