@coolon/angular-ui-powerups 0.0.133 → 0.0.135

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 (55) hide show
  1. package/bundles/coolon-angular-ui-powerups.umd.js +98 -67
  2. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  3. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  5. package/coolon-angular-ui-powerups.d.ts +27 -26
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/coolon-angular-ui-powerups.js +26 -25
  8. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  9. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  10. package/esm2015/index.js +1 -1
  11. package/esm2015/index.js.map +1 -1
  12. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  13. package/esm2015/lib/components/components.module.js +3 -0
  14. package/esm2015/lib/components/components.module.js.map +1 -1
  15. package/esm2015/lib/components/components.module.metadata.json +1 -1
  16. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  17. package/esm2015/lib/components/forms/string-input/string-input.component.js +10 -10
  18. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  19. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  20. package/esm2015/lib/components/index.js +1 -0
  21. package/esm2015/lib/components/index.js.map +1 -1
  22. package/esm2015/lib/components/index.metadata.json +1 -1
  23. package/esm2015/lib/components/scroll-container/scroll-container.component.js +23 -0
  24. package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +1 -0
  25. package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -0
  26. package/esm2015/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -0
  27. package/esm2015/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -0
  28. package/esm2015/public_api.js +1 -1
  29. package/esm2015/public_api.js.map +1 -1
  30. package/esm5/coolon-angular-ui-powerups.js +26 -25
  31. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  32. package/esm5/index.js +1 -1
  33. package/esm5/index.js.map +1 -1
  34. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  35. package/esm5/lib/components/components.module.js +3 -0
  36. package/esm5/lib/components/components.module.js.map +1 -1
  37. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  38. package/esm5/lib/components/forms/string-input/string-input.component.js +10 -10
  39. package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
  40. package/esm5/lib/components/index.js +1 -0
  41. package/esm5/lib/components/index.js.map +1 -1
  42. package/esm5/lib/components/scroll-container/scroll-container.component.js +29 -0
  43. package/esm5/lib/components/scroll-container/scroll-container.component.js.map +1 -0
  44. package/esm5/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -0
  45. package/esm5/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -0
  46. package/esm5/public_api.js +1 -1
  47. package/esm5/public_api.js.map +1 -1
  48. package/fesm2015/coolon-angular-ui-powerups.js +35 -11
  49. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  50. package/fesm5/coolon-angular-ui-powerups.js +40 -11
  51. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  52. package/lib/components/forms/string-input/string-input.component.d.ts +2 -2
  53. package/lib/components/index.d.ts +1 -0
  54. package/lib/components/scroll-container/scroll-container.component.d.ts +5 -0
  55. package/package.json +1 -1
@@ -847,7 +847,7 @@ var StringInputComponent = /** @class */ (function (_super) {
847
847
  function () {
848
848
  _this.valueModel.value = null;
849
849
  }));
850
- _this.clearCommand.disableWhile(chain(_this.valueModel).isNil());
850
+ _this.clearCommand.disableWhile(chain.stringValue(_this.valueModel).isBlank());
851
851
  return _this;
852
852
  }
853
853
  /**
@@ -861,31 +861,31 @@ var StringInputComponent = /** @class */ (function (_super) {
861
861
  StringInputComponent.decorators = [
862
862
  { type: Component, args: [{
863
863
  selector: 'aup-string-input',
864
- template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"valueModel\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"allowClear && clearCommand.enabled.value\" [pectinCommand]=\"clearCommand\">\n <mat-icon>close</mat-icon>\n </button>\n</mat-form-field>\n\n",
865
- styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}"]
864
+ template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"valueModel\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <mat-icon>close</mat-icon>\n </button>\n</mat-form-field>\n\n",
865
+ styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}button[disabled]{visibility:hidden}"]
866
866
  }] }
867
867
  ];
868
868
  /** @nocollapse */
869
869
  StringInputComponent.ctorParameters = function () { return []; };
870
870
  StringInputComponent.propDecorators = {
871
- allowClearModel: [{ type: Input }],
872
- allowClear: [{ type: Input }]
871
+ enableClearModel: [{ type: Input }],
872
+ enableClear: [{ type: Input }]
873
873
  };
874
874
  __decorate([
875
875
  UseDelegate({ defaultValue: false }),
876
876
  __metadata("design:type", ValueModel)
877
- ], StringInputComponent.prototype, "allowClearModel", void 0);
877
+ ], StringInputComponent.prototype, "enableClearModel", void 0);
878
878
  __decorate([
879
- StoreInValueModel('allowClearModel'),
879
+ StoreInValueModel('enableClearModel'),
880
880
  __metadata("design:type", Boolean)
881
- ], StringInputComponent.prototype, "allowClear", void 0);
881
+ ], StringInputComponent.prototype, "enableClear", void 0);
882
882
  return StringInputComponent;
