@coolon/angular-ui-powerups 13.1.7 → 13.2.1

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 (102) hide show
  1. package/assets/table.scss +2 -2
  2. package/esm2020/lib/components/components.module.mjs +22 -19
  3. package/esm2020/lib/components/exports.mjs +28 -21
  4. package/esm2020/lib/components/tables/abstract-table-model.mjs +70 -29
  5. package/esm2020/lib/components/tables/abstract-table.component.mjs +12 -10
  6. package/esm2020/lib/components/tables/column/column-list-model.mjs +39 -0
  7. package/esm2020/lib/components/tables/column/column-model.mjs +180 -0
  8. package/esm2020/lib/components/tables/column/column-template/column-template.directive.mjs +35 -0
  9. package/esm2020/lib/components/tables/column/column-text-properties.mjs +2 -0
  10. package/esm2020/lib/components/tables/column/custom-template-column-model.mjs +16 -0
  11. package/esm2020/lib/components/tables/column/custom-value-column-model.mjs +37 -0
  12. package/esm2020/lib/components/tables/column/editor-controls-column-model.mjs +21 -0
  13. package/esm2020/lib/components/tables/column/list-propery-column-model.mjs +48 -0
  14. package/esm2020/lib/components/tables/column/property-column-model.mjs +92 -0
  15. package/esm2020/lib/components/tables/column/selection-column-model.mjs +40 -0
  16. package/esm2020/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +55 -0
  17. package/esm2020/lib/components/tables/editor/edit-session.mjs +23 -0
  18. package/esm2020/lib/components/tables/editor/editable-cell-renderer.mjs +2 -0
  19. package/esm2020/lib/components/tables/{table/paginator → paginator}/paginator.component.mjs +4 -4
  20. package/esm2020/lib/components/tables/renderer/cell-editors.mjs +2 -0
  21. package/esm2020/lib/components/tables/renderer/cell-portal-ref.mjs +93 -0
  22. package/esm2020/lib/components/tables/renderer/cell-renderer.mjs +2 -0
  23. package/esm2020/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +30 -0
  24. package/esm2020/lib/components/tables/{table → renderer}/default-header-cell-renderer/default-header-cell-renderer.component.mjs +1 -1
  25. package/esm2020/lib/components/tables/renderer/default-list-cell-renderer/default-list-cell-renderer.component.mjs +40 -0
  26. package/esm2020/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +31 -0
  27. package/esm2020/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +26 -0
  28. package/esm2020/lib/components/tables/renderer/table-cell/table-cell.component.mjs +93 -0
  29. package/esm2020/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +32 -0
  30. package/esm2020/lib/components/tables/search/column-text-search-formatter.mjs +52 -0
  31. package/esm2020/lib/components/tables/search/enable-cell-text-search.decorator.mjs +30 -0
  32. package/esm2020/lib/components/tables/table/table-model.mjs +2 -10
  33. package/esm2020/lib/components/tables/table/table.component.mjs +12 -12
  34. package/esm2020/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
  35. package/esm2020/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +1 -1
  36. package/esm2020/lib/components/tables/tree-table/tree-label-column-model.mjs +3 -3
  37. package/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +10 -10
  38. package/esm2020/lib/components/tables/tree-table/tree-table-model.mjs +1 -1
  39. package/fesm2015/coolon-angular-ui-powerups.mjs +608 -446
  40. package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
  41. package/fesm2020/coolon-angular-ui-powerups.mjs +740 -580
  42. package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
  43. package/lib/components/components.module.d.ts +55 -54
  44. package/lib/components/exports.d.ts +27 -20
  45. package/lib/components/tables/abstract-table-model.d.ts +24 -13
  46. package/lib/components/tables/abstract-table.component.d.ts +6 -5
  47. package/lib/components/tables/{column-list-model.d.ts → column/column-list-model.d.ts} +4 -4
  48. package/lib/components/tables/column/column-model.d.ts +77 -0
  49. package/lib/components/tables/column/custom-template-column-model.d.ts +8 -0
  50. package/lib/components/tables/column/custom-value-column-model.d.ts +10 -0
  51. package/lib/components/tables/column/editor-controls-column-model.d.ts +13 -0
  52. package/lib/components/tables/column/list-propery-column-model.d.ts +15 -0
  53. package/lib/components/tables/column/property-column-model.d.ts +24 -0
  54. package/lib/components/tables/column/selection-column-model.d.ts +12 -0
  55. package/lib/components/tables/{table → editor}/edit-row-controls/edit-row-controls.component.d.ts +1 -1
  56. package/lib/components/tables/{edit-session.d.ts → editor/edit-session.d.ts} +2 -2
  57. package/lib/components/tables/{table/mutable-cell-renderer.d.ts → editor/editable-cell-renderer.d.ts} +2 -2
  58. package/lib/components/tables/{table/paginator → paginator}/paginator.component.d.ts +1 -1
  59. package/lib/components/tables/{table → renderer}/cell-portal-ref.d.ts +18 -18
  60. package/lib/components/tables/renderer/cell-renderer.d.ts +3 -0
  61. package/lib/components/tables/{table → renderer}/default-cell-renderer/default-cell-renderer.component.d.ts +1 -1
  62. package/lib/components/tables/renderer/default-list-cell-renderer/default-list-cell-renderer.component.d.ts +12 -0
  63. package/lib/components/tables/{table/select-header-cell-renderer/select-header-cell-renderer.component.d.ts → renderer/select-header-cell/selection-header-cell.component.d.ts} +3 -3
  64. package/lib/components/tables/{table/select-cell-renderer/select-cell-renderer.component.d.ts → renderer/selection-cell/selection-cell.component.d.ts} +3 -3
  65. package/lib/components/tables/{table/table-cell-renderer/table-cell-renderer.component.d.ts → renderer/table-cell/table-cell.component.d.ts} +5 -5
  66. package/lib/components/tables/{table/table-header-cell-renderer/table-header-cell-renderer.component.d.ts → renderer/table-header-cell/table-header-cell.component.d.ts} +4 -4
  67. package/lib/components/tables/search/column-text-search-formatter.d.ts +28 -0
  68. package/lib/components/tables/search/enable-cell-text-search.decorator.d.ts +25 -0
  69. package/lib/components/tables/table/table-model.d.ts +3 -9
  70. package/lib/components/tables/table/table.component.d.ts +4 -4
  71. package/lib/components/tables/{table/table-row-menu → table-row-menu}/table-row-menu.component.d.ts +3 -3
  72. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
  73. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +1 -1
  74. package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -2
  75. package/lib/components/tables/tree-table/tree-table-model.d.ts +1 -1
  76. package/package.json +2 -1
  77. package/esm2020/lib/components/tables/column-list-model.mjs +0 -39
  78. package/esm2020/lib/components/tables/edit-session.mjs +0 -23
  79. package/esm2020/lib/components/tables/table/cell-editors.mjs +0 -2
  80. package/esm2020/lib/components/tables/table/cell-portal-ref.mjs +0 -93
  81. package/esm2020/lib/components/tables/table/cell-renderer.mjs +0 -2
  82. package/esm2020/lib/components/tables/table/column-model.mjs +0 -392
  83. package/esm2020/lib/components/tables/table/column-template/column-template.directive.mjs +0 -35
  84. package/esm2020/lib/components/tables/table/column-text-properties.mjs +0 -2
  85. package/esm2020/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.mjs +0 -22
  86. package/esm2020/lib/components/tables/table/edit-row-controls/edit-row-controls.component.mjs +0 -55
  87. package/esm2020/lib/components/tables/table/mutable-cell-renderer.mjs +0 -2
  88. package/esm2020/lib/components/tables/table/select-cell-renderer/select-cell-renderer.component.mjs +0 -26
  89. package/esm2020/lib/components/tables/table/select-header-cell-renderer/select-header-cell-renderer.component.mjs +0 -31
  90. package/esm2020/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.mjs +0 -93
  91. package/esm2020/lib/components/tables/table/table-def.mjs +0 -2
  92. package/esm2020/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.mjs +0 -32
  93. package/esm2020/lib/components/tables/table/table-row-menu/table-row-menu.component.mjs +0 -84
  94. package/esm2020/lib/components/tables/table/text-search-predicate.mjs +0 -2
  95. package/lib/components/tables/table/cell-renderer.d.ts +0 -5
  96. package/lib/components/tables/table/column-model.d.ts +0 -145
  97. package/lib/components/tables/table/table-def.d.ts +0 -7
  98. package/lib/components/tables/table/text-search-predicate.d.ts +0 -1
  99. /package/lib/components/tables/{table → column}/column-template/column-template.directive.d.ts +0 -0
  100. /package/lib/components/tables/{table → column}/column-text-properties.d.ts +0 -0
  101. /package/lib/components/tables/{table → renderer}/cell-editors.d.ts +0 -0
  102. /package/lib/components/tables/{table → renderer}/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -0
