@onecx/angular-accelerator 6.0.0-rc.12 → 6.0.0-rc.13

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 (46) hide show
  1. package/assets/styles.scss +2 -0
  2. package/fesm2022/onecx-angular-accelerator-testing.mjs +101 -2
  3. package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
  4. package/fesm2022/onecx-angular-accelerator.mjs +1276 -151
  5. package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
  6. package/index.d.ts +15 -0
  7. package/lib/angular-accelerator-primeng.module.d.ts +1 -1
  8. package/lib/angular-accelerator.module.d.ts +17 -7
  9. package/lib/components/button-dialog/button-dialog.component.d.ts +47 -0
  10. package/lib/components/button-dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
  11. package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
  12. package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
  13. package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
  14. package/lib/components/error-component/global-error.component.d.ts +12 -0
  15. package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
  16. package/lib/components/portal-page/portal-page.component.d.ts +19 -0
  17. package/lib/directives/basic.directive.d.ts +11 -0
  18. package/lib/directives/loading-indicator.directive.d.ts +16 -0
  19. package/lib/model/button-dialog.d.ts +47 -0
  20. package/lib/pipes/relative-date.pipe.d.ts +10 -0
  21. package/lib/services/export-data.service.d.ts +18 -0
  22. package/lib/services/portal-dialog.service.d.ts +435 -0
  23. package/lib/utils/image-logo-url.utils.d.ts +3 -0
  24. package/migrations.json +9 -1
  25. package/package.json +8 -8
  26. package/testing/button-dialog.harness.d.ts +17 -0
  27. package/testing/column-group-selection.harness.d.ts +1 -1
  28. package/testing/custom-group-column-selector.harness.d.ts +6 -6
  29. package/testing/data-layout-selection.harness.d.ts +3 -3
  30. package/testing/data-list-grid.harness.d.ts +3 -3
  31. package/testing/data-table.harness.d.ts +3 -3
  32. package/testing/data-view.harness.d.ts +2 -2
  33. package/testing/default-grid-item.harness.d.ts +1 -1
  34. package/testing/default-list-item.harness.d.ts +4 -4
  35. package/testing/diagram.harness.d.ts +1 -1
  36. package/testing/dialog-content.harness.d.ts +6 -0
  37. package/testing/dialog-footer.harness.d.ts +14 -0
  38. package/testing/dialog-inline.harness.d.ts +8 -0
  39. package/testing/dialog-message-content.harness.d.ts +8 -0
  40. package/testing/filter-view.harness.d.ts +5 -5
  41. package/testing/group-by-count-diagram.harness.d.ts +1 -1
  42. package/testing/index.d.ts +5 -0
  43. package/testing/interactive-data-view.harness.d.ts +7 -7
  44. package/testing/lifecycle.harness.d.ts +2 -2
  45. package/testing/page-header.harness.d.ts +6 -6
  46. package/testing/search-header.harness.d.ts +5 -5
package/index.d.ts CHANGED
@@ -7,6 +7,8 @@ export * from './lib/directives/src.directive';
7
7
  export * from './lib/directives/advanced.directive';
8
8
  export * from './lib/directives/tooltipOnOverflow.directive';
9
9
  export * from './lib/directives/template.directive';
10
+ export * from './lib/directives/basic.directive';
11
+ export * from './lib/directives/loading-indicator.directive';
10
12
  export * from './lib/components/column-group-selection/column-group-selection.component';
11
13
  export * from './lib/components/content/content.component';
12
14
  export * from './lib/components/content-container/content-container.component';
@@ -24,14 +26,26 @@ export * from './lib/components/lifecycle/lifecycle.component';
24
26
  export * from './lib/components/page-header/page-header.component';
25
27
  export * from './lib/components/search-header/search-header.component';
26
28
  export * from './lib/components/data-loading-error/data-loading-error.component';
