@coolon/angular-ui-powerups 1.0.0 → 1.0.1-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.
Files changed (50) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +22 -17
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/components/components.module.js +3 -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/forms/abstract-input.component.js +6 -14
  12. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  13. package/esm2015/lib/components/forms/abstract-input.component.metadata.json +1 -1
  14. package/esm2015/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -0
  15. package/esm2015/lib/components/forms/number-input/number-input.component.js +6 -1
  16. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  17. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  18. package/esm2015/lib/components/forms/password-input/password-input.component.js +6 -1
  19. package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
  20. package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
  21. package/esm2015/lib/components/forms/select-input/select-input.component.js +4 -0
  22. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  23. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  24. package/esm2015/lib/components/forms/string-input/string-input.component.js +4 -0
  25. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  26. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  27. package/esm5/lib/components/components.module.js +3 -1
  28. package/esm5/lib/components/components.module.js.map +1 -1
  29. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  30. package/esm5/lib/components/forms/abstract-input.component.js +6 -18
  31. package/esm5/lib/components/forms/abstract-input.component.js.map +1 -1
  32. package/esm5/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -0
  33. package/esm5/lib/components/forms/number-input/number-input.component.js +6 -1
  34. package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
  35. package/esm5/lib/components/forms/password-input/password-input.component.js +6 -1
  36. package/esm5/lib/components/forms/password-input/password-input.component.js.map +1 -1
  37. package/esm5/lib/components/forms/select-input/select-input.component.js +4 -0
  38. package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
  39. package/esm5/lib/components/forms/string-input/string-input.component.js +4 -0
  40. package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
  41. package/fesm2015/coolon-angular-ui-powerups.js +23 -14
  42. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  43. package/fesm5/coolon-angular-ui-powerups.js +23 -18
  44. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  45. package/lib/components/forms/abstract-input.component.d.ts +2 -3
  46. package/lib/components/forms/number-input/number-input.component.d.ts +3 -1
  47. package/lib/components/forms/password-input/password-input.component.d.ts +2 -0
  48. package/lib/components/forms/select-input/select-input.component.d.ts +2 -1
  49. package/lib/components/forms/string-input/string-input.component.d.ts +2 -1
  50. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"components.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/components.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './components.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/forms';\nimport * as i4 from '@angular/cdk/text-field';\nimport * as i5 from '@angular/material/form-field';\nimport * as i6 from '@angular/material/input';\nimport * as i7 from '@angular/cdk/scrolling';\nimport * as i8 from '@angular/material/core';\nimport * as i9 from '@angular/cdk/bidi';\nimport * as i10 from '@angular/material/select';\nimport * as i11 from '@angular/material/tabs';\nimport * as i12 from '../directives/command.directive';\nimport * as i13 from '../directives/focus-binding.directive';\nimport * as i14 from '@angular/material/icon';\nimport * as i15 from '@angular/material/button';\nimport * as i16 from './forms/number-input/number-input.component';\nimport * as i17 from './forms/string-input/string-input.component';\nimport * as i18 from './forms/password-input/password-input.component';\nimport * as i19 from './forms/select-input/select-input.component';\nimport * as i20 from './scroll-container/scroll-container.component';\nimport * as i21 from './noop/noop.component';\nimport * as i22 from '@angular/platform-browser/animations';\nimport * as i23 from '../directives/directives.module';\nexport const ComponentsModuleNgFactory:i0.NgModuleFactory<i1.ComponentsModule> = (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.ɵangular_packages_forms_forms_y = (<any>(null as any));\nvar _decl0_12:i3.NgSelectOption = (<any>(null as any));\nvar _decl0_13:i3.ɵangular_packages_forms_forms_x = (<any>(null as any));\nvar _decl0_14:i3.DefaultValueAccessor = (<any>(null as any));\nvar _decl0_15:i3.NumberValueAccessor = (<any>(null as any));\nvar _decl0_16:i3.RangeValueAccessor = (<any>(null as any));\nvar _decl0_17:i3.CheckboxControlValueAccessor = (<any>(null as any));\nvar _decl0_18:i3.SelectControlValueAccessor = (<any>(null as any));\nvar _decl0_19:i3.SelectMultipleControlValueAccessor = (<any>(null as any));\nvar _decl0_20:i3.RadioControlValueAccessor = (<any>(null as any));\nvar _decl0_21:i3.NgControlStatus = (<any>(null as any));\nvar _decl0_22:i3.NgControlStatusGroup = (<any>(null as any));\nvar _decl0_23:i3.RequiredValidator = (<any>(null as any));\nvar _decl0_24:i3.MinLengthValidator = (<any>(null as any));\nvar _decl0_25:i3.MaxLengthValidator = (<any>(null as any));\nvar _decl0_26:i3.PatternValidator = (<any>(null as any));\nvar _decl0_27:i3.CheckboxRequiredValidator = (<any>(null as any));\nvar _decl0_28:i3.EmailValidator = (<any>(null as any));\nvar _decl0_29:i3.NgModel = (<any>(null as any));\nvar _decl0_30:i3.NgModelGroup = (<any>(null as any));\nvar _decl0_31:i3.NgForm = (<any>(null as any));\nvar _decl0_32:i4.CdkAutofill = (<any>(null as any));\nvar _decl0_33:i4.CdkTextareaAutosize = (<any>(null as any));\nvar _decl0_34:i5.MatError = (<any>(null as any));\nvar _decl0_35:i5.MatFormField = (<any>(null as any));\nvar _decl0_36:i5.MatHint = (<any>(null as any));\nvar _decl0_37:i5.MatLabel = (<any>(null as any));\nvar _decl0_38:i5.MatPlaceholder = (<any>(null as any));\nvar _decl0_39:i5.MatPrefix = (<any>(null as any));\nvar _decl0_40:i5.MatSuffix = (<any>(null as any));\nvar _decl0_41:i6.MatInput = (<any>(null as any));\nvar _decl0_42:i6.MatTextareaAutosize = (<any>(null as any));\nvar _decl0_43:i7.CdkScrollable = (<any>(null as any));\nvar _decl0_44:i8.MatOption = (<any>(null as any));\nvar _decl0_45:i8.MatOptgroup = (<any>(null as any));\nvar _decl0_46:i9.Dir = (<any>(null as any));\nvar _decl0_47:i10.MatSelect = (<any>(null as any));\nvar _decl0_48:i10.MatSelectTrigger = (<any>(null as any));\nvar _decl0_49:i11.MatTabGroup = (<any>(null as any));\nvar _decl0_50:i11.MatTabLabel = (<any>(null as any));\nvar _decl0_51:i11.MatTab = (<any>(null as any));\nvar _decl0_52:i11.MatTabNav = (<any>(null as any));\nvar _decl0_53:i11.MatTabLink = (<any>(null as any));\nvar _decl0_54:i11.MatTabContent = (<any>(null as any));\nvar _decl0_55:i12.CommandDirective<any> = (<any>(null as any));\nvar _decl0_56:i13.FocusBindingDirective = (<any>(null as any));\nvar _decl0_57:i14.MatIcon = (<any>(null as any));\nvar _decl0_58:i15.MatButton = (<any>(null as any));\nvar _decl0_59:i15.MatAnchor = (<any>(null as any));\nvar _decl0_60:i16.NumberInputComponent = (<any>(null as any));\nvar _decl0_61:i17.StringInputComponent = (<any>(null as any));\nvar _decl0_62:i18.PasswordInputComponent = (<any>(null as any));\nvar _decl0_63:i19.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i20.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_65:i21.NoopComponent = (<any>(null as any));\nvar _decl0_66:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_67:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_68:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_69:i2.JsonPipe = (<any>(null as any));\nvar _decl0_70:i2.SlicePipe = (<any>(null as any));\nvar _decl0_71:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_72:i2.PercentPipe = (<any>(null as any));\nvar _decl0_73:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_74:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_75:i2.DatePipe = (<any>(null as any));\nvar _decl0_76:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_77:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_78:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_79:i2.CommonModule = (<any>(null as any));\nvar _decl0_80:i22.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_81:i3.FormsModule = (<any>(null as any));\nvar _decl0_82:i6.MatInputModule = (<any>(null as any));\nvar _decl0_83:i5.MatFormFieldModule = (<any>(null as any));\nvar _decl0_84:i10.MatSelectModule = (<any>(null as any));\nvar _decl0_85:i11.MatTabsModule = (<any>(null as any));\nvar _decl0_86:i23.DirectivesModule = (<any>(null as any));\nvar _decl0_87:i14.MatIconModule = (<any>(null as any));\nvar _decl0_88:i15.MatButtonModule = (<any>(null as any));\nvar _decl0_89:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_90:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_NumberInputComponent_Host_1_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_60.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_60.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_60.notifyFocusOut()) !== false);\n}\nfunction _View_NumberInputComponent_1_1():void {\n if (_decl0_60.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_60.label;\n currVal_0;\n }\n}\nfunction _View_NumberInputComponent_1_2():void {\n if (_decl0_60.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_60.hint;\n currVal_3;\n }\n}\nfunction _View_NumberInputComponent_1_3():void {\n if (_decl0_60.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_60.firstError;\n currVal_1;\n }\n}\nfunction _View_NumberInputComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_60.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_60.label;\n currVal_24;\n const currVal_25:any = !_decl0_60.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_60.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_60.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_60.placeholder,'');\n currVal_35;\n const currVal_36:any = 'number';\n currVal_36;\n const currVal_37:any = _decl0_60.errorStateMatcher;\n currVal_37;\n const currVal_38:any = _decl0_41._isServer;\n currVal_38;\n const currVal_39:any = _decl0_41.id;\n currVal_39;\n const currVal_40:any = _decl0_41.placeholder;\n currVal_40;\n const currVal_41:any = _decl0_41.disabled;\n currVal_41;\n const currVal_42:any = _decl0_41.required;\n currVal_42;\n const currVal_43:any = ((_decl0_41.readonly && !_decl0_41._isNativeSelect) || null);\n currVal_43;\n const currVal_44:any = (_decl0_41._ariaDescribedby || null);\n currVal_44;\n const currVal_45:any = _decl0_41.errorState;\n currVal_45;\n const currVal_46:any = _decl0_41.required.toString();\n currVal_46;\n const currVal_47:any = _decl0_60.valueModel;\n currVal_47;\n const currVal_48:any = _decl0_60.hint;\n currVal_48;\n const currVal_49:any = _decl0_60.hasErrors;\n currVal_49;\n const pd_50:any = ((<any>(<any>_decl0_14)._handleInput(_any.target.value)) !== false);\n const pd_51:any = ((<any>_decl0_14.onTouched()) !== false);\n const pd_52:any = ((<any>(<any>_decl0_14)._compositionStart()) !== false);\n const pd_53:any = ((<any>(<any>_decl0_14)._compositionEnd(_any.target.value)) !== false);\n const pd_54:any = ((<any>_decl0_15.onChange(_any.target.value)) !== false);\n const pd_55:any = ((<any>_decl0_15.onChange(_any.target.value)) !== false);\n const pd_56:any = ((<any>_decl0_15.onTouched()) !== false);\n const pd_57:any = ((<any>_decl0_41._focusChanged(true)) !== false);\n const pd_58:any = ((<any>_decl0_41._focusChanged(false)) !== false);\n const pd_59:any = ((<any>_decl0_41._onInput()) !== false);\n const pd_60:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_61:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_62:any = ((<any>(_decl0_60.valueModel.value = _any)) !== false);\n const pd_63:any = ((<any>_decl0_60.notifyEnterKey()) !== false);\n const pd_64:any = ((<any>_decl0_60.notifyEscapeKey()) !== false);\n}\nfunction _View_StringInputComponent_Host_2_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_61.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_61.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_61.notifyFocusOut()) !== false);\n}\nfunction _View_StringInputComponent_2_1():void {\n if (_decl0_61.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_61.label;\n currVal_0;\n }\n}\nfunction _View_StringInputComponent_2_2():void {\n if (_decl0_61.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_61.hint;\n currVal_3;\n }\n}\nfunction _View_StringInputComponent_2_3():void {\n if (_decl0_61.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_61.firstError;\n currVal_1;\n }\n}\nfunction _View_StringInputComponent_2_4():void {\n if (_decl0_61.enableClear) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_61.clearCommand;\n currVal_0;\n const currVal_1:any = (_decl0_58.disabled || null);\n currVal_1;\n const currVal_2:any = (_decl0_58._animationMode === 'NoopAnimations');\n currVal_2;\n const currVal_3:any = _decl0_57.inline;\n currVal_3;\n const currVal_4:any = (((_decl0_57.color !== 'primary') && (_decl0_57.color !== 'accent')) && (_decl0_57.color !== 'warn'));\n currVal_4;\n const pd_5:any = ((<any>_decl0_55.notifyClick(_any)) !== false);\n }\n}\nfunction _View_StringInputComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_61.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_61.label;\n currVal_24;\n const currVal_25:any = !_decl0_61.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_61.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_61.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_61.placeholder,'');\n currVal_35;\n const currVal_36:any = _decl0_61.errorStateMatcher;\n currVal_36;\n const currVal_37:any = _decl0_41._isServer;\n currVal_37;\n const currVal_38:any = _decl0_41.id;\n currVal_38;\n const currVal_39:any = _decl0_41.placeholder;\n currVal_39;\n const currVal_40:any = _decl0_41.disabled;\n currVal_40;\n const currVal_41:any = _decl0_41.required;\n currVal_41;\n const currVal_42:any = ((_decl0_41.readonly && !_decl0_41._isNativeSelect) || null);\n currVal_42;\n const currVal_43:any = (_decl0_41._ariaDescribedby || null);\n currVal_43;\n const currVal_44:any = _decl0_41.errorState;\n currVal_44;\n const currVal_45:any = _decl0_41.required.toString();\n currVal_45;\n const currVal_46:any = _decl0_61.valueModel;\n currVal_46;\n const currVal_47:any = _decl0_61.hint;\n currVal_47;\n const currVal_48:any = _decl0_61.hasErrors;\n currVal_48;\n const currVal_49:any = _decl0_61.enableClear;\n currVal_49;\n const pd_50:any = ((<any>(<any>_decl0_14)._handleInput(_any.target.value)) !== false);\n const pd_51:any = ((<any>_decl0_14.onTouched()) !== false);\n const pd_52:any = ((<any>(<any>_decl0_14)._compositionStart()) !== false);\n const pd_53:any = ((<any>(<any>_decl0_14)._compositionEnd(_any.target.value)) !== false);\n const pd_54:any = ((<any>_decl0_41._focusChanged(true)) !== false);\n const pd_55:any = ((<any>_decl0_41._focusChanged(false)) !== false);\n const pd_56:any = ((<any>_decl0_41._onInput()) !== false);\n const pd_57:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_58:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_59:any = ((<any>(_decl0_61.valueModel.value = _any)) !== false);\n const pd_60:any = ((<any>_decl0_61.notifyEnterKey()) !== false);\n const pd_61:any = ((<any>_decl0_61.notifyEscapeKey()) !== false);\n}\nfunction _View_PasswordInputComponent_Host_3_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_62.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_62.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_62.notifyFocusOut()) !== false);\n}\nfunction _View_PasswordInputComponent_3_1():void {\n if (_decl0_62.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_62.label;\n currVal_0;\n }\n}\nfunction _View_PasswordInputComponent_3_2():void {\n if (_decl0_62.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_62.hint;\n currVal_3;\n }\n}\nfunction _View_PasswordInputComponent_3_3():void {\n if (_decl0_62.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_62.firstError;\n currVal_1;\n }\n}\nfunction _View_PasswordInputComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_62.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_62.label;\n currVal_24;\n const currVal_25:any = !_decl0_62.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_62.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_62.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_62.placeholder,'');\n currVal_35;\n const currVal_36:any = 'password';\n currVal_36;\n const currVal_37:any = _decl0_62.errorStateMatcher;\n currVal_37;\n const currVal_38:any = _decl0_41._isServer;\n currVal_38;\n const currVal_39:any = _decl0_41.id;\n currVal_39;\n const currVal_40:any = _decl0_41.placeholder;\n currVal_40;\n const currVal_41:any = _decl0_41.disabled;\n currVal_41;\n const currVal_42:any = _decl0_41.required;\n currVal_42;\n const currVal_43:any = ((_decl0_41.readonly && !_decl0_41._isNativeSelect) || null);\n currVal_43;\n const currVal_44:any = (_decl0_41._ariaDescribedby || null);\n currVal_44;\n const currVal_45:any = _decl0_41.errorState;\n currVal_45;\n const currVal_46:any = _decl0_41.required.toString();\n currVal_46;\n const currVal_47:any = _decl0_62.valueModel;\n currVal_47;\n const currVal_48:any = _decl0_62.hint;\n currVal_48;\n const currVal_49:any = _decl0_62.hasErrors;\n currVal_49;\n const pd_50:any = ((<any>(<any>_decl0_14)._handleInput(_any.target.value)) !== false);\n const pd_51:any = ((<any>_decl0_14.onTouched()) !== false);\n const pd_52:any = ((<any>(<any>_decl0_14)._compositionStart()) !== false);\n const pd_53:any = ((<any>(<any>_decl0_14)._compositionEnd(_any.target.value)) !== false);\n const pd_54:any = ((<any>_decl0_41._focusChanged(true)) !== false);\n const pd_55:any = ((<any>_decl0_41._focusChanged(false)) !== false);\n const pd_56:any = ((<any>_decl0_41._onInput()) !== false);\n const pd_57:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_58:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_59:any = ((<any>(_decl0_62.valueModel.value = _any)) !== false);\n const pd_60:any = ((<any>_decl0_62.notifyEnterKey()) !== false);\n const pd_61:any = ((<any>_decl0_62.notifyEscapeKey()) !== false);\n}\nfunction _View_SelectInputComponent_Host_4_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_63.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_63.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_63.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputComponent_4_1():void {\n if (_decl0_63.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_63.label;\n currVal_0;\n }\n}\nfunction _View_SelectInputComponent_4_2():void {\n if (_decl0_63.allowNil) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_44._getTabIndex();\n currVal_0;\n const currVal_1:any = _decl0_44.selected;\n currVal_1;\n const currVal_2:any = _decl0_44.multiple;\n currVal_2;\n const currVal_3:any = _decl0_44.active;\n currVal_3;\n const currVal_4:any = _decl0_44.id;\n currVal_4;\n const currVal_5:any = _decl0_44._getAriaSelected();\n currVal_5;\n const currVal_6:any = _decl0_44.disabled.toString();\n currVal_6;\n const currVal_7:any = _decl0_44.disabled;\n currVal_7;\n const currVal_8:any = _decl0_63.placeholder;\n currVal_8;\n const pd_9:any = ((<any>_decl0_44._selectViaInteraction()) !== false);\n const pd_10:any = ((<any>_decl0_44._handleKeydown(_any)) !== false);\n }\n}\nfunction _View_SelectInputComponent_4_4():void {\n if (!_decl0_63.optionTemplateRef) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_63.optionLabelFormat(_any);\n currVal_0;\n }\n}\nfunction _View_SelectInputComponent_4_5():void {\n if (_decl0_63.optionTemplateRef) {\n var _any:any = (null as any);\n const currVal_0:any = {$implicit:_any,index:_any};\n currVal_0;\n const currVal_1:any = _decl0_63.optionTemplateRef;\n currVal_1;\n }\n}\nfunction _View_SelectInputComponent_4_3():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n const currVal_1:any = _decl0_44._getTabIndex();\n currVal_1;\n const currVal_2:any = _decl0_44.selected;\n currVal_2;\n const currVal_3:any = _decl0_44.multiple;\n currVal_3;\n const currVal_4:any = _decl0_44.active;\n currVal_4;\n const currVal_5:any = _decl0_44.id;\n currVal_5;\n const currVal_6:any = _decl0_44._getAriaSelected();\n currVal_6;\n const currVal_7:any = _decl0_44.disabled.toString();\n currVal_7;\n const currVal_8:any = _decl0_44.disabled;\n currVal_8;\n const currVal_9:any = !_decl0_63.optionTemplateRef;\n currVal_9;\n const currVal_10:any = _decl0_63.optionTemplateRef;\n currVal_10;\n const pd_11:any = ((<any>_decl0_44._selectViaInteraction()) !== false);\n const pd_12:any = ((<any>_decl0_44._handleKeydown(_any)) !== false);\n}\nfunction _View_SelectInputComponent_4_6():void {\n if (_decl0_63.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_63.hint;\n currVal_3;\n }\n}\nfunction _View_SelectInputComponent_4_7():void {\n if (_decl0_63.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_63.firstError;\n currVal_1;\n }\n}\nfunction _View_SelectInputComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_63.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_63.label;\n currVal_24;\n const currVal_25:any = !_decl0_63.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_63.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_63.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_63.placeholder,'');\n currVal_35;\n const currVal_36:any = _decl0_63.errorStateMatcher;\n currVal_36;\n const currVal_37:any = _decl0_47.id;\n currVal_37;\n const currVal_38:any = _decl0_47.tabIndex;\n currVal_38;\n const currVal_39:any = _decl0_47._getAriaLabel();\n currVal_39;\n const currVal_40:any = _decl0_47._getAriaLabelledby();\n currVal_40;\n const currVal_41:any = _decl0_47.required.toString();\n currVal_41;\n const currVal_42:any = _decl0_47.disabled.toString();\n currVal_42;\n const currVal_43:any = _decl0_47.errorState;\n currVal_43;\n const currVal_44:any = (_decl0_47.panelOpen? _decl0_47._optionIds: null);\n currVal_44;\n const currVal_45:any = _decl0_47.multiple;\n currVal_45;\n const currVal_46:any = (_decl0_47._ariaDescribedby || null);\n currVal_46;\n const currVal_47:any = _decl0_47._getAriaActiveDescendant();\n currVal_47;\n const currVal_48:any = _decl0_47.disabled;\n currVal_48;\n const currVal_49:any = _decl0_47.errorState;\n currVal_49;\n const currVal_50:any = _decl0_47.required;\n currVal_50;\n const currVal_51:any = _decl0_47.empty;\n currVal_51;\n const currVal_52:any = _decl0_63.valueModel;\n currVal_52;\n const currVal_53:any = _decl0_63.allowNil;\n currVal_53;\n const currVal_54:any = _decl0_63.optionsModel.value;\n currVal_54;\n const currVal_55:any = _decl0_63.hint;\n currVal_55;\n const currVal_56:any = _decl0_63.hasErrors;\n currVal_56;\n const pd_57:any = ((<any>_decl0_47._handleKeydown(_any)) !== false);\n const pd_58:any = ((<any>_decl0_47._onFocus()) !== false);\n const pd_59:any = ((<any>_decl0_47._onBlur()) !== false);\n const pd_60:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_61:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_62:any = ((<any>(_decl0_63.valueModel.value = _any)) !== false);\n const pd_63:any = ((<any>_decl0_63.notifyEnterKey()) !== false);\n const pd_64:any = ((<any>_decl0_63.notifyEscapeKey()) !== false);\n}\nfunction _View_ScrollContainerComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ScrollContainerComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NoopComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NoopComponent_6_0():void {\n var _any:any = (null as any);\n}\n"]}