@@ -19,62 +19,63 @@ import * as i16 from "./vertical-focus-container/vertical-focus-container.compon
19
19
  import * as i17 from "./focusable.component";
20
20
  import * as i18 from "./cards/card-container/card-container.component";
21
21
  import * as i19 from "./tables/table/table.component";
22
- import * as i20 from "./tables/table/edit-row-controls/edit-row-controls.component";
23
- import * as i21 from "./tables/table/column-template/column-template.directive";
24
- import * as i22 from "./tables/table/default-cell-renderer/default-cell-renderer.component";
25
- import * as i23 from "./tables/table/table-cell-renderer/table-cell-renderer.component";
26
- import * as i24 from "./tables/table/select-cell-renderer/select-cell-renderer.component";
27
- import * as i25 from "./tables/table/select-header-cell-renderer/select-header-cell-renderer.component";
28
- import * as i26 from "./tables/table/default-header-cell-renderer/default-header-cell-renderer.component";
29
- import * as i27 from "./tables/table/table-header-cell-renderer/table-header-cell-renderer.component";
30
- import * as i28 from "./icon/icon.component";
31
- import * as i29 from "./section-header/section-header.component";
32
- import * as i30 from "./tables/table/table-row-menu/table-row-menu.component";
33
- import * as i31 from "./commands/group/tool-bar/tool-bar.component";
34
- import * as i32 from "./commands/command/command.component";
35
- import * as i33 from "./commands/group/popup-menu/popup-menu.component";
36
- import * as i34 from "./commands/command-face/command-face.component";
37
- import * as i35 from "./commands/group/popup-menu/more-menu.component";
38
- import * as i36 from "./commands/separator.component";
39
- import * as i37 from "./commands/flex.component";
40
- import * as i38 from "./commands/group/popup-menu/abstract-popup-menu.component";
41
- import * as i39 from "./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component";
42
- import * as i40 from "./tables/tree-table/tree-table-component";
43
- import * as i41 from "./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component";
44
- import * as i42 from "./tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component";
45
- import * as i43 from "./busy-overlay/busy-overlay.component";
46
- import * as i44 from "./empty-state/empty-state.component";
47
- import * as i45 from "./tables/table/paginator/paginator.component";
48
- import * as i46 from "./tables/abstract-table.component";
49
- import * as i47 from "./cards/abstract-card-container.component";
50
- import * as i48 from "./cards/card-stack/card-stack.component";
51
- import * as i49 from "./labelled-value/labelled-value.component";
52
- import * as i50 from "./loading-container/loading-container.component";
53
- import * as i51 from "./text/markdown/markdown.component";
54
- import * as i52 from "@angular/common";
55
- import * as i53 from "@angular/platform-browser/animations";
56
- import * as i54 from "@angular/forms";
57
- import * as i55 from "@angular/material/input";
58
- import * as i56 from "@angular/material/form-field";
59
- import * as i57 from "@angular/material/select";
60
- import * as i58 from "@angular/material/tabs";
61
- import * as i59 from "../directives/directives.module";
62
- import * as i60 from "@angular/material/icon";
63
- import * as i61 from "@angular/material/button";
64
- import * as i62 from "@angular/material/checkbox";
65
- import * as i63 from "@angular/material/table";
66
- import * as i64 from "@angular/cdk/portal";
67
- import * as i65 from "@angular/cdk/scrolling";
68
- import * as i66 from "@fortawesome/angular-fontawesome";
69
- import * as i67 from "@angular/material/tooltip";
70
- import * as i68 from "@angular/material/autocomplete";
71
- import * as i69 from "@angular/material/menu";
72
- import * as i70 from "@angular/material/divider";
73
- import * as i71 from "@angular/material/progress-spinner";
74
- import * as i72 from "@angular/material/progress-bar";
22
+ import * as i20 from "./tables/editor/edit-row-controls/edit-row-controls.component";
23
+ import * as i21 from "./tables/column/column-template/column-template.directive";
24
+ import * as i22 from "./tables/renderer/default-cell-renderer/default-cell-renderer.component";
25
+ import * as i23 from "./tables/renderer/default-list-cell-renderer/default-list-cell-renderer.component";
26
+ import * as i24 from "./tables/renderer/table-cell/table-cell.component";
27
+ import * as i25 from "./tables/renderer/selection-cell/selection-cell.component";
28
+ import * as i26 from "./tables/renderer/select-header-cell/selection-header-cell.component";
29
+ import * as i27 from "./tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component";
30
+ import * as i28 from "./tables/renderer/table-header-cell/table-header-cell.component";
31
+ import * as i29 from "./icon/icon.component";
32
+ import * as i30 from "./section-header/section-header.component";
33
+ import * as i31 from "./tables/table-row-menu/table-row-menu.component";
34
+ import * as i32 from "./commands/group/tool-bar/tool-bar.component";
35
+ import * as i33 from "./commands/command/command.component";
36
+ import * as i34 from "./commands/group/popup-menu/popup-menu.component";
37
+ import * as i35 from "./commands/command-face/command-face.component";
38
+ import * as i36 from "./commands/group/popup-menu/more-menu.component";
39
+ import * as i37 from "./commands/separator.component";
40
+ import * as i38 from "./commands/flex.component";
41
+ import * as i39 from "./commands/group/popup-menu/abstract-popup-menu.component";
42
+ import * as i40 from "./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component";
43
+ import * as i41 from "./tables/tree-table/tree-table-component";
44
+ import * as i42 from "./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component";
45
+ import * as i43 from "./tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component";
46
+ import * as i44 from "./busy-overlay/busy-overlay.component";
47
+ import * as i45 from "./empty-state/empty-state.component";
48
+ import * as i46 from "./tables/paginator/paginator.component";
49
+ import * as i47 from "./tables/abstract-table.component";
50
+ import * as i48 from "./cards/abstract-card-container.component";
51
+ import * as i49 from "./cards/card-stack/card-stack.component";
52
+ import * as i50 from "./labelled-value/labelled-value.component";
53
+ import * as i51 from "./loading-container/loading-container.component";
54
+ import * as i52 from "./text/markdown/markdown.component";
55
+ import * as i53 from "@angular/common";
56
+ import * as i54 from "@angular/platform-browser/animations";
57
+ import * as i55 from "@angular/forms";
58
+ import * as i56 from "@angular/material/input";
59
+ import * as i57 from "@angular/material/form-field";
60
+ import * as i58 from "@angular/material/select";
61
+ import * as i59 from "@angular/material/tabs";
62
+ import * as i60 from "../directives/directives.module";
63
+ import * as i61 from "@angular/material/icon";
64
+ import * as i62 from "@angular/material/button";
65
+ import * as i63 from "@angular/material/checkbox";
66
+ import * as i64 from "@angular/material/table";
67
+ import * as i65 from "@angular/cdk/portal";
68
+ import * as i66 from "@angular/cdk/scrolling";
69
+ import * as i67 from "@fortawesome/angular-fontawesome";
70
+ import * as i68 from "@angular/material/tooltip";
71
+ import * as i69 from "@angular/material/autocomplete";
72
+ import * as i70 from "@angular/material/menu";
73
+ import * as i71 from "@angular/material/divider";
74
+ import * as i72 from "@angular/material/progress-spinner";
75
+ import * as i73 from "@angular/material/progress-bar";
75
76
  export declare class ComponentsModule {
76
77
  constructor(faIconLibrary: FaIconLibrary);
77
78
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
78
- static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.AbstractInputComponent, typeof i2.AbstractValueInputComponent, typeof i3.AbstractListInputComponent, typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i11.CheckboxInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i22.DefaultCellRendererComponent, typeof i23.TableCellRendererComponent, typeof i24.SelectCellRendererComponent, typeof i25.SelectHeaderCellRendererComponent, typeof i26.DefaultHeaderCellRendererComponent, typeof i27.TableHeaderCellRendererComponent, typeof i28.IconComponent, typeof i29.SectionHeaderComponent, typeof i30.TableRowMenuComponent, typeof i31.ToolBarComponent, typeof i32.CommandComponent, typeof i33.PopupMenuComponent, typeof i34.CommandFaceComponent, typeof i35.MoreMenuComponent, typeof i36.SeparatorComponent, typeof i37.FlexComponent, typeof i38.AbstractPopupMenuComponent, typeof i39.PopupMenuRendererComponent, typeof i40.TreeTableComponent, typeof i41.TreeInheritanceIconComponent, typeof i42.TreeLabelCellRendererComponent, typeof i43.BusyOverlayComponent, typeof i44.EmptyStateComponent, typeof i45.PaginatorComponent, typeof i46.AbstractTableComponent, typeof i47.AbstractCardContainerComponent, typeof i48.CardStackComponent, typeof i49.LabelledValueComponent, typeof i50.LoadingContainerComponent, typeof i51.MarkdownComponent], [typeof i52.CommonModule, typeof i53.BrowserAnimationsModule, typeof i54.FormsModule, typeof i55.MatInputModule, typeof i56.MatFormFieldModule, typeof i57.MatSelectModule, typeof i58.MatTabsModule, typeof i59.DirectivesModule, typeof i60.MatIconModule, typeof i61.MatButtonModule, typeof i62.MatCheckboxModule, typeof i63.MatTableModule, typeof i64.PortalModule, typeof i65.CdkScrollableModule, typeof i66.FontAwesomeModule, typeof i67.MatTooltipModule, typeof i68.MatAutocompleteModule, typeof i69.MatMenuModule, typeof i70.MatDividerModule, typeof i71.MatProgressSpinnerModule, typeof i72.MatProgressBarModule], [typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i11.CheckboxInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i28.IconComponent, typeof i29.SectionHeaderComponent, typeof i30.TableRowMenuComponent, typeof i31.ToolBarComponent, typeof i32.CommandComponent, typeof i33.PopupMenuComponent, typeof i34.CommandFaceComponent, typeof i35.MoreMenuComponent, typeof i36.SeparatorComponent, typeof i37.FlexComponent, typeof i40.TreeTableComponent, typeof i43.BusyOverlayComponent, typeof i44.EmptyStateComponent, typeof i45.PaginatorComponent, typeof i48.CardStackComponent, typeof i49.LabelledValueComponent, typeof i50.LoadingContainerComponent, typeof i51.MarkdownComponent]>;
79
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.AbstractInputComponent, typeof i2.AbstractValueInputComponent, typeof i3.AbstractListInputComponent, typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i11.CheckboxInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i22.DefaultCellRendererComponent, typeof i23.DefaultListCellRendererComponent, typeof i24.TableCellComponent, typeof i25.SelectionCellComponent, typeof i26.SelectionHeaderCellComponent, typeof i27.DefaultHeaderCellRendererComponent, typeof i28.TableHeaderCellComponent, typeof i29.IconComponent, typeof i30.SectionHeaderComponent, typeof i31.TableRowMenuComponent, typeof i32.ToolBarComponent, typeof i33.CommandComponent, typeof i34.PopupMenuComponent, typeof i35.CommandFaceComponent, typeof i36.MoreMenuComponent, typeof i37.SeparatorComponent, typeof i38.FlexComponent, typeof i39.AbstractPopupMenuComponent, typeof i40.PopupMenuRendererComponent, typeof i41.TreeTableComponent, typeof i42.TreeInheritanceIconComponent, typeof i43.TreeLabelCellRendererComponent, typeof i44.BusyOverlayComponent, typeof i45.EmptyStateComponent, typeof i46.PaginatorComponent, typeof i47.AbstractTableComponent, typeof i48.AbstractCardContainerComponent, typeof i49.CardStackComponent, typeof i50.LabelledValueComponent, typeof i51.LoadingContainerComponent, typeof i52.MarkdownComponent], [typeof i53.CommonModule, typeof i54.BrowserAnimationsModule, typeof i55.FormsModule, typeof i56.MatInputModule, typeof i57.MatFormFieldModule, typeof i58.MatSelectModule, typeof i59.MatTabsModule, typeof i60.DirectivesModule, typeof i61.MatIconModule, typeof i62.MatButtonModule, typeof i63.MatCheckboxModule, typeof i64.MatTableModule, typeof i65.PortalModule, typeof i66.CdkScrollableModule, typeof i67.FontAwesomeModule, typeof i68.MatTooltipModule, typeof i69.MatAutocompleteModule, typeof i70.MatMenuModule, typeof i71.MatDividerModule, typeof i72.MatProgressSpinnerModule, typeof i73.MatProgressBarModule], [typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i11.CheckboxInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i29.IconComponent, typeof i30.SectionHeaderComponent, typeof i31.TableRowMenuComponent, typeof i32.ToolBarComponent, typeof i33.CommandComponent, typeof i34.PopupMenuComponent, typeof i35.CommandFaceComponent, typeof i36.MoreMenuComponent, typeof i37.SeparatorComponent, typeof i38.FlexComponent, typeof i41.TreeTableComponent, typeof i44.BusyOverlayComponent, typeof i45.EmptyStateComponent, typeof i46.PaginatorComponent, typeof i49.CardStackComponent, typeof i50.LabelledValueComponent, typeof i51.LoadingContainerComponent, typeof i52.MarkdownComponent]>;
79
80
  static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
