@c8y/ngx-components 1021.77.0 → 1021.77.2
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/esm2022/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-processing.service.mjs +3 -3
- package/esm2022/operations/bulk-operations-service/bulk-operations.service.mjs +21 -2
- package/esm2022/operations/bulk-single-operations-list/bulk-single-operations-list.module.mjs +9 -7
- package/esm2022/operations/bulk-single-operations-list/single-operation-item.component.mjs +4 -1
- package/esm2022/operations/bulk-single-operations-list/single-operations-list.component.mjs +94 -20
- package/esm2022/operations/grid-columns/c8y-ngx-components-operations-grid-columns.mjs +5 -0
- package/esm2022/operations/grid-columns/creation-time.cell-renderer.component.mjs +28 -0
- package/esm2022/operations/grid-columns/creation-time.grid-column.mjs +14 -0
- package/esm2022/operations/grid-columns/device.cell-renderer.component.mjs +50 -0
- package/esm2022/operations/grid-columns/device.grid-column.mjs +14 -0
- package/esm2022/operations/grid-columns/failure-reason.cell-renderer.component.mjs +54 -0
- package/esm2022/operations/grid-columns/failure-reason.grid-column.mjs +14 -0
- package/esm2022/operations/grid-columns/index.mjs +9 -0
- package/esm2022/operations/grid-columns/status.cell-renderer.component.mjs +43 -0
- package/esm2022/operations/grid-columns/status.grid-column.mjs +15 -0
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +2 -2
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs +20 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs +102 -21
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs +214 -0
- package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs.map +1 -0
- package/operations/bulk-operations-service/bulk-operations.service.d.ts +5 -3
- package/operations/bulk-operations-service/bulk-operations.service.d.ts.map +1 -1
- package/operations/bulk-single-operations-list/bulk-single-operations-list.module.d.ts +10 -8
- package/operations/bulk-single-operations-list/bulk-single-operations-list.module.d.ts.map +1 -1
- package/operations/bulk-single-operations-list/single-operation-item.component.d.ts +3 -0
- package/operations/bulk-single-operations-list/single-operation-item.component.d.ts.map +1 -1
- package/operations/bulk-single-operations-list/single-operations-list.component.d.ts +18 -4
- package/operations/bulk-single-operations-list/single-operations-list.component.d.ts.map +1 -1
- package/operations/grid-columns/c8y-ngx-components-operations-grid-columns.d.ts.map +1 -0
- package/operations/grid-columns/creation-time.cell-renderer.component.d.ts +9 -0
- package/operations/grid-columns/creation-time.cell-renderer.component.d.ts.map +1 -0
- package/operations/grid-columns/creation-time.grid-column.d.ts +5 -0
- package/operations/grid-columns/creation-time.grid-column.d.ts.map +1 -0
- package/operations/grid-columns/device.cell-renderer.component.d.ts +14 -0
- package/operations/grid-columns/device.cell-renderer.component.d.ts.map +1 -0
- package/operations/grid-columns/device.grid-column.d.ts +5 -0
- package/operations/grid-columns/device.grid-column.d.ts.map +1 -0
- package/operations/grid-columns/failure-reason.cell-renderer.component.d.ts +9 -0
- package/operations/grid-columns/failure-reason.cell-renderer.component.d.ts.map +1 -0
- package/operations/grid-columns/failure-reason.grid-column.d.ts +5 -0
- package/operations/grid-columns/failure-reason.grid-column.d.ts.map +1 -0
- package/operations/grid-columns/index.d.ts +9 -0
- package/operations/grid-columns/index.d.ts.map +1 -0
- package/operations/grid-columns/status.cell-renderer.component.d.ts +11 -0
- package/operations/grid-columns/status.cell-renderer.component.d.ts.map +1 -0
- package/operations/grid-columns/status.grid-column.d.ts +5 -0
- package/operations/grid-columns/status.grid-column.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, inject } from '@angular/core';
|
|
3
|
+
import * as i1 from '@c8y/ngx-components';
|
|
4
|
+
import { CommonModule, BaseColumn, gettext, DeviceStatusModule, C8yTranslatePipe } from '@c8y/ngx-components';
|
|
5
|
+
import * as i3 from 'ngx-bootstrap/tooltip';
|
|
6
|
+
import { TooltipModule } from 'ngx-bootstrap/tooltip';
|
|
7
|
+
import * as i2 from '@angular/router';
|
|
8
|
+
import { RouterModule } from '@angular/router';
|
|
9
|
+
import { InventoryService } from '@c8y/client';
|
|
10
|
+
import * as i2$1 from '@angular/common';
|
|
11
|
+
import { OPERATION_STATUS_OPTIONS_MAP } from '@c8y/ngx-components/operations/shared';
|
|
12
|
+
|
|
13
|
+
class CreationTimeCellRendererComponent {
|
|
14
|
+
constructor(context) {
|
|
15
|
+
this.context = context;
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CreationTimeCellRendererComponent, deps: [{ token: i1.CellRendererContext }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CreationTimeCellRendererComponent, isStandalone: true, selector: "c8y-creation-time-cell-renderer", ngImport: i0, template: `<small class="icon-flex text-muted">
|
|
19
|
+
<i class="m-r-4" c8yIcon="calendar"></i>
|
|
20
|
+
{{ context.item.creationTime | c8yDate }}
|
|
21
|
+
</small>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "pipe", type: i1.DatePipe, name: "c8yDate" }, { kind: "ngmodule", type: TooltipModule }] }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CreationTimeCellRendererComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
template: `<small class="icon-flex text-muted">
|
|
27
|
+
<i class="m-r-4" c8yIcon="calendar"></i>
|
|
28
|
+
{{ context.item.creationTime | c8yDate }}
|
|
29
|
+
</small>`,
|
|
30
|
+
selector: 'c8y-creation-time-cell-renderer',
|
|
31
|
+
standalone: true,
|
|
32
|
+
imports: [CommonModule, TooltipModule]
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: () => [{ type: i1.CellRendererContext }] });
|
|
35
|
+
|
|
36
|
+
class CreationTimeGridColumn extends BaseColumn {
|
|
37
|
+
constructor(initialColumnConfig) {
|
|
38
|
+
super(initialColumnConfig);
|
|
39
|
+
this.name = 'creationTime';
|
|
40
|
+
this.path = 'creationTime';
|
|
41
|
+
this.header = gettext('Creation time');
|
|
42
|
+
this.cellRendererComponent = CreationTimeCellRendererComponent;
|
|
43
|
+
this.filterable = false;
|
|
44
|
+
this.sortable = false;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
class DeviceCellRendererComponent {
|
|
49
|
+
constructor(context) {
|
|
50
|
+
this.context = context;
|
|
51
|
+
this.inventoryService = inject(InventoryService);
|
|
52
|
+
}
|
|
53
|
+
async ngOnInit() {
|
|
54
|
+
this.device = (await this.inventoryService.detail(this.context.item.deviceId))?.data;
|
|
55
|
+
}
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DeviceCellRendererComponent, deps: [{ token: i1.CellRendererContext }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DeviceCellRendererComponent, isStandalone: true, selector: "c8y-operation-device-cell-renderer", ngImport: i0, template: `
|
|
58
|
+
<span class="m-r-4">
|
|
59
|
+
<device-status [mo]="device || {}"></device-status>
|
|
60
|
+
</span>
|
|
61
|
+
<a
|
|
62
|
+
class="interact"
|
|
63
|
+
[title]="context.item.deviceName"
|
|
64
|
+
[routerLink]="['/device', context.item.deviceId, 'device-info']"
|
|
65
|
+
>
|
|
66
|
+
{{ context.item.deviceName }}
|
|
67
|
+
</a>
|
|
68
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: DeviceStatusModule }, { kind: "component", type: i1.DeviceStatusComponent, selector: "device-status, c8y-device-status", inputs: ["mo", "size"] }] }); }
|
|
69
|
+
}
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DeviceCellRendererComponent, decorators: [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{
|
|
73
|
+
template: `
|
|
74
|
+
<span class="m-r-4">
|
|
75
|
+
<device-status [mo]="device || {}"></device-status>
|
|
76
|
+
</span>
|
|
77
|
+
<a
|
|
78
|
+
class="interact"
|
|
79
|
+
[title]="context.item.deviceName"
|
|
80
|
+
[routerLink]="['/device', context.item.deviceId, 'device-info']"
|
|
81
|
+
>
|
|
82
|
+
{{ context.item.deviceName }}
|
|
83
|
+
</a>
|
|
84
|
+
`,
|
|
85
|
+
selector: 'c8y-operation-device-cell-renderer',
|
|
86
|
+
standalone: true,
|
|
87
|
+
imports: [CommonModule, RouterModule, DeviceStatusModule]
|
|
88
|
+
}]
|
|
89
|
+
}], ctorParameters: () => [{ type: i1.CellRendererContext }] });
|
|
90
|
+
|
|
91
|
+
class DeviceGridColumn extends BaseColumn {
|
|
92
|
+
constructor(initialColumnConfig) {
|
|
93
|
+
super(initialColumnConfig);
|
|
94
|
+
this.name = 'deviceName';
|
|
95
|
+
this.path = 'deviceName';
|
|
96
|
+
this.header = gettext('Device');
|
|
97
|
+
this.cellRendererComponent = DeviceCellRendererComponent;
|
|
98
|
+
this.filterable = false;
|
|
99
|
+
this.sortable = false;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
class FailureReasonCellRendererComponent {
|
|
104
|
+
constructor(context) {
|
|
105
|
+
this.context = context;
|
|
106
|
+
}
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FailureReasonCellRendererComponent, deps: [{ token: i1.CellRendererContext }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
108
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FailureReasonCellRendererComponent, isStandalone: true, selector: "c8y-failure-reason-cell-renderer", ngImport: i0, template: ` <div class="d-flex">
|
|
109
|
+
<span class="text-truncate" #failureReason>
|
|
110
|
+
{{ context.value | translate }}
|
|
111
|
+
</span>
|
|
112
|
+
<button
|
|
113
|
+
class="btn-help btn-help--sm"
|
|
114
|
+
[attr.aria-label]="'Help' | translate"
|
|
115
|
+
[tooltip]="context.value | translate"
|
|
116
|
+
placement="left"
|
|
117
|
+
container="body"
|
|
118
|
+
type="button"
|
|
119
|
+
*ngIf="failureReason.offsetWidth < failureReason.scrollWidth"
|
|
120
|
+
>
|
|
121
|
+
<i [c8yIcon]="'info-circle'"></i>
|
|
122
|
+
</button>
|
|
123
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "pipe", type: i1.C8yTranslatePipe, name: "translate" }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }] }); }
|
|
124
|
+
}
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FailureReasonCellRendererComponent, decorators: [{
|
|
126
|
+
type: Component,
|
|
127
|
+
args: [{
|
|
128
|
+
template: ` <div class="d-flex">
|
|
129
|
+
<span class="text-truncate" #failureReason>
|
|
130
|
+
{{ context.value | translate }}
|
|
131
|
+
</span>
|
|
132
|
+
<button
|
|
133
|
+
class="btn-help btn-help--sm"
|
|
134
|
+
[attr.aria-label]="'Help' | translate"
|
|
135
|
+
[tooltip]="context.value | translate"
|
|
136
|
+
placement="left"
|
|
137
|
+
container="body"
|
|
138
|
+
type="button"
|
|
139
|
+
*ngIf="failureReason.offsetWidth < failureReason.scrollWidth"
|
|
140
|
+
>
|
|
141
|
+
<i [c8yIcon]="'info-circle'"></i>
|
|
142
|
+
</button>
|
|
143
|
+
</div>`,
|
|
144
|
+
selector: 'c8y-failure-reason-cell-renderer',
|
|
145
|
+
standalone: true,
|
|
146
|
+
imports: [CommonModule, TooltipModule]
|
|
147
|
+
}]
|
|
148
|
+
}], ctorParameters: () => [{ type: i1.CellRendererContext }] });
|
|
149
|
+
|
|
150
|
+
class FailureReasonGridColumn extends BaseColumn {
|
|
151
|
+
constructor(initialColumnConfig) {
|
|
152
|
+
super(initialColumnConfig);
|
|
153
|
+
this.name = 'failureReason';
|
|
154
|
+
this.path = 'failureReason';
|
|
155
|
+
this.header = gettext('Failure reason');
|
|
156
|
+
this.cellRendererComponent = FailureReasonCellRendererComponent;
|
|
157
|
+
this.filterable = false;
|
|
158
|
+
this.sortable = false;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
class StatusCellRendererComponent {
|
|
163
|
+
constructor(context) {
|
|
164
|
+
this.context = context;
|
|
165
|
+
this.OPERATION_STATUS_OPTIONS_MAP = OPERATION_STATUS_OPTIONS_MAP;
|
|
166
|
+
}
|
|
167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StatusCellRendererComponent, deps: [{ token: i1.CellRendererContext }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
168
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: StatusCellRendererComponent, isStandalone: true, selector: "c8y-operation-status-cell-renderer", ngImport: i0, template: `
|
|
169
|
+
<i
|
|
170
|
+
[c8yIcon]="OPERATION_STATUS_OPTIONS_MAP[context.item.status].icon"
|
|
171
|
+
style="font-size: 20px"
|
|
172
|
+
[tooltip]="context.item.status.toString() | translate"
|
|
173
|
+
container="body"
|
|
174
|
+
[ngClass]="OPERATION_STATUS_OPTIONS_MAP[context.item.status].styleClass"
|
|
175
|
+
></i>
|
|
176
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "pipe", type: i1.C8yTranslatePipe, name: "translate" }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }] }); }
|
|
177
|
+
}
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StatusCellRendererComponent, decorators: [{
|
|
179
|
+
type: Component,
|
|
180
|
+
args: [{
|
|
181
|
+
template: `
|
|
182
|
+
<i
|
|
183
|
+
[c8yIcon]="OPERATION_STATUS_OPTIONS_MAP[context.item.status].icon"
|
|
184
|
+
style="font-size: 20px"
|
|
185
|
+
[tooltip]="context.item.status.toString() | translate"
|
|
186
|
+
container="body"
|
|
187
|
+
[ngClass]="OPERATION_STATUS_OPTIONS_MAP[context.item.status].styleClass"
|
|
188
|
+
></i>
|
|
189
|
+
`,
|
|
190
|
+
selector: 'c8y-operation-status-cell-renderer',
|
|
191
|
+
standalone: true,
|
|
192
|
+
imports: [CommonModule, RouterModule, C8yTranslatePipe, TooltipModule]
|
|
193
|
+
}]
|
|
194
|
+
}], ctorParameters: () => [{ type: i1.CellRendererContext }] });
|
|
195
|
+
|
|
196
|
+
class OperationStatusGridColumn extends BaseColumn {
|
|
197
|
+
constructor(initialColumnConfig) {
|
|
198
|
+
super(initialColumnConfig);
|
|
199
|
+
this.name = 'status';
|
|
200
|
+
this.path = 'status';
|
|
201
|
+
this.header = gettext('Status');
|
|
202
|
+
this.cellRendererComponent = StatusCellRendererComponent;
|
|
203
|
+
this.filterable = false;
|
|
204
|
+
this.sortable = false;
|
|
205
|
+
this.gridTrackSize = '76px';
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Generated bundle index. Do not edit.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
export { CreationTimeCellRendererComponent, CreationTimeGridColumn, DeviceCellRendererComponent, DeviceGridColumn, FailureReasonCellRendererComponent, FailureReasonGridColumn, OperationStatusGridColumn, StatusCellRendererComponent };
|
|
214
|
+
//# sourceMappingURL=c8y-ngx-components-operations-grid-columns.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-operations-grid-columns.mjs","sources":["../../operations/grid-columns/creation-time.cell-renderer.component.ts","../../operations/grid-columns/creation-time.grid-column.ts","../../operations/grid-columns/device.cell-renderer.component.ts","../../operations/grid-columns/device.grid-column.ts","../../operations/grid-columns/failure-reason.cell-renderer.component.ts","../../operations/grid-columns/failure-reason.grid-column.ts","../../operations/grid-columns/status.cell-renderer.component.ts","../../operations/grid-columns/status.grid-column.ts","../../operations/grid-columns/c8y-ngx-components-operations-grid-columns.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { CellRendererContext, CommonModule } from '@c8y/ngx-components';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\n\n@Component({\n template: `<small class=\"icon-flex text-muted\">\n <i class=\"m-r-4\" c8yIcon=\"calendar\"></i>\n {{ context.item.creationTime | c8yDate }}\n </small>`,\n selector: 'c8y-creation-time-cell-renderer',\n standalone: true,\n imports: [CommonModule, TooltipModule]\n})\nexport class CreationTimeCellRendererComponent {\n constructor(public context: CellRendererContext) {}\n}\n","import { BaseColumn, ColumnConfig, gettext } from '@c8y/ngx-components';\nimport { CreationTimeCellRendererComponent } from './creation-time.cell-renderer.component';\n\nexport class CreationTimeGridColumn extends BaseColumn {\n constructor(initialColumnConfig?: ColumnConfig) {\n super(initialColumnConfig);\n this.name = 'creationTime';\n this.path = 'creationTime';\n this.header = gettext('Creation time');\n this.cellRendererComponent = CreationTimeCellRendererComponent;\n\n this.filterable = false;\n this.sortable = false;\n }\n}\n","import { Component, inject, OnInit } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { InventoryService } from '@c8y/client';\nimport { CellRendererContext, CommonModule, DeviceStatusModule } from '@c8y/ngx-components';\nimport { IManagedObject } from 'packages/client/lib';\n\n@Component({\n template: `\n <span class=\"m-r-4\">\n <device-status [mo]=\"device || {}\"></device-status>\n </span>\n <a\n class=\"interact\"\n [title]=\"context.item.deviceName\"\n [routerLink]=\"['/device', context.item.deviceId, 'device-info']\"\n >\n {{ context.item.deviceName }}\n </a>\n `,\n selector: 'c8y-operation-device-cell-renderer',\n standalone: true,\n imports: [CommonModule, RouterModule, DeviceStatusModule]\n})\nexport class DeviceCellRendererComponent implements OnInit {\n device: IManagedObject;\n\n private inventoryService = inject(InventoryService);\n\n constructor(public context: CellRendererContext) {}\n\n async ngOnInit() {\n this.device = (await this.inventoryService.detail(this.context.item.deviceId))?.data;\n }\n}\n","import { BaseColumn, ColumnConfig, gettext } from '@c8y/ngx-components';\nimport { DeviceCellRendererComponent } from './device.cell-renderer.component';\n\nexport class DeviceGridColumn extends BaseColumn {\n constructor(initialColumnConfig?: ColumnConfig) {\n super(initialColumnConfig);\n this.name = 'deviceName';\n this.path = 'deviceName';\n this.header = gettext('Device');\n this.cellRendererComponent = DeviceCellRendererComponent;\n\n this.filterable = false;\n this.sortable = false;\n }\n}\n","import { Component } from '@angular/core';\nimport { CellRendererContext, CommonModule } from '@c8y/ngx-components';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\n\n@Component({\n template: ` <div class=\"d-flex\">\n <span class=\"text-truncate\" #failureReason>\n {{ context.value | translate }}\n </span>\n <button\n class=\"btn-help btn-help--sm\"\n [attr.aria-label]=\"'Help' | translate\"\n [tooltip]=\"context.value | translate\"\n placement=\"left\"\n container=\"body\"\n type=\"button\"\n *ngIf=\"failureReason.offsetWidth < failureReason.scrollWidth\"\n >\n <i [c8yIcon]=\"'info-circle'\"></i>\n </button>\n </div>`,\n selector: 'c8y-failure-reason-cell-renderer',\n standalone: true,\n imports: [CommonModule, TooltipModule]\n})\nexport class FailureReasonCellRendererComponent {\n constructor(public context: CellRendererContext) {}\n}\n","import { BaseColumn, ColumnConfig, gettext } from '@c8y/ngx-components';\nimport { FailureReasonCellRendererComponent } from './failure-reason.cell-renderer.component';\n\nexport class FailureReasonGridColumn extends BaseColumn {\n constructor(initialColumnConfig?: ColumnConfig) {\n super(initialColumnConfig);\n this.name = 'failureReason';\n this.path = 'failureReason';\n this.header = gettext('Failure reason');\n this.cellRendererComponent = FailureReasonCellRendererComponent;\n\n this.filterable = false;\n this.sortable = false;\n }\n}\n","import { Component } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { C8yTranslatePipe, CellRendererContext, CommonModule } from '@c8y/ngx-components';\nimport {\n OPERATION_STATUS_OPTIONS_MAP,\n OperationStatusOptionsMapShared\n} from '@c8y/ngx-components/operations/shared';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\n\n@Component({\n template: `\n <i\n [c8yIcon]=\"OPERATION_STATUS_OPTIONS_MAP[context.item.status].icon\"\n style=\"font-size: 20px\"\n [tooltip]=\"context.item.status.toString() | translate\"\n container=\"body\"\n [ngClass]=\"OPERATION_STATUS_OPTIONS_MAP[context.item.status].styleClass\"\n ></i>\n `,\n selector: 'c8y-operation-status-cell-renderer',\n standalone: true,\n imports: [CommonModule, RouterModule, C8yTranslatePipe, TooltipModule]\n})\nexport class StatusCellRendererComponent {\n OPERATION_STATUS_OPTIONS_MAP: OperationStatusOptionsMapShared = OPERATION_STATUS_OPTIONS_MAP;\n constructor(public context: CellRendererContext) {}\n}\n","import { BaseColumn, ColumnConfig, gettext } from '@c8y/ngx-components';\nimport { StatusCellRendererComponent } from './status.cell-renderer.component';\n\nexport class OperationStatusGridColumn extends BaseColumn {\n constructor(initialColumnConfig?: ColumnConfig) {\n super(initialColumnConfig);\n this.name = 'status';\n this.path = 'status';\n this.header = gettext('Status');\n this.cellRendererComponent = StatusCellRendererComponent;\n\n this.filterable = false;\n this.sortable = false;\n\n this.gridTrackSize = '76px';\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;;;;;MAaa,iCAAiC,CAAA;AAC5C,IAAA,WAAA,CAAmB,OAA4B,EAAA;QAA5B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;KAAI;+GADxC,iCAAiC,EAAA,IAAA,EAAA,CAAA,EAAA,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iBAAA,CAAA;;;ACnBK,MAAO,yBAA0B,SAAQ,UAAU,CAAA;AACvD,IAAA,WAAA,CAAY,mBAAkC,EAAA;QAC5C,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAC3B,QAAA,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;AACrB,QAAA,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;AACrB,QAAA,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAChC,QAAA,IAAI,CAAC,qBAAqB,GAAG,2BAA2B,CAAC;AAEzD,QAAA,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;AACxB,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;AAEtB,QAAA,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;KAC7B;AACF;;AChBD;;AAEG;;;;"}
|
|
@@ -2,10 +2,10 @@ import { Location } from '@angular/common';
|
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { IdReference, IManagedObject, InventoryService, IOperation, IOperationBulk, IResult, OperationBulkService, OperationService } from '@c8y/client';
|
|
5
|
+
import { GenericHookOptions, GenericHookType, Pagination } from '@c8y/ngx-components';
|
|
6
|
+
import { BulkOperationType } from './bulk-operation.model';
|
|
5
7
|
import { OperationDetails } from './operation-details.model';
|
|
6
8
|
import { OperationType } from './operation-type.model';
|
|
7
|
-
import { BulkOperationType } from './bulk-operation.model';
|
|
8
|
-
import { GenericHookType, GenericHookOptions } from '@c8y/ngx-components';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare const baseUrl = "devicecontrol/bulk/creation/";
|
|
11
11
|
/**
|
|
@@ -55,7 +55,9 @@ export declare class BulkOperationsService {
|
|
|
55
55
|
setFirmwareId(id: IdReference): void;
|
|
56
56
|
createGroup(deviceQueryDataString: string): Promise<IResult<IManagedObject>>;
|
|
57
57
|
scheduleBulkOperation(deviceQueryString: string, details: OperationDetails): Promise<void>;
|
|
58
|
-
getSingleOperationsByStatus(status: any, bulkOperationId: any): Promise<import("@c8y/client").IResultList<IOperation>>;
|
|
58
|
+
getSingleOperationsByStatus(status: any, bulkOperationId: any, pagination?: Pagination): Promise<import("@c8y/client").IResultList<IOperation>>;
|
|
59
|
+
getSingleOperationsCountByStatus(status: any, bulkOperationId: any): Promise<number>;
|
|
60
|
+
getSingleOperationsTotal(bulkOperationId: any): Promise<number>;
|
|
59
61
|
updateSingleOperation(partialUpdateObject: Partial<IOperation>): Promise<IResult<IOperation>>;
|
|
60
62
|
retrieveBulkOperationType(operation: IOperation): BulkOperationType;
|
|
61
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<BulkOperationsService, [null, null, null, null, { optional: true; }]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-operations.service.d.ts","sourceRoot":"","sources":["../../../operations/bulk-operations-service/bulk-operations.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAsB,cAAc,EAAY,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EACL,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,OAAO,EACP,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"bulk-operations.service.d.ts","sourceRoot":"","sources":["../../../operations/bulk-operations-service/bulk-operations.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAsB,cAAc,EAAY,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EACL,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV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AY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAItD,6BAA6B;IAI7B,YAAY,CAAC,IAAI,EAAE,aAAa,EAAE;IAIlC,YAAY,IAAI,aAAa,EAAE;IAI/B,aAAa,CAAC,EAAE,EAAE,WAAW;IAI7B,WAAW,CAAC,qBAAqB,EAAE,MAAM;IAWnC,qBAAqB,CAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB;IAchF,2BAA2B,CAAC,MAAM,KAAA,EAAE,eAAe,KAAA,EAAE,UAAU,CAAC,EAAE,UAAU;IAYtE,gCAAgC,CAAC,MAAM,KAAA,EAAE,eAAe,KAAA,GAAG,OAAO,CAAC,MAAM,CAAC;IAW1E,wBAAwB,CAAC,eAAe,KAAA,GAAG,OAAO,CAAC,MAAM,CAAC;IAUhE,qBAAqB,CAAC,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC;IAI9D,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,iBAAiB;yCArIxD,qBAAqB;6CAArB,qBAAqB;CAiJjC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./single-
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@c8y/ngx-components/operations/status-filter";
|
|
2
|
+
import * as i1 from "./single-operation-item.component";
|
|
3
|
+
import * as i2 from "@c8y/ngx-components";
|
|
4
|
+
import * as i3 from "ngx-bootstrap/popover";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "ngx-bootstrap/tooltip";
|
|
7
|
+
import * as i6 from "./single-operations-list.component";
|
|
9
8
|
/**
|
|
10
9
|
* This module allows for displaying the list of single operations in a bulk operations details.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated This module is deprecated and will be removed in a future version. I
|
|
12
|
+
* nstead, use the `SingleOperationsListComponent` as a standalone component directly.
|
|
11
13
|
*/
|
|
12
14
|
export declare class BulkSingleOperationsListModule {
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BulkSingleOperationsListModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BulkSingleOperationsListModule, [typeof i1.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BulkSingleOperationsListModule, [typeof i1.SingleOperationItemComponent], [typeof i2.CoreModule, typeof i3.PopoverModule, typeof i4.RouterModule, typeof i5.TooltipModule, typeof i6.SingleOperationsListComponent], [typeof i6.SingleOperationsListComponent, typeof i1.SingleOperationItemComponent]>;
|
|
15
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<BulkSingleOperationsListModule>;
|
|
16
18
|
}
|
|
17
19
|
//# sourceMappingURL=bulk-single-operations-list.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-single-operations-list.module.d.ts","sourceRoot":"","sources":["../../../operations/bulk-single-operations-list/bulk-single-operations-list.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-single-operations-list.module.d.ts","sourceRoot":"","sources":["../../../operations/bulk-single-operations-list/bulk-single-operations-list.module.ts"],"names":[],"mappings":";;;;;;;AAQA;;;;;GAKG;AACH,qBAKa,8BAA8B;yCAA9B,8BAA8B;0CAA9B,8BAA8B;0CAA9B,8BAA8B;CAAG"}
|
|
@@ -3,6 +3,9 @@ import { InventoryService, IOperation, OperationService } from '@c8y/client';
|
|
|
3
3
|
import { AlertService } from '@c8y/ngx-components';
|
|
4
4
|
import { OperationStatusOptionsMapShared } from '@c8y/ngx-components/operations/shared';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Single operations list in bulk operations details has been replaced by data grid. This component will be removed in the future.
|
|
8
|
+
*/
|
|
6
9
|
export declare class SingleOperationItemComponent {
|
|
7
10
|
private alertService;
|
|
8
11
|
private inventoryService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-operation-item.component.d.ts","sourceRoot":"","sources":["../../../operations/bulk-single-operations-list/single-operation-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAM5D,OAAO,
|
|
1
|
+
{"version":3,"file":"single-operation-item.component.d.ts","sourceRoot":"","sources":["../../../operations/bulk-single-operations-list/single-operation-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAM5D,OAAO,EAGL,+BAA+B,EAChC,MAAM,uCAAuC,CAAC;;AAG/C;;GAEG;AACH,qBAIa,4BAA4B;IAcrC,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,gBAAgB;IAf1B,oBAAoB,SAAwB;IAC5C,OAAO;;;;MAAsB;IAC7B,UAAU;;;MAAc;IACxB,MAAM,KAAM;IACZ,uBAAuB;;;;;MAA2B;IAClD,4BAA4B,EAAE,+BAA+B,CAAgC;IAE7F,SAAS,EAAE,UAAU,CAAC;IAEtB,QAAQ,UAAS;IAC6B,gBAAgB,EAAE,UAAU,CAAC;gBAGjE,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB;IAGtC,QAAQ;IAIR,oBAAoB,CAAC,eAAe,KAAA;yCAvB/B,4BAA4B;2CAA5B,4BAA4B;CAwCxC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IOperation, IOperationBulk, IResultList, OperationStatus } from '@c8y/client';
|
|
3
|
-
import {
|
|
3
|
+
import { ActionControl, Column, DataGridComponent, DataSourceModifier, DisplayOptions, Pagination, ServerSideDataCallback, ServerSideDataResult } from '@c8y/ngx-components';
|
|
4
4
|
import { BulkOperationsService } from '@c8y/ngx-components/operations/bulk-operations-service';
|
|
5
5
|
import { OperationStatusOption, OperationStatusOptionsMapShared } from '@c8y/ngx-components/operations/shared';
|
|
6
|
+
import { StatusFilterComponent } from '@c8y/ngx-components/operations/status-filter';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SingleOperationsListComponent implements AfterViewInit, OnChanges {
|
|
8
9
|
private bulkOperationsService;
|
|
@@ -10,6 +11,7 @@ export declare class SingleOperationsListComponent implements AfterViewInit, OnC
|
|
|
10
11
|
readOnly: boolean;
|
|
11
12
|
onRetryFailedOperations: EventEmitter<Partial<IOperationBulk>>;
|
|
12
13
|
statusFilter: StatusFilterComponent;
|
|
14
|
+
dataGrid: DataGridComponent;
|
|
13
15
|
OPERATION_STATUS: {
|
|
14
16
|
ALL: "ALL";
|
|
15
17
|
PENDING: OperationStatus.PENDING;
|
|
@@ -25,14 +27,26 @@ export declare class SingleOperationsListComponent implements AfterViewInit, OnC
|
|
|
25
27
|
};
|
|
26
28
|
OPERATION_STATUS_OPTIONS_MAP: OperationStatusOptionsMapShared;
|
|
27
29
|
singleOperations: IResultList<IOperation>;
|
|
30
|
+
displayOptions: Partial<DisplayOptions>;
|
|
31
|
+
pagination: Pagination;
|
|
32
|
+
columns: Column[];
|
|
33
|
+
actions: ActionControl[];
|
|
34
|
+
serverSideDataCallback: ServerSideDataCallback;
|
|
35
|
+
private operationService;
|
|
36
|
+
private alertService;
|
|
37
|
+
private filterStatus;
|
|
38
|
+
private reload$;
|
|
39
|
+
private reloadThrottled$;
|
|
28
40
|
constructor(bulkOperationsService: BulkOperationsService);
|
|
29
41
|
ngAfterViewInit(): Promise<void>;
|
|
30
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
-
|
|
43
|
+
reload(option?: OperationStatusOption[]): void;
|
|
44
|
+
onDataSourceModifier(dataSourceModifier: DataSourceModifier): Promise<ServerSideDataResult>;
|
|
45
|
+
setStatusFilter(emit?: boolean): void;
|
|
32
46
|
getFilterTypeOfSingleOperations(): OperationStatus | "ALL";
|
|
33
|
-
getOperationsByStatus(filter: OperationStatusOption[]): Promise<void>;
|
|
34
47
|
retryBulkOperation(): void;
|
|
48
|
+
retrySingleOperation(singleOperation: any): Promise<void>;
|
|
35
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<SingleOperationsListComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SingleOperationsListComponent, "c8y-single-operations-list", never, { "bulkOperation": { "alias": "bulkOperation"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onRetryFailedOperations": "onRetryFailedOperations"; }, never, never,
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SingleOperationsListComponent, "c8y-single-operations-list", never, { "bulkOperation": { "alias": "bulkOperation"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onRetryFailedOperations": "onRetryFailedOperations"; }, never, never, true, never>;
|
|
37
51
|
}
|
|
38
52
|
//# sourceMappingURL=single-operations-list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-operations-list.component.d.ts","sourceRoot":"","sources":["../../../operations/bulk-single-operations-list/single-operations-list.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"single-operations-list.component.d.ts","sourceRoot":"","sources":["../../../operations/bulk-single-operations-list/single-operations-list.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EAEb,YA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E3B,qBAAqB,EAAE,qBAAqB;IAO1D,eAAe;IAMrB,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,MAAM,CAAC,MAAM,CAAC,EAAE,qBAAqB,EAAE;IAMjC,oBAAoB,CACxB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAAC,oBAAoB,CAAC;IAoBhC,eAAe,CAAC,IAAI,UAAO;IAc3B,+BAA+B;IAgB/B,kBAAkB;IAIZ,oBAAoB,CAAC,eAAe,KAAA;yCAxI/B,6BAA6B;2CAA7B,6BAA6B;CAyJzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-operations-grid-columns.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/c8y-ngx-components-operations-grid-columns.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CellRendererContext } from '@c8y/ngx-components';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CreationTimeCellRendererComponent {
|
|
4
|
+
context: CellRendererContext;
|
|
5
|
+
constructor(context: CellRendererContext);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreationTimeCellRendererComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreationTimeCellRendererComponent, "c8y-creation-time-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=creation-time.cell-renderer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creation-time.cell-renderer.component.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/creation-time.cell-renderer.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAgB,MAAM,qBAAqB,CAAC;;AAGxE,qBASa,iCAAiC;IACzB,OAAO,EAAE,mBAAmB;gBAA5B,OAAO,EAAE,mBAAmB;yCADpC,iCAAiC;2CAAjC,iCAAiC;CAE7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creation-time.grid-column.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/creation-time.grid-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAGxE,qBAAa,sBAAuB,SAAQ,UAAU;gBACxC,mBAAmB,CAAC,EAAE,YAAY;CAU/C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CellRendererContext } from '@c8y/ngx-components';
|
|
3
|
+
import { IManagedObject } from 'packages/client/lib';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DeviceCellRendererComponent implements OnInit {
|
|
6
|
+
context: CellRendererContext;
|
|
7
|
+
device: IManagedObject;
|
|
8
|
+
private inventoryService;
|
|
9
|
+
constructor(context: CellRendererContext);
|
|
10
|
+
ngOnInit(): Promise<void>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeviceCellRendererComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeviceCellRendererComponent, "c8y-operation-device-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=device.cell-renderer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.cell-renderer.component.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/device.cell-renderer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAE,mBAAmB,EAAoC,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAErD,qBAiBa,2BAA4B,YAAW,MAAM;IAKrC,OAAO,EAAE,mBAAmB;IAJ/C,MAAM,EAAE,cAAc,CAAC;IAEvB,OAAO,CAAC,gBAAgB,CAA4B;gBAEjC,OAAO,EAAE,mBAAmB;IAEzC,QAAQ;yCAPH,2BAA2B;2CAA3B,2BAA2B;CAUvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.grid-column.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/device.grid-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAGxE,qBAAa,gBAAiB,SAAQ,UAAU;gBAClC,mBAAmB,CAAC,EAAE,YAAY;CAU/C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CellRendererContext } from '@c8y/ngx-components';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FailureReasonCellRendererComponent {
|
|
4
|
+
context: CellRendererContext;
|
|
5
|
+
constructor(context: CellRendererContext);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FailureReasonCellRendererComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FailureReasonCellRendererComponent, "c8y-failure-reason-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=failure-reason.cell-renderer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failure-reason.cell-renderer.component.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/failure-reason.cell-renderer.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAgB,MAAM,qBAAqB,CAAC;;AAGxE,qBAqBa,kCAAkC;IAC1B,OAAO,EAAE,mBAAmB;gBAA5B,OAAO,EAAE,mBAAmB;yCADpC,kCAAkC;2CAAlC,kCAAkC;CAE9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failure-reason.grid-column.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/failure-reason.grid-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAGxE,qBAAa,uBAAwB,SAAQ,UAAU;gBACzC,mBAAmB,CAAC,EAAE,YAAY;CAU/C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './creation-time.cell-renderer.component';
|
|
2
|
+
export * from './creation-time.grid-column';
|
|
3
|
+
export * from './device.cell-renderer.component';
|
|
4
|
+
export * from './device.grid-column';
|
|
5
|
+
export * from './failure-reason.cell-renderer.component';
|
|
6
|
+
export * from './failure-reason.grid-column';
|
|
7
|
+
export * from './status.cell-renderer.component';
|
|
8
|
+
export * from './status.grid-column';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0CAA0C,CAAC;AACzD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CellRendererContext } from '@c8y/ngx-components';
|
|
2
|
+
import { OperationStatusOptionsMapShared } from '@c8y/ngx-components/operations/shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StatusCellRendererComponent {
|
|
5
|
+
context: CellRendererContext;
|
|
6
|
+
OPERATION_STATUS_OPTIONS_MAP: OperationStatusOptionsMapShared;
|
|
7
|
+
constructor(context: CellRendererContext);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusCellRendererComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusCellRendererComponent, "c8y-operation-status-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=status.cell-renderer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.cell-renderer.component.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/status.cell-renderer.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,mBAAmB,EAAgB,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAEL,+BAA+B,EAChC,MAAM,uCAAuC,CAAC;;AAG/C,qBAca,2BAA2B;IAEnB,OAAO,EAAE,mBAAmB;IAD/C,4BAA4B,EAAE,+BAA+B,CAAgC;gBAC1E,OAAO,EAAE,mBAAmB;yCAFpC,2BAA2B;2CAA3B,2BAA2B;CAGvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.grid-column.d.ts","sourceRoot":"","sources":["../../../operations/grid-columns/status.grid-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAGxE,qBAAa,yBAA0B,SAAQ,UAAU;gBAC3C,mBAAmB,CAAC,EAAE,YAAY;CAY/C"}
|