@guiexpert/table 1.1.83 → 1.1.85

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 (140) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -1
  3. package/css/main.css +6 -6
  4. package/css/table-color-vars.css +6 -6
  5. package/index.cjs +28 -28
  6. package/index.d.ts +61 -61
  7. package/index.js +835 -679
  8. package/lib/common/generator/column-def-generator-service.d.ts +1 -0
  9. package/lib/common/generator/domain/value-info.d.ts +1 -0
  10. package/lib/common/generator/property-type.service.d.ts +1 -0
  11. package/lib/common/generator/scheme-generator-service.d.ts +1 -0
  12. package/lib/table/action/on-action-triggered.if.d.ts +2 -1
  13. package/lib/table/action/osx-shortcut-actionId-mapping.d.ts +2 -1
  14. package/lib/table/action/shortcut-actionid-mapping.type.d.ts +2 -1
  15. package/lib/table/action/shortcut.service.d.ts +4 -3
  16. package/lib/table/action/windows-shortcut-actionId-mapping.d.ts +2 -1
  17. package/lib/table/checkbox/checkbox-model.d.ts +3 -2
  18. package/lib/table/checkbox/checkbox-model.if.d.ts +2 -1
  19. package/lib/table/checkbox/tree-checkbox-model.d.ts +4 -3
  20. package/lib/table/color/color-rgb.d.ts +2 -1
  21. package/lib/table/color/ge-css-color-util.d.ts +3 -2
  22. package/lib/table/color/three-color-gradient-arg.d.ts +3 -2
  23. package/lib/table/color/three-color-gradient-arg.if.d.ts +2 -1
  24. package/lib/table/color/two-color-gradient-arg.d.ts +3 -2
  25. package/lib/table/color/two-color-gradient-arg.if.d.ts +2 -1
  26. package/lib/table/crud/column-widths.d.ts +1 -0
  27. package/lib/table/crud/crud-options.d.ts +1 -0
  28. package/lib/table/crud/crud-options.if.d.ts +1 -0
  29. package/lib/table/crud/crud-table-model-factory.d.ts +1 -0
  30. package/lib/table/crud/url-info.d.ts +1 -0
  31. package/lib/table/crud/urls.if.d.ts +1 -0
  32. package/lib/table/data/chunk/chunk.data-event.d.ts +3 -2
  33. package/lib/table/data/chunk/chunk.data-event.if.d.ts +2 -1
  34. package/lib/table/data/chunk/request-chunk.d.ts +2 -1
  35. package/lib/table/data/common/area-map-factory.d.ts +3 -2
  36. package/lib/table/data/common/area-map.d.ts +2 -1
  37. package/lib/table/data/common/args-adjust-columns-to-row-parent-params.d.ts +5 -4
  38. package/lib/table/data/common/args-render-cell-div.d.ts +4 -3
  39. package/lib/table/data/common/checkbox-column-def.d.ts +5 -4
  40. package/lib/table/data/common/event/ge-model-change-event.d.ts +2 -1
  41. package/lib/table/data/common/event/ge-mouse-event.d.ts +3 -2
  42. package/lib/table/data/common/event/input/table-cell-update-event.d.ts +3 -2
  43. package/lib/table/data/common/event/input/table-cell-update-event.if.d.ts +2 -1
  44. package/lib/table/data/common/size.d.ts +2 -1
  45. package/lib/table/data/common/size.if.d.ts +1 -0
  46. package/lib/table/data/common/sizes.d.ts +2 -1
  47. package/lib/table/data/common/sort-item.d.ts +2 -1
  48. package/lib/table/data/common/tree-row.d.ts +2 -1
  49. package/lib/table/data/common/value-label.d.ts +2 -1
  50. package/lib/table/data/event/mouse-target-data.d.ts +4 -3
  51. package/lib/table/data/options/auto-restore-options.d.ts +2 -1
  52. package/lib/table/data/options/default-row-heights.d.ts +2 -1
  53. package/lib/table/data/options/header-group-options.d.ts +2 -1
  54. package/lib/table/data/options/header-group-options.if.d.ts +2 -1
  55. package/lib/table/data/options/icon.d.ts +2 -1
  56. package/lib/table/data/options/sorted-options.d.ts +3 -2
  57. package/lib/table/data/options/sorted-options.if.d.ts +2 -1
  58. package/lib/table/data/options/table-options.d.ts +12 -11
  59. package/lib/table/data/options/table-options.if.d.ts +12 -11
  60. package/lib/table/data/options/tree-options.d.ts +3 -2
  61. package/lib/table/data/options/tree-options.if.d.ts +2 -1
  62. package/lib/table/data/table-model-and-options.d.ts +4 -3
  63. package/lib/table/data/table-model-and-options.if.d.ts +3 -2
  64. package/lib/table/data/tablemodel/areamodel/abstract-area-model.d.ts +10 -9
  65. package/lib/table/data/tablemodel/areamodel/area-model-array-of-arrays.d.ts +12 -4
  66. package/lib/table/data/tablemodel/areamodel/area-model-cell-groups.d.ts +1 -0
  67. package/lib/table/data/tablemodel/areamodel/area-model-hidden.d.ts +8 -7
  68. package/lib/table/data/tablemodel/areamodel/area-model-object-array-with-columndefs.d.ts +4 -3
  69. package/lib/table/data/tablemodel/areamodel/area-model-object-array.d.ts +8 -0
  70. package/lib/table/data/tablemodel/areamodel/area-model-tree.d.ts +16 -8
  71. package/lib/table/data/tablemodel/areamodel/area-model.d.ts +21 -11
  72. package/lib/table/data/tablemodel/areamodel/area-model.if.d.ts +23 -6
  73. package/lib/table/data/tablemodel/areamodel/async-area-model-object-array.d.ts +6 -5
  74. package/lib/table/data/tablemodel/areamodel/col-and-rowspan-model.d.ts +4 -3
  75. package/lib/table/data/tablemodel/areamodel/cover-grid-body-model.d.ts +1 -0
  76. package/lib/table/data/tablemodel/cellgroup/cell-group-ext.d.ts +3 -2
  77. package/lib/table/data/tablemodel/cellgroup/cell-group.d.ts +2 -1
  78. package/lib/table/data/tablemodel/cellgroup/cellgroup-factory.d.ts +4 -3
  79. package/lib/table/data/tablemodel/column/column-def.d.ts +10 -9
  80. package/lib/table/data/tablemodel/column/column-def.if.d.ts +8 -7
  81. package/lib/table/data/tablemodel/cover-grid-table-model.d.ts +1 -0
  82. package/lib/table/data/tablemodel/table-model.d.ts +12 -11
  83. package/lib/table/data/tablemodel/table-model.if.d.ts +8 -7
  84. package/lib/table/ele-scope.d.ts +13 -5
  85. package/lib/table/event-adapter.d.ts +5 -4
  86. package/lib/table/event-checkbox-changed-handler.d.ts +1 -0
  87. package/lib/table/event-listener.if.d.ts +4 -3
  88. package/lib/table/factory/cover-grid-factory.d.ts +3 -0
  89. package/lib/table/factory/table-factory.d.ts +9 -8
  90. package/lib/table/factory/tree-factory.d.ts +2 -1
  91. package/lib/table/focus/event-focus-changed-listener.if.d.ts +1 -0
  92. package/lib/table/focus/focus-model.d.ts +3 -2
  93. package/lib/table/focus/focus-model.if.d.ts +1 -0
  94. package/lib/table/input-handler.d.ts +2 -1
  95. package/lib/table/mouse-handler.d.ts +3 -2
  96. package/lib/table/render-scope.d.ts +37 -0
  97. package/lib/table/renderer/action/action-event-listener.if.d.ts +1 -0
  98. package/lib/table/renderer/action/action-event.d.ts +1 -0
  99. package/lib/table/renderer/action/action-event.if.d.ts +1 -0
  100. package/lib/table/renderer/action/actions-cell-renderer.d.ts +1 -0
  101. package/lib/table/renderer/cell-group-ext-cell-renderer.d.ts +1 -0
  102. package/lib/table/renderer/cell-render.if.d.ts +5 -4
  103. package/lib/table/renderer/checkbox-boolean-property-cell-renderer.d.ts +6 -5
  104. package/lib/table/renderer/checkbox-cell-renderer.d.ts +6 -5
  105. package/lib/table/renderer/date-to-int-date-cell-renderer.d.ts +6 -5
  106. package/lib/table/renderer/date-to-iso-cell-renderer.d.ts +6 -5
  107. package/lib/table/renderer/date-to-locale-date-cell-renderer.d.ts +6 -5
  108. package/lib/table/renderer/date-to-tec-cell-renderer.d.ts +6 -5
  109. package/lib/table/renderer/edit/edit-cell-renderer.type.d.ts +2 -1
  110. package/lib/table/renderer/edit/edit-input-pipe-for-number.d.ts +2 -1
  111. package/lib/table/renderer/edit/input-cell-renderer.d.ts +6 -5
  112. package/lib/table/renderer/edit/select-cell-renderer.d.ts +7 -6
  113. package/lib/table/renderer/male-female-to-icon-cell-renderer.d.ts +6 -5
  114. package/lib/table/renderer/number-cell-progress-bar-cell-renderer.d.ts +6 -5
  115. package/lib/table/renderer/number-cell-renderer.d.ts +6 -5
  116. package/lib/table/renderer/positive-and-negative-number-renderer.d.ts +6 -5
  117. package/lib/table/renderer/progress-bar-cell-renderer.d.ts +6 -5
  118. package/lib/table/renderer/renderer.d.ts +3 -2
  119. package/lib/table/renderer/simple-array-cell-renderer.d.ts +6 -5
  120. package/lib/table/renderer/star-rating-cell-renderer.d.ts +6 -5
  121. package/lib/table/renderer/true-false-cell-renderer.d.ts +6 -5
  122. package/lib/table/resize-handler.d.ts +2 -1
  123. package/lib/table/selection/event-selection-changed-listener.if.d.ts +1 -0
  124. package/lib/table/selection/multi-rows-selection-model.d.ts +1 -0
  125. package/lib/table/selection/selection-model.d.ts +3 -2
  126. package/lib/table/selection/selection-model.if.d.ts +2 -1
  127. package/lib/table/selection/selection-service.d.ts +8 -7
  128. package/lib/table/service/abstract-store-state.service.d.ts +2 -1
  129. package/lib/table/service/convenience-dom.service.d.ts +13 -12
  130. package/lib/table/service/copy-service.d.ts +1 -0
  131. package/lib/table/service/copy-service.if.d.ts +1 -0
  132. package/lib/table/service/excel-service.d.ts +1 -0
  133. package/lib/table/service/simple-dom-service.d.ts +2 -1
  134. package/lib/table/service/store-state-collapsed-expand.service.d.ts +4 -3
  135. package/lib/table/service/store-state-scroll-pos.service.d.ts +3 -2
  136. package/lib/table/service/store-state-sorting.service.d.ts +4 -3
  137. package/lib/table/service/tree-row.service.d.ts +2 -1
  138. package/lib/table/table-api.d.ts +4 -3
  139. package/lib/table/table-scope.d.ts +1 -0
  140. package/package.json +14 -3
