@progress/kendo-angular-progressbar 2.0.1-dev.202104291149 → 2.0.3-dev.202201191018

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.
Files changed (78) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-progressbar.js +3 -3
  5. package/dist/cdn/main.js +2 -2
  6. package/dist/es/chunk/chunk-progressbar.component.js +1 -1
  7. package/dist/es/common/constants.js +1 -1
  8. package/dist/es/common/progressbar-base.js +1 -1
  9. package/dist/es/common/util.js +1 -1
  10. package/dist/es/index.js +1 -1
  11. package/dist/es/main.js +1 -1
  12. package/dist/es/package-metadata.js +2 -2
  13. package/dist/es/progressbar.component.js +1 -1
  14. package/dist/es/progressbar.module.js +30 -2
  15. package/dist/es/types/animation-end-event.js +1 -1
  16. package/dist/es/types/animation-options.interface.js +1 -1
  17. package/dist/es/types/label-fn-type.js +1 -1
  18. package/dist/es/types/label-position.js +1 -1
  19. package/dist/es/types/label-settings.interface.js +1 -1
  20. package/dist/es/types/label-type.js +1 -1
  21. package/dist/es/types/progressbar-animation.interface.js +1 -1
  22. package/dist/es/types/progressbar-orientation.js +1 -1
  23. package/dist/es2015/chunk/chunk-progressbar.component.d.ts +1 -1
  24. package/dist/es2015/chunk/chunk-progressbar.component.js +1 -1
  25. package/dist/es2015/common/constants.d.ts +1 -1
  26. package/dist/es2015/common/constants.js +1 -1
  27. package/dist/es2015/common/progressbar-base.d.ts +3 -2
  28. package/dist/es2015/common/progressbar-base.js +1 -1
  29. package/dist/es2015/common/util.d.ts +1 -1
  30. package/dist/es2015/common/util.js +1 -1
  31. package/dist/es2015/index.d.ts +1 -1
  32. package/dist/es2015/index.js +1 -1
  33. package/dist/es2015/index.metadata.json +1 -1
  34. package/dist/es2015/main.d.ts +1 -1
  35. package/dist/es2015/main.js +1 -1
  36. package/dist/es2015/package-metadata.d.ts +1 -1
  37. package/dist/es2015/package-metadata.js +2 -2
  38. package/dist/es2015/progressbar.component.d.ts +1 -1
  39. package/dist/es2015/progressbar.component.js +1 -1
  40. package/dist/es2015/progressbar.module.d.ts +30 -2
  41. package/dist/es2015/progressbar.module.js +30 -2
  42. package/dist/es2015/types/animation-end-event.d.ts +1 -1
  43. package/dist/es2015/types/animation-end-event.js +1 -1
  44. package/dist/es2015/types/animation-options.interface.d.ts +1 -1
  45. package/dist/es2015/types/animation-options.interface.js +1 -1
  46. package/dist/es2015/types/label-fn-type.d.ts +1 -1
  47. package/dist/es2015/types/label-fn-type.js +1 -1
  48. package/dist/es2015/types/label-position.d.ts +1 -1
  49. package/dist/es2015/types/label-position.js +1 -1
  50. package/dist/es2015/types/label-settings.interface.d.ts +1 -1
  51. package/dist/es2015/types/label-settings.interface.js +1 -1
  52. package/dist/es2015/types/label-type.d.ts +1 -1
  53. package/dist/es2015/types/label-type.js +1 -1
  54. package/dist/es2015/types/progressbar-animation.interface.d.ts +1 -1
  55. package/dist/es2015/types/progressbar-animation.interface.js +1 -1
  56. package/dist/es2015/types/progressbar-orientation.d.ts +1 -1
  57. package/dist/es2015/types/progressbar-orientation.js +1 -1
  58. package/dist/fesm2015/index.js +31 -3
  59. package/dist/fesm5/index.js +31 -3
  60. package/dist/npm/chunk/chunk-progressbar.component.js +1 -1
  61. package/dist/npm/common/constants.js +1 -1
  62. package/dist/npm/common/progressbar-base.js +1 -1
  63. package/dist/npm/common/util.js +1 -1
  64. package/dist/npm/index.js +1 -1
  65. package/dist/npm/main.js +1 -1
  66. package/dist/npm/package-metadata.js +2 -2
  67. package/dist/npm/progressbar.component.js +1 -1
  68. package/dist/npm/progressbar.module.js +30 -2
  69. package/dist/npm/types/animation-end-event.js +1 -1
  70. package/dist/npm/types/animation-options.interface.js +1 -1
  71. package/dist/npm/types/label-fn-type.js +1 -1
  72. package/dist/npm/types/label-position.js +1 -1
  73. package/dist/npm/types/label-settings.interface.js +1 -1
  74. package/dist/npm/types/label-type.js +1 -1
  75. package/dist/npm/types/progressbar-animation.interface.js +1 -1
  76. package/dist/npm/types/progressbar-orientation.js +1 -1
  77. package/dist/systemjs/kendo-angular-progressbar.js +2 -2
  78. package/package.json +9 -8
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  import * as tslib_1 from "tslib";
@@ -10,7 +10,35 @@ import { ProgressBarComponent } from './progressbar.component';
10
10
  const COMPONENT_DIRECTIVES = [ProgressBarComponent, ChunkProgressBarComponent];
