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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/assets/form.scss +5 -2
  2. package/assets/interaction.scss +6 -7
  3. package/bundles/coolon-angular-ui-powerups.umd.js +323 -57
  4. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  5. package/coolon-angular-ui-powerups.metadata.json +1 -1
  6. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  7. package/esm2015/lib/components/components.module.js +4 -1
  8. package/esm2015/lib/components/components.module.js.map +1 -1
  9. package/esm2015/lib/components/components.module.metadata.json +1 -1
  10. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  11. package/esm2015/lib/components/exports.js +1 -0
  12. package/esm2015/lib/components/exports.js.map +1 -1
  13. package/esm2015/lib/components/exports.metadata.json +1 -1
  14. package/esm2015/lib/components/forms/abstract-input.component.js +1 -0
  15. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  16. package/esm2015/lib/components/labelled-value/labelled-value.component.js +22 -0
  17. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +1 -0
  18. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +1 -0
  19. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +1 -0
  20. package/esm2015/lib/components/labelled-value/labelled-value.component.scss.shim.ngstyle.js.map +1 -0
  21. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -11
  22. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  23. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  24. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +1 -1
  25. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -1
  26. package/esm2015/lib/interaction/components/editors/edit-context.js +2 -0
  27. package/esm2015/lib/interaction/components/editors/edit-context.js.map +1 -0
  28. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +1 -0
  29. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +28 -0
  30. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +1 -0
  31. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +1 -0
  32. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +160 -0
  33. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +1 -0
  34. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +1 -0
  35. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +1 -0
  36. package/esm2015/lib/interaction/components/input-activities/input-activity.js +71 -0
  37. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +1 -0
  38. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +1 -0
  39. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +1 -0
  40. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -3
  41. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  42. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  43. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +3 -4
  44. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  45. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  46. package/esm2015/lib/interaction/exports.js +4 -3
  47. package/esm2015/lib/interaction/exports.js.map +1 -1
  48. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  49. package/esm2015/lib/interaction/interaction.module.js +5 -2
  50. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  51. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  52. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  53. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  54. package/fesm2015/coolon-angular-ui-powerups.js +260 -29
  55. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  56. package/lib/components/exports.d.ts +1 -0
  57. package/lib/components/labelled-value/labelled-value.component.d.ts +7 -0
  58. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +14 -3
  59. package/lib/interaction/components/editors/edit-context.d.ts +3 -0
  60. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +18 -0
  61. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +56 -0
  62. package/lib/interaction/components/input-activities/input-activity.d.ts +33 -0
  63. package/lib/interaction/components/input-activities/select-input-activity.d.ts +11 -3
  64. package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -2
  65. package/lib/interaction/exports.d.ts +4 -3
  66. package/package.json +1 -1
  67. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +0 -43
  68. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
  69. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +0 -1
  70. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
  71. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +0 -2
  72. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
  73. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +0 -1
  74. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +0 -2
  75. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
  76. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +0 -1
  77. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +0 -12
  78. package/lib/interaction/components/input-activities/input-activity-data.d.ts +0 -11
  79. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"place.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '../directives/highlight-text-model.directive';\nimport * as i16 from '@angular/flex-layout/flex';\nimport * as i17 from '../components/forms/number-input/number-input.component';\nimport * as i18 from '../components/forms/string-input/string-input.component';\nimport * as i19 from '../components/forms/text-input/text-input.component';\nimport * as i20 from '../components/forms/password-input/password-input.component';\nimport * as i21 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i22 from '../components/forms/select-input/select-input.component';\nimport * as i23 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i24 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i25 from '../components/scroll-container/scroll-container.component';\nimport * as i26 from '../components/noop/noop.component';\nimport * as i27 from '../components/switch-case/switch-case.component';\nimport * as i28 from '../components/focus-container/focus-container.component';\nimport * as i29 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i30 from '../components/focusable.component';\nimport * as i31 from '../components/cards/card-container/card-container.component';\nimport * as i32 from '../components/tables/table/table.component';\nimport * as i33 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i34 from '../components/tables/table/column-template/column-template.directive';\nimport * as i35 from '../components/icon/icon.component';\nimport * as i36 from '../components/section-header/section-header.component';\nimport * as i37 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i38 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i39 from '../components/commands/command/command.component';\nimport * as i40 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i41 from '../components/commands/command-face/command-face.component';\nimport * as i42 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i43 from '../components/commands/separator.component';\nimport * as i44 from '../components/commands/flex.component';\nimport * as i45 from '../components/tables/tree-table/tree-table-component';\nimport * as i46 from '../components/busy-overlay/busy-overlay.component';\nimport * as i47 from '../components/empty-state/empty-state.component';\nimport * as i48 from '../components/tables/table/paginator/paginator.component';\nimport * as i49 from '../components/cards/card-stack/card-stack.component';\nimport * as i50 from '@angular/cdk/portal';\nimport * as i51 from './components/place-outlet/place-outlet.component';\nimport * as i52 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i53 from './components/list-place-nav/list-place-nav.component';\nimport * as i54 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i55 from './components/abstract-place-navigation.component';\nimport * as i56 from './components/not-authorised-notice/not-authorised-notice.component';\nimport * as i57 from '../directives/highlight.pipe';\nimport * as i58 from '@angular/platform-browser/animations';\nimport * as i59 from '../directives/directives.module';\nimport * as i60 from '../components/components.module';\nexport const PlaceModuleNgFactory:i0.NgModuleFactory<i1.PlaceModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any,any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatProgressSpinner = (<any>(null as any));\nvar _decl0_13:i4.MatSpinner = (<any>(null as any));\nvar _decl0_14:i5.RouterOutlet = (<any>(null as any));\nvar _decl0_15:i5.RouterLink = (<any>(null as any));\nvar _decl0_16:i5.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_17:i5.RouterLinkActive = (<any>(null as any));\nvar _decl0_18:i5.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.MatLine = (<any>(null as any));\nvar _decl0_26:i7.MatPseudoCheckbox = (<any>(null as any));\nvar _decl0_27:i8.MatDivider = (<any>(null as any));\nvar _decl0_28:i9.MatList = (<any>(null as any));\nvar _decl0_29:i9.MatNavList = (<any>(null as any));\nvar _decl0_30:i9.MatListItem = (<any>(null as any));\nvar _decl0_31:i9.MatListAvatarCssMatStyler = (<any>(null as any));\nvar _decl0_32:i9.MatListIconCssMatStyler = (<any>(null as any));\nvar _decl0_33:i9.MatListSubheaderCssMatStyler = (<any>(null as any));\nvar _decl0_34:i9.MatSelectionList = (<any>(null as any));\nvar _decl0_35:i9.MatListOption = (<any>(null as any));\nvar _decl0_36:i10.CdkScrollable = (<any>(null as any));\nvar _decl0_37:i11.MatTooltip = (<any>(null as any));\nvar _decl0_38:i11.TooltipComponent = (<any>(null as any));\nvar _decl0_39:i12.MatIcon = (<any>(null as any));\nvar _decl0_40:i13.CommandDirective<any> = (<any>(null as any));\nvar _decl0_41:i14.FocusBindingDirective = (<any>(null as any));\nvar _decl0_42:i15.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_43:i16.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_44:i16.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_45:i16.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_46:i16.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_47:i16.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_48:i16.FlexFillDirective = (<any>(null as any));\nvar _decl0_49:i16.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_50:i16.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_51:i17.NumberInputComponent = (<any>(null as any));\nvar _decl0_52:i18.StringInputComponent = (<any>(null as any));\nvar _decl0_53:i19.TextInputComponent = (<any>(null as any));\nvar _decl0_54:i20.PasswordInputComponent = (<any>(null as any));\nvar _decl0_55:i21.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_56:i22.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_57:i23.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_58:i24.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_59:i25.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_60:i26.NoopComponent = (<any>(null as any));\nvar _decl0_61:i27.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_62:i27.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_63:i27.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_64:i28.FocusContainerComponent = (<any>(null as any));\nvar _decl0_65:i29.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_66:i30.FocusableComponent = (<any>(null as any));\nvar _decl0_67:i31.CardContainerComponent = (<any>(null as any));\nvar _decl0_68:i32.TableComponent<any> = (<any>(null as any));\nvar _decl0_69:i33.EditRowControls<any> = (<any>(null as any));\nvar _decl0_70:i34.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_71:i35.IconComponent = (<any>(null as any));\nvar _decl0_72:i36.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_73:i37.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_74:i38.ToolBarComponent = (<any>(null as any));\nvar _decl0_75:i39.CommandComponent = (<any>(null as any));\nvar _decl0_76:i40.PopupMenuComponent = (<any>(null as any));\nvar _decl0_77:i41.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_78:i42.MoreMenuComponent = (<any>(null as any));\nvar _decl0_79:i43.SeparatorComponent = (<any>(null as any));\nvar _decl0_80:i44.FlexComponent = (<any>(null as any));\nvar _decl0_81:i45.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_82:i46.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_83:i47.EmptyStateComponent = (<any>(null as any));\nvar _decl0_84:i48.PaginatorComponent = (<any>(null as any));\nvar _decl0_85:i49.CardStackComponent = (<any>(null as any));\nvar _decl0_86:i50.CdkPortal = (<any>(null as any));\nvar _decl0_87:i50.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_88:i50.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_89:i50.PortalHostDirective = (<any>(null as any));\nvar _decl0_90:i51.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_91:i52.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_92:i53.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_93:i54.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_94:i55.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_95:i56.NotAuthorisedNoticeComponent = (<any>(null as any));\nvar _decl0_96:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_97:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_98:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_99:i2.JsonPipe = (<any>(null as any));\nvar _decl0_100:i2.SlicePipe = (<any>(null as any));\nvar _decl0_101:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_102:i2.PercentPipe = (<any>(null as any));\nvar _decl0_103:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_104:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_105:i2.DatePipe = (<any>(null as any));\nvar _decl0_106:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_107:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_108:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_109:i57.HighlightPipe = (<any>(null as any));\nvar _decl0_110:i2.CommonModule = (<any>(null as any));\nvar _decl0_111:i58.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_112:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_113:i5.RouterModule = (<any>(null as any));\nvar _decl0_114:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_115:i9.MatListModule = (<any>(null as any));\nvar _decl0_116:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_117:i12.MatIconModule = (<any>(null as any));\nvar _decl0_118:i59.DirectivesModule = (<any>(null as any));\nvar _decl0_119:i16.FlexModule = (<any>(null as any));\nvar _decl0_120:i60.ComponentsModule = (<any>(null as any));\nvar _decl0_121:i50.PortalModule = (<any>(null as any));\nvar _decl0_122:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_123:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_PlaceOutletComponent_Host_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_90.isAuthorised;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_1_1():void {\n if (_decl0_90.animationEnabled.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_90.getAnimationOrder(),params:{duration:_decl0_90.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_90.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_90.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_90.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_90.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_1_2():void {\n if (!_decl0_90.animationEnabled.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_90.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_90.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_1_4():void {\n if (!_decl0_90.authorised.value) { var _any:any = (null as any); }\n}\nfunction _View_PlaceOutletComponent_1_3():void {\n if (!_decl0_90.authorised.value) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_90.notAuthorisedNoticePortal;\n currVal_0;\n }\n}\nfunction _View_PlaceOutletComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_90.animationEnabled.value;\n currVal_0;\n const currVal_1:any = !_decl0_90.animationEnabled.value;\n currVal_1;\n const currVal_2:any = !_decl0_90.authorised.value;\n currVal_2;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_2_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _any.active;\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_91.getNavigationFace(_any.place).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_91.commandFactory.create(_any.place);\n currVal_7;\n const currVal_8:any = [_decl0_91.getNavigationFace(_any.place)];\n currVal_8;\n const currVal_9:any = _decl0_77.requiresMissingIconInLayout;\n currVal_9;\n const currVal_10:any = _decl0_77.color;\n currVal_10;\n const pd_11:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_91.menuItems.value;\n currVal_5;\n const currVal_6:any = _decl0_91.trackByPlaceDef;\n currVal_6;\n}\nfunction _View_ListPlaceNavComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ListPlaceNavComponent_3_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_92.getNavigationFace(_any.place).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_92.commandFactory.create(_any.place);\n currVal_4;\n const currVal_5:any = _any.active;\n currVal_5;\n const currVal_6:any = [_decl0_92.getNavigationFace(_any.place)];\n currVal_6;\n const currVal_7:any = _decl0_77.requiresMissingIconInLayout;\n currVal_7;\n const currVal_8:any = _decl0_77.color;\n currVal_8;\n const pd_9:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_92.menuItems.value;\n currVal_1;\n const currVal_2:any = _decl0_92.trackByPlaceDef;\n currVal_2;\n}\nfunction _View_SidePlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_4_2():void {\n if (_decl0_93.getNavigationFace(_any.place).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.getNavigationFace(_any.place).icon();\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_93.getNavigationFace(_any.place).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_93.commandFactory.create(_any.place);\n currVal_4;\n const currVal_5:any = _any.active;\n currVal_5;\n const currVal_6:any = _decl0_93.getNavigationFace(_any.place).icon();\n currVal_6;\n const currVal_7:any = _decl0_93.getNavigationFace(_any.place).text();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_4_3():void {\n if (_decl0_93.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_93.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = 'mat:menu';\n currVal_3;\n const currVal_4:any = 'mat:arrow_back';\n currVal_4;\n const currVal_5:any = _decl0_93.menuItems.value;\n currVal_5;\n const currVal_6:any = _decl0_93.trackByPlaceDef;\n currVal_6;\n const currVal_7:any = 1;\n currVal_7;\n const currVal_8:any = _decl0_93.navEndTemplate;\n currVal_8;\n const pd_9:any = ((<any>_decl0_93.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NotAuthorisedNoticeComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NotAuthorisedNoticeComponent_6_0():void {\n var _any:any = (null as any);\n}\n"]}