29
+ export * from './lib/components/button-dialog/button-dialog.component';
30
+ export * from './lib/components/button-dialog/dialog-message-content/dialog-message-content.component';
31
+ export * from './lib/components/loading-indicator/loading-indicator.component';
32
+ export * from './lib/components/dialog/dialog-content/dialog-content.component';
33
+ export * from './lib/components/dialog/dialog-inline/dialog-inline.component';
34
+ export * from './lib/components/dialog/dialog-footer/dialog-footer.component';
35
+ export * from './lib/components/portal-page/portal-page.component';
36
+ export * from './lib/components/error-component/global-error.component';
27
37
  export * from './lib/services/breadcrumb.service';
28
38
  export * from './lib/services/translation-connection.service';
29
39
  export * from './lib/services/translation-cache.service';
40
+ export * from './lib/services/portal-dialog.service';
41
+ export * from './lib/services/export-data.service';
30
42
  export * from './lib/pipes/dynamic.pipe';
31
43
  export * from './lib/pipes/ocxtimeago.pipe';
44
+ export * from './lib/pipes/relative-date.pipe';
32
45
  export * from './lib/model/breadcrumb-menu-item.model';
33
46
  export * from './lib/model/column-type.model';
34
47
  export * from './lib/model/data-action';
48
+ export * from './lib/model/button-dialog';
35
49
  export * from './lib/model/data-sort-direction';
36
50
  export * from './lib/model/data-table-column.model';
37
51
  export * from './lib/model/diagram-column';
@@ -57,3 +71,4 @@ export * from './lib/utils/criteria.utils';
57
71
  export * from './lib/utils/string-and-array-helper-functions.utils';
58
72
  export * from './lib/utils/template.utils';
59
73
  export * from './lib/utils/filter.utils';
74
+ export * from './lib/utils/image-logo-url.utils';
@@ -22,6 +22,6 @@ import * as i20 from "primeng/timeline";
22
22
  import * as i21 from "primeng/api";
23
23
  export declare class AngularAcceleratorPrimeNgModule {
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorPrimeNgModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorPrimeNgModule, never, [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i21.SharedModule], [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i21.SharedModule]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorPrimeNgModule, never, [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i8.SelectButtonModule, typeof i21.SharedModule], [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i8.SelectButtonModule, typeof i21.SharedModule]>;
26
26
  static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorPrimeNgModule>;
27
27
  }
@@ -27,17 +27,27 @@ import * as i24 from "./components/filter-view/filter-view.component";
27
27
  import * as i25 from "./directives/template.directive";
28
28
  import * as i26 from "./directives/content.directive";
29
29
  import * as i27 from "./directives/content-container.directive";
30
- import * as i28 from "@angular/common";
31
- import * as i29 from "./angular-accelerator-primeng.module";
32
- import * as i30 from "@onecx/angular-remote-components";
33
- import * as i31 from "@ngx-translate/core";
34
- import * as i32 from "@angular/forms";
35
- import * as i33 from "@angular/router";
30
+ import * as i28 from "./components/error-component/global-error.component";
31
+ import * as i29 from "./components/portal-page/portal-page.component";
32
+ import * as i30 from "./components/loading-indicator/loading-indicator.component";
33
+ import * as i31 from "./directives/loading-indicator.directive";
34
+ import * as i32 from "./directives/basic.directive";
35
+ import * as i33 from "./components/button-dialog/button-dialog.component";
36
+ import * as i34 from "./components/dialog/dialog-footer/dialog-footer.component";
37
+ import * as i35 from "./components/dialog/dialog-content/dialog-content.component";
38
+ import * as i36 from "./components/dialog/dialog-inline/dialog-inline.component";
39
+ import * as i37 from "./components/button-dialog/dialog-message-content/dialog-message-content.component";
40
+ import * as i38 from "@angular/common";
41
+ import * as i39 from "./angular-accelerator-primeng.module";
42
+ import * as i40 from "@onecx/angular-remote-components";
43
+ import * as i41 from "@ngx-translate/core";
44
+ import * as i42 from "@angular/forms";
45
+ import * as i43 from "@angular/router";
36
46
  export declare class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
37
47
  handle(params: MissingTranslationHandlerParams): string;
38
48
  }
