@progress/kendo-angular-diagrams 19.3.0-develop.19 → 19.3.0-develop.20
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/diagram.component.d.ts
CHANGED
|
@@ -161,6 +161,10 @@ export declare class DiagramComponent implements AfterViewInit, OnChanges, OnDes
|
|
|
161
161
|
* @hidden
|
|
162
162
|
*/
|
|
163
163
|
showLicenseWatermark: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* @hidden
|
|
166
|
+
*/
|
|
167
|
+
licenseMessage?: string;
|
|
164
168
|
private options;
|
|
165
169
|
constructor(wrapperElement: ElementRef<HTMLElement>, renderer: Renderer2, zone: NgZone);
|
|
166
170
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -6,7 +6,7 @@ import { Component, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output
|
|
|
6
6
|
import { Diagram } from '@progress/kendo-diagram-common';
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
8
|
import { packageMetadata } from './package-metadata';
|
|
9
|
-
import { hasObservers, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
9
|
+
import { hasObservers, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
10
10
|
import { NgIf } from '@angular/common';
|
|
11
11
|
import { events, loadTheme } from '@progress/kendo-diagram-common';
|
|
12
12
|
import { CONNECTION_DEFAULTS, SHAPE_DEFAULTS } from './utils';
|
|
@@ -172,6 +172,10 @@ export class DiagramComponent {
|
|
|
172
172
|
* @hidden
|
|
173
173
|
*/
|
|
174
174
|
showLicenseWatermark = false;
|
|
175
|
+
/**
|
|
176
|
+
* @hidden
|
|
177
|
+
*/
|
|
178
|
+
licenseMessage;
|
|
175
179
|
options = {
|
|
176
180
|
shapes: this.shapes,
|
|
177
181
|
connections: this.connections,
|
|
@@ -189,6 +193,7 @@ export class DiagramComponent {
|
|
|
189
193
|
this.renderer = renderer;
|
|
190
194
|
this.zone = zone;
|
|
191
195
|
const isValid = validatePackage(packageMetadata);
|
|
196
|
+
this.licenseMessage = getLicenseMessage(packageMetadata);
|
|
192
197
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
193
198
|
}
|
|
194
199
|
ngOnChanges(changes) {
|
|
@@ -583,8 +588,8 @@ export class DiagramComponent {
|
|
|
583
588
|
}
|
|
584
589
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DiagramComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
585
590
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DiagramComponent, isStandalone: true, selector: "kendo-diagram", inputs: { connectionDefaults: "connectionDefaults", connections: "connections", editable: "editable", layout: "layout", pannable: "pannable", selectable: "selectable", shapeDefaults: "shapeDefaults", shapes: "shapes", zoom: "zoom", zoomMax: "zoomMax", zoomMin: "zoomMin", zoomRate: "zoomRate" }, outputs: { change: "change", diagramClick: "diagramClick", drag: "drag", dragEnd: "dragEnd", dragStart: "dragStart", shapeBoundsChange: "shapeBoundsChange", mouseEnter: "mouseEnter", mouseLeave: "mouseLeave", onPan: "pan", onSelect: "select", zoomEnd: "zoomEnd", zoomStart: "zoomStart" }, host: { properties: { "class.k-diagram": "this.diagramClass" } }, exportAs: ["kendoDiagram"], usesOnChanges: true, ngImport: i0, template: `
|
|
586
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
587
|
-
`, isInline: true, dependencies: [{ kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
591
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
|
592
|
+
`, isInline: true, dependencies: [{ kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
588
593
|
}
|
|
589
594
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DiagramComponent, decorators: [{
|
|
590
595
|
type: Component,
|
|
@@ -593,7 +598,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
593
598
|
exportAs: 'kendoDiagram',
|
|
594
599
|
selector: 'kendo-diagram',
|
|
595
600
|
template: `
|
|
596
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
601
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
|
597
602
|
`,
|
|
598
603
|
imports: [WatermarkOverlayComponent, NgIf]
|
|
599
604
|
}]
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-diagrams',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '19.3.0-develop.
|
|
12
|
+
publishDate: 1754294003,
|
|
13
|
+
version: '19.3.0-develop.20',
|
|
14
14
|
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',
|
|
15
15
|
};
|
|
@@ -7,7 +7,7 @@ export { Circle, Connection, Connector, Diagram, FlowchartShapeType, Group, Poin
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { EventEmitter, Component, HostBinding, Input, Output, NgModule } from '@angular/core';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
|
-
import { shouldShowValidationUI, hasObservers, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
10
|
+
import { getLicenseMessage, shouldShowValidationUI, hasObservers, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
11
11
|
import { NgIf } from '@angular/common';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -17,8 +17,8 @@ const packageMetadata = {
|
|
|
17
17
|
name: '@progress/kendo-angular-diagrams',
|
|
18
18
|
productName: 'Kendo UI for Angular',
|
|
19
19
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
20
|
-
publishDate:
|
|
21
|
-
version: '19.3.0-develop.
|
|
20
|
+
publishDate: 1754294003,
|
|
21
|
+
version: '19.3.0-develop.20',
|
|
22
22
|
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',
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -209,6 +209,10 @@ class DiagramComponent {
|
|
|
209
209
|
* @hidden
|
|
210
210
|
*/
|
|
211
211
|
showLicenseWatermark = false;
|
|
212
|
+
/**
|
|
213
|
+
* @hidden
|
|
214
|
+
*/
|
|
215
|
+
licenseMessage;
|
|
212
216
|
options = {
|
|
213
217
|
shapes: this.shapes,
|
|
214
218
|
connections: this.connections,
|
|
@@ -226,6 +230,7 @@ class DiagramComponent {
|
|
|
226
230
|
this.renderer = renderer;
|
|
227
231
|
this.zone = zone;
|
|
228
232
|
const isValid = validatePackage(packageMetadata);
|
|
233
|
+
this.licenseMessage = getLicenseMessage(packageMetadata);
|
|
229
234
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
230
235
|
}
|
|
231
236
|
ngOnChanges(changes) {
|
|
@@ -620,8 +625,8 @@ class DiagramComponent {
|
|
|
620
625
|
}
|
|
621
626
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DiagramComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
622
627
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DiagramComponent, isStandalone: true, selector: "kendo-diagram", inputs: { connectionDefaults: "connectionDefaults", connections: "connections", editable: "editable", layout: "layout", pannable: "pannable", selectable: "selectable", shapeDefaults: "shapeDefaults", shapes: "shapes", zoom: "zoom", zoomMax: "zoomMax", zoomMin: "zoomMin", zoomRate: "zoomRate" }, outputs: { change: "change", diagramClick: "diagramClick", drag: "drag", dragEnd: "dragEnd", dragStart: "dragStart", shapeBoundsChange: "shapeBoundsChange", mouseEnter: "mouseEnter", mouseLeave: "mouseLeave", onPan: "pan", onSelect: "select", zoomEnd: "zoomEnd", zoomStart: "zoomStart" }, host: { properties: { "class.k-diagram": "this.diagramClass" } }, exportAs: ["kendoDiagram"], usesOnChanges: true, ngImport: i0, template: `
|
|
623
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
624
|
-
`, isInline: true, dependencies: [{ kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
628
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
|
629
|
+
`, isInline: true, dependencies: [{ kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
625
630
|
}
|
|
626
631
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DiagramComponent, decorators: [{
|
|
627
632
|
type: Component,
|
|
@@ -630,7 +635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
630
635
|
exportAs: 'kendoDiagram',
|
|
631
636
|
selector: 'kendo-diagram',
|
|
632
637
|
template: `
|
|
633
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
638
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
|
634
639
|
`,
|
|
635
640
|
imports: [WatermarkOverlayComponent, NgIf]
|
|
636
641
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-diagrams",
|
|
3
|
-
"version": "19.3.0-develop.
|
|
3
|
+
"version": "19.3.0-develop.20",
|
|
4
4
|
"description": "Kendo UI Angular diagrams component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"friendlyName": "Diagrams",
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
|
-
"publishDate":
|
|
21
|
+
"publishDate": 1754294003,
|
|
22
22
|
"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"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"@angular/common": "16 - 20",
|
|
28
28
|
"@angular/core": "16 - 20",
|
|
29
29
|
"@angular/platform-browser": "16 - 20",
|
|
30
|
-
"@progress/kendo-licensing": "^1.
|
|
31
|
-
"@progress/kendo-angular-common": "19.3.0-develop.
|
|
32
|
-
"@progress/kendo-angular-buttons": "19.3.0-develop.
|
|
33
|
-
"@progress/kendo-angular-dialog": "19.3.0-develop.
|
|
34
|
-
"@progress/kendo-angular-dropdowns": "19.3.0-develop.
|
|
35
|
-
"@progress/kendo-angular-icons": "19.3.0-develop.
|
|
36
|
-
"@progress/kendo-angular-inputs": "19.3.0-develop.
|
|
37
|
-
"@progress/kendo-angular-popup": "19.3.0-develop.
|
|
30
|
+
"@progress/kendo-licensing": "^1.7.0",
|
|
31
|
+
"@progress/kendo-angular-common": "19.3.0-develop.20",
|
|
32
|
+
"@progress/kendo-angular-buttons": "19.3.0-develop.20",
|
|
33
|
+
"@progress/kendo-angular-dialog": "19.3.0-develop.20",
|
|
34
|
+
"@progress/kendo-angular-dropdowns": "19.3.0-develop.20",
|
|
35
|
+
"@progress/kendo-angular-icons": "19.3.0-develop.20",
|
|
36
|
+
"@progress/kendo-angular-inputs": "19.3.0-develop.20",
|
|
37
|
+
"@progress/kendo-angular-popup": "19.3.0-develop.20",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "19.3.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "19.3.0-develop.20",
|
|
43
43
|
"@progress/kendo-diagram-common": "1.2.0-develop.9"
|
|
44
44
|
},
|
|
45
45
|
"schematics": "./schematics/collection.json",
|