@@ -1,4 +1,5 @@
1
1
  import { PropertyType } from './domain/property-type';
2
+
2
3
  export declare class ColumnDefGenerator {
3
4
  rootPropertyType: PropertyType | null;
4
5
  private allowCustomRenderer;
@@ -1,4 +1,5 @@
1
1
  import { PropertyItem } from './property-type';
2
+
2
3
  export declare class ValueInfo {
3
4
  property: string;
4
5
  value: any;
@@ -1,5 +1,6 @@
1
1
  import { PropertyType } from './domain/property-type';
2
2
  import { ValueInfo } from './domain/value-info';
3
+
3
4
  export declare class PropertyTypeService {
4
5
  debugging: boolean;
5
6
  /**
@@ -1,4 +1,5 @@
1
1
  import { PropertyType } from './domain/property-type';
2
+
2
3
  /**
3
4
  *
4
5
  * Converts a json or object structure like this:
@@ -1,4 +1,5 @@
1
- import { ActionId } from "./action-id.type";
1
+ import { ActionId } from './action-id.type';
2
+
2
3
  export interface OnActionTriggeredIf {
3
4
  /**
4
5
  * Triggers an action based on the provided action ID.
@@ -1,4 +1,5 @@
1
- import { ActionId } from "./action-id.type";
1
+ import { ActionId } from './action-id.type';
2
+
2
3
  /**
3
4
  * Class representing the mapping of OS X shortcut actions to action IDs.
4
5
  *
@@ -1,4 +1,5 @@
1
- import { ActionId } from "./action-id.type";
1
+ import { ActionId } from './action-id.type';
2
+
2
3
  /**
3
4
  * Represents a mapping of shortcut action IDs.
4
5
  * @typedef {Object.<string, ActionId>} ShortcutActionIdMapping
@@ -1,6 +1,7 @@
1
- import { TableScope } from "../table-scope";
2
- import { ShortcutActionIdMapping } from "./shortcut-actionid-mapping.type";
3
- import { OnActionTriggeredIf } from "./on-action-triggered.if";
1
+ import { TableScope } from '../table-scope';
2
+ import { ShortcutActionIdMapping } from './shortcut-actionid-mapping.type';
3
+ import { OnActionTriggeredIf } from './on-action-triggered.if';
4
+
4
5
  /**
5
6
  * Represents a service for managing shortcuts and triggering actions based on keyboard events.
6
7
  */
@@ -1,4 +1,5 @@
1
- import { ActionId } from "./action-id.type";
1
+ import { ActionId } from './action-id.type';
2
+
2
3
  /**
3
4
  * Class representing a mapping of Windows shortcut keys to action IDs.
4
5
  *
@@ -1,5 +1,6 @@
1
- import { CheckedType } from "../data/common/checked-type";
2
- import { CheckboxModelIf } from "./checkbox-model.if";
1
+ import { CheckedType } from '../data/common/checked-type';
2
+ import { CheckboxModelIf } from './checkbox-model.if';
3
+
3
4
  export declare class CheckboxModel<T> implements CheckboxModelIf<T> {
4
5
  protected checkedRows: Array<T>;
5
6
  getCheckedRows(): T[];
@@ -1,4 +1,5 @@
1
- import { CheckedType } from "../data/common/checked-type";
1
+ import { CheckedType } from '../data/common/checked-type';
2
+
2
3
  export interface CheckboxModelIf<T> {
3
4
  getCheckedRows(): T[];
4
5
  setCheckedRows(value: T[]): void;
@@ -1,6 +1,7 @@
1
- import { CheckedType } from "../data/common/checked-type";
2
- import { CheckboxModelIf } from "./checkbox-model.if";
3
- import { TreeRowIf } from "../data/common/tree-row-if";
1
+ import { CheckedType } from '../data/common/checked-type';
2
+ import { CheckboxModelIf } from './checkbox-model.if';
3
+ import { TreeRowIf } from '../data/common/tree-row-if';
4
+
4
5
  export declare class TreeCheckboxModel<T extends TreeRowIf<any>> implements CheckboxModelIf<T> {
5
6
  protected allRootNodes: T[];
6
7
  constructor(allRootNodes?: T[]);
@@ -1,4 +1,5 @@
1
- import { ColorRgbIf } from "./color-rgb.if";
1
+ import { ColorRgbIf } from './color-rgb.if';
2
+
2
3
  export declare class ColorRgb implements ColorRgbIf {
3
4
  r: number;
4
5
  g: number;
@@ -1,5 +1,6 @@
1
- import { TwoColorGradientArgIf } from "./two-color-gradient-arg.if";
2
- import { ThreeColorGradientArgIf } from "./three-color-gradient-arg.if";
1
+ import { TwoColorGradientArgIf } from './two-color-gradient-arg.if';
2
+ import { ThreeColorGradientArgIf } from './three-color-gradient-arg.if';
3
+
3
4
  export declare class GeCssColorUtil {
4
5
  static normalize(value: number, fromSource: number, toSource: number, fromTarget?: number, toTarget?: number): number;
5
6
  static getTwoColorGradientRGB(value: number, para: TwoColorGradientArgIf): string;
@@ -1,5 +1,6 @@
1
- import { ColorRgbIf } from "./color-rgb.if";
2
- import { ThreeColorGradientArgIf } from "./three-color-gradient-arg.if";
1
+ import { ColorRgbIf } from './color-rgb.if';
2
+ import { ThreeColorGradientArgIf } from './three-color-gradient-arg.if';
3
+
3
4
  export declare class ThreeColorGradientArg implements ThreeColorGradientArgIf {
4
5
  minValue: number;
5
6
  minColor: ColorRgbIf;
@@ -1,4 +1,5 @@
1
- import { ColorRgbIf } from "./color-rgb.if";
1
+ import { ColorRgbIf } from './color-rgb.if';
2
+
2
3
  /**
3
4
  * Interface for defining the arguments of a three-color gradient.
4
5
  *
@@ -1,5 +1,6 @@
1
- import { ColorRgbIf } from "./color-rgb.if";
2
- import { TwoColorGradientArgIf } from "./two-color-gradient-arg.if";
1
+ import { ColorRgbIf } from './color-rgb.if';
2
+ import { TwoColorGradientArgIf } from './two-color-gradient-arg.if';
3
+
3
4
  export declare class TwoColorGradientArg implements TwoColorGradientArgIf {
4
5
  minValue: number;
5
6
  minColor: ColorRgbIf;
@@ -1,4 +1,5 @@
1
- import { ColorRgbIf } from "./color-rgb.if";
1
+ import { ColorRgbIf } from './color-rgb.if';
2
+
2
3
  /**
3
4
  * Interface representing arguments for a two-color gradient.
4
5
  * @interface
@@ -1,4 +1,5 @@
1
1
  import { ColumnWidthsIf } from './column-widths.if';
2
+
2
3
  export declare class ColumnWidths implements ColumnWidthsIf {
3
4
  autoCalc: boolean;
4
5
  takeHeaderLabelsIntoAccount: boolean;
@@ -2,6 +2,7 @@ import { CrudOptionsIf } from './crud-options.if';
2
2
  import { UrlsIf } from './urls.if';
3
3
  import { CrudAction } from './crud-action';
4
4
  import { ColumnWidthsIf } from './column-widths.if';
5
+
5
6
  export declare class CrudOptions implements CrudOptionsIf {
6
7
  urls: UrlsIf;
7
8
  singleRowActions: CrudAction[];
@@ -1,5 +1,6 @@
1
1
  import { UrlsIf } from './urls.if';
2
2
  import { CrudAction } from './crud-action';
3
+
3
4
  export interface CrudOptionsIf {
4
5
  getHeadersInit?: () => HeadersInit;
5
6
  urls: UrlsIf;
@@ -6,6 +6,7 @@ import { ActionEventIf } from '../renderer/action/action-event.if';
6
6
  import { TableModelIf } from '../data/tablemodel/table-model.if';
7
7
  import { TableOptionsIf } from '../data/options/table-options.if';
8
8
  import { AreaModelObjectArrayWithColumndefs } from '../data/tablemodel/areamodel/area-model-object-array-with-columndefs';
9
+
9
10
  export declare class CrudTableModelFactory implements ActionEventListenerIf {
10
11
  tableModel: TableModelIf | undefined;
11
12
  bodyModel: AreaModelObjectArrayWithColumndefs<any> | undefined;
@@ -1,4 +1,5 @@
1
1
  import { UrlInfoIf } from './url-info.if';
2
+
2
3
  export declare class UrlInfo implements UrlInfoIf {
3
4
  method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'PATCH';
4
5
  url: string;
@@ -1,4 +1,5 @@
1
1
  import { UrlInfoIf } from './url-info.if';
2
+
2
3
  export interface UrlsIf {
3
4
  list: UrlInfoIf;
4
5
  create?: UrlInfoIf;
@@ -1,5 +1,6 @@
1
- import { ChunkDataIf } from "./chunk.data-event.if";
2
- import { RequestChunk } from "./request-chunk";
1
+ import { ChunkDataIf } from './chunk.data-event.if';
2
+ import { RequestChunk } from './request-chunk';
3
+
3
4
  export declare class ChunkData<T> extends RequestChunk implements ChunkDataIf<T> {
4
5
  rows: T[];
5
6
  constructor(emmitDataKey: string, emmitCancelKey: string, queryId: string, // which sql
@@ -1,4 +1,5 @@
1
- import { RequestChunkIf } from "./request-chunk.if";
1
+ import { RequestChunkIf } from './request-chunk.if';
2
+
2
3
  export interface ChunkDataIf<T> extends RequestChunkIf {
3
4
  rows: T[];
4
5
  }
@@ -1,4 +1,5 @@
1
- import { RequestChunkIf } from "./request-chunk.if";
1
+ import { RequestChunkIf } from './request-chunk.if';
2
+
2
3
  export declare class RequestChunk implements RequestChunkIf {
3
4
  emmitDataKey: string;
4
5
  emmitCancelKey: string;
@@ -1,5 +1,6 @@
1
- import { AreaObjectMap } from "./area-map";
2
- import { CellRendererIf } from "../../renderer/cell-render.if";
1
+ import { AreaObjectMap } from './area-map';
2
+ import { CellRendererIf } from '../../renderer/cell-render.if';
3
+
3
4
  export declare class AreaMapFactory {
4
5
  /**
5
6
  * A factory that creates a new AreaObjectMap with the given body renderer.
@@ -1,4 +1,5 @@
1
- import { AreaObjectMapType } from "./area-map.type";
1
+ import { AreaObjectMapType } from './area-map.type';
2
+
2
3
  /**
3
4
  * An object map as container for all three areas.
4
5
  *
@@ -1,7 +1,8 @@
1
- import { AreaIdent } from "../tablemodel/area-ident.type";
2
- import { SideIdent } from "../side-ident.type";
3
- import { AreaModelIf } from "../tablemodel/areamodel/area-model.if";
4
- import { GeoData } from "../geo-data";
1
+ import { AreaIdent } from '../tablemodel/area-ident.type';
2
+ import { SideIdent } from '../side-ident.type';
3
+ import { AreaModelIf } from '../tablemodel/areamodel/area-model.if';
4
+ import { GeoData } from '../geo-data';
5
+
5
6
  /**
6
7
  * Represents the parameters required for adjusting columns to the row parent.
7
8
  * @interface ArgsAdjustColumnsToRowParentParams
@@ -1,6 +1,7 @@
1
- import { AreaModelIf } from "../tablemodel/areamodel/area-model.if";
2
- import { AreaIdent } from "../tablemodel/area-ident.type";
3
- import { SideIdent } from "../side-ident.type";
1
+ import { AreaModelIf } from '../tablemodel/areamodel/area-model.if';
2
+ import { AreaIdent } from '../tablemodel/area-ident.type';
3
+ import { SideIdent } from '../side-ident.type';
4
+
4
5
  /**
5
6
  * Represents the arguments required to render a cell div.
6
7
  *
@@ -1,7 +1,8 @@
1
- import { SizeIf } from "./size.if";
2
- import { ColumnDefIf } from "../tablemodel/column/column-def.if";
3
- import { CellRendererIf } from "../../renderer/cell-render.if";
4
- import { AreaObjectMapType } from "./area-map.type";
1
+ import { SizeIf } from './size.if';
2
+ import { ColumnDefIf } from '../tablemodel/column/column-def.if';
3
+ import { CellRendererIf } from '../../renderer/cell-render.if';
4
+ import { AreaObjectMapType } from './area-map.type';
5
+
5
6
  /**
6
7
  * A pre-defined column definition for a checkbox representation.
7
8
  *
@@ -1,4 +1,5 @@
1
- import { GeCellIndices } from "./ge-cell-indices";
1
+ import { GeCellIndices } from './ge-cell-indices';
2
+
2
3
  /**
3
4
  * Indicates that changes have occurred in the given cells.
4
5
  */
@@ -1,5 +1,6 @@
1
- import { AreaIdent } from "../../tablemodel/area-ident.type";
2
- import { SideIdent } from "../../side-ident.type";
1
+ import { AreaIdent } from '../../tablemodel/area-ident.type';
2
+ import { SideIdent } from '../../side-ident.type';
3
+
3
4
  /**
4
5
  * Represents a mouse event in the table.
5
6
  */
@@ -1,5 +1,6 @@
1
- import { TableCellUpdateEventIf } from "./table-cell-update-event.if";
2
- import { AreaIdent } from "../../../tablemodel/area-ident.type";
1
+ import { TableCellUpdateEventIf } from './table-cell-update-event.if';
2
+ import { AreaIdent } from '../../../tablemodel/area-ident.type';
3
+
3
4
  /**
4
5
  * Represents an event that occurs when a table cell is updated.
5
6
  *
@@ -1,4 +1,5 @@
1
- import { AreaIdent } from "../../../tablemodel/area-ident.type";
1
+ import { AreaIdent } from '../../../tablemodel/area-ident.type';
2
+
2
3
  /**
3
4
  * One event defines one table cell update operation.
4
5
  * You can send an array of these event via TableApi#updateCells(events: TableCellUpdateEventIf[], repaintAll: boolean = false).
@@ -1,5 +1,6 @@
1
- import { SizeIf } from "./size.if";
1
+ import { SizeIf } from './size.if';
2
2
  import { SizeUnitType } from './size-unit.type';
3
+
3
4
  export declare class Size implements SizeIf {
4
5
  value: number;
5
6
  unit: SizeUnitType;
@@ -1,4 +1,5 @@
1
1
  import { SizeUnitType } from './size-unit.type';
2
+
2
3
  /**
3
4
  * Represents the size of an object or element.
4
5
  */
@@ -1,4 +1,5 @@
1
- import { Size } from "./size";
1
+ import { Size } from './size';
2
+
2
3
  export declare const px500: Size;
3
4
  export declare const px400: Size;
4
5
  export declare const px300: Size;
@@ -1,4 +1,5 @@
1
- import { SortState } from "./sort-state.type";
1
+ import { SortState } from './sort-state.type';
2
+
2
3
  /**
3
4
  * Represents a sortable column with its sort order..
4
5
  */
@@ -1,4 +1,5 @@
1
- import { TreeRowIf } from "./tree-row-if";
1
+ import { TreeRowIf } from './tree-row-if';
2
+
2
3
  /**
3
4
  * Represents a (table) row in a tree structure. It's a container object for T with additional tree node information.
4
5
  * @template T - The type of data stored in the row.
@@ -1,4 +1,5 @@
1
- import { ValueLabelIf } from "./value-label.if";
1
+ import { ValueLabelIf } from './value-label.if';
2
+
2
3
  export declare class ValueLabel implements ValueLabelIf {
3
4
  value: any;
4
5
  label: string;
@@ -1,6 +1,7 @@
1
- import { AreaIdent } from "../tablemodel/area-ident.type";
2
- import { AreaModelIf } from "../tablemodel/areamodel/area-model.if";
3
- import { TableScope } from "../../table-scope";
1
+ import { AreaIdent } from '../tablemodel/area-ident.type';
2
+ import { AreaModelIf } from '../tablemodel/areamodel/area-model.if';
3
+ import { TableScope } from '../../table-scope';
4
+
4
5
  /**
5
6
  * The MouseTargetData class is used to process and provide information about user interaction, especially mouse events, with specific areas and elements of a table built using HTML Div elements, Span elements, and Input elements.
6
7
  *
@@ -1,4 +1,5 @@
1
- import { AutoRestoreOptionsIf } from "./auto-restore-options.if";
1
+ import { AutoRestoreOptionsIf } from './auto-restore-options.if';
2
+
2
3
  export declare class AutoRestoreOptions<T> implements AutoRestoreOptionsIf<T> {
3
4
  autoRestoreSortingState: boolean;
4
5
  autoRestoreCollapsedExpandedState: boolean;
@@ -1,4 +1,5 @@
1
- import { DefaultRowHeightsIf } from "./default-row-heights.if";
1
+ import { DefaultRowHeightsIf } from './default-row-heights.if';
2
+
2
3
  export declare class DefaultRowHeights implements DefaultRowHeightsIf {
3
4
  header: number;
4
5
  body: number;
@@ -1,5 +1,6 @@
1
- import { IconIf } from "./icon.if";
1
+ import { IconIf } from './icon.if';
2
2
  import { HeaderGroupOptionsIf } from './header-group-options.if';
3
+
3
4
  export declare class HeaderGroupOptions implements HeaderGroupOptionsIf {
4
5
  iconExpanded: IconIf;
5
6
  iconCollapsed: IconIf;
@@ -1,4 +1,5 @@
1
- import { IconIf } from "./icon.if";
1
+ import { IconIf } from './icon.if';
2
+
2
3
  /**
3
4
  * The `HeaderGroupOptionsIf` interface is part of the TypeScript project,
4
5
  * and it's used as a type definition for the options of a header group component.
@@ -1,4 +1,5 @@
1
- import { IconIf } from "./icon.if";
1
+ import { IconIf } from './icon.if';
2
+
2
3
  export declare class Icon implements IconIf {
3
4
  content: string;
4
5
  style: string;
@@ -1,5 +1,6 @@
1
- import { IconIf } from "./icon.if";
2
- import { SortedOptionsIf } from "./sorted-options.if";
1
+ import { IconIf } from './icon.if';
2
+ import { SortedOptionsIf } from './sorted-options.if';
3
+
3
4
  export declare class SortedOptions implements SortedOptionsIf {
4
5
  iconAsc: IconIf;
5
6
  iconDesc: IconIf;
@@ -1,4 +1,5 @@
1
- import { IconIf } from "./icon.if";
1
+ import { IconIf } from './icon.if';
2
+
2
3
  /**
3
4
  * This TypeScript interface, `SortedOptionsIf`, represents the configuration options for sorting.
4
5
  *
@@ -1,15 +1,16 @@
1
- import { DefaultRowHeightsIf } from "./default-row-heights.if";
2
- import { TableOptionsIf } from "./table-options.if";
3
- import { TreeOptions } from "./tree-options";
4
- import { FilterFunction } from "../common/filter-function";
5
- import { SortState } from "../common/sort-state.type";
6
- import { SortedOptions } from "./sorted-options";
7
- import { GetEditRenderer } from "../../renderer/edit/edit-cell-renderer.type";
8
- import { SelectionModelIf } from "../../selection/selection-model.if";
9
- import { GetT } from "../common/get-t";
10
- import { FocusModelIf } from "../../focus/focus-model.if";
11
- import { ShortcutActionIdMapping } from "../../action/shortcut-actionid-mapping.type";
1
+ import { DefaultRowHeightsIf } from './default-row-heights.if';
2
+ import { TableOptionsIf } from './table-options.if';
3
+ import { TreeOptions } from './tree-options';
4
+ import { FilterFunction } from '../common/filter-function';
5
+ import { SortState } from '../common/sort-state.type';
6
+ import { SortedOptions } from './sorted-options';
7
+ import { GetEditRenderer } from '../../renderer/edit/edit-cell-renderer.type';
8
+ import { SelectionModelIf } from '../../selection/selection-model.if';
9
+ import { GetT } from '../common/get-t';
10
+ import { FocusModelIf } from '../../focus/focus-model.if';
11
+ import { ShortcutActionIdMapping } from '../../action/shortcut-actionid-mapping.type';
12
12
  import { HeaderGroupOptions } from './header-group-options';
13
+
13
14
  /**
14
15
  * TableOptions class provides configuration options for the table.
15
16
  */
@@ -1,15 +1,16 @@
1
- import { DefaultRowHeightsIf } from "./default-row-heights.if";
2
- import { TreeOptionsIf } from "./tree-options.if";
3
- import { FilterFunction } from "../common/filter-function";
4
- import { SortState } from "../common/sort-state.type";
5
- import { SortedOptionsIf } from "./sorted-options.if";
6
- import { AutoRestoreOptionsIf } from "./auto-restore-options.if";
7
- import { GetEditRenderer } from "../../renderer/edit/edit-cell-renderer.type";
8
- import { SelectionModelIf } from "../../selection/selection-model.if";
9
- import { GetT } from "../common/get-t";
10
- import { FocusModelIf } from "../../focus/focus-model.if";
11
- import { ShortcutActionIdMapping } from "../../action/shortcut-actionid-mapping.type";
1
+ import { DefaultRowHeightsIf } from './default-row-heights.if';
2
+ import { TreeOptionsIf } from './tree-options.if';
3
+ import { FilterFunction } from '../common/filter-function';
4
+ import { SortState } from '../common/sort-state.type';
5
+ import { SortedOptionsIf } from './sorted-options.if';
6
+ import { AutoRestoreOptionsIf } from './auto-restore-options.if';
7
+ import { GetEditRenderer } from '../../renderer/edit/edit-cell-renderer.type';
8
+ import { SelectionModelIf } from '../../selection/selection-model.if';
9
+ import { GetT } from '../common/get-t';
10
+ import { FocusModelIf } from '../../focus/focus-model.if';
11
+ import { ShortcutActionIdMapping } from '../../action/shortcut-actionid-mapping.type';
12
12
  import { HeaderGroupOptionsIf } from './header-group-options.if';
13
+
13
14
  /**
14
15
  * Represents the options for configuring a table.
15
16
  *
@@ -1,5 +1,6 @@
1
- import { IconIf } from "./icon.if";
2
- import { TreeOptionsIf } from "./tree-options.if";
1
+ import { IconIf } from './icon.if';
2
+ import { TreeOptionsIf } from './tree-options.if';
3
+
3
4
  export declare class TreeOptions implements TreeOptionsIf {
4
5
  arrowExpanded: IconIf;
5
6
  arrowCollapsed: IconIf;
@@ -1,4 +1,5 @@
1
- import { IconIf } from "./icon.if";
1
+ import { IconIf } from './icon.if';
2
+
2
3
  /**
3
4
  * This interface `TreeOptionsIf` represents the specific configuration and properties of a tree component, usually displayed in a User Interface (UI).
4
5
  * The interface includes several properties that illustrate the statuses of tree's collapsible nodes. All properties represent the Icon characteristics in their different states in the tree.
@@ -1,6 +1,7 @@
1
- import { TableModelAndOptionsIf } from "./table-model-and-options.if";
2
- import { TableModelIf } from "./tablemodel/table-model.if";
3
- import { TableOptions } from "./options/table-options";
1
+ import { TableModelAndOptionsIf } from './table-model-and-options.if';
2
+ import { TableModelIf } from './tablemodel/table-model.if';
3
+ import { TableOptions } from './options/table-options';
4
+
4
5
  /**
5
6
  * Container object for one table model and one table options object.
6
7
  */
@@ -1,5 +1,6 @@
1
- import { TableModelIf } from "./tablemodel/table-model.if";
2
- import { TableOptions } from "./options/table-options";
1
+ import { TableModelIf } from './tablemodel/table-model.if';
2
+ import { TableOptions } from './options/table-options';
3
+
3
4
  /**
4
5
  * Interface for a container object for one table model and one table options object.
5
6
  */
@@ -1,12 +1,13 @@
1
- import { CellRendererIf } from "../../../renderer/cell-render.if";
2
- import { AreaModelIf } from "./area-model.if";
3
- import { CheckedType } from "../../common/checked-type";
4
- import { ColumnDefIf } from "../column/column-def.if";
5
- import { AreaIdent } from "../area-ident.type";
6
- import { CheckboxModelIf } from "../../../checkbox/checkbox-model.if";
7
- import { FilterFunction } from "../../common/filter-function";
8
- import { SortItem } from "../../common/sort-item";
9
- import { HasDefaultRowHeightIf } from "./has-default-row-height-if";
1
+ import { CellRendererIf } from '../../../renderer/cell-render.if';
2
+ import { AreaModelIf } from './area-model.if';
3
+ import { CheckedType } from '../../common/checked-type';
4
+ import { ColumnDefIf } from '../column/column-def.if';
5
+ import { AreaIdent } from '../area-ident.type';
6
+ import { CheckboxModelIf } from '../../../checkbox/checkbox-model.if';
7
+ import { FilterFunction } from '../../common/filter-function';
8
+ import { SortItem } from '../../common/sort-item';
9
+ import { HasDefaultRowHeightIf } from './has-default-row-height-if';
10
+
10
11
  export declare abstract class AbstractAreaModel<T> implements AreaModelIf, HasDefaultRowHeightIf {
11
12
  areaIdent: AreaIdent;
12
13
  protected columnDefs: ColumnDefIf[];
@@ -1,7 +1,8 @@
1
- import { AbstractAreaModel } from "./abstract-area-model";
2
- import { AreaIdent } from "../area-ident.type";
3
- import { ColumnDefIf } from "../column/column-def.if";
4
- import { FilterFunction } from "../../common/filter-function";
1
+ import { AbstractAreaModel } from './abstract-area-model';
2
+ import { AreaIdent } from '../area-ident.type';
3
+ import { ColumnDefIf } from '../column/column-def.if';
4
+ import { FilterFunction } from '../../common/filter-function';
5
+
5
6
  /**
6
7
  * Represents a model for an area containing a two-dimensional array of data.
7
8
  * @template T - The type of data in the array.
@@ -19,5 +20,12 @@ export declare class AreaModelArrayOfArrays<T> extends AbstractAreaModel<T[][]>
19
20
  setValue(rowIndex: number, columnIndex: number, value: any): boolean;
20
21
  getRowByIndex(rowIndex: number): any;
21
22
  getRowHeight(_rowIndex: number): number;
23
+ /**
24
+ * All rows share `defaultRowHeight` – unless a subclass overrides `getRowHeight()`, then row heights may
25
+ * vary and `undefined` is returned.
26
+ *
27
+ * @returns {number | undefined} The constant row height or `undefined`.
28
+ */
29
+ getConstantRowHeight(): number | undefined;
22
30
  changeColumnOrder(sourceColumnIndex: number, targetColumnIndex: number): void;
23
31
  }