@onecx/angular-accelerator 6.0.0-rc.2 → 6.0.0-rc.20

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 (163) hide show
  1. package/assets/i18n/de.json +3 -3
  2. package/assets/i18n/en.json +3 -3
  3. package/assets/i18n/primeng/de.json +4 -1
  4. package/assets/i18n/primeng/en.json +4 -1
  5. package/assets/styles.scss +0 -4
  6. package/fesm2022/onecx-angular-accelerator-testing.mjs +160 -33
  7. package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
  8. package/fesm2022/onecx-angular-accelerator.mjs +1780 -989
  9. package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
  10. package/index.d.ts +20 -8
  11. package/lib/angular-accelerator-primeng.module.d.ts +6 -4
  12. package/lib/angular-accelerator.module.d.ts +33 -20
  13. package/lib/components/content/content.component.d.ts +13 -0
  14. package/lib/components/content-container/content-container.component.d.ts +19 -0
  15. package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +0 -2
  16. package/lib/components/data-list-grid/data-list-grid.component.d.ts +8 -35
  17. package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +2 -2
  18. package/lib/components/data-table/data-table.component.d.ts +16 -55
  19. package/lib/components/data-view/data-view.component.d.ts +9 -77
  20. package/lib/components/diagram/diagram.component.d.ts +0 -2
  21. package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
  22. package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
  23. package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
  24. package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
  25. package/lib/components/error-component/global-error.component.d.ts +12 -0
  26. package/lib/components/filter-view/filter-view.component.d.ts +3 -5
  27. package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +1 -8
  28. package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +33 -51
  29. package/lib/components/lifecycle/lifecycle.component.d.ts +12 -0
  30. package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
  31. package/lib/components/page-header/page-header.component.d.ts +2 -8
  32. package/lib/components/search-header/search-header.component.d.ts +4 -10
  33. package/lib/directives/advanced.directive.d.ts +5 -6
  34. package/lib/directives/basic.directive.d.ts +11 -0
  35. package/lib/directives/content-container.directive.d.ts +23 -0
  36. package/lib/directives/content.directive.d.ts +21 -0
  37. package/lib/directives/if-breakpoint.directive.d.ts +3 -4
  38. package/lib/directives/if-permission.directive.d.ts +7 -18
  39. package/lib/directives/loading-indicator.directive.d.ts +16 -0
  40. package/lib/directives/src.directive.d.ts +2 -3
  41. package/lib/directives/template.directive.d.ts +9 -0
  42. package/lib/directives/tooltipOnOverflow.directive.d.ts +2 -3
  43. package/lib/model/breadcrumb-menu-item.model.d.ts +0 -4
  44. package/lib/model/button-dialog.d.ts +47 -0
  45. package/lib/model/column-type.model.d.ts +1 -8
  46. package/lib/model/filter.model.d.ts +16 -4
  47. package/lib/pipes/dynamic.pipe.d.ts +2 -2
  48. package/lib/pipes/ocxtimeago.pipe.d.ts +3 -3
  49. package/lib/pipes/relative-date.pipe.d.ts +10 -0
  50. package/lib/services/breadcrumb.service.d.ts +2 -4
  51. package/lib/services/export-data.service.d.ts +18 -0
  52. package/lib/services/portal-dialog.service.d.ts +427 -0
  53. package/lib/utils/criteria.utils.d.ts +3 -3
  54. package/lib/utils/data-operation-strategy.d.ts +20 -0
  55. package/lib/utils/dateutils.d.ts +0 -5
  56. package/lib/utils/image-logo-url.utils.d.ts +3 -0
  57. package/migrations.json +34 -0
  58. package/package.json +23 -17
  59. package/testing/column-group-selection.harness.d.ts +2 -2
  60. package/testing/content-container.harness.d.ts +7 -0
  61. package/testing/content.harness.d.ts +10 -0
  62. package/testing/custom-group-column-selector.harness.d.ts +6 -6
  63. package/testing/data-layout-selection.harness.d.ts +7 -6
  64. package/testing/data-list-grid.harness.d.ts +3 -3
  65. package/testing/data-table.harness.d.ts +3 -3
  66. package/testing/data-view.harness.d.ts +2 -2
  67. package/testing/default-grid-item.harness.d.ts +1 -1
  68. package/testing/default-list-item.harness.d.ts +4 -4
  69. package/testing/diagram.harness.d.ts +1 -1
  70. package/testing/dialog-content.harness.d.ts +6 -0
  71. package/testing/dialog-footer.harness.d.ts +14 -0
  72. package/testing/dialog-inline.harness.d.ts +8 -0
  73. package/testing/dialog-message-content.harness.d.ts +8 -0
  74. package/testing/filter-view.harness.d.ts +6 -6
  75. package/testing/group-by-count-diagram.harness.d.ts +1 -1
  76. package/testing/index.d.ts +7 -0
  77. package/testing/interactive-data-view.harness.d.ts +11 -9
  78. package/testing/lifecycle.harness.d.ts +6 -0
  79. package/testing/page-header.harness.d.ts +6 -6
  80. package/testing/search-header.harness.d.ts +5 -5
  81. package/esm2022/index.mjs +0 -61
  82. package/esm2022/lib/angular-accelerator-primeng.module.mjs +0 -146
  83. package/esm2022/lib/angular-accelerator.module.mjs +0 -194
  84. package/esm2022/lib/components/column-group-selection/column-group-selection.component.mjs +0 -90
  85. package/esm2022/lib/components/custom-group-column-selector/custom-group-column-selector.component.mjs +0 -184
  86. package/esm2022/lib/components/data-layout-selection/data-layout-selection.component.mjs +0 -73
  87. package/esm2022/lib/components/data-list-grid/data-list-grid.component.mjs +0 -615
  88. package/esm2022/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.mjs +0 -107
  89. package/esm2022/lib/components/data-loading-error/data-loading-error.component.mjs +0 -28
  90. package/esm2022/lib/components/data-sort-base/data-sort-base.mjs +0 -134
  91. package/esm2022/lib/components/data-table/data-table.component.mjs +0 -828
  92. package/esm2022/lib/components/data-view/data-view.component.mjs +0 -672
  93. package/esm2022/lib/components/diagram/diagram.component.mjs +0 -183
  94. package/esm2022/lib/components/filter-view/filter-view.component.mjs +0 -263
  95. package/esm2022/lib/components/group-by-count-diagram/group-by-count-diagram.component.mjs +0 -133
  96. package/esm2022/lib/components/interactive-data-view/interactive-data-view.component.mjs +0 -724
  97. package/esm2022/lib/components/page-header/page-header.component.mjs +0 -238
  98. package/esm2022/lib/components/search-header/search-header.component.mjs +0 -199
  99. package/esm2022/lib/directives/advanced.directive.mjs +0 -36
  100. package/esm2022/lib/directives/if-breakpoint.directive.mjs +0 -47
  101. package/esm2022/lib/directives/if-permission.directive.mjs +0 -103
  102. package/esm2022/lib/directives/src.directive.mjs +0 -65
  103. package/esm2022/lib/directives/tooltipOnOverflow.directive.mjs +0 -48
  104. package/esm2022/lib/functions/at-least-one-field-filled-validator.mjs +0 -7
  105. package/esm2022/lib/functions/flatten-object.mjs +0 -20
  106. package/esm2022/lib/model/breadcrumb-menu-item.model.mjs +0 -2
  107. package/esm2022/lib/model/column-type.model.mjs +0 -16
  108. package/esm2022/lib/model/data-action.mjs +0 -2
  109. package/esm2022/lib/model/data-column-name-id.model.mjs +0 -2
  110. package/esm2022/lib/model/data-sort-direction.mjs +0 -2
  111. package/esm2022/lib/model/data-table-column.model.mjs +0 -2
  112. package/esm2022/lib/model/diagram-column.mjs +0 -2
  113. package/esm2022/lib/model/diagram-data.mjs +0 -2
  114. package/esm2022/lib/model/diagram-type.mjs +0 -2
  115. package/esm2022/lib/model/filter.model.mjs +0 -6
  116. package/esm2022/lib/pipes/dynamic.pipe.mjs +0 -58
  117. package/esm2022/lib/pipes/ocxtimeago.pipe.mjs +0 -107
  118. package/esm2022/lib/services/breadcrumb.service.mjs +0 -128
  119. package/esm2022/lib/services/translation-cache.service.mjs +0 -41
  120. package/esm2022/lib/utils/async-translate-loader.utils.mjs +0 -12
  121. package/esm2022/lib/utils/caching-translate-loader.utils.mjs +0 -15
  122. package/esm2022/lib/utils/colorutils.mjs +0 -19
  123. package/esm2022/lib/utils/create-remote-component-and-mfe-translate-loader.utils.mjs +0 -12
  124. package/esm2022/lib/utils/create-remote-component-translate-loader.utils.mjs +0 -25
  125. package/esm2022/lib/utils/create-translate-loader.utils.mjs +0 -27
  126. package/esm2022/lib/utils/criteria.utils.mjs +0 -28
  127. package/esm2022/lib/utils/dateutils.mjs +0 -38
  128. package/esm2022/lib/utils/dynamic-locale-id.mjs +0 -21
  129. package/esm2022/lib/utils/enum-to-dropdown-options.utils.mjs +0 -8
  130. package/esm2022/lib/utils/filter.utils.mjs +0 -6
  131. package/esm2022/lib/utils/objectutils.mjs +0 -30
  132. package/esm2022/lib/utils/primeicon.utils.mjs +0 -2
  133. package/esm2022/lib/utils/rxjs-utils.mjs +0 -13
  134. package/esm2022/lib/utils/string-and-array-helper-functions.utils.mjs +0 -22
  135. package/esm2022/lib/utils/template.utils.mjs +0 -11
  136. package/esm2022/lib/utils/translate.combined.loader.mjs +0 -39
  137. package/esm2022/onecx-angular-accelerator.mjs +0 -5
  138. package/esm2022/testing/column-group-selection.harness.mjs +0 -10
  139. package/esm2022/testing/custom-group-column-selector.harness.mjs +0 -31
  140. package/esm2022/testing/data-layout-selection.harness.mjs +0 -32
  141. package/esm2022/testing/data-list-grid.harness.mjs +0 -51
  142. package/esm2022/testing/data-table.harness.mjs +0 -69
  143. package/esm2022/testing/data-view.harness.mjs +0 -12
  144. package/esm2022/testing/default-grid-item.harness.mjs +0 -24
  145. package/esm2022/testing/default-list-item.harness.mjs +0 -26
  146. package/esm2022/testing/diagram.harness.mjs +0 -22
  147. package/esm2022/testing/filter-view.harness.mjs +0 -18
  148. package/esm2022/testing/group-by-count-diagram.harness.mjs +0 -10
  149. package/esm2022/testing/index.mjs +0 -23
  150. package/esm2022/testing/interactive-data-view.harness.mjs +0 -21
  151. package/esm2022/testing/more-actions-menu-button.harness.mjs +0 -35
  152. package/esm2022/testing/onecx-angular-accelerator-testing.mjs +0 -5
  153. package/esm2022/testing/page-header.harness.mjs +0 -81
  154. package/esm2022/testing/search-header.harness.mjs +0 -36
  155. package/esm2022/testing/slot.harness.mjs +0 -5
  156. package/lib/components/data-loading-error/data-loading-error.component.d.ts +0 -8
  157. package/lib/services/translation-cache.service.d.ts +0 -16
  158. package/lib/utils/async-translate-loader.utils.d.ts +0 -9
  159. package/lib/utils/caching-translate-loader.utils.d.ts +0 -13
  160. package/lib/utils/create-remote-component-and-mfe-translate-loader.utils.d.ts +0 -6
  161. package/lib/utils/create-remote-component-translate-loader.utils.d.ts +0 -5
  162. package/lib/utils/create-translate-loader.utils.d.ts +0 -5
  163. package/lib/utils/translate.combined.loader.d.ts +0 -9
