@c8y/ngx-components 1021.76.3 → 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.
Files changed (88) hide show
  1. package/core/common/ApplicationOptions.d.ts +2 -2
  2. package/core/login/login.component.d.ts.map +1 -1
  3. package/core/login/login.service.d.ts +1 -0
  4. package/core/login/login.service.d.ts.map +1 -1
  5. package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
  6. package/echart/charts.component.d.ts.map +1 -1
  7. package/echart/models/datapoints-graph-widget.model.d.ts +10 -0
  8. package/echart/models/datapoints-graph-widget.model.d.ts.map +1 -1
  9. package/echart/services/chart-realtime.service.d.ts +2 -5
  10. package/echart/services/chart-realtime.service.d.ts.map +1 -1
  11. package/echart/services/echarts-options.service.d.ts +4 -13
  12. package/echart/services/echarts-options.service.d.ts.map +1 -1
  13. package/echart/services/y-axis.service.d.ts +1 -1
  14. package/echart/services/y-axis.service.d.ts.map +1 -1
  15. package/esm2022/core/beta-feature/beta-preview-button.component.mjs +3 -3
  16. package/esm2022/core/beta-feature/beta-preview.component.mjs +3 -3
  17. package/esm2022/core/common/ApplicationOptions.mjs +1 -1
  18. package/esm2022/core/login/login.component.mjs +2 -1
  19. package/esm2022/core/login/login.service.mjs +5 -1
  20. package/esm2022/datapoint-explorer/view/datapoint-explorer.component.mjs +4 -3
  21. package/esm2022/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-processing.service.mjs +3 -3
  22. package/esm2022/echart/charts.component.mjs +8 -2
  23. package/esm2022/echart/models/datapoints-graph-widget.model.mjs +1 -1
  24. package/esm2022/echart/services/chart-realtime.service.mjs +1 -1
  25. package/esm2022/echart/services/echarts-options.service.mjs +23 -15
  26. package/esm2022/echart/services/y-axis.service.mjs +32 -1
  27. package/esm2022/operations/bulk-operations-service/bulk-operations.service.mjs +21 -2
  28. package/esm2022/operations/bulk-single-operations-list/bulk-single-operations-list.module.mjs +9 -7
  29. package/esm2022/operations/bulk-single-operations-list/single-operation-item.component.mjs +4 -1
  30. package/esm2022/operations/bulk-single-operations-list/single-operations-list.component.mjs +94 -20
  31. package/esm2022/operations/grid-columns/c8y-ngx-components-operations-grid-columns.mjs +5 -0
  32. package/esm2022/operations/grid-columns/creation-time.cell-renderer.component.mjs +28 -0
  33. package/esm2022/operations/grid-columns/creation-time.grid-column.mjs +14 -0
  34. package/esm2022/operations/grid-columns/device.cell-renderer.component.mjs +50 -0
  35. package/esm2022/operations/grid-columns/device.grid-column.mjs +14 -0
  36. package/esm2022/operations/grid-columns/failure-reason.cell-renderer.component.mjs +54 -0
  37. package/esm2022/operations/grid-columns/failure-reason.grid-column.mjs +14 -0
  38. package/esm2022/operations/grid-columns/index.mjs +9 -0
  39. package/esm2022/operations/grid-columns/status.cell-renderer.component.mjs +43 -0
  40. package/esm2022/operations/grid-columns/status.grid-column.mjs +15 -0
  41. package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.mjs +4 -3
  42. package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +3 -2
  43. package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
  44. package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +2 -2
  45. package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
  46. package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -1
  47. package/fesm2022/c8y-ngx-components-echart.mjs +60 -15
  48. package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
  49. package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs +20 -1
  50. package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs.map +1 -1
  51. package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs +102 -21
  52. package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs.map +1 -1
  53. package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs +214 -0
  54. package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs.map +1 -0
  55. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +3 -2
  56. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
  57. package/fesm2022/c8y-ngx-components.mjs +9 -4
  58. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  59. package/locales/locales.pot +16 -7
  60. package/operations/bulk-operations-service/bulk-operations.service.d.ts +5 -3
  61. package/operations/bulk-operations-service/bulk-operations.service.d.ts.map +1 -1
  62. package/operations/bulk-single-operations-list/bulk-single-operations-list.module.d.ts +10 -8
  63. package/operations/bulk-single-operations-list/bulk-single-operations-list.module.d.ts.map +1 -1
  64. package/operations/bulk-single-operations-list/single-operation-item.component.d.ts +3 -0
  65. package/operations/bulk-single-operations-list/single-operation-item.component.d.ts.map +1 -1
  66. package/operations/bulk-single-operations-list/single-operations-list.component.d.ts +18 -4
  67. package/operations/bulk-single-operations-list/single-operations-list.component.d.ts.map +1 -1
  68. package/operations/grid-columns/c8y-ngx-components-operations-grid-columns.d.ts.map +1 -0
  69. package/operations/grid-columns/creation-time.cell-renderer.component.d.ts +9 -0
  70. package/operations/grid-columns/creation-time.cell-renderer.component.d.ts.map +1 -0
  71. package/operations/grid-columns/creation-time.grid-column.d.ts +5 -0
  72. package/operations/grid-columns/creation-time.grid-column.d.ts.map +1 -0
  73. package/operations/grid-columns/device.cell-renderer.component.d.ts +14 -0
  74. package/operations/grid-columns/device.cell-renderer.component.d.ts.map +1 -0
  75. package/operations/grid-columns/device.grid-column.d.ts +5 -0
  76. package/operations/grid-columns/device.grid-column.d.ts.map +1 -0
  77. package/operations/grid-columns/failure-reason.cell-renderer.component.d.ts +9 -0
  78. package/operations/grid-columns/failure-reason.cell-renderer.component.d.ts.map +1 -0
  79. package/operations/grid-columns/failure-reason.grid-column.d.ts +5 -0
  80. package/operations/grid-columns/failure-reason.grid-column.d.ts.map +1 -0
  81. package/operations/grid-columns/index.d.ts +9 -0
  82. package/operations/grid-columns/index.d.ts.map +1 -0
  83. package/operations/grid-columns/status.cell-renderer.component.d.ts +11 -0
  84. package/operations/grid-columns/status.cell-renderer.component.d.ts.map +1 -0
  85. package/operations/grid-columns/status.grid-column.d.ts +5 -0
  86. package/operations/grid-columns/status.grid-column.d.ts.map +1 -0
  87. package/package.json +1 -1
  88. package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts.map +1 -1