80
81
  }
@@ -46,28 +46,35 @@ export * from "./section-header/section-header.component";
46
46
  export * from "./switch-case/switch-case.component";
47
47
  export * from "./tables/abstract-table-model";
48
48
  export * from "./tables/abstract-table.component";
49
- export * from "./tables/column-list-model";
50
- export * from "./tables/edit-session";
51
- export * from "./tables/table/cell-editors";
52
- export * from "./tables/table/cell-portal-ref";
53
- export * from "./tables/table/cell-renderer";
54
- export * from "./tables/table/column-model";
55
- export * from "./tables/table/column-text-properties";
56
- export * from "./tables/table/mutable-cell-renderer";
57
- export * from "./tables/table/table-def";
49
+ export * from "./tables/column/column-list-model";
50
+ export * from "./tables/column/column-model";
51
+ export * from "./tables/column/column-text-properties";
52
+ export * from "./tables/column/custom-template-column-model";
53
+ export * from "./tables/column/custom-value-column-model";
54
+ export * from "./tables/column/editor-controls-column-model";
55
+ export * from "./tables/column/list-propery-column-model";
56
+ export * from "./tables/column/property-column-model";
57
+ export * from "./tables/column/selection-column-model";
58
+ export * from "./tables/column/column-template/column-template.directive";
59
+ export * from "./tables/editor/edit-session";
60
+ export * from "./tables/editor/editable-cell-renderer";
61
+ export * from "./tables/editor/edit-row-controls/edit-row-controls.component";
62
+ export * from "./tables/paginator/paginator.component";
63
+ export * from "./tables/renderer/cell-editors";
64
+ export * from "./tables/renderer/cell-portal-ref";
65
+ export * from "./tables/renderer/cell-renderer";
66
+ export * from "./tables/renderer/default-cell-renderer/default-cell-renderer.component";
67
+ export * from "./tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component";
68
+ export * from "./tables/renderer/default-list-cell-renderer/default-list-cell-renderer.component";
69
+ export * from "./tables/renderer/select-header-cell/selection-header-cell.component";
70
+ export * from "./tables/renderer/selection-cell/selection-cell.component";
71
+ export * from "./tables/renderer/table-cell/table-cell.component";
72
+ export * from "./tables/renderer/table-header-cell/table-header-cell.component";
73
+ export * from "./tables/search/column-text-search-formatter";
74
+ export * from "./tables/search/enable-cell-text-search.decorator";
58
75
  export * from "./tables/table/table-model";