883
883
  }(AbstractInputComponent));
884
884
  if (false) {
885
885
  /** @type {?} */
886
- StringInputComponent.prototype.allowClearModel;
886
+ StringInputComponent.prototype.enableClearModel;
887
887
  /** @type {?} */
888
- StringInputComponent.prototype.allowClear;
888
+ StringInputComponent.prototype.enableClear;
889
889
  /** @type {?} */
890
890
  StringInputComponent.prototype.clearCommand;
891
891
  }
@@ -909,6 +909,33 @@ var NoopComponent = /** @class */ (function () {
909
909
  return NoopComponent;
910
910
  }());
911
911
 
912
+ /**
913
+ * @fileoverview added by tsickle
914
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
915
+ */
916
+ var ScrollContainerComponent = /** @class */ (function () {
917
+ function ScrollContainerComponent() {
918
+ }
919
+ /**
920
+ * @return {?}
921
+ */
922
+ ScrollContainerComponent.prototype.ngOnInit = /**
923
+ * @return {?}
924
+ */
925
+ function () {
926
+ };
927
+ ScrollContainerComponent.decorators = [
928
+ { type: Component, args: [{
929
+ selector: 'aup-scroll-container',
930
+ template: "<div class=\"container\">\n <ng-content></ng-content>\n</div>\n",
931
+ styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}"]
932
+ }] }
933
+ ];
934
+ /** @nocollapse */
935
+ ScrollContainerComponent.ctorParameters = function () { return []; };
936
+ return ScrollContainerComponent;
937
+ }());
938
+
912
939
  /**
913
940
  * @fileoverview added by tsickle
914
941
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -923,6 +950,7 @@ var ComponentsModule = /** @class */ (function () {
923
950
  StringInputComponent,
924
951
  PasswordInputComponent,
925
952
  SelectInputComponent,
953
+ ScrollContainerComponent,
926
954
  NoopComponent
927
955
  ],
928
956
  imports: [
@@ -942,6 +970,7 @@ var ComponentsModule = /** @class */ (function () {
942
970
  StringInputComponent,
943
971
  PasswordInputComponent,
944
972
  SelectInputComponent,
973
+ ScrollContainerComponent,
945
974
  NoopComponent
946
975
  ]
947
976
  },] }
@@ -9367,5 +9396,5 @@ if (false) {
9367
9396
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9368
9397
  */
9369
9398
 
9370
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBindingDirective, Formatter, InPlaceInteractionContextComponent, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, SelectInputComponent, StringInputComponent, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, ListPlaceNavComponent as ɵba, InteractionModule as ɵbb, ActivityContainerComponent as ɵbc, AbstractInteractionContext as ɵbd, ActivityOutletComponent as ɵbe, ConfirmationDialogComponent as ɵbf, ACTIVITY_DATA as ɵbg, Activity as ɵbh, ConfirmThenDialogComponent as ɵbj, AlertDialogComponent as ɵbk, InPlaceInteractionContextComponent as ɵbm, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, NoopComponent as ɵk, PlaceModule as ɵl, EmptyStateComponent as ɵm, BusyOverlayComponent as ɵn, PlaceOutletComponent as ɵo, leftRightPlaceAnimation as ɵp, LEFT_RIGHT_PLACE_ANIMATION as ɵq, AUP_PLACE_CONFIG as ɵr, PlaceRouter as ɵt, InteractionService as ɵu, ModalInteractionContextFactory as ɵv, UrlService as ɵw, PlaceHistory as ɵx, TabbedPlaceNavigationComponent as ɵy, AbstractPlaceNavigationComponent as ɵz };
9399
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBindingDirective, Formatter, InPlaceInteractionContextComponent, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectInputComponent, StringInputComponent, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, AbstractPlaceNavigationComponent as ɵba, ListPlaceNavComponent as ɵbb, InteractionModule as ɵbc, ActivityContainerComponent as ɵbd, AbstractInteractionContext as ɵbe, ActivityOutletComponent as ɵbf, ConfirmationDialogComponent as ɵbg, ACTIVITY_DATA as ɵbh, Activity as ɵbi, ConfirmThenDialogComponent as ɵbk, AlertDialogComponent as ɵbl, InPlaceInteractionContextComponent as ɵbn, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, ScrollContainerComponent as ɵk, NoopComponent as ɵl, PlaceModule as ɵm, EmptyStateComponent as ɵn, BusyOverlayComponent as ɵo, PlaceOutletComponent as ɵp, leftRightPlaceAnimation as ɵq, LEFT_RIGHT_PLACE_ANIMATION as ɵr, AUP_PLACE_CONFIG as ɵs, PlaceRouter as ɵu, InteractionService as ɵv, ModalInteractionContextFactory as ɵw, UrlService as ɵx, PlaceHistory as ɵy, TabbedPlaceNavigationComponent as ɵz };
9371
9400
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map