@coolon/angular-ui-powerups 2.0.0-alpha.18 → 2.0.0-alpha.2

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 (162) hide show
  1. package/CHANGELOG.md +0 -112
  2. package/assets/form.scss +0 -33
  3. package/bundles/coolon-angular-ui-powerups.umd.js +323 -525
  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 +54 -55
  8. package/coolon-angular-ui-powerups.metadata.json +1 -1
  9. package/esm2015/coolon-angular-ui-powerups.js +52 -53
  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 +1 -1
  14. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  15. package/esm2015/lib/components/components.module.js +12 -29
  16. package/esm2015/lib/components/components.module.js.map +1 -1
  17. package/esm2015/lib/components/components.module.metadata.json +1 -1
  18. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  19. package/esm2015/lib/components/forms/abstract-input.component.js +6 -26
  20. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  21. package/esm2015/lib/components/forms/abstract-input.component.metadata.json +1 -1
  22. package/esm2015/lib/components/forms/abstract-list-input.component.js +6 -45
  23. package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
  24. package/esm2015/lib/components/forms/abstract-list-input.component.metadata.json +1 -1
  25. package/esm2015/lib/components/forms/abstract-value-input.component.js +7 -40
  26. package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
  27. package/esm2015/lib/components/forms/abstract-value-input.component.metadata.json +1 -1
  28. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +7 -4
  29. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
  30. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  31. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +13 -8
  32. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
  33. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
  34. package/esm2015/lib/components/forms/number-input/number-input.component.js +7 -4
  35. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  36. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  37. package/esm2015/lib/components/forms/password-input/password-input.component.js +8 -5
  38. package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
  39. package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
  40. package/esm2015/lib/components/forms/select-input/select-input.component.js +5 -8
  41. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  42. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  43. package/esm2015/lib/components/forms/string-input/string-input.component.js +8 -4
  44. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  45. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  46. package/esm2015/lib/components/forms/text-input/text-input.component.js +7 -4
  47. package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -1
  48. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  49. package/esm2015/lib/components/index.js +1 -2
  50. package/esm2015/lib/components/index.js.map +1 -1
  51. package/esm2015/lib/components/index.metadata.json +1 -1
  52. package/esm2015/lib/components/table/cell-editors.js.map +1 -1
  53. package/esm2015/lib/components/table/{cell-portal-ref.js → cell-protal-ref.js} +3 -7
  54. package/esm2015/lib/components/table/cell-protal-ref.js.map +1 -0
  55. package/esm2015/lib/components/table/{cell-portal-ref.metadata.json → cell-protal-ref.metadata.json} +1 -1
  56. package/esm2015/lib/components/table/column-model.js +11 -37
  57. package/esm2015/lib/components/table/column-model.js.map +1 -1
  58. package/esm2015/lib/components/table/column-model.metadata.json +1 -1
  59. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  60. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  61. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  62. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  63. package/esm2015/lib/components/table/table-model.js +5 -8
  64. package/esm2015/lib/components/table/table-model.js.map +1 -1
  65. package/esm2015/lib/components/table/table-model.metadata.json +1 -1
  66. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +7 -2
  67. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  68. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  69. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  70. package/esm2015/lib/place/place-component.js +1 -1
  71. package/esm2015/lib/place/place-component.js.map +1 -1
  72. package/esm2015/lib/place/place-router.js +8 -2
  73. package/esm2015/lib/place/place-router.js.map +1 -1
  74. package/esm2015/lib/place/place-router.metadata.json +1 -1
  75. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  76. package/esm2015/lib/place/route/parameter-decorators.js +3 -2
  77. package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
  78. package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
  79. package/esm5/coolon-angular-ui-powerups.js +52 -53
  80. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  81. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  82. package/esm5/lib/components/card-container/card-container.component.js +1 -1
  83. package/esm5/lib/components/components.module.js +12 -29
  84. package/esm5/lib/components/components.module.js.map +1 -1
  85. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  86. package/esm5/lib/components/forms/abstract-input.component.js +6 -34
  87. package/esm5/lib/components/forms/abstract-input.component.js.map +1 -1
  88. package/esm5/lib/components/forms/abstract-list-input.component.js +6 -50
  89. package/esm5/lib/components/forms/abstract-list-input.component.js.map +1 -1
  90. package/esm5/lib/components/forms/abstract-value-input.component.js +7 -45
  91. package/esm5/lib/components/forms/abstract-value-input.component.js.map +1 -1
  92. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +7 -4
  93. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
  94. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js +13 -8
  95. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
  96. package/esm5/lib/components/forms/number-input/number-input.component.js +7 -4
  97. package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
  98. package/esm5/lib/components/forms/password-input/password-input.component.js +8 -5
  99. package/esm5/lib/components/forms/password-input/password-input.component.js.map +1 -1
  100. package/esm5/lib/components/forms/select-input/select-input.component.js +5 -8
  101. package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
  102. package/esm5/lib/components/forms/string-input/string-input.component.js +8 -4
  103. package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
  104. package/esm5/lib/components/forms/text-input/text-input.component.js +7 -4
  105. package/esm5/lib/components/forms/text-input/text-input.component.js.map +1 -1
  106. package/esm5/lib/components/index.js +1 -2
  107. package/esm5/lib/components/index.js.map +1 -1
  108. package/esm5/lib/components/table/cell-editors.js.map +1 -1
  109. package/esm5/lib/components/table/{cell-portal-ref.js → cell-protal-ref.js} +3 -7
  110. package/esm5/lib/components/table/cell-protal-ref.js.map +1 -0
  111. package/esm5/lib/components/table/column-model.js +11 -37
  112. package/esm5/lib/components/table/column-model.js.map +1 -1
  113. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  114. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  115. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  116. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  117. package/esm5/lib/components/table/table-model.js +5 -8
  118. package/esm5/lib/components/table/table-model.js.map +1 -1
  119. package/esm5/lib/interaction/components/activity-container/activity-container.component.js +7 -2
  120. package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  121. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  122. package/esm5/lib/place/place-component.js +1 -1
  123. package/esm5/lib/place/place-component.js.map +1 -1
  124. package/esm5/lib/place/place-router.js +8 -2
  125. package/esm5/lib/place/place-router.js.map +1 -1
  126. package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
  127. package/esm5/lib/place/route/parameter-decorators.js +3 -2
  128. package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
  129. package/fesm2015/coolon-angular-ui-powerups.js +241 -421
  130. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  131. package/fesm5/coolon-angular-ui-powerups.js +256 -457
  132. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  133. package/lib/components/forms/abstract-input.component.d.ts +3 -12
  134. package/lib/components/forms/abstract-list-input.component.d.ts +3 -9
  135. package/lib/components/forms/abstract-value-input.component.d.ts +3 -8
  136. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +2 -0
  137. package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +4 -8
  138. package/lib/components/forms/number-input/number-input.component.d.ts +2 -0
  139. package/lib/components/forms/password-input/password-input.component.d.ts +2 -0
  140. package/lib/components/forms/select-input/select-input.component.d.ts +2 -8
  141. package/lib/components/forms/string-input/string-input.component.d.ts +2 -1
  142. package/lib/components/forms/text-input/text-input.component.d.ts +2 -0
  143. package/lib/components/index.d.ts +1 -2
  144. package/lib/components/table/cell-editors.d.ts +3 -3
  145. package/lib/components/table/{cell-portal-ref.d.ts → cell-protal-ref.d.ts} +4 -4
  146. package/lib/components/table/column-model.d.ts +7 -15
  147. package/lib/components/table/table-cell-renderer/table-cell-renderer.component.d.ts +1 -1
  148. package/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.d.ts +1 -1
  149. package/lib/components/table/table-model.d.ts +3 -14
  150. package/package.json +4 -4
  151. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -70
  152. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
  153. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +0 -1
  154. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
  155. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
  156. package/esm2015/lib/components/table/cell-portal-ref.js.map +0 -1
  157. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -73
  158. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
  159. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
  160. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
  161. package/esm5/lib/components/table/cell-portal-ref.js.map +0 -1
  162. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +0 -25
@@ -9,19 +9,18 @@ import { MatTabsModule, MatTabGroup, MAT_TABS_CONFIG } from '@angular/material/t
9
9
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
10
10
  import { ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
11
11
  import { CdkScrollableModule } from '@angular/cdk/scrolling';
12
- import { MatAutocompleteModule } from '@angular/material/autocomplete';
13
12
  import { MatButtonModule } from '@angular/material/button';
14
13
  import { MatCheckboxModule } from '@angular/material/checkbox';
15
14
  import { MatIconModule } from '@angular/material/icon';
16
15
  import { MatTableModule } from '@angular/material/table';
17
- import { MatTooltipModule } from '@angular/material/tooltip';
18
- import { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
19
- import { fas } from '@fortawesome/free-solid-svg-icons';
20
- import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command, FocusManager, EventListenerList, Form, MutableListModel, Guard, Binding, DebugContext, MutableValueModel, ListModel, StoreInListModel, ValueModel, StoreInValueModel, MultipleSelectionModel, DirtyTrackingForm, DelegatingCommand, Deferred, Functions } from '@coolon/pectin';
21
- import ___default, { isEqual, isNil } from 'lodash';
16
+ import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command, FocusManager, Form, ListModel, StoreInListModel, ValueModel, StoreInValueModel, MutableValueModel, MultipleSelectionModel, MutableListModel, DirtyTrackingForm, DelegatingCommand, Deferred, Trace, Guard, DebugContext, Binding, Functions } from '@coolon/pectin';
22
17
  import { assert as assert$1, Opts, lang as lang$1, Klass } from '@coolon/typescript-utilities';
