@c8y/ngx-components 1023.97.4 → 1023.97.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alarms/index.d.ts.map +1 -1
- package/context-dashboard/index.d.ts +29 -3
- package/context-dashboard/index.d.ts.map +1 -1
- package/ecosystem/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +10 -7
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-add.mjs +2 -2
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-add.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-view.mjs +2 -2
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-cockpit-home-dashboard.mjs +3 -3
- package/fesm2022/c8y-ngx-components-context-dashboard-cockpit-home-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-device-add.mjs +2 -2
- package/fesm2022/c8y-ngx-components-context-dashboard-device-add.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-device-view.mjs +2 -2
- package/fesm2022/c8y-ngx-components-context-dashboard-device-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-devicemanagement.mjs +2 -2
- package/fesm2022/c8y-ngx-components-context-dashboard-devicemanagement.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +142 -19
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +6 -7
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs +4 -4
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs +40 -8
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-table.mjs +12 -5
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs +7 -2
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs +19 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +229 -31
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/index.d.ts +83 -7
- package/index.d.ts.map +1 -1
- package/locales/de.po +3 -0
- package/locales/es.po +3 -0
- package/locales/fr.po +3 -0
- package/locales/ja_JP.po +3 -0
- package/locales/ko.po +3 -0
- package/locales/nl.po +3 -0
- package/locales/pl.po +3 -0
- package/locales/pt_BR.po +3 -0
- package/locales/zh_CN.po +3 -0
- package/locales/zh_TW.po +3 -0
- package/package.json +1 -1
- package/upgrade/index.d.ts +8 -0
- package/upgrade/index.d.ts.map +1 -1
- package/widgets/implementations/asset-table/index.d.ts.map +1 -1
- package/widgets/implementations/quick-links/index.d.ts.map +1 -1
- package/widgets/implementations/three-d-rotation/index.d.ts.map +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Input, Component, ViewChild, Injectable, EventEmitter, Output, inject, NgModule } from '@angular/core';
|
|
3
3
|
import * as i2 from '@c8y/ngx-components';
|
|
4
|
-
import { ListGroupComponent, ListItemTimelineComponent, ListItemComponent, ListItemIconComponent, ListItemBodyComponent, IconDirective, ListItemActionComponent, FormGroupComponent, C8yTranslatePipe, DatePipe, Status,
|
|
4
|
+
import { ListGroupComponent, ListItemTimelineComponent, ListItemComponent, ListItemIconComponent, ListItemBodyComponent, IconDirective, ListItemActionComponent, FormGroupComponent, LoadingComponent, C8yTranslatePipe, DatePipe, Status, PluginsService, PluginsExportScopes, ModalComponent, C8yTranslateDirective, ListItemFooterComponent, ListItemCollapseComponent, OperationResultComponent, Permissions, ViewContext, TitleComponent, BreadcrumbComponent, BreadcrumbItemComponent, AppIconComponent, TextareaAutoresizeDirective, PropertiesListComponent, RequiredInputPlaceholderDirective, MessagesComponent, MessageDirective, HumanizeAppNamePipe, WizardHeaderComponent, WizardBodyComponent, WizardFooterComponent, IfAllowedDirective, ActionBarItemComponent, ListDisplaySwitchComponent, HelpComponent, EmptyStateComponent, TypeaheadComponent, ForOfDirective, HighlightComponent, DropAreaComponent, C8yStepper, PackageType, MarkdownToHtmlPipe, CoreModule, FormsModule as FormsModule$1, hookTab, hookRoute, hookWizard } from '@c8y/ngx-components';
|
|
5
5
|
import * as i1 from '@c8y/ngx-components/ecosystem/shared';
|
|
6
6
|
import { UploadArchiveComponent, packageProperties, PRODUCT_EXPERIENCE_ECOSYSTEM, AddApplicationComponent, defaultPackageAvailabilities, EcosystemWizards, ListFiltersComponent, ApplicationCardComponent, ApplicationPropertiesFormComponent, ERROR_MESSAGES, ERROR_TYPE, APP_STATE, PackageVersionSelectComponent, PACKAGE_TYPE_LABELS, TranslatePackageLabelPipe, defaultPackageTypes, defaultPackageContents, ArchivedFilterComponent, PackageChangelogComponent, SharedEcosystemModule } from '@c8y/ngx-components/ecosystem/shared';
|
|
7
|
-
import {
|
|
7
|
+
import { NgClass, NgIf, AsyncPipe, NgSwitch, NgSwitchCase, NgFor, NgStyle } from '@angular/common';
|
|
8
8
|
import * as i3 from '@angular/forms';
|
|
9
9
|
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
10
10
|
import * as i1$2 from '@angular/router';
|
|
@@ -95,26 +95,25 @@ class ActivityLogComponent {
|
|
|
95
95
|
this.isLoading = false;
|
|
96
96
|
}
|
|
97
97
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ActivityLogComponent, deps: [{ token: i1.EcosystemService }, { token: i2.AlertService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ActivityLogComponent, isStandalone: true, selector: "c8y-activity-log", inputs: { application: "application", hasAdminPermissions: "hasAdminPermissions" }, ngImport: i0, template: "<div\n class=\"inner-scroll bg-level-1 flex-grow inner-scroll--md overflow-visible-sm overflow-visible-xs\"\n>\n <div class=\"card-block overflow-visible\">\n @if (isLoading && !archives.length) {\n <c8y-loading></c8y-loading>\n }\n <c8y-list-group>\n @for (archive of archives; track archive) {\n <c8y-li-timeline [ngClass]=\"{ active: isActive(archive) }\">\n {{ archive.created | c8yDate: 'mediumDate' }}\n {{ archive.created | c8yDate: 'shortTime' }}\n <c8y-li>\n <c8y-li-icon\n [icon]=\"checkIfLast(archive) ? 'flag-checkered' : 'file-zip-o'\"\n ></c8y-li-icon>\n <c8y-li-body>\n <div class=\"d-flex a-i-start\">\n <div style=\"min-width: 0; flex: 1\">\n <span\n class=\"text-truncate-wrap\"\n title=\" {{ archive.description || archive.name }}\"\n >\n {{ archive.description || archive.name }}\n </span>\n @if (archive.description) {\n <small class=\"text-muted\">{{ archive.description }}</small>\n }\n </div>\n @if (isLoading && toActivate(archive)) {\n <i\n class=\"icon-spin\"\n [c8yIcon]=\"'circle-o-notch'\"\n title=\"{{ 'Activating' | translate }}\"\n ></i>\n }\n @if (isActive(archive)) {\n <span class=\"label label-primary m-l-auto m-t-4\">{{ 'Active' | translate }}</span>\n }\n </div>\n </c8y-li-body>\n @if (hasAdminPermissions && !isLoading && !isActive(archive)) {\n <c8y-li-action\n icon=\"check-square-o\"\n (click)=\"setActive(archive)\"\n >\n {{ 'Set as active`archive`' | translate }}\n </c8y-li-action>\n }\n <c8y-li-action\n icon=\"download\"\n (click)=\"downloadArchive(archive)\"\n >\n {{ 'Download`archive`' | translate }}\n </c8y-li-action>\n @if (\n hasAdminPermissions &&\n archives.length > 1 &&\n !checkIfLast(archive) &&\n !isActive(archive)\n ) {\n <c8y-li-action\n icon=\"delete\"\n (click)=\"deleteArchive(archive)\"\n >\n {{ 'Delete`archive`' | translate }}\n </c8y-li-action>\n }\n @if (hasAdminPermissions && canReactivate && isActive(archive)) {\n <c8y-li-action\n icon=\"undo\"\n (click)=\"reactivateArchive()\"\n >\n {{ 'Reactivate archive' | translate }}\n </c8y-li-action>\n }\n </c8y-li>\n </c8y-li-timeline>\n }\n </c8y-list-group>\n </div>\n</div>\n@if (!isLoading && hasAdminPermissions) {\n <div class=\"card-footer\">\n <c8y-form-group class=\"m-auto\">\n <c8y-upload-archive\n [(application)]=\"application\"\n (refresh)=\"onRefresh()\"\n ></c8y-upload-archive>\n </c8y-form-group>\n </div>\n}\n", dependencies: [{ kind: "component", type: ListGroupComponent, selector: "c8y-list-group" }, { kind: "component", type: ListItemTimelineComponent, selector: "c8y-list-item-timeline, c8y-li-timeline" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListItemComponent, selector: "c8y-list-item, c8y-li", inputs: ["active", "highlighted", "emptyActions", "dense", "collapsed", "selectable"], outputs: ["collapsedChange"] }, { kind: "component", type: ListItemIconComponent, selector: "c8y-list-item-icon, c8y-li-icon", inputs: ["icon", "status"] }, { kind: "component", type: ListItemBodyComponent, selector: "c8y-list-item-body, c8y-li-body", inputs: ["body"] }, { kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "component", type: ListItemActionComponent, selector: "c8y-list-item-action, c8y-li-action", inputs: ["label", "icon", "disabled"], outputs: ["click"] }, { kind: "component", type: FormGroupComponent, selector: "c8y-form-group", inputs: ["hasError", "hasWarning", "hasSuccess", "novalidation", "status"] }, { kind: "component", type: UploadArchiveComponent, selector: "c8y-upload-archive", inputs: ["application", "uploadNewVersion", "preUploadCallback"], outputs: ["applicationChange", "refresh"] }, { kind: "component", type: LoadingComponent, selector: "c8y-loading", inputs: ["layout", "progress", "message"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }, { kind: "pipe", type: DatePipe, name: "c8yDate" }] }); }
|
|
99
99
|
}
|
|
100
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ActivityLogComponent, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{ selector: 'c8y-activity-log', imports: [
|
|
103
103
|
ListGroupComponent,
|
|
104
|
-
NgFor,
|
|
105
104
|
ListItemTimelineComponent,
|
|
106
105
|
NgClass,
|
|
107
106
|
ListItemComponent,
|
|
108
107
|
ListItemIconComponent,
|
|
109
108
|
ListItemBodyComponent,
|
|
110
|
-
NgIf,
|
|
111
109
|
IconDirective,
|
|
112
110
|
ListItemActionComponent,
|
|
113
111
|
FormGroupComponent,
|
|
114
112
|
UploadArchiveComponent,
|
|
115
113
|
C8yTranslatePipe,
|
|
116
|
-
DatePipe
|
|
117
|
-
|
|
114
|
+
DatePipe,
|
|
115
|
+
LoadingComponent
|
|
116
|
+
], template: "<div\n class=\"inner-scroll bg-level-1 flex-grow inner-scroll--md overflow-visible-sm overflow-visible-xs\"\n>\n <div class=\"card-block overflow-visible\">\n @if (isLoading && !archives.length) {\n <c8y-loading></c8y-loading>\n }\n <c8y-list-group>\n @for (archive of archives; track archive) {\n <c8y-li-timeline [ngClass]=\"{ active: isActive(archive) }\">\n {{ archive.created | c8yDate: 'mediumDate' }}\n {{ archive.created | c8yDate: 'shortTime' }}\n <c8y-li>\n <c8y-li-icon\n [icon]=\"checkIfLast(archive) ? 'flag-checkered' : 'file-zip-o'\"\n ></c8y-li-icon>\n <c8y-li-body>\n <div class=\"d-flex a-i-start\">\n <div style=\"min-width: 0; flex: 1\">\n <span\n class=\"text-truncate-wrap\"\n title=\" {{ archive.description || archive.name }}\"\n >\n {{ archive.description || archive.name }}\n </span>\n @if (archive.description) {\n <small class=\"text-muted\">{{ archive.description }}</small>\n }\n </div>\n @if (isLoading && toActivate(archive)) {\n <i\n class=\"icon-spin\"\n [c8yIcon]=\"'circle-o-notch'\"\n title=\"{{ 'Activating' | translate }}\"\n ></i>\n }\n @if (isActive(archive)) {\n <span class=\"label label-primary m-l-auto m-t-4\">{{ 'Active' | translate }}</span>\n }\n </div>\n </c8y-li-body>\n @if (hasAdminPermissions && !isLoading && !isActive(archive)) {\n <c8y-li-action\n icon=\"check-square-o\"\n (click)=\"setActive(archive)\"\n >\n {{ 'Set as active`archive`' | translate }}\n </c8y-li-action>\n }\n <c8y-li-action\n icon=\"download\"\n (click)=\"downloadArchive(archive)\"\n >\n {{ 'Download`archive`' | translate }}\n </c8y-li-action>\n @if (\n hasAdminPermissions &&\n archives.length > 1 &&\n !checkIfLast(archive) &&\n !isActive(archive)\n ) {\n <c8y-li-action\n icon=\"delete\"\n (click)=\"deleteArchive(archive)\"\n >\n {{ 'Delete`archive`' | translate }}\n </c8y-li-action>\n }\n @if (hasAdminPermissions && canReactivate && isActive(archive)) {\n <c8y-li-action\n icon=\"undo\"\n (click)=\"reactivateArchive()\"\n >\n {{ 'Reactivate archive' | translate }}\n </c8y-li-action>\n }\n </c8y-li>\n </c8y-li-timeline>\n }\n </c8y-list-group>\n </div>\n</div>\n@if (!isLoading && hasAdminPermissions) {\n <div class=\"card-footer\">\n <c8y-form-group class=\"m-auto\">\n <c8y-upload-archive\n [(application)]=\"application\"\n (refresh)=\"onRefresh()\"\n ></c8y-upload-archive>\n </c8y-form-group>\n </div>\n}\n" }]
|
|
118
117
|
}], ctorParameters: () => [{ type: i1.EcosystemService }, { type: i2.AlertService }], propDecorators: { application: [{
|
|
119
118
|
type: Input
|
|
120
119
|
}], hasAdminPermissions: [{
|