@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.
- package/CHANGELOG.md +2 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +88 -50
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +29 -28
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +27 -26
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/components.module.js +6 -1
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +35 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/forms/number-input/number-input.component.js +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/index.js +1 -0
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/index.metadata.json +1 -1
- package/esm5/coolon-angular-ui-powerups.js +27 -26
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/components.module.js +6 -1
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +38 -0
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -0
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/components/forms/number-input/number-input.component.js +1 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm5/lib/components/index.js +1 -0
- package/esm5/lib/components/index.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +38 -4
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +41 -4
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +10 -0
- package/lib/components/index.d.ts +1 -0
- 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 { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, DelegatingFormValueModel, Command, TrackExternal, ListModel, StoreInListModel, ValueModel, StoreInValueModel, Deferred, Trace, MutableListModel, MutableValueModel, Guard, DebugContext, Binding, ValueHolder } from '@coolon/pectin';
|
|
@@ -424,6 +425,36 @@ AbstractInputComponent = __decorate([
|
|
|
424
425
|
__metadata("design:paramtypes", [])
|
|
425
426
|
], AbstractInputComponent);
|
|
426
427
|
|
|
428
|
+
let CheckboxInputComponent = class CheckboxInputComponent extends AbstractInputComponent {
|
|
429
|
+
constructor() {
|
|
430
|
+
super();
|
|
431
|
+
this.color = 'accent';
|
|
432
|
+
this.labelPosition = 'after';
|
|
433
|
+
}
|
|
434
|
+
ngOnInit() {
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
__decorate([
|
|
438
|
+
Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
439
|
+
__metadata("design:type", Object)
|
|
440
|
+
], CheckboxInputComponent.prototype, "valueModel", void 0);
|
|
441
|
+
__decorate([
|
|
442
|
+
Input(),
|
|
443
|
+
__metadata("design:type", String)
|
|
444
|
+
], CheckboxInputComponent.prototype, "color", void 0);
|
|
445
|
+
__decorate([
|
|
446
|
+
Input(),
|
|
447
|
+
__metadata("design:type", String)
|
|
448
|
+
], CheckboxInputComponent.prototype, "labelPosition", void 0);
|
|
449
|
+
CheckboxInputComponent = __decorate([
|
|
450
|
+
Component({
|
|
451
|
+
selector: 'aup-checkbox-input',
|
|
452
|
+
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",
|
|
453
|
+
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}"]
|
|
454
|
+
}),
|
|
455
|
+
__metadata("design:paramtypes", [])
|
|
456
|
+
], CheckboxInputComponent);
|
|
457
|
+
|
|
427
458
|
let NumberInputComponent = class NumberInputComponent extends AbstractInputComponent {
|
|
428
459
|
constructor() {
|
|
429
460
|
super();
|
|
@@ -432,7 +463,7 @@ let NumberInputComponent = class NumberInputComponent extends AbstractInputCompo
|
|
|
432
463
|
}
|
|
433
464
|
};
|
|
434
465
|
__decorate([
|
|
435
|
-
Input(), TrackExternal({ delegateTo:
|
|
466
|
+
Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
436
467
|
__metadata("design:type", Object)
|
|
437
468
|
], NumberInputComponent.prototype, "valueModel", void 0);
|
|
438
469
|
NumberInputComponent = __decorate([
|
|
@@ -526,7 +557,7 @@ let StringInputComponent = class StringInputComponent extends AbstractInputCompo
|
|
|
526
557
|
}
|
|
527
558
|
};
|
|
528
559
|
__decorate([
|
|
529
|
-
Input(), TrackExternal({ delegateTo:
|
|
560
|
+
Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
530
561
|
__metadata("design:type", Object)
|
|
531
562
|
], StringInputComponent.prototype, "valueModel", void 0);
|
|
532
563
|
__decorate([
|
|
@@ -699,6 +730,7 @@ ComponentsModule = __decorate([
|
|
|
699
730
|
StringInputComponent,
|
|
700
731
|
PasswordInputComponent,
|
|
701
732
|
SelectInputComponent,
|
|
733
|
+
CheckboxInputComponent,
|
|
702
734
|
ScrollContainerComponent,
|
|
703
735
|
NoopComponent,
|
|
704
736
|
AbstractInputComponent,
|
|
@@ -716,12 +748,14 @@ ComponentsModule = __decorate([
|
|
|
716
748
|
MatTabsModule,
|
|
717
749
|
DirectivesModule,
|
|
718
750
|
MatIconModule,
|
|
719
|
-
MatButtonModule
|
|
751
|
+
MatButtonModule,
|
|
752
|
+
MatCheckboxModule
|
|
720
753
|
],
|
|
721
754
|
exports: [
|
|
722
755
|
NumberInputComponent,
|
|
723
756
|
StringInputComponent,
|
|
724
757
|
PasswordInputComponent,
|
|
758
|
+
CheckboxInputComponent,
|
|
725
759
|
SelectInputComponent,
|
|
726
760
|
ScrollContainerComponent,
|
|
727
761
|
NoopComponent,
|
|
@@ -4029,5 +4063,5 @@ function VisitParameterList(options) {
|
|
|
4029
4063
|
* Generated bundle index. Do not edit.
|
|
4030
4064
|
*/
|
|
4031
4065
|
|
|
4032
|
-
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,
|
|
4066
|
+
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 };
|
|
4033
4067
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|