@coolon/angular-ui-powerups 1.1.0 → 1.1.1

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 +2 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +88 -50
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.d.ts +29 -28
  7. package/coolon-angular-ui-powerups.metadata.json +1 -1
  8. package/esm2015/coolon-angular-ui-powerups.js +27 -26
  9. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  10. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  12. package/esm2015/lib/components/components.module.js +6 -1
  13. package/esm2015/lib/components/components.module.js.map +1 -1
  14. package/esm2015/lib/components/components.module.metadata.json +1 -1
  15. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  16. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +35 -0
  17. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -0
  18. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -0
  19. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -0
  20. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -0
  21. package/esm2015/lib/components/forms/number-input/number-input.component.js +1 -1
  22. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  23. package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
  24. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  25. package/esm2015/lib/components/index.js +1 -0
  26. package/esm2015/lib/components/index.js.map +1 -1
  27. package/esm2015/lib/components/index.metadata.json +1 -1
  28. package/esm5/coolon-angular-ui-powerups.js +27 -26
  29. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  30. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  31. package/esm5/lib/components/components.module.js +6 -1
  32. package/esm5/lib/components/components.module.js.map +1 -1
  33. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  34. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +38 -0
  35. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -0
  36. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -0
  37. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -0
  38. package/esm5/lib/components/forms/number-input/number-input.component.js +1 -1
  39. package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
  40. package/esm5/lib/components/forms/string-input/string-input.component.js +1 -1
  41. package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
  42. package/esm5/lib/components/index.js +1 -0
  43. package/esm5/lib/components/index.js.map +1 -1
  44. package/fesm2015/coolon-angular-ui-powerups.js +38 -4
  45. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  46. package/fesm5/coolon-angular-ui-powerups.js +41 -4
  47. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  48. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +10 -0
  49. package/lib/components/index.d.ts +1 -0
  50. package/package.json +1 -1
@@ -7,6 +7,7 @@ import { MatInputModule } from '@angular/material/input';
7
7
  import { MatSelectModule } from '@angular/material/select';
8
8
  import { MatTabsModule, MatTabGroup } from '@angular/material/tabs';
9
9
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
10
+ import { MatCheckboxModule } from '@angular/material/checkbox';
10
11
  import { MatButtonModule } from '@angular/material/button';
11
12
  import { MatIconModule } from '@angular/material/icon';
12
13
  import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, DelegatingFormValueModel, Command, TrackExternal, ListModel, StoreInListModel, ValueModel, StoreInValueModel, Deferred, Trace, MutableListModel, MutableValueModel, Guard, DebugContext, Binding, ValueHolder } from '@coolon/pectin';
@@ -469,6 +470,39 @@ var AbstractInputComponent = /** @class */ (function (_super) {
469
470
  return AbstractInputComponent;
470
471
  }(DisposableComponent));
471
472
 
