@coolon/angular-ui-powerups 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +101 -53
- 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 +37 -36
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +35 -34
- 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 +3 -0
- 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/number-input/number-input.component.js +11 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js +35 -0
- package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -0
- package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -0
- package/esm2015/lib/components/forms/text-input/text-input.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +1 -0
- 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 +35 -34
- 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 +3 -0
- 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/number-input/number-input.component.js +13 -2
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm5/lib/components/forms/text-input/text-input.component.js +38 -0
- package/esm5/lib/components/forms/text-input/text-input.component.js.map +1 -0
- package/esm5/lib/components/forms/text-input/text-input.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/components/index.js +1 -0
- package/esm5/lib/components/index.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +44 -2
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +49 -3
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/number-input/number-input.component.d.ts +2 -0
- package/lib/components/forms/text-input/text-input.component.d.ts +10 -0
- package/lib/components/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -665,7 +665,10 @@ var CheckboxInputComponent = /** @class */ (function (_super) {
|
|
|
665
665
|
var NumberInputComponent = /** @class */ (function (_super) {
|
|
666
666
|
__extends(NumberInputComponent, _super);
|
|
667
667
|
function NumberInputComponent() {
|
|
668
|
-
|
|
668
|
+
var _this = _super.call(this) || this;
|
|
669
|
+
_this.min = Number.MIN_SAFE_INTEGER;
|
|
670
|
+
_this.max = Number.MAX_SAFE_INTEGER;
|
|
671
|
+
return _this;
|
|
669
672
|
}
|
|
670
673
|
NumberInputComponent.prototype.ngOnInit = function () {
|
|
671
674
|
};
|
|
@@ -673,10 +676,18 @@ var NumberInputComponent = /** @class */ (function (_super) {
|
|
|
673
676
|
Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
674
677
|
__metadata("design:type", Object)
|
|
675
678
|
], NumberInputComponent.prototype, "valueModel", void 0);
|
|
679
|
+
__decorate([
|
|
680
|
+
Input(),
|
|
681
|
+
__metadata("design:type", Object)
|
|
682
|
+
], NumberInputComponent.prototype, "min", void 0);
|
|
683
|
+
__decorate([
|
|
684
|
+
Input(),
|
|
685
|
+
__metadata("design:type", Object)
|
|
686
|
+
], NumberInputComponent.prototype, "max", void 0);
|
|
676
687
|
NumberInputComponent = __decorate([
|
|
677
688
|
Component({
|
|
678
689
|
selector: 'aup-number-input',
|
|
679
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"delegatingFormValueModel?.focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
690
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"number\"\n matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"delegatingFormValueModel?.focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [min]=\"min\"\n [max]=\"max\"\n >\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
680
691
|
styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}"]
|
|
681
692
|
}),
|
|
682
693
|
__metadata("design:paramtypes", [])
|
|
@@ -794,6 +805,39 @@ var StringInputComponent = /** @class */ (function (_super) {
|
|
|
794
805
|
return StringInputComponent;
|
|
795
806
|
}(AbstractInputComponent));
|
|
796
807
|
|
|
808
|
+
var TextInputComponent = /** @class */ (function (_super) {
|
|
809
|
+
__extends(TextInputComponent, _super);
|
|
810
|
+
function TextInputComponent() {
|
|
811
|
+
var _this = _super.call(this) || this;
|
|
812
|
+
_this.rows = 2;
|
|
813
|
+
return _this;
|
|
814
|
+
// const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
815
|
+
}
|
|
816
|
+
TextInputComponent.prototype.ngOnInit = function () {
|
|
817
|
+
};
|
|
818
|
+
__decorate([
|
|
819
|
+
Input(), TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
820
|
+
__metadata("design:type", Object)
|
|
821
|
+
], TextInputComponent.prototype, "valueModel", void 0);
|
|
822
|
+
__decorate([
|
|
823
|
+
Input(),
|
|
824
|
+
__metadata("design:type", Object)
|
|
825
|
+
], TextInputComponent.prototype, "rows", void 0);
|
|
826
|
+
__decorate([
|
|
827
|
+
Input(),
|
|
828
|
+
__metadata("design:type", Number)
|
|
829
|
+
], TextInputComponent.prototype, "cols", void 0);
|
|
830
|
+
TextInputComponent = __decorate([
|
|
831
|
+
Component({
|
|
832
|
+
selector: 'aup-text-input',
|
|
833
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"delegatingFormValueModel.focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
834
|
+
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}textarea{overflow:auto}"]
|
|
835
|
+
}),
|
|
836
|
+
__metadata("design:paramtypes", [])
|
|
837
|
+
], TextInputComponent);
|
|
838
|
+
return TextInputComponent;
|
|
839
|
+
}(AbstractInputComponent));
|
|
840
|
+
|
|
797
841
|
var NoopComponent = /** @class */ (function () {
|
|
798
842
|
function NoopComponent() {
|
|
799
843
|
}
|
|
@@ -1098,6 +1142,7 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
1098
1142
|
declarations: [
|
|
1099
1143
|
NumberInputComponent,
|
|
1100
1144
|
StringInputComponent,
|
|
1145
|
+
TextInputComponent,
|
|
1101
1146
|
PasswordInputComponent,
|
|
1102
1147
|
SelectInputComponent,
|
|
1103
1148
|
CheckboxInputComponent,
|
|
@@ -1128,6 +1173,7 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
1128
1173
|
exports: [
|
|
1129
1174
|
NumberInputComponent,
|
|
1130
1175
|
StringInputComponent,
|
|
1176
|
+
TextInputComponent,
|
|
1131
1177
|
PasswordInputComponent,
|
|
1132
1178
|
CheckboxInputComponent,
|
|
1133
1179
|
SelectInputComponent,
|
|
@@ -4931,5 +4977,5 @@ function VisitParameterList(options) {
|
|
|
4931
4977
|
* Generated bundle index. Do not edit.
|
|
4932
4978
|
*/
|
|
4933
4979
|
|
|
4934
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CardContainerComponent, CheckboxInputComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, 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, SidePlaceNavigationComponent, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb,
|
|
4980
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CardContainerComponent, CheckboxInputComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, 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, SidePlaceNavigationComponent, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, PlaceOutletComponent as ɵba, leftRightPlaceAnimation as ɵbb, LEFT_RIGHT_PLACE_ANIMATION as ɵbc, AUP_PLACE_CONFIG as ɵbd, PlaceRouter as ɵbf, InteractionService as ɵbg, ModalInteractionContextFactory as ɵbh, UrlService as ɵbi, PlaceHistory as ɵbj, TabbedPlaceNavigationComponent as ɵbk, AbstractPlaceNavigationComponent as ɵbl, ListPlaceNavComponent as ɵbm, SidePlaceNavigationComponent as ɵbn, InteractionModule as ɵbo, ActivityContainerComponent as ɵbp, AbstractInteractionContext as ɵbq, ActivityOutletComponent as ɵbr, ConfirmationDialogComponent as ɵbs, ACTIVITY_DATA as ɵbt, Activity as ɵbu, ConfirmThenDialogComponent as ɵbw, AlertDialogComponent as ɵbx, InPlaceInteractionContextComponent as ɵbz, FocusBindingDirective as ɵc, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, NumberInputComponent as ɵg, AbstractInputComponent as ɵh, StringInputComponent as ɵi, TextInputComponent as ɵj, PasswordInputComponent as ɵk, SelectInputComponent as ɵl, CheckboxInputComponent as ɵm, ScrollContainerComponent as ɵn, NoopComponent as ɵo, SwitchCaseOption as ɵp, SwitchCaseWhenDirective as ɵq, SwitchCaseDefaultDirective as ɵr, SwitchCaseComponent as ɵs, FocusContainerComponent as ɵt, VerticalFocusContainerComponent as ɵu, FocusableComponent as ɵv, CardContainerComponent as ɵw, PlaceModule as ɵx, EmptyStateComponent as ɵy, BusyOverlayComponent as ɵz };
|
|
4935
4981
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|