@progress/kendo-angular-diagrams 21.0.0-develop.9 → 21.0.1-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/index.d.ts CHANGED
@@ -2,7 +2,10 @@
2
2
  * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- export { DiagramOptions, ShapeConnector, ShapeContent, EditableDefaults, ShapeDefaultsEditable, ShapeEditable, ShapeFillGradientStop, ShapeFillGradient, ShapeFill, ShapeHover, ShapeRotation, Fill, Stroke, DashType, ShapeType, ShapeConnectorHover, ShapeConnectorDefaults, ShapeDefaults, ShapeOptions, Selectable, Pannable, LayoutGrid, DiagramLayout, DiagramEditable, Coordinate, ConnectionOptions, ConnectionDefaults, DiagramDragEvent, DiagramDomEvent, DiagramZoomStartEvent, DiagramZoomEndEvent, DiagramPanEvent, DiagramSelectEvent, DiagramChangeEvent, DiagramItemBoundsChangeEvent, Shape, Connection, Connector, Diagram, Point, Rect, DiagramState, BringIntoViewOptions, SelectionOptions, Direction, Circle, Group, FlowchartShapeType, ArrowMarker, CircleMarker, Collate, DataInputOutput, DataStorage, Database, Decision, Delay, DirectAccessStorage, Display, Document, MultipleDocuments, Extract, Image, InternalStorage, Layout, Line, LogicalOr, ManualInputOutput, ManualOperation, Merge, MultiLineTextBlock, OffPageConnector, OnPageConnector, Path, Polyline, PredefinedProcess, Preparation, Process, Rectangle, Sort, SummingJunction, Terminator, TextBlock, MarkerType, ConnectionCap, ConnectionContent, } from '@progress/kendo-diagram-common';
5
+ export { ShapeConnector, ShapeContent, EditableDefaults, ShapeDefaultsEditable, ShapeEditable, ShapeFillGradientStop, ShapeFillGradient, ShapeFill, ShapeHover, ShapeRotation, Fill, Stroke, DashType, ShapeType, ShapeConnectorHover, ShapeConnectorDefaults, Selectable, Pannable, LayoutGrid, DiagramLayout, DiagramEditable, Coordinate, DiagramDragEvent, DiagramDomEvent, DiagramZoomStartEvent, DiagramZoomEndEvent, DiagramPanEvent, DiagramSelectEvent, DiagramChangeEvent, DiagramItemBoundsChangeEvent, Shape, Connection, Connector, Point, Rect, DiagramState, BringIntoViewOptions, SelectionOptions, Direction, Circle, Group, FlowchartShapeType, ArrowMarker, CircleMarker, Collate, DataInputOutput, DataStorage, Database, Decision, Delay, DirectAccessStorage, Display, Document, MultipleDocuments, Extract, Image, InternalStorage, Layout, Line, LogicalOr, ManualInputOutput, ManualOperation, Merge, MultiLineTextBlock, OffPageConnector, OnPageConnector, Path, Polyline, PredefinedProcess, Preparation, Process, Rectangle, Sort, SummingJunction, Terminator, TextBlock, MarkerType, ConnectionCap, ConnectionContent, convertToDiagramModel, DiagramMapping, ConvertResult, ConnectionMapping, ShapeMapping, MapSpec, FromPathOrFn } from '@progress/kendo-diagram-common';
6
6
  export { DiagramModule } from './diagram.module';
7
7
  export { DiagramComponent } from './diagram.component';
8
+ export { ShapeTooltipTemplateDirective } from './shape-tooltip-template.directive';
9
+ export { ConnectionTooltipTemplateDirective } from './connection-tooltip-template.directive';
8
10
  export * from './directives';