473
+ var CheckboxInputComponent = /** @class */ (function (_super) {
474
+ __extends(CheckboxInputComponent, _super);
475
+ function CheckboxInputComponent() {
476
+ var _this = _super.call(this) || this;
477
+ _this.color = 'accent';
478
+ _this.labelPosition = 'after';
479
+ return _this;
480
+ }
481
+ CheckboxInputComponent.prototype.ngOnInit = function () {
482
+ };
483
+ __decorate([
484
+ Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
485
+ __metadata("design:type", Object)
486
+ ], CheckboxInputComponent.prototype, "valueModel", void 0);
487
+ __decorate([
488
+ Input(),
489
+ __metadata("design:type", String)
490
+ ], CheckboxInputComponent.prototype, "color", void 0);
491
+ __decorate([
492
+ Input(),
493
+ __metadata("design:type", String)
494
+ ], CheckboxInputComponent.prototype, "labelPosition", void 0);
495
+ CheckboxInputComponent = __decorate([
496
+ Component({
497
+ selector: 'aup-checkbox-input',
498
+ template: "<mat-checkbox\n [(ngModel)]=\"valueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
499
+ styles: [":host{display:inline-flex;flex-direction:column;margin-top:24px;margin-bottom:16px}mat-error,mat-hint{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}"]
500
+ }),
501
+ __metadata("design:paramtypes", [])
502
+ ], CheckboxInputComponent);
503
+ return CheckboxInputComponent;
504
+ }(AbstractInputComponent));
505
+
472
506
  var NumberInputComponent = /** @class */ (function (_super) {
473
507
  __extends(NumberInputComponent, _super);
474
508
  function NumberInputComponent() {
@@ -477,7 +511,7 @@ var NumberInputComponent = /** @class */ (function (_super) {
477
511
  NumberInputComponent.prototype.ngOnInit = function () {
478
512
  };
479
513
  __decorate([
480
- Input(), TrackExternal({ delegateTo: "delegatingFormValueModel" }),
514
+ Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
481
515
  __metadata("design:type", Object)
482
516
  ], NumberInputComponent.prototype, "valueModel", void 0);
483
517
  NumberInputComponent = __decorate([
@@ -579,7 +613,7 @@ var StringInputComponent = /** @class */ (function (_super) {
579
613
  StringInputComponent.prototype.ngOnInit = function () {
580
614
  };
581
615
  __decorate([
582
- Input(), TrackExternal({ delegateTo: "delegatingFormValueModel" }),
616
+ Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
583
617
  __metadata("design:type", Object)
584
618
  ], StringInputComponent.prototype, "valueModel", void 0);
585
619
  __decorate([
@@ -777,6 +811,7 @@ var ComponentsModule = /** @class */ (function () {
777
811
  StringInputComponent,
778
812
  PasswordInputComponent,
779
813
  SelectInputComponent,
814
+ CheckboxInputComponent,
780
815
  ScrollContainerComponent,
781
816
  NoopComponent,
782
817
  AbstractInputComponent,
@@ -794,12 +829,14 @@ var ComponentsModule = /** @class */ (function () {
794
829
  MatTabsModule,
795
830
  DirectivesModule,
796
831
  MatIconModule,
797
- MatButtonModule
832
+ MatButtonModule,
833
+ MatCheckboxModule
798
834
  ],
799
835
  exports: [
800
836
  NumberInputComponent,
801
837
  StringInputComponent,
802
838
  PasswordInputComponent,
839
+ CheckboxInputComponent,
803
840
  SelectInputComponent,
804
841
  ScrollContainerComponent,
805
842
  NoopComponent,
@@ -4526,5 +4563,5 @@ function VisitParameterList(options) {
4526
4563
  * Generated bundle index. Do not edit.
4527
4564
  */
4528
4565
 
4529
- 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, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, ModalInteractionContextFactory as ɵba, UrlService as ɵbb, PlaceHistory as ɵbc, TabbedPlaceNavigationComponent as ɵbd, AbstractPlaceNavigationComponent as ɵbe, ListPlaceNavComponent as ɵbf, InteractionModule as ɵbg, ActivityContainerComponent as ɵbh, AbstractInteractionContext as ɵbi, ActivityOutletComponent as ɵbj, ConfirmationDialogComponent as ɵbk, ACTIVITY_DATA as ɵbl, Activity as ɵbm, ConfirmThenDialogComponent as ɵbo, AlertDialogComponent as ɵbp, InPlaceInteractionContextComponent as ɵbr, 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, SwitchCaseOption as ɵm, SwitchCaseWhenDirective as ɵn, SwitchCaseDefaultDirective as ɵo, SwitchCaseComponent as ɵp, PlaceModule as ɵq, EmptyStateComponent as ɵr, BusyOverlayComponent as ɵs, PlaceOutletComponent as ɵt, leftRightPlaceAnimation as ɵu, LEFT_RIGHT_PLACE_ANIMATION as ɵv, AUP_PLACE_CONFIG as ɵw, PlaceRouter as ɵy, InteractionService as ɵz };
4566
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CheckboxInputComponent, 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, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, InteractionService as ɵba, ModalInteractionContextFactory as ɵbb, UrlService as ɵbc, PlaceHistory as ɵbd, TabbedPlaceNavigationComponent as ɵbe, AbstractPlaceNavigationComponent as ɵbf, ListPlaceNavComponent as ɵbg, InteractionModule as ɵbh, ActivityContainerComponent as ɵbi, AbstractInteractionContext as ɵbj, ActivityOutletComponent as ɵbk, ConfirmationDialogComponent as ɵbl, ACTIVITY_DATA as ɵbm, Activity as ɵbn, ConfirmThenDialogComponent as ɵbp, AlertDialogComponent as ɵbq, InPlaceInteractionContextComponent as ɵbs, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, CheckboxInputComponent as ɵk, ScrollContainerComponent as ɵl, NoopComponent as ɵm, SwitchCaseOption as ɵn, SwitchCaseWhenDirective as ɵo, SwitchCaseDefaultDirective as ɵp, SwitchCaseComponent as ɵq, PlaceModule as ɵr, EmptyStateComponent as ɵs, BusyOverlayComponent as ɵt, PlaceOutletComponent as ɵu, leftRightPlaceAnimation as ɵv, LEFT_RIGHT_PLACE_ANIMATION as ɵw, AUP_PLACE_CONFIG as ɵx, PlaceRouter as ɵz };
4530
4567
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map