@c8y/ngx-components 1021.64.0 → 1021.66.0

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 (111) hide show
  1. package/auth-configuration/sso-configuration/template-parts/signature-configuration.component.d.ts +7 -2
  2. package/auth-configuration/sso-configuration/template-parts/signature-configuration.component.d.ts.map +1 -1
  3. package/core/breadcrumb/breadcrumb-item.component.d.ts +1 -1
  4. package/core/breadcrumb/breadcrumb-item.component.d.ts.map +1 -1
  5. package/core/breadcrumb/breadcrumb-outlet.component.d.ts +1 -1
  6. package/core/breadcrumb/breadcrumb-outlet.component.d.ts.map +1 -1
  7. package/core/breadcrumb/breadcrumb.component.d.ts +1 -1
  8. package/core/breadcrumb/breadcrumb.component.d.ts.map +1 -1
  9. package/core/breadcrumb/breadcrumb.module.d.ts +7 -7
  10. package/core/breadcrumb/breadcrumb.module.d.ts.map +1 -1
  11. package/core/common/common.module.d.ts +38 -38
  12. package/core/common/date-format.service.d.ts +30 -0
  13. package/core/common/date-format.service.d.ts.map +1 -0
  14. package/core/common/date.pipe.d.ts +7 -3
  15. package/core/common/date.pipe.d.ts.map +1 -1
  16. package/core/common/index.d.ts +1 -0
  17. package/core/common/index.d.ts.map +1 -1
  18. package/core/common/outlet.directive.d.ts +1 -1
  19. package/core/common/outlet.directive.d.ts.map +1 -1
  20. package/core/common/user-preferences/user-preferences-store-current-user.d.ts +11 -0
  21. package/core/common/user-preferences/user-preferences-store-current-user.d.ts.map +1 -0
  22. package/core/common/user-preferences/user-preferences.service.d.ts +40 -1
  23. package/core/common/user-preferences/user-preferences.service.d.ts.map +1 -1
  24. package/core/date-picker/date-picker.component.d.ts +3 -1
  25. package/core/date-picker/date-picker.component.d.ts.map +1 -1
  26. package/core/date-time-picker/date-time-picker.component.d.ts +6 -3
  27. package/core/date-time-picker/date-time-picker.component.d.ts.map +1 -1
  28. package/core/dynamic-forms/date/date.type.component.d.ts +3 -0
  29. package/core/dynamic-forms/date/date.type.component.d.ts.map +1 -1
  30. package/core/plugins/plugins.service.d.ts +3 -1
  31. package/core/plugins/plugins.service.d.ts.map +1 -1
  32. package/core/time-interval/time-interval.component.d.ts +4 -2
  33. package/core/time-interval/time-interval.component.d.ts.map +1 -1
  34. package/ecosystem/ecosystem.module.d.ts +2 -1
  35. package/ecosystem/ecosystem.module.d.ts.map +1 -1
  36. package/ecosystem/packages/package-changelog-tab/package-changelog-tab.component.d.ts +15 -0
  37. package/ecosystem/packages/package-changelog-tab/package-changelog-tab.component.d.ts.map +1 -0
  38. package/ecosystem/packages/package-changelog.guard.d.ts +10 -0
  39. package/ecosystem/packages/package-changelog.guard.d.ts.map +1 -0
  40. package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts +2 -0
  41. package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts.map +1 -1
  42. package/ecosystem/shared/index.d.ts +1 -0
  43. package/ecosystem/shared/index.d.ts.map +1 -1
  44. package/ecosystem/shared/package-changelog/package-changelog.component.d.ts +24 -0
  45. package/ecosystem/shared/package-changelog/package-changelog.component.d.ts.map +1 -0
  46. package/ecosystem/shared/shared-ecosystem.module.d.ts +2 -1
  47. package/ecosystem/shared/shared-ecosystem.module.d.ts.map +1 -1
  48. package/esm2022/auth-configuration/sso-configuration/template-parts/signature-configuration.component.mjs +11 -7
  49. package/esm2022/core/breadcrumb/breadcrumb-item.component.mjs +3 -3
  50. package/esm2022/core/breadcrumb/breadcrumb-outlet.component.mjs +19 -9
  51. package/esm2022/core/breadcrumb/breadcrumb.component.mjs +3 -3
  52. package/esm2022/core/breadcrumb/breadcrumb.module.mjs +16 -5
  53. package/esm2022/core/common/common.module.mjs +6 -6
  54. package/esm2022/core/common/date-format.service.mjs +81 -0
  55. package/esm2022/core/common/date.pipe.mjs +29 -6
  56. package/esm2022/core/common/index.mjs +2 -1
  57. package/esm2022/core/common/outlet.directive.mjs +4 -3
  58. package/esm2022/core/common/user-preferences/user-preferences-store-current-user.mjs +22 -0
  59. package/esm2022/core/common/user-preferences/user-preferences.service.mjs +106 -16
  60. package/esm2022/core/date-picker/date-picker.component.mjs +11 -4
  61. package/esm2022/core/date-time-picker/date-time-picker.component.mjs +20 -11
  62. package/esm2022/core/dynamic-forms/date/date.type.component.mjs +12 -4
  63. package/esm2022/core/plugins/plugins.service.mjs +14 -8
  64. package/esm2022/core/time-interval/time-interval.component.mjs +9 -2
  65. package/esm2022/ecosystem/application-plugins/application-plugins.component.mjs +4 -4
  66. package/esm2022/ecosystem/application-plugins/update-plugin-of-app/update-plugin-of-app.component.mjs +3 -3
  67. package/esm2022/ecosystem/ecosystem.module.mjs +21 -5
  68. package/esm2022/ecosystem/packages/package-changelog-tab/package-changelog-tab.component.mjs +33 -0
  69. package/esm2022/ecosystem/packages/package-changelog.guard.mjs +22 -0
  70. package/esm2022/ecosystem/packages/package-versions/package-contents/packages-contents.component.mjs +17 -5
  71. package/esm2022/ecosystem/shared/index.mjs +2 -1
  72. package/esm2022/ecosystem/shared/package-changelog/package-changelog.component.mjs +82 -0
  73. package/esm2022/ecosystem/shared/package-version-select/package-version-select.component.mjs +3 -3
  74. package/esm2022/ecosystem/shared/shared-ecosystem.module.mjs +12 -6
  75. package/esm2022/operations/bulk-operation-scheduler/operation-scheduler.component.mjs +9 -7
  76. package/esm2022/operations/bulk-operations-list/bulk-operations-list.component.mjs +1 -1
  77. package/esm2022/upgrade/ng1/downgraded.services.mjs +3 -2
  78. package/esm2022/upgrade/ng1/index.mjs +3 -2
  79. package/fesm2022/c8y-ngx-components-auth-configuration.mjs +9 -5
  80. package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
  81. package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +5 -5
  82. package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  83. package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +94 -11
  84. package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
  85. package/fesm2022/c8y-ngx-components-ecosystem.mjs +83 -14
  86. package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
  87. package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs +7 -5
  88. package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs.map +1 -1
  89. package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs +1 -1
  90. package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs.map +1 -1
  91. package/fesm2022/c8y-ngx-components-upgrade.mjs +3 -1
  92. package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
  93. package/fesm2022/c8y-ngx-components.mjs +809 -552
  94. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  95. package/locales/de.po +42 -6
  96. package/locales/es.po +42 -6
  97. package/locales/fr.po +42 -6
  98. package/locales/ja_JP.po +42 -6
  99. package/locales/ko.po +42 -6
  100. package/locales/locales.pot +9 -0
  101. package/locales/nl.po +42 -6
  102. package/locales/pl.po +42 -6
  103. package/locales/pt_BR.po +42 -6
  104. package/locales/zh_CN.po +42 -6
  105. package/locales/zh_TW.po +42 -6
  106. package/operations/bulk-operation-scheduler/operation-scheduler.component.d.ts +4 -2
  107. package/operations/bulk-operation-scheduler/operation-scheduler.component.d.ts.map +1 -1
  108. package/package.json +1 -1
  109. package/upgrade/ng1/downgraded.services.d.ts +1 -0
  110. package/upgrade/ng1/downgraded.services.d.ts.map +1 -1
  111. package/upgrade/ng1/index.d.ts.map +1 -1