11
+ export * from './models';
package/models.d.ts ADDED
@@ -0,0 +1,211 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ShapeDefaults as ShapeDefaultsCommon } from '@progress/kendo-diagram-common';
6
+ import { ConnectionDefaults as ConnectionDefaultsCommon } from '@progress/kendo-diagram-common';
7
+ import { ConnectionOptions as ConnectionOptionsCommon } from '@progress/kendo-diagram-common';
8
+ import { ShapeOptions as ShapeOptionsCommon } from '@progress/kendo-diagram-common';
9
+ import { DiagramOptions as DiagramOptionsCommon } from '@progress/kendo-diagram-common';
10
+ /**
11
+ * Defines the tooltip configuration for shapes and connections.
12
+ * Controls the visibility, content, and styling of tooltips.
13
+ */
14
+ export interface TooltipOptions {
15
+ /**
16
+ * Controls whether the tooltip displays when you hover over the item.
17
+ */
18
+ visible?: boolean;
19
+ /**
20
+ * Sets custom CSS classes for the Tooltip wrapper element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
21
+ */
22
+ cssClass?: any;
23
+ }
24
+ /**
25
+ * Defines the configuration options for diagram shapes.
26
+ * Extends the base shape options and adds tooltip support.
27
+ */
28
+ export interface ShapeOptions extends ShapeOptionsCommon {
29
+ /**
30
+ * Configures the tooltip that displays when you hover over the shape.
31
+ */
32
+ tooltip?: TooltipOptions;
33
+ /**
34
+ * Sets the text content displayed in the tooltip.
35
+ */
36
+ tooltipText?: string;
37
+ }
38
+ /**
39
+ * Defines the configuration options for diagram connections.
40
+ * Extends the base connection options and adds tooltip support.
41
+ */
42
+ export interface ConnectionOptions extends ConnectionOptionsCommon {
43
+ /**
44
+ * Configures the tooltip that displays when you hover over the connection.
45
+ */
46
+ tooltip?: TooltipOptions;
47
+ /**
48
+ * Sets the text content displayed in the tooltip.
49
+ */
50
+ tooltipText?: string;
51
+ }
52
+ /**
53
+ * Defines the default configuration options for all connections in the `Diagram`.
54
+ * These settings apply to connections unless overridden by individual connection options.
55
+ */
56
+ export interface ConnectionDefaults extends ConnectionDefaultsCommon {
57
+ /**
58
+ * Configures the default tooltip settings for all connections.
59
+ */
60
+ tooltip?: TooltipOptions;
61
+ }
62
+ /**
63
+ * Defines the default configuration options for all shapes in the `Diagram`.
64
+ * These settings apply to shapes unless overridden by individual shape options.
65
+ */
66
+ export interface ShapeDefaults extends ShapeDefaultsCommon {
67
+ /**
68
+ * Configures the default tooltip settings for all shapes.
69
+ */
70
+ tooltip?: TooltipOptions;
71
+ }
72
+ /**
73
+ * @hidden
74
+ *
75
+ */
76
+ export interface DiagramOptions extends DiagramOptionsCommon {
77
+ shapeDefaults?: ShapeDefaults;
78
+ connectionDefaults?: ConnectionDefaults;
79
+ }
80
+ /**
81
+ * Defines the field mapping configuration for shapes data binding.
82
+ * Maps source object properties to `Diagram` shape properties.
83
+ */
84
+ export interface ShapeModelFields {
85
+ /**
86
+ * The field that contains the unique identifier of the shape.
87
+ */
88
+ id?: string;
89
+ /**
90
+ * The field that contains the connectors configuration.
91
+ */
92
+ connectors?: string;
93
+ /**
94
+ * The field that contains the connector defaults configuration.
95
+ */
96
+ connectorDefaults?: string;
97
+ /**
98
+ * The field that contains the content configuration.
99
+ */
100
+ content?: string;
101
+ /**
102
+ * The field that contains the editable configuration.
103
+ */
104
+ editable?: string;
105
+ /**
106
+ * The field that contains the fill configuration.
107
+ */
108
+ fill?: string;
109
+ /**
110
+ * The field that contains the height value.
111
+ */
112
+ height?: string;
113
+ /**
114
+ * The field that contains the hover configuration.
115
+ */
116
+ hover?: string;
117
+ /**
118
+ * The field that contains the minimum height value.
119
+ */
120
+ minHeight?: string;
121
+ /**
122
+ * The field that contains the minimum width value.
123
+ */
124
+ minWidth?: string;
125
+ /**
126
+ * The field that contains the path configuration.
127
+ */
128
+ path?: string;
129
+ /**
130
+ * The field that contains the rotation configuration.
131
+ */
132
+ rotation?: string;
133
+ /**
134
+ * The field that contains the selectable configuration.
135
+ */
136
+ selectable?: string;
137
+ /**
138
+ * The field that contains the source configuration.
139
+ */
140
+ source?: string;
141
+ /**
142
+ * The field that contains the stroke configuration.
143
+ */
144
+ stroke?: string;
145
+ /**
146
+ * The field that contains the type configuration.
147
+ */
148
+ type?: string;
149
+ /**
150
+ * The field that contains the visual configuration.
151
+ */
152
+ visual?: string;
153
+ /**
154
+ * The field that contains the width value.
155
+ */
156
+ width?: string;
157
+ /**
158
+ * The field that contains the x coordinate.
159
+ */
160
+ x?: string;
161
+ /**
162
+ * The field that contains the y coordinate.
163
+ */
164
+ y?: string;
165
+ /**
166
+ * The field that contains the corner radius value.
167
+ */
168
+ cornerRadius?: string;
169
+ /**
170
+ * The field that contains the center configuration.
171
+ */
172
+ center?: string;
173
+ /**
174
+ * The field that contains the radius value.
175
+ */
176
+ radius?: string;
177
+ /**
178
+ * The field that contains the data item reference.
179
+ */
180
+ dataItem?: string;
181
+ /**
182
+ * The field that contains the tooltip text.
183
+ */
184
+ tooltipText?: string;
185
+ }
186
+ /**
187
+ * Defines the field mapping configuration for connections data binding.
188
+ * Maps source object properties to `Diagram` connection properties.
189
+ */
190
+ export interface ConnectionModelFields {
191
+ /**
192
+ * The field that contains the source shape identifier.
193
+ */
194
+ from?: string;
195
+ /**
196
+ * The field that contains the target shape identifier.
197
+ */
198
+ to?: string;
199
+ /**
200
+ * The field that contains the connection points.
201
+ */
202
+ points?: string;
203
+ /**
204
+ * The field that contains the data item reference.
205
+ */
206
+ dataItem?: string;
207
+ /**
208
+ * The field that contains the tooltip text.
209
+ */
210
+ tooltipText?: string;
211
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-diagrams",
3
- "version": "21.0.0-develop.9",
3
+ "version": "21.0.1-develop.1",
4
4
  "description": "Kendo UI Angular diagrams component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1761910591,
22
+ "publishDate": 1762953642,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
24
24
  }
