@progress/kendo-angular-diagrams 21.0.1-develop.3 → 21.0.1-develop.4

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.
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
6
- import { DiagramEditable, DiagramLayout, Pannable, Selectable, Shape, DiagramDragEvent, DiagramDomEvent, DiagramZoomStartEvent, DiagramZoomEndEvent, DiagramSelectEvent, DiagramPanEvent, DiagramItemBoundsChangeEvent, DiagramChangeEvent, Connection, Connector, Diagram, Point, Rect, DiagramState, BringIntoViewOptions, SelectionOptions, Direction } from '@progress/kendo-diagram-common';
6
+ import { type DiagramEditable, type DiagramLayout, type Pannable, type Selectable, type Shape, type DiagramDragEvent, type DiagramDomEvent, type DiagramZoomStartEvent, type DiagramZoomEndEvent, type DiagramSelectEvent, type DiagramPanEvent, type DiagramItemBoundsChangeEvent, type DiagramChangeEvent, type Connection, type Connector, Diagram, type Point, type Rect, type DiagramState, type BringIntoViewOptions, type SelectionOptions, type Direction } from '@progress/kendo-diagram-common';
7
7
  import { PopupService } from '@progress/kendo-angular-popup';
8
8
  import { Group } from '@progress/kendo-drawing';
9
9
  import { ShapeModelFields, ConnectionModelFields, ShapeDefaults, ConnectionDefaults, ShapeOptions, ConnectionOptions } from './models';
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ContentChild, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output, Renderer2, TemplateRef, ViewChild, ViewContainerRef, } from '@angular/core';
6
- import { Shape, Connection, Diagram, convertToDiagramModel, placeTooltip } from '@progress/kendo-diagram-common';
6
+ import { Diagram, convertToDiagramModel, placeTooltip } from '@progress/kendo-diagram-common';
7
7
  import { validatePackage } from '@progress/kendo-licensing';
8
8
  import { packageMetadata } from './package-metadata';
9
9
  import { hasObservers, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent, isDocumentAvailable } from '@progress/kendo-angular-common';