1
+ {"version":3,"file":"components.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/components.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './components.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/forms';\nimport * as i4 from '@angular/cdk/text-field';\nimport * as i5 from '@angular/material/form-field';\nimport * as i6 from '@angular/material/input';\nimport * as i7 from '@angular/cdk/scrolling';\nimport * as i8 from '@angular/material/core';\nimport * as i9 from '@angular/cdk/bidi';\nimport * as i10 from '@angular/material/select';\nimport * as i11 from '@angular/material/tabs';\nimport * as i12 from '../directives/command.directive';\nimport * as i13 from '../directives/focus-binding.directive';\nimport * as i14 from '@angular/material/icon';\nimport * as i15 from '@angular/material/button';\nimport * as i16 from './forms/number-input/number-input.component';\nimport * as i17 from './forms/string-input/string-input.component';\nimport * as i18 from './forms/password-input/password-input.component';\nimport * as i19 from './forms/select-input/select-input.component';\nimport * as i20 from './scroll-container/scroll-container.component';\nimport * as i21 from './noop/noop.component';\nimport * as i22 from './forms/abstract-input.component';\nimport * as i23 from '@angular/platform-browser/animations';\nimport * as i24 from '../directives/directives.module';\nexport const ComponentsModuleNgFactory:i0.NgModuleFactory<i1.ComponentsModule> = (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.ɵangular_packages_forms_forms_y = (<any>(null as any));\nvar _decl0_12:i3.NgSelectOption = (<any>(null as any));\nvar _decl0_13:i3.ɵangular_packages_forms_forms_x = (<any>(null as any));\nvar _decl0_14:i3.DefaultValueAccessor = (<any>(null as any));\nvar _decl0_15:i3.NumberValueAccessor = (<any>(null as any));\nvar _decl0_16:i3.RangeValueAccessor = (<any>(null as any));\nvar _decl0_17:i3.CheckboxControlValueAccessor = (<any>(null as any));\nvar _decl0_18:i3.SelectControlValueAccessor = (<any>(null as any));\nvar _decl0_19:i3.SelectMultipleControlValueAccessor = (<any>(null as any));\nvar _decl0_20:i3.RadioControlValueAccessor = (<any>(null as any));\nvar _decl0_21:i3.NgControlStatus = (<any>(null as any));\nvar _decl0_22:i3.NgControlStatusGroup = (<any>(null as any));\nvar _decl0_23:i3.RequiredValidator = (<any>(null as any));\nvar _decl0_24:i3.MinLengthValidator = (<any>(null as any));\nvar _decl0_25:i3.MaxLengthValidator = (<any>(null as any));\nvar _decl0_26:i3.PatternValidator = (<any>(null as any));\nvar _decl0_27:i3.CheckboxRequiredValidator = (<any>(null as any));\nvar _decl0_28:i3.EmailValidator = (<any>(null as any));\nvar _decl0_29:i3.NgModel = (<any>(null as any));\nvar _decl0_30:i3.NgModelGroup = (<any>(null as any));\nvar _decl0_31:i3.NgForm = (<any>(null as any));\nvar _decl0_32:i4.CdkAutofill = (<any>(null as any));\nvar _decl0_33:i4.CdkTextareaAutosize = (<any>(null as any));\nvar _decl0_34:i5.MatError = (<any>(null as any));\nvar _decl0_35:i5.MatFormField = (<any>(null as any));\nvar _decl0_36:i5.MatHint = (<any>(null as any));\nvar _decl0_37:i5.MatLabel = (<any>(null as any));\nvar _decl0_38:i5.MatPlaceholder = (<any>(null as any));\nvar _decl0_39:i5.MatPrefix = (<any>(null as any));\nvar _decl0_40:i5.MatSuffix = (<any>(null as any));\nvar _decl0_41:i6.MatInput = (<any>(null as any));\nvar _decl0_42:i6.MatTextareaAutosize = (<any>(null as any));\nvar _decl0_43:i7.CdkScrollable = (<any>(null as any));\nvar _decl0_44:i8.MatOption = (<any>(null as any));\nvar _decl0_45:i8.MatOptgroup = (<any>(null as any));\nvar _decl0_46:i9.Dir = (<any>(null as any));\nvar _decl0_47:i10.MatSelect = (<any>(null as any));\nvar _decl0_48:i10.MatSelectTrigger = (<any>(null as any));\nvar _decl0_49:i11.MatTabGroup = (<any>(null as any));\nvar _decl0_50:i11.MatTabLabel = (<any>(null as any));\nvar _decl0_51:i11.MatTab = (<any>(null as any));\nvar _decl0_52:i11.MatTabNav = (<any>(null as any));\nvar _decl0_53:i11.MatTabLink = (<any>(null as any));\nvar _decl0_54:i11.MatTabContent = (<any>(null as any));\nvar _decl0_55:i12.CommandDirective<any> = (<any>(null as any));\nvar _decl0_56:i13.FocusBindingDirective = (<any>(null as any));\nvar _decl0_57:i14.MatIcon = (<any>(null as any));\nvar _decl0_58:i15.MatButton = (<any>(null as any));\nvar _decl0_59:i15.MatAnchor = (<any>(null as any));\nvar _decl0_60:i16.NumberInputComponent = (<any>(null as any));\nvar _decl0_61:i17.StringInputComponent = (<any>(null as any));\nvar _decl0_62:i18.PasswordInputComponent = (<any>(null as any));\nvar _decl0_63:i19.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_64:i20.ScrollContainerComponent = (<any>(null as any));\nvar _decl0_65:i21.NoopComponent = (<any>(null as any));\nvar _decl0_66:i22.AbstractInputComponent<any> = (<any>(null as any));\nvar _decl0_67:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_68:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_69:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_70:i2.JsonPipe = (<any>(null as any));\nvar _decl0_71:i2.SlicePipe = (<any>(null as any));\nvar _decl0_72:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_73:i2.PercentPipe = (<any>(null as any));\nvar _decl0_74:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_75:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_76:i2.DatePipe = (<any>(null as any));\nvar _decl0_77:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_78:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_79:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_80:i2.CommonModule = (<any>(null as any));\nvar _decl0_81:i23.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_82:i3.FormsModule = (<any>(null as any));\nvar _decl0_83:i6.MatInputModule = (<any>(null as any));\nvar _decl0_84:i5.MatFormFieldModule = (<any>(null as any));\nvar _decl0_85:i10.MatSelectModule = (<any>(null as any));\nvar _decl0_86:i11.MatTabsModule = (<any>(null as any));\nvar _decl0_87:i24.DirectivesModule = (<any>(null as any));\nvar _decl0_88:i14.MatIconModule = (<any>(null as any));\nvar _decl0_89:i15.MatButtonModule = (<any>(null as any));\nvar _decl0_90:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_91:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_NumberInputComponent_Host_1_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_60.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_60.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_60.notifyFocusOut()) !== false);\n}\nfunction _View_NumberInputComponent_1_1():void {\n if (_decl0_60.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_60.label;\n currVal_0;\n }\n}\nfunction _View_NumberInputComponent_1_2():void {\n if (_decl0_60.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_60.hint;\n currVal_3;\n }\n}\nfunction _View_NumberInputComponent_1_3():void {\n if (_decl0_60.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_60.firstError;\n currVal_1;\n }\n}\nfunction _View_NumberInputComponent_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_60.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_60.label;\n currVal_24;\n const currVal_25:any = !_decl0_60.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_60.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_60.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_60.placeholder,'');\n currVal_35;\n const currVal_36:any = 'number';\n currVal_36;\n const currVal_37:any = _decl0_60.errorStateMatcher;\n currVal_37;\n const currVal_38:any = _decl0_41._isServer;\n currVal_38;\n const currVal_39:any = _decl0_41.id;\n currVal_39;\n const currVal_40:any = _decl0_41.placeholder;\n currVal_40;\n const currVal_41:any = _decl0_41.disabled;\n currVal_41;\n const currVal_42:any = _decl0_41.required;\n currVal_42;\n const currVal_43:any = ((_decl0_41.readonly && !_decl0_41._isNativeSelect) || null);\n currVal_43;\n const currVal_44:any = (_decl0_41._ariaDescribedby || null);\n currVal_44;\n const currVal_45:any = _decl0_41.errorState;\n currVal_45;\n const currVal_46:any = _decl0_41.required.toString();\n currVal_46;\n const currVal_47:any = _decl0_60.valueModel;\n currVal_47;\n const currVal_48:any = _decl0_60.hint;\n currVal_48;\n const currVal_49:any = _decl0_60.hasErrors;\n currVal_49;\n const pd_50:any = ((<any>(<any>_decl0_14)._handleInput(_any.target.value)) !== false);\n const pd_51:any = ((<any>_decl0_14.onTouched()) !== false);\n const pd_52:any = ((<any>(<any>_decl0_14)._compositionStart()) !== false);\n const pd_53:any = ((<any>(<any>_decl0_14)._compositionEnd(_any.target.value)) !== false);\n const pd_54:any = ((<any>_decl0_15.onChange(_any.target.value)) !== false);\n const pd_55:any = ((<any>_decl0_15.onChange(_any.target.value)) !== false);\n const pd_56:any = ((<any>_decl0_15.onTouched()) !== false);\n const pd_57:any = ((<any>_decl0_41._focusChanged(true)) !== false);\n const pd_58:any = ((<any>_decl0_41._focusChanged(false)) !== false);\n const pd_59:any = ((<any>_decl0_41._onInput()) !== false);\n const pd_60:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_61:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_62:any = ((<any>(_decl0_60.valueModel.value = _any)) !== false);\n const pd_63:any = ((<any>_decl0_60.notifyEnterKey()) !== false);\n const pd_64:any = ((<any>_decl0_60.notifyEscapeKey()) !== false);\n}\nfunction _View_StringInputComponent_Host_2_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_61.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_61.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_61.notifyFocusOut()) !== false);\n}\nfunction _View_StringInputComponent_2_1():void {\n if (_decl0_61.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_61.label;\n currVal_0;\n }\n}\nfunction _View_StringInputComponent_2_2():void {\n if (_decl0_61.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_61.hint;\n currVal_3;\n }\n}\nfunction _View_StringInputComponent_2_3():void {\n if (_decl0_61.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_61.firstError;\n currVal_1;\n }\n}\nfunction _View_StringInputComponent_2_4():void {\n if (_decl0_61.enableClear) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_61.clearCommand;\n currVal_0;\n const currVal_1:any = (_decl0_58.disabled || null);\n currVal_1;\n const currVal_2:any = (_decl0_58._animationMode === 'NoopAnimations');\n currVal_2;\n const currVal_3:any = _decl0_57.inline;\n currVal_3;\n const currVal_4:any = (((_decl0_57.color !== 'primary') && (_decl0_57.color !== 'accent')) && (_decl0_57.color !== 'warn'));\n currVal_4;\n const pd_5:any = ((<any>_decl0_55.notifyClick(_any)) !== false);\n }\n}\nfunction _View_StringInputComponent_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_61.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_61.label;\n currVal_24;\n const currVal_25:any = !_decl0_61.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_61.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_61.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_61.placeholder,'');\n currVal_35;\n const currVal_36:any = _decl0_61.errorStateMatcher;\n currVal_36;\n const currVal_37:any = _decl0_41._isServer;\n currVal_37;\n const currVal_38:any = _decl0_41.id;\n currVal_38;\n const currVal_39:any = _decl0_41.placeholder;\n currVal_39;\n const currVal_40:any = _decl0_41.disabled;\n currVal_40;\n const currVal_41:any = _decl0_41.required;\n currVal_41;\n const currVal_42:any = ((_decl0_41.readonly && !_decl0_41._isNativeSelect) || null);\n currVal_42;\n const currVal_43:any = (_decl0_41._ariaDescribedby || null);\n currVal_43;\n const currVal_44:any = _decl0_41.errorState;\n currVal_44;\n const currVal_45:any = _decl0_41.required.toString();\n currVal_45;\n const currVal_46:any = _decl0_61.valueModel;\n currVal_46;\n const currVal_47:any = _decl0_61.hint;\n currVal_47;\n const currVal_48:any = _decl0_61.hasErrors;\n currVal_48;\n const currVal_49:any = _decl0_61.enableClear;\n currVal_49;\n const pd_50:any = ((<any>(<any>_decl0_14)._handleInput(_any.target.value)) !== false);\n const pd_51:any = ((<any>_decl0_14.onTouched()) !== false);\n const pd_52:any = ((<any>(<any>_decl0_14)._compositionStart()) !== false);\n const pd_53:any = ((<any>(<any>_decl0_14)._compositionEnd(_any.target.value)) !== false);\n const pd_54:any = ((<any>_decl0_41._focusChanged(true)) !== false);\n const pd_55:any = ((<any>_decl0_41._focusChanged(false)) !== false);\n const pd_56:any = ((<any>_decl0_41._onInput()) !== false);\n const pd_57:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_58:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_59:any = ((<any>(_decl0_61.valueModel.value = _any)) !== false);\n const pd_60:any = ((<any>_decl0_61.notifyEnterKey()) !== false);\n const pd_61:any = ((<any>_decl0_61.notifyEscapeKey()) !== false);\n}\nfunction _View_PasswordInputComponent_Host_3_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_62.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_62.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_62.notifyFocusOut()) !== false);\n}\nfunction _View_PasswordInputComponent_3_1():void {\n if (_decl0_62.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_62.label;\n currVal_0;\n }\n}\nfunction _View_PasswordInputComponent_3_2():void {\n if (_decl0_62.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_62.hint;\n currVal_3;\n }\n}\nfunction _View_PasswordInputComponent_3_3():void {\n if (_decl0_62.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_62.firstError;\n currVal_1;\n }\n}\nfunction _View_PasswordInputComponent_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_62.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_62.label;\n currVal_24;\n const currVal_25:any = !_decl0_62.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_62.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_62.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_62.placeholder,'');\n currVal_35;\n const currVal_36:any = 'password';\n currVal_36;\n const currVal_37:any = _decl0_62.errorStateMatcher;\n currVal_37;\n const currVal_38:any = _decl0_41._isServer;\n currVal_38;\n const currVal_39:any = _decl0_41.id;\n currVal_39;\n const currVal_40:any = _decl0_41.placeholder;\n currVal_40;\n const currVal_41:any = _decl0_41.disabled;\n currVal_41;\n const currVal_42:any = _decl0_41.required;\n currVal_42;\n const currVal_43:any = ((_decl0_41.readonly && !_decl0_41._isNativeSelect) || null);\n currVal_43;\n const currVal_44:any = (_decl0_41._ariaDescribedby || null);\n currVal_44;\n const currVal_45:any = _decl0_41.errorState;\n currVal_45;\n const currVal_46:any = _decl0_41.required.toString();\n currVal_46;\n const currVal_47:any = _decl0_62.valueModel;\n currVal_47;\n const currVal_48:any = _decl0_62.hint;\n currVal_48;\n const currVal_49:any = _decl0_62.hasErrors;\n currVal_49;\n const pd_50:any = ((<any>(<any>_decl0_14)._handleInput(_any.target.value)) !== false);\n const pd_51:any = ((<any>_decl0_14.onTouched()) !== false);\n const pd_52:any = ((<any>(<any>_decl0_14)._compositionStart()) !== false);\n const pd_53:any = ((<any>(<any>_decl0_14)._compositionEnd(_any.target.value)) !== false);\n const pd_54:any = ((<any>_decl0_41._focusChanged(true)) !== false);\n const pd_55:any = ((<any>_decl0_41._focusChanged(false)) !== false);\n const pd_56:any = ((<any>_decl0_41._onInput()) !== false);\n const pd_57:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_58:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_59:any = ((<any>(_decl0_62.valueModel.value = _any)) !== false);\n const pd_60:any = ((<any>_decl0_62.notifyEnterKey()) !== false);\n const pd_61:any = ((<any>_decl0_62.notifyEscapeKey()) !== false);\n}\nfunction _View_SelectInputComponent_Host_4_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_63.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_63.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_63.notifyFocusOut()) !== false);\n}\nfunction _View_SelectInputComponent_4_1():void {\n if (_decl0_63.label) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_63.label;\n currVal_0;\n }\n}\nfunction _View_SelectInputComponent_4_2():void {\n if (_decl0_63.allowNil) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_44._getTabIndex();\n currVal_0;\n const currVal_1:any = _decl0_44.selected;\n currVal_1;\n const currVal_2:any = _decl0_44.multiple;\n currVal_2;\n const currVal_3:any = _decl0_44.active;\n currVal_3;\n const currVal_4:any = _decl0_44.id;\n currVal_4;\n const currVal_5:any = _decl0_44._getAriaSelected();\n currVal_5;\n const currVal_6:any = _decl0_44.disabled.toString();\n currVal_6;\n const currVal_7:any = _decl0_44.disabled;\n currVal_7;\n const currVal_8:any = _decl0_63.placeholder;\n currVal_8;\n const pd_9:any = ((<any>_decl0_44._selectViaInteraction()) !== false);\n const pd_10:any = ((<any>_decl0_44._handleKeydown(_any)) !== false);\n }\n}\nfunction _View_SelectInputComponent_4_4():void {\n if (!_decl0_63.optionTemplateRef) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_63.optionLabelFormat(_any);\n currVal_0;\n }\n}\nfunction _View_SelectInputComponent_4_5():void {\n if (_decl0_63.optionTemplateRef) {\n var _any:any = (null as any);\n const currVal_0:any = {$implicit:_any,index:_any};\n currVal_0;\n const currVal_1:any = _decl0_63.optionTemplateRef;\n currVal_1;\n }\n}\nfunction _View_SelectInputComponent_4_3():void {\n var _any:any = (null as any);\n const currVal_0:any = _any;\n currVal_0;\n const currVal_1:any = _decl0_44._getTabIndex();\n currVal_1;\n const currVal_2:any = _decl0_44.selected;\n currVal_2;\n const currVal_3:any = _decl0_44.multiple;\n currVal_3;\n const currVal_4:any = _decl0_44.active;\n currVal_4;\n const currVal_5:any = _decl0_44.id;\n currVal_5;\n const currVal_6:any = _decl0_44._getAriaSelected();\n currVal_6;\n const currVal_7:any = _decl0_44.disabled.toString();\n currVal_7;\n const currVal_8:any = _decl0_44.disabled;\n currVal_8;\n const currVal_9:any = !_decl0_63.optionTemplateRef;\n currVal_9;\n const currVal_10:any = _decl0_63.optionTemplateRef;\n currVal_10;\n const pd_11:any = ((<any>_decl0_44._selectViaInteraction()) !== false);\n const pd_12:any = ((<any>_decl0_44._handleKeydown(_any)) !== false);\n}\nfunction _View_SelectInputComponent_4_6():void {\n if (_decl0_63.hint) {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_36.align == 'end');\n currVal_0;\n const currVal_1:any = _decl0_36.id;\n currVal_1;\n const currVal_2:any = null;\n currVal_2;\n const currVal_3:any = _decl0_63.hint;\n currVal_3;\n }\n}\nfunction _View_SelectInputComponent_4_7():void {\n if (_decl0_63.hasErrors) {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_34.id;\n currVal_0;\n const currVal_1:any = _decl0_63.firstError;\n currVal_1;\n }\n}\nfunction _View_SelectInputComponent_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'standard';\n currVal_0;\n const currVal_1:any = _decl0_63.floatLabel;\n currVal_1;\n const currVal_2:any = (_decl0_35.appearance == 'standard');\n currVal_2;\n const currVal_3:any = (_decl0_35.appearance == 'fill');\n currVal_3;\n const currVal_4:any = (_decl0_35.appearance == 'outline');\n currVal_4;\n const currVal_5:any = (_decl0_35.appearance == 'legacy');\n currVal_5;\n const currVal_6:any = _decl0_35._control.errorState;\n currVal_6;\n const currVal_7:any = _decl0_35._canLabelFloat;\n currVal_7;\n const currVal_8:any = _decl0_35._shouldLabelFloat();\n currVal_8;\n const currVal_9:any = _decl0_35._hasFloatingLabel();\n currVal_9;\n const currVal_10:any = _decl0_35._hideControlPlaceholder();\n currVal_10;\n const currVal_11:any = _decl0_35._control.disabled;\n currVal_11;\n const currVal_12:any = _decl0_35._control.autofilled;\n currVal_12;\n const currVal_13:any = _decl0_35._control.focused;\n currVal_13;\n const currVal_14:any = (_decl0_35.color == 'accent');\n currVal_14;\n const currVal_15:any = (_decl0_35.color == 'warn');\n currVal_15;\n const currVal_16:any = _decl0_35._shouldForward('untouched');\n currVal_16;\n const currVal_17:any = _decl0_35._shouldForward('touched');\n currVal_17;\n const currVal_18:any = _decl0_35._shouldForward('pristine');\n currVal_18;\n const currVal_19:any = _decl0_35._shouldForward('dirty');\n currVal_19;\n const currVal_20:any = _decl0_35._shouldForward('valid');\n currVal_20;\n const currVal_21:any = _decl0_35._shouldForward('invalid');\n currVal_21;\n const currVal_22:any = _decl0_35._shouldForward('pending');\n currVal_22;\n const currVal_23:any = !_decl0_35._animationsEnabled;\n currVal_23;\n const currVal_24:any = _decl0_63.label;\n currVal_24;\n const currVal_25:any = !_decl0_63.enabled.value;\n currVal_25;\n const currVal_26:any = _decl0_63.valueModel.value;\n currVal_26;\n const currVal_27:any = _decl0_21.ngClassUntouched;\n currVal_27;\n const currVal_28:any = _decl0_21.ngClassTouched;\n currVal_28;\n const currVal_29:any = _decl0_21.ngClassPristine;\n currVal_29;\n const currVal_30:any = _decl0_21.ngClassDirty;\n currVal_30;\n const currVal_31:any = _decl0_21.ngClassValid;\n currVal_31;\n const currVal_32:any = _decl0_21.ngClassInvalid;\n currVal_32;\n const currVal_33:any = _decl0_21.ngClassPending;\n currVal_33;\n const currVal_34:any = !_decl0_63.enabled.value;\n currVal_34;\n const currVal_35:any = i0.ɵinlineInterpolate(1,'',_decl0_63.placeholder,'');\n currVal_35;\n const currVal_36:any = _decl0_63.errorStateMatcher;\n currVal_36;\n const currVal_37:any = _decl0_47.id;\n currVal_37;\n const currVal_38:any = _decl0_47.tabIndex;\n currVal_38;\n const currVal_39:any = _decl0_47._getAriaLabel();\n currVal_39;\n const currVal_40:any = _decl0_47._getAriaLabelledby();\n currVal_40;\n const currVal_41:any = _decl0_47.required.toString();\n currVal_41;\n const currVal_42:any = _decl0_47.disabled.toString();\n currVal_42;\n const currVal_43:any = _decl0_47.errorState;\n currVal_43;\n const currVal_44:any = (_decl0_47.panelOpen? _decl0_47._optionIds: null);\n currVal_44;\n const currVal_45:any = _decl0_47.multiple;\n currVal_45;\n const currVal_46:any = (_decl0_47._ariaDescribedby || null);\n currVal_46;\n const currVal_47:any = _decl0_47._getAriaActiveDescendant();\n currVal_47;\n const currVal_48:any = _decl0_47.disabled;\n currVal_48;\n const currVal_49:any = _decl0_47.errorState;\n currVal_49;\n const currVal_50:any = _decl0_47.required;\n currVal_50;\n const currVal_51:any = _decl0_47.empty;\n currVal_51;\n const currVal_52:any = _decl0_63.valueModel;\n currVal_52;\n const currVal_53:any = _decl0_63.allowNil;\n currVal_53;\n const currVal_54:any = _decl0_63.optionsModel.value;\n currVal_54;\n const currVal_55:any = _decl0_63.hint;\n currVal_55;\n const currVal_56:any = _decl0_63.hasErrors;\n currVal_56;\n const pd_57:any = ((<any>_decl0_47._handleKeydown(_any)) !== false);\n const pd_58:any = ((<any>_decl0_47._onFocus()) !== false);\n const pd_59:any = ((<any>_decl0_47._onBlur()) !== false);\n const pd_60:any = ((<any>_decl0_56.onFocusIn()) !== false);\n const pd_61:any = ((<any>_decl0_56.onFocusOut()) !== false);\n const pd_62:any = ((<any>(_decl0_63.valueModel.value = _any)) !== false);\n const pd_63:any = ((<any>_decl0_63.notifyEnterKey()) !== false);\n const pd_64:any = ((<any>_decl0_63.notifyEscapeKey()) !== false);\n}\nfunction _View_ScrollContainerComponent_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ScrollContainerComponent_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NoopComponent_Host_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_NoopComponent_6_0():void {\n var _any:any = (null as any);\n}\nfunction _View_AbstractInputComponent_Host_7_0():void {\n var _any:any = (null as any);\n const pd_0:any = ((<any>_decl0_66.notifyClick()) !== false);\n const pd_1:any = ((<any>_decl0_66.notifyFocusIn()) !== false);\n const pd_2:any = ((<any>_decl0_66.notifyFocusOut()) !== false);\n}\nfunction _View_AbstractInputComponent_7_0():void {\n var _any:any = (null as any);\n}\n"]}
@@ -1,13 +1,13 @@
1
1
  import { __decorate, __extends, __metadata } from "tslib";