1
+ {"version":3,"file":"place.module.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '../directives/highlight-text-model.directive';\nimport * as i16 from '@angular/flex-layout/flex';\nimport * as i17 from '../components/forms/number-input/number-input.component';\nimport * as i18 from '../components/forms/string-input/string-input.component';\nimport * as i19 from '../components/forms/text-input/text-input.component';\nimport * as i20 from '../components/forms/password-input/password-input.component';\nimport * as i21 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i22 from '../components/forms/select-input/select-input.component';\nimport * as i23 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i24 from '../components/forms/autocomplete-input/autocomplete-input.component';\nimport * as i25 from '../components/scroll-container/scroll-container.component';\nimport * as i26 from '../components/noop/noop.component';\nimport * as i27 from '../components/switch-case/switch-case.component';\nimport * as i28 from '../components/focus-container/focus-container.component';\nimport * as i29 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i30 from '../components/focusable.component';\nimport * as i31 from '../components/cards/card-container/card-container.component';\nimport * as i32 from '../components/tables/table/table.component';\nimport * as i33 from '../components/tables/table/edit-row-controls/edit-row-controls.component';\nimport * as i34 from '../components/tables/table/column-template/column-template.directive';\nimport * as i35 from '../components/icon/icon.component';\nimport * as i36 from '../components/section-header/section-header.component';\nimport * as i37 from '../components/tables/table/table-row-menu/table-row-menu.component';\nimport * as i38 from '../components/commands/group/tool-bar/tool-bar.component';\nimport * as i39 from '../components/commands/command/command.component';\nimport * as i40 from '../components/commands/group/popup-menu/popup-menu.component';\nimport * as i41 from '../components/commands/command-face/command-face.component';\nimport * as i42 from '../components/commands/group/popup-menu/more-menu.component';\nimport * as i43 from '../components/commands/separator.component';\nimport * as i44 from '../components/commands/flex.component';\nimport * as i45 from '../components/tables/tree-table/tree-table-component';\nimport * as i46 from '../components/busy-overlay/busy-overlay.component';\nimport * as i47 from '../components/empty-state/empty-state.component';\nimport * as i48 from '../components/tables/table/paginator/paginator.component';\nimport * as i49 from '../components/cards/card-stack/card-stack.component';\nimport * as i50 from '../components/labelled-value/labelled-value.component';\nimport * as i51 from '@angular/cdk/portal';\nimport * as i52 from './components/place-outlet/place-outlet.component';\nimport * as i53 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i54 from './components/list-place-nav/list-place-nav.component';\nimport * as i55 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i56 from './components/abstract-place-navigation.component';\nimport * as i57 from './components/not-authorised-notice/not-authorised-notice.component';\nimport * as i58 from '../directives/highlight.pipe';\nimport * as i59 from '@angular/platform-browser/animations';\nimport * as i60 from '../directives/directives.module';\nimport * as i61 from '../components/components.module';\nexport const PlaceModuleNgFactory:i0.NgModuleFactory<i1.PlaceModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any,any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf<any> = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Dir = (<any>(null as any));\nvar _decl0_12:i4.MatProgressSpinner = (<any>(null as any));\nvar _decl0_13:i4.MatSpinner = (<any>(null as any));\nvar _decl0_14:i5.RouterOutlet = (<any>(null as any));\nvar _decl0_15:i5.RouterLink = (<any>(null as any));\nvar _decl0_16:i5.RouterLinkWithHref = (<any>(null as any));\nvar _decl0_17:i5.RouterLinkActive = (<any>(null as any));\nvar _decl0_18:i5.ɵangular_packages_router_router_l = (<any>(null as any));\nvar _decl0_19:i6.MatTabGroup = (<any>(null as any));\nvar _decl0_20:i6.MatTabLabel = (<any>(null as any));\nvar _decl0_21:i6.MatTab = (<any>(null as any));\nvar _decl0_22:i6.MatTabNav = (<any>(null as any));\nvar _decl0_23:i6.MatTabLink = (<any>(null as any));\nvar _decl0_24:i6.MatTabContent = (<any>(null as any));\nvar _decl0_25:i7.MatLine = (<any>(null as any));\nvar _decl0_26:i7.MatPseudoCheckbox = (<any>(null as any));\nvar _decl0_27:i8.MatDivider = (<any>(null as any));\nvar _decl0_28:i9.MatList = (<any>(null as any));\nvar _decl0_29:i9.MatNavList = (<any>(null as any));\nvar _decl0_30:i9.MatListItem = (<any>(null as any));\nvar _decl0_31:i9.MatListAvatarCssMatStyler = (<any>(null as any));\nvar _decl0_32:i9.MatListIconCssMatStyler = (<any>(null as any));\nvar _decl0_33:i9.MatListSubheaderCssMatStyler = (<any>(null as any));\nvar _decl0_34:i9.MatSelectionList = (<any>(null as any));\nvar _decl0_35:i9.MatListOption = (<any>(null as any));\nvar _decl0_36:i10.CdkScrollable = (<any>(null as any));\nvar _decl0_37:i11.MatTooltip = (<any>(null as any));\nvar _decl0_38:i11.TooltipComponent = (<any>(null as any));\nvar _decl0_39:i12.MatIcon = (<any>(null as any));\nvar _decl0_40:i13.CommandDirective<any> = (<any>(null as any));\nvar _decl0_41:i14.FocusBindingDirective = (<any>(null as any));\nvar _decl0_42:i15.HighlightTextModelDirective = (<any>(null as any));\nvar _decl0_43:i16.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_44:i16.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_45:i16.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_46:i16.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_47:i16.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_48:i16.FlexFillDirective = (<any>(null as any));\nvar _decl0_49:i16.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_50:i16.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_51:i17.NumberInputComponent = (<any>(null as any));\nvar _decl0_52:i18.StringInputComponent = (<any>(null as any));\nvar _decl0_53:i19.TextInputComponent = (<any>(null as any));\nvar _decl0_54:i20.PasswordInputComponent = (<any>(null as any));\nvar _decl0_55:i21.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_56:i22.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_57:i23.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_58:i24.AutocompleteInputComponent<any> = (<any>(null as any));\nvar _decl0_59:i25.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_60:i26.NoopComponent = (<any>(null as any));\nvar _decl0_61:i27.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_62:i27.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_63:i27.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_64:i28.FocusContainerComponent = (<any>(null as any));\nvar _decl0_65:i29.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_66:i30.FocusableComponent = (<any>(null as any));\nvar _decl0_67:i31.CardContainerComponent = (<any>(null as any));\nvar _decl0_68:i32.TableComponent<any> = (<any>(null as any));\nvar _decl0_69:i33.EditRowControls<any> = (<any>(null as any));\nvar _decl0_70:i34.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_71:i35.IconComponent = (<any>(null as any));\nvar _decl0_72:i36.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_73:i37.TableRowMenuComponent<any> = (<any>(null as any));\nvar _decl0_74:i38.ToolBarComponent = (<any>(null as any));\nvar _decl0_75:i39.CommandComponent = (<any>(null as any));\nvar _decl0_76:i40.PopupMenuComponent = (<any>(null as any));\nvar _decl0_77:i41.CommandFaceComponent<any> = (<any>(null as any));\nvar _decl0_78:i42.MoreMenuComponent = (<any>(null as any));\nvar _decl0_79:i43.SeparatorComponent = (<any>(null as any));\nvar _decl0_80:i44.FlexComponent = (<any>(null as any));\nvar _decl0_81:i45.TreeTableComponent<any> = (<any>(null as any));\nvar _decl0_82:i46.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_83:i47.EmptyStateComponent = (<any>(null as any));\nvar _decl0_84:i48.PaginatorComponent = (<any>(null as any));\nvar _decl0_85:i49.CardStackComponent = (<any>(null as any));\nvar _decl0_86:i50.LabelledValueComponent = (<any>(null as any));\nvar _decl0_87:i51.CdkPortal = (<any>(null as any));\nvar _decl0_88:i51.CdkPortalOutlet = (<any>(null as any));\nvar _decl0_89:i51.TemplatePortalDirective = (<any>(null as any));\nvar _decl0_90:i51.PortalHostDirective = (<any>(null as any));\nvar _decl0_91:i52.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_92:i53.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_93:i54.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_94:i55.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_95:i56.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_96:i57.NotAuthorisedNoticeComponent = (<any>(null as any));\nvar _decl0_97:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_98:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_99:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_100:i2.JsonPipe = (<any>(null as any));\nvar _decl0_101:i2.SlicePipe = (<any>(null as any));\nvar _decl0_102:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_103:i2.PercentPipe = (<any>(null as any));\nvar _decl0_104:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_105:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_106:i2.DatePipe = (<any>(null as any));\nvar _decl0_107:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_108:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_109:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_110:i58.HighlightPipe = (<any>(null as any));\nvar _decl0_111:i2.CommonModule = (<any>(null as any));\nvar _decl0_112:i59.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_113:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_114:i5.RouterModule = (<any>(null as any));\nvar _decl0_115:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_116:i9.MatListModule = (<any>(null as any));\nvar _decl0_117:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_118:i12.MatIconModule = (<any>(null as any));\nvar _decl0_119:i60.DirectivesModule = (<any>(null as any));\nvar _decl0_120:i16.FlexModule = (<any>(null as any));\nvar _decl0_121:i61.ComponentsModule = (<any>(null as any));\nvar _decl0_122:i51.PortalModule = (<any>(null as any));\nvar _decl0_123:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_124:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_PlaceOutletComponent_Host_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_91.isAuthorised;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_1_1():void {\n if (_decl0_91.animationEnabled.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_91.getAnimationOrder(),params:{duration:_decl0_91.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_91.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_91.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_91.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_91.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_1_2():void {\n if (!_decl0_91.animationEnabled.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_91.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_91.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_1_4():void {\n if (!_decl0_91.authorised.value) { var _any:any = (null as any); }\n}\nfunction _View_PlaceOutletComponent_1_3():void {\n if (!_decl0_91.authorised.value) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_91.notAuthorisedNoticePortal;\n currVal_0;\n }\n}\nfunction _View_PlaceOutletComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_91.animationEnabled.value;\n currVal_0;\n const currVal_1:any = !_decl0_91.animationEnabled.value;\n currVal_1;\n const currVal_2:any = !_decl0_91.authorised.value;\n currVal_2;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_2_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _any.active;\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_92.getNavigationFace(_any.place).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_92.commandFactory.create(_any.place);\n currVal_7;\n const currVal_8:any = [_decl0_92.getNavigationFace(_any.place)];\n currVal_8;\n const currVal_9:any = _decl0_77.requiresMissingIconInLayout;\n currVal_9;\n const currVal_10:any = _decl0_77.color;\n currVal_10;\n const pd_11:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_92.menuItems.value;\n currVal_5;\n const currVal_6:any = _decl0_92.trackByPlaceDef;\n currVal_6;\n}\nfunction _View_ListPlaceNavComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ListPlaceNavComponent_3_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_93.getNavigationFace(_any.place).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_93.commandFactory.create(_any.place);\n currVal_4;\n const currVal_5:any = _any.active;\n currVal_5;\n const currVal_6:any = [_decl0_93.getNavigationFace(_any.place)];\n currVal_6;\n const currVal_7:any = _decl0_77.requiresMissingIconInLayout;\n currVal_7;\n const currVal_8:any = _decl0_77.color;\n currVal_8;\n const pd_9:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_93.menuItems.value;\n currVal_1;\n const currVal_2:any = _decl0_93.trackByPlaceDef;\n currVal_2;\n}\nfunction _View_SidePlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_4_2():void {\n if (_decl0_94.getNavigationFace(_any.place).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.getNavigationFace(_any.place).icon();\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_94.getNavigationFace(_any.place).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_94.commandFactory.create(_any.place);\n currVal_4;\n const currVal_5:any = _any.active;\n currVal_5;\n const currVal_6:any = _decl0_94.getNavigationFace(_any.place).icon();\n currVal_6;\n const currVal_7:any = _decl0_94.getNavigationFace(_any.place).text();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_4_3():void {\n if (_decl0_94.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_94.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = 'mat:menu';\n currVal_3;\n const currVal_4:any = 'mat:arrow_back';\n currVal_4;\n const currVal_5:any = _decl0_94.menuItems.value;\n currVal_5;\n const currVal_6:any = _decl0_94.trackByPlaceDef;\n currVal_6;\n const currVal_7:any = 1;\n currVal_7;\n const currVal_8:any = _decl0_94.navEndTemplate;\n currVal_8;\n const pd_9:any = ((<any>_decl0_94.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NotAuthorisedNoticeComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NotAuthorisedNoticeComponent_6_0():void {\n var _any:any = (null as any);\n}\n"]}
@@ -1308,6 +1308,7 @@ class AbstractInputComponent extends DisposableComponent {
1308
1308
  constructor() {
1309
1309
  super();
1310
1310
  this.onValueEditedListeners = new EventListenerList();
1311
+ this.userFloatLabel = 'always'; // TODO: make this an injectable default
1311
1312
  this.dense = false;
1312
1313
  // TODO: fix this.
1313
1314
  // tslint:disable-next-line:no-output-native
@@ -4005,6 +4006,26 @@ __decorate([
4005
4006
  __metadata("design:type", PageController)
4006
4007
  ], PaginatorComponent.prototype, "pageController", void 0);
4007
4008
 
4009
+ class LabelledValueComponent extends DisposableComponent {
4010
+ constructor() {
4011
+ super();
4012
+ // const {chain} = Dsl.disposeWith(this);
4013
+ }
4014
+ ngOnInit() {
4015
+ }
4016
+ }
4017
+ LabelledValueComponent.decorators = [
4018
+ { type: Component, args: [{
4019
+ selector: 'aup-labelled-value',
4020
+ template: "<label>{{label}}</label>\n<ng-content></ng-content>\n",
4021
+ styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:rgba(0,0,0,.57);margin-bottom:6px;white-space:nowrap}"]
4022
+ },] }
4023
+ ];
4024
+ LabelledValueComponent.ctorParameters = () => [];
4025
+ LabelledValueComponent.propDecorators = {
4026
+ label: [{ type: Input }]
4027
+ };
4028
+
4008
4029
  class ComponentsModule {
4009
4030
  constructor(faIconLibrary) {
4010
4031
  faIconLibrary.addIconPacks(fas);
@@ -4084,7 +4105,8 @@ ComponentsModule.decorators = [
4084
4105
  PaginatorComponent,
4085
4106
  AbstractTableComponent,
4086
4107
  AbstractCardContainerComponent,
4087
- CardStackComponent
4108
+ CardStackComponent,
4109
+ LabelledValueComponent
4088
4110
  ],
4089
4111
  exports: [
4090
4112
  NumberInputComponent,
@@ -4122,6 +4144,7 @@ ComponentsModule.decorators = [
4122
4144
  EmptyStateComponent,
4123
4145
  PaginatorComponent,
4124
4146
  CardStackComponent,
4147
+ LabelledValueComponent,
4125
4148
  ],
4126
4149
  providers: [
4127
4150
  FocusBindingFactory
@@ -4157,7 +4180,8 @@ class ActivityActionsComponent extends DisposableComponent {
4157
4180
  constructor(cdr) {
4158
4181
  super();
4159
4182
  this.cdr = cdr;
4160
- this.align = 'stretch';
4183
+ this.layout = ActivityActionsComponent.Layout.BLOCK;
4184
+ this.align = ActivityActionsComponent.Align.STRETCH;
4161
4185
  }
4162
4186
  set faces(faces) {
4163
4187
  this.confirmFace = faces.confirm;
@@ -4169,12 +4193,6 @@ class ActivityActionsComponent extends DisposableComponent {
4169
4193
  set style(style) {
4170
4194
  this.faces = style;
4171
4195
  }
4172
- get alignEnd() {
4173
- return this.align === 'end';
4174
- }
4175
- get alignStretch() {
4176
- return this.align === 'stretch';
4177
- }
4178
4196
  ngOnInit() {
4179
4197
  }
4180
4198
  hasConfirmFace() {
@@ -4193,7 +4211,7 @@ ActivityActionsComponent.decorators = [
4193
4211
  { type: Component, args: [{
4194
4212
  selector: 'aup-activity-actions',
4195
4213
  template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n",
4196
- styles: [":host{display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}"]
4214
+ styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr;padding:0}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}"]
4197
4215
  },] }
4198
4216
  ];
4199
4217
  ActivityActionsComponent.ctorParameters = () => [
@@ -4206,9 +4224,8 @@ ActivityActionsComponent.propDecorators = {
4206
4224
  confirmFace: [{ type: Input }],
4207
4225
  cancelFace: [{ type: Input }],
4208
4226
  style: [{ type: Input }],
4209
- align: [{ type: Input }],
4210
- alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
4211
- alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
4227
+ layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
4228
+ align: [{ type: Input }, { type: HostBinding, args: ['attr.align',] }]
4212
4229
  };
4213
4230
  __decorate([
4214
4231
  TrackExternal(),
@@ -4218,6 +4235,17 @@ __decorate([
4218
4235
  TrackExternal(),
4219
4236
  __metadata("design:type", Command)
4220
4237
  ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
4238
+ (function (ActivityActionsComponent) {
4239
+ ActivityActionsComponent.Layout = Enum({
4240
+ INLINE: 'inline',
4241
+ BLOCK: 'block'
4242
+ });
4243
+ ActivityActionsComponent.Align = Enum({
4244
+ START: 'start',
4245
+ END: 'end',
4246
+ STRETCH: 'stretch'
4247
+ });
4248
+ })(ActivityActionsComponent || (ActivityActionsComponent = {}));
4221
4249
 
4222
4250
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
4223
4251
  class Activity extends DisposableComponent {
@@ -5178,7 +5206,7 @@ AddCardActivityComponent.decorators = [
5178
5206
  { type: Component, args: [{
5179
5207
  selector: 'aup-add-card-activity',
5180
5208
  template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n",
5181
- styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host[interactionStyle=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[interactionStyle=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}"]
5209
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[interactionStyle=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}"]
5182
5210
  },] }
5183
5211
  ];
5184
5212
  AddCardActivityComponent.ctorParameters = () => [
@@ -5437,7 +5465,7 @@ InteractionContextTriggerFor.propDecorators = {
5437
5465
  // @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
5438
5466
  // we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
5439
5467
  // @dynamic
5440
- class AbstractInputActivity extends Activity {
5468
+ class InputActivity extends Activity {
5441
5469
  constructor(data) {
5442
5470
  super();
5443
5471
  this.data = data;
@@ -5445,36 +5473,62 @@ class AbstractInputActivity extends Activity {
5445
5473
  const form = new DirtyTrackingForm();
5446
5474
  this.valueModel = form.valueModel(this.data.initialValue);
5447
5475
  this.valueModel.validateUsing(data.validators || []);
5448
- this.confirmCommand = Command.create(() => {
5476
+ this.confirmCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5449
5477
  if (this.valueModel.validate()) {
5450
5478
  if (data.save) {
5451
- return Promise.resolve(data.save(this.valueModel, this.interactionContext))
5452
- .then(() => this.done());
5479
+ const self = this;
5480
+ try {
5481
+ let allGood = true;
5482
+ const result = yield data.save(this.valueModel.value, {
5483
+ injectError(error) {
5484
+ allGood = false;
5485
+ self.valueModel.injectErrors([error]);
5486
+ }
5487
+ });
5488
+ if (allGood) {
5489
+ this.done(this.valueModel.value);
5490
+ }
5491
+ }
5492
+ catch (e) {
5493
+ // don't care, just hide error messages
5494
+ }
5453
5495
  }
5454
5496
  else {
5455
5497
  this.done(this.valueModel.value);
5456
5498
  }
5457
5499
  }
5458
- });
5500
+ }));
5459
5501
  this.cancelCommand = Command.create(() => {
5460
5502
  this.cancel();
5461
5503
  });
5504
+ this.busyWhile(this.confirmCommand.busy);
5505
+ }
5506
+ get layout() {
5507
+ var _a, _b;
5508
+ return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.layout) !== null && _b !== void 0 ? _b : InputActivity.Layout.BLOCK;
5462
5509
  }
5463
5510
  onActivityReady() {
5464
5511
  this.valueModel.focusContext.requestFocus();
5465
5512
  }
5466
5513
  }
5467
- AbstractInputActivity.decorators = [
5514
+ InputActivity.decorators = [
5468
5515
  { type: Component, args: [{ template: `` },] }
5469
5516
  ];
5470
- AbstractInputActivity.ctorParameters = () => [
5517
+ InputActivity.ctorParameters = () => [
5471
5518
  { type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
5472
5519
  ];
5473
- AbstractInputActivity.propDecorators = {
5474
- class: [{ type: HostBinding, args: ['class',] }]
5520
+ InputActivity.propDecorators = {
5521
+ class: [{ type: HostBinding, args: ['class',] }],
5522
+ layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }]
5475
5523
  };
5524
+ (function (InputActivity) {
5525
+ InputActivity.Layout = Enum({
5526
+ INLINE: 'inline',
5527
+ BLOCK: 'block'
5528
+ });
5529
+ })(InputActivity || (InputActivity = {}));
5476
5530
 
5477
- class StringInputActivity extends AbstractInputActivity {
5531
+ class StringInputActivity extends InputActivity {
5478
5532
  }
5479
5533
  StringInputActivity.decorators = [
5480
5534
  { type: Component, args: [{
@@ -5485,13 +5539,12 @@ StringInputActivity.decorators = [
5485
5539
  [placeholder]="data.placeholder"
5486
5540
  [command.enter]="confirmCommand"
5487
5541
  [command.escape]="cancelCommand"></aup-string-input>
5488
- <aup-activity-actions align="end"
5489
- [faces]="data.buttonStyle"></aup-activity-actions>
5542
+ <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"></aup-activity-actions>
5490
5543
  `
5491
5544
  },] }
5492
5545
  ];
5493
5546
 
5494
- class SelectInputActivity extends AbstractInputActivity {
5547
+ class SelectInputActivity extends InputActivity {
5495
5548
  constructor() {
5496
5549
  super(...arguments);
5497
5550
  this.defaultOptionLabelFormat = (option) => {
@@ -5519,7 +5572,7 @@ SelectInputActivity.decorators = [
5519
5572
  [options]="options"
5520
5573
  [optionLabelFormat]="optionLabelFormat"
5521
5574
  ></aup-select-input>
5522
- <aup-activity-actions align="end" [faces]="data.buttonStyle"
5575
+ <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"
5523
5576
  ></aup-activity-actions>
5524
5577
  `
5525
5578
  },] }
@@ -5679,6 +5732,182 @@ PopupActivityTriggerComponent.propDecorators = {
5679
5732
  _interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5680
5733
  };
5681
5734
 
5735
+ class InlineEditorModel {
5736
+ constructor(valueModel, saveCallback) {
5737
+ this.valueModel = valueModel;
5738
+ this.saveCallback = saveCallback;
5739
+ this.editing = new MutableValueModel(false);
5740
+ this._validators = new MutableListModel();
5741
+ }
5742
+ get validators() {
5743
+ return this._validators.readonly;
5744
+ }
5745
+ validateUsing(validator) {
5746
+ this._validators.push(validator);
5747
+ return this;
5748
+ }
5749
+ ;
5750
+ isEditing() {
5751
+ return this.editing.value;
5752
+ }
5753
+ }
5754
+ (function (InlineEditorModel) {
5755
+ function create(valueModel, options) {
5756
+ return new InlineEditorModel(valueModel, options.save);
5757
+ }
5758
+ InlineEditorModel.create = create;
5759
+ })(InlineEditorModel || (InlineEditorModel = {}));
5760
+ TrackExternal.oneTimeBinding(InlineEditorModel);
5761
+
5762
+ /**
5763
+ * @example
5764
+ * const source: ValueModel<string> = ...;
5765
+ * const model = InlineEditorModel.create(source, {
5766
+ * save(updated:string, context: InlineEditorModel.SaveContext) => {
5767
+ * try {
5768
+ * try and save the thing...
5769
+ * } catch(error) {
5770
+ * context.injectError(error)
5771
+ * }
5772
+ * }).validateUsing(Validator.present("We'll need a value");
5773
+ *
5774
+ * # in the view
5775
+ * <aup-inline-string-editor
5776
+ * label="My field"
5777
+ * placeHolder="I'm ready for a string..."
5778
+ * [editorModel]="model"></aup-inline-string-editor>
5779
+ */
5780
+ class InlineStringEditorComponent extends DisposableComponent {
5781
+ constructor(interactionService) {
5782
+ super();
5783
+ const { chain, when, valueOf } = Dsl.disposeWith(this);
5784
+ const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
5785
+ const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
5786
+ return Object.assign(Object.assign({}, InlineStringEditorComponent.DEFAULT_FACES), userFaces);
5787
+ }, { allowNil: true });
5788
+ this.editFaceModel = resolvedFacesModel.pluck('edit');
5789
+ this.saveFace = resolvedFacesModel.pluck('save');
5790
+ this.cancelFace = resolvedFacesModel.pluck('cancel');
5791
+ const self = this;
5792
+ this.editCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5793
+ this.editorModel.editing.value = true;
5794
+ try {
5795
+ yield this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());
5796
+ }
5797
+ catch (e) {
5798
+ // don't care, just hiding the console errors
5799
+ }
5800
+ finally {
5801
+ this.editorModel.editing.value = false;
5802
+ }
5803
+ }));
5804
+ this.onDispose(() => this.cancelEdit());
5805
+ // const txo = new TransactionObserver({ verbose: true }).onEvent(e => console.log(e.name, e.payload));
5806
+ // txo.observe('this.editFace', this.editFaceModel);
5807
+ }
5808
+ ngOnInit() {
5809
+ // our editor model is a one time binding without delegates so we can only
5810
+ // use it once we've been initialised
5811
+ const { chain, when, valueOf } = Dsl.disposeWith(this);
5812
+ if (!this.editorModel) {
5813
+ lang$1.illegalState("editorModel is required");
5814
+ }
5815
+ when(this.editorModel.editing).becomesTruthy(() => {
5816
+ this.editCommand.execute();
5817
+ }, { asLongAs: this.editCommand.enabled });
5818
+ when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());
5819
+ this.empty = valueOf.any(chain.stringValue(this.editorModel.valueModel).isBlank()
5820
+ // deviceDescription.isNil()
5821
+ ).areTruthy();
5822
+ this.displayValue = chain(this.editorModel.valueModel).map(v => {
5823
+ return _.isEmpty(v) ? this.placeHolderModel.value : v;
5824
+ }, { dependsOn: this.placeHolderModel, allowNil: true });
5825
+ }
5826
+ createInputActivityData() {
5827
+ const self = this;
5828
+ return {
5829
+ initialValue: self.editorModel.valueModel.value,
5830
+ buttonStyle: { confirm: self.saveFace.value, cancel: self.cancelFace.value },
5831
+ placeholder: self.placeHolderModel.value,
5832
+ label: self.label,
5833
+ layout: InputActivity.Layout.INLINE,
5834
+ validators: self.editorModel.validators.value,
5835
+ save(value, inputContext) {
5836
+ return __awaiter(this, void 0, void 0, function* () {
5837
+ yield self.editorModel.saveCallback(value, inputContext);
5838
+ });
5839
+ }
5840
+ };
5841
+ }
5842
+ cancelEdit() {
5843
+ if (this.isEditing()) {
5844
+ this.interactionContext.cancelActiveActivity();
5845
+ }
5846
+ }
5847
+ startEdit() {
5848
+ if (!this.isEditing() && this.editCommand.enabled.value) {
5849
+ this.editCommand.execute();
5850
+ }
5851
+ }
5852
+ isEditing() {
5853
+ return this.interactionContext.isActive();
5854
+ }
5855
+ isEmpty() {
5856
+ return this.empty.value;
5857
+ }
5858
+ }
5859
+ InlineStringEditorComponent.decorators = [
5860
+ { type: Component, args: [{
5861
+ selector: 'aup-inline-string-editor',
5862
+ template: "<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"
5863
+ },] }
5864
+ ];
5865
+ InlineStringEditorComponent.ctorParameters = () => [
5866
+ { type: InteractionService }
5867
+ ];
5868
+ InlineStringEditorComponent.propDecorators = {
5869
+ editorModel: [{ type: Input }],
5870
+ facesModel: [{ type: Input }],
5871
+ faces: [{ type: Input }],
5872
+ interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
5873
+ label: [{ type: Input }],
5874
+ placeHolder: [{ type: Input }],
5875
+ placeHolderModel: [{ type: Input }]
5876
+ };
5877
+ __decorate([
5878
+ TrackExternal(),
5879
+ __metadata("design:type", InlineEditorModel)
5880
+ ], InlineStringEditorComponent.prototype, "editorModel", void 0);
5881
+ __decorate([
5882
+ TrackExternal(),
5883
+ __metadata("design:type", ValueModel)
5884
+ ], InlineStringEditorComponent.prototype, "facesModel", void 0);
5885
+ __decorate([
5886
+ StoreInValueModel('facesModel'),
5887
+ __metadata("design:type", Object)
5888
+ ], InlineStringEditorComponent.prototype, "faces", void 0);
5889
+ __decorate([
5890
+ StoreInValueModel('placeHolderModel'),
5891
+ __metadata("design:type", String)
5892
+ ], InlineStringEditorComponent.prototype, "placeHolder", void 0);
5893
+ __decorate([
5894
+ TrackExternal(),
5895
+ __metadata("design:type", ValueModel)
5896
+ ], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
5897
+ (function (InlineStringEditorComponent) {
5898
+ InlineStringEditorComponent.DEFAULT_FACES = {
5899
+ edit: {
5900
+ icon: () => 'mat:edit'
5901
+ },
5902
+ save: {
5903
+ icon: () => 'mat:check'
5904
+ },
5905
+ cancel: {
5906
+ icon: () => 'mat:clear'
5907
+ }
5908
+ };
5909
+ })(InlineStringEditorComponent || (InlineStringEditorComponent = {}));
5910
+
5682
5911
  class InteractionModule {
5683
5912
  }
5684
5913
  InteractionModule.decorators = [
@@ -5708,7 +5937,7 @@ InteractionModule.decorators = [
5708
5937
  PopupInteractionContextComponent,
5709
5938
  StringInputActivity,
5710
5939
  SelectInputActivity,
5711
- AbstractInputActivity,
5940
+ InputActivity,
5712
5941
  InteractionContextTriggerFor,
5713
5942
  Activity,
5714
5943
  ActivityTitleComponent,
@@ -5719,6 +5948,7 @@ InteractionModule.decorators = [
5719
5948
  InlineActivityTriggerComponent,
5720
5949
  ModalActivityTriggerComponent,
5721
5950
  AddCardActivityComponent,
5951
+ InlineStringEditorComponent,
5722
5952
  ],
5723
5953
  exports: [
5724
5954
  ActivityContainerComponent,
@@ -5736,6 +5966,7 @@ InteractionModule.decorators = [
5736
5966
  InlineActivityTriggerComponent,
5737
5967
  ModalActivityTriggerComponent,
5738
5968
  AddCardActivityComponent,
5969
+ InlineStringEditorComponent,
5739
5970
  ],
5740
5971
  entryComponents: [
5741
5972
  ActivityContainerComponent,
@@ -8672,5 +8903,5 @@ VisibilityService.ctorParameters = () => [
8672
8903
  * Generated bundle index. Do not edit.
8673
8904
  */
8674
8905
 
8675
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CardStackComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator, ɵ0 };
8906
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CardStackComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator, ɵ0 };
8676
8907
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map