11
11
  const MODULES = [CommonModule];
12
12
  /**
13
- * @hidden
13
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
14
+ * definition for the ProgressBar components.
15
+ *
16
+ * @example
17
+ *
18
+ * ```ts-no-run
19
+ * // Import the ProgressBar module
20
+ * import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
21
+ *
22
+ * // The browser platform with a compiler
23
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
24
+ *
25
+ * import { NgModule } from '@angular/core';
26
+ *
27
+ * // Import the app component
28
+ * import { AppComponent } from './app.component';
29
+ *
30
+ * // Define the app module
31
+ * _@NgModule({
32
+ * declarations: [AppComponent], // declare app component
33
+ * imports: [BrowserModule, ProgressBarModule], // import ProgressBar module
34
+ * bootstrap: [AppComponent]
35
+ * })
36
+ * export class AppModule {}
37
+ *
38
+ * // Compile and launch the module
39
+ * platformBrowserDynamic().bootstrapModule(AppModule);
40
+ *
41
+ * ```
14
42
  */
15
43
  let ProgressBarModule = class ProgressBarModule {
16
44
  };
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  import { LabelType } from './label-type';
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
  *-------------------------------------------------------------------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  import { __decorate, __metadata } from 'tslib';
@@ -16,7 +16,7 @@ const packageMetadata = {
16
16
  name: '@progress/kendo-angular-progressbar',
17
17
  productName: 'Kendo UI for Angular',
18
18
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
19
- publishDate: 1619696935,
19
+ publishDate: 1642587465,
20
20
  version: '',
21
21
  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'
22
22
  };
