@ai-table/grid 0.1.32 → 0.1.34
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.
- package/components/cell-editors/number/number-editor.component.d.ts +2 -1
- package/components/cell-editors/number/number-editor.component.d.ts.map +1 -1
- package/components/drag/drag.component.d.ts.map +1 -1
- package/core/context.d.ts +4 -0
- package/core/context.d.ts.map +1 -1
- package/fesm2022/ai-table-grid.mjs +802 -562
- package/fesm2022/ai-table-grid.mjs.map +1 -1
- package/grid-base.component.d.ts +2 -1
- package/grid-base.component.d.ts.map +1 -1
- package/grid.component.d.ts +1 -1
- package/grid.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/renderer/components/cells/cover-cell-base.d.ts +3 -0
- package/renderer/components/cells/cover-cell-base.d.ts.map +1 -1
- package/renderer/components/cells/index.d.ts +1 -0
- package/renderer/components/cells/index.d.ts.map +1 -1
- package/renderer/components/cells/link.component.d.ts.map +1 -1
- package/renderer/components/cells/single-text.component.d.ts +31 -0
- package/renderer/components/cells/single-text.component.d.ts.map +1 -0
- package/renderer/components/fill-handle.component.d.ts.map +1 -1
- package/renderer/components/scrollable-group/scrollable-group.component.d.ts +1 -0
- package/renderer/components/scrollable-group/scrollable-group.component.d.ts.map +1 -1
- package/renderer/components/text.component.d.ts.map +1 -1
- package/services/selection.service.d.ts.map +1 -1
- package/types/grid.d.ts +8 -0
- package/types/grid.d.ts.map +1 -1
- package/utils/cell.d.ts +4 -0
- package/utils/cell.d.ts.map +1 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AbstractEditCellEditor } from '../abstract-cell-editor.component';
|
2
|
+
import { NumberFieldValue } from '@ai-table/utils';
|
2
3
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class NumberCellEditorComponent extends AbstractEditCellEditor<
|
4
|
+
export declare class NumberCellEditorComponent extends AbstractEditCellEditor<NumberFieldValue> {
|
4
5
|
updateValue(): void;
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberCellEditorComponent, never>;
|
6
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<NumberCellEditorComponent, "number-cell-editor", never, {}, {}, never, never, true, never>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"number-editor.component.d.ts","sourceRoot":"","sources":["../../../../../packages/grid/src/components/cell-editors/number/number-editor.component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC
|
1
|
+
{"version":3,"file":"number-editor.component.d.ts","sourceRoot":"","sources":["../../../../../packages/grid/src/components/cell-editors/number/number-editor.component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;;AAEnD,qBAea,yBAA0B,SAAQ,sBAAsB,CAAC,gBAAgB,CAAC;IACnF,WAAW;yCADF,yBAAyB;2CAAzB,yBAAyB;CASrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"drag.component.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/components/drag/drag.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,UAAU,EAIV,SAAS,EACT,MAAM,EAIT,MAAM,eAAe,CAAC;AACvB,OAAO,
|
1
|
+
{"version":3,"file":"drag.component.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/components/drag/drag.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,UAAU,EAIV,SAAS,EACT,MAAM,EAIT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAiB,WAAW,EAAY,MAAM,iBAAiB,CAAC;;AAgBvE,qBAQa,oBAAqB,YAAW,MAAM,EAAE,SAAS;IAC1D,aAAa,2EAAgD;IAE7D,WAAW,2EAAgD;IAE3D,OAAO,wDAAyB;IAEhC,OAAO,CAAC,2BAA2B,CAAuC;IAE1E,OAAO,CAAC,OAAO,CAAqB;IAEpC,OAAO,CAAC,u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2
|
import { AIFieldConfig, AITableContext, AITableLinearRow, AITablePointPosition, AITableScrollState, ScrollActionOptions } from '../types';
|
3
3
|
import { AITableFieldOption, AITableReferences } from '@ai-table/utils';
|
4
4
|
export declare class RendererContext {
|
5
|
+
containerRect: Signal<{
|
6
|
+
width: number;
|
7
|
+
height: number;
|
8
|
+
}>;
|
5
9
|
rowHeadWidth: Signal<number>;
|
6
10
|
linearRows: Signal<AITableLinearRow[]>;
|
7
11
|
pointPosition: WritableSignal<AITablePointPosition>;
|
package/core/context.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/core/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC1I,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAExE,qBAAa,eAAe;IACxB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACvC,aAAa,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IACpD,WAAW,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAChD,sBAAsB,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,C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