@@ -628,8 +628,8 @@ export class DiagramComponent {
628
628
  handleTooltipShow(event) {
629
629
  this.hideTooltip();
630
630
  const dataItem = event.item.dataItem;
631
- const isShape = event.item instanceof Shape;
632
- const isConnection = event.item instanceof Connection;
631
+ const isShape = event.item.name === "Shape";
632
+ const isConnection = event.item.name === "Connection";
633
633
  this.setCustomTemplate(isShape, isConnection);
634
634
  const defaultsEnabled = isShape
635
635
  ? this.options.shapeDefaults.tooltip?.visible
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1762962828,
14
- version: '21.0.1-develop.3',
13
+ publishDate: 1762967502,
14
+ version: '21.0.1-develop.4',
15
15
  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',
16
16
  };
@@ -2,7 +2,7 @@
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
- import { Shape, Connection, placeTooltip, events, convertToDiagramModel, loadTheme, Diagram } from '@progress/kendo-diagram-common';
5
+ import { placeTooltip, events, convertToDiagramModel, loadTheme, Diagram } from '@progress/kendo-diagram-common';
6
6
  export { ArrowMarker, Circle, CircleMarker, Collate, Connection, Connector, DataInputOutput, DataStorage, Database, Decision, Delay, DirectAccessStorage, Display, Document, Extract, FlowchartShapeType, Group, Image, InternalStorage, Layout, Line, LogicalOr, ManualInputOutput, ManualOperation, MarkerType, Merge, MultiLineTextBlock, MultipleDocuments, OffPageConnector, OnPageConnector, Path, Point, Polyline, PredefinedProcess, Preparation, Process, Rect, Rectangle, Shape, Sort, SummingJunction, Terminator, TextBlock, convertToDiagramModel } from '@progress/kendo-diagram-common';
7
7
  import * as i0 from '@angular/core';
8
8
  import { Directive, EventEmitter, Component, HostBinding, Input, Output, ViewChild, ContentChild, NgModule } from '@angular/core';
@@ -20,8 +20,8 @@ const packageMetadata = {
20
20
  productName: 'Kendo UI for Angular',
21
21
  productCode: 'KENDOUIANGULAR',
22
22
  productCodes: ['KENDOUIANGULAR'],
23
- publishDate: 1762962828,
24
- version: '21.0.1-develop.3',
23
+ publishDate: 1762967502,
24
+ version: '21.0.1-develop.4',
25
25
  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',
26
26
  };
27
27
 
@@ -748,8 +748,8 @@ class DiagramComponent {
748
748
  handleTooltipShow(event) {
749
749
  this.hideTooltip();
750
750
  const dataItem = event.item.dataItem;
751
- const isShape = event.item instanceof Shape;
752
- const isConnection = event.item instanceof Connection;
751
+ const isShape = event.item.name === "Shape";
752
+ const isConnection = event.item.name === "Connection";
753
753
  this.setCustomTemplate(isShape, isConnection);
754
754
  const defaultsEnabled = isShape
755
755
  ? this.options.shapeDefaults.tooltip?.visible
package/models.d.ts CHANGED
@@ -2,11 +2,7 @@
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
- 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';
5
+ import { type ShapeDefaults as ShapeDefaultsCommon, type ConnectionDefaults as ConnectionDefaultsCommon, type ConnectionOptions as ConnectionOptionsCommon, type ShapeOptions as ShapeOptionsCommon, type DiagramOptions as DiagramOptionsCommon } from '@progress/kendo-diagram-common';
10
6
  /**
11
7
  * Defines the tooltip configuration for shapes and connections.
12
8
  * Controls the visibility, content, and styling of tooltips.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-diagrams",
3
- "version": "21.0.1-develop.3",
3
+ "version": "21.0.1-develop.4",
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": 1762962828,
22
+ "publishDate": 1762967502,
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,18 +29,18 @@
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.1-develop.3",
33
- "@progress/kendo-angular-buttons": "21.0.1-develop.3",
34
- "@progress/kendo-angular-dialog": "21.0.1-develop.3",
35
- "@progress/kendo-angular-dropdowns": "21.0.1-develop.3",
36
- "@progress/kendo-angular-icons": "21.0.1-develop.3",
37
- "@progress/kendo-angular-inputs": "21.0.1-develop.3",
38
- "@progress/kendo-angular-popup": "21.0.1-develop.3",
32
+ "@progress/kendo-angular-common": "21.0.1-develop.4",
33
+ "@progress/kendo-angular-buttons": "21.0.1-develop.4",
34
+ "@progress/kendo-angular-dialog": "21.0.1-develop.4",
35
+ "@progress/kendo-angular-dropdowns": "21.0.1-develop.4",
36
+ "@progress/kendo-angular-icons": "21.0.1-develop.4",
37
+ "@progress/kendo-angular-inputs": "21.0.1-develop.4",
38
+ "@progress/kendo-angular-popup": "21.0.1-develop.4",
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.1-develop.3",
43
+ "@progress/kendo-angular-schematics": "21.0.1-develop.4",
44
44
  "@progress/kendo-diagram-common": "1.5.1"
45
45
  },
46
46
  "schematics": "./schematics/collection.json",
package/utils.d.ts CHANGED
@@ -2,7 +2,7 @@
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
- import { EditableDefaults, ShapeDefaultsEditable } from "@progress/kendo-diagram-common";
5
+ import { type EditableDefaults, type ShapeDefaultsEditable } from "@progress/kendo-diagram-common";
6
6
  import { ConnectionDefaults, ShapeDefaults } from "./models";
7
7
  /** @hidden */
8
8
  export declare const DEFAULT_EDITABLE_SHAPE: ShapeDefaultsEditable;