@coolon/angular-ui-powerups 16.1.0-aplpha.121 → 16.1.0-aplpha.123

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.
@@ -20,6 +20,7 @@ export declare class DisposableComponent extends GarbageCollector implements OnI
20
20
  * @protected
21
21
  */
22
22
  protected viewStateDependsOn(...models: HasValue<any>[]): void;
23
+ protected markForCheck(): void;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DisposableComponent, never>;
24
25
  static ɵdir: i0.ɵɵDirectiveDeclaration<DisposableComponent, never, never, {}, {}, never, never, false, never>;
25
26
  }
@@ -16,7 +16,7 @@ export declare class NumberInputComponent extends AbstractValueInputComponent<nu
16
16
  constructor();
17
17
  private increment;
18
18
  private decrement;
19
- private clamp;
19
+ private clampSignificantDigits;
20
20
  onValueChange(value: number): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
22
22
  static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "aup-number-input", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; "min$": { "alias": "min$"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max$": { "alias": "max$"; "required": false; }; "max": { "alias": "max"; "required": false; }; "significantDigits$": { "alias": "significantDigits$"; "required": false; }; "significantDigits": { "alias": "significantDigits"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentType } from '@angular/cdk/overlay';
2
- import { TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import { Host, TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { ColumnModel, RowData } from '../column/column-model';
4
4
  import { EditSession } from '../editor/edit-session';
5
5
  import { TableCellComponent } from './table-cell/table-cell.component';
@@ -11,14 +11,14 @@ export declare const CELL_EDITOR_PORTAL: unique symbol;
11
11
  export declare const PORTAL_RENDERER_COMPONENT: unique symbol;
12
12
  export declare const PORTAL_EDITOR_COMPONENT: unique symbol;
13
13
  export declare abstract class CellPortalRef<Row extends object, Host, Portal> {
14
- abstract initialiseHost(host: Host, columnModel: ColumnModel<Row>): void;
14
+ abstract initialiseHost(host: Host): void;
15
15
  abstract onPortalAttached(host: Host, portalComponent: Portal): void;
16
16
  }
17
17
  export declare class CellHeaderPortalRef<Row extends object, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
18
18
  readonly componentType: ComponentType<C>;
19
19
  readonly initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void;
20
20
  constructor(componentType: ComponentType<C>, initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void);
21
- initialiseHost(host: TableHeaderCellComponent, columnModel: ColumnModel<Row>): void;
21
+ initialiseHost(host: Host): void;
22
22
  onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
23
23
  }
24
24
  export declare abstract class CellRendererPortalRef<Row extends object, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
@@ -28,7 +28,7 @@ export declare class ComponentCellRendererPortalRef<Row extends object, Portal>
28
28
  readonly componentType: ComponentType<Portal>;
29
29
  readonly updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void;
30
30
  constructor(componentType: ComponentType<Portal>, updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void);
31
- initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
31
+ initialiseHost(host: Host): void;
32
32
  onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
33
33
  pushState(host: TableCellComponent<Row>): void;
34
34
  }
@@ -36,7 +36,7 @@ export declare class CellEditorPortalRef<Row extends object, Portal> extends Cel
36
36
  readonly componentType: ComponentType<Portal>;
37
37
  readonly initialiseEditorSession: (component: Portal, editSession: EditSession<Row>) => void;
38
38
  constructor(componentType: ComponentType<Portal>, initialiseEditorSession: (component: Portal, editSession: EditSession<Row>) => void);
39
- initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
39
+ initialiseHost(host: Host): void;
40
40
  onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
41
41
  }
42
42
  export declare class TemplateCellRendererPortalRef<Row extends object> extends CellRendererPortalRef<Row, undefined> {
@@ -46,7 +46,7 @@ export declare class TemplateCellRendererPortalRef<Row extends object> extends C
46
46
  private padChild;
47
47
  constructor();
48
48
  registerPortal(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
49
- initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
49
+ initialiseHost(host: Host): void;
50
50
  onPortalAttached(host: TableCellComponent<Row>, portalComponent: undefined): void;
51
51
  pushState(host: TableCellComponent<Row>): void;
52
52
  private createPortal;
@@ -55,6 +55,6 @@ export declare class CellFooterPortalRef<Row extends object, C> extends CellPort
55
55
  readonly componentType: ComponentType<C>;
56
56
  readonly initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void;
57
57
  constructor(componentType: ComponentType<C>, initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void);
58
- initialiseHost(host: TableHeaderCellComponent, columnModel: ColumnModel<Row>): void;
58
+ initialiseHost(host: Host): void;
59
59
  onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
60
60
  }
@@ -11,13 +11,12 @@ export declare class TableCellComponent<Row extends object> extends DisposableCo
11
11
  column: ColumnModel<Row>;
12
12
  editSession: EditSession<Row>;
13
13
  tableModel: AbstractTableModel<Row>;
14
- private editRowCommand;
14
+ private readonly editRowCommand;
15
15
  [CELL_RENDERER_PORTAL]: Portal<any>;
16
16
  [CELL_EDITOR_PORTAL]: Portal<any>;
17
17
  defaultClassNames: string;
18
18
  fillCell: boolean;
19
19
  padChild: boolean;
20
- private firstEditableColumn;
21
20
  constructor();
22
21
  hasActiveEditor(): boolean;
23
22
  initialiseRenderer(ref: CdkPortalOutletAttachedRef): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.121",
3
+ "version": "16.1.0-aplpha.123",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,7 +12,7 @@
12
12
  "@angular/platform-browser-dynamic": "^16.2.9",
13
13
  "@angular/material-moment-adapter": "^16.2.10",
14
14
  "@angular/router": "^16.2.9",
15
- "@coolon/pectin": "^5.0.0-alpha.54",
15
+ "@coolon/pectin": "^5.0.0-alpha.56",
16
16
  "fast-typescript-memoize": "^1.1.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",