@@ -614,11 +614,11 @@ class UpdatePluginOfAppComponent {
614
614
  this._cancel();
615
615
  }
616
616
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UpdatePluginOfAppComponent, deps: [{ token: i1.BsModalRef }, { token: i2.PluginsService }, { token: i2.AlertService }, { token: i3.EcosystemService }, { token: i2.GainsightService }], target: i0.ɵɵFactoryTarget.Component }); }
617
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UpdatePluginOfAppComponent, selector: "c8y-update-plugin-of-app", ngImport: i0, template: "<div class=\"viewport-modal\">\n <div class=\"modal-header dialog-header\">\n <i [c8yIcon]=\"'c8y-modules'\"></i>\n <h4 *ngIf=\"!downgrade\" id=\"modal-title\" translate>Update plugin</h4>\n <h4 *ngIf=\"downgrade\" id=\"modal-title\" translate>Downgrade plugin</h4>\n </div>\n <div class=\"inner-scroll\" id=\"modal-body\">\n <div class=\"p-16\">\n <div class=\"d-block fit-w bg-gray-white\">\n <c8y-package-version-select\n [packageContextPath]=\"plugin?.contextPath\"\n [(ngModel)]=\"applicationVersion\"\n ></c8y-package-version-select>\n <div\n *ngIf=\"plugin?.version && plugin.version === applicationVersion?.version\"\n class=\"alert alert-info\"\n role=\"alert\"\n >\n <span translate ngNonBindable [translateParams]=\"applicationVersion\">\n Select another version, as {{ version }} is currently used.\n </span>\n </div>\n </div>\n\n <div class=\"form-group\">\n <label class=\"c8y-checkbox\">\n <input [(ngModel)]=\"updateAll\" type=\"checkbox\" />\n <span></span>\n <span translate ngNonBindable [translateParams]=\"plugin\">\n Set version for all plugins using the same context path \"{{ contextPath }}\".\n </span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button\n class=\"btn btn-default\"\n title=\"{{ 'Cancel' | translate }}\"\n type=\"button\"\n (click)=\"cancel()\"\n >\n {{ 'Cancel' | translate }}\n </button>\n <button\n class=\"btn btn-primary\"\n title=\"{{ 'Set version' | translate }}\"\n [disabled]=\"!applicationVersion || plugin?.version === applicationVersion?.version\"\n (click)=\"update()\"\n >\n {{ 'Set version' | translate }}\n </button>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "directive", type: i2.C8yTranslateDirective, selector: "[translate],[ngx-translate]" }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PackageVersionSelectComponent, selector: "c8y-package-version-select", inputs: ["label", "packageContextPath", "packageId"] }, { kind: "pipe", type: i2.C8yTranslatePipe, name: "translate" }] }); }
617
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UpdatePluginOfAppComponent, selector: "c8y-update-plugin-of-app", ngImport: i0, template: "<div class=\"viewport-modal\">\n <div class=\"modal-header dialog-header\">\n <i [c8yIcon]=\"'installing-updates'\"></i>\n <h4\n id=\"modal-title\"\n *ngIf=\"!downgrade\"\n translate\n >\n Update plugin\n </h4>\n <h4\n id=\"modal-title\"\n *ngIf=\"downgrade\"\n translate\n >\n Downgrade plugin\n </h4>\n </div>\n <div\n class=\"inner-scroll\"\n id=\"modal-body\"\n >\n <div class=\"card-block p-r-24 p-l-24 sticky-top bg-component separator-bottom\">\n <c8y-package-version-select\n [packageContextPath]=\"plugin?.contextPath\"\n [(ngModel)]=\"applicationVersion\"\n ></c8y-package-version-select>\n <div\n class=\"alert alert-info\"\n role=\"alert\"\n *ngIf=\"plugin?.version && plugin.version === applicationVersion?.version\"\n >\n <span\n translate\n ngNonBindable\n [translateParams]=\"applicationVersion\"\n >\n Select another version, as {{ version }} is currently used.\n </span>\n </div>\n <div class=\"form-group\">\n <label class=\"c8y-checkbox\">\n <input\n type=\"checkbox\"\n [(ngModel)]=\"updateAll\"\n />\n <span></span>\n <span\n translate\n ngNonBindable\n [translateParams]=\"plugin\"\n >\n Set version for all plugins using the same context path \"{{ contextPath }}\".\n </span>\n </label>\n </div>\n <p class=\"legend form-block\">\n {{ 'Change log' | translate }}\n </p>\n </div>\n <div class=\"card-block p-l-24 p-r-24\">\n\n <div\n class=\"markdown-content markdown-content--to-h3\"\n >\n <c8y-contents-changelog\n [package]=\"plugin.originApp\"\n [selectedVersion]=\"applicationVersion?.version\"\n [previousVersion]=\"plugin?.version\"\n ></c8y-contents-changelog>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button\n class=\"btn btn-default\"\n title=\"{{ 'Cancel' | translate }}\"\n type=\"button\"\n (click)=\"cancel()\"\n >\n {{ 'Cancel' | translate }}\n </button>\n <button\n class=\"btn btn-primary\"\n title=\"{{ 'Set version' | translate }}\"\n [disabled]=\"!applicationVersion || plugin?.version === applicationVersion?.version\"\n (click)=\"update()\"\n >\n {{ 'Set version' | translate }}\n </button>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i2.IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "directive", type: i2.C8yTranslateDirective, selector: "[translate],[ngx-translate]" }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PackageVersionSelectComponent, selector: "c8y-package-version-select", inputs: ["label", "packageContextPath", "packageId"] }, { kind: "component", type: i3.PackageChangelogComponent, selector: "c8y-contents-changelog", inputs: ["package", "selectedVersion", "previousVersion"] }, { kind: "pipe", type: i2.C8yTranslatePipe, name: "translate" }] }); }
618
618
  }