@@ -754,7 +754,35 @@ ChunkProgressBarComponent = __decorate([
754
754
  const COMPONENT_DIRECTIVES = [ProgressBarComponent, ChunkProgressBarComponent];
755
755
  const MODULES = [CommonModule];
756
756
  /**
757
- * @hidden
757
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
758
+ * definition for the ProgressBar components.
759
+ *
760
+ * @example
761
+ *
762
+ * ```ts-no-run
763
+ * // Import the ProgressBar module
764
+ * import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
765
+ *
766
+ * // The browser platform with a compiler
767
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
768
+ *
769
+ * import { NgModule } from '@angular/core';
770
+ *
771
+ * // Import the app component
772
+ * import { AppComponent } from './app.component';
773
+ *
774
+ * // Define the app module
775
+ * _@NgModule({
776
+ * declarations: [AppComponent], // declare app component
777
+ * imports: [BrowserModule, ProgressBarModule], // import ProgressBar module
778
+ * bootstrap: [AppComponent]
779
+ * })
780
+ * export class AppModule {}
781
+ *
782
+ * // Compile and launch the module
783
+ * platformBrowserDynamic().bootstrapModule(AppModule);
784
+ *
785
+ * ```
758
786
  */
759
787
  let ProgressBarModule = class ProgressBarModule {
760
788
  };
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  import { __decorate, __metadata, __extends } from 'tslib';
@@ -16,7 +16,7 @@ var packageMetadata = {
16
16
  name: '@progress/kendo-angular-progressbar',
17
17
  productName: 'Kendo UI for Angular',
18
18
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
19
- publishDate: 1619696935,
19
+ publishDate: 1642587465,
20
20
  version: '',
21
21
  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'
22
22
  };
@@ -825,7 +825,35 @@ var ChunkProgressBarComponent = /** @class */ (function (_super) {
825
825
  var COMPONENT_DIRECTIVES = [ProgressBarComponent, ChunkProgressBarComponent];
826
826
  var MODULES = [CommonModule];
827
827
  /**
828
- * @hidden
828
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
829
+ * definition for the ProgressBar components.
830
+ *
831
+ * @example
832
+ *
833
+ * ```ts-no-run
834
+ * // Import the ProgressBar module
835
+ * import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
836
+ *
837
+ * // The browser platform with a compiler
838
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
839
+ *
840
+ * import { NgModule } from '@angular/core';
841
+ *
842
+ * // Import the app component
843
+ * import { AppComponent } from './app.component';
844
+ *
845
+ * // Define the app module
846
+ * _@NgModule({
847
+ * declarations: [AppComponent], // declare app component
848
+ * imports: [BrowserModule, ProgressBarModule], // import ProgressBar module
849
+ * bootstrap: [AppComponent]
850
+ * })
851
+ * export class AppModule {}
852
+ *
853
+ * // Compile and launch the module
854
+ * platformBrowserDynamic().bootstrapModule(AppModule);
855
+ *
856
+ * ```
829
857
  */
830
858
  var ProgressBarModule = /** @class */ (function () {
831
859
  function ProgressBarModule() {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
package/dist/npm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
package/dist/npm/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-progressbar',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1619696935,
14
+ publishDate: 1642587465,
15
15
  version: '',
16
16
  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'
17
17
  };
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -12,7 +12,35 @@ var progressbar_component_1 = require("./progressbar.component");
12
12
  var COMPONENT_DIRECTIVES = [progressbar_component_1.ProgressBarComponent, chunk_progressbar_component_1.ChunkProgressBarComponent];
13
13
  var MODULES = [common_1.CommonModule];
14
14
  /**
15
- * @hidden
15
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
16
+ * definition for the ProgressBar components.
17
+ *
18
+ * @example
19
+ *
20
+ * ```ts-no-run
21
+ * // Import the ProgressBar module
22
+ * import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
23
+ *
24
+ * // The browser platform with a compiler
25
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
26
+ *
27
+ * import { NgModule } from '@angular/core';
28
+ *
29
+ * // Import the app component
30
+ * import { AppComponent } from './app.component';
31
+ *
32
+ * // Define the app module
33
+ * _@NgModule({
34
+ * declarations: [AppComponent], // declare app component
35
+ * imports: [BrowserModule, ProgressBarModule], // import ProgressBar module
36
+ * bootstrap: [AppComponent]
37
+ * })
38
+ * export class AppModule {}
39
+ *
40
+ * // Compile and launch the module
41
+ * platformBrowserDynamic().bootstrapModule(AppModule);
42
+ *
43
+ * ```
16
44
  */
17
45
  var ProgressBarModule = /** @class */ (function () {
18
46
  function ProgressBarModule() {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2020 Progress Software Corporation. All rights reserved.
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
- System.register("@progress/kendo-angular-progressbar",["tslib","@progress/kendo-angular-common","@progress/kendo-angular-l10n","@angular/common","@angular/core","@progress/kendo-licensing"],function(i){var o,s,u,l,p,d;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){s=t(e)},function(e){u=t(e)},function(e){l=t(e)},function(e){p=t(e)},function(e){d=t(e)}],execute:function(){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,a;a={},r.m=n=[function(e,t){e.exports=p},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var a=o(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):a;switch(r.format){case"value":return a;case"percent":return Math.floor(i(e,t,n))+"%";default:return a}}return a},t.validateRange=function(e,t){if(a.isDevMode&&t<e)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)};var i=function(e,t,n){n=Math.abs((n-t)/100);return Math.abs((e-t)/n)},o=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),e=t&&e.animation.currentValue;return t&&!e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(1),i=n(5),o=n(0),s=n(2),n=n(4),n=(r=i.ProgressBarBase,a.__extends(u,r),Object.defineProperty(u.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return s.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),a.__decorate([o.Input(),a.__metadata("design:type",Number)],u.prototype,"chunkCount",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssClass",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssClass",void 0),a.__decorate([o.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),a.__metadata("design:paramtypes",[n.LocalizationService])],u));function u(e){var t=r.call(this,e)||this;return t.localization=e,t.chunkCount=5,t._orientationStyles={width:t.chunkSizePercentage+"%"},t}t.ChunkProgressBarComponent=n},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),i=n(12),o=n(11),s=n(2),r=(Object.defineProperty(u.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),u.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);(e.min||e.max||e.value)&&((e.min||e.max)&&s.validateRange(t,n),e.value&&(null!=r&&!Number.isNaN(r)||(this.value=t),e=this.displayValue,this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=e),this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r))},u.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],u.prototype,"widgetClasses",void 0),r.__decorate([a.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isHorizontal",null),r.__decorate([a.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isVertical",null),r.__decorate([a.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"disabledClass",null),r.__decorate([a.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"reverseClass",null),r.__decorate([a.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"indeterminateClass",null),r.__decorate([a.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"dirAttribute",null),r.__decorate([a.HostBinding("attr.role"),r.__metadata("design:type",String)],u.prototype,"roleAttribute",void 0),r.__decorate([a.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMinAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMaxAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaValueAttribute",null),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"max",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"min",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"value",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],u.prototype,"orientation",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"reverse",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"indeterminate",void 0),u);function u(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,i.validatePackage(o.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr"})}t.ProgressBarBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(1),i=n(5),o=n(0),s=n(2),u=n(4),l=n(9),u=(a=i.ProgressBarBase,r.__extends(p,a),Object.defineProperty(p.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"formattedLabelValue",{get:function(){return s.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),p.prototype.ngOnChanges=function(e){a.prototype.ngOnChanges.call(this,e),this.isAnimationInProgress&&s.stopCurrentAnimation(e)&&(this.cancelCurrentAnimation=!0),s.runAnimation(e,this.animation,this.previousValue,this.displayValue)&&!e.value.firstChange&&this.startAnimation(this.previousValue)},p.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},p.prototype.startAnimation=function(r){var a=this;this.isAnimationInProgress=!0;var i=this.progressStatusElement.nativeElement,o=this.progressStatusWrapperElement.nativeElement,s=this.getAnimationOptions(r);this.zone.runOutsideAngular(function(){a.animationFrame&&cancelAnimationFrame(a.animationFrame);var n=function(){var e=(new Date).getTime()-s.startTime,t=Math.min(e/s.duration,1),e=s.startSize+s.deltaSize*t;a.renderValueChange(i,o,s.property,e,100/e*100),t<1?a.cancelCurrentAnimation?a.resetProgress(i,o,s.property):a.animationFrame=requestAnimationFrame(n):a.stopAnimation(r)};n()})},Object.defineProperty(p.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),p.prototype.stopAnimation=function(e){var t=this;l.hasObservers(this.animationEnd)&&this.zone.run(function(){t.animationEnd.emit({from:e,to:t.displayValue})}),this.zone.run(function(){t.isAnimationInProgress=!1})},p.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,n=s.calculateRatio(this.min,this.max,e),r=t?100*n:100,a=t?100:100*n,i=t?"width":"height",e=(new Date).getTime(),n=t?this.statusWidth-r:this.statusHeight-a;return{property:i,startTime:e,startSize:t?r:a,deltaSize:n,duration:this.animationDuration*Math.abs(n/100)}},p.prototype.renderValueChange=function(e,t,n,r,a){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,a+"%")},p.prototype.resetProgress=function(e,t,n){var r=this,a=s.calculateRatio(this.min,this.max,this.value);this.renderValueChange(e,t,n,100*a,100/a),this.zone.run(function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1})},r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],p.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],p.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],p.prototype,"progressStatusWrapperElement",void 0),r.__decorate([o.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[u.LocalizationService,{provide:u.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[u.LocalizationService,o.NgZone,o.Renderer2])],p));function p(e,t,n){var r=a.call(this,e)||this;return r.localization=e,r.zone=t,r.renderer=n,r.label=!0,r.animation=!1,r.animationEnd=new o.EventEmitter,r}t.ProgressBarComponent=u},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),i=n(0),o=n(7),a=[n(6).ProgressBarComponent,a.ChunkProgressBarComponent],o=[o.CommonModule],o=r.__decorate([i.NgModule({declarations:a,exports:a,imports:o})],function(){});t.ProgressBarModule=o},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1619696935,version:"",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"}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.ProgressBarComponent=r.ProgressBarComponent;r=n(3);t.ChunkProgressBarComponent=r.ChunkProgressBarComponent;n=n(8);t.ProgressBarModule=n.ProgressBarModule,function(e){for(var t in e)i(t,e[t])}(t)}],r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}}});
5
+ System.register("@progress/kendo-angular-progressbar",["tslib","@angular/core","@angular/common","@progress/kendo-angular-l10n","@progress/kendo-angular-common","@progress/kendo-licensing"],function(i){var o,s,u,l,p,d;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){s=t(e)},function(e){u=t(e)},function(e){l=t(e)},function(e){p=t(e)},function(e){d=t(e)}],execute:function(){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,a;a={},r.m=n=[function(e,t){e.exports=s},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var a=o(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):a;switch(r.format){case"value":return a;case"percent":return Math.floor(i(e,t,n))+"%";default:return a}}return a},t.validateRange=function(e,t){if(a.isDevMode&&t<e)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)};var i=function(e,t,n){n=Math.abs((n-t)/100);return Math.abs((e-t)/n)},o=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),e=t&&e.animation.currentValue;return t&&!e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(1),i=n(5),o=n(0),s=n(2),n=n(4),n=(r=i.ProgressBarBase,a.__extends(u,r),Object.defineProperty(u.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return s.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),a.__decorate([o.Input(),a.__metadata("design:type",Number)],u.prototype,"chunkCount",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssClass",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssClass",void 0),a.__decorate([o.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),a.__metadata("design:paramtypes",[n.LocalizationService])],u));function u(e){var t=r.call(this,e)||this;return t.localization=e,t.chunkCount=5,t._orientationStyles={width:t.chunkSizePercentage+"%"},t}t.ChunkProgressBarComponent=n},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),i=n(12),o=n(11),s=n(2),r=(Object.defineProperty(u.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),u.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);(e.min||e.max||e.value)&&((e.min||e.max)&&s.validateRange(t,n),e.value&&(null!=r&&!Number.isNaN(r)||(this.value=t),e=this.displayValue,this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=e),this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r))},u.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],u.prototype,"widgetClasses",void 0),r.__decorate([a.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isHorizontal",null),r.__decorate([a.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isVertical",null),r.__decorate([a.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"disabledClass",null),r.__decorate([a.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"reverseClass",null),r.__decorate([a.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"indeterminateClass",null),r.__decorate([a.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"dirAttribute",null),r.__decorate([a.HostBinding("attr.role"),r.__metadata("design:type",String)],u.prototype,"roleAttribute",void 0),r.__decorate([a.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMinAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMaxAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaValueAttribute",null),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"max",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"min",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"value",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],u.prototype,"orientation",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"reverse",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"indeterminate",void 0),u);function u(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,i.validatePackage(o.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr"})}t.ProgressBarBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(1),i=n(5),o=n(0),s=n(2),u=n(4),l=n(9),u=(a=i.ProgressBarBase,r.__extends(p,a),Object.defineProperty(p.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"formattedLabelValue",{get:function(){return s.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),p.prototype.ngOnChanges=function(e){a.prototype.ngOnChanges.call(this,e),this.isAnimationInProgress&&s.stopCurrentAnimation(e)&&(this.cancelCurrentAnimation=!0),s.runAnimation(e,this.animation,this.previousValue,this.displayValue)&&!e.value.firstChange&&this.startAnimation(this.previousValue)},p.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},p.prototype.startAnimation=function(r){var a=this;this.isAnimationInProgress=!0;var i=this.progressStatusElement.nativeElement,o=this.progressStatusWrapperElement.nativeElement,s=this.getAnimationOptions(r);this.zone.runOutsideAngular(function(){a.animationFrame&&cancelAnimationFrame(a.animationFrame);function n(){var e=(new Date).getTime()-s.startTime,t=Math.min(e/s.duration,1),e=s.startSize+s.deltaSize*t;a.renderValueChange(i,o,s.property,e,100/e*100),t<1?a.cancelCurrentAnimation?a.resetProgress(i,o,s.property):a.animationFrame=requestAnimationFrame(n):a.stopAnimation(r)}n()})},Object.defineProperty(p.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),p.prototype.stopAnimation=function(e){var t=this;l.hasObservers(this.animationEnd)&&this.zone.run(function(){t.animationEnd.emit({from:e,to:t.displayValue})}),this.zone.run(function(){t.isAnimationInProgress=!1})},p.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,n=s.calculateRatio(this.min,this.max,e),r=t?100*n:100,a=t?100:100*n,i=t?"width":"height",e=(new Date).getTime(),n=t?this.statusWidth-r:this.statusHeight-a;return{property:i,startTime:e,startSize:t?r:a,deltaSize:n,duration:this.animationDuration*Math.abs(n/100)}},p.prototype.renderValueChange=function(e,t,n,r,a){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,a+"%")},p.prototype.resetProgress=function(e,t,n){var r=this,a=s.calculateRatio(this.min,this.max,this.value);this.renderValueChange(e,t,n,100*a,100/a),this.zone.run(function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1})},r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],p.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],p.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],p.prototype,"progressStatusWrapperElement",void 0),r.__decorate([o.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[u.LocalizationService,{provide:u.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[u.LocalizationService,o.NgZone,o.Renderer2])],p));function p(e,t,n){var r=a.call(this,e)||this;return r.localization=e,r.zone=t,r.renderer=n,r.label=!0,r.animation=!1,r.animationEnd=new o.EventEmitter,r}t.ProgressBarComponent=u},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),i=n(0),o=n(7),a=[n(6).ProgressBarComponent,a.ChunkProgressBarComponent],o=[o.CommonModule],o=r.__decorate([i.NgModule({declarations:a,exports:a,imports:o})],s);function s(){}t.ProgressBarModule=o},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642587465,version:"",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"}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.ProgressBarComponent=r.ProgressBarComponent;r=n(3);t.ChunkProgressBarComponent=r.ChunkProgressBarComponent;n=n(8);t.ProgressBarModule=n.ProgressBarModule,function(e){for(var t in e)i(t,e[t])}(t)}],r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}}});
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Kendo UI Angular component starter template",
4
4
  "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "2.0.1-dev.202104291149",