39
49
  export declare class AngularAcceleratorModule {
40
50
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i4.DataListGridSortingComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i11.DynamicPipe, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.DataLoadingErrorComponent, typeof i16.OcxContentComponent, typeof i17.OcxContentContainerComponent, typeof i18.IfPermissionDirective, typeof i19.IfBreakpointDirective, typeof i20.SrcDirective, typeof i21.OcxTimeAgoPipe, typeof i22.AdvancedDirective, typeof i23.TooltipOnOverflowDirective, typeof i24.FilterViewComponent, typeof i25.TemplateDirective, typeof i26.OcxContentDirective, typeof i27.OcxContentContainerDirective], [typeof i28.CommonModule, typeof i29.AngularAcceleratorPrimeNgModule, typeof i30.AngularRemoteComponentsModule, typeof i31.TranslateModule, typeof i32.FormsModule, typeof i33.RouterModule, typeof i32.ReactiveFormsModule], [typeof i30.AngularRemoteComponentsModule, typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.DataLoadingErrorComponent, typeof i16.OcxContentComponent, typeof i17.OcxContentContainerComponent, typeof i18.IfPermissionDirective, typeof i19.IfBreakpointDirective, typeof i20.SrcDirective, typeof i21.OcxTimeAgoPipe, typeof i22.AdvancedDirective, typeof i23.TooltipOnOverflowDirective, typeof i24.FilterViewComponent, typeof i25.TemplateDirective, typeof i26.OcxContentDirective, typeof i27.OcxContentContainerDirective]>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i4.DataListGridSortingComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i11.DynamicPipe, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.DataLoadingErrorComponent, typeof i16.OcxContentComponent, typeof i17.OcxContentContainerComponent, typeof i18.IfPermissionDirective, typeof i19.IfBreakpointDirective, typeof i20.SrcDirective, typeof i21.OcxTimeAgoPipe, typeof i22.AdvancedDirective, typeof i23.TooltipOnOverflowDirective, typeof i24.FilterViewComponent, typeof i25.TemplateDirective, typeof i26.OcxContentDirective, typeof i27.OcxContentContainerDirective, typeof i28.GlobalErrorComponent, typeof i29.PortalPageComponent, typeof i30.LoadingIndicatorComponent, typeof i31.LoadingIndicatorDirective, typeof i32.BasicDirective, typeof i33.ButtonDialogComponent, typeof i34.DialogFooterComponent, typeof i35.DialogContentComponent, typeof i36.DialogInlineComponent, typeof i37.DialogMessageContentComponent], [typeof i38.CommonModule, typeof i39.AngularAcceleratorPrimeNgModule, typeof i40.AngularRemoteComponentsModule, typeof i41.TranslateModule, typeof i42.FormsModule, typeof i43.RouterModule, typeof i42.ReactiveFormsModule], [typeof i40.AngularRemoteComponentsModule, typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.DataLoadingErrorComponent, typeof i16.OcxContentComponent, typeof i17.OcxContentContainerComponent, typeof i18.IfPermissionDirective, typeof i19.IfBreakpointDirective, typeof i20.SrcDirective, typeof i21.OcxTimeAgoPipe, typeof i22.AdvancedDirective, typeof i23.TooltipOnOverflowDirective, typeof i24.FilterViewComponent, typeof i25.TemplateDirective, typeof i26.OcxContentDirective, typeof i27.OcxContentContainerDirective, typeof i28.GlobalErrorComponent, typeof i29.PortalPageComponent, typeof i30.LoadingIndicatorComponent, typeof i31.LoadingIndicatorDirective, typeof i32.BasicDirective, typeof i33.ButtonDialogComponent, typeof i34.DialogFooterComponent, typeof i35.DialogContentComponent, typeof i36.DialogInlineComponent, typeof i37.DialogMessageContentComponent]>;
42
52
  static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
43
53
  }
