@coolon/angular-ui-powerups 1.19.1 → 1.20.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +81 -50
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.d.ts +35 -34
  7. package/coolon-angular-ui-powerups.metadata.json +1 -1
  8. package/esm2015/coolon-angular-ui-powerups.js +33 -32
  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 +5 -2
  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/index.js +1 -0
  17. package/esm2015/lib/components/index.js.map +1 -1
  18. package/esm2015/lib/components/index.metadata.json +1 -1
  19. package/esm2015/lib/components/section-header/section-header.component.js +24 -0
  20. package/esm2015/lib/components/section-header/section-header.component.js.map +1 -0
  21. package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -0
  22. package/esm2015/lib/components/section-header/section-header.component.ngfactory.js.map +1 -0
  23. package/esm2015/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +1 -0
  24. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +7 -2
  25. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
  26. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
  27. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  28. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  29. package/esm5/coolon-angular-ui-powerups.js +33 -32
  30. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  31. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  32. package/esm5/lib/components/components.module.js +5 -2
  33. package/esm5/lib/components/components.module.js.map +1 -1
  34. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  35. package/esm5/lib/components/index.js +1 -0
  36. package/esm5/lib/components/index.js.map +1 -1
  37. package/esm5/lib/components/section-header/section-header.component.js +25 -0
  38. package/esm5/lib/components/section-header/section-header.component.js.map +1 -0
  39. package/esm5/lib/components/section-header/section-header.component.ngfactory.js.map +1 -0
  40. package/esm5/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +1 -0
  41. package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +7 -2
  42. package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
  43. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  44. package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
  45. package/fesm2015/coolon-angular-ui-powerups.js +33 -5
  46. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  47. package/fesm5/coolon-angular-ui-powerups.js +34 -5
  48. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  49. package/lib/components/index.d.ts +1 -0
  50. package/lib/components/section-header/section-header.component.d.ts +6 -0
  51. package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +1 -0
  52. package/package.json +1 -1
@@ -967,6 +967,28 @@ var ScrollContainerComponent = /** @class */ (function () {
967
967
  return ScrollContainerComponent;
968
968
  }());
969
969
 
