@coolon/angular-ui-powerups 11.0.1 → 11.1.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 (31) hide show
  1. package/bundles/coolon-angular-ui-powerups.umd.js +28 -8
  2. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  3. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  5. package/coolon-angular-ui-powerups.metadata.json +1 -1
  6. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +13 -2
  7. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
  8. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.metadata.json +1 -1
  9. package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.js +1 -1
  10. package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.js.map +1 -1
  11. package/esm2015/lib/components/commands/group/popup-menu/more-menu.component.metadata.json +1 -1
  12. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +6 -3
  13. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -1
  14. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.metadata.json +1 -1
  15. package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.js +1 -1
  16. package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.js.map +1 -1
  17. package/esm2015/lib/components/commands/group/popup-menu/popup-menu.component.metadata.json +1 -1
  18. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  19. package/esm2015/lib/components/table/column-model.js +7 -0
  20. package/esm2015/lib/components/table/column-model.js.map +1 -1
  21. package/esm2015/lib/components/table/column-model.metadata.json +1 -1
  22. package/esm2015/lib/components/table/table.component.js +1 -1
  23. package/esm2015/lib/components/table/table.component.metadata.json +1 -1
  24. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
  25. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  26. package/fesm2015/coolon-angular-ui-powerups.js +28 -8
  27. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  28. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +3 -1
  29. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +2 -1
  30. package/lib/components/table/column-model.d.ts +5 -0
  31. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { AfterContentChecked, ElementRef, QueryList } from '@angular/core';
2
2
  import { MatMenuTrigger } from '@angular/material/menu';
3
- import { DelegatingValueModel, Disposable, ListModelChain } from '@coolon/pectin';
3
+ import { DelegatingValueModel, Disposable, ListModelChain, ValueModel } from '@coolon/pectin';
4
4
  import { CommandFace } from '../../command-face';
5
5
  import { PopupAwareComponent } from '../popup-aware.component';
6
6
  import { PopupContainer } from '../popup-container';
@@ -14,6 +14,8 @@ export declare class AbstractPopupMenuComponent extends PopupAwareComponent impl
14
14
  xPosition: 'before' | 'after';
15
15
  yPosition: 'above' | 'below';
16
16
  triggers: QueryList<MatMenuTrigger>;
17
+ enabled: boolean;
18
+ enabledModel: ValueModel<boolean>;
17
19
  readonly children: ListModelChain<PopupAwareComponent>;
18
20
  constructor(element: ElementRef, parent?: PopupContainer);
19
21
  ngAfterContentChecked(): void;
@@ -23,10 +23,11 @@ export declare class PopupMenuRendererComponent extends DisposableComponent {
23
23
  constructor();
24
24
  get children(): PopupAwareComponent[];
25
25
  executeCommand(data: PopupAwareComponent): void;
26
- isEnabled(data: PopupAwareComponent): boolean;
26
+ isCommandEnabled(data: PopupAwareComponent): boolean;
27
27
  onCommandFired(): void;
28
28
  isCommand(child: any): child is CommandComponent;
29
29
  isPopupMenu(child: any): child is AbstractPopupMenuComponent;
30
+ isPopupMenuEnabled(child: any): child is AbstractPopupMenuComponent;
30
31
  isSeparator(child: any): child is SeparatorComponent;
31
32
  getTooltip(child: any): string;
32
33
  getFaces(child: PopupAwareComponent): CommandFace[];
@@ -41,7 +41,12 @@ export declare class ColumnModel<Row> {
41
41
  visibleWhile(visible: ValueModel<boolean>): this;
42
42
  protected getDefaultHeaderText(): string;
43
43
  getColumnTextProperties(): ColumnTextProperties;
44
+ /**
45
+ * @deprecated use #columnTextProperties instead
46
+ * @param columnTextProperties
47
+ */
44
48
  textProperties(columnTextProperties: ColumnTextProperties): this;
49
+ columnTextProperties(columnTextProperties: ColumnTextProperties): this;
45
50
  protected configureHeaderRenderer<C>(config: CellHeaderPortalRef<Row, any>): void;
46
51
  protected configureCellRenderer<C>(config: CellRendererPortalRef<Row, any>): void;
47
52
  protected configureCellEditor<E>(cellEditor: CellEditorPortalRef<Row, E>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "11.0.1",
3
+ "version": "11.1.0",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.2.0",