619
619
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UpdatePluginOfAppComponent, decorators: [{
620
620
  type: Component,
621
- args: [{ selector: 'c8y-update-plugin-of-app', template: "<div class=\"viewport-modal\">\n <div class=\"modal-header dialog-header\">\n <i [c8yIcon]=\"'c8y-modules'\"></i>\n <h4 *ngIf=\"!downgrade\" id=\"modal-title\" translate>Update plugin</h4>\n <h4 *ngIf=\"downgrade\" id=\"modal-title\" translate>Downgrade plugin</h4>\n </div>\n <div class=\"inner-scroll\" id=\"modal-body\">\n <div class=\"p-16\">\n <div class=\"d-block fit-w bg-gray-white\">\n <c8y-package-version-select\n [packageContextPath]=\"plugin?.contextPath\"\n [(ngModel)]=\"applicationVersion\"\n ></c8y-package-version-select>\n <div\n *ngIf=\"plugin?.version && plugin.version === applicationVersion?.version\"\n class=\"alert alert-info\"\n role=\"alert\"\n >\n <span translate ngNonBindable [translateParams]=\"applicationVersion\">\n Select another version, as {{ version }} is currently used.\n </span>\n </div>\n </div>\n\n <div class=\"form-group\">\n <label class=\"c8y-checkbox\">\n <input [(ngModel)]=\"updateAll\" type=\"checkbox\" />\n <span></span>\n <span translate ngNonBindable [translateParams]=\"plugin\">\n Set version for all plugins using the same context path \"{{ contextPath }}\".\n </span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button\n class=\"btn btn-default\"\n title=\"{{ 'Cancel' | translate }}\"\n type=\"button\"\n (click)=\"cancel()\"\n >\n {{ 'Cancel' | translate }}\n </button>\n <button\n class=\"btn btn-primary\"\n title=\"{{ 'Set version' | translate }}\"\n [disabled]=\"!applicationVersion || plugin?.version === applicationVersion?.version\"\n (click)=\"update()\"\n >\n {{ 'Set version' | translate }}\n </button>\n </div>\n</div>\n" }]
621
+ args: [{ selector: 'c8y-update-plugin-of-app', template: "<div class=\"viewport-modal\">\n <div class=\"modal-header dialog-header\">\n <i [c8yIcon]=\"'installing-updates'\"></i>\n <h4\n id=\"modal-title\"\n *ngIf=\"!downgrade\"\n translate\n >\n Update plugin\n </h4>\n <h4\n id=\"modal-title\"\n *ngIf=\"downgrade\"\n translate\n >\n Downgrade plugin\n </h4>\n </div>\n <div\n class=\"inner-scroll\"\n id=\"modal-body\"\n >\n <div class=\"card-block p-r-24 p-l-24 sticky-top bg-component separator-bottom\">\n <c8y-package-version-select\n [packageContextPath]=\"plugin?.contextPath\"\n [(ngModel)]=\"applicationVersion\"\n ></c8y-package-version-select>\n <div\n class=\"alert alert-info\"\n role=\"alert\"\n *ngIf=\"plugin?.version && plugin.version === applicationVersion?.version\"\n >\n <span\n translate\n ngNonBindable\n [translateParams]=\"applicationVersion\"\n >\n Select another version, as {{ version }} is currently used.\n </span>\n </div>\n <div class=\"form-group\">\n <label class=\"c8y-checkbox\">\n <input\n type=\"checkbox\"\n [(ngModel)]=\"updateAll\"\n />\n <span></span>\n <span\n translate\n ngNonBindable\n [translateParams]=\"plugin\"\n >\n Set version for all plugins using the same context path \"{{ contextPath }}\".\n </span>\n </label>\n </div>\n <p class=\"legend form-block\">\n {{ 'Change log' | translate }}\n </p>\n </div>\n <div class=\"card-block p-l-24 p-r-24\">\n\n <div\n class=\"markdown-content markdown-content--to-h3\"\n >\n <c8y-contents-changelog\n [package]=\"plugin.originApp\"\n [selectedVersion]=\"applicationVersion?.version\"\n [previousVersion]=\"plugin?.version\"\n ></c8y-contents-changelog>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button\n class=\"btn btn-default\"\n title=\"{{ 'Cancel' | translate }}\"\n type=\"button\"\n (click)=\"cancel()\"\n >\n {{ 'Cancel' | translate }}\n </button>\n <button\n class=\"btn btn-primary\"\n title=\"{{ 'Set version' | translate }}\"\n [disabled]=\"!applicationVersion || plugin?.version === applicationVersion?.version\"\n (click)=\"update()\"\n >\n {{ 'Set version' | translate }}\n </button>\n </div>\n</div>" }]
622
622
  }], ctorParameters: () => [{ type: i1.BsModalRef }, { type: i2.PluginsService }, { type: i2.AlertService }, { type: i3.EcosystemService }, { type: i2.GainsightService }] });
