@progress/kendo-angular-toolbar 24.0.0-develop.3 → 24.0.0-develop.5

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.
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
6
6
  import { EventEmitter, Injectable, inject, ElementRef, Input, ViewChild, Directive, Output, forwardRef, HostBinding, Component, ViewContainerRef, HostListener, ContentChildren, isDevMode, ViewChildren, NgModule } from '@angular/core';
7
7
  import * as i2 from '@progress/kendo-angular-popup';
8
8
  import { PopupService } from '@progress/kendo-angular-popup';
9
- import { normalizeKeys, Keys, isPresent as isPresent$1, isDocumentAvailable, guid, parseCSSClassNames, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
9
+ import { normalizeKeys, Keys, isPresent as isPresent$1, isDocumentAvailable, getLicenseMessage, shouldShowValidationUI, guid, parseCSSClassNames, ResizeSensorComponent, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
10
10
  import * as i1 from '@progress/kendo-angular-l10n';
11
11
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
12
12
  import { validatePackage } from '@progress/kendo-licensing';
@@ -26,8 +26,8 @@ const packageMetadata = {
26
26
  productName: 'Kendo UI for Angular',
27
27
  productCode: 'KENDOUIANGULAR',
28
28
  productCodes: ['KENDOUIANGULAR'],
29
- publishDate: 1776940459,
30
- version: '24.0.0-develop.3',
29
+ publishDate: 1777039453,
30
+ version: '24.0.0-develop.5',
31
31
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
32
32
  };
33
33
 
@@ -1435,6 +1435,14 @@ class ToolBarComponent {
1435
1435
  get resizableClass() {
1436
1436
  return this.resizable;
1437
1437
  }
1438
+ /**
1439
+ * @hidden
1440
+ */
1441
+ showLicenseWatermark = false;
1442
+ /**
1443
+ * @hidden
1444
+ */
1445
+ licenseMessage;
1438
1446
  constructor(localization, popupService, refreshService, navigationService,
1439
1447
  // Needs to be public as it is being accessed in the Editor component
1440
1448
  element, zone, renderer, _cdr, toolsService, scrollService) {
@@ -1448,7 +1456,9 @@ class ToolBarComponent {
1448
1456
  this._cdr = _cdr;
1449
1457
  this.toolsService = toolsService;
1450
1458
  this.scrollService = scrollService;
1451
- validatePackage(packageMetadata);
1459
+ const isValid = validatePackage(packageMetadata);
1460
+ this.licenseMessage = getLicenseMessage(packageMetadata);
1461
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
1452
1462
  this.direction = localization.rtl ? 'rtl' : 'ltr';
1453
1463
  this.scrollService.owner = this;
1454
1464
  }
@@ -2335,7 +2345,10 @@ class ToolBarComponent {
2335
2345
  @if (overflowEnabled) {
2336
2346
  <kendo-resize-sensor #resizeSensor></kendo-resize-sensor>
2337
2347
  }
2338
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }, { kind: "directive", type: ToolBarRendererComponent, selector: "[kendoToolbarRenderer]", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ToolbarScrollableButtonComponent, selector: "[kendoToolbarScrollableButton]", inputs: ["prev", "overflow"], outputs: ["onClick"] }] });
2348
+ @if (showLicenseWatermark) {
2349
+ <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
2350
+ }
2351
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }, { kind: "directive", type: ToolBarRendererComponent, selector: "[kendoToolbarRenderer]", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ToolbarScrollableButtonComponent, selector: "[kendoToolbarScrollableButton]", inputs: ["prev", "overflow"], outputs: ["onClick"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: ["licenseMessage"] }] });
2339
2352
  }
