@ai-table/grid 0.1.9 → 0.1.11
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/link/edit-link/edit-link.component.d.ts +0 -2
- package/components/cell-editors/link/edit-link/edit-link.component.d.ts.map +1 -1
- package/components/cell-editors/link/link-editor.component.d.ts.map +1 -1
- package/components/cell-editors/text/text-editor.component.d.ts +3 -1
- package/components/cell-editors/text/text-editor.component.d.ts.map +1 -1
- package/components/drag/drag.component.d.ts +11 -1
- package/components/drag/drag.component.d.ts.map +1 -1
- package/components/field-setting/field-setting.component.d.ts +6 -1
- package/components/field-setting/field-setting.component.d.ts.map +1 -1
- package/constants/table.d.ts +5 -0
- package/constants/table.d.ts.map +1 -1
- package/core/constants/field.d.ts +2 -0
- package/core/constants/field.d.ts.map +1 -1
- package/core/context.d.ts +3 -1
- package/core/context.d.ts.map +1 -1
- package/core/types/ai-table.d.ts +2 -1
- package/core/types/ai-table.d.ts.map +1 -1
- package/core/types/core.d.ts +0 -2
- package/core/types/core.d.ts.map +1 -1
- package/core/utils/common.d.ts.map +1 -1
- package/fesm2022/ai-table-grid.mjs +856 -304
- package/fesm2022/ai-table-grid.mjs.map +1 -1
- package/grid.component.d.ts +14 -7
- package/grid.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/renderer/components/cells/attachment.component.d.ts +4 -5
- package/renderer/components/cells/attachment.component.d.ts.map +1 -1
- package/renderer/components/cells/cells.d.ts +1 -1
- package/renderer/components/cells/cells.d.ts.map +1 -1
- package/renderer/components/cells/hover-cell.d.ts +12 -0
- package/renderer/components/cells/hover-cell.d.ts.map +1 -0
- package/renderer/components/cells/link.component.d.ts +4 -5
- package/renderer/components/cells/link.component.d.ts.map +1 -1
- package/renderer/components/cells/progress.component.d.ts +3 -5
- package/renderer/components/cells/progress.component.d.ts.map +1 -1
- package/renderer/components/cells/rate.component.d.ts +3 -5
- package/renderer/components/cells/rate.component.d.ts.map +1 -1
- package/renderer/components/cells/rich-text.component.d.ts +4 -5
- package/renderer/components/cells/rich-text.component.d.ts.map +1 -1
- package/renderer/components/hover-cell.component.d.ts +5 -2
- package/renderer/components/hover-cell.component.d.ts.map +1 -1
- package/renderer/components/index.d.ts +1 -0
- package/renderer/components/index.d.ts.map +1 -1
- package/renderer/creations/create-active-cell-border.d.ts.map +1 -1
- package/renderer/creations/create-cells.d.ts.map +1 -1
- package/renderer/index.d.ts +0 -1
- package/renderer/index.d.ts.map +1 -1
- package/renderer/renderer.component.d.ts +4 -1
- package/renderer/renderer.component.d.ts.map +1 -1
- package/services/event.service.d.ts.map +1 -1
- package/services/scroll-controller.service.d.ts +75 -0
- package/services/scroll-controller.service.d.ts.map +1 -0
- package/services/selection.service.d.ts +3 -5
- package/services/selection.service.d.ts.map +1 -1
- package/types/component-config.d.ts +1 -0
- package/types/component-config.d.ts.map +1 -1
- package/types/grid.d.ts +5 -1
- package/types/grid.d.ts.map +1 -1
- package/utils/common.d.ts +1 -0
- package/utils/common.d.ts.map +1 -1
- package/utils/hover-cell.d.ts +1 -0
- package/utils/hover-cell.d.ts.map +1 -1
- package/utils/i18n.d.ts +4 -1
- package/utils/i18n.d.ts.map +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/index.d.ts.map +1 -1
- package/utils/transform.d.ts +13 -0
- package/utils/transform.d.ts.map +1 -0
- package/renderer/interfaces/hover-cell.d.ts +0 -8
- package/renderer/interfaces/hover-cell.d.ts.map +0 -1
- package/renderer/interfaces/index.d.ts +0 -2
- package/renderer/interfaces/index.d.ts.map +0 -1
package/utils/i18n.d.ts
CHANGED
@@ -35,7 +35,10 @@ export declare enum AITableGridI18nKey {
|
|
35
35
|
fieldTypeCreatedBy = "fieldTypeCreatedBy",
|
36
36
|
fieldTypeCreatedAt = "fieldTypeCreatedAt",
|
37
37
|
fieldTypeUpdatedBy = "fieldTypeUpdatedBy",
|
38
|
-
fieldTypeUpdatedAt = "fieldTypeUpdatedAt"
|
38
|
+
fieldTypeUpdatedAt = "fieldTypeUpdatedAt",
|
39
|
+
fieldGroupBase = "fieldGroupBase",
|
40
|
+
fieldGroupAdvanced = "fieldGroupAdvanced",
|
41
|
+
rowAddFilterTooltip = "rowAddFilterTooltip"
|
39
42
|
}
|
40
43
|
export declare const getDefaultI18nTextByKey: (key: AITableGridI18nKey) => string;
|
41
44
|
export declare const getI18nTextByKey: (aiTable: AITable, key: AITableGridI18nKey | string) => string;
|
package/utils/i18n.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/utils/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,oBAAY,kBAAkB;IAC1B,qBAAqB,0BAA0B;IAC/C,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,eAAe,oBAAoB;IACnC,0BAA0B,+BAA+B;IACzD,SAAS,cAAc;IACvB,oBAAoB,yBAAyB;IAC7C,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB,CAAE,KAAK;IAClD,mBAAmB,wBAAwB;IAC3C,kBAAkB,uBAAuB;IACzC,aAAa,kBAAkB;IAC/B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,mBAAmB,wBAAwB;IAC3C,kBAAkB,uBAAuB;IACzC,kBAAkB,uBAAuB;IACzC,kBAAkB,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CHANGED
package/utils/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,MAAM,CAAC;AACrB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,MAAM,CAAC;AACrB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { TextConfig } from 'konva/lib/shapes/Text';
|
2
|
+
import { AITableImage, AITableRect, AITableText } from '../types';
|
3
|
+
import { ImageConfig } from 'konva/lib/shapes/Image';
|
4
|
+
import { RectConfig } from 'konva/lib/shapes/Rect';
|
5
|
+
export declare function aiTableTextConfigToKonvaConfig(textConfig: AITableText, rowHeight: number): TextConfig;
|
6
|
+
export declare function aiTableImageConfigToKonvaConfig(imageConfig: Partial<AITableImage>, options: {
|
7
|
+
listening?: boolean;
|
8
|
+
}): ImageConfig;
|
9
|
+
export declare function aiTableRectConfigToKonvaConfig(rectConfig: AITableRect, options?: {
|
10
|
+
name?: string;
|
11
|
+
listening?: boolean;
|
12
|
+
}): RectConfig;
|
13
|
+
//# sourceMappingURL=transform.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/utils/transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnD,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU,CAcrG;AAED,wBAAgB,+BAA+B,CAC3C,WAAW,EAAE,OAAO,CAAC,YAAY,CAAC,EAClC,OAAO,EAAE;IACL,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GACF,WAAW,CAab;AAED,wBAAgB,8BAA8B,CAC1C,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE;IACN,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GACF,UAAU,CAQZ"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Component, InputSignal } from '@angular/core';
|
2
|
-
import { AITableHoverCellConfig } from '../../types';
|
3
|
-
import { AITableFieldType } from '@ai-table/utils';
|
4
|
-
export declare abstract class HoverCellComponent extends Component {
|
5
|
-
static fieldType: AITableFieldType | string;
|
6
|
-
config: InputSignal<AITableHoverCellConfig | undefined>;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=hover-cell.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hover-cell.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/renderer/interfaces/hover-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,8BAAsB,kBAAmB,SAAQ,SAAS;IACtD,MAAM,CAAC,SAAS,EAAE,gBAAgB,GAAG,MAAM,CAAC;IAC5C,MAAM,EAAG,WAAW,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;CAC5D"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/renderer/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|