2
2
  /* tslint:disable:no-input-rename */
3
- import { EventEmitter, HostListener, Input, Output, Directive } from '@angular/core';
4
- import { Command, DelegatingFormValueModel, UseDelegate, ValueModel } from '@coolon/pectin';
3
+ import { Component, EventEmitter, HostListener, Input, Output } from '@angular/core';
4
+ import { Command, DelegatingFormValueModel } from '@coolon/pectin';
5
5
  import { DisposableComponent } from '../disposable-component';
6
6
  var AbstractInputComponent = /** @class */ (function (_super) {
7
7
  __extends(AbstractInputComponent, _super);
8
8
  function AbstractInputComponent() {
9
9
  var _this = _super.call(this) || this;
10
- _this.valueModel = new DelegatingFormValueModel();
10
+ _this.delegatingFormValueModel = new DelegatingFormValueModel();
11
11
  // TODO: fix this.
12
12
  // tslint:disable-next-line:no-output-native
13
13
  _this.focus = new EventEmitter();
@@ -25,13 +25,6 @@ var AbstractInputComponent = /** @class */ (function (_super) {
25
25
  };
26
26
  return _this;
27
27
  }
28
- Object.defineProperty(AbstractInputComponent.prototype, "userValueModel", {
29
- set: function (model) {
30
- this.valueModel.setDelegate(model);
31
- },
32
- enumerable: true,
33
- configurable: true
34
- });
35
28
  AbstractInputComponent.prototype.notifyClick = function () {
36
29
  this.safelyInvoke(this.clickCommand);
37
30
  };
@@ -63,7 +56,7 @@ var AbstractInputComponent = /** @class */ (function (_super) {
63
56
  };
64
57
  Object.defineProperty(AbstractInputComponent.prototype, "enabled", {
65
58
  get: function () {
66
- return this.valueModel.enabled;
59
+ return this.delegatingFormValueModel.enabled;
67
60
  },
68
61
  enumerable: true,
69
62
  configurable: true
@@ -73,7 +66,7 @@ var AbstractInputComponent = /** @class */ (function (_super) {
73
66
  };
74
67
  Object.defineProperty(AbstractInputComponent.prototype, "errorList", {
75
68
  get: function () {
76
- return this.valueModel.errorList;
69
+ return this.delegatingFormValueModel.errorList;
77
70
  },
78
71
  enumerable: true,
79
72
  configurable: true
@@ -85,11 +78,6 @@ var AbstractInputComponent = /** @class */ (function (_super) {
85
78
  enumerable: true,
86
79
  configurable: true
87
80
  });
88
- __decorate([
89
- Input('valueModel'), UseDelegate(),
90
- __metadata("design:type", ValueModel),
91
- __metadata("design:paramtypes", [ValueModel])
92
- ], AbstractInputComponent.prototype, "userValueModel", null);
93
81
  __decorate([
94
82
  Input(),
95
83
  __metadata("design:type", String)
@@ -161,7 +149,7 @@ var AbstractInputComponent = /** @class */ (function (_super) {
161
149
  __metadata("design:returntype", void 0)
162
150
  ], AbstractInputComponent.prototype, "notifyFocusOut", null);
163
151
  AbstractInputComponent = __decorate([
164
- Directive(),
152
+ Component({ template: '' }),
165
153
  __metadata("design:paramtypes", [])
166
154
  ], AbstractInputComponent);
167
155
  return AbstractInputComponent;
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/abstract-input.component.ts"],"names":[],"mappings":";AAAA,oCAAoC;AACpC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG7F,OAAO,EAAE,OAAO,EAAE,wBAAwB,EAAa,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACvG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D;IAAwD,0CAAmB;IAkEzE;QAAA,YACE,iBAAO,SAOR;QAxEQ,gBAAU,GAAG,IAAI,wBAAwB,EAAK,CAAC;QAkBxD,kBAAkB;QAClB,4CAA4C;QAClC,WAAK,GAAG,IAAI,YAAY,EAAE,CAAC;QACrC,4CAA4C;QAClC,UAAI,GAAG,IAAI,YAAY,EAAE,CAAC;QACpC,4CAA4C;QAClC,cAAQ,GAAG,IAAI,YAAY,EAAE,CAAC;QACxC,4CAA4C;QAClC,eAAS,GAAG,IAAI,YAAY,EAAE,CAAC;QAwCvC,IAAM,IAAI,GAAG,KAAI,CAAC;QAClB,KAAI,CAAC,iBAAiB,GAAG;YACvB,YAAY,EAAZ,UAAa,OAA2B,EAAE,IAAwC;gBAChF,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;YAC1B,CAAC;SACF,CAAC;;IACJ,CAAC;IArED,sBAAI,kDAAc;aAAlB,UAAmB,KAAoB;YACrC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC;;;OAAA;IA0BD,4CAAW,GAAX;QACE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACvC,CAAC;IAGD,8CAAa,GAAb;QACE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACrC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IACpB,CAAC;IAGD,+CAAc,GAAd;QACE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACpC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACnB,CAAC;IAGD,+CAAc,GAAd;QACE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,gDAAe,GAAf;QACE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IACxB,CAAC;IAES,6CAAY,GAAtB,UAAuB,OAAqB;QAC1C,IAAI,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE;YACpC,OAAO,CAAC,OAAO,EAAE,CAAC;SACnB;IACH,CAAC;IAYD,yCAAQ,GAAR;IACA,CAAC;IAED,0CAAS,GAAT;QACE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,CAAC;IAED,sBAAI,2CAAO;aAAX;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;QACjC,CAAC;;;OAAA;IAED,0CAAS,GAAT;QACE,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;IAC3C,CAAC;IAED,sBAAI,6CAAS;aAAb;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;QACnC,CAAC;;;OAAA;IAED,sBAAI,8CAAU;aAAd;YACE,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3D,CAAC;;;OAAA;IA5FD;QADC,KAAK,CAAC,YAAY,CAAC,EAAE,WAAW,EAAE;kCACT,UAAU;yCAAV,UAAU;gEAEnC;IAEQ;QAAR,KAAK,EAAE;;yDAAe;IACd;QAAR,KAAK,EAAE;;8DAAyC;IACxC;QAAR,KAAK,EAAE;;wDAAc;IACb;QAAR,KAAK,EAAE;;+DAAqB;IAEL;QAAvB,KAAK,CAAC,eAAe,CAAC;kCAAe,OAAO;gEAAM;IAC5B;QAAtB,KAAK,CAAC,cAAc,CAAC;kCAAc,OAAO;+DAAM;IACzB;QAAvB,KAAK,CAAC,eAAe,CAAC;kCAAe,OAAO;gEAAM;IAC1B;QAAxB,KAAK,CAAC,gBAAgB,CAAC;kCAAgB,OAAO;iEAAM;IAC7B;QAAvB,KAAK,CAAC,eAAe,CAAC;kCAAe,OAAO;gEAAM;IAIzC;QAAT,MAAM,EAAE;;yDAA4B;IAE3B;QAAT,MAAM,EAAE;;wDAA2B;IAE1B;QAAT,MAAM,EAAE;;4DAA+B;IAE9B;QAAT,MAAM,EAAE;;6DAAgC;IAKzC;QADC,YAAY,CAAC,OAAO,CAAC;;;;6DAGrB;IAGD;QADC,YAAY,CAAC,SAAS,CAAC;;;;+DAIvB;IAGD;QADC,YAAY,CAAC,UAAU,CAAC;;;;gEAIxB;IA/CmB,sBAAsB;QAD3C,SAAS,EAAE;;OACU,sBAAsB,CAoG3C;IAAD,6BAAC;CAAA,AApGD,CAAwD,mBAAmB,GAoG1E;SApGqB,sBAAsB","sourcesContent":["/* tslint:disable:no-input-rename */\nimport { EventEmitter, HostListener, Input, OnInit, Output, Directive } from '@angular/core';\nimport { FormControl, FormGroupDirective, NgForm } from '@angular/forms';\nimport { ErrorStateMatcher } from '@angular/material/core';\nimport { Command, DelegatingFormValueModel, ListModel, UseDelegate, ValueModel } from '@coolon/pectin';\nimport { DisposableComponent } from '../disposable-component';\n\n@Directive()\nexport abstract class AbstractInputComponent<T> extends DisposableComponent implements OnInit {\n\n readonly valueModel = new DelegatingFormValueModel<T>();\n\n @Input('valueModel') @UseDelegate()\n set userValueModel(model: ValueModel<T>) {\n this.valueModel.setDelegate(model);\n }\n\n @Input() label: string;\n @Input() floatLabel: 'auto' | 'always' | 'never';\n @Input() hint: string;\n @Input() placeholder: string;\n\n @Input('command.focus') focusCommand: Command<any>;\n @Input('command.blur') blurCommand: Command<any>;\n @Input('command.enter') enterCommand: Command<any>;\n @Input('command.escape') escapeCommand: Command<any>;\n @Input('command.click') clickCommand: Command<any>;\n\n // TODO: fix this.\n // tslint:disable-next-line:no-output-native\n @Output() focus = new EventEmitter();\n // tslint:disable-next-line:no-output-native\n @Output() blur = new EventEmitter();\n // tslint:disable-next-line:no-output-native\n @Output() enterKey = new EventEmitter();\n // tslint:disable-next-line:no-output-native\n @Output() escapeKey = new EventEmitter();\n\n readonly errorStateMatcher: ErrorStateMatcher;\n\n @HostListener('click')\n notifyClick() {\n this.safelyInvoke(this.clickCommand);\n }\n\n @HostListener('focusin')\n notifyFocusIn() {\n this.safelyInvoke(this.focusCommand);\n this.focus.emit();\n }\n\n @HostListener('focusout')\n notifyFocusOut() {\n this.safelyInvoke(this.blurCommand);\n this.blur.emit();\n }\n\n\n notifyEnterKey() {\n this.safelyInvoke(this.enterCommand);\n this.enterKey.emit();\n }\n\n notifyEscapeKey() {\n this.safelyInvoke(this.escapeCommand);\n this.escapeKey.emit();\n }\n\n protected safelyInvoke(command: Command<any>) {\n if (command && command.enabled.value) {\n command.execute();\n }\n }\n\n constructor() {\n super();\n const self = this;\n this.errorStateMatcher = {\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\n return self.hasErrors();\n }\n };\n }\n\n ngOnInit(): void {\n }\n\n isEnabled(): boolean {\n return this.enabled.value;\n }\n\n get enabled(): ValueModel<boolean> {\n return this.valueModel.enabled;\n }\n\n hasErrors(): boolean {\n return !this.errorList.query().isEmpty();\n }\n\n get errorList(): ListModel<string> {\n return this.valueModel.errorList;\n }\n\n get firstError() {\n return this.hasErrors() ? this.errorList.value[0] : null;\n }\n\n\n}\n"]}
1
+ {"version":3,"file":"abstract-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/abstract-input.component.ts"],"names":[],"mappings":"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","sourcesContent":["/* tslint:disable:no-input-rename */\nimport { Component, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { FormControl, FormGroupDirective, NgForm } from '@angular/forms';\nimport { ErrorStateMatcher } from '@angular/material/core';\nimport { Command, DelegatingFormValueModel, ListModel, ValueModel } from '@coolon/pectin';\nimport { DisposableComponent } from '../disposable-component';\n\n@Component({ template: '' })\nexport class AbstractInputComponent<T> extends DisposableComponent implements OnInit {\n\n readonly delegatingFormValueModel = new DelegatingFormValueModel<T>();\n\n @Input() label: string;\n @Input() floatLabel: 'auto' | 'always' | 'never';\n @Input() hint: string;\n @Input() placeholder: string;\n\n @Input('command.focus') focusCommand: Command<any>;\n @Input('command.blur') blurCommand: Command<any>;\n @Input('command.enter') enterCommand: Command<any>;\n @Input('command.escape') escapeCommand: Command<any>;\n @Input('command.click') clickCommand: Command<any>;\n\n // TODO: fix this.\n // tslint:disable-next-line:no-output-native\n @Output() focus = new EventEmitter();\n // tslint:disable-next-line:no-output-native\n @Output() blur = new EventEmitter();\n // tslint:disable-next-line:no-output-native\n @Output() enterKey = new EventEmitter();\n // tslint:disable-next-line:no-output-native\n @Output() escapeKey = new EventEmitter();\n\n readonly errorStateMatcher: ErrorStateMatcher;\n\n @HostListener('click')\n notifyClick() {\n this.safelyInvoke(this.clickCommand);\n }\n\n @HostListener('focusin')\n notifyFocusIn() {\n this.safelyInvoke(this.focusCommand);\n this.focus.emit();\n }\n\n @HostListener('focusout')\n notifyFocusOut() {\n this.safelyInvoke(this.blurCommand);\n this.blur.emit();\n }\n\n notifyEnterKey() {\n this.safelyInvoke(this.enterCommand);\n this.enterKey.emit();\n }\n\n notifyEscapeKey() {\n this.safelyInvoke(this.escapeCommand);\n this.escapeKey.emit();\n }\n\n protected safelyInvoke(command: Command<any>) {\n if (command && command.enabled.value) {\n command.execute();\n }\n }\n\n constructor() {\n super();\n const self = this;\n this.errorStateMatcher = {\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\n return self.hasErrors();\n }\n };\n }\n\n ngOnInit(): void {\n }\n\n isEnabled(): boolean {\n return this.enabled.value;\n }\n\n get enabled(): ValueModel<boolean> {\n return this.delegatingFormValueModel.enabled;\n }\n\n hasErrors(): boolean {\n return !this.errorList.query().isEmpty();\n }\n\n get errorList(): ListModel<string> {\n return this.delegatingFormValueModel.errorList;\n }\n\n get firstError() {\n return this.hasErrors() ? this.errorList.value[0] : null;\n }\n\n\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abstract-input.component.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/abstract-input.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,5 +1,6 @@
1
1
  import { __decorate, __extends, __metadata } from "tslib";
2
- import { Component } from '@angular/core';
2
+ import { Component, Input } from '@angular/core';
3
+ import { UseDelegate } from '@coolon/pectin';
3
4
  import { AbstractInputComponent } from '../abstract-input.component';
4
5
  var NumberInputComponent = /** @class */ (function (_super) {
5
6
  __extends(NumberInputComponent, _super);
@@ -8,6 +9,10 @@ var NumberInputComponent = /** @class */ (function (_super) {
8
9
  }
9
10
  NumberInputComponent.prototype.ngOnInit = function () {
10
11
  };
12
+ __decorate([
13
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
14
+ __metadata("design:type", Object)
15
+ ], NumberInputComponent.prototype, "valueModel", void 0);
11
16
  NumberInputComponent = __decorate([
12
17
  Component({
13
18
  selector: 'aup-number-input',
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/number-input/number-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAQrE;IAA0C,wCAA8B;IAEtE;eACE,iBAAO;IACT,CAAC;IAED,uCAAQ,GAAR;IACA,CAAC;IAPU,oBAAoB;QALhC,SAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;YAC5B,unBAA4C;;SAE7C,CAAC;;OACW,oBAAoB,CAShC;IAAD,2BAAC;CAAA,AATD,CAA0C,sBAAsB,GAS/D;SATY,oBAAoB","sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n\n@Component({\n selector: 'aup-number-input',\n templateUrl: './number-input.component.html',\n styleUrls: ['./number-input.component.scss']\n})\nexport class NumberInputComponent extends AbstractInputComponent<string> implements OnInit {\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n}\n"]}
1
+ {"version":3,"file":"number-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/number-input/number-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EAA+D,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1G,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAQrE;IAA0C,wCAA8B;IAKtE;eACE,iBAAO;IACT,CAAC;IAED,uCAAQ,GAAR;IACA,CAAC;IAPD;QADC,KAAK,EAAE,EAAE,WAAW,CAAC,EAAC,QAAQ,EAAE,0BAA0B,EAAC,CAAC;;4DACE;IAHpD,oBAAoB;QALhC,SAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;YAC5B,unBAA4C;;SAE7C,CAAC;;OACW,oBAAoB,CAYhC;IAAD,2BAAC;CAAA,AAZD,CAA0C,sBAAsB,GAY/D;SAZY,oBAAoB","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\nimport { DelegatingFormValueModel, FormValueModel, MutableValueModel, UseDelegate } from '@coolon/pectin';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n\n@Component({\n selector: 'aup-number-input',\n templateUrl: './number-input.component.html',\n styleUrls: ['./number-input.component.scss']\n})\nexport class NumberInputComponent extends AbstractInputComponent<number> implements OnInit {\n\n @Input() @UseDelegate({useModel: \"delegatingFormValueModel\"})\n valueModel: FormValueModel<number> | MutableValueModel<number>;\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n}\n"]}
@@ -1,5 +1,6 @@
1
1
  import { __decorate, __extends, __metadata } from "tslib";
2
- import { Component } from '@angular/core';
2
+ import { Component, Input } from '@angular/core';
3
+ import { UseDelegate } from '@coolon/pectin';
3
4
  import { AbstractInputComponent } from '../abstract-input.component';
4
5
  var PasswordInputComponent = /** @class */ (function (_super) {
5
6
  __extends(PasswordInputComponent, _super);
@@ -8,6 +9,10 @@ var PasswordInputComponent = /** @class */ (function (_super) {
8
9
  }
9
10
  PasswordInputComponent.prototype.ngOnInit = function () {
10
11
  };
12
+ __decorate([
13
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
14
+ __metadata("design:type", Object)
15
+ ], PasswordInputComponent.prototype, "valueModel", void 0);
11
16
  PasswordInputComponent = __decorate([
12
17
  Component({
13
18
  selector: 'aup-password-input',
@@ -1 +1 @@
1
- {"version":3,"file":"password-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/password-input/password-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE;IAA4C,0CAA8B;IAExE;eACE,iBAAO;IACT,CAAC;IAED,yCAAQ,GAAR;IACA,CAAC;IAPU,sBAAsB;QALlC,SAAS,CAAC;YACT,QAAQ,EAAE,oBAAoB;YAC9B,2nBAA8C;;SAE/C,CAAC;;OACW,sBAAsB,CASlC;IAAD,6BAAC;CAAA,AATD,CAA4C,sBAAsB,GASjE;SATY,sBAAsB","sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n@Component({\n selector: 'aup-password-input',\n templateUrl: './password-input.component.html',\n styleUrls: ['./password-input.component.scss']\n})\nexport class PasswordInputComponent extends AbstractInputComponent<string> implements OnInit {\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n}\n"]}
1
+ {"version":3,"file":"password-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/password-input/password-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EAA+D,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1G,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE;IAA4C,0CAA8B;IAKxE;eACE,iBAAO;IACT,CAAC;IAED,yCAAQ,GAAR;IACA,CAAC;IAPD;QADC,KAAK,EAAE,EAAE,WAAW,CAAC,EAAC,QAAQ,EAAE,0BAA0B,EAAC,CAAC;;8DACE;IAHpD,sBAAsB;QALlC,SAAS,CAAC;YACT,QAAQ,EAAE,oBAAoB;YAC9B,2nBAA8C;;SAE/C,CAAC;;OACW,sBAAsB,CAYlC;IAAD,6BAAC;CAAA,AAZD,CAA4C,sBAAsB,GAYjE;SAZY,sBAAsB","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\nimport { DelegatingFormValueModel, FormValueModel, MutableValueModel, UseDelegate } from '@coolon/pectin';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n@Component({\n selector: 'aup-password-input',\n templateUrl: './password-input.component.html',\n styleUrls: ['./password-input.component.scss']\n})\nexport class PasswordInputComponent extends AbstractInputComponent<string> implements OnInit {\n\n @Input() @UseDelegate({useModel: \"delegatingFormValueModel\"})\n valueModel: FormValueModel<string> | MutableValueModel<string>;\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n}\n"]}
@@ -11,6 +11,10 @@ var SelectInputComponent = /** @class */ (function (_super) {
11
11
  }
12
12
  SelectInputComponent.prototype.ngOnInit = function () {
13
13
  };
14
+ __decorate([
15
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
16
+ __metadata("design:type", Object)
17
+ ], SelectInputComponent.prototype, "valueModel", void 0);
14
18
  __decorate([
15
19
  Input(), UseDelegate(),
16
20
  __metadata("design:type", ListModel)
@@ -1 +1 @@
1
- {"version":3,"file":"select-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/select-input/select-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE;IAAmD,wCAAyB;IAuB1E;QAAA,YACE,iBAAO,SACR;QAJD,uBAAiB,GAAuB,UAAC,MAAM,IAAK,OAAA,CAAC,MAAM,IAAI,KAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,EAAhE,CAAgE,CAAC;;IAIrH,CAAC;IAED,uCAAQ,GAAR;IACA,CAAC;IAzBD;QADC,KAAK,EAAE,EAAE,WAAW,EAAE;kCACT,SAAS;8DAAI;IAG3B;QADC,KAAK,EAAE,EAAE,gBAAgB,CAAC,cAAc,CAAC;;yDAC7B;IAGb;QADC,KAAK,EAAE;;6DACa;IAGrB;QADC,KAAK,EAAE;;0DACU;IAGlB;QADC,YAAY,CAAC,gBAAgB,CAAC;kCACZ,WAAW;mEAAM;IAGpC;QADC,YAAY,CAAC,mBAAmB,CAAC;kCACZ,WAAW;sEAAM;IAGvC;QADC,KAAK,EAAE;;mEAC6G;IArB1G,oBAAoB;QALhC,SAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;YAC5B,2lCAA4C;;SAE7C,CAAC;;OACW,oBAAoB,CA8BhC;IAAD,2BAAC;CAAA,AA9BD,CAAmD,sBAAsB,GA8BxE;SA9BY,oBAAoB","sourcesContent":["import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';\nimport { ListModel, StoreInListModel, UseDelegate } from '@coolon/pectin';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n@Component({\n selector: 'aup-select-input',\n templateUrl: './select-input.component.html',\n styleUrls: ['./select-input.component.scss']\n})\nexport class SelectInputComponent<T = any> extends AbstractInputComponent<T> implements OnInit {\n\n @Input() @UseDelegate()\n optionsModel: ListModel<T>;\n\n @Input() @StoreInListModel('optionsModel')\n options: T[];\n\n @Input()\n optionLabel: keyof T;\n\n @Input()\n allowNil: boolean;\n\n @ContentChild(\"optionTemplate\")\n optionTemplateRef: TemplateRef<any>;\n\n @ContentChild(\"nilOptionTemplate\")\n nilOptionTemplateRef: TemplateRef<any>;\n\n @Input()\n optionLabelFormat: (option: T) => any = (option) => (option && this.optionLabel) ? option[this.optionLabel] : option;\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n}\n"]}
1
+ {"version":3,"file":"select-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/select-input/select-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAGL,SAAS,EAET,gBAAgB,EAChB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE;IAAmD,wCAAyB;IA0B1E;QAAA,YACE,iBAAO,SACR;QAJD,uBAAiB,GAAuB,UAAC,MAAM,IAAK,OAAA,CAAC,MAAM,IAAI,KAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,EAAhE,CAAgE,CAAC;;IAIrH,CAAC;IAED,uCAAQ,GAAR;IACA,CAAC;IA5BD;QADC,KAAK,EAAE,EAAE,WAAW,CAAC,EAAC,QAAQ,EAAE,0BAA0B,EAAC,CAAC;;4DACR;IAGrD;QADC,KAAK,EAAE,EAAE,WAAW,EAAE;kCACT,SAAS;8DAAI;IAG3B;QADC,KAAK,EAAE,EAAE,gBAAgB,CAAC,cAAc,CAAC;;yDAC7B;IAGb;QADC,KAAK,EAAE;;6DACa;IAGrB;QADC,KAAK,EAAE;;0DACU;IAGlB;QADC,YAAY,CAAC,gBAAgB,CAAC;kCACZ,WAAW;mEAAM;IAGpC;QADC,YAAY,CAAC,mBAAmB,CAAC;kCACZ,WAAW;sEAAM;IAGvC;QADC,KAAK,EAAE;;mEAC6G;IAxB1G,oBAAoB;QALhC,SAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;YAC5B,2lCAA4C;;SAE7C,CAAC;;OACW,oBAAoB,CAiChC;IAAD,2BAAC;CAAA,AAjCD,CAAmD,sBAAsB,GAiCxE;SAjCY,oBAAoB","sourcesContent":["import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';\nimport {\n DelegatingFormValueModel,\n FormValueModel,\n ListModel,\n MutableValueModel,\n StoreInListModel,\n UseDelegate\n} from '@coolon/pectin';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n@Component({\n selector: 'aup-select-input',\n templateUrl: './select-input.component.html',\n styleUrls: ['./select-input.component.scss']\n})\nexport class SelectInputComponent<T = any> extends AbstractInputComponent<T> implements OnInit {\n\n @Input() @UseDelegate({useModel: \"delegatingFormValueModel\"})\n valueModel: FormValueModel<T> | MutableValueModel<T>;\n\n @Input() @UseDelegate()\n optionsModel: ListModel<T>;\n\n @Input() @StoreInListModel('optionsModel')\n options: T[];\n\n @Input()\n optionLabel: keyof T;\n\n @Input()\n allowNil: boolean;\n\n @ContentChild(\"optionTemplate\")\n optionTemplateRef: TemplateRef<any>;\n\n @ContentChild(\"nilOptionTemplate\")\n nilOptionTemplateRef: TemplateRef<any>;\n\n @Input()\n optionLabelFormat: (option: T) => any = (option) => (option && this.optionLabel) ? option[this.optionLabel] : option;\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n}\n"]}
@@ -15,6 +15,10 @@ var StringInputComponent = /** @class */ (function (_super) {
15
15
  }
16
16
  StringInputComponent.prototype.ngOnInit = function () {
17
17
  };
18
+ __decorate([
19
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
20
+ __metadata("design:type", Object)
21
+ ], StringInputComponent.prototype, "valueModel", void 0);
18
22
  __decorate([
19
23
  Input(), UseDelegate({ defaultValue: false }),
20
24
  __metadata("design:type", ValueModel)
@@ -1 +1 @@
1
- {"version":3,"file":"string-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/string-input/string-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE;IAA0C,wCAA8B;IAUtE;QAAA,YACE,iBAAO,SAMR;QALO,IAAA,2BAAkF,EAAhF,gBAAK,EAAE,oBAAO,EAAE,kBAAM,EAAE,cAAI,EAAE,gBAAK,EAAE,oBAAO,EAAE,sBAAkC,CAAC;QACzF,KAAI,CAAC,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;YACjC,KAAI,CAAC,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;QAC/B,CAAC,CAAC,CAAC;QACH,KAAI,CAAC,YAAY,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,KAAI,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;;IAC/E,CAAC;IAED,uCAAQ,GAAR;IACA,CAAC;IAjBD;QADC,KAAK,EAAE,EAAE,WAAW,CAAC,EAAC,YAAY,EAAE,KAAK,EAAC,CAAC;kCAC1B,UAAU;kEAAU;IAGtC;QADC,KAAK,EAAE,EAAE,iBAAiB,CAAC,kBAAkB,CAAC;;6DAC1B;IANV,oBAAoB;QALhC,SAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;YAC5B,ovBAA4C;;SAE7C,CAAC;;OACW,oBAAoB,CAsBhC;IAAD,2BAAC;CAAA,AAtBD,CAA0C,sBAAsB,GAsB/D;SAtBY,oBAAoB","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\nimport { Command, Dsl, StoreInValueModel, UseDelegate, ValueModel } from '@coolon/pectin';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n@Component({\n selector: 'aup-string-input',\n templateUrl: './string-input.component.html',\n styleUrls: ['./string-input.component.scss']\n})\nexport class StringInputComponent extends AbstractInputComponent<string> implements OnInit {\n\n @Input() @UseDelegate({defaultValue: false})\n enableClearModel: ValueModel<boolean>;\n\n @Input() @StoreInValueModel('enableClearModel')\n enableClear: boolean;\n\n readonly clearCommand: Command<void>;\n\n constructor() {\n super();\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n this.clearCommand = Command.create(() => {\n this.valueModel.value = null;\n });\n this.clearCommand.disableWhile(chain.stringValue(this.valueModel).isBlank());\n }\n\n ngOnInit() {\n }\n\n}\n"]}
1
+ {"version":3,"file":"string-input.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/forms/string-input/string-input.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,OAAO,EACP,GAAG,EAGH,iBAAiB,EACjB,WAAW,EACX,UAAU,EACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE;IAA0C,wCAA8B;IAatE;QAAA,YACE,iBAAO,SAMR;QALO,IAAA,2BAAkF,EAAhF,gBAAK,EAAE,oBAAO,EAAE,kBAAM,EAAE,cAAI,EAAE,gBAAK,EAAE,oBAAO,EAAE,sBAAkC,CAAC;QACzF,KAAI,CAAC,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;YACjC,KAAI,CAAC,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;QAC/B,CAAC,CAAC,CAAC;QACH,KAAI,CAAC,YAAY,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,KAAI,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;;IAC/E,CAAC;IAED,uCAAQ,GAAR;IACA,CAAC;IApBD;QADC,KAAK,EAAE,EAAE,WAAW,CAAC,EAAC,QAAQ,EAAE,0BAA0B,EAAC,CAAC;;4DACE;IAG/D;QADC,KAAK,EAAE,EAAE,WAAW,CAAC,EAAC,YAAY,EAAE,KAAK,EAAC,CAAC;kCAC1B,UAAU;kEAAU;IAGtC;QADC,KAAK,EAAE,EAAE,iBAAiB,CAAC,kBAAkB,CAAC;;6DAC1B;IATV,oBAAoB;QALhC,SAAS,CAAC;YACT,QAAQ,EAAE,kBAAkB;YAC5B,ovBAA4C;;SAE7C,CAAC;;OACW,oBAAoB,CAyBhC;IAAD,2BAAC;CAAA,AAzBD,CAA0C,sBAAsB,GAyB/D;SAzBY,oBAAoB","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\nimport {\n Command, DelegatingFormValueModel,\n Dsl,\n FormValueModel,\n MutableValueModel,\n StoreInValueModel,\n UseDelegate,\n ValueModel\n} from '@coolon/pectin';\nimport { AbstractInputComponent } from '../abstract-input.component';\n\n@Component({\n selector: 'aup-string-input',\n templateUrl: './string-input.component.html',\n styleUrls: ['./string-input.component.scss']\n})\nexport class StringInputComponent extends AbstractInputComponent<string> implements OnInit {\n\n @Input() @UseDelegate({useModel: \"delegatingFormValueModel\"})\n valueModel: FormValueModel<string> | MutableValueModel<string>;\n\n @Input() @UseDelegate({defaultValue: false})\n enableClearModel: ValueModel<boolean>;\n\n @Input() @StoreInValueModel('enableClearModel')\n enableClear: boolean;\n\n readonly clearCommand: Command<void>;\n\n constructor() {\n super();\n const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);\n this.clearCommand = Command.create(() => {\n this.valueModel.value = null;\n });\n this.clearCommand.disableWhile(chain.stringValue(this.valueModel).isBlank());\n }\n\n ngOnInit() {\n }\n\n}\n"]}
@@ -9,7 +9,7 @@ import { MatTabsModule, MatTabGroup } from '@angular/material/tabs';
9
9
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import { MatIconModule } from '@angular/material/icon';
12
- import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, DelegatingFormValueModel, UseDelegate, ValueModel, Command, ListModel, StoreInListModel, StoreInValueModel, Deferred, Trace, MutableListModel, MutableValueModel, Guard, DebugContext, Binding, ValueHolder } from '@coolon/pectin';
12
+ import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, DelegatingFormValueModel, Command, UseDelegate, ListModel, StoreInListModel, ValueModel, StoreInValueModel, Deferred, Trace, MutableListModel, MutableValueModel, Guard, DebugContext, Binding, ValueHolder } from '@coolon/pectin';
13
13
  import { PortalModule } from '@angular/cdk/portal';
14
14
  import { MatDialogModule, MatDialog, MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
15
15
  import { RouterModule, UrlSegment, Router, UrlSerializer, NavigationStart, NavigationEnd, NavigationError, NavigationCancel, RouterOutlet } from '@angular/router';
@@ -279,7 +279,7 @@ DirectivesModule = __decorate([
279
279
  let AbstractInputComponent = class AbstractInputComponent extends DisposableComponent {
280
280
  constructor() {
281
281
  super();
282
- this.valueModel = new DelegatingFormValueModel();
282
+ this.delegatingFormValueModel = new DelegatingFormValueModel();
283
283
  // TODO: fix this.
284
284
  // tslint:disable-next-line:no-output-native
285
285
  this.focus = new EventEmitter();
@@ -296,9 +296,6 @@ let AbstractInputComponent = class AbstractInputComponent extends DisposableComp
296
296
  }
297
297
  };
298
298
  }
299
- set userValueModel(model) {
300
- this.valueModel.setDelegate(model);
301
- }
302
299
  notifyClick() {
303
300
  this.safelyInvoke(this.clickCommand);
304
301
  }
@@ -329,23 +326,18 @@ let AbstractInputComponent = class AbstractInputComponent extends DisposableComp
329
326
  return this.enabled.value;
330
327
  }
331
328
  get enabled() {
332
- return this.valueModel.enabled;
329
+ return this.delegatingFormValueModel.enabled;
333
330
  }
334
331
  hasErrors() {
335
332
  return !this.errorList.query().isEmpty();
336
333
  }
337
334
  get errorList() {
338
- return this.valueModel.errorList;
335
+ return this.delegatingFormValueModel.errorList;
339
336
  }
340
337
  get firstError() {
341
338
  return this.hasErrors() ? this.errorList.value[0] : null;
342
339
  }
343
340
  };
344
- __decorate([
345
- Input('valueModel'), UseDelegate(),
346
- __metadata("design:type", ValueModel),
347
- __metadata("design:paramtypes", [ValueModel])
348
- ], AbstractInputComponent.prototype, "userValueModel", null);
349
341
  __decorate([
350
342
  Input(),
351
343
  __metadata("design:type", String)
@@ -417,7 +409,7 @@ __decorate([
417
409
  __metadata("design:returntype", void 0)
418
410
  ], AbstractInputComponent.prototype, "notifyFocusOut", null);
419
411
  AbstractInputComponent = __decorate([
420
- Directive(),
412
+ Component({ template: '' }),
421
413
  __metadata("design:paramtypes", [])
422
414
  ], AbstractInputComponent);
423
415
 
@@ -428,6 +420,10 @@ let NumberInputComponent = class NumberInputComponent extends AbstractInputCompo
428
420
  ngOnInit() {
429
421
  }
430
422
  };
423
+ __decorate([
424
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
425
+ __metadata("design:type", Object)
426
+ ], NumberInputComponent.prototype, "valueModel", void 0);
431
427
  NumberInputComponent = __decorate([
432
428
  Component({
433
429
  selector: 'aup-number-input',
@@ -444,6 +440,10 @@ let PasswordInputComponent = class PasswordInputComponent extends AbstractInputC
444
440
  ngOnInit() {
445
441
  }
446
442
  };
443
+ __decorate([
444
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
445
+ __metadata("design:type", Object)
446
+ ], PasswordInputComponent.prototype, "valueModel", void 0);
447
447
  PasswordInputComponent = __decorate([
448
448
  Component({
449
449
  selector: 'aup-password-input',
@@ -461,6 +461,10 @@ let SelectInputComponent = class SelectInputComponent extends AbstractInputCompo
461
461
  ngOnInit() {
462
462
  }
463
463
  };
464
+ __decorate([
465
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
466
+ __metadata("design:type", Object)
467
+ ], SelectInputComponent.prototype, "valueModel", void 0);
464
468
  __decorate([
465
469
  Input(), UseDelegate(),
466
470
  __metadata("design:type", ListModel)
@@ -510,6 +514,10 @@ let StringInputComponent = class StringInputComponent extends AbstractInputCompo
510
514
  ngOnInit() {
511
515
  }
512
516
  };
517
+ __decorate([
518
+ Input(), UseDelegate({ useModel: "delegatingFormValueModel" }),
519
+ __metadata("design:type", Object)
520
+ ], StringInputComponent.prototype, "valueModel", void 0);
513
521
  __decorate([
514
522
  Input(), UseDelegate({ defaultValue: false }),
515
523
  __metadata("design:type", ValueModel)
@@ -564,7 +572,8 @@ ComponentsModule = __decorate([
564
572
  PasswordInputComponent,
565
573
  SelectInputComponent,
566
574
  ScrollContainerComponent,
567
- NoopComponent
575
+ NoopComponent,
576
+ AbstractInputComponent
568
577
  ],
569
578
  imports: [
570
579
  CommonModule,