25
25
  },
@@ -29,19 +29,19 @@
29
29
  "@angular/core": "18 - 20",
30
30
  "@angular/platform-browser": "18 - 20",
31
31
  "@progress/kendo-licensing": "^1.7.0",
32
- "@progress/kendo-angular-common": "21.0.0-develop.9",
33
- "@progress/kendo-angular-buttons": "21.0.0-develop.9",
34
- "@progress/kendo-angular-dialog": "21.0.0-develop.9",
35
- "@progress/kendo-angular-dropdowns": "21.0.0-develop.9",
36
- "@progress/kendo-angular-icons": "21.0.0-develop.9",
37
- "@progress/kendo-angular-inputs": "21.0.0-develop.9",
38
- "@progress/kendo-angular-popup": "21.0.0-develop.9",
32
+ "@progress/kendo-angular-common": "21.0.1-develop.1",
33
+ "@progress/kendo-angular-buttons": "21.0.1-develop.1",
34
+ "@progress/kendo-angular-dialog": "21.0.1-develop.1",
35
+ "@progress/kendo-angular-dropdowns": "21.0.1-develop.1",
36
+ "@progress/kendo-angular-icons": "21.0.1-develop.1",
37
+ "@progress/kendo-angular-inputs": "21.0.1-develop.1",
38
+ "@progress/kendo-angular-popup": "21.0.1-develop.1",
39
39
  "rxjs": "^6.5.3 || ^7.0.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "tslib": "^2.3.1",
43
- "@progress/kendo-angular-schematics": "21.0.0-develop.9",
44
- "@progress/kendo-diagram-common": "1.3.0"
43
+ "@progress/kendo-angular-schematics": "21.0.1-develop.1",
44
+ "@progress/kendo-diagram-common": "1.5.1"
45
45
  },
46
46
  "schematics": "./schematics/collection.json",
47
47
  "module": "fesm2022/progress-kendo-angular-diagrams.mjs",
@@ -0,0 +1,38 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 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
+ }