59
76
  export * from "./tables/table/table.component";
60
- export * from "./tables/table/text-search-predicate";
61
- export * from "./tables/table/column-template/column-template.directive";
62
- export * from "./tables/table/default-cell-renderer/default-cell-renderer.component";
63
- export * from "./tables/table/default-header-cell-renderer/default-header-cell-renderer.component";
64
- export * from "./tables/table/edit-row-controls/edit-row-controls.component";
65
- export * from "./tables/table/paginator/paginator.component";
66
- export * from "./tables/table/select-cell-renderer/select-cell-renderer.component";
67
- export * from "./tables/table/select-header-cell-renderer/select-header-cell-renderer.component";
68
- export * from "./tables/table/table-cell-renderer/table-cell-renderer.component";
69
- export * from "./tables/table/table-header-cell-renderer/table-header-cell-renderer.component";
70
- export * from "./tables/table/table-row-menu/table-row-menu.component";
77
+ export * from "./tables/table-row-menu/table-row-menu.component";
71
78
  export * from "./tables/tree-table/decorated-tree-node";
72
79
  export * from "./tables/tree-table/flattened-tree-list-model";
73
80
  export * from "./tables/tree-table/tree-expansion-model";
@@ -1,33 +1,44 @@
1
- import { ComponentType } from '@angular/cdk/overlay';
2
- import { BooleanValueModelChain, Command, DirtyTrackingForm, Disposable, GarbageCollector, ListModel, ListModelChain, SelectionModel, Types, ValueModel, ValueModelChain } from '@coolon/pectin';
3
- import { EditSession } from './edit-session';
4
- import { CellRenderer } from './table/cell-renderer';
5
- import { CellRendererOptions, ColumnModel, CustomTemplateColumnModel, CustomValueColumnModel, EditorControlColumnModel, ListPropertyColumnModel, OnComponentInit, PropertyColumnModel, SelectionColumnModel } from './table/column-model';
6
- import { ColumnTextProperties } from './table/column-text-properties';
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { Injector } from "@angular/core";
3
+ import { BooleanValueModelChain, Command, DirtyTrackingForm, Disposable, GarbageCollector, ListModel, ListModelChain, SelectionModel, Types, ValueModel, ValueModelChain } from "@coolon/pectin";
4
+ import { CustomTemplateColumnModel } from "./column/custom-template-column-model";
5
+ import { CustomValueColumnModel } from "./column/custom-value-column-model";
6
+ import { EditorControlColumnModel } from "./column/editor-controls-column-model";
7
+ import { ListPropertyColumnModel } from "./column/list-propery-column-model";
8
+ import { PropertyColumnModel } from "./column/property-column-model";
9
+ import { SelectionColumnModel } from "./column/selection-column-model";
10
+ import { EditSession } from "./editor/edit-session";
11
+ import { CellRenderer } from "./renderer/cell-renderer";
12
+ import { CellRendererOptions, ColumnModel, OnComponentInit } from "./column/column-model";
13
+ import { ColumnTextProperties } from "./column/column-text-properties";
7
14
  export declare class AbstractTableModel<Row> extends GarbageCollector {
8
15
  private readonly _dataSource;
9
16
  readonly dataSource: ListModelChain<Row>;
10
17
  private readonly _columnList;
11
18
  private _editorSessions;
12
- private readonly _rowsBeingEdited;
19
+ private readonly _rowsBeingEdited$;
13
20
  private readonly rowClassNamePredicates;
14
21
  private _columnTextPropertiesLookup;
15
22
  private saveCommandFactory;
16
23
  private _editorSessionByRowId;
17
- readonly editing: BooleanValueModelChain;
18
- readonly firstEditableColumn: ValueModelChain<ColumnModel<Row>>;
24
+ readonly editing$: BooleanValueModelChain;
25
+ readonly firstEditableColumn$: ValueModelChain<ColumnModel<Row>>;
19
26
  private selectionColumnModel;
20
- private rowSelectionDisabledOnAllColumns;
27
+ private rowSelectionDisabledOnAllColumns$;
21
28
  private readonly rowClickListeners;
22
- readonly firstVisibleColumn: ValueModel<ColumnModel<Row>>;
23
- readonly lastVisibleColumn: ValueModel<ColumnModel<Row>>;
29
+ readonly firstVisibleColumn$: ValueModel<ColumnModel<Row>>;
30
+ readonly lastVisibleColumn$: ValueModel<ColumnModel<Row>>;
31
+ private readonly _searchText$;
24
32
  private _createForm;
33
+ private _textSearchPredicate$;
25
34
  constructor();
26
35
  findMatchingColumns(row: Row, regex: RegExp): ColumnModel<Row>[];
27
36
  hasMatchingColumn(row: Row, regex: RegExp): boolean;
37
+ initialise(injector: Injector): void;
28
38
  protected setDataSource(sourceOfTruth: ListModel<Row>): void;
39
+ setTextSearch(searchText$: ValueModel<string>, throttleDelayMilliseconds?: number): void;
29
40
  identityOf(row: Row): any;
30
- get rowsBeingEdited(): ListModel<Row>;
41
+ get rowsBeingEdited$(): ListModel<Row>;
31
42
  readonly trackBy: (index: number, item: Row) => any;
32
43
  get columns(): ListModel<ColumnModel<Row>>;
33
44
  get visibleColumns(): ListModel<ColumnModel<Row>>;
@@ -1,13 +1,13 @@
1
- import { ElementRef, NgZone, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ElementRef, Injector, NgZone, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
2
2
  import { ListModelChain, ValueModel } from '@coolon/pectin';
3
3
  import { ResizeAwareComponent } from '../resize-aware.component';
4
4
  import { AbstractTableModel } from './abstract-table-model';
5
- import { ColumnModel } from './table/column-model';
5
+ import { ColumnModel } from './column/column-model';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Create your model:
9
9
  * @example
10
- * this.heroTableModel = TableModel.fromList(heroList, table => {
10
+ * this.heroTableModel = new TableModel(heroList, table => {
11
11
  * table.pluck("firstName");
12
12
  * table.pluck("lastName");
13
13
  * table.addCustomColumn("fullName", hero => `${hero.firstName} ${hero.lastName}`);
@@ -19,7 +19,7 @@ import * as i0 from "@angular/core";
19
19
  *
20
20
  * Column templates
21
21
  * @example
22
- * this.heroTableModel = TableModel.fromList(heroList, table => {
22
+ * this.heroTableModel = new TableModel(heroList, table => {
23
23
  * table.pluck("firstName");
24
24
  * table.pluck("lastName");
25
25
  * table.addTemplateColumn("specialColumn");
@@ -64,6 +64,7 @@ import * as i0 from "@angular/core";
64
64
  * }
65
65
  */
66
66
  export declare class AbstractTableComponent<Row> extends ResizeAwareComponent implements OnInit {
67
+ private readonly injector;
67
68
  showHeaderModel: ValueModel<boolean>;
68
69
  showHeader: boolean;
69
70
  /**
@@ -79,7 +80,7 @@ export declare class AbstractTableComponent<Row> extends ResizeAwareComponent im
79
80
  private readonly headerHeight;
80
81
  private readonly rowHeight;
81
82
  baseCssClass: string;
82
- constructor(elementRef: ElementRef, ngZone: NgZone);
83
+ constructor(elementRef: ElementRef, ngZone: NgZone, injector: Injector);
83
84
  get hideHeader(): boolean;
84
85
  getModel(): AbstractTableModel<Row>;
85
86
  ngOnInit(): void;
@@ -1,10 +1,10 @@
1
1
  import { AbstractComputedListModel, ListModel } from '@coolon/pectin';
2
- import { ColumnModel } from './table/column-model';
2
+ import { ColumnModel } from './column-model';
3
3
  export declare class ColumnListModel<Row> extends AbstractComputedListModel<ColumnModel<Row>, boolean> {
4
- private readonly _allColumns;
5
- private readonly columnsById;
4
+ private readonly _allColumns$;
5
+ private readonly columnsById$;
6
6
  constructor();
7
- get allColumns(): ListModel<ColumnModel<Row>>;
7
+ get allColumns$(): ListModel<ColumnModel<Row>>;
8
8
  getColumn(id: string): ColumnModel<Row>;
9
9
  hasColumn(id: string): boolean;
10
10
  addColumn<C extends ColumnModel<Row>>(column: C, index?: number): C;
@@ -0,0 +1,77 @@
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal/portal-directives";
3
+ import { Injector } from "@angular/core";
4
+ import { Command, GarbageCollector, ValueModel } from "@coolon/pectin";
5
+ import { EditSession } from "../editor/edit-session";
6
+ import { CellEditorPortalRef, CellHeaderPortalRef, CellRendererPortalRef } from "../renderer/cell-portal-ref";
7
+ import { TableCellComponent } from "../renderer/table-cell/table-cell.component";
8
+ import { TableHeaderCellComponent } from "../renderer/table-header-cell/table-header-cell.component";
9
+ import { ColumnTextSearchFormatter } from "../search/column-text-search-formatter";
10
+ import { ColumnTextProperties } from "./column-text-properties";
11
+ export interface RowData<Row> {
12
+ row: Row;
13
+ editSession?: EditSession<Row>;
14
+ editRowCommand: Command<void>;
15
+ }
16
+ export declare type OnComponentInit<C> = (component: C) => void;
17
+ export interface CellRendererOptions<Row, E> {
18
+ onComponentInit?: (component: E) => void;
19
+ onRowUpdate?: (component: E, row: Row) => void;
20
+ }
21
+ export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends CellRendererOptions<Row, E> {
22
+ onValueEdit: (row: Row, is: Row[P], was: Row[P]) => void;
23
+ }
24
+ export declare class ColumnModel<Row> extends GarbageCollector {
25
+ readonly columnId: string;
26
+ private textPropertiesProvider;
27
+ private _columnTextProperties;
28
+ private _columnHeaderPortalRef;
29
+ private _cellRendererPortalRef;
30
+ private _cellEditorPortalRef;
31
+ private _enableRowSelection;
32
+ private _flex;
33
+ private _defaultVisibility$;
34
+ private _visible$;
35
+ readonly dasherisedColumnId: string;
36
+ private readonly textSearchDelegate;
37
+ constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
38
+ protected installHeaderRenderer(): void;
39
+ getHeaderText(): string;
40
+ isVisible(): boolean;
41
+ get visible$(): ValueModel<boolean>;
42
+ visibleWhile(visible: ValueModel<boolean>): this;
43
+ protected setDefaultVisibility(visible: ValueModel<boolean>): void;
44
+ protected getDefaultHeaderText(): string;
45
+ getColumnTextProperties(): ColumnTextProperties;
46
+ /**
47
+ * @deprecated use #columnTextProperties instead
48
+ * @param columnTextProperties
49
+ */
50
+ textProperties(columnTextProperties: ColumnTextProperties): this;
51
+ columnTextProperties(columnTextProperties: ColumnTextProperties): this;
52
+ getSearchTextFor(row: Row): string;
53
+ protected configureColumnTextSearch(formatter: ColumnTextSearchFormatter<Row>): any;
54
+ protected configureColumnTextSearch<T>(formatter: ColumnTextSearchFormatter<T>, mapper: (row: Row) => T): any;
55
+ protected configureHeaderRenderer<C>(config: CellHeaderPortalRef<Row, any>): void;
56
+ protected configureCellRenderer<C>(config: CellRendererPortalRef<Row, any>): void;
57
+ protected configureCellEditor<E>(cellEditor: CellEditorPortalRef<Row, E>): void;
58
+ cellHeaderRenderer<C>(componentType: ComponentType<C>, initialiser: (component: C, column: ColumnModel<Row>) => void): this;
59
+ flex(flex?: boolean): void;
60
+ isFlex(): boolean;
61
+ hasEditorPortal(): boolean;
62
+ attachHeaderCell(host: any): void;
63
+ attachCell(host: any): void;
64
+ onHeaderAttached(host: TableHeaderCellComponent, ref: CdkPortalOutletAttachedRef): void;
65
+ onRendererAttached(host: TableCellComponent<Row>, ref: CdkPortalOutletAttachedRef): void;
66
+ onEditorAttached(host: TableCellComponent<Row>, ref: CdkPortalOutletAttachedRef): void;
67
+ updatePortalContent(host: TableCellComponent<Row>): void;
68
+ protected _selectRowOnClick(selectRowOnClick: boolean): this;
69
+ isRowSelectionEnabled(): boolean;
70
+ protected getComponent(ref: CdkPortalOutletAttachedRef): any;
71
+ protected getComponentOrEmbeddedView(ref: CdkPortalOutletAttachedRef): any;
72
+ initialise(injector: Injector): void;
73
+ }
74
+ export declare namespace ColumnModel {
75
+ const CELL_RENDERER_COMPONENT_ROW_CACHE: unique symbol;
76
+ type TextPropertiesProvider = () => ColumnTextProperties;
77
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import { ColumnModel } from "./column-model";
3
+ export declare class CustomTemplateColumnModel<Row> extends ColumnModel<Row> {
4
+ private readonly config;
5
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider);
6
+ setTemplate(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
7
+ selectRowOnClick(selectOnRowClick: boolean): this;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { CellRendererOptions, ColumnModel, OnComponentInit } from "./column-model";
3
+ export declare class CustomValueColumnModel<Row, V> extends ColumnModel<Row> {
4
+ private getValue;
5
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
6
+ cellRenderer<C extends {
7
+ value: Partial<V>;
8
+ }>(componentType: ComponentType<C>, onComponentInitOrOptions?: CellRendererOptions<Row, C> | OnComponentInit<C>): this;
9
+ selectRowOnClick(selectOnRowClick: boolean): this;
10
+ }
@@ -0,0 +1,13 @@
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { Command, DirtyTrackingForm } from "@coolon/pectin";
3
+ import { EditSession } from "../editor/edit-session";
4
+ import { ColumnModel } from "./column-model";
5
+ export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
6
+ constructor(columnId: string, saveCommandFactory: Command.Factory<DirtyTrackingForm<Row>, boolean | Promise<boolean>>, defaults: ColumnModel.TextPropertiesProvider);
7
+ cellRenderer(componentType: ComponentType<{
8
+ row: Row;
9
+ editSession: EditSession<Row>;
10
+ editRowCommand: Command<void>;
11
+ }>): this;
12
+ protected getDefaultHeaderText(): string;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { Types, Validator } from "@coolon/pectin";
3
+ import { CellListEditorComponent } from "../renderer/cell-editors";
4
+ import { CellRenderer } from "../renderer/cell-renderer";
5
+ import { ColumnModel } from "./column-model";
6
+ export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
7
+ readonly property: P;
8
+ private _format;
9
+ constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
10
+ cellRenderer(componentType: ComponentType<CellRenderer<Types.ArrayElementType<Row, P>[]>>): this;
11
+ cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, validators?: Validator<Types.ArrayElementType<Row, P>[]>[], initialiseComponent?: (component: C) => void): this;
12
+ cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, initialiseComponent?: (component: C) => void): this;
13
+ format(formatter: (value: Types.ArrayElementType<Row, P>[]) => any): this;
14
+ selectRowOnClick(selectRowOnClick: boolean): this;
15
+ }
@@ -0,0 +1,24 @@
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { Types, Validator } from "@coolon/pectin";
3
+ import { EditableCellRenderer } from "../editor/editable-cell-renderer";
4
+ import { CellEditorComponent } from "../renderer/cell-editors";
5
+ import { CellRenderer } from "../renderer/cell-renderer";
6
+ import { CellRendererOptions, ColumnModel, MutableCellRendererOptions, OnComponentInit } from "./column-model";
7
+ export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
8
+ readonly property: P;
9
+ private _format;
10
+ constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
11
+ cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, options?: CellRendererOptions<Row, E>): this;
12
+ cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, onComponentInit?: OnComponentInit<E>): this;
13
+ liveEditCellRenderer<E extends EditableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
14
+ /**
15
+ * Deprecated. Use #liveEditCellRenderer instead.
16
+ * @param componentType
17
+ * @param options
18
+ */
19
+ mutableCellRenderer<E extends EditableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
20
+ cellEditor<E extends CellEditorComponent<Row[P]>>(editor: ComponentType<E>, validators?: Validator<Row[P]>[], initialiseComponent?: (component: E) => void): this;
21
+ cellEditor<E extends CellEditorComponent<Row[P]>>(editor: ComponentType<E>, initialiseComponent?: (component: E) => void): this;
22
+ format(formatter: (value: Row[P]) => any): this;
23
+ selectRowOnClick(selectOnRowClick: boolean): this;
24
+ }
@@ -0,0 +1,12 @@
1
+ import { DelegatingSelectionModel, SelectionModel } from "@coolon/pectin";
2
+ import { ColumnModel } from "./column-model";
3
+ export declare class SelectionColumnModel<Row> extends ColumnModel<Row> {
4
+ private _enableHeaderControls;
5
+ readonly selectionModel: DelegatingSelectionModel<Row, unknown>;
6
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, selectionModel: SelectionModel<Row>);
7
+ setSelectionModel(selectionModel: SelectionModel<Row>): void;
8
+ protected getDefaultHeaderText(): string;
9
+ enableHeaderControls(enable: boolean): this;
10
+ selectRow(row: Row): void;
11
+ isSelected(row: Row): boolean;
12
+ }
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { Command, DirtyTrackingForm } from '@coolon/pectin';
3
3
  import { DisposableComponent } from '../../../disposable-component';
4
- import { EditSession } from '../../edit-session';
4
+ import { EditSession } from '../edit-session';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class EditRowControls<Row> extends DisposableComponent implements OnInit {
7
7
  row: Row;
@@ -3,7 +3,7 @@ export declare class EditSession<Row> extends GarbageCollector {
3
3
  readonly rowId: any;
4
4
  readonly form: DirtyTrackingForm<Row>;
5
5
  readonly saveCommand: Command<boolean | Promise<boolean>>;
6
- private _liveRowValue;
7
- readonly liveRowValue: import("@coolon/pectin").ValueModel<Row>;
6
+ private _liveRowValue$;
7
+ readonly liveRowValue$: import("@coolon/pectin").ValueModel<Row>;
8
8
  constructor(rowId: any, row: Row, form: DirtyTrackingForm<Row>, saveCommand: Command<boolean | Promise<boolean>>);
9
9
  }
@@ -1,6 +1,6 @@
1
- import { CellRenderer } from './cell-renderer';
1
+ import { CellRenderer } from '../renderer/cell-renderer';
2
2
  import { Disposable } from '@coolon/pectin';
3
- export interface MutableCellRenderer<T> extends CellRenderer<T> {
3
+ export interface EditableCellRenderer<T> extends CellRenderer<T> {
4
4
  value: T;
5
5
  onValueEdited(callback: (is: T, was: T) => void): Disposable;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { PageController } from '@coolon/pectin';
3
- import { DisposableComponent } from '../../../disposable-component';
3
+ import { DisposableComponent } from '../../disposable-component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class PaginatorComponent extends DisposableComponent implements OnInit {
6
6
  pageController: PageController;
@@ -1,9 +1,9 @@
1
1
  import { ComponentType } from '@angular/cdk/overlay';
2
2
  import { TemplateRef, ViewContainerRef } from '@angular/core';
3
- import { ColumnModel, RowData } from './column-model';
4
- import { EditSession } from '../edit-session';
5
- import { TableCellRendererComponent } from './table-cell-renderer/table-cell-renderer.component';
6
- import { TableHeaderCellRendererComponent } from './table-header-cell-renderer/table-header-cell-renderer.component';
3
+ import { ColumnModel, RowData } from '../column/column-model';
4
+ import { EditSession } from '../editor/edit-session';
5
+ import { TableCellComponent } from './table-cell/table-cell.component';
6
+ import { TableHeaderCellComponent } from './table-header-cell/table-header-cell.component';
7
7
  export declare const HEADER_CELL_RENDERER_PORTAL: unique symbol;
8
8
  export declare const CELL_RENDERER_PORTAL: unique symbol;
9
9
  export declare const CELL_EDITOR_PORTAL: unique symbol;
@@ -14,30 +14,30 @@ export declare abstract class CellPortalRef<Row, Host, Portal> {
14
14
  abstract initialiseHost(host: Host, columnModel: ColumnModel<Row>): any;
15
15
  abstract onPortalAttached(host: Host, portalComponent: Portal): any;
16
16
  }
17
- export declare class CellHeaderPortalRef<Row, C> extends CellPortalRef<Row, TableHeaderCellRendererComponent, C> {
17
+ export declare class CellHeaderPortalRef<Row, 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: TableHeaderCellRendererComponent, columnModel: ColumnModel<Row>): void;
22
- onPortalAttached(host: TableHeaderCellRendererComponent, portalComponent: C): void;
21
+ initialiseHost(host: TableHeaderCellComponent, columnModel: ColumnModel<Row>): void;
22
+ onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
23
23
  }
24
- export declare abstract class CellRendererPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellRendererComponent<Row>, Portal> {
25
- abstract pushState(host: TableCellRendererComponent<Row>): void;
24
+ export declare abstract class CellRendererPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
25
+ abstract pushState(host: TableCellComponent<Row>): void;
26
26
  }
27
27
  export declare class ComponentCellRendererPortalRef<Row, Portal> extends CellRendererPortalRef<Row, 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: TableCellRendererComponent<Row>, columnModel: ColumnModel<Row>): void;
32
- onPortalAttached(host: TableCellRendererComponent<Row>, portalComponent: Portal): void;
33
- pushState(host: TableCellRendererComponent<Row>): void;
31
+ initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
32
+ onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
33
+ pushState(host: TableCellComponent<Row>): void;
34
34
  }
35
- export declare class CellEditorPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellRendererComponent<Row>, Portal> {
35
+ export declare class CellEditorPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
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: TableCellRendererComponent<Row>, columnModel: ColumnModel<Row>): void;
40
- onPortalAttached(host: TableCellRendererComponent<Row>, portalComponent: Portal): void;
39
+ initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
40
+ onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
41
41
  }
42
42
  export declare class TemplateCellRendererPortalRef<Row> extends CellRendererPortalRef<Row, undefined> {
43
43
  private templateRef;
@@ -46,8 +46,8 @@ export declare class TemplateCellRendererPortalRef<Row> extends CellRendererPort
46
46
  private padChild;
47
47
  constructor();
48
48
  registerPortal(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
49
- initialiseHost(host: TableCellRendererComponent<Row>, columnModel: ColumnModel<Row>): void;
50
- onPortalAttached(host: TableCellRendererComponent<Row>, portalComponent: undefined): void;
51
- pushState(host: TableCellRendererComponent<Row>): void;
49
+ initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
50
+ onPortalAttached(host: TableCellComponent<Row>, portalComponent: undefined): void;
51
+ pushState(host: TableCellComponent<Row>): void;
52
52
  private createPortal;
53
53
  }
@@ -0,0 +1,3 @@
1
+ export interface CellRenderer<T> {
2
+ value: T;
3
+ }
@@ -1,4 +1,4 @@
1
- import { CellRenderer } from '../cell-renderer';
1
+ import { CellRenderer } from "../cell-renderer";
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class DefaultCellRendererComponent<T> implements CellRenderer<T> {
4
4
  private _value;