@@ -1,73 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { PrimeIcons } from 'primeng/api';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "primeng/tooltip";
6
- import * as i3 from "primeng/api";
7
- import * as i4 from "primeng/selectbutton";
8
- import * as i5 from "@angular/forms";
9
- import * as i6 from "@ngx-translate/core";
10
- const ALL_VIEW_LAYOUTS = [
11
- {
12
- id: 'ocx-data-layout-selection-list',
13
- icon: PrimeIcons.LIST,
14
- layout: 'list',
15
- tooltipKey: 'OCX_DATA_LAYOUT_SELECTION.LAYOUT.LIST',
16
- labelKey: 'OCX_DATA_LAYOUT_SELECTION.LAYOUT.LIST',
17
- },
18
- {
19
- id: 'ocx-data-layout-selection-grid',
20
- icon: PrimeIcons.TH_LARGE,
21
- layout: 'grid',
22
- tooltipKey: 'OCX_DATA_LAYOUT_SELECTION.LAYOUT.GRID',
23
- labelKey: 'OCX_DATA_LAYOUT_SELECTION.LAYOUT.GRID',
24
- },
25
- {
26
- id: 'ocx-data-layout-selection-table',
27
- icon: PrimeIcons.TABLE,
28
- layout: 'table',
29
- tooltipKey: 'OCX_DATA_LAYOUT_SELECTION.LAYOUT.TABLE',
30
- labelKey: 'OCX_DATA_LAYOUT_SELECTION.LAYOUT.TABLE',
31
- },
32
- ];
33
- export class DataLayoutSelectionComponent {
34
- constructor() {
35
- this.supportedViewLayouts = [];
36
- this.dataViewLayoutChange = new EventEmitter();
37
- this.componentStateChanged = new EventEmitter();
38
- this.viewingLayouts = [];
39
- }
40
- set layout(value) {
41
- this.selectedViewLayout = ALL_VIEW_LAYOUTS.find((v) => v.layout === value);
42
- }
43
- get layout() {
44
- return this.selectedViewLayout?.layout || 'table';
45
- }
46
- ngOnInit() {
47
- this.viewingLayouts = ALL_VIEW_LAYOUTS.filter((vl) => this.supportedViewLayouts.includes(vl.layout));
48
- this.componentStateChanged.emit({
49
- layout: this.layout,
50
- });
51
- }
52
- onDataViewLayoutChange(event) {
53
- this.dataViewLayoutChange.emit(event.layout);
54
- this.componentStateChanged.emit({
55
- layout: event.layout,
56
- });
57
- }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: DataLayoutSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: DataLayoutSelectionComponent, selector: "ocx-data-layout-selection", inputs: { supportedViewLayouts: "supportedViewLayouts", layout: "layout" }, outputs: { dataViewLayoutChange: "dataViewLayoutChange", componentStateChanged: "componentStateChanged" }, ngImport: i0, template: "<div class=\"flex flex-wrap justify-content-between align-items-center py-1 gap-2\">\n <p-selectButton\n *ngIf=\"viewingLayouts.length > 1\"\n [options]=\"viewingLayouts\"\n [(ngModel)]=\"selectedViewLayout\"\n optionLabel=\"id\"\n (onChange)=\"onDataViewLayoutChange($event.value)\"\n >\n <ng-template let-item pTemplate>\n <i [class]=\"item.icon\" [pTooltip]=\"item.tooltip || (item.tooltipKey | translate)\" tooltipPosition=\"top\"></i>\n <label style=\"display: none\" id=\"{{item.id}}\">{{item.labelKey | translate}}</label>\n </ng-template>\n </p-selectButton>\n</div>\n", styles: ["::ng-deep .p-buttonset .p-button{min-width:auto}::ng-deep .p-buttonset{display:flex}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i4.SelectButton, selector: "p-selectButton", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "style", "styleClass", "ariaLabelledBy", "disabled", "dataKey", "autofocus"], outputs: ["onOptionClick", "onChange"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
60
- }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: DataLayoutSelectionComponent, decorators: [{
62
- type: Component,
63
- args: [{ selector: 'ocx-data-layout-selection', template: "<div class=\"flex flex-wrap justify-content-between align-items-center py-1 gap-2\">\n <p-selectButton\n *ngIf=\"viewingLayouts.length > 1\"\n [options]=\"viewingLayouts\"\n [(ngModel)]=\"selectedViewLayout\"\n optionLabel=\"id\"\n (onChange)=\"onDataViewLayoutChange($event.value)\"\n >\n <ng-template let-item pTemplate>\n <i [class]=\"item.icon\" [pTooltip]=\"item.tooltip || (item.tooltipKey | translate)\" tooltipPosition=\"top\"></i>\n <label style=\"display: none\" id=\"{{item.id}}\">{{item.labelKey | translate}}</label>\n </ng-template>\n </p-selectButton>\n</div>\n", styles: ["::ng-deep .p-buttonset .p-button{min-width:auto}::ng-deep .p-buttonset{display:flex}\n"] }]
64
- }], propDecorators: { supportedViewLayouts: [{
65
- type: Input
66
- }], layout: [{
67
- type: Input
68
- }], dataViewLayoutChange: [{
69
- type: Output
70
- }], compon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