2340
2353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarComponent, decorators: [{
2341
2354
  type: Component,
@@ -2572,9 +2585,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
2572
2585
  @if (overflowEnabled) {
2573
2586
  <kendo-resize-sensor #resizeSensor></kendo-resize-sensor>
2574
2587
  }
2588
+ @if (showLicenseWatermark) {
2589
+ <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
2590
+ }
2575
2591
  `,
2576
2592
  standalone: true,
2577
- imports: [NgTemplateOutlet, LocalizedToolbarMessagesDirective, ToolBarRendererComponent, ButtonComponent, NgClass, ResizeSensorComponent, ToolbarScrollableButtonComponent]
2593
+ imports: [NgTemplateOutlet, LocalizedToolbarMessagesDirective, ToolBarRendererComponent, ButtonComponent, NgClass, ResizeSensorComponent, ToolbarScrollableButtonComponent, WatermarkOverlayComponent]
2578
2594
  }]
2579
2595
  }], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: RefreshService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: ToolbarToolsService }, { type: ScrollService }], propDecorators: { overflow: [{
2580
2596
  type: Input
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1776940459,
11
- "version": "24.0.0-develop.3",
10
+ "publishDate": 1777039453,
11
+ "version": "24.0.0-develop.5",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-toolbar",
3
- "version": "24.0.0-develop.3",
3
+ "version": "24.0.0-develop.5",
4
4
  "description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -43,7 +43,7 @@
43
43
  "package": {
44
44
  "productName": "Kendo UI for Angular",
45
45
  "productCode": "KENDOUIANGULAR",
46
- "publishDate": 1776940459,
46
+ "publishDate": 1777039453,
47
47
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
48
48
  }
49
49
  },
@@ -53,17 +53,17 @@
53
53
  "@angular/core": "19 - 21",
54
54
  "@angular/platform-browser": "19 - 21",
55
55
  "@progress/kendo-licensing": "^1.11.0",
56
- "@progress/kendo-angular-buttons": "24.0.0-develop.3",
57
- "@progress/kendo-angular-common": "24.0.0-develop.3",
58
- "@progress/kendo-angular-l10n": "24.0.0-develop.3",
59
- "@progress/kendo-angular-icons": "24.0.0-develop.3",
60
- "@progress/kendo-angular-indicators": "24.0.0-develop.3",
61
- "@progress/kendo-angular-popup": "24.0.0-develop.3",
56
+ "@progress/kendo-angular-buttons": "24.0.0-develop.5",
57
+ "@progress/kendo-angular-common": "24.0.0-develop.5",
58
+ "@progress/kendo-angular-l10n": "24.0.0-develop.5",
59
+ "@progress/kendo-angular-icons": "24.0.0-develop.5",
60
+ "@progress/kendo-angular-indicators": "24.0.0-develop.5",
61
+ "@progress/kendo-angular-popup": "24.0.0-develop.5",
62
62
  "rxjs": "^6.5.3 || ^7.0.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "tslib": "^2.3.1",
66
- "@progress/kendo-angular-schematics": "24.0.0-develop.3"
66
+ "@progress/kendo-angular-schematics": "24.0.0-develop.5"
67
67
  },
68
68
  "schematics": "./schematics/collection.json",
69
69
  "module": "fesm2022/progress-kendo-angular-toolbar.mjs",
@@ -6,6 +6,7 @@ import { TemplateRef, ElementRef, QueryList, EventEmitter, ViewContainerRef, NgZ
6
6
  import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
7
7
  import { ResizeSensorComponent } from '@progress/kendo-angular-common';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { LicenseMessage } from '@progress/kendo-licensing';
9
10
  import { RefreshService } from './refresh.service';
10
11
  import { NavigationService } from './navigation.service';
11
12
  import { PopupSettings } from './popup-settings';
@@ -216,6 +217,14 @@ export declare class ToolBarComponent {
216
217
  role: string;
217
218
  get getDir(): string;
218
219
  get resizableClass(): boolean;
220
+ /**
221
+ * @hidden
222
+ */
223
+ showLicenseWatermark: boolean;
224
+ /**
225
+ * @hidden
226
+ */
227
+ licenseMessage?: LicenseMessage;
219
228
  constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2, _cdr: ChangeDetectorRef, toolsService: ToolbarToolsService, scrollService: ScrollService);
220
229
  ngAfterContentInit(): void;
221
230
  ngAfterViewInit(): void;