970
+ var SectionHeaderComponent = /** @class */ (function () {
971
+ function SectionHeaderComponent() {
972
+ this.underline = false;
973
+ }
974
+ SectionHeaderComponent.prototype.ngOnInit = function () {
975
+ };
976
+ __decorate([
977
+ Input(),
978
+ HostBinding('class.underline'),
979
+ __metadata("design:type", Object)
980
+ ], SectionHeaderComponent.prototype, "underline", void 0);
981
+ SectionHeaderComponent = __decorate([
982
+ Component({
983
+ selector: 'aup-section-header',
984
+ template: "<ng-content></ng-content>\n",
985
+ styles: [":host{--def-border-bottom-color:var(--border-bottom-color, rgba(0, 0, 0, 0.07));display:block;padding:8px 16px;font-size:12px;line-height:12px;color:rgba(0,0,0,.5)}:host.underline{border-bottom:1px solid var(--def-border-bottom-color)}"]
986
+ }),
987
+ __metadata("design:paramtypes", [])
988
+ ], SectionHeaderComponent);
989
+ return SectionHeaderComponent;
990
+ }());
991
+
970
992
  var SwitchCaseOption = /** @class */ (function () {
971
993
  function SwitchCaseOption(templateRef) {
972
994
  this.templateRef = templateRef;
@@ -2326,7 +2348,8 @@ var ComponentsModule = /** @class */ (function () {
2326
2348
  DefaultHeaderCellRendererComponent,
2327
2349
  TableHeaderCellRendererComponent,
2328
2350
  MultipleSelectInputComponent,
2329
- IconComponent
2351
+ IconComponent,
2352
+ SectionHeaderComponent
2330
2353
  ],
2331
2354
  imports: [
2332
2355
  CommonModule,
@@ -2365,7 +2388,8 @@ var ComponentsModule = /** @class */ (function () {
2365
2388
  EditRowControls,
2366
2389
  ColumnTemplateDirective,
2367
2390
  MultipleSelectInputComponent,
2368
- IconComponent
2391
+ IconComponent,
2392
+ SectionHeaderComponent
2369
2393
  ],
2370
2394
  providers: [
2371
2395
  FocusBindingFactory,
@@ -3239,6 +3263,7 @@ var AddItemInteractionContextComponent = /** @class */ (function (_super) {
3239
3263
  __extends(AddItemInteractionContextComponent, _super);
3240
3264
  function AddItemInteractionContextComponent() {
3241
3265
  var _this = _super.call(this) || this;
3266
+ _this.icon = "mat:add";
3242
3267
  _this.tabindex = 0;
3243
3268
  _this.clickCommand = Command.create(function (context) {
3244
3269
  if (_this.activityClass) {
@@ -3268,6 +3293,10 @@ var AddItemInteractionContextComponent = /** @class */ (function (_super) {
3268
3293
  Input(),
3269
3294
  __metadata("design:type", String)
3270
3295
  ], AddItemInteractionContextComponent.prototype, "label", void 0);
3296
+ __decorate([
3297
+ Input(),
3298
+ __metadata("design:type", Object)
3299
+ ], AddItemInteractionContextComponent.prototype, "icon", void 0);
3271
3300
  __decorate([
3272
3301
  Input(),
3273
3302
  __metadata("design:type", Object)
@@ -3297,8 +3326,8 @@ var AddItemInteractionContextComponent = /** @class */ (function (_super) {
3297
3326
  AddItemInteractionContextComponent = __decorate([
3298
3327
  Component({
3299
3328
  selector: 'aup-add-item-interaction-context',
3300
- template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon icon=\"mat:add\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
3301
- styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-backgound:var(--link-background, rgba(0, 0, 0, 0.05));--def-link-border-radius:var(--link-border-radius, 4px);--def-link-padding:var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:0}:host:hover{--link-background:rgba(0,0,0,0.1)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-backgound);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
3329
+ template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
3330
+ styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-color-hover:var(--link-color-hover, currentColor);--def-link-backgound:var(--link-background, transparent);--def-link-backgound-hover:var(--link-background-hover, rgba(0, 0, 0, 0.05));--def-link-border-radius:var(--link-border-radius, 4px);--def-link-padding:var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:0}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-backgound-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-backgound);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
3302
3331
  }),
3303
3332
  __metadata("design:paramtypes", [])
3304
3333
  ], AddItemInteractionContextComponent);
@@ -6638,5 +6667,5 @@ function VisitParameterList(options) {
6638
6667
  * Generated bundle index. Do not edit.
6639
6668
  */
6640
6669
 
6641
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandDirective, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TemplateCellRendererPortalRef, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0, DirectivesModule as ɵa, CommandDirective as ɵb, EditRowControls as ɵba, ColumnTemplateDirective as ɵbb, DefaultCellRendererComponent as ɵbc, TableCellRendererComponent as ɵbd, SelectCellRendererComponent as ɵbe, SelectHeaderCellRendererComponent as ɵbf, DefaultHeaderCellRendererComponent as ɵbg, TableHeaderCellRendererComponent as ɵbh, MultipleSelectInputComponent as ɵbi, IconComponent as ɵbj, PlaceModule as ɵbk, ComponentsModule as ɵbl, EmptyStateComponent as ɵbm, BusyOverlayComponent as ɵbn, PlaceOutletComponent as ɵbo, leftRightPlaceAnimation as ɵbp, LEFT_RIGHT_PLACE_ANIMATION as ɵbq, AUP_PLACE_CONFIG as ɵbr, PlaceRouter as ɵbt, InteractionService as ɵbu, ModalInteractionContextFactory as ɵbv, UrlService as ɵbw, PlaceHistory as ɵbx, TabbedPlaceNavigationComponent as ɵby, AbstractPlaceNavigationComponent as ɵbz, FocusBindingDirective as ɵc, ListPlaceNavComponent as ɵca, SidePlaceNavigationComponent as ɵcb, InteractionModule as ɵcc, ActivityContainerComponent as ɵcd, AbstractInteractionContext as ɵce, ActivityOutletComponent as ɵcf, ConfirmationDialogComponent as ɵcg, ACTIVITY_DATA as ɵch, Activity as ɵci, ConfirmThenDialogComponent as ɵck, AlertDialogComponent as ɵcl, InPlaceInteractionContextComponent as ɵcn, AddItemInteractionContextComponent as ɵco, ActivityActionsComponent as ɵcp, PopupInteractionContextComponent as ɵcq, StringInputActivity as ɵcr, AbstractInputActivity as ɵcs, SelectInputActivity as ɵct, InteractionContextTriggerFor as ɵcu, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractValueInputComponent as ɵh, AbstractListInputComponent as ɵi, NumberInputComponent as ɵj, StringInputComponent as ɵk, TextInputComponent as ɵl, PasswordInputComponent as ɵm, SelectInputComponent as ɵn, CheckboxInputComponent as ɵo, ScrollContainerComponent as ɵp, NoopComponent as ɵq, SwitchCaseOption as ɵr, SwitchCaseWhenDirective as ɵs, SwitchCaseDefaultDirective as ɵt, SwitchCaseComponent as ɵu, FocusContainerComponent as ɵv, VerticalFocusContainerComponent as ɵw, FocusableComponent as ɵx, CardContainerComponent as ɵy, TableComponent as ɵz };
6670
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandDirective, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TemplateCellRendererPortalRef, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0, DirectivesModule as ɵa, CommandDirective as ɵb, EditRowControls as ɵba, ColumnTemplateDirective as ɵbb, DefaultCellRendererComponent as ɵbc, TableCellRendererComponent as ɵbd, SelectCellRendererComponent as ɵbe, SelectHeaderCellRendererComponent as ɵbf, DefaultHeaderCellRendererComponent as ɵbg, TableHeaderCellRendererComponent as ɵbh, MultipleSelectInputComponent as ɵbi, IconComponent as ɵbj, SectionHeaderComponent as ɵbk, PlaceModule as ɵbl, ComponentsModule as ɵbm, EmptyStateComponent as ɵbn, BusyOverlayComponent as ɵbo, PlaceOutletComponent as ɵbp, leftRightPlaceAnimation as ɵbq, LEFT_RIGHT_PLACE_ANIMATION as ɵbr, AUP_PLACE_CONFIG as ɵbs, PlaceRouter as ɵbu, InteractionService as ɵbv, ModalInteractionContextFactory as ɵbw, UrlService as ɵbx, PlaceHistory as ɵby, TabbedPlaceNavigationComponent as ɵbz, FocusBindingDirective as ɵc, AbstractPlaceNavigationComponent as ɵca, ListPlaceNavComponent as ɵcb, SidePlaceNavigationComponent as ɵcc, InteractionModule as ɵcd, ActivityContainerComponent as ɵce, AbstractInteractionContext as ɵcf, ActivityOutletComponent as ɵcg, ConfirmationDialogComponent as ɵch, ACTIVITY_DATA as ɵci, Activity as ɵcj, ConfirmThenDialogComponent as ɵcl, AlertDialogComponent as ɵcm, InPlaceInteractionContextComponent as ɵco, AddItemInteractionContextComponent as ɵcp, ActivityActionsComponent as ɵcq, PopupInteractionContextComponent as ɵcr, StringInputActivity as ɵcs, AbstractInputActivity as ɵct, SelectInputActivity as ɵcu, InteractionContextTriggerFor as ɵcv, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractValueInputComponent as ɵh, AbstractListInputComponent as ɵi, NumberInputComponent as ɵj, StringInputComponent as ɵk, TextInputComponent as ɵl, PasswordInputComponent as ɵm, SelectInputComponent as ɵn, CheckboxInputComponent as ɵo, ScrollContainerComponent as ɵp, NoopComponent as ɵq, SwitchCaseOption as ɵr, SwitchCaseWhenDirective as ɵs, SwitchCaseDefaultDirective as ɵt, SwitchCaseComponent as ɵu, FocusContainerComponent as ɵv, VerticalFocusContainerComponent as ɵw, FocusableComponent as ɵx, CardContainerComponent as ɵy, TableComponent as ɵz };
6642
6671
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map