@coolon/angular-ui-powerups 1.20.0 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +82 -47
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/components.module.js +3 -1
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js +3 -3
- package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js +3 -3
- package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +3 -3
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.js +21 -23
- package/esm2015/lib/components/icon/icon.component.js.map +1 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
- package/esm2015/lib/components/table/cell-editors.js.map +1 -1
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
- package/esm2015/lib/components/table/edit-session.js.map +1 -1
- package/esm2015/lib/components/table/edit-session.metadata.json +1 -1
- package/esm2015/lib/components/table/table-model.js +24 -4
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-model.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.js +1 -1
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +10 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +2 -2
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/components.module.js +3 -1
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/forms/abstract-list-input.component.js +3 -3
- package/esm5/lib/components/forms/abstract-list-input.component.js.map +1 -1
- package/esm5/lib/components/forms/abstract-value-input.component.js +3 -3
- package/esm5/lib/components/forms/abstract-value-input.component.js.map +1 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js +1 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm5/lib/components/forms/select-input/select-input.component.js +3 -3
- package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm5/lib/components/forms/text-input/text-input.component.js.map +1 -1
- package/esm5/lib/components/icon/icon.component.js +30 -27
- package/esm5/lib/components/icon/icon.component.js.map +1 -1
- package/esm5/lib/components/table/cell-editors.js.map +1 -1
- package/esm5/lib/components/table/column-model.js.map +1 -1
- package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
- package/esm5/lib/components/table/edit-session.js.map +1 -1
- package/esm5/lib/components/table/table-model.js +26 -4
- package/esm5/lib/components/table/table-model.js.map +1 -1
- package/esm5/lib/components/table/table.component.js +1 -1
- package/esm5/lib/components/table/table.component.js.map +1 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +10 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js +2 -2
- package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -1
- package/esm5/lib/interaction/components/input-activities/input-activity-data.js.map +1 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +69 -41
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +80 -45
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +3 -3
- package/lib/components/forms/abstract-value-input.component.d.ts +3 -3
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +2 -2
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +2 -2
- package/lib/components/forms/number-input/number-input.component.d.ts +2 -2
- package/lib/components/forms/password-input/password-input.component.d.ts +2 -2
- package/lib/components/forms/select-input/select-input.component.d.ts +2 -2
- package/lib/components/forms/string-input/string-input.component.d.ts +2 -2
- package/lib/components/forms/text-input/text-input.component.d.ts +2 -2
- package/lib/components/icon/icon.component.d.ts +6 -7
- package/lib/components/table/cell-editors.d.ts +3 -3
- package/lib/components/table/column-model.d.ts +2 -2
- package/lib/components/table/edit-row-controls/edit-row-controls.component.d.ts +2 -2
- package/lib/components/table/edit-session.d.ts +4 -4
- package/lib/components/table/table-model.d.ts +8 -5
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +9 -0
- package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +2 -2
- package/lib/interaction/components/input-activities/input-activity-data.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"place.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '@angular/flex-layout/flex';\nimport * as i16 from '../components/forms/number-input/number-input.component';\nimport * as i17 from '../components/forms/string-input/string-input.component';\nimport * as i18 from '../components/forms/text-input/text-input.component';\nimport * as i19 from '../components/forms/password-input/password-input.component';\nimport * as i20 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i21 from '../components/forms/select-input/select-input.component';\nimport * as i22 from '../components/scroll-container/scroll-container.component';\nimport * as i23 from '../components/noop/noop.component';\nimport * as i24 from '../components/switch-case/switch-case.component';\nimport * as i25 from '../components/focus-container/focus-container.component';\nimport * as i26 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i27 from '../components/focusable.component';\nimport * as i28 from '../components/card-container/card-container.component';\nimport * as i29 from '../components/table/table.component';\nimport * as i30 from '../components/table/edit-row-controls/edit-row-controls.component';\nimport * as i31 from '../components/table/column-template/column-template.directive';\nimport * as i32 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i33 from '../components/icon/icon.component';\nimport * as i34 from '../components/section-header/section-header.component';\nimport * as i35 from './components/empty-state/empty-state.component';\nimport * as i36 from './components/busy-overlay/busy-overlay.component';\nimport * as i37 from './components/place-outlet/place-outlet.component';\nimport * as i38 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i39 from './components/list-place-nav/list-place-nav.component';\nimport * as i40 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i41 from './components/abstract-place-navigation.component';\nimport * as i42 from '@angular/platform-browser/animations';\nimport * as i43 from '../directives/directives.module';\nimport * as i44 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.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_43:i15.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_44:i15.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_45:i15.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_46:i15.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_47:i15.FlexFillDirective = (<any>(null as any));\nvar _decl0_48:i15.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_49:i15.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_50:i16.NumberInputComponent = (<any>(null as any));\nvar _decl0_51:i17.StringInputComponent = (<any>(null as any));\nvar _decl0_52:i18.TextInputComponent = (<any>(null as any));\nvar _decl0_53:i19.PasswordInputComponent = (<any>(null as any));\nvar _decl0_54:i20.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_55:i21.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_56:i22.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_57:i23.NoopComponent = (<any>(null as any));\nvar _decl0_58:i24.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_59:i24.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_60:i24.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_61:i25.FocusContainerComponent = (<any>(null as any));\nvar _decl0_62:i26.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_63:i27.FocusableComponent = (<any>(null as any));\nvar _decl0_64:i28.CardContainerComponent = (<any>(null as any));\nvar _decl0_65:i29.TableComponent<any> = (<any>(null as any));\nvar _decl0_66:i30.EditRowControls<any> = (<any>(null as any));\nvar _decl0_67:i31.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_68:i32.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_69:i33.IconComponent = (<any>(null as any));\nvar _decl0_70:i34.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_71:i35.EmptyStateComponent = (<any>(null as any));\nvar _decl0_72:i36.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_73:i37.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_74:i38.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_75:i39.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_76:i40.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_77:i41.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_78:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_79:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_80:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_81:i2.JsonPipe = (<any>(null as any));\nvar _decl0_82:i2.SlicePipe = (<any>(null as any));\nvar _decl0_83:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_84:i2.PercentPipe = (<any>(null as any));\nvar _decl0_85:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_86:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_87:i2.DatePipe = (<any>(null as any));\nvar _decl0_88:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_89:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_90:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_91:i2.CommonModule = (<any>(null as any));\nvar _decl0_92:i42.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_93:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_94:i5.RouterModule = (<any>(null as any));\nvar _decl0_95:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_96:i9.MatListModule = (<any>(null as any));\nvar _decl0_97:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_98:i12.MatIconModule = (<any>(null as any));\nvar _decl0_99:i43.DirectivesModule = (<any>(null as any));\nvar _decl0_100:i15.FlexModule = (<any>(null as any));\nvar _decl0_101:i44.ComponentsModule = (<any>(null as any));\nvar _decl0_102:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_103:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_EmptyStateComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_EmptyStateComponent_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_2_1():void {\n if (_decl0_72.busyModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = 52;\n currVal_0;\n const currVal_1:any = 'indeterminate';\n currVal_1;\n const currVal_2:any = _decl0_12._noopAnimations;\n currVal_2;\n const currVal_3:any = _decl0_12.diameter;\n currVal_3;\n const currVal_4:any = _decl0_12.diameter;\n currVal_4;\n const currVal_5:any = ((_decl0_12.mode === 'determinate')? 0: null);\n currVal_5;\n const currVal_6:any = ((_decl0_12.mode === 'determinate')? 100: null);\n currVal_6;\n const currVal_7:any = ((_decl0_12.mode === 'determinate')? _decl0_12.value: null);\n currVal_7;\n const currVal_8:any = _decl0_12.mode;\n currVal_8;\n }\n}\nfunction _View_BusyOverlayComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_72.busyModel.value;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PlaceOutletComponent_3_1():void {\n if (_decl0_73.animateModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_73.getAnimationOrder(),params:{duration:_decl0_73.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_73.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_73.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_73.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_73.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_2():void {\n if (!_decl0_73.animateModel.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_73.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_73.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_73.animateModel.value;\n currVal_0;\n const currVal_1:any = !_decl0_73.animateModel.value;\n currVal_1;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_2():void {\n if (_decl0_74.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_74.getNav(_any).icon();\n currVal_0;\n }\n}\nfunction _View_TabbedPlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_74.isActive(_any);\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_74.getNav(_any).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_74.commandFactory.create(_any);\n currVal_7;\n const currVal_8:any = _decl0_74.getNav(_any).icon();\n currVal_8;\n const currVal_9:any = _decl0_74.getNav(_any).title();\n currVal_9;\n const pd_10:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_74.placeDefinitions.value;\n currVal_5;\n}\nfunction _View_ListPlaceNavComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ListPlaceNavComponent_5_2():void {\n if (_decl0_75.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_75.getNav(_any).icon();\n currVal_0;\n }\n}\nfunction _View_ListPlaceNavComponent_5_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_75.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_75.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_75.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_75.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_75.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_75.placeDefinitions.value;\n currVal_1;\n}\nfunction _View_SidePlaceNavigationComponent_Host_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_76.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_6_2():void {\n if (_decl0_76.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_76.getNav(_any).icon();\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_76.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_76.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_76.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_76.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_76.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_6_3():void {\n if (_decl0_76.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_76.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = 'menu';\n currVal_3;\n const currVal_4:any = 'arrow_back';\n currVal_4;\n const currVal_5:any = _decl0_76.placeDefinitions.value;\n currVal_5;\n const currVal_6:any = 1;\n currVal_6;\n const currVal_7:any = _decl0_76.navEndTemplate;\n currVal_7;\n const pd_8:any = ((<any>_decl0_76.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_7_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_7_0():void {\n var _any:any = (null as any);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"place.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/place/place.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './place.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/cdk/bidi';\nimport * as i4 from '@angular/material/progress-spinner';\nimport * as i5 from '@angular/router';\nimport * as i6 from '@angular/material/tabs';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/divider';\nimport * as i9 from '@angular/material/list';\nimport * as i10 from '@angular/cdk/scrolling';\nimport * as i11 from '@angular/material/tooltip';\nimport * as i12 from '@angular/material/icon';\nimport * as i13 from '../directives/command.directive';\nimport * as i14 from '../directives/focus-binding.directive';\nimport * as i15 from '@angular/flex-layout/flex';\nimport * as i16 from '../components/forms/number-input/number-input.component';\nimport * as i17 from '../components/forms/string-input/string-input.component';\nimport * as i18 from '../components/forms/text-input/text-input.component';\nimport * as i19 from '../components/forms/password-input/password-input.component';\nimport * as i20 from '../components/forms/checkbox-input/checkbox-input.component';\nimport * as i21 from '../components/forms/select-input/select-input.component';\nimport * as i22 from '../components/scroll-container/scroll-container.component';\nimport * as i23 from '../components/noop/noop.component';\nimport * as i24 from '../components/switch-case/switch-case.component';\nimport * as i25 from '../components/focus-container/focus-container.component';\nimport * as i26 from '../components/vertical-focus-container/vertical-focus-container.component';\nimport * as i27 from '../components/focusable.component';\nimport * as i28 from '../components/card-container/card-container.component';\nimport * as i29 from '../components/table/table.component';\nimport * as i30 from '../components/table/edit-row-controls/edit-row-controls.component';\nimport * as i31 from '../components/table/column-template/column-template.directive';\nimport * as i32 from '../components/forms/multiple-select-input/multiple-select-input.component';\nimport * as i33 from '../components/icon/icon.component';\nimport * as i34 from '../components/section-header/section-header.component';\nimport * as i35 from './components/empty-state/empty-state.component';\nimport * as i36 from './components/busy-overlay/busy-overlay.component';\nimport * as i37 from './components/place-outlet/place-outlet.component';\nimport * as i38 from './components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i39 from './components/list-place-nav/list-place-nav.component';\nimport * as i40 from './components/side-place-navigation/side-place-navigation.component';\nimport * as i41 from './components/abstract-place-navigation.component';\nimport * as i42 from '@angular/platform-browser/animations';\nimport * as i43 from '../directives/directives.module';\nimport * as i44 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.DefaultLayoutDirective = (<any>(null as any));\nvar _decl0_43:i15.DefaultLayoutGapDirective = (<any>(null as any));\nvar _decl0_44:i15.DefaultLayoutAlignDirective = (<any>(null as any));\nvar _decl0_45:i15.DefaultFlexOrderDirective = (<any>(null as any));\nvar _decl0_46:i15.DefaultFlexOffsetDirective = (<any>(null as any));\nvar _decl0_47:i15.FlexFillDirective = (<any>(null as any));\nvar _decl0_48:i15.DefaultFlexAlignDirective = (<any>(null as any));\nvar _decl0_49:i15.DefaultFlexDirective = (<any>(null as any));\nvar _decl0_50:i16.NumberInputComponent = (<any>(null as any));\nvar _decl0_51:i17.StringInputComponent = (<any>(null as any));\nvar _decl0_52:i18.TextInputComponent = (<any>(null as any));\nvar _decl0_53:i19.PasswordInputComponent = (<any>(null as any));\nvar _decl0_54:i20.CheckboxInputComponent = (<any>(null as any));\nvar _decl0_55:i21.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_56:i22.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_57:i23.NoopComponent = (<any>(null as any));\nvar _decl0_58:i24.SwitchCaseComponent<any> = (<any>(null as any));\nvar _decl0_59:i24.SwitchCaseWhenDirective<any> = (<any>(null as any));\nvar _decl0_60:i24.SwitchCaseDefaultDirective<any> = (<any>(null as any));\nvar _decl0_61:i25.FocusContainerComponent = (<any>(null as any));\nvar _decl0_62:i26.VerticalFocusContainerComponent = (<any>(null as any));\nvar _decl0_63:i27.FocusableComponent = (<any>(null as any));\nvar _decl0_64:i28.CardContainerComponent = (<any>(null as any));\nvar _decl0_65:i29.TableComponent<any> = (<any>(null as any));\nvar _decl0_66:i30.EditRowControls<any> = (<any>(null as any));\nvar _decl0_67:i31.ColumnTemplateDirective = (<any>(null as any));\nvar _decl0_68:i32.MultipleSelectInputComponent<any> = (<any>(null as any));\nvar _decl0_69:i33.IconComponent = (<any>(null as any));\nvar _decl0_70:i34.SectionHeaderComponent = (<any>(null as any));\nvar _decl0_71:i35.EmptyStateComponent = (<any>(null as any));\nvar _decl0_72:i36.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_73:i37.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_74:i38.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_75:i39.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_76:i40.SidePlaceNavigationComponent = (<any>(null as any));\nvar _decl0_77:i41.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_78:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_79:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_80:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_81:i2.JsonPipe = (<any>(null as any));\nvar _decl0_82:i2.SlicePipe = (<any>(null as any));\nvar _decl0_83:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_84:i2.PercentPipe = (<any>(null as any));\nvar _decl0_85:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_86:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_87:i2.DatePipe = (<any>(null as any));\nvar _decl0_88:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_89:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_90:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_91:i2.CommonModule = (<any>(null as any));\nvar _decl0_92:i42.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_93:i4.MatProgressSpinnerModule = (<any>(null as any));\nvar _decl0_94:i5.RouterModule = (<any>(null as any));\nvar _decl0_95:i6.MatTabsModule = (<any>(null as any));\nvar _decl0_96:i9.MatListModule = (<any>(null as any));\nvar _decl0_97:i11.MatTooltipModule = (<any>(null as any));\nvar _decl0_98:i12.MatIconModule = (<any>(null as any));\nvar _decl0_99:i43.DirectivesModule = (<any>(null as any));\nvar _decl0_100:i15.FlexModule = (<any>(null as any));\nvar _decl0_101:i44.ComponentsModule = (<any>(null as any));\nvar _decl0_102:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_103:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_EmptyStateComponent_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_EmptyStateComponent_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_BusyOverlayComponent_2_1():void {\n if (_decl0_72.busyModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = 52;\n currVal_0;\n const currVal_1:any = 'indeterminate';\n currVal_1;\n const currVal_2:any = _decl0_12._noopAnimations;\n currVal_2;\n const currVal_3:any = _decl0_12.diameter;\n currVal_3;\n const currVal_4:any = _decl0_12.diameter;\n currVal_4;\n const currVal_5:any = ((_decl0_12.mode === 'determinate')? 0: null);\n currVal_5;\n const currVal_6:any = ((_decl0_12.mode === 'determinate')? 100: null);\n currVal_6;\n const currVal_7:any = ((_decl0_12.mode === 'determinate')? _decl0_12.value: null);\n currVal_7;\n const currVal_8:any = _decl0_12.mode;\n currVal_8;\n }\n}\nfunction _View_BusyOverlayComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_72.busyModel.value;\n currVal_0;\n}\nfunction _View_PlaceOutletComponent_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_PlaceOutletComponent_3_1():void {\n if (_decl0_73.animateModel.value) {\n var _any:any = (null as any);\n const currVal_0:any = {value:_decl0_73.getAnimationOrder(),params:{duration:_decl0_73.animationDuration}};\n currVal_0;\n const pd_1:any = ((<any>_decl0_73.animationStarted()) !== false);\n const pd_2:any = ((<any>_decl0_73.animationDone()) !== false);\n const pd_3:any = ((<any>_decl0_73.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_4:any = ((<any>_decl0_73.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_2():void {\n if (!_decl0_73.animateModel.value) {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_73.onOutletActivated(_decl0_14,_any)) !== false);\n const pd_1:any = ((<any>_decl0_73.onOutletDeactivated()) !== false);\n }\n}\nfunction _View_PlaceOutletComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_73.animateModel.value;\n currVal_0;\n const currVal_1:any = !_decl0_73.animateModel.value;\n currVal_1;\n}\nfunction _View_TabbedPlaceNavigationComponent_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_2():void {\n if (_decl0_74.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_74.getNav(_any).icon();\n currVal_0;\n }\n}\nfunction _View_TabbedPlaceNavigationComponent_4_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_74.isActive(_any);\n currVal_0;\n const currVal_1:any = (_decl0_23.active? 'page': null);\n currVal_1;\n const currVal_2:any = _decl0_23.disabled;\n currVal_2;\n const currVal_3:any = _decl0_23.tabIndex;\n currVal_3;\n const currVal_4:any = _decl0_23.disabled;\n currVal_4;\n const currVal_5:any = _decl0_23.active;\n currVal_5;\n const currVal_6:any = _decl0_74.getNav(_any).tooltip();\n currVal_6;\n const currVal_7:any = _decl0_74.commandFactory.create(_any);\n currVal_7;\n const currVal_8:any = _decl0_74.getNav(_any).icon();\n currVal_8;\n const currVal_9:any = _decl0_74.getNav(_any).title();\n currVal_9;\n const pd_10:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_TabbedPlaceNavigationComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_22._showPaginationControls;\n currVal_0;\n const currVal_1:any = (_decl0_22._getLayoutDirection() == 'rtl');\n currVal_1;\n const currVal_2:any = ((_decl0_22.color !== 'warn') && (_decl0_22.color !== 'accent'));\n currVal_2;\n const currVal_3:any = (_decl0_22.color === 'accent');\n currVal_3;\n const currVal_4:any = (_decl0_22.color === 'warn');\n currVal_4;\n const currVal_5:any = _decl0_74.placeDefinitions.value;\n currVal_5;\n}\nfunction _View_ListPlaceNavComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ListPlaceNavComponent_5_2():void {\n if (_decl0_75.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_75.getNav(_any).icon();\n currVal_0;\n }\n}\nfunction _View_ListPlaceNavComponent_5_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_75.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_75.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_75.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_75.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_75.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_ListPlaceNavComponent_5_0():void {\n var _any:any = (null as any);\n const currVal_0:any = '';\n currVal_0;\n const currVal_1:any = _decl0_75.placeDefinitions.value;\n currVal_1;\n}\nfunction _View_SidePlaceNavigationComponent_Host_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_76.expanded;\n currVal_0;\n}\nfunction _View_SidePlaceNavigationComponent_6_2():void {\n if (_decl0_76.getNav(_any).icon()) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_76.getNav(_any).icon();\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_1():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = _decl0_76.getNav(_any).tooltip();\n currVal_3;\n const currVal_4:any = _decl0_76.commandFactory.create(_any);\n currVal_4;\n const currVal_5:any = _decl0_76.isActive(_any);\n currVal_5;\n const currVal_6:any = _decl0_76.getNav(_any).icon();\n currVal_6;\n const currVal_7:any = _decl0_76.getNav(_any).title();\n currVal_7;\n const pd_8:any = ((<any>_decl0_40.notifyClick(_any)) !== false);\n}\nfunction _View_SidePlaceNavigationComponent_6_3():void {\n if (_decl0_76.navEndTemplate) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_76.navEndTemplate;\n currVal_0;\n }\n}\nfunction _View_SidePlaceNavigationComponent_6_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_30.disabled;\n currVal_0;\n const currVal_1:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_1;\n const currVal_2:any = (_decl0_30._avatar || _decl0_30._icon);\n currVal_2;\n const currVal_3:any = 'mat:menu';\n currVal_3;\n const currVal_4:any = 'mat:arrow_back';\n currVal_4;\n const currVal_5:any = _decl0_76.placeDefinitions.value;\n currVal_5;\n const currVal_6:any = 1;\n currVal_6;\n const currVal_7:any = _decl0_76.navEndTemplate;\n currVal_7;\n const pd_8:any = ((<any>_decl0_76.toggleMenu()) !== false);\n}\nfunction _View_AbstractPlaceNavigationComponent_Host_7_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractPlaceNavigationComponent_7_0():void {\n var _any:any = (null as any);\n}\n"]}
|
|
@@ -13,13 +13,14 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
13
13
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
15
|
import { MatTableModule } from '@angular/material/table';
|
|
16
|
-
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, Command, FocusManager,
|
|
16
|
+
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, Command, FocusManager, Form, ListModel, StoreInListModel, ValueModel, StoreInValueModel, MutableValueModel, MultipleSelectionModel, MutableListModel, DirtyTrackingForm, DelegatingCommand, Deferred, Trace, Guard, DebugContext, Binding, Functions } from '@coolon/pectin';
|
|
17
17
|
import { assert as assert$1, Opts, lang as lang$1, Klass } from '@coolon/typescript-utilities';
|
|
18
18
|
import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
|
|
19
19
|
import ___default, { isEqual, isNil } from 'lodash';
|
|
20
20
|
import produce from 'immer';
|
|
21
21
|
import { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
22
22
|
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
23
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
23
24
|
import { FlexModule, GridModule } from '@angular/flex-layout';
|
|
24
25
|
import { MatDialogModule, MatDialog, MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
|
25
26
|
import { RouterModule, UrlSegment, Router, UrlSerializer, NavigationStart, NavigationEnd, NavigationError, NavigationCancel, RouterOutlet } from '@angular/router';
|
|
@@ -27,7 +28,6 @@ import { Overlay, CdkScrollable } from '@angular/cdk/overlay';
|
|
|
27
28
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
28
29
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
29
30
|
import { MatListModule } from '@angular/material/list';
|
|
30
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
31
31
|
import { Memoize as Memoize$1 } from '@typescript-plus/fast-memoize-decorator';
|
|
32
32
|
import 'reflect-metadata';
|
|
33
33
|
import { style, query, group, animate, trigger, transition } from '@angular/animations';
|
|
@@ -615,14 +615,14 @@ let AbstractListInputComponent = class AbstractListInputComponent extends Abstra
|
|
|
615
615
|
* A backing model for all our @Input() valueModel properties which should be defined as follows.
|
|
616
616
|
*
|
|
617
617
|
* @Input() @TrackExternal({useExisting: "inputModel"})
|
|
618
|
-
* valueModel:
|
|
618
|
+
* valueModel: Form.ListModelBase<string> | IMutableListModel<string>;
|
|
619
619
|
*
|
|
620
620
|
* This approach allows the input to accept plain or form models but all backed by a form
|
|
621
621
|
* friendly delegate. We have to use an existing delegate for union types as pectin just
|
|
622
622
|
* gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
|
|
623
623
|
*/
|
|
624
624
|
// We have to register it as a disposable so it ditches any listeners when we're disposed.
|
|
625
|
-
this.inputModel = this.registerDisposable(new
|
|
625
|
+
this.inputModel = this.registerDisposable(new Form.DelegatingListModel());
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
628
|
AbstractListInputComponent = __decorate([
|
|
@@ -636,14 +636,14 @@ let AbstractValueInputComponent = class AbstractValueInputComponent extends Abst
|
|
|
636
636
|
* A backing model for all our @Input() valueModel properties which should be defined as follows.
|
|
637
637
|
*
|
|
638
638
|
* @Input() @TrackExternal({useExisting: "inputModel"})
|
|
639
|
-
* valueModel:
|
|
639
|
+
* valueModel: DirtyTrackingForm.ValueModel<string> | IMutableValueModel<string>;
|
|
640
640
|
*
|
|
641
641
|
* This approach allows the input to accept plain or form models but all backed by a form
|
|
642
642
|
* friendly delegate. We have to use an existing delegate for union types as pectin just
|
|
643
643
|
* gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
|
|
644
644
|
*/
|
|
645
645
|
// We have to register it as a disposable so it ditches any listeners when we're disposed.
|
|
646
|
-
this.inputModel = this.registerDisposable(new
|
|
646
|
+
this.inputModel = this.registerDisposable(new Form.DelegatingValueModel());
|
|
647
647
|
}
|
|
648
648
|
};
|
|
649
649
|
AbstractValueInputComponent = __decorate([
|
|
@@ -718,7 +718,7 @@ let PasswordInputComponent = class PasswordInputComponent extends AbstractValueI
|
|
|
718
718
|
}
|
|
719
719
|
};
|
|
720
720
|
__decorate([
|
|
721
|
-
Input(), TrackExternal({ delegateTo:
|
|
721
|
+
Input(), TrackExternal({ delegateTo: 'inputModel' }),
|
|
722
722
|
__metadata("design:type", Object)
|
|
723
723
|
], PasswordInputComponent.prototype, "valueModel", void 0);
|
|
724
724
|
PasswordInputComponent = __decorate([
|
|
@@ -739,7 +739,7 @@ let SelectInputComponent = class SelectInputComponent extends AbstractValueInput
|
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
__decorate([
|
|
742
|
-
Input(), TrackExternal({ delegateTo:
|
|
742
|
+
Input(), TrackExternal({ delegateTo: 'inputModel' }),
|
|
743
743
|
__metadata("design:type", Object)
|
|
744
744
|
], SelectInputComponent.prototype, "valueModel", void 0);
|
|
745
745
|
__decorate([
|
|
@@ -759,11 +759,11 @@ __decorate([
|
|
|
759
759
|
__metadata("design:type", Boolean)
|
|
760
760
|
], SelectInputComponent.prototype, "allowNil", void 0);
|
|
761
761
|
__decorate([
|
|
762
|
-
ContentChild(
|
|
762
|
+
ContentChild('optionTemplate'),
|
|
763
763
|
__metadata("design:type", TemplateRef)
|
|
764
764
|
], SelectInputComponent.prototype, "optionTemplateRef", void 0);
|
|
765
765
|
__decorate([
|
|
766
|
-
ContentChild(
|
|
766
|
+
ContentChild('nilOptionTemplate'),
|
|
767
767
|
__metadata("design:type", TemplateRef)
|
|
768
768
|
], SelectInputComponent.prototype, "nilOptionTemplateRef", void 0);
|
|
769
769
|
__decorate([
|
|
@@ -1499,6 +1499,12 @@ class SelectionColumnModel extends ColumnModel {
|
|
|
1499
1499
|
var TableModel_1;
|
|
1500
1500
|
// export type StringPropertiesOf<T> = { [K in keyof T]: T[K] extends string ? K : never }[keyof T];
|
|
1501
1501
|
// export type NumberPropertiesOf<T> = { [K in keyof T]: T[K] extends number ? K : never }[keyof T];
|
|
1502
|
+
class RowClass {
|
|
1503
|
+
constructor(className, matches) {
|
|
1504
|
+
this.className = className;
|
|
1505
|
+
this.matches = matches;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1502
1508
|
/**
|
|
1503
1509
|
* Example:
|
|
1504
1510
|
* @example
|
|
@@ -1519,7 +1525,7 @@ var TableModel_1;
|
|
|
1519
1525
|
* }
|
|
1520
1526
|
* const colorsNames: ListModel<string> = ...;
|
|
1521
1527
|
* const model = TableModel.fromList(heroList, table => {
|
|
1522
|
-
* table.pluck("firstName").cellEditor(StringInputComponent); <-- interface CellEditor { valueModel:
|
|
1528
|
+
* table.pluck("firstName").cellEditor(StringInputComponent); <-- interface CellEditor { valueModel: DirtyTrackingForm.ValueModel<string> | ValueModel<string>; }
|
|
1523
1529
|
* table.pluck("lastName").cellEditor(StringInputComponent, {
|
|
1524
1530
|
* validators: [Validator.present("We need a last name")]
|
|
1525
1531
|
* });
|
|
@@ -1548,7 +1554,7 @@ var TableModel_1;
|
|
|
1548
1554
|
* // configure your component with what ever you need.
|
|
1549
1555
|
* });
|
|
1550
1556
|
* .cellRenderer(CellRendererComponent) // <-- interface CellEditor { value: string; }
|
|
1551
|
-
* .cellEditor(CellEditorComponent.); // <-- interface CellEditor { valueModel:
|
|
1557
|
+
* .cellEditor(CellEditorComponent.); // <-- interface CellEditor { valueModel: DirtyTrackingForm.ValueModel<string> | ValueModel<string>; }
|
|
1552
1558
|
* table.addCustomColumn("fullName", hero => `${hero.firstName} ${hero.lastName}`);
|
|
1553
1559
|
* });
|
|
1554
1560
|
*
|
|
@@ -1575,7 +1581,8 @@ let TableModel = TableModel_1 = class TableModel {
|
|
|
1575
1581
|
this._garbage = new GarbageCollector();
|
|
1576
1582
|
this._columns = new MutableListModel();
|
|
1577
1583
|
this._editorSessions = new MutableListModel();
|
|
1578
|
-
this.
|
|
1584
|
+
this.rowClassNamePredicates = [];
|
|
1585
|
+
this._createForm = (row) => new DirtyTrackingForm();
|
|
1579
1586
|
this.identityOf = sourceOfTruth.identityOf;
|
|
1580
1587
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this._garbage);
|
|
1581
1588
|
this._columnsById = chain(this._columns).indexBy('columnId');
|
|
@@ -1587,6 +1594,7 @@ let TableModel = TableModel_1 = class TableModel {
|
|
|
1587
1594
|
this.dataSource = chain(this.sourceOfTruth).replaceAll(this.rowsBeingEdited);
|
|
1588
1595
|
this.firstEditableColumn = chain(this.columns).select(c => c.hasEditorPortal()).first();
|
|
1589
1596
|
this.hasColumnsWithRowSelectionExplicitlyEnabled = chain(this._columns).findIndex(column => column.isRowSelectionExplicitlyEnabled()).isGreaterThanOrEqualTo(0);
|
|
1597
|
+
this.addRowClass("enable-hover", () => this.isRowSelectionEnabled());
|
|
1590
1598
|
}
|
|
1591
1599
|
static fromList(sourceOfTruth, builder) {
|
|
1592
1600
|
const model = new TableModel_1(sourceOfTruth);
|
|
@@ -1625,6 +1633,18 @@ let TableModel = TableModel_1 = class TableModel {
|
|
|
1625
1633
|
addTemplateColumn(columnId) {
|
|
1626
1634
|
return this.addColumn(new CustomTemplateColumnModel(columnId, this));
|
|
1627
1635
|
}
|
|
1636
|
+
addRowClass(className, predicate) {
|
|
1637
|
+
this.rowClassNamePredicates.push(new RowClass(className, predicate));
|
|
1638
|
+
}
|
|
1639
|
+
getRowClasses(row) {
|
|
1640
|
+
const classNames = [];
|
|
1641
|
+
this.rowClassNamePredicates.forEach(i => {
|
|
1642
|
+
if (i.matches(row)) {
|
|
1643
|
+
classNames.push(i.className);
|
|
1644
|
+
}
|
|
1645
|
+
});
|
|
1646
|
+
return classNames;
|
|
1647
|
+
}
|
|
1628
1648
|
useFormFactory(factory) {
|
|
1629
1649
|
this._createForm = factory;
|
|
1630
1650
|
return this;
|
|
@@ -1757,7 +1777,7 @@ __decorate([
|
|
|
1757
1777
|
TableComponent = __decorate([
|
|
1758
1778
|
Component({
|
|
1759
1779
|
selector: 'aup-table',
|
|
1760
|
-
template: "<table mat-table [dataSource]=\"tableModel.dataSource.value\" [trackBy]=\"tableModel.getTrackByFunction()\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\" matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef>\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"onCellClicked(column, row)\" [class.enable-cursor]=\"tableModel.isRowSelectionEnabledFor(column)\">\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"tableModel\"\n [editSession]=\"tableModel.getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value;\"
|
|
1780
|
+
template: "<table mat-table [dataSource]=\"tableModel.dataSource.value\" [trackBy]=\"tableModel.getTrackByFunction()\">\n\n <ng-container *ngFor=\"let column of columns.value; index as index; first as first; last as last\" matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef>\n <aup-table-header-cell-renderer [column]=\"column\"\n [attr.column-index]=\"index\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-header-cell-renderer>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"onCellClicked(column, row)\" [class.enable-cursor]=\"tableModel.isRowSelectionEnabledFor(column)\">\n <aup-table-cell-renderer [column]=\"column\"\n [row]=\"row\"\n [tableModel]=\"tableModel\"\n [editSession]=\"tableModel.getEditSessionFor(row)\"\n [attr.column-index]=\"index\"\n [class.first-column]=\"first\"\n [class.last-column]=\"last\"\n ></aup-table-cell-renderer>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds.value\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds.value;\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n ></tr>\n\n</table>\n",
|
|
1761
1781
|
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{flex:1}"]
|
|
1762
1782
|
}),
|
|
1763
1783
|
__metadata("design:paramtypes", [])
|
|
@@ -2064,40 +2084,38 @@ MultipleSelectInputComponent = __decorate([
|
|
|
2064
2084
|
], MultipleSelectInputComponent);
|
|
2065
2085
|
|
|
2066
2086
|
let IconComponent = class IconComponent {
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
if (
|
|
2070
|
-
|
|
2087
|
+
set icon(iconName) {
|
|
2088
|
+
this._icon = iconName;
|
|
2089
|
+
if (!iconName) {
|
|
2090
|
+
this.errorMessage = 'icon is nil';
|
|
2091
|
+
this.prefix = undefined;
|
|
2092
|
+
return;
|
|
2071
2093
|
}
|
|
2072
|
-
|
|
2073
|
-
|
|
2094
|
+
const colonIndex = iconName.indexOf(':');
|
|
2095
|
+
if (colonIndex > 0) {
|
|
2096
|
+
this.prefix = this.icon.slice(0, colonIndex);
|
|
2097
|
+
this.suffix = this.icon.slice(colonIndex + 1);
|
|
2074
2098
|
}
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
if (this.icon.startsWith('svg:')) {
|
|
2078
|
-
return this.icon.slice(4);
|
|
2099
|
+
if (this.prefix) {
|
|
2100
|
+
this.errorMessage = `Unknown icon "${iconName}"`;
|
|
2079
2101
|
}
|
|
2102
|
+
this.errorMessage = `Unknown icon prefix "${this.prefix}"`;
|
|
2080
2103
|
}
|
|
2081
|
-
|
|
2082
|
-
return this.
|
|
2083
|
-
}
|
|
2084
|
-
fontAwesomeIcon() {
|
|
2085
|
-
if (this.isFontAwesome()) {
|
|
2086
|
-
return this.icon.slice(4);
|
|
2087
|
-
}
|
|
2104
|
+
get icon() {
|
|
2105
|
+
return this._icon;
|
|
2088
2106
|
}
|
|
2089
2107
|
};
|
|
2090
2108
|
__decorate([
|
|
2091
2109
|
Input(),
|
|
2092
|
-
__metadata("design:type", String)
|
|
2093
|
-
|
|
2110
|
+
__metadata("design:type", String),
|
|
2111
|
+
__metadata("design:paramtypes", [String])
|
|
2112
|
+
], IconComponent.prototype, "icon", null);
|
|
2094
2113
|
IconComponent = __decorate([
|
|
2095
2114
|
Component({
|
|
2096
2115
|
selector: 'aup-icon',
|
|
2097
|
-
template: "<mat-icon *
|
|
2098
|
-
styles: [":host{display:inline-flex;width:24px}fa-icon{
|
|
2099
|
-
})
|
|
2100
|
-
__metadata("design:paramtypes", [])
|
|
2116
|
+
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",
|
|
2117
|
+
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}"]
|
|
2118
|
+
})
|
|
2101
2119
|
], IconComponent);
|
|
2102
2120
|
|
|
2103
2121
|
let ComponentsModule = class ComponentsModule {
|
|
@@ -2157,7 +2175,8 @@ ComponentsModule = __decorate([
|
|
|
2157
2175
|
MatTableModule,
|
|
2158
2176
|
PortalModule,
|
|
2159
2177
|
CdkScrollableModule,
|
|
2160
|
-
FontAwesomeModule
|
|
2178
|
+
FontAwesomeModule,
|
|
2179
|
+
MatTooltipModule
|
|
2161
2180
|
],
|
|
2162
2181
|
exports: [
|
|
2163
2182
|
NumberInputComponent,
|
|
@@ -2947,6 +2966,15 @@ InPlaceInteractionContextComponent = __decorate([
|
|
|
2947
2966
|
__metadata("design:paramtypes", [InteractionService, Object])
|
|
2948
2967
|
], InPlaceInteractionContextComponent);
|
|
2949
2968
|
|
|
2969
|
+
/**
|
|
2970
|
+
* Css Vars.
|
|
2971
|
+
* --link-color
|
|
2972
|
+
* --link-color-hover
|
|
2973
|
+
* --link-background
|
|
2974
|
+
* --link-background-hover
|
|
2975
|
+
* --link-border-radius
|
|
2976
|
+
* --link-padding
|
|
2977
|
+
*/
|
|
2950
2978
|
let AddItemInteractionContextComponent = class AddItemInteractionContextComponent extends DisposableComponent {
|
|
2951
2979
|
constructor() {
|
|
2952
2980
|
super();
|
|
@@ -3010,7 +3038,7 @@ AddItemInteractionContextComponent = __decorate([
|
|
|
3010
3038
|
Component({
|
|
3011
3039
|
selector: 'aup-add-item-interaction-context',
|
|
3012
3040
|
template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
|
|
3013
|
-
styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-color-hover:var(--link-color-hover, currentColor);--def-link-
|
|
3041
|
+
styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-color-hover:var(--link-color-hover, currentColor);--def-link-background:var(--link-background, transparent);--def-link-background-hover:var(--link-background-hover, rgba(0, 0, 0, 0.05));--def-link-border-radius:var(--link-border-radius, 4px);--def-link-padding:var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:0}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
|
|
3014
3042
|
}),
|
|
3015
3043
|
__metadata("design:paramtypes", [])
|
|
3016
3044
|
], AddItemInteractionContextComponent);
|
|
@@ -3204,7 +3232,7 @@ let AbstractInputActivity = class AbstractInputActivity extends Activity {
|
|
|
3204
3232
|
super();
|
|
3205
3233
|
this.data = data;
|
|
3206
3234
|
this.class = 'aup-input-activity';
|
|
3207
|
-
const form = new
|
|
3235
|
+
const form = new DirtyTrackingForm();
|
|
3208
3236
|
this.valueModel = form.valueModel(this.data.initialValue);
|
|
3209
3237
|
this.valueModel.validateUsing(data.validators || []);
|
|
3210
3238
|
this.confirmCommand = Command.create(() => {
|
|
@@ -5489,7 +5517,7 @@ __decorate([
|
|
|
5489
5517
|
SidePlaceNavigationComponent = __decorate([
|
|
5490
5518
|
Component({
|
|
5491
5519
|
selector: 'aup-side-place-navigation',
|
|
5492
|
-
template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <aup-icon *ngIf=\"getNav(placeDefinition).icon()\" [icon]=\"getNav(placeDefinition).icon()\"></aup-icon>\n <span\n class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
|
|
5520
|
+
template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let placeDefinition of placeDefinitions.value\"\n [pectinCommand]=\"commandFactory.create(placeDefinition)\"\n [class.active]=\"isActive(placeDefinition)\"\n [matTooltip]=\"getNav(placeDefinition).tooltip()\">\n <aup-icon *ngIf=\"getNav(placeDefinition).icon()\" [icon]=\"getNav(placeDefinition).icon()\"></aup-icon>\n <span\n class=\"expanded-only\">{{getNav(placeDefinition).title()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
|
|
5493
5521
|
styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:var(--nav-width, 56px);--resolved-nav-item-height:var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width:var(--nav-expanded-width, 235px);--resolved-color:var(--nav-color, rgba(255, 255, 255, 0.9));--resolved-background-color:var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
|
|
5494
5522
|
}),
|
|
5495
5523
|
__metadata("design:paramtypes", [Router, PlaceRouter])
|