@ai-table/grid 0.0.36 → 0.0.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-table/grid",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.1.4",
6
6
  "@angular/core": "^18.1.4",
@@ -1,101 +1,11 @@
1
1
  import { KoEventObject } from '../../angular-konva';
2
+ import { TextConfig } from 'konva/lib/shapes/Text';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class AITableText {
4
5
  config: import("@angular/core").InputSignal<import("konva/lib/Shape").ShapeConfig>;
5
6
  koClick: import("@angular/core").OutputEmitterRef<KoEventObject<MouseEvent>>;
6
7
  koMouseMove: import("@angular/core").OutputEmitterRef<KoEventObject<MouseEvent>>;
7
- textConfig: import("@angular/core").Signal<{
8
- fillPatternImage?: HTMLImageElement | undefined;
9
- fillPatternX?: number | undefined;
10
- fillPatternY?: number | undefined;
11
- fillPatternOffset?: import("konva/lib/types").Vector2d | undefined;
12
- fillPatternOffsetX?: number | undefined;
13
- fillPatternOffsetY?: number | undefined;
14
- fillPatternScale?: import("konva/lib/types").Vector2d | undefined;
15
- fillPatternScaleX?: number | undefined;
16
- fillPatternScaleY?: number | undefined;
17
- fillPatternRotation?: number | undefined;
18
- fillPatternRepeat?: string | undefined;
19
- fillLinearGradientStartPoint?: import("konva/lib/types").Vector2d | undefined;
20
- fillLinearGradientStartPointX?: number | undefined;
21
- fillLinearGradientStartPointY?: number | undefined;
22
- fillLinearGradientEndPoint?: import("konva/lib/types").Vector2d | undefined;
23
- fillLinearGradientEndPointX?: number | undefined;
24
- fillLinearGradientEndPointY?: number | undefined;
25
- fillLinearGradientColorStops?: (string | number)[] | undefined;
26
- fillRadialGradientStartPoint?: import("konva/lib/types").Vector2d | undefined;
27
- fillRadialGradientStartPointX?: number | undefined;
28
- fillRadialGradientStartPointY?: number | undefined;
29
- fillRadialGradientEndPoint?: import("konva/lib/types").Vector2d | undefined;
30
- fillRadialGradientEndPointX?: number | undefined;
31
- fillRadialGradientEndPointY?: number | undefined;
32
- fillRadialGradientStartRadius?: number | undefined;
33
- fillRadialGradientEndRadius?: number | undefined;
34
- fillRadialGradientColorStops?: (string | number)[] | undefined;
35
- fillEnabled?: boolean | undefined;
36
- fillPriority?: string | undefined;
37
- fillRule?: CanvasFillRule | undefined;
38
- stroke?: string | CanvasGradient | undefined;
39
- strokeWidth?: number | undefined;
40
- fillAfterStrokeEnabled?: boolean | undefined;
41
- hitStrokeWidth?: string | number | undefined;
42
- strokeScaleEnabled?: boolean | undefined;
43
- strokeHitEnabled?: boolean | undefined;
44
- strokeEnabled?: boolean | undefined;
45
- lineJoin?: import("konva/lib/Shape").LineJoin | undefined;
46
- lineCap?: import("konva/lib/Shape").LineCap | undefined;
47
- sceneFunc?: ((con: import("konva/lib/Context").Context, shape: import("konva/lib/Shape").Shape<import("konva/lib/Shape").ShapeConfig>) => void) | undefined;
48
- hitFunc?: ((con: import("konva/lib/Context").Context, shape: import("konva/lib/Shape").Shape<import("konva/lib/Shape").ShapeConfig>) => void) | undefined;
49
- shadowColor?: string | undefined;
50
- shadowBlur?: number | undefined;
51
- shadowOffset?: import("konva/lib/types").Vector2d | undefined;
52
- shadowOffsetX?: number | undefined;
53
- shadowOffsetY?: number | undefined;
54
- shadowOpacity?: number | undefined;
55
- shadowEnabled?: boolean | undefined;
56
- shadowForStrokeEnabled?: boolean | undefined;
57
- dash?: number[] | undefined;
58
- dashOffset?: number | undefined;
59
- dashEnabled?: boolean | undefined;
60
- perfectDrawEnabled?: boolean | undefined;
61
- visible?: boolean | undefined;
62
- id?: string | undefined;
63
- name?: string | undefined;
64
- opacity?: number | undefined;
65
- scale?: import("konva/lib/types").Vector2d | undefined;
66
- scaleX?: number | undefined;
67
- skewX?: number | undefined;
68
- skewY?: number | undefined;
69
- scaleY?: number | undefined;
70
- rotation?: number | undefined;
71
- rotationDeg?: number | undefined;
72
- offset?: import("konva/lib/types").Vector2d | undefined;
73
- offsetX?: number | undefined;
74
- offsetY?: number | undefined;
75
- draggable?: boolean | undefined;
76
- dragDistance?: number | undefined;
77
- dragBoundFunc?: ((this: import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>, pos: import("konva/lib/types").Vector2d) => import("konva/lib/types").Vector2d) | undefined;
78
- preventDefault?: boolean | undefined;
79
- globalCompositeOperation?: ("" | "lighter" | "source-over" | "source-in" | "source-out" | "source-atop" | "destination-over" | "destination-in" | "destination-out" | "destination-atop" | "copy" | "xor" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "color" | "luminosity") | undefined;
80
- filters?: import("konva/lib/Node").Filter[] | undefined;
81
- x: number | undefined;
82
- y: number | undefined;
83
- width: number | undefined;
84
- height: number | undefined;
85
- text: any;
86
- padding: any;
87
- align: any;
88
- verticalAlign: any;
89
- fill: string | CanvasGradient;
90
- textDecoration: any;
91
- fontSize: any;
92
- fontStyle: any;
93
- ellipsis: any;
94
- wrap: any;
95
- transformsEnabled: any;
96
- listening: boolean;
97
- fontFamily: any;
98
- }>;
8
+ textConfig: import("@angular/core").Signal<TextConfig>;
99
9
  onClick(e: KoEventObject<MouseEvent>): void;
100
10
  onMousemove(e: KoEventObject<MouseEvent>): void;
101
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AITableText, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"text.component.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/renderer/components/text.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;;AAEpD,qBAOa,WAAW;IACpB,MAAM,6EAAuC;IAG7C,OAAO,sEAAuC;IAE9C,WAAW,sEAAuC;IAElD,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCP;IAEH,OAAO,CAAC,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;IAGpC,WAAW,CAAC,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;yCAtD/B,WAAW;2CAAX,WAAW;CAyDvB"}
1
+ {"version":3,"file":"text.component.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/renderer/components/text.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;;AAGnD,qBAOa,WAAW;IACpB,MAAM,6EAAuC;IAG7C,OAAO,sEAAuC;IAE9C,WAAW,sEAAuC;IAElD,UAAU,6CAqDP;IAEH,OAAO,CAAC,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;IAGpC,WAAW,CAAC,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;yCAlE/B,WAAW;2CAAX,WAAW;CAqEvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"hover-cell.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/utils/hover-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,SAAS,CAAC;AAKlD,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO;;;;;cA2B5C"}
1
+ {"version":3,"file":"hover-cell.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/utils/hover-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,SAAS,CAAC;AAKlD,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO;;;;;cA4B5C"}