@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.
- package/bundles/coolon-angular-ui-powerups.umd.js +98 -67
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +27 -26
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +26 -25
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/index.js +1 -1
- package/esm2015/index.js.map +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/string-input/string-input.component.js +10 -10
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +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/esm2015/lib/components/scroll-container/scroll-container.component.js +23 -0
- package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +1 -0
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -0
- package/esm2015/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/public_api.js +1 -1
- package/esm2015/public_api.js.map +1 -1
- package/esm5/coolon-angular-ui-powerups.js +26 -25
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/index.js +1 -1
- package/esm5/index.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/string-input/string-input.component.js +10 -10
- 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/esm5/lib/components/scroll-container/scroll-container.component.js +29 -0
- package/esm5/lib/components/scroll-container/scroll-container.component.js.map +1 -0
- package/esm5/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/public_api.js +1 -1
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +35 -11
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +40 -11
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/string-input/string-input.component.d.ts +2 -2
- package/lib/components/index.d.ts +1 -0
- package/lib/components/scroll-container/scroll-container.component.d.ts +5 -0
- package/package.json +1 -1
package/esm5/public_api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export { AngularUiPowerupsModule } from './lib/angular-ui-powerups.module';
|
|
6
6
|
export { slideDownOnEnterAnimation, slideRightOnEnterAnimation } from './lib/animations';
|
|
7
|
-
export { ComponentsModule, DisposableComponent, ResizeAwareComponent, AbstractInputComponent, NumberInputComponent, PasswordInputComponent, SelectInputComponent, StringInputComponent, NoopComponent, Bounds, Dimension, Point } from './lib/components';
|
|
7
|
+
export { ComponentsModule, DisposableComponent, ResizeAwareComponent, AbstractInputComponent, NumberInputComponent, PasswordInputComponent, SelectInputComponent, StringInputComponent, NoopComponent, ScrollContainerComponent, Bounds, Dimension, Point } from './lib/components';
|
|
8
8
|
export { CommandDirective, DirectivesModule, FocusBindingDirective } from './lib/directives';
|
|
9
9
|
export { AbstractInteractionContext, ActivityRef, ACTIVITY_DATA, Activity, InteractionModule, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, ConfirmThenDialogComponent, ConfirmationDialogComponent, InPlaceInteractionContextComponent, InteractionServiceRoutingAdapter, InteractionService, ModalInteractionContextFactory, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContextFactory, DialogInteractionContext } from './lib/interaction';
|
|
10
10
|
export { DEFINITION_META_DATA_KEY, ROUTE_PARAMETER_LIST_KEY, PlaceComponent, AUP_PLACE_CONFIG, PlaceDefinition, PlaceHistory, PlaceRouter, Place, PlaceModule, UrlService, UrlSnapshot, Visit, AbstractPlaceNavigationComponent, BusyOverlayComponent, EmptyStateComponent, ListPlaceNavComponent, PlaceOutletComponent, leftRightPlaceAnimation, LEFT_RIGHT_PLACE_ANIMATION, TabbedPlaceNavigationComponent, ConsolidatedParameterMap, NoopAuthGuard, PlaceGuard, PlaceComponentDeactivationHandler, AbstractPopStateNavigation, Navigating, NavigationContext, NavigationSession, PopStateNavigation, EventCleanUpSession, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, NavigatingDuringInteraction, PopStateDuringInteractionNavigation, RemoveLastInteractionFromUrlNavigationSession, SynchroniseInteractionContextIdsWithRoute, Formatter, RouteId, VisitParameter, VisitParameterList, ParameterDefinition, VisitSanitiser } from './lib/place';
|
package/esm5/public_api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_api.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["public_api.ts"],"names":[],"mappings":";;;;AAAA,wCAAc,kCAAkC,CAAC;AACjD,sEAAc,kBAAkB,CAAC;AACjC,
|
|
1
|
+
{"version":3,"file":"public_api.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["public_api.ts"],"names":[],"mappings":";;;;AAAA,wCAAc,kCAAkC,CAAC;AACjD,sEAAc,kBAAkB,CAAC;AACjC,iQAAc,kBAAkB,CAAC;AACjC,0EAAc,kBAAkB,CAAC;AACjC,kcAAc,mBAAmB,CAAC;AAClC,0gCAAc,aAAa,CAAC","sourcesContent":["export * from './lib/angular-ui-powerups.module';\nexport * from './lib/animations';\nexport * from './lib/components';\nexport * from './lib/directives';\nexport * from './lib/interaction';\nexport * from './lib/place';\n"]}
|
|
@@ -699,7 +699,7 @@ class StringInputComponent extends AbstractInputComponent {
|
|
|
699
699
|
() => {
|
|
700
700
|
this.valueModel.value = null;
|
|
701
701
|
}));
|
|
702
|
-
this.clearCommand.disableWhile(chain(this.valueModel).
|
|
702
|
+
this.clearCommand.disableWhile(chain.stringValue(this.valueModel).isBlank());
|
|
703
703
|
}
|
|
704
704
|
/**
|
|
705
705
|
* @return {?}
|
|
@@ -710,29 +710,29 @@ class StringInputComponent extends AbstractInputComponent {
|
|
|
710
710
|
StringInputComponent.decorators = [
|
|
711
711
|
{ type: Component, args: [{
|
|
712
712
|
selector: 'aup-string-input',
|
|
713
|
-
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=\"
|
|
714
|
-
styles: [":host{display:block}input,mat-form-field{width:100%}input mat-hint.faux-error,mat-form-field mat-hint.faux-error{color:#f44336}"]
|
|
713
|
+
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",
|
|
714
|
+
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}"]
|
|
715
715
|
}] }
|
|
716
716
|
];
|
|
717
717
|
/** @nocollapse */
|
|
718
718
|
StringInputComponent.ctorParameters = () => [];
|
|
719
719
|
StringInputComponent.propDecorators = {
|
|
720
|
-
|
|
721
|
-
|
|
720
|
+
enableClearModel: [{ type: Input }],
|
|
721
|
+
enableClear: [{ type: Input }]
|
|
722
722
|
};
|
|
723
723
|
__decorate([
|
|
724
724
|
UseDelegate({ defaultValue: false }),
|
|
725
725
|
__metadata("design:type", ValueModel)
|
|
726
|
-
], StringInputComponent.prototype, "
|
|
726
|
+
], StringInputComponent.prototype, "enableClearModel", void 0);
|
|
727
727
|
__decorate([
|
|
728
|
-
StoreInValueModel('
|
|
728
|
+
StoreInValueModel('enableClearModel'),
|
|
729
729
|
__metadata("design:type", Boolean)
|
|
730
|
-
], StringInputComponent.prototype, "
|
|
730
|
+
], StringInputComponent.prototype, "enableClear", void 0);
|
|
731
731
|
if (false) {
|
|
732
732
|
/** @type {?} */
|
|
733
|
-
StringInputComponent.prototype.
|
|
733
|
+
StringInputComponent.prototype.enableClearModel;
|
|
734
734
|
/** @type {?} */
|
|
735
|
-
StringInputComponent.prototype.
|
|
735
|
+
StringInputComponent.prototype.enableClear;
|
|
736
736
|
/** @type {?} */
|
|
737
737
|
StringInputComponent.prototype.clearCommand;
|
|
738
738
|
}
|
|
@@ -755,6 +755,28 @@ NoopComponent.decorators = [
|
|
|
755
755
|
/** @nocollapse */
|
|
756
756
|
NoopComponent.ctorParameters = () => [];
|
|
757
757
|
|
|
758
|
+
/**
|
|
759
|
+
* @fileoverview added by tsickle
|
|
760
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
761
|
+
*/
|
|
762
|
+
class ScrollContainerComponent {
|
|
763
|
+
constructor() { }
|
|
764
|
+
/**
|
|
765
|
+
* @return {?}
|
|
766
|
+
*/
|
|
767
|
+
ngOnInit() {
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
ScrollContainerComponent.decorators = [
|
|
771
|
+
{ type: Component, args: [{
|
|
772
|
+
selector: 'aup-scroll-container',
|
|
773
|
+
template: "<div class=\"container\">\n <ng-content></ng-content>\n</div>\n",
|
|
774
|
+
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}"]
|
|
775
|
+
}] }
|
|
776
|
+
];
|
|
777
|
+
/** @nocollapse */
|
|
778
|
+
ScrollContainerComponent.ctorParameters = () => [];
|
|
779
|
+
|
|
758
780
|
/**
|
|
759
781
|
* @fileoverview added by tsickle
|
|
760
782
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -768,6 +790,7 @@ ComponentsModule.decorators = [
|
|
|
768
790
|
StringInputComponent,
|
|
769
791
|
PasswordInputComponent,
|
|
770
792
|
SelectInputComponent,
|
|
793
|
+
ScrollContainerComponent,
|
|
771
794
|
NoopComponent
|
|
772
795
|
],
|
|
773
796
|
imports: [
|
|
@@ -787,6 +810,7 @@ ComponentsModule.decorators = [
|
|
|
787
810
|
StringInputComponent,
|
|
788
811
|
PasswordInputComponent,
|
|
789
812
|
SelectInputComponent,
|
|
813
|
+
ScrollContainerComponent,
|
|
790
814
|
NoopComponent
|
|
791
815
|
]
|
|
792
816
|
},] }
|
|
@@ -7411,5 +7435,5 @@ if (false) {
|
|
|
7411
7435
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7412
7436
|
*/
|
|
7413
7437
|
|
|
7414
|
-
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,
|
|
7438
|
+
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 };
|
|
7415
7439
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|