@@ -0,0 +1,47 @@
1
+ import { AfterViewInit, ComponentRef, ElementRef, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
2
+ import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData } from '../../model/button-dialog';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ButtonDialogComponent implements OnInit, AfterViewInit {
7
+ dynamicDialogConfig: DynamicDialogConfig<any, any>;
8
+ dynamicDialogRef: DynamicDialogRef<any>;
9
+ defaultPrimaryButtonDetails: ButtonDialogButtonDetails;
10
+ defaultSecondaryButtonDetails: ButtonDialogButtonDetails;
11
+ defaultDialogData: ButtonDialogData;
12
+ config: ButtonDialogConfig;
13
+ resultEmitter: EventEmitter<any>;
14
+ dialogHost: ViewContainerRef;
15
+ primaryButton: ViewContainerRef;
16
+ _secondaryButton: ViewContainerRef;
17
+ set secondaryButton(content: ViewContainerRef);
18
+ get secondaryButton(): ViewContainerRef;
19
+ customButtons: QueryList<ElementRef>;
20
+ dialogData: ButtonDialogData;
21
+ componentRef: ComponentRef<any>;
22
+ primaryButtonDisabled$: Observable<boolean | undefined> | undefined;
23
+ secondaryButtonDisabled$: Observable<boolean | undefined> | undefined;
24
+ customButtonsDisabled$: BehaviorSubject<Record<string, boolean>>;
25
+ leftCustomButtons: ButtonDialogCustomButtonDetails[];
26
+ rightCustomButtons: ButtonDialogCustomButtonDetails[];
27
+ ngAfterViewInit(): void;
28
+ ngOnInit(): void;
29
+ primaryButtonAction(): void;
30
+ secondaryButtonAction(): void;
31
+ customButtonAction(button: ButtonDialogCustomButtonDetails): void;
32
+ resolveCustomButtonDisabled(customButtonsDisabled: Record<string, boolean>, buttonId: string): boolean;
33
+ loadComponent(): void;
34
+ setUpDialogDataForDynamicConfig(): void;
35
+ setUpDialogDataForInput(): void;
36
+ private buttonAction;
37
+ private setupCustomButtons;
38
+ private resolveButtonClick;
39
+ private toObservable;
40
+ private isDialogResultImplemented;
41
+ private isDialogButtonClickedImplemented;
42
+ private isDialogPrimaryButtonDisabledImplemented;
43
+ private isDialogSecondaryButtonDisabledImplemented;
44
+ private isDialogCustomButtonDisabledImplemented;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDialogComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonDialogComponent, "ocx-button-dialog", never, { "config": { "alias": "config"; "required": false; }; }, { "resultEmitter": "resultEmitter"; }, never, ["*"], false, never>;
47
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DialogMessageContentComponent {
3
+ message: string;
4
+ messageParameters: object;
5
+ icon: string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogMessageContentComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogMessageContentComponent, "ng-component", never, { "message": { "alias": "message"; "required": false; }; "messageParameters": { "alias": "messageParameters"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
8
+ }
@@ -0,0 +1,29 @@
1
+ import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
4
+ import { ButtonDialogData } from '../../../model/button-dialog';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DialogContentComponent implements OnInit, OnDestroy {
7
+ dynamicDialogConfig: DynamicDialogConfig<any, any>;
8
+ dynamicDialogRef: DynamicDialogRef<any>;
9
+ defaultDialogData: ButtonDialogData;
10
+ dialogHost: ViewContainerRef;
11
+ dialogData: ButtonDialogData;
12
+ componentRef: ComponentRef<any>;
13
+ primaryButtonEnabledSub?: Subscription;
14
+ secondaryButtonEnabledSub?: Subscription;
15
+ customButtonEnabledSub?: Subscription;
16
+ buttonClickedSub?: Subscription;
17
+ ngOnInit(): void;
18
+ ngOnDestroy(): void;
19
+ loadComponent(): void;
20
+ setUpDialogDataForDynamicConfig(): void;
21
+ private toObservable;
22
+ private isDialogResultImplemented;
23
+ private isDialogButtonClickedImplemented;
24
+ private isDialogPrimaryButtonDisabledImplemented;
25
+ private isDialogSecondaryButtonDisabledImplemented;
26
+ private isDialogCustomButtonDisabledImplemented;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogContentComponent, "ocx-dialog-content", never, {}, {}, never, ["*"], false, never>;
29
+ }
@@ -0,0 +1,39 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
2
+ import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData } from '../../../model/button-dialog';
5
+ import { DialogState } from '../../../services/portal-dialog.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DialogFooterComponent implements OnInit, AfterViewInit {
8
+ dynamicDialogConfig: DynamicDialogConfig<any, any>;
9
+ dynamicDialogRef: DynamicDialogRef<any>;
10
+ defaultPrimaryButtonDetails: ButtonDialogButtonDetails;
11
+ defaultSecondaryButtonDetails: ButtonDialogButtonDetails;
12
+ defaultDialogData: ButtonDialogData;
13
+ config: ButtonDialogConfig;
14
+ dialogData: ButtonDialogData;
15
+ primaryButtonDisabled$: Observable<boolean | undefined> | undefined;
16
+ secondaryButtonDisabled$: Observable<boolean | undefined> | undefined;
17
+ customButtonsDisabled$: BehaviorSubject<Record<string, boolean>>;
18
+ leftCustomButtons: ButtonDialogCustomButtonDetails[];
19
+ rightCustomButtons: ButtonDialogCustomButtonDetails[];
20
+ buttonClickedEmitter: EventEmitter<DialogState<unknown>>;
21
+ primaryButton: ViewContainerRef;
22
+ _secondaryButton: ViewContainerRef;
23
+ set secondaryButton(content: ViewContainerRef);
24
+ get secondaryButton(): ViewContainerRef;
25
+ customButtons: QueryList<ElementRef>;
26
+ ngAfterViewInit(): void;
27
+ ngOnInit(): void;
28
+ primaryButtonAction(): void;
29
+ secondaryButtonAction(): void;
30
+ customButtonAction(button: ButtonDialogCustomButtonDetails): void;
31
+ resolveCustomButtonDisabled(customButtonsDisabled: Record<string, boolean>, buttonId: string): boolean;
32
+ loadComponent(): void;
33
+ setUpDialogDataForInput(): void;
34
+ setUpDialogDataForDynamicConfig(): void;
35
+ private buttonAction;
36
+ private setupCustomButtons;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "ocx-dialog-footer", never, { "config": { "alias": "config"; "required": false; }; }, { "buttonClickedEmitter": "buttonClickedEmitter"; }, never, never, false, never>;
39
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ButtonDialogConfig } from '../../../model/button-dialog';
3
+ import { DialogState } from '../../../services/portal-dialog.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DialogInlineComponent {
6
+ config: ButtonDialogConfig;
7
+ resultEmitter: EventEmitter<any>;
8
+ buttonClicked(event: DialogState<unknown>): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogInlineComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogInlineComponent, "ocx-dialog-inline", never, { "config": { "alias": "config"; "required": false; }; }, { "resultEmitter": "resultEmitter"; }, never, ["*"], false, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GlobalErrorComponent {
3
+ private router;
4
+ private route;
5
+ errCode: string | undefined;
6
+ backUrl: string;
7
+ constructor();
8
+ onGoBack(): void;
9
+ reload(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GlobalErrorComponent, "ocx-error", never, { "errCode": { "alias": "errCode"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LoadingIndicatorComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorComponent, "ocx-loading-indicator", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PortalPageComponent implements OnInit {
5
+ private appState;
6
+ private userService;
7
+ private hasPermissionChecker;
8
+ permission: string;
9
+ helpArticleId: string;
10
+ pageName: string;
11
+ applicationId: string;
12
+ collapsed: boolean;
13
+ cachedHasPermissionChecker$: Observable<boolean> | undefined;
14
+ cachedUserService$: Observable<boolean> | undefined;
15
+ hasAccess(): Observable<boolean>;
16
+ ngOnInit(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PortalPageComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<PortalPageComponent, "ocx-portal-page", never, { "permission": { "alias": "permission"; "required": false; }; "helpArticleId": { "alias": "helpArticleId"; "required": false; }; "pageName": { "alias": "pageName"; "required": false; }; "applicationId": { "alias": "applicationId"; "required": false; }; }, {}, never, ["*"], false, never>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import { DoCheck } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BasicDirective implements DoCheck {
4
+ private viewContainer;
5
+ private templateRef;
6
+ private searchHeader;
7
+ constructor();
8
+ ngDoCheck(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BasicDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BasicDirective, "[ocxBasic]", never, {}, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,16 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingIndicatorDirective implements OnChanges {
4
+ private viewContainerRef;
5
+ private el;
6
+ private renderer;
7
+ ocxLoadingIndicator: boolean;
8
+ overlayFullPage: boolean;
9
+ isLoaderSmall?: boolean | undefined;
10
+ private componentRef;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ private elementLoader;
13
+ private toggleLoadingIndicator;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingIndicatorDirective, "[ocxLoadingIndicator]", never, { "ocxLoadingIndicator": { "alias": "ocxLoadingIndicator"; "required": false; }; "overlayFullPage": { "alias": "overlayFullPage"; "required": false; }; "isLoaderSmall": { "alias": "isLoaderSmall"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,47 @@
1
+ import { Type } from '@angular/core';
2
+ import { DialogButton } from '../services/portal-dialog.service';
3
+ import { PrimeIcon } from '../utils/primeicon.utils';
4
+ /**
5
+ * Object describing details for button rendering containing key for translation, optional icon and optional parameters for translation
6
+ *
7
+ * @example
8
+ * "Cancel meeting" button with X icon
9
+ * ```
10
+ * // assume such translation is in the translation file
11
+ * const translations = {
12
+ * MY_KEY = 'Cancel {{value}}'
13
+ * }
14
+ * const buttonDetails: ButtonDialogButtonDetails = {
15
+ * key: 'MY_KEY',
16
+ * icon: PrimeIcons.TIMES,
17
+ * parameters: {
18
+ * value: 'meeting'
19
+ * }
20
+ * }
21
+ * ```
22
+ */
23
+ export interface ButtonDialogButtonDetails {
24
+ key: string;
25
+ id?: string;
26
+ icon?: PrimeIcon;
27
+ parameters?: Record<string, unknown>;
28
+ tooltipKey?: string;
29
+ tooltipPosition?: 'right' | 'left' | 'top' | 'bottom' | string | undefined;
30
+ }
31
+ export interface ButtonDialogCustomButtonDetails extends ButtonDialogButtonDetails {
32
+ id: string;
33
+ alignment: 'right' | 'left';
34
+ }
35
+ export interface ButtonDialogConfig {
36
+ primaryButtonDetails?: ButtonDialogButtonDetails;
37
+ secondaryButtonIncluded?: boolean;
38
+ secondaryButtonDetails?: ButtonDialogButtonDetails;
39
+ customButtons?: ButtonDialogCustomButtonDetails[];
40
+ autoFocusButton?: DialogButton;
41
+ autoFocusButtonCustomId?: string;
42
+ }
43
+ export interface ButtonDialogData {
44
+ config: ButtonDialogConfig;
45
+ component?: Type<any>;
46
+ componentData: any;
47
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RelativeDatePipe implements PipeTransform {
4
+ private readonly translateService;
5
+ rtf: Intl.RelativeTimeFormat;
6
+ constructor();
7
+ transform(value: any): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDatePipe, "relativeDate", false>;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { ColumnType } from '../model/column-type.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ExportDataService {
4
+ private readonly dateUtils;
5
+ private readonly translateService;
6
+ private readonly locale;
7
+ exportCsv<T extends string | number | symbol>(columns: {
8
+ id: string;
9
+ nameKey: string;
10
+ columnType: ColumnType;
11
+ }[], data: Partial<Record<T, unknown | undefined>>[], fileName: string): Promise<void>;
12
+ private translateColumnNames;
13
+ private formatData;
14
+ private translateData;
15
+ private escapeDelimiter;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExportDataService>;
18
+ }