@progress/kendo-angular-common 3.0.0-next.202204010854 → 3.0.0-next.202204011251

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,4 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { isChanged } from './is-changed';
6
+ /**
7
+ * @hidden
8
+ */
6
9
  export const anyChanged = (propertyNames, changes, skipFirstChange = true) => propertyNames.some(name => isChanged(name, changes, skipFirstChange));
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2021 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
+ /**
6
+ * @hidden
7
+ */
5
8
  export const guid = () => {
6
9
  let id = "";
7
10
  for (let i = 0; i < 32; i++) {
@@ -2,4 +2,7 @@
2
2
  * Copyright © 2021 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
+ /**
6
+ * @hidden
7
+ */
5
8
  export const hasObservers = (emitter) => emitter && emitter.observers.length > 0;
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2021 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
+ /**
6
+ * @hidden
7
+ */
5
8
  export const isChanged = (propertyName, changes, skipFirstChange = true) => (typeof changes[propertyName] !== 'undefined' &&
6
9
  (!changes[propertyName].isFirstChange() || !skipFirstChange) &&
7
10
  changes[propertyName].previousValue !== changes[propertyName].currentValue);
@@ -2,4 +2,7 @@
2
2
  * Copyright © 2021 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
+ /**
6
+ * @hidden
7
+ */
5
8
  export const isDocumentAvailable = () => typeof document !== 'undefined';
@@ -9,16 +9,31 @@ import { CommonModule } from '@angular/common';
9
9
  import { auditTime } from 'rxjs/operators';
10
10
  import { merge, fromEvent, from } from 'rxjs';
11
11
 
12
+ /**
13
+ * @hidden
14
+ */
12
15
  const isDocumentAvailable = () => typeof document !== 'undefined';
13
16
 
17
+ /**
18
+ * @hidden
19
+ */
14
20
  const isChanged = (propertyName, changes, skipFirstChange = true) => (typeof changes[propertyName] !== 'undefined' &&
15
21
  (!changes[propertyName].isFirstChange() || !skipFirstChange) &&
16
22
  changes[propertyName].previousValue !== changes[propertyName].currentValue);
17
23
 
24
+ /**
25
+ * @hidden
26
+ */
18
27
  const anyChanged = (propertyNames, changes, skipFirstChange = true) => propertyNames.some(name => isChanged(name, changes, skipFirstChange));
19
28
 
29
+ /**
30
+ * @hidden
31
+ */
20
32
  const hasObservers = (emitter) => emitter && emitter.observers.length > 0;
21
33
 
34
+ /**
35
+ * @hidden
36
+ */
22
37
  const guid = () => {
23
38
  let id = "";
24
39
  for (let i = 0; i < 32; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "3.0.0-next.202204010854",
3
+ "version": "3.0.0-next.202204011251",
4
4
  "description": "Kendo UI for Angular - Utility Package",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -3,4 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { SimpleChanges } from '@angular/core';
6
+ /**
7
+ * @hidden
8
+ */
6
9
  export declare const anyChanged: (propertyNames: string[], changes: SimpleChanges, skipFirstChange?: boolean) => boolean;
package/utils/guid.d.ts CHANGED
@@ -2,4 +2,7 @@
2
2
  * Copyright © 2021 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
+ /**
6
+ * @hidden
7
+ */
5
8
  export declare const guid: () => string;
@@ -3,4 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter } from '@angular/core';
6
+ /**
7
+ * @hidden
8
+ */
6
9
  export declare const hasObservers: (emitter: EventEmitter<any>) => boolean;
@@ -3,4 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { SimpleChanges } from '@angular/core';
6
+ /**
7
+ * @hidden
8
+ */
6
9
  export declare const isChanged: (propertyName: string, changes: SimpleChanges, skipFirstChange?: boolean) => boolean;
@@ -2,4 +2,7 @@
2
2
  * Copyright © 2021 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
+ /**
6
+ * @hidden
7
+ */
5
8
  export declare const isDocumentAvailable: () => boolean;