@progress/kendo-angular-diagrams 24.2.2 → 25.0.0-develop.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.
package/models.d.ts DELETED
@@ -1,208 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ShapeDefaultsBase, ConnectionDefaultsBase, ConnectionOptionsBase, ShapeOptionsBase, NavigationOptions } from '@progress/kendo-diagram-common';
6
- /**
7
- * Defines the navigation configuration options for the `Diagram`.
8
- */
9
- export interface DiagramNavigationOptions extends Pick<NavigationOptions, 'smallStep' | 'largeStep'> {
10
- /**
11
- * Controls whether navigation is enabled.
12
- */
13
- enabled?: boolean;
14
- }
15
- /**
16
- * Defines the tooltip configuration for shapes and connections.
17
- * Controls the visibility, content, and styling of tooltips.
18
- */
19
- export interface TooltipOptions {
20
- /**
21
- * Controls whether the tooltip displays when you hover over the item.
22
- */
23
- visible?: boolean;
24
- /**
25
- * Sets custom CSS classes for the Tooltip wrapper element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
26
- */
27
- cssClass?: any;
28
- }
29
- /**
30
- * Defines the configuration options for diagram shapes.
31
- * Extends the base shape options and adds tooltip support.
32
- */
33
- export interface ShapeOptions extends Omit<ShapeOptionsBase, ''> {
34
- /**
35
- * Configures the tooltip that displays when you hover over the shape.
36
- */
37
- tooltip?: TooltipOptions;
38
- /**
39
- * Sets the text content displayed in the tooltip.
40
- */
41
- tooltipText?: string;
42
- }
43
- /**
44
- * Defines the configuration options for diagram connections.
45
- * Extends the base connection options and adds tooltip support.
46
- */
47
- export interface ConnectionOptions extends Omit<ConnectionOptionsBase, ''> {
48
- /**
49
- * Configures the tooltip that displays when you hover over the connection.
50
- */
51
- tooltip?: TooltipOptions;
52
- /**
53
- * Sets the text content displayed in the tooltip.
54
- */
55
- tooltipText?: string;
56
- }
57
- /**
58
- * Defines the default configuration options for all connections in the `Diagram`.
59
- * These settings apply to connections unless overridden by individual connection options.
60
- */
61
- export interface ConnectionDefaults extends Omit<ConnectionDefaultsBase, ''> {
62
- /**
63
- * Configures the default tooltip settings for all connections.
64
- */
65
- tooltip?: TooltipOptions;
66
- }
67
- /**
68
- * Defines the default configuration options for all shapes in the `Diagram`.
69
- * These settings apply to shapes unless overridden by individual shape options.
70
- */
71
- export interface ShapeDefaults extends Omit<ShapeDefaultsBase, ''> {
72
- /**
73
- * Configures the default tooltip settings for all shapes.
74
- */
75
- tooltip?: TooltipOptions;
76
- }
77
- /**
78
- * Defines the field mapping configuration for shapes data binding.
79
- * Maps source object properties to `Diagram` shape properties.
80
- */
81
- export interface ShapeModelFields {
82
- /**
83
- * The field that contains the unique identifier of the shape.
84
- */
85
- id?: string;
86
- /**
87
- * The field that contains the connectors configuration.
88
- */
89
- connectors?: string;
90
- /**
91
- * The field that contains the connector defaults configuration.
92
- */
93
- connectorDefaults?: string;
94
- /**
95
- * The field that contains the content configuration.
96
- */
97
- content?: string;
98
- /**
99
- * The field that contains the editable configuration.
100
- */
101
- editable?: string;
102
- /**
103
- * The field that contains the fill configuration.
104
- */
105
- fill?: string;
106
- /**
107
- * The field that contains the height value.
108
- */
109
- height?: string;
110
- /**
111
- * The field that contains the hover configuration.
112
- */
113
- hover?: string;
114
- /**
115
- * The field that contains the minimum height value.
116
- */
117
- minHeight?: string;
118
- /**
119
- * The field that contains the minimum width value.
120
- */
121
- minWidth?: string;
122
- /**
123
- * The field that contains the path configuration.
124
- */
125
- path?: string;
126
- /**
127
- * The field that contains the rotation configuration.
128
- */
129
- rotation?: string;
130
- /**
131
- * The field that contains the selectable configuration.
132
- */
133
- selectable?: string;
134
- /**
135
- * The field that contains the source configuration.
136
- */
137
- source?: string;
138
- /**
139
- * The field that contains the stroke configuration.
140
- */
141
- stroke?: string;
142
- /**
143
- * The field that contains the type configuration.
144
- */
145
- type?: string;
146
- /**
147
- * The field that contains the visual configuration.
148
- */
149
- visual?: string;
150
- /**
151
- * The field that contains the width value.
152
- */
153
- width?: string;
154
- /**
155
- * The field that contains the x coordinate.
156
- */
157
- x?: string;
158
- /**
159
- * The field that contains the y coordinate.
160
- */
161
- y?: string;
162
- /**
163
- * The field that contains the corner radius value.
164
- */
165
- cornerRadius?: string;
166
- /**
167
- * The field that contains the center configuration.
168
- */
169
- center?: string;
170
- /**
171
- * The field that contains the radius value.
172
- */
173
- radius?: string;
174
- /**
175
- * The field that contains the data item reference.
176
- */
177
- dataItem?: string;
178
- /**
179
- * The field that contains the tooltip text.
180
- */
181
- tooltipText?: string;
182
- }
183
- /**
184
- * Defines the field mapping configuration for connections data binding.
185
- * Maps source object properties to `Diagram` connection properties.
186
- */
187
- export interface ConnectionModelFields {
188
- /**
189
- * The field that contains the source shape identifier.
190
- */
191
- from?: string;
192
- /**
193
- * The field that contains the target shape identifier.
194
- */
195
- to?: string;
196
- /**
197
- * The field that contains the connection points.
198
- */
199
- points?: string;
200
- /**
201
- * The field that contains the data item reference.
202
- */
203
- dataItem?: string;
204
- /**
205
- * The field that contains the tooltip text.
206
- */
207
- tooltipText?: string;
208
- }
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { type PackageMetadata } from '@progress/kendo-licensing';
6
- /**
7
- * @hidden
8
- */
9
- export declare const packageMetadata: PackageMetadata;
@@ -1,38 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Defines a custom template for shape tooltips within the `kendo-diagram` component.
9
- * Use this directive to customize how tooltips appear when hovering over shapes.
10
- *
11
- * @example
12
- * ```ts
13
- * import { Component } from '@angular/core';
14
- *
15
- * _@Component({
16
- * selector: 'my-app',
17
- * template: `
18
- * <kendo-diagram>
19
- * <ng-template kendoDiagramShapeTooltipTemplate let-dataItem>
20
- * {{dataItem.tooltipContent}}
21
- * </ng-template>
22
- * </kendo-diagram>
23
- * `
24
- * })
25
- * class AppComponent {
26
- * }
27
- *
28
- * ```
29
- */
30
- export declare class ShapeTooltipTemplateDirective {
31
- /**
32
- * @hidden
33
- */
34
- templateRef: TemplateRef<any>;
35
- constructor(templateRef: TemplateRef<any>);
36
- static ɵfac: i0.ɵɵFactoryDeclaration<ShapeTooltipTemplateDirective, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<ShapeTooltipTemplateDirective, "[kendoDiagramShapeTooltipTemplate]", never, {}, {}, never, never, true, never>;
38
- }
package/utils.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { DiagramNavigationOptions } from "./models";
6
- /** @hidden */
7
- export declare const DEFAULT_NAVIGABLE_OPTIONS: DiagramNavigationOptions;