@@ -1470,6 +1470,9 @@ msgstr ""
1470
1470
  msgid "All alarms"
1471
1471
  msgstr ""
1472
1472
 
1473
+ msgid "All axes will be force merged to a single axis with the scale being set to the max and min value of all axes. It's recommended to use this option for data points with similar values."
1474
+ msgstr ""
1475
+
1473
1476
  msgid "All child devices are already assigned"
1474
1477
  msgstr ""
1475
1478
 
@@ -2258,12 +2261,6 @@ msgstr ""
2258
2261
  msgid "Below you can configure one or more OPC UA servers. The OPC UA agent will connect to these servers if they are enabled and the connection state is set to connected."
2259
2262
  msgstr ""
2260
2263
 
2261
- msgid "Beta features"
2262
- msgstr ""
2263
-
2264
- msgid "Beta features preview"
2265
- msgstr ""
2266
-
2267
2264
  msgid "Billing mode"
2268
2265
  msgstr ""
2269
2266
 
@@ -4667,6 +4664,9 @@ msgstr ""
4667
4664
  msgid "Data points table"
4668
4665
  msgstr ""
4669
4666
 
4667
+ msgid "Data points with the same min and max values will be merged into a single axis. The values must be defined in the data point configuration."
4668
+ msgstr ""
4669
+
4670
4670
  msgid "Data points`display`"
4671
4671
  msgstr ""
4672
4672
 
@@ -7267,6 +7267,12 @@ msgstr ""
7267
7267
  msgid "Forbidden user agents"
7268
7268
  msgstr ""
7269
7269
 
7270
+ msgid "Force merge all data points into single axis"
7271
+ msgstr ""
7272
+
7273
+ msgid "Force merge all datapoints into a single axis"
7274
+ msgstr ""
7275
+
7270
7276
  msgid "Force user to log out"
7271
7277
  msgstr ""
7272
7278
 
@@ -9334,7 +9340,7 @@ msgstr ""
9334
9340
  msgid "Make sure that:"
9335
9341
  msgstr ""
9336
9342
 
9337
- msgid "Manage beta features"
9343
+ msgid "Manage preview features"
9338
9344
  msgstr ""
9339
9345
 
9340
9346
  msgid "Manage the application plugins."
@@ -11952,6 +11958,9 @@ msgstr ""
11952
11958
  msgid "Preview configuration"
11953
11959
  msgstr ""
11954
11960
 
11961
+ msgid "Preview features"
11962
+ msgstr ""
11963
+
11955
11964
  msgid "Preview file"
11956
11965
  msgstr ""
11957
11966
 