23
18
  import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
19
+ import ___default, { isEqual, isNil } from 'lodash';
24
20
  import produce from 'immer';
21
+ import { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
22
+ import { fas } from '@fortawesome/free-solid-svg-icons';
23
+ import { MatTooltipModule } from '@angular/material/tooltip';
25
24
  import { FlexModule, GridModule } from '@angular/flex-layout';
26
25
  import { MatDialogModule, MatDialog, MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
27
26
  import { RouterModule, UrlSegment, Router, UrlSerializer, NavigationStart, NavigationEnd, NavigationError, NavigationCancel, RouterOutlet } from '@angular/router';
@@ -407,7 +406,7 @@ var CardContainerComponent = /** @class */ (function (_super) {
407
406
  Component({
408
407
  selector: 'aup-card-container',
409
408
  template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-icon icon=\"mat:add\"></aup-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",
410
- styles: [":root{--aup-default-padding:var(--default-padding, 18px);--aup-default-background:white}.router-outlet-container>*{position:absolute;top:0;left:0;bottom:0;right: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}.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}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}.aup-input-component.dense mat-form-field .mat-form-field-infix{border-top:none}.aup-input-component.dense mat-form-field .mat-form-field-flex{padding-top:0}.aup-input-component.dense mat-form-field .mat-form-field-wrapper{padding-bottom:0;border-bottom:0}.aup-input-component.dense mat-form-field .mat-form-field-underline{bottom:0}.aup-input-component.dense mat-form-field.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label-wrapper{display:none}.aup-input-component.dense mat-form-field.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(0)}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap, 24px);--resolved-row-hover-background-color:var(--row-hover-background-color, rgba(0, 0, 0, 0.05))}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{padding-left:var(--default-column-gap);flex:1}:host{--resolved-card-gap:var(--card-gap, 16px);--resolved-card-width:var(--card-width, 300px);--resolved-card-height:var(--card-height, auto);--resolved-card-min-height:var(--card-min-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);min-height:var(--resolved-card-min-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}"]
409
+ styles: [":root{--aup-default-padding:var(--default-padding, 18px);--aup-default-background:white}.router-outlet-container>*{position:absolute;top:0;left:0;bottom:0;right: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}.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}.aup-popup-interaction-panel{background:var(--aup-default-background,#fff);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1)}.aup-input-activity{padding:calc(var(--aup-default-padding)/2)}.aup-input-component{display:block}.aup-input-component input,.aup-input-component mat-form-field{width:100%}.aup-input-component input mat-hint.faux-error,.aup-input-component mat-form-field mat-hint.faux-error{color:#f44336}aup-table-cell-renderer>.aup-input-component .mat-form-field-flex{padding-top:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-infix{width:0}aup-table-cell-renderer>.aup-input-component .mat-form-field-label-wrapper{display:none}aup-table{--default-column-gap:var(--column-gap, 24px);--resolved-row-hover-background-color:var(--row-hover-background-color, rgba(0, 0, 0, 0.05))}aup-table .mat-table td.mat-cell:first-of-type,aup-table .mat-table td.mat-footer-cell:first-of-type,aup-table .mat-table th.mat-header-cell:first-of-type{padding-left:0}aup-table .mat-table tr.enable-hover:hover{background-color:var(--resolved-row-hover-background-color)}aup-table .mat-table td.enable-cursor{cursor:pointer}aup-table aup-table-cell-renderer,aup-table aup-table-header-cell-renderer{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%;min-height:47px}aup-table aup-table-cell-renderer.first-column,aup-table aup-table-cell-renderer:not(.first-column),aup-table aup-table-header-cell-renderer.first-column,aup-table aup-table-header-cell-renderer:not(.first-column){padding-left:var(--default-column-gap)}aup-table aup-table-cell-renderer.fillCell{justify-content:stretch;padding-left:0!important}aup-table aup-table-cell-renderer.padChild>:first-child{padding-left:var(--default-column-gap);flex:1}:host{--resolved-card-gap:var(--card-gap, 16px);--resolved-card-width:var(--card-width, 300px);--resolved-card-height:var(--card-height, auto);--resolved-card-min-height:var(--card-min-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);min-height:var(--resolved-card-min-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}"]
411
410
  }),
412
411
  __metadata("design:paramtypes", [])
413
412
  ], CardContainerComponent);
@@ -522,8 +521,6 @@ var AbstractInputComponent = /** @class */ (function (_super) {
522
521
  __extends(AbstractInputComponent, _super);
523
522
  function AbstractInputComponent() {
524
523
  var _this = _super.call(this) || this;
525
- _this.onValueEditedListeners = new EventListenerList();
526
- _this.dense = false;
527
524
  // TODO: fix this.
528
525
  // tslint:disable-next-line:no-output-native
529
526
  _this.focus = new EventEmitter();
@@ -573,7 +570,7 @@ var AbstractInputComponent = /** @class */ (function (_super) {
573
570
  };
574
571
  Object.defineProperty(AbstractInputComponent.prototype, "enabled", {
575
572
  get: function () {
576
- return this.formValueModel.enabled;
573
+ return this.inputModel.enabled;
577
574
  },
578
575
  enumerable: true,
579
576
  configurable: true
@@ -583,7 +580,7 @@ var AbstractInputComponent = /** @class */ (function (_super) {
583
580
  };
584
581
  Object.defineProperty(AbstractInputComponent.prototype, "errorList", {
585
582
  get: function () {
586
- return this.formValueModel.errorList;
583
+ return this.inputModel.errorList;
587
584
  },
588
585
  enumerable: true,
589
586
  configurable: true
@@ -597,40 +594,19 @@ var AbstractInputComponent = /** @class */ (function (_super) {
597
594
  });
598
595
  Object.defineProperty(AbstractInputComponent.prototype, "focusContext", {
599
596
  get: function () {
600
- return this.formValueModel.focusContext;
597
+ return this.inputModel.focusContext;
601
598
  },
602
599
  enumerable: true,
603
600
  configurable: true
604
601
  });
605
- Object.defineProperty(AbstractInputComponent.prototype, "floatLabel", {
606
- get: function () {
607
- return this.dense ? 'never' : this.userFloatLabel;
608
- },
609
- enumerable: true,
610
- configurable: true
611
- });
612
- Object.defineProperty(AbstractInputComponent.prototype, "showHint", {
613
- get: function () {
614
- return this.dense ? false : !!this.hint;
615
- },
616
- enumerable: true,
617
- configurable: true
618
- });
619
- /**
620
- * Invokes the callback when this components value is changed by a user edit.
621
- * @param callback
622
- */
623
- AbstractInputComponent.prototype.onValueEdited = function (callback) {
624
- return this.onValueEditedListeners.add(callback);
625
- };
626
602
  __decorate([
627
603
  Input(),
628
604
  __metadata("design:type", String)
629
605
  ], AbstractInputComponent.prototype, "label", void 0);
630
606
  __decorate([
631
- Input('floatLabel'),
607
+ Input(),
632
608
  __metadata("design:type", String)
633
- ], AbstractInputComponent.prototype, "userFloatLabel", void 0);
609
+ ], AbstractInputComponent.prototype, "floatLabel", void 0);
634
610
  __decorate([
635
611
  Input(),
636
612
  __metadata("design:type", String)
@@ -639,11 +615,6 @@ var AbstractInputComponent = /** @class */ (function (_super) {
639
615
  Input(),
640
616
  __metadata("design:type", String)
641
617
  ], AbstractInputComponent.prototype, "placeholder", void 0);
642
- __decorate([
643
- HostBinding('class.dense'),
644
- Input(),
645
- __metadata("design:type", Object)
646
- ], AbstractInputComponent.prototype, "dense", void 0);
647
618
  __decorate([
648
619
  Input('command.focus'),
649
620
  __metadata("design:type", Command)
@@ -712,7 +683,7 @@ var AbstractInputComponent = /** @class */ (function (_super) {
712
683
  var AbstractListInputComponent = /** @class */ (function (_super) {
713
684
  __extends(AbstractListInputComponent, _super);
714
685
  function AbstractListInputComponent() {
715
- var _this = _super.call(this) || this;
686
+ var _this = _super !== null && _super.apply(this, arguments) || this;
716
687
  /**
717
688
  * A backing model for all our @Input() valueModel properties which should be defined as follows.
718
689
  *
@@ -724,55 +695,11 @@ var AbstractListInputComponent = /** @class */ (function (_super) {
724
695
  * gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
725
696
  */
726
697
  // We have to register it as a disposable so it ditches any listeners when we're disposed.
727
- _this.formValueModel = _this.registerDisposable(new Form.DelegatingListModel());
728
- _this.componentListModel = new MutableListModel();
729
- _this.setValueIsInProgress = new Guard();
730
- _this.valueChange = new EventEmitter();
731
- var _a = Dsl.disposeWith(_this), when = _a.when, valueOf = _a.valueOf, chain = _a.chain;
732
- var binding = new Binding.Identity(_this.formValueModel, _this.componentListModel);
733
- var inExternalChange = valueOf.any(_this.setValueIsInProgress, chain(binding.direction).equals(Binding.Direction.RIGHT)).areTruthy();
734
- when(_this.componentListModel).changes(function (is, was) {
735
- _this.valueChange.emit(is);
736
- _this.onValueEditedListeners.fire(function (l) { return l(is, was); });
737
- }, {
738
- initialValue: 'ignore',
739
- // we never fire events during an external changes to the value. This allows
740
- // the component to behave when used in the conventional angular
741
- // fashion, i.e. [(value)]="..."
742
- unless: inExternalChange
743
- });
744
- DebugContext.tag(_this.formValueModel, _this.constructor.name + ".formValueModel");
698
+ _this.inputModel = _this.registerDisposable(new Form.DelegatingListModel());
745
699
  return _this;
746
700
  }
747
- Object.defineProperty(AbstractListInputComponent.prototype, "value", {
748
- // We add support for simple direct display of values by allowing components to be used
749
- // by `component.value = ...` This use of the component without a value model in tables
750
- // and the like.
751
- set: function (value) {
752
- var _this = this;
753
- this.setValueIsInProgress.whileTrue(function () {
754
- _this.componentListModel.value = value;
755
- });
756
- },
757
- enumerable: true,
758
- configurable: true
759
- });
760
- __decorate([
761
- Input(), TrackExternal({ delegateTo: 'formValueModel' }),
762
- __metadata("design:type", Object)
763
- ], AbstractListInputComponent.prototype, "listModel", void 0);
764
- __decorate([
765
- Input(),
766
- __metadata("design:type", Array),
767
- __metadata("design:paramtypes", [Array])
768
- ], AbstractListInputComponent.prototype, "value", null);
769
- __decorate([
770
- Output(),
771
- __metadata("design:type", Object)
772
- ], AbstractListInputComponent.prototype, "valueChange", void 0);
773
701
  AbstractListInputComponent = __decorate([
774
- Component({ template: '' }),
775
- __metadata("design:paramtypes", [])
702
+ Component({ template: '' })
776
703
  ], AbstractListInputComponent);
777
704
  return AbstractListInputComponent;
778
705
  }(AbstractInputComponent));
@@ -792,52 +719,14 @@ var AbstractValueInputComponent = /** @class */ (function (_super) {
792
719
  * gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
793
720
  */
794
721
  // We have to register it as a disposable so it ditches any listeners when we're disposed.
795
- _this.formValueModel = _this.registerDisposable(new Form.DelegatingValueModel());
796
- _this.setValueInProgress = new Guard();
797
- _this.componentValueModel = new MutableValueModel();
798
- _this.valueChange = new EventEmitter();
799
- var _a = Dsl.disposeWith(_this), when = _a.when, chain = _a.chain, valueOf = _a.valueOf;
800
- var binding = new Binding.Identity(_this.formValueModel, _this.componentValueModel);
801
- var inExternalChange = valueOf.any(_this.setValueInProgress, chain(binding.direction).equals(Binding.Direction.RIGHT)).areTruthy();
802
- when(_this.componentValueModel).changes(function (is, was) {
803
- _this.valueChange.emit(is);
804
- _this.onValueEditedListeners.fire(function (l) { return l(is, was); });
805
- }, {
806
- initialValue: 'ignore',
807
- // we never fire events during an external set value operation. This allows
808
- // the component to behave when used in the conventional angular
809
- // fashion, i.e. [(value)]="..."
810
- unless: inExternalChange
722
+ _this.inputModel = _this.registerDisposable(new Form.DelegatingValueModel());
723
+ _this.inputModel.onTransactionStart(function (tx) {
724
+ tx.onRootTransactionFinalised(function () {
725
+ console.log({ changed: tx.hasChanged() });
726
+ });
811
727
  });
812
- DebugContext.tag(_this.formValueModel, _this.constructor.name + ".formValueModel");
813
728
  return _this;
814
729
  }
815
- Object.defineProperty(AbstractValueInputComponent.prototype, "value", {
816
- // We add support for simple direct display of values by allowing components to be used
817
- // by `component.value = ...` This use of the component without a value model in tables
818
- // and the like.
819
- set: function (value) {
820
- var _this = this;
821
- this.setValueInProgress.whileTrue(function () {
822
- _this.componentValueModel.value = value;
823
- });
824
- },
825
- enumerable: true,
826
- configurable: true
827
- });
828
- __decorate([
829
- Input(), TrackExternal({ delegateTo: 'formValueModel' }),
830
- __metadata("design:type", Object)
831
- ], AbstractValueInputComponent.prototype, "valueModel", void 0);
832
- __decorate([
833
- Input(),
834
- __metadata("design:type", Object),
835
- __metadata("design:paramtypes", [Object])
836
- ], AbstractValueInputComponent.prototype, "value", null);
837
- __decorate([
838
- Output(),
839
- __metadata("design:type", Object)
840
- ], AbstractValueInputComponent.prototype, "valueChange", void 0);
841
730
  AbstractValueInputComponent = __decorate([
842
731
  Component({ template: '' }),
843
732
  __metadata("design:paramtypes", [])
@@ -845,85 +734,20 @@ var AbstractValueInputComponent = /** @class */ (function (_super) {
845
734
  return AbstractValueInputComponent;
846
735
  }(AbstractInputComponent));
847
736
 
848
- /**
849
- * Using templates (not only supported for nil values:
850
- * <aup-autocomplete-input [valueModel]="myModel" [options]="myOptions">
851
- * <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
852
- * </aup-autocomplete-input>
853
- */
854
- var AutocompleteInputComponent = /** @class */ (function (_super) {
855
- __extends(AutocompleteInputComponent, _super);
856
- function AutocompleteInputComponent() {
857
- var _this = _super.call(this) || this;
858
- _this.filterValue = new MutableValueModel();
859
- _this.optionLabelFormat = function (option) { return (option && _this.optionLabel) ? option[_this.optionLabel] : option; };
860
- var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
861
- var lowerCaseFilterValue = chain(_this.filterValue)
862
- .map(function (v) { return ___default.isString(v) ? v.toLowerCase() : ''; });
863
- _this.filteredOptions = chain(_this.optionsModel)
864
- .select(function (option) {
865
- return ___default.isEmpty(_this.filterValue.value) || _this.optionLabelFormat(option).toString().toLowerCase().includes(lowerCaseFilterValue.value);
866
- }, { dependsOn: lowerCaseFilterValue });
867
- return _this;
868
- }
869
- AutocompleteInputComponent.prototype.ngOnInit = function () {
870
- };
871
- AutocompleteInputComponent.prototype.formatOption = function (option) {
872
- return this.optionLabelFormat(option);
873
- };
874
- AutocompleteInputComponent.prototype.updateFilter = function ($event) {
875
- this.filterValue.value = $event;
876
- };
877
- AutocompleteInputComponent.prototype.onSelect = function ($event) {
878
- this.valueModel.value = $event.option.value;
879
- };
880
- __decorate([
881
- Input(), TrackExternal(),
882
- __metadata("design:type", ListModel)
883
- ], AutocompleteInputComponent.prototype, "optionsModel", void 0);
884
- __decorate([
885
- Input(), StoreInListModel('optionsModel'),
886
- __metadata("design:type", Array)
887
- ], AutocompleteInputComponent.prototype, "options", void 0);
888
- __decorate([
889
- Input(),
890
- __metadata("design:type", Object)
891
- ], AutocompleteInputComponent.prototype, "optionLabel", void 0);
892
- __decorate([
893
- Input(),
894
- __metadata("design:type", Boolean)
895
- ], AutocompleteInputComponent.prototype, "allowNil", void 0);
896
- __decorate([
897
- ContentChild('nilOptionTemplate'),
898
- __metadata("design:type", TemplateRef)
899
- ], AutocompleteInputComponent.prototype, "nilOptionTemplateRef", void 0);
900
- __decorate([
901
- Input(),
902
- __metadata("design:type", Function)
903
- ], AutocompleteInputComponent.prototype, "optionLabelFormat", void 0);
904
- AutocompleteInputComponent = __decorate([
905
- Component({
906
- selector: 'aup-autocomplete-input',
907
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"string\"\n matInput\n [matAutocomplete]=\"autocomplete\"\n placeholder=\"{{placeholder}}\"\n [ngModel]=\"componentValueModel.value\"\n (ngModelChange)=\"updateFilter($event)\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-autocomplete #autocomplete [displayWith]=\"optionLabelFormat\" [autoActiveFirstOption]=\"true\" (optionSelected)=\"onSelect($event)\">\n <mat-option *ngFor=\"let option of filteredOptions.value; let i = index\"\n [value]=\"option\"\n >{{formatOption(option)}}</mat-option>\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n </mat-autocomplete>\n\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
908
- styles: [":host{display:inline-block}mat-form-field{width:100%}"]
909
- }),
910
- __metadata("design:paramtypes", [])
911
- ], AutocompleteInputComponent);
912
- return AutocompleteInputComponent;
913
- }(AbstractValueInputComponent));
914
-
915
737
  var CheckboxInputComponent = /** @class */ (function (_super) {
916
738
  __extends(CheckboxInputComponent, _super);
917
739
  function CheckboxInputComponent() {
918
740
  var _this = _super.call(this) || this;
919
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
920
- // valueModel: Form.ValueModelBase<boolean> | IMutableValueModel<boolean>;
921
741
  _this.color = 'accent';
922
742
  _this.labelPosition = 'after';
923
743
  return _this;
924
744
  }
925
745
  CheckboxInputComponent.prototype.ngOnInit = function () {
926
746
  };
747
+ __decorate([
748
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
749
+ __metadata("design:type", Object)
750
+ ], CheckboxInputComponent.prototype, "valueModel", void 0);
927
751
  __decorate([
928
752
  Input(),
929
753
  __metadata("design:type", String)
@@ -935,73 +759,28 @@ var CheckboxInputComponent = /** @class */ (function (_super) {
935
759
  CheckboxInputComponent = __decorate([
936
760
  Component({
937
761
  selector: 'aup-checkbox-input',
938
- template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"componentValueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
939
- styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-error,mat-hint{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}"]
762
+ template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"valueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
763
+ styles: [":host{display:inline-flex;flex-direction:column;margin-top:24px;margin-bottom:16px}mat-error,mat-hint{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}"]
940
764
  }),
941
765
  __metadata("design:paramtypes", [])
942
766
  ], CheckboxInputComponent);
943
767
  return CheckboxInputComponent;
944
768
  }(AbstractValueInputComponent));
945
769
 
946
- /**
947
- * Using templates:
948
- * <aup-multiple-select-input [valueModel]="myModel" [options]="myOptions">
949
- * <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
950
- * <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
951
- * </aup-multiple-select_input>
952
- */
953
- var MultipleSelectInputComponent = /** @class */ (function (_super) {
954
- __extends(MultipleSelectInputComponent, _super);
955
- function MultipleSelectInputComponent() {
956
- var _this = _super.call(this) || this;
957
- _this.optionLabelFormat = function (option) { return (option && _this.optionLabel) ? option[_this.optionLabel] : option; };
958
- return _this;
959
- }
960
- MultipleSelectInputComponent.prototype.ngOnInit = function () {
961
- };
962
- __decorate([
963
- Input(), TrackExternal(),
964
- __metadata("design:type", ListModel)
965
- ], MultipleSelectInputComponent.prototype, "optionsModel", void 0);
966
- __decorate([
967
- Input(), StoreInListModel('optionsModel'),
968
- __metadata("design:type", Array)
969
- ], MultipleSelectInputComponent.prototype, "options", void 0);
970
- __decorate([
971
- Input(),
972
- __metadata("design:type", Object)
973
- ], MultipleSelectInputComponent.prototype, "optionLabel", void 0);
974
- __decorate([
975
- ContentChild('optionTemplate'),
976
- __metadata("design:type", TemplateRef)
977
- ], MultipleSelectInputComponent.prototype, "optionTemplateRef", void 0);
978
- __decorate([
979
- Input(),
980
- __metadata("design:type", Function)
981
- ], MultipleSelectInputComponent.prototype, "optionLabelFormat", void 0);
982
- MultipleSelectInputComponent = __decorate([
983
- Component({
984
- selector: 'aup-multiple-select-input',
985
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"componentListModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
986
- styles: [":host{display:inline-block}mat-form-field{width:100%}"]
987
- }),
988
- __metadata("design:paramtypes", [])
989
- ], MultipleSelectInputComponent);
990
- return MultipleSelectInputComponent;
991
- }(AbstractListInputComponent));
992
-
993
770
  var NumberInputComponent = /** @class */ (function (_super) {
994
771
  __extends(NumberInputComponent, _super);
995
772
  function NumberInputComponent() {
996
773
  var _this = _super.call(this) || this;
997
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
998
- // valueModel: Form.ValueModelBase<number> | IMutableValueModel<number>;
999
774
  _this.min = Number.MIN_SAFE_INTEGER;
1000
775
  _this.max = Number.MAX_SAFE_INTEGER;
1001
776
  return _this;
1002
777
  }
1003
778
  NumberInputComponent.prototype.ngOnInit = function () {
1004
779
  };
780
+ __decorate([
781
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
782
+ __metadata("design:type", Object)
783
+ ], NumberInputComponent.prototype, "valueModel", void 0);
1005
784
  __decorate([
1006
785
  Input(),
1007
786
  __metadata("design:type", Object)
@@ -1013,8 +792,8 @@ var NumberInputComponent = /** @class */ (function (_super) {
1013
792
  NumberInputComponent = __decorate([
1014
793
  Component({
1015
794
  selector: 'aup-number-input',
1016
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint && !dense\" >{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1017
- styles: [""]
795
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
796
+ styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}:host-context(aup-table-cell-renderer) mat-form-field div.mat-form-field-infix{width:auto}"]
1018
797
  }),
1019
798
  __metadata("design:paramtypes", [])
1020
799
  ], NumberInputComponent);
@@ -1023,31 +802,26 @@ var NumberInputComponent = /** @class */ (function (_super) {
1023
802
 
1024
803
  var PasswordInputComponent = /** @class */ (function (_super) {
1025
804
  __extends(PasswordInputComponent, _super);
1026
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
1027
- // valueModel: Form.ValueModelBase<string> | IMutableValueModel<string>;
1028
805
  function PasswordInputComponent() {
1029
806
  return _super.call(this) || this;
1030
807
  }
1031
808
  PasswordInputComponent.prototype.ngOnInit = function () {
1032
809
  };
810
+ __decorate([
811
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
812
+ __metadata("design:type", Object)
813
+ ], PasswordInputComponent.prototype, "valueModel", void 0);
1033
814
  PasswordInputComponent = __decorate([
1034
815
  Component({
1035
816
  selector: 'aup-password-input',
1036
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
1037
- styles: [""]
817
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"password\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
818
+ styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}:host-context(aup-table-cell-renderer) mat-form-field div.mat-form-field-infix{width:auto}"]
1038
819
  }),
1039
820
  __metadata("design:paramtypes", [])
1040
821
  ], PasswordInputComponent);
1041
822
  return PasswordInputComponent;
1042
823
  }(AbstractValueInputComponent));
1043
824
 
1044
- /**
1045
- * Using templates:
1046
- * <aup-select-input [valueModel]="myModel" [options]="myOptions">
1047
- * <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
1048
- * <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
1049
- * </aup-select_input>
1050
- */
1051
825
  var SelectInputComponent = /** @class */ (function (_super) {
1052
826
  __extends(SelectInputComponent, _super);
1053
827
  function SelectInputComponent() {
@@ -1057,6 +831,10 @@ var SelectInputComponent = /** @class */ (function (_super) {
1057
831
  }
1058
832
  SelectInputComponent.prototype.ngOnInit = function () {
1059
833
  };
834
+ __decorate([
835
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
836
+ __metadata("design:type", Object)
837
+ ], SelectInputComponent.prototype, "valueModel", void 0);
1060
838
  __decorate([
1061
839
  Input(), TrackExternal(),
1062
840
  __metadata("design:type", ListModel)
@@ -1088,7 +866,7 @@ var SelectInputComponent = /** @class */ (function (_super) {
1088
866
  SelectInputComponent = __decorate([
1089
867
  Component({
1090
868
  selector: 'aup-select-input',
1091
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
869
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1092
870
  styles: [":host{display:inline-block}mat-form-field{width:100%}"]
1093
871
  }),
1094
872
  __metadata("design:paramtypes", [])
@@ -1102,13 +880,17 @@ var StringInputComponent = /** @class */ (function (_super) {
1102
880
  var _this = _super.call(this) || this;
1103
881
  var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
1104
882
  _this.clearCommand = Command.create(function () {
1105
- _this.componentValueModel.value = null;
883
+ _this.valueModel.value = null;
1106
884
  });
1107
- _this.clearCommand.disableWhile(chain.stringValue(_this.componentValueModel).isBlank());
885
+ _this.clearCommand.disableWhile(chain.stringValue(_this.valueModel).isBlank());
1108
886
  return _this;
1109
887
  }
1110
888
  StringInputComponent.prototype.ngOnInit = function () {
1111
889
  };
890
+ __decorate([
891
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
892
+ __metadata("design:type", Object)
893
+ ], StringInputComponent.prototype, "valueModel", void 0);
1112
894
  __decorate([
1113
895
  Input(), TrackExternal({ defaultValue: false }),
1114
896
  __metadata("design:type", ValueModel)
@@ -1120,8 +902,8 @@ var StringInputComponent = /** @class */ (function (_super) {
1120
902
  StringInputComponent = __decorate([
1121
903
  Component({
1122
904
  selector: 'aup-string-input',
1123
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
1124
- styles: ["button[disabled]{visibility:hidden}"]
905
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
906
+ styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}:host-context(aup-table-cell-renderer) mat-form-field div.mat-form-field-infix{width:auto}button[disabled]{visibility:hidden}"]
1125
907
  }),
1126
908
  __metadata("design:paramtypes", [])
1127
909
  ], StringInputComponent);
@@ -1132,14 +914,16 @@ var TextInputComponent = /** @class */ (function (_super) {
1132
914
  __extends(TextInputComponent, _super);
1133
915
  function TextInputComponent() {
1134
916
  var _this = _super.call(this) || this;
1135
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
1136
- // valueModel: Form.ValueModelBase<string> | IMutableValueModel<string>;
1137
917
  _this.rows = 2;
1138
918
  return _this;
1139
919
  // const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
1140
920
  }
1141
921
  TextInputComponent.prototype.ngOnInit = function () {
1142
922
  };
923
+ __decorate([
924
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
925
+ __metadata("design:type", Object)
926
+ ], TextInputComponent.prototype, "valueModel", void 0);
1143
927
  __decorate([
1144
928
  Input(),
1145
929
  __metadata("design:type", Object)
@@ -1151,56 +935,14 @@ var TextInputComponent = /** @class */ (function (_super) {
1151
935
  TextInputComponent = __decorate([
1152
936
  Component({
1153
937
  selector: 'aup-text-input',
1154
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
1155
- styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}"]
938
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
939
+ styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}:host-context(aup-table-cell-renderer) mat-form-field div.mat-form-field-infix{width:auto}button[disabled]{visibility:hidden}textarea{overflow:auto}"]
1156
940
  }),
1157
941
  __metadata("design:paramtypes", [])
1158
942
  ], TextInputComponent);
1159
943
  return TextInputComponent;
1160
944
  }(AbstractValueInputComponent));
1161
945
 
1162
- var IconComponent = /** @class */ (function () {
1163
- function IconComponent() {
1164
- }
1165
- Object.defineProperty(IconComponent.prototype, "icon", {
1166
- get: function () {
1167
- return this._icon;
1168
- },
1169
- set: function (iconName) {
1170
- this._icon = iconName;
1171
- if (!iconName) {
1172
- this.errorMessage = 'icon is nil';
1173
- this.prefix = undefined;
1174
- return;
1175
- }
1176
- var colonIndex = iconName.indexOf(':');
1177
- if (colonIndex > 0) {
1178
- this.prefix = this.icon.slice(0, colonIndex);
1179
- this.suffix = this.icon.slice(colonIndex + 1);
1180
- }
1181
- if (this.prefix) {
1182
- this.errorMessage = "Unknown icon \"" + iconName + "\"";
1183
- }
1184
- this.errorMessage = "Unknown icon prefix \"" + this.prefix + "\"";
1185
- },
1186
- enumerable: true,
1187
- configurable: true
1188
- });
1189
- __decorate([
1190
- Input(),
1191
- __metadata("design:type", String),
1192
- __metadata("design:paramtypes", [String])
1193
- ], IconComponent.prototype, "icon", null);
1194
- IconComponent = __decorate([
1195
- Component({
1196
- selector: 'aup-icon',
1197
- template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"'svg'\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"'mat'\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"'fab'\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"suffix\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n",
1198
- styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}"]
1199
- })
1200
- ], IconComponent);
1201
- return IconComponent;
1202
- }());
1203
-
1204
946
  var NoopComponent = /** @class */ (function () {
1205
947
  function NoopComponent() {
1206
948
  }
@@ -1411,7 +1153,6 @@ var CellHeaderPortalRef = /** @class */ (function (_super) {
1411
1153
  assert$1.isTruthy(host);
1412
1154
  host[HEADER_CELL_RENDERER_PORTAL] = new ComponentPortal(this.componentType);
1413
1155
  };
1414
- // @Trace()
1415
1156
  CellHeaderPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
1416
1157
  this.initialiseHeader(portalComponent, host.column);
1417
1158
  };
@@ -1435,15 +1176,13 @@ var ComponentCellRendererPortalRef = /** @class */ (function (_super) {
1435
1176
  ComponentCellRendererPortalRef.prototype.initialiseHost = function (host, columnModel) {
1436
1177
  host[CELL_RENDERER_PORTAL] = new ComponentPortal(this.componentType);
1437
1178
  };
1438
- // @Trace()
1439
1179
  ComponentCellRendererPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
1440
1180
  host[PORTAL_RENDERER_COMPONENT] = portalComponent;
1441
- this.updateComponent(portalComponent, host.getRowData(), true);
1181
+ this.updateComponent(portalComponent, host.getRowData());
1442
1182
  };
1443
- // @Trace()
1444
1183
  ComponentCellRendererPortalRef.prototype.pushState = function (host) {
1445
1184
  if (host[PORTAL_RENDERER_COMPONENT]) {
1446
- this.updateComponent(host[PORTAL_RENDERER_COMPONENT], host.getRowData(), false);
1185
+ this.updateComponent(host[PORTAL_RENDERER_COMPONENT], host.getRowData());
1447
1186
  }
1448
1187
  };
1449
1188
  return ComponentCellRendererPortalRef;
@@ -1485,7 +1224,6 @@ var TemplateCellRendererPortalRef = /** @class */ (function (_super) {
1485
1224
  TemplateCellRendererPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
1486
1225
  // don't care
1487
1226
  };
1488
- // @Trace()
1489
1227
  TemplateCellRendererPortalRef.prototype.pushState = function (host) {
1490
1228
  host[CELL_RENDERER_PORTAL] = this.createPortal(host.getRowData());
1491
1229
  host.fillCell = this.fillCell;
@@ -1767,37 +1505,24 @@ var ColumnModel = /** @class */ (function () {
1767
1505
  }());
1768
1506
  var PropertyColumnModel = /** @class */ (function (_super) {
1769
1507
  __extends(PropertyColumnModel, _super);
1770
- function PropertyColumnModel(id, property, defaults) {
1771
- var _this = _super.call(this, id, defaults) || this;
1508
+ function PropertyColumnModel(property, defaults) {
1509
+ var _this = _super.call(this, property.toString(), defaults) || this;
1772
1510
  _this.property = property;
1773
1511
  _this._format = function (value) { return value; };
1774
1512
  _this.cellRenderer(DefaultCellRendererComponent);
1775
1513
  return _this;
1776
1514
  }
1777
- PropertyColumnModel.prototype.cellRenderer = function (componentType, onComponentInitOrOptions) {
1515
+ PropertyColumnModel.prototype.cellRenderer = function (componentType) {
1778
1516
  var _this = this;
1779
- this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, function (component, rowData, firstTime) {
1780
- if (firstTime) {
1781
- if (___default.isFunction(onComponentInitOrOptions)) {
1782
- onComponentInitOrOptions(component);
1783
- }
1784
- else {
1785
- if (___default.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onComponentInit)) {
1786
- onComponentInitOrOptions.onComponentInit(component);
1787
- }
1788
- }
1789
- }
1517
+ this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, function (component, rowData) {
1790
1518
  component.value = _this._format(rowData.row[_this.property]);
1791
- if (!___default.isFunction(onComponentInitOrOptions) && ___default.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onRowUpdate)) {
1792
- onComponentInitOrOptions.onRowUpdate(component, rowData.row);
1793
- }
1794
1519
  }));
1795
1520
  return this;
1796
1521
  };
1797
- PropertyColumnModel.prototype.cellEditor = function (editor, validatorsOrInitialiser, onComponentInit) {
1522
+ PropertyColumnModel.prototype.cellEditor = function (editor, validatorsOrInitialiser, initialiseComponent) {
1798
1523
  var _this = this;
1799
1524
  var validators = Array.isArray(validatorsOrInitialiser) ? validatorsOrInitialiser : undefined;
1800
- var initialiser = ___default.isFunction(validatorsOrInitialiser) ? validatorsOrInitialiser : onComponentInit;
1525
+ var initialiser = ___default.isFunction(validatorsOrInitialiser) ? validatorsOrInitialiser : initialiseComponent;
1801
1526
  this.configureCellEditor(new CellEditorPortalRef(editor, function (component, editSession) {
1802
1527
  var formValueModel = editSession.form.pluck(_this.property);
1803
1528
  if (validators) {
@@ -1822,8 +1547,8 @@ var PropertyColumnModel = /** @class */ (function (_super) {
1822
1547
  }(ColumnModel));
1823
1548
  var ListPropertyColumnModel = /** @class */ (function (_super) {
1824
1549
  __extends(ListPropertyColumnModel, _super);
1825
- function ListPropertyColumnModel(id, property, defaults) {
1826
- var _this = _super.call(this, id, defaults) || this;
1550
+ function ListPropertyColumnModel(property, defaults) {
1551
+ var _this = _super.call(this, property.toString(), defaults) || this;
1827
1552
  _this.property = property;
1828
1553
  _this._format = function (value) { return value.map(function (v) { return v === null || v === void 0 ? void 0 : v.toString(); }).join(', '); };
1829
1554
  _this.cellRenderer(DefaultCellRendererComponent);
@@ -1870,23 +1595,10 @@ var CustomValueColumnModel = /** @class */ (function (_super) {
1870
1595
  _this.cellRenderer(DefaultCellRendererComponent);
1871
1596
  return _this;
1872
1597
  }
1873
- CustomValueColumnModel.prototype.cellRenderer = function (componentType, onComponentInitOrOptions) {
1598
+ CustomValueColumnModel.prototype.cellRenderer = function (componentType) {
1874
1599
  var _this = this;
1875
- this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, function (component, rowData, firstTime) {
1876
- if (firstTime) {
1877
- if (___default.isFunction(onComponentInitOrOptions)) {
1878
- onComponentInitOrOptions(component);
1879
- }
1880
- else {
1881
- if (___default.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onComponentInit)) {
1882
- onComponentInitOrOptions.onComponentInit(component);
1883
- }
1884
- }
1885
- }
1600
+ this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, function (component, rowData) {
1886
1601
  component.value = _this.getValue(rowData.row);
1887
- if (!___default.isFunction(onComponentInitOrOptions) && ___default.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onRowUpdate)) {
1888
- onComponentInitOrOptions.onRowUpdate(component, rowData.row);
1889
- }
1890
1602
  }));
1891
1603
  return this;
1892
1604
  };
@@ -2070,7 +1782,7 @@ var TableModel = /** @class */ (function () {
2070
1782
  this.dataSource = chain(this.sourceOfTruth).replaceAll(this.rowsBeingEdited);
2071
1783
  this.firstEditableColumn = chain(this.columns).select(function (c) { return c.hasEditorPortal(); }).first();
2072
1784
  this.hasColumnsWithRowSelectionExplicitlyEnabled = chain(this._columns).findIndex(function (column) { return column.isRowSelectionExplicitlyEnabled(); }).isGreaterThanOrEqualTo(0);
2073
- this.addRowClass('enable-hover', function () { return _this.isRowSelectionEnabled(); });
1785
+ this.addRowClass("enable-hover", function () { return _this.isRowSelectionEnabled(); });
2074
1786
  }
2075
1787
  TableModel_1 = TableModel;
2076
1788
  TableModel.fromList = function (sourceOfTruth, builder) {
@@ -2098,11 +1810,11 @@ var TableModel = /** @class */ (function () {
2098
1810
  enumerable: true,
2099
1811
  configurable: true
2100
1812
  });
2101
- TableModel.prototype.pluck = function (property, options) {
2102
- return this.addColumn(new PropertyColumnModel((options === null || options === void 0 ? void 0 : options.columnId) || property.toString(), property, this));
1813
+ TableModel.prototype.pluck = function (property) {
1814
+ return this.addColumn(new PropertyColumnModel(property, this));
2103
1815
  };
2104
- TableModel.prototype.pluckList = function (property, options) {
2105
- return this.addColumn(new ListPropertyColumnModel((options === null || options === void 0 ? void 0 : options.columnId) || property.toString(), property, this));
1816
+ TableModel.prototype.pluckList = function (property) {
1817
+ return this.addColumn(new ListPropertyColumnModel(property, this));
2106
1818
  };
2107
1819
  TableModel.prototype.addSelectionColumn = function (selectionModel) {
2108
1820
  assert.isNil(this.selectionColumnModel);
@@ -2116,9 +1828,6 @@ var TableModel = /** @class */ (function () {
2116
1828
  TableModel.prototype.addCustomColumn = function (columnId, dataAccessor) {
2117
1829
  return this.addColumn(new CustomValueColumnModel(columnId, this, dataAccessor));
2118
1830
  };
2119
- TableModel.prototype.addComponentColumn = function (columnId, component, onComponentInitOrOptions) {
2120
- return this.addColumn(new CustomValueColumnModel(columnId, this, function (row) { return row; })).cellRenderer(component, onComponentInitOrOptions);
2121
- };
2122
1831
  TableModel.prototype.addTemplateColumn = function (columnId) {
2123
1832
  return this.addColumn(new CustomTemplateColumnModel(columnId, this));
2124
1833
  };
@@ -2538,6 +2247,100 @@ var VerticalFocusContainerComponent = /** @class */ (function (_super) {
2538
2247
  return VerticalFocusContainerComponent;
2539
2248
  }(FocusContainerComponent));
2540
2249
 
2250
+ var MultipleSelectInputComponent = /** @class */ (function (_super) {
2251
+ __extends(MultipleSelectInputComponent, _super);
2252
+ function MultipleSelectInputComponent() {
2253
+ var _this = _super.call(this) || this;
2254
+ _this.optionLabelFormat = function (option) { return (option && _this.optionLabel) ? option[_this.optionLabel] : option; };
2255
+ return _this;
2256
+ }
2257
+ MultipleSelectInputComponent.prototype.ngOnInit = function () {
2258
+ };
2259
+ __decorate([
2260
+ Input(), TrackExternal({ delegateTo: 'inputModel' }),
2261
+ __metadata("design:type", Object)
2262
+ ], MultipleSelectInputComponent.prototype, "listModel", void 0);
2263
+ __decorate([
2264
+ Input(), TrackExternal(),
2265
+ __metadata("design:type", ListModel)
2266
+ ], MultipleSelectInputComponent.prototype, "optionsModel", void 0);
2267
+ __decorate([
2268
+ Input(), StoreInListModel('optionsModel'),
2269
+ __metadata("design:type", Array)
2270
+ ], MultipleSelectInputComponent.prototype, "options", void 0);
2271
+ __decorate([
2272
+ Input(),
2273
+ __metadata("design:type", Object)
2274
+ ], MultipleSelectInputComponent.prototype, "optionLabel", void 0);
2275
+ __decorate([
2276
+ Input(),
2277
+ __metadata("design:type", Boolean)
2278
+ ], MultipleSelectInputComponent.prototype, "allowNil", void 0);
2279
+ __decorate([
2280
+ ContentChild('optionTemplate'),
2281
+ __metadata("design:type", TemplateRef)
2282
+ ], MultipleSelectInputComponent.prototype, "optionTemplateRef", void 0);
2283
+ __decorate([
2284
+ ContentChild('nilOptionTemplate'),
2285
+ __metadata("design:type", TemplateRef)
2286
+ ], MultipleSelectInputComponent.prototype, "nilOptionTemplateRef", void 0);
2287
+ __decorate([
2288
+ Input(),
2289
+ __metadata("design:type", Function)
2290
+ ], MultipleSelectInputComponent.prototype, "optionLabelFormat", void 0);
2291
+ MultipleSelectInputComponent = __decorate([
2292
+ Component({
2293
+ selector: 'aup-multiple-select-input',
2294
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"listModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
2295
+ styles: [":host{display:inline-block}mat-form-field{width:100%}"]
2296
+ }),
2297
+ __metadata("design:paramtypes", [])
2298
+ ], MultipleSelectInputComponent);
2299
+ return MultipleSelectInputComponent;
2300
+ }(AbstractListInputComponent));
2301
+
2302
+ var IconComponent = /** @class */ (function () {
2303
+ function IconComponent() {
2304
+ }
2305
+ Object.defineProperty(IconComponent.prototype, "icon", {
2306
+ get: function () {
2307
+ return this._icon;
2308
+ },
2309
+ set: function (iconName) {
2310
+ this._icon = iconName;
2311
+ if (!iconName) {
2312
+ this.errorMessage = 'icon is nil';
2313
+ this.prefix = undefined;
2314
+ return;
2315
+ }
2316
+ var colonIndex = iconName.indexOf(':');
2317
+ if (colonIndex > 0) {
2318
+ this.prefix = this.icon.slice(0, colonIndex);
2319
+ this.suffix = this.icon.slice(colonIndex + 1);
2320
+ }
2321
+ if (this.prefix) {
2322
+ this.errorMessage = "Unknown icon \"" + iconName + "\"";
2323
+ }
2324
+ this.errorMessage = "Unknown icon prefix \"" + this.prefix + "\"";
2325
+ },
2326
+ enumerable: true,
2327
+ configurable: true
2328
+ });
2329
+ __decorate([
2330
+ Input(),
2331
+ __metadata("design:type", String),
2332
+ __metadata("design:paramtypes", [String])
2333
+ ], IconComponent.prototype, "icon", null);
2334
+ IconComponent = __decorate([
2335
+ Component({
2336
+ selector: 'aup-icon',
2337
+ template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"'svg'\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"'mat'\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"'fab'\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"suffix\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n",
2338
+ styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}"]
2339
+ })
2340
+ ], IconComponent);
2341
+ return IconComponent;
2342
+ }());
2343
+
2541
2344
  var ComponentsModule = /** @class */ (function () {
2542
2345
  function ComponentsModule(faIconLibrary) {
2543
2346
  faIconLibrary.addIconPacks(fas);
@@ -2556,8 +2359,6 @@ var ComponentsModule = /** @class */ (function () {
2556
2359
  TextInputComponent,
2557
2360
  PasswordInputComponent,
2558
2361
  SelectInputComponent,
2559
- MultipleSelectInputComponent,
2560
- AutocompleteInputComponent,
2561
2362
  CheckboxInputComponent,
2562
2363
  ScrollContainerComponent,
2563
2364
  NoopComponent,
@@ -2577,6 +2378,7 @@ var ComponentsModule = /** @class */ (function () {
2577
2378
  SelectHeaderCellRendererComponent,
2578
2379
  DefaultHeaderCellRendererComponent,
2579
2380
  TableHeaderCellRendererComponent,
2381
+ MultipleSelectInputComponent,
2580
2382
  IconComponent,
2581
2383
  SectionHeaderComponent
2582
2384
  ],
@@ -2596,8 +2398,7 @@ var ComponentsModule = /** @class */ (function () {
2596
2398
  PortalModule,
2597
2399
  CdkScrollableModule,
2598
2400
  FontAwesomeModule,
2599
- MatTooltipModule,
2600
- MatAutocompleteModule
2401
+ MatTooltipModule
2601
2402
  ],
2602
2403
  exports: [
2603
2404
  NumberInputComponent,
@@ -2606,8 +2407,6 @@ var ComponentsModule = /** @class */ (function () {
2606
2407
  PasswordInputComponent,
2607
2408
  CheckboxInputComponent,
2608
2409
  SelectInputComponent,
2609
- MultipleSelectInputComponent,
2610
- AutocompleteInputComponent,
2611
2410
  ScrollContainerComponent,
2612
2411
  NoopComponent,
2613
2412
  SwitchCaseComponent,
@@ -2620,23 +2419,12 @@ var ComponentsModule = /** @class */ (function () {
2620
2419
  TableComponent,
2621
2420
  EditRowControls,
2622
2421
  ColumnTemplateDirective,
2422
+ MultipleSelectInputComponent,
2623
2423
  IconComponent,
2624
2424
  SectionHeaderComponent
2625
2425
  ],
2626
2426
  providers: [
2627
- FocusBindingFactory
2628
- // {
2629
- // provide: CELL_EDITOR_REGISTRATION, useValue: {
2630
- // type: 'string',
2631
- // editorClass: StringInputComponent
2632
- // }, multi: true
2633
- // },
2634
- // {
2635
- // provide: CELL_EDITOR_REGISTRATION, useValue: {
2636
- // type: 'number',
2637
- // editorClass: NumberInputComponent
2638
- // }, multi: true
2639
- // }
2427
+ FocusBindingFactory,
2640
2428
  ]
2641
2429
  }),
2642
2430
  __metadata("design:paramtypes", [FaIconLibrary])
@@ -3075,7 +2863,6 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
3075
2863
  ActivityContainerComponent.prototype.registerDisposable = function (disposable) {
3076
2864
  return this.garbage.registerDisposable(disposable);
3077
2865
  };
3078
- // @Trace()
3079
2866
  ActivityContainerComponent.prototype.dispose = function () {
3080
2867
  // TODO: think about auto cancelling any outstanding activity on dispose.
3081
2868
  // See NavigationState.Navigating for a use-case.
@@ -3224,6 +3011,12 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
3224
3011
  ViewChildren(ActivityOutletComponent),
3225
3012
  __metadata("design:type", QueryList)
3226
3013
  ], ActivityContainerComponent.prototype, "activityOutlets", void 0);
3014
+ __decorate([
3015
+ Trace(),
3016
+ __metadata("design:type", Function),
3017
+ __metadata("design:paramtypes", []),
3018
+ __metadata("design:returntype", void 0)
3019
+ ], ActivityContainerComponent.prototype, "dispose", null);
3227
3020
  ActivityContainerComponent = __decorate([
3228
3021
  Component({
3229
3022
  selector: 'aup-activity-container',
@@ -4307,7 +4100,7 @@ var PlaceComponent = /** @class */ (function (_super) {
4307
4100
  assert.isNil(this.visitModel.value);
4308
4101
  var when = Dsl.disposeWith(this).when;
4309
4102
  this.visitModel.value = visit;
4310
- DebugContext.getOrCreate(this.visitModel).tag(this.placeDefinition.component.name + ".visitModel");
4103
+ DebugContext.get(this.visitModel).tag(this.placeDefinition.component.name + ".visitModel");
4311
4104
  this.placeDefinition.getVisitParameterDefs().forEach(function (parameterDef) { return _this.installBinding(parameterDef); });
4312
4105
  when.valueOf(this.visitModel).changes(function (current, previous) {
4313
4106
  notifyVisitChanged(current, previous);
@@ -5455,6 +5248,75 @@ var UrlService = /** @class */ (function () {
5455
5248
  return UrlService;
5456
5249
  }());
5457
5250
 
5251
+ var Visit = /** @class */ (function () {
5252
+ function Visit(placeDefinition, visitParameters) {
5253
+ if (visitParameters === void 0) { visitParameters = {}; }
5254
+ this.placeDefinition = placeDefinition;
5255
+ this.visitParameters = visitParameters;
5256
+ }
5257
+ // @Trace()
5258
+ Visit.prototype.getRouteId = function () {
5259
+ return this.placeDefinition.getRouteIdFrom(this);
5260
+ };
5261
+ // @Trace()
5262
+ Visit.prototype.hasRouteId = function () {
5263
+ return !isNil(this.getRouteId());
5264
+ };
5265
+ /**
5266
+ * Returns the value of the place parameter with the specified name. The parameter
5267
+ * name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
5268
+ * same as the the ValueModel property name.
5269
+ * @param parameterName the field name of the property model or the `as` option if specified.
5270
+ */
5271
+ Visit.prototype.getParameter = function (parameterName) {
5272
+ return this.visitParameters[parameterName];
5273
+ };
5274
+ // @Trace()
5275
+ Visit.prototype.hasParameter = function (parameterName) {
5276
+ return Object.keys(this.visitParameters).includes(parameterName);
5277
+ };
5278
+ Visit.prototype.replace = function (parameter, value) {
5279
+ var _a;
5280
+ return new Visit(this.placeDefinition, __assign(__assign({}, this.visitParameters), (_a = {}, _a[parameter.name] = value, _a)));
5281
+ };
5282
+ Visit.prototype.mergeRouteParameters = function (routeParams) {
5283
+ var _this = this;
5284
+ // todo: whitelist parameters.
5285
+ var routeParameterKeys = Object.keys(routeParams);
5286
+ var params = {};
5287
+ this.placeDefinition.getVisitParameterDefs().forEach(function (def) {
5288
+ if (def.isRouteId || def.isRouteParameter) {
5289
+ if (routeParameterKeys.includes(def.name)) {
5290
+ params[def.name] = routeParams[def.name];
5291
+ }
5292
+ }
5293
+ else {
5294
+ // copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the
5295
+ // defaults and remember sanitisation process.
5296
+ var value = _this.getParameter(def.name);
5297
+ if (_this.hasParameter(def.name)) {
5298
+ params[def.name] = value;
5299
+ }
5300
+ }
5301
+ });
5302
+ return new Visit(this.placeDefinition, params);
5303
+ };
5304
+ Visit.prototype.hasRoutingChangedFrom = function (other) {
5305
+ var samePlace = other.placeDefinition === this.placeDefinition;
5306
+ var sameRouteParameters = isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
5307
+ return !samePlace || !sameRouteParameters;
5308
+ };
5309
+ Visit.prototype.hasChangedFrom = function (other) {
5310
+ var sameNonRouteParameters = isEqual(this.placeDefinition.getNonRouteParameters(this), this.placeDefinition.getNonRouteParameters(other));
5311
+ return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);
5312
+ };
5313
+ Visit.prototype.toDebugString = function () {
5314
+ var _this = this;
5315
+ return Object.keys(this.visitParameters).map(function (k) { return k + "=" + _this.visitParameters[k]; }).join(",");
5316
+ };
5317
+ return Visit;
5318
+ }());
5319
+
5458
5320
  var PlaceRouter = /** @class */ (function (_super) {
5459
5321
  __extends(PlaceRouter, _super);
5460
5322
  function PlaceRouter(angularRouter, angularLocation, interactionService, urlService, placeHistory) {
@@ -5650,7 +5512,6 @@ var PlaceRouter = /** @class */ (function (_super) {
5650
5512
  enumerable: true,
5651
5513
  configurable: true
5652
5514
  });
5653
- // @Trace()
5654
5515
  PlaceRouter.prototype.pushVisitChangesToRoute = function (previous, next) {
5655
5516
  return __awaiter(this, void 0, void 0, function () {
5656
5517
  var _this = this;
@@ -5751,6 +5612,12 @@ var PlaceRouter = /** @class */ (function (_super) {
5751
5612
  { type: PlaceHistory }
5752
5613
  ]; };
5753
5614
  PlaceRouter.ɵprov = ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(ɵɵinject(Router), ɵɵinject(Location), ɵɵinject(InteractionService), ɵɵinject(UrlService), ɵɵinject(PlaceHistory)); }, token: PlaceRouter, providedIn: "root" });
5615
+ __decorate([
5616
+ Trace(),
5617
+ __metadata("design:type", Function),
5618
+ __metadata("design:paramtypes", [Visit, Visit]),
5619
+ __metadata("design:returntype", Promise)
5620
+ ], PlaceRouter.prototype, "pushVisitChangesToRoute", null);
5754
5621
  PlaceRouter = __decorate([
5755
5622
  Injectable({
5756
5623
  providedIn: 'root'
@@ -5764,75 +5631,6 @@ var PlaceRouter = /** @class */ (function (_super) {
5764
5631
  return PlaceRouter;
5765
5632
  }(GarbageCollector));
5766
5633
 
5767
- var Visit = /** @class */ (function () {
5768
- function Visit(placeDefinition, visitParameters) {
5769
- if (visitParameters === void 0) { visitParameters = {}; }
5770
- this.placeDefinition = placeDefinition;
5771
- this.visitParameters = visitParameters;
5772
- }
5773
- // @Trace()
5774
- Visit.prototype.getRouteId = function () {
5775
- return this.placeDefinition.getRouteIdFrom(this);
5776
- };
5777
- // @Trace()
5778
- Visit.prototype.hasRouteId = function () {
5779
- return !isNil(this.getRouteId());
5780
- };
5781
- /**
5782
- * Returns the value of the place parameter with the specified name. The parameter
5783
- * name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
5784
- * same as the the ValueModel property name.
5785
- * @param parameterName the field name of the property model or the `as` option if specified.
5786
- */
5787
- Visit.prototype.getParameter = function (parameterName) {
5788
- return this.visitParameters[parameterName];
5789
- };
5790
- // @Trace()
5791
- Visit.prototype.hasParameter = function (parameterName) {
5792
- return Object.keys(this.visitParameters).includes(parameterName);
5793
- };
5794
- Visit.prototype.replace = function (parameter, value) {
5795
- var _a;
5796
- return new Visit(this.placeDefinition, __assign(__assign({}, this.visitParameters), (_a = {}, _a[parameter.name] = value, _a)));
5797
- };
5798
- Visit.prototype.mergeRouteParameters = function (routeParams) {
5799
- var _this = this;
5800
- // todo: whitelist parameters.
5801
- var routeParameterKeys = Object.keys(routeParams);
5802
- var params = {};
5803
- this.placeDefinition.getVisitParameterDefs().forEach(function (def) {
5804
- if (def.isRouteId || def.isRouteParameter) {
5805
- if (routeParameterKeys.includes(def.name)) {
5806
- params[def.name] = routeParams[def.name];
5807
- }
5808
- }
5809
- else {
5810
- // copy non route params as is, but only if they already exist otherwise we'll inject nil values and break the
5811
- // defaults and remember sanitisation process.
5812
- var value = _this.getParameter(def.name);
5813
- if (_this.hasParameter(def.name)) {
5814
- params[def.name] = value;
5815
- }
5816
- }
5817
- });
5818
- return new Visit(this.placeDefinition, params);
5819
- };
5820
- Visit.prototype.hasRoutingChangedFrom = function (other) {
5821
- var samePlace = other.placeDefinition === this.placeDefinition;
5822
- var sameRouteParameters = isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
5823
- return !samePlace || !sameRouteParameters;
5824
- };
5825
- Visit.prototype.hasChangedFrom = function (other) {
5826
- var sameNonRouteParameters = isEqual(this.placeDefinition.getNonRouteParameters(this), this.placeDefinition.getNonRouteParameters(other));
5827
- return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);
5828
- };
5829
- Visit.prototype.toDebugString = function () {
5830
- var _this = this;
5831
- return Object.keys(this.visitParameters).map(function (k) { return k + "=" + _this.visitParameters[k]; }).join(",");
5832
- };
5833
- return Visit;
5834
- }());
5835
-
5836
5634
  var AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
5837
5635
 
5838
5636
  // Freezes the state of the components at the start of the animation.
@@ -6847,7 +6645,8 @@ function installMechanics(prototype, propertyKey, backingModel, tagPrefix, isEmp
6847
6645
  binding: null
6848
6646
  };
6849
6647
  var tag = tagPrefix + "(" + prototype.constructor.name + "." + propertyKey.toString() + ")";
6850
- DebugContext.getOrCreate(mechanics.backingModel).tag(tag);
6648
+ DebugContext.get(mechanics.backingModel).tag(tag);
6649
+ Logger.get(mechanics.backingModel).tag(tag);
6851
6650
  Object.defineProperty(prototype, propertyKey, {
6852
6651
  get: function () {
6853
6652
  return mechanics.backingModel;
@@ -6909,5 +6708,5 @@ function VisitParameterList(options) {
6909
6708
  * Generated bundle index. Do not edit.
6910
6709
  */
6911
6710
 
6912
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandDirective, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TemplateCellRendererPortalRef, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0, DirectivesModule as ɵa, CommandDirective as ɵb, CardContainerComponent as ɵba, TableComponent as ɵbb, EditRowControls as ɵbc, ColumnTemplateDirective as ɵbd, DefaultCellRendererComponent as ɵbe, TableCellRendererComponent as ɵbf, SelectCellRendererComponent as ɵbg, SelectHeaderCellRendererComponent as ɵbh, DefaultHeaderCellRendererComponent as ɵbi, TableHeaderCellRendererComponent as ɵbj, IconComponent as ɵbk, SectionHeaderComponent as ɵbl, PlaceModule as ɵbm, ComponentsModule as ɵbn, EmptyStateComponent as ɵbo, BusyOverlayComponent as ɵbp, PlaceOutletComponent as ɵbq, leftRightPlaceAnimation as ɵbr, LEFT_RIGHT_PLACE_ANIMATION as ɵbs, AUP_PLACE_CONFIG as ɵbt, PlaceRouter as ɵbv, InteractionService as ɵbw, ModalInteractionContextFactory as ɵbx, UrlService as ɵby, PlaceHistory as ɵbz, FocusBindingDirective as ɵc, TabbedPlaceNavigationComponent as ɵca, AbstractPlaceNavigationComponent as ɵcb, ListPlaceNavComponent as ɵcc, SidePlaceNavigationComponent as ɵcd, InteractionModule as ɵce, ActivityContainerComponent as ɵcf, AbstractInteractionContext as ɵcg, ActivityOutletComponent as ɵch, ConfirmationDialogComponent as ɵci, ACTIVITY_DATA as ɵcj, Activity as ɵck, ConfirmThenDialogComponent as ɵcm, AlertDialogComponent as ɵcn, InPlaceInteractionContextComponent as ɵcp, AddItemInteractionContextComponent as ɵcq, ActivityActionsComponent as ɵcr, PopupInteractionContextComponent as ɵcs, StringInputActivity as ɵct, AbstractInputActivity as ɵcu, SelectInputActivity as ɵcv, InteractionContextTriggerFor as ɵcw, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractValueInputComponent as ɵh, AbstractListInputComponent as ɵi, NumberInputComponent as ɵj, StringInputComponent as ɵk, TextInputComponent as ɵl, PasswordInputComponent as ɵm, SelectInputComponent as ɵn, MultipleSelectInputComponent as ɵo, AutocompleteInputComponent as ɵp, CheckboxInputComponent as ɵq, ScrollContainerComponent as ɵr, NoopComponent as ɵs, SwitchCaseOption as ɵt, SwitchCaseWhenDirective as ɵu, SwitchCaseDefaultDirective as ɵv, SwitchCaseComponent as ɵw, FocusContainerComponent as ɵx, VerticalFocusContainerComponent as ɵy, FocusableComponent as ɵz };
6711
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandDirective, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TemplateCellRendererPortalRef, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0, DirectivesModule as ɵa, CommandDirective as ɵb, EditRowControls as ɵba, ColumnTemplateDirective as ɵbb, DefaultCellRendererComponent as ɵbc, TableCellRendererComponent as ɵbd, SelectCellRendererComponent as ɵbe, SelectHeaderCellRendererComponent as ɵbf, DefaultHeaderCellRendererComponent as ɵbg, TableHeaderCellRendererComponent as ɵbh, MultipleSelectInputComponent as ɵbi, IconComponent as ɵbj, SectionHeaderComponent as ɵbk, PlaceModule as ɵbl, ComponentsModule as ɵbm, EmptyStateComponent as ɵbn, BusyOverlayComponent as ɵbo, PlaceOutletComponent as ɵbp, leftRightPlaceAnimation as ɵbq, LEFT_RIGHT_PLACE_ANIMATION as ɵbr, AUP_PLACE_CONFIG as ɵbs, PlaceRouter as ɵbu, InteractionService as ɵbv, ModalInteractionContextFactory as ɵbw, UrlService as ɵbx, PlaceHistory as ɵby, TabbedPlaceNavigationComponent as ɵbz, FocusBindingDirective as ɵc, AbstractPlaceNavigationComponent as ɵca, ListPlaceNavComponent as ɵcb, SidePlaceNavigationComponent as ɵcc, InteractionModule as ɵcd, ActivityContainerComponent as ɵce, AbstractInteractionContext as ɵcf, ActivityOutletComponent as ɵcg, ConfirmationDialogComponent as ɵch, ACTIVITY_DATA as ɵci, Activity as ɵcj, ConfirmThenDialogComponent as ɵcl, AlertDialogComponent as ɵcm, InPlaceInteractionContextComponent as ɵco, AddItemInteractionContextComponent as ɵcp, ActivityActionsComponent as ɵcq, PopupInteractionContextComponent as ɵcr, StringInputActivity as ɵcs, AbstractInputActivity as ɵct, SelectInputActivity as ɵcu, InteractionContextTriggerFor as ɵcv, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractValueInputComponent as ɵh, AbstractListInputComponent as ɵi, NumberInputComponent as ɵj, StringInputComponent as ɵk, TextInputComponent as ɵl, PasswordInputComponent as ɵm, SelectInputComponent as ɵn, CheckboxInputComponent as ɵo, ScrollContainerComponent as ɵp, NoopComponent as ɵq, SwitchCaseOption as ɵr, SwitchCaseWhenDirective as ɵs, SwitchCaseDefaultDirective as ɵt, SwitchCaseComponent as ɵu, FocusContainerComponent as ɵv, VerticalFocusContainerComponent as ɵw, FocusableComponent as ɵx, CardContainerComponent as ɵy, TableComponent as ɵz };
6913
6712
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map