6
+ "version": "2.0.3-dev.202201191018",
7
7
  "main": "dist/npm/index.js",
8
8
  "module": "dist/fesm5/index.js",
9
9
  "es2015": "dist/fesm2015/index.js",
@@ -30,15 +30,15 @@
30
30
  "Angular"
31
31
  ],
32
32
  "peerDependencies": {
33
- "@angular/common": "8 - 12",
34
- "@angular/core": "8 - 12",
33
+ "@angular/common": "8 - 13",
34
+ "@angular/core": "8 - 13",
35
35
  "@progress/kendo-angular-common": "^2.0.0",
36
36
  "@progress/kendo-angular-l10n": "^3.0.0",
37
37
  "@progress/kendo-licensing": "^1.0.2",
38
- "rxjs": "^6.4.0"
38
+ "rxjs": "^6.4.0 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@progress/kendo-schematics": "^1.0.0",
41
+ "@progress/kendo-schematics": "^2.0.0",
42
42
  "tslib": "^1.9.0"
43
43
  },
44
44
  "devDependencies": {
@@ -55,6 +55,7 @@
55
55
  "@angular/platform-server": "^8.2.0",
56
56
  "@angular/router": "^8.2.0",
57
57
  "@progress/kendo-angular-common": "^2.0.0",
58
+ "@progress/kendo-angular-buttons": "^6.0.0",
58
59
  "@progress/kendo-angular-dropdowns": "^5.0.0",
59
60
  "@progress/kendo-angular-e2e": "^2.2.0",
60
61
  "@progress/kendo-angular-inputs": "^7.0.0",
@@ -67,9 +68,9 @@
67
68
  "@progress/kendo-angular-treeview": "^5.0.0",
68
69
  "@progress/kendo-drawing": "^1.5.8",
69
70
  "@progress/kendo-licensing": "^1.0.2",
70
- "@progress/kendo-theme-bootstrap": "^4.19.0",
71
- "@progress/kendo-theme-default": "^4.21.0",
72
- "@progress/kendo-theme-material": "^3.18.0",
71
+ "@progress/kendo-theme-bootstrap": "^5.0.0",
72
+ "@progress/kendo-theme-default": "^5.0.0",
73
+ "@progress/kendo-theme-material": "^5.0.0",
73
74
  "@telerik/semantic-prerelease": "^1.0.0",
74
75
  "@types/jest": "^21.1.8",
75
76
  "@types/node": "ts3.4",