@@ -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,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAe,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;;AAEvF,eAAO,MAAM,OAAO,iCAAiC,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,mBAAmB,iDAE/B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,eAAe,CAAC,aAAa,CAAC,EACpC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,4HAGtC;AAED,qBACa,qBAAqB;IAO9B,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,QAAQ;IATlB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAM;IACnC,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,CAA8B;IAE9D,OAAO,CAAC,SAAS,CAAkB;gBAGzB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB,EAClC,QAAQ,EAAE,QAAQ,EAEe,SAAS,EAAE,KAAK,CAAC,aAAa,GAAG,aAAa,EAAE,CAAC;IAY5F,iBAAiB,CAAC,YAAY,KAAK;IAWnC,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM;IAIrD,mBAAmB,CAAC,aAAa,EAAE,OAAO,CAAC,cAAc,CAAC;IAI1D,mBAAmB,CAAC,eAAe,KAAA;IAInC,mBAAmB,CAAC,aAAa,EAAE,OAAO,CAAC,cAAc,CAAC;IAI1D,YAAY,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;IAUnD,qBAAqB,CAAC,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC;IAI9D,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,iBAAiB;yCA9GxD,qBAAqB;6CAArB,qBAAqB;CA0HjC"}
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,cA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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-operations-list.component";
3
- import * as i2 from "./single-operation-item.component";
4
- import * as i3 from "@c8y/ngx-components";
5
- import * as i4 from "ngx-bootstrap/popover";
6
- import * as i5 from "@angular/router";
7
- import * as i6 from "ngx-bootstrap/tooltip";
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.SingleOperationsListComponent, typeof i2.SingleOperationItemComponent], [typeof i3.CoreModule, typeof i4.PopoverModule, typeof i5.RouterModule, typeof i6.TooltipModule, typeof i7.StatusFilterModule], [typeof i1.SingleOperationsListComponent, typeof i2.SingleOperationItemComponent]>;
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":";;;;;;;;AAWA;;GAEG;AACH,qBAKa,8BAA8B;yCAA9B,8BAA8B;0CAA9B,8BAA8B;0CAA9B,8BAA8B;CAAG"}
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,EACL,+BAA+B,EAGhC,MAAM,uCAAuC,CAAC;;AAG/C,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
+ {"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 { StatusFilterComponent } from '@c8y/ngx-components/operations/status-filter';
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
- filterOperationsByType(): void;
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, false, 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":"AAAA,OAAO,EACL,aAAa,EAEb,YAAY,EAEZ,SAAS,EAET,aAAa,EAEd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAGhC,MAAM,uCAAuC,CAAC;;AAE/C,qBAIa,6BAA8B,YAAW,aAAa,EAAE,SAAS;IAehE,OAAO,CAAC,qBAAqB;IAbzC,aAAa,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAEvC,QAAQ,UAAS;IACP,uBAAuB,EAAE,YAAY,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAsB;IAG9F,YAAY,EAAE,qBAAqB,CAAC;IAEpC,gBAAgB;;;;;;MAA+C;IAC/D,uBAAuB;;;;;MAA2B;IAClD,4BAA4B,EAAE,+BAA+B,CAAgC;IAC7F,gBAAgB,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;gBAEtB,qBAAqB,EAAE,qBAAqB;IAE1D,eAAe;IAMrB,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,sBAAsB;IAatB,+BAA+B;IAgBzB,qBAAqB,CAAC,MAAM,EAAE,qBAAqB,EAAE;IAO3D,kBAAkB;yCAjEP,6BAA6B;2CAA7B,6BAA6B;CAoEzC"}
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,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BAE3B,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,5 @@
1
+ import { BaseColumn, ColumnConfig } from '@c8y/ngx-components';
2
+ export declare class CreationTimeGridColumn extends BaseColumn {
3
+ constructor(initialColumnConfig?: ColumnConfig);
4
+ }
5
+ //# sourceMappingURL=creation-time.grid-column.d.ts.map
@@ -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,5 @@
1
+ import { BaseColumn, ColumnConfig } from '@c8y/ngx-components';
2
+ export declare class DeviceGridColumn extends BaseColumn {
3
+ constructor(initialColumnConfig?: ColumnConfig);
4
+ }
5
+ //# sourceMappingURL=device.grid-column.d.ts.map
@@ -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,5 @@
1
+ import { BaseColumn, ColumnConfig } from '@c8y/ngx-components';
2
+ export declare class FailureReasonGridColumn extends BaseColumn {
3
+ constructor(initialColumnConfig?: ColumnConfig);
4
+ }
5
+ //# sourceMappingURL=failure-reason.grid-column.d.ts.map
@@ -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,5 @@
1
+ import { BaseColumn, ColumnConfig } from '@c8y/ngx-components';
2
+ export declare class OperationStatusGridColumn extends BaseColumn {
3
+ constructor(initialColumnConfig?: ColumnConfig);
4
+ }
5
+ //# sourceMappingURL=status.grid-column.d.ts.map
@@ -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"}