623
623
 
624
624
  class ApplicationPluginReadmeComponent {
@@ -860,7 +860,7 @@ class ApplicationPluginsComponent {
860
860
  {
861
861
  type: 'customUpdate',
862
862
  text: gettext('Update'),
863
- icon: 'caret-square-o-up',
863
+ icon: 'installing-updates',
864
864
  showIf: plugin => {
865
865
  return (plugin.status === ApplicationPluginStatus.OUTDATED ||
866
866
  plugin.status === ApplicationPluginStatus.REVOKED);
@@ -870,7 +870,7 @@ class ApplicationPluginsComponent {
870
870
  {
871
871
  type: 'customDowngrade',
872
872
  text: gettext('Downgrade'),
873
- icon: 'caret-square-o-down',
873
+ icon: 'installing-updates',
874
874
  showIf: (plugin) => {
875
875
  if (plugin.scope === PluginsExportScopes.SELF ||
876
876
  plugin.scope === PluginsExportScopes.SELF_OPTIONAL) {
@@ -901,7 +901,7 @@ class ApplicationPluginsComponent {
901
901
  async updatePlugin(app, plugin, downgrade = false) {
902
902
  try {
903
903
  await this.bsModalService.show(UpdatePluginOfAppComponent, {
904
- class: 'modal-sm',
904
+ class: 'modal-md',
905
905
  ariaDescribedby: 'modal-body',
906
906
  ariaLabelledBy: 'modal-title',
907
907
  initialState: {