@quadrel-enterprise-ui/framework 19.0.0 → 19.0.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 (148) hide show
  1. package/fesm2022/quadrel-enterprise-ui-framework.mjs +6816 -12295
  2. package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
  3. package/lib/button/button-stack/button-stack-container/button-stack.component.d.ts +2 -8
  4. package/lib/core/core.module.d.ts +8 -6
  5. package/lib/core/model/app-enviroment.token.d.ts +1 -2
  6. package/lib/file-collector/file-collector.component.d.ts +2 -5
  7. package/lib/forms/qd-form.module.d.ts +27 -29
  8. package/lib/lists/__mocks__/mock-list.module.d.ts +2 -10
  9. package/lib/lists/list.module.d.ts +4 -12
  10. package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-container/horizontal-pairs.component.d.ts +2 -7
  11. package/lib/lists/pairs/status-pairs/status-pairs-container/status-pairs.component.d.ts +3 -7
  12. package/lib/notifications/notification/notification.component.d.ts +2 -2
  13. package/lib/qd-ui-mock.module.d.ts +18 -25
  14. package/lib/qd-ui.module.d.ts +28 -35
  15. package/lib/quick-edit/quick-edit.component.d.ts +2 -4
  16. package/lib/section/section.module.d.ts +1 -2
  17. package/lib/shell/header/service-navigation/shell-service-navigation.component.d.ts +1 -1
  18. package/lib/shell/header/widget/shell-header-widget.component.d.ts +1 -1
  19. package/package.json +1 -1
  20. package/public-api.d.ts +0 -16
  21. package/src/assets/i18n/de.json +0 -1
  22. package/src/assets/i18n/en.json +0 -2
  23. package/src/assets/i18n/fr.json +0 -2
  24. package/src/assets/i18n/it.json +0 -2
  25. package/src/assets/styles/components/_components.all.scss +0 -1
  26. package/lib/container/__mocks__/mock-action-footer.component.d.ts +0 -5
  27. package/lib/container/__mocks__/mock-container-create-content.component.d.ts +0 -9
  28. package/lib/container/__mocks__/mock-container-create-default.component.d.ts +0 -7
  29. package/lib/container/__mocks__/mock-container-section.component.d.ts +0 -7
  30. package/lib/container/__mocks__/mock-container-toolbar-action.component.d.ts +0 -16
  31. package/lib/container/__mocks__/mock-container-toolbar-filter.component.d.ts +0 -5
  32. package/lib/container/__mocks__/mock-container-toolbar-title.component.d.ts +0 -5
  33. package/lib/container/__mocks__/mock-container-toolbar.component.d.ts +0 -8
  34. package/lib/container/__mocks__/mock-container.component.d.ts +0 -17
  35. package/lib/container/__mocks__/mock-container.module.d.ts +0 -30
  36. package/lib/container/__mocks__/mock-create-delete-alert.component.d.ts +0 -7
  37. package/lib/container/__mocks__/mock-form-group.component.d.ts +0 -14
  38. package/lib/container/container.component.d.ts +0 -86
  39. package/lib/container/container.module.d.ts +0 -31
  40. package/lib/container/model/container-type.d.ts +0 -12
  41. package/lib/container/model/toolbar.interface.d.ts +0 -40
  42. package/lib/container/section/container-section.component.d.ts +0 -22
  43. package/lib/container/section/header/container-section-header.component.d.ts +0 -10
  44. package/lib/container/section/info/container-section-info.component.d.ts +0 -8
  45. package/lib/container/services/container-action.service.d.ts +0 -10
  46. package/lib/container/services/container-layout.service.d.ts +0 -20
  47. package/lib/container/toolbar/action/container-toolbar-action.component.d.ts +0 -45
  48. package/lib/container/toolbar/container-toolbar.component.d.ts +0 -26
  49. package/lib/container/toolbar/filter/container-toolbar-filter.component.d.ts +0 -11
  50. package/lib/container/toolbar/title/container-toolbar-title.component.d.ts +0 -10
  51. package/lib/content-grid/__mocks__/mock-content-grid-column.d.ts +0 -5
  52. package/lib/content-grid/__mocks__/mock-content-grid-row.d.ts +0 -5
  53. package/lib/content-grid/__mocks__/mock-content-grid.d.ts +0 -5
  54. package/lib/content-grid/__mocks__/mock-content-grid.module.d.ts +0 -13
  55. package/lib/content-grid/content-grid/content-grid.component.d.ts +0 -15
  56. package/lib/content-grid/content-grid-column/content-grid-column.component.d.ts +0 -11
  57. package/lib/content-grid/content-grid-row/content-grid-row.component.d.ts +0 -12
  58. package/lib/content-grid/content-grid.module.d.ts +0 -14
  59. package/lib/forms/forms/forms.component.d.ts +0 -10
  60. package/lib/layout/__mocks__/mock-action-bar.component.d.ts +0 -14
  61. package/lib/layout/__mocks__/mock-active-content-tab.directive.d.ts +0 -7
  62. package/lib/layout/__mocks__/mock-button-enabled.directive.d.ts +0 -7
  63. package/lib/layout/__mocks__/mock-layout-container.component.d.ts +0 -5
  64. package/lib/layout/__mocks__/mock-layout-renderer.component.d.ts +0 -13
  65. package/lib/layout/__mocks__/mock-layout.module.d.ts +0 -30
  66. package/lib/layout/__mocks__/mock-page-process-header-title.component.d.ts +0 -5
  67. package/lib/layout/__mocks__/mock-page-process-header.component.d.ts +0 -26
  68. package/lib/layout/__mocks__/mock-page-title.component.d.ts +0 -7
  69. package/lib/layout/__mocks__/mock-panel-title.component.d.ts +0 -7
  70. package/lib/layout/__mocks__/mock-panel.component.d.ts +0 -9
  71. package/lib/layout/__mocks__/mock-truncated-text.directive.d.ts +0 -12
  72. package/lib/layout/action-bar/action-bar.component.d.ts +0 -33
  73. package/lib/layout/action-bar/button-enabled.directive.d.ts +0 -25
  74. package/lib/layout/container/container.component.d.ts +0 -67
  75. package/lib/layout/content/page-process-header/page-process-header/page-process-header.component.d.ts +0 -101
  76. package/lib/layout/content/page-process-header/page-process-header-title/page-process-header-title.component.d.ts +0 -10
  77. package/lib/layout/content/page-title/page-title.component.d.ts +0 -22
  78. package/lib/layout/directives/active-content-tab.directive.d.ts +0 -21
  79. package/lib/layout/directives/calculate-full-height.directive.d.ts +0 -21
  80. package/lib/layout/force-line-break/force-line-break.directive.d.ts +0 -8
  81. package/lib/layout/interfaces/process-list.d.ts +0 -9
  82. package/lib/layout/layout-renderer/layout-renderer.component.d.ts +0 -26
  83. package/lib/layout/layout.module.d.ts +0 -49
  84. package/lib/layout/modal-fullscreen-container/modal-fullscreen-container.component.d.ts +0 -47
  85. package/lib/layout/panel/container/panel.component.d.ts +0 -29
  86. package/lib/layout/panel/title/panel-title.component.d.ts +0 -23
  87. package/lib/layout/panel/types/panel-types.d.ts +0 -5
  88. package/lib/layout/service/layout.service.d.ts +0 -24
  89. package/lib/layout/service/panel.service.d.ts +0 -13
  90. package/lib/lists/__mocks__/mock-vertical-pairs-caption.component.d.ts +0 -6
  91. package/lib/lists/__mocks__/mock-vertical-pairs-item.component.d.ts +0 -5
  92. package/lib/lists/__mocks__/mock-vertical-pairs-value.component.d.ts +0 -6
  93. package/lib/lists/__mocks__/mock-vertical-pairs.component.d.ts +0 -5
  94. package/lib/lists/pairs/vertical-pairs/vertical-pairs-caption/vertical-pairs-caption.component.d.ts +0 -10
  95. package/lib/lists/pairs/vertical-pairs/vertical-pairs-container/vertical-pairs.component.d.ts +0 -25
  96. package/lib/lists/pairs/vertical-pairs/vertical-pairs-item/vertical-pairs-item.component.d.ts +0 -20
  97. package/lib/lists/pairs/vertical-pairs/vertical-pairs-value/vertical-pairs-value.component.d.ts +0 -10
  98. package/lib/master-layout/__mocks__/mock-header-widget.component.d.ts +0 -16
  99. package/lib/master-layout/__mocks__/mock-master-layout-banner.component.d.ts +0 -5
  100. package/lib/master-layout/__mocks__/mock-master-layout-footer.component.d.ts +0 -5
  101. package/lib/master-layout/__mocks__/mock-master-layout-header.component.d.ts +0 -15
  102. package/lib/master-layout/__mocks__/mock-master-layout.component.d.ts +0 -9
  103. package/lib/master-layout/__mocks__/mock-master-layout.module.d.ts +0 -18
  104. package/lib/master-layout/header-widget/header-widget.component.d.ts +0 -55
  105. package/lib/master-layout/master-layout/master-layout.component.d.ts +0 -48
  106. package/lib/master-layout/master-layout-banner/master-layout-banner.component.d.ts +0 -25
  107. package/lib/master-layout/master-layout-footer/master-layout-footer.component.d.ts +0 -10
  108. package/lib/master-layout/master-layout-header/master-layout-header.component.d.ts +0 -48
  109. package/lib/master-layout/master-layout.module.d.ts +0 -30
  110. package/lib/master-layout/model/page-level.d.ts +0 -5
  111. package/lib/master-layout/model/service-navigation.d.ts +0 -3
  112. package/lib/master-layout/service/master-layout.service.d.ts +0 -16
  113. package/lib/master-layout/service-navigation/service-navigation.component.d.ts +0 -13
  114. package/lib/navigation/stepper/__mocks__/mock-step-action.component.d.ts +0 -16
  115. package/lib/navigation/stepper/__mocks__/mock-step-item.component.d.ts +0 -17
  116. package/lib/navigation/stepper/__mocks__/mock-step.component.d.ts +0 -18
  117. package/lib/navigation/stepper/__mocks__/mock-stepper.component.d.ts +0 -7
  118. package/lib/navigation/stepper/__mocks__/mock-stepper.module.d.ts +0 -16
  119. package/lib/navigation/stepper/interfaces/stepper.d.ts +0 -12
  120. package/lib/navigation/stepper/step/step.component.d.ts +0 -125
  121. package/lib/navigation/stepper/step-action/step-action.component.d.ts +0 -29
  122. package/lib/navigation/stepper/step-item/step-item.component.d.ts +0 -35
  123. package/lib/navigation/stepper/stepper/stepper.component.d.ts +0 -127
  124. package/lib/navigation/stepper/stepper.module.d.ts +0 -20
  125. package/lib/navigation/tab-bar/__mocks__/mock-tab-bar.module.d.ts +0 -12
  126. package/lib/navigation/tab-bar/__mocks__/mock-tab-link.component.d.ts +0 -7
  127. package/lib/navigation/tab-bar/__mocks__/mock-tab-nav-bar.component.d.ts +0 -5
  128. package/lib/navigation/tab-bar/tab-bar.module.d.ts +0 -13
  129. package/lib/navigation/tab-bar/tab-link/tab-link.component.d.ts +0 -26
  130. package/lib/navigation/tab-bar/tab-nav-bar/tab-nav-bar.component.d.ts +0 -11
  131. package/lib/navigation/tabs/__mocks__/mock-tab-action.component.d.ts +0 -11
  132. package/lib/navigation/tabs/__mocks__/mock-tab-item.component.d.ts +0 -17
  133. package/lib/navigation/tabs/__mocks__/mock-tab-pending-tasks.component.d.ts +0 -9
  134. package/lib/navigation/tabs/__mocks__/mock-tab.component.d.ts +0 -19
  135. package/lib/navigation/tabs/__mocks__/mock-tabs-page-leave-handler.component.d.ts +0 -7
  136. package/lib/navigation/tabs/__mocks__/mock-tabs.component.d.ts +0 -15
  137. package/lib/navigation/tabs/__mocks__/mock-tabs.module.d.ts +0 -20
  138. package/lib/navigation/tabs/interfaces/tabs.interface.d.ts +0 -27
  139. package/lib/navigation/tabs/services/tabs.service.d.ts +0 -25
  140. package/lib/navigation/tabs/tab/tab.component.d.ts +0 -79
  141. package/lib/navigation/tabs/tab-action/tab-action.component.d.ts +0 -16
  142. package/lib/navigation/tabs/tab-item/tab-item.component.d.ts +0 -34
  143. package/lib/navigation/tabs/tab-pending-tasks/tab-pending-tasks.component.d.ts +0 -21
  144. package/lib/navigation/tabs/tabs/tabs.component.d.ts +0 -81
  145. package/lib/navigation/tabs/tabs.module.d.ts +0 -21
  146. package/src/assets/styles/components/_components.master-layout.scss +0 -97
  147. /package/lib/{layout → core}/directives/viewport-adaptive.directive.d.ts +0 -0
  148. /package/lib/{master-layout/service → shell/services}/language-from-url.service.d.ts +0 -0
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class QdMockTabsComponent {
3
- actionArea: boolean;
4
- callbackMethod: () => void;
5
- defaultTabIndex: number;
6
- testId: any;
7
- get dataTestId(): string;
8
- save(): void;
9
- handleItemClick(index: any): {
10
- index: any;
11
- };
12
- showSaveButton(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTabsComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTabsComponent, "qd-tabs", never, { "actionArea": { "alias": "actionArea"; "required": false; }; "callbackMethod": { "alias": "callbackMethod"; "required": false; }; "defaultTabIndex": { "alias": "defaultTabIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
15
- }
@@ -1,20 +0,0 @@
1
- import { QdMockTabActionComponent } from './mock-tab-action.component';
2
- import { QdMockTabComponent } from './mock-tab.component';
3
- import { QdMockTabItemComponent } from './mock-tab-item.component';
4
- import { QdMockTabPendingTasksComponent } from './mock-tab-pending-tasks.component';
5
- import { QdMockTabsComponent } from './mock-tabs.component';
6
- import { QdMockPageLeaveHandlerComponent } from './mock-tabs-page-leave-handler.component';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./mock-tab-action.component";
9
- import * as i2 from "./mock-tab.component";
10
- import * as i3 from "./mock-tab-item.component";
11
- import * as i4 from "./mock-tab-pending-tasks.component";
12
- import * as i5 from "./mock-tabs.component";
13
- import * as i6 from "./mock-tabs-page-leave-handler.component";
14
- import * as i7 from "@angular/common";
15
- export { QdMockTabActionComponent, QdMockTabComponent, QdMockTabItemComponent, QdMockTabPendingTasksComponent, QdMockTabsComponent, QdMockPageLeaveHandlerComponent };
16
- export declare class QdMockTabsModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTabsModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockTabsModule, [typeof i1.QdMockTabActionComponent, typeof i2.QdMockTabComponent, typeof i3.QdMockTabItemComponent, typeof i4.QdMockTabPendingTasksComponent, typeof i5.QdMockTabsComponent, typeof i6.QdMockPageLeaveHandlerComponent], [typeof i7.CommonModule], [typeof i1.QdMockTabActionComponent, typeof i2.QdMockTabComponent, typeof i3.QdMockTabItemComponent, typeof i4.QdMockTabPendingTasksComponent, typeof i5.QdMockTabsComponent, typeof i6.QdMockPageLeaveHandlerComponent]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<QdMockTabsModule>;
20
- }
@@ -1,27 +0,0 @@
1
- import { UntypedFormGroup } from '@angular/forms';
2
- export interface QdTabItemState {
3
- disabled: boolean;
4
- error: boolean;
5
- warning: boolean;
6
- formGroup: UntypedFormGroup | undefined;
7
- id: string;
8
- testId?: string;
9
- }
10
- export interface QdActiveTab {
11
- index: number;
12
- tabItem?: QdTabItemState;
13
- }
14
- export interface QdTabNavigationEvent {
15
- from: number;
16
- to: number;
17
- }
18
- /**
19
- * Specifies the pending tasks.
20
- * Index 0: pending tasks with control status, will be displayed green.
21
- * Index 1: pending tasks without control status, will be displayed red
22
- */
23
- export interface QdTabPendingTasks {
24
- 0: number | null;
25
- 1: number | null;
26
- 2?: never;
27
- }
@@ -1,25 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { QdTabPendingTasks } from '../interfaces/tabs.interface';
3
- import * as i0 from "@angular/core";
4
- interface QdTabState {
5
- name: string;
6
- pendingTasks?: QdTabPendingTasks;
7
- id?: string;
8
- }
9
- export declare class QdTabsService {
10
- private tabs;
11
- private readonly _tabsSubject;
12
- private tabs$;
13
- setTabs(tabs: any): void;
14
- getTabs(): QdTabState[];
15
- updateTabName(id: any, name: any): void;
16
- updateTabPendingTasks(id: any, pendingTasks: any): void;
17
- getTabName$(id: any): Observable<string>;
18
- getTabPendingTasks$(id: any): Observable<QdTabPendingTasks>;
19
- private getIndexById;
20
- private getTabById;
21
- private mergeTabs;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabsService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<QdTabsService>;
24
- }
25
- export {};
@@ -1,79 +0,0 @@
1
- import { EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { QdContainerComponent } from '../../../container/container.component';
5
- import { QdTabPendingTasks } from '../interfaces/tabs.interface';
6
- import { QdTabsService } from '../services/tabs.service';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * **QdTabs** provides non-linear navigation at the hierarchical level of **QdLayout**.
10
- *
11
- * **QdTab** provides a container for the contents of a single tab.
12
- *
13
- * * @see parent component: **QdTabs**.
14
- *
15
- * **Usage:**
16
- *
17
- * @example
18
- * <qd-tabs [defaultTabIndex]="0">
19
- * <qd-tab>
20
- * <qd-container>Content</qd-container>
21
- * </qd-tab>
22
- * </qd-tabs>
23
- */
24
- export declare class QdTabComponent implements OnChanges {
25
- private qdTabsService;
26
- /**
27
- * Sets the name of this Tab
28
- */
29
- name: Observable<string> | string;
30
- /**
31
- * Sets the values of this pending tasks.
32
- */
33
- pendingTasks: QdTabPendingTasks;
34
- /**
35
- * Was meant to be able to enable the save button. Sadly no function at the moment. :-/
36
- */
37
- saveButton: boolean;
38
- /**
39
- * Was thought to be able to set the test of the save button. Sadly no function at the moment. :-/
40
- */
41
- saveButtonText: string;
42
- /**
43
- * Toggles the error state of the tab.
44
- */
45
- error: boolean | void;
46
- /**
47
- * Toggles the warning state of the tab.
48
- */
49
- warning: boolean | void;
50
- /**
51
- * Toggles the disabled state of the tab.
52
- */
53
- disabled: boolean;
54
- /**
55
- * Defines the form group name of the tab.
56
- */
57
- formGroup: UntypedFormGroup;
58
- /**
59
- * Defines the id of the tab. Can be used for direct tab jumping.
60
- */
61
- id: string;
62
- /**
63
- * A static test ID for integration tests can be set. <br />
64
- * The value for the HTML attribute [data-test-id].
65
- */
66
- testId: any;
67
- tabId: any;
68
- /**
69
- * Emits event when click/tap on the tabSave button.
70
- */
71
- tabSave: EventEmitter<any>;
72
- _tabContent: TemplateRef<any>;
73
- containerRefs: QueryList<QdContainerComponent>;
74
- constructor(qdTabsService: QdTabsService);
75
- ngOnChanges(changes: SimpleChanges): void;
76
- save(): void;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<QdTabComponent, "qd-tab", never, { "name": { "alias": "name"; "required": false; }; "pendingTasks": { "alias": "pendingTasks"; "required": false; }; "saveButton": { "alias": "saveButton"; "required": false; }; "saveButtonText": { "alias": "saveButtonText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "tabSave": "tabSave"; }, ["containerRefs"], ["*"], false, never>;
79
- }
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * **QdTabItem** renders the action area. It is used quadrel-internally.
5
- */
6
- export declare class QdTabActionComponent {
7
- /**
8
- * for internal use only.
9
- */
10
- newData: any;
11
- testId: any;
12
- saveClick: EventEmitter<any>;
13
- handleSave(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabActionComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<QdTabActionComponent, "qd-tab-action", never, { "newData": { "alias": "newData"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "saveClick": "saveClick"; }, never, never, false, never>;
16
- }
@@ -1,34 +0,0 @@
1
- import { UntypedFormGroup } from '@angular/forms';
2
- import { Observable } from 'rxjs';
3
- import { QdTabPendingTasks } from '../interfaces/tabs.interface';
4
- import { QdTabsService } from '../services/tabs.service';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * **QdTabItem** renders a single tab. It is used quadrel-internally.
8
- */
9
- export declare class QdTabItemComponent {
10
- private qdTabsService;
11
- /**
12
- * for internal use only.
13
- */
14
- id: string;
15
- index: number;
16
- currentIndex: number;
17
- current: boolean;
18
- error: boolean;
19
- warning: boolean;
20
- disabled: boolean;
21
- testId: any;
22
- formGroup?: UntypedFormGroup;
23
- get isCurrent(): boolean;
24
- get isEnabled(): boolean;
25
- get isWarning(): boolean;
26
- get isError(): boolean;
27
- showWarningIcon(): boolean;
28
- showErrorIcon(): boolean;
29
- get name(): Observable<string>;
30
- get pendingTasks(): Observable<QdTabPendingTasks>;
31
- constructor(qdTabsService: QdTabsService);
32
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabItemComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<QdTabItemComponent, "qd-tab-item", never, { "id": { "alias": "id"; "required": false; }; "index": { "alias": "index"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; "current": { "alias": "current"; "required": false; }; "error": { "alias": "error"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
34
- }
@@ -1,21 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { QdTabPendingTasks } from '../interfaces/tabs.interface';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * **QdTabPendingTasks** is a quite specific component that renders pending tasks into the **QdTab** area. <br />
6
- * It was created for an application of the Melnetta team.
7
- */
8
- export declare class QdTabPendingTasksComponent implements OnInit {
9
- /**
10
- * Sets the values for the two pending states.
11
- */
12
- pendingTasks: QdTabPendingTasks;
13
- /**
14
- * A static test ID for integration tests can be set. <br />
15
- * The value for the HTML attribute [data-test-id].
16
- */
17
- testId: any;
18
- ngOnInit(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabPendingTasksComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<QdTabPendingTasksComponent, "qd-tab-pending-tasks", never, { "pendingTasks": { "alias": "pendingTasks"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
21
- }
@@ -1,81 +0,0 @@
1
- import { AfterContentChecked, AfterContentInit, AfterViewInit, EventEmitter, OnChanges, OnDestroy, QueryList, ViewContainerRef } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { QdActiveTab, QdTabItemState, QdTabNavigationEvent } from '../interfaces/tabs.interface';
4
- import { QdTabsService } from '../services/tabs.service';
5
- import { QdTabComponent } from '../tab/tab.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * **QdTabs** provides non-linear navigation at the hierarchical level of **QdLayout**.
9
- *
10
- * * @see child component: **QdTab**.
11
- *
12
- * **Usage:**
13
- *
14
- * @example
15
- * <qd-tabs [defaultTabIndex]="0">
16
- * <qd-tab>
17
- * <qd-container>Content</qd-container>
18
- * </qd-tab>
19
- * </qd-tabs>
20
- */
21
- export declare class QdTabsComponent implements AfterContentInit, AfterViewInit, AfterContentChecked, OnChanges, OnDestroy {
22
- private qdTabsService;
23
- private readonly _activeTabSubject;
24
- activeTab$: import("rxjs").Observable<QdActiveTab>;
25
- tabsChangesSubscription: Subscription;
26
- /**
27
- * Here you can hide the actionArea.
28
- */
29
- actionArea: boolean;
30
- /**
31
- * With this it is possible to go directly to a tab.
32
- */
33
- defaultTabIndex: number;
34
- /**
35
- * A static test ID for integration tests can be set. <br />
36
- * The value for the HTML attribute [data-test-id].
37
- */
38
- testId: string;
39
- /**
40
- * Emits on navigation tab click.
41
- * Return value contains the numbers 'from' and 'to' index
42
- */
43
- navigationEvent: EventEmitter<QdTabNavigationEvent>;
44
- get actionAreaClassName(): boolean;
45
- tabs: QueryList<QdTabComponent>;
46
- tabContentContainerRef: ViewContainerRef;
47
- private _embeddedTabContentRef;
48
- _tabItemsState: QdTabItemState[];
49
- _currentTabItemState: QdTabItemState;
50
- _formValues: {};
51
- _currentIndex: number;
52
- _newData: boolean;
53
- private _actionTemplate;
54
- get actionTemplate(): any;
55
- private _isActionFullwidth;
56
- get isActionFullwidth(): boolean;
57
- constructor(qdTabsService: QdTabsService);
58
- ngAfterContentInit(): void;
59
- ngAfterViewInit(): void;
60
- ngOnChanges(): void;
61
- ngAfterContentChecked(): void;
62
- ngOnDestroy(): void;
63
- save(): void;
64
- handleItemClick(index: any): void;
65
- showSaveButton(): boolean;
66
- updateActionTemplate(ref: any): void;
67
- updateActiveTabIndex(): void;
68
- private getTabItemsState;
69
- private getTabs;
70
- private setCurrentItemState;
71
- private setErrorState;
72
- private checkErrorState;
73
- private setSaveButtonState;
74
- private getTabContentByIndex;
75
- private clearPreviousContent;
76
- private addCurrentContent;
77
- private validateOnInit;
78
- private setFormValues;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabsComponent, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<QdTabsComponent, "qd-tabs", never, { "actionArea": { "alias": "actionArea"; "required": false; }; "defaultTabIndex": { "alias": "defaultTabIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "navigationEvent": "navigationEvent"; }, ["tabs"], ["*"], false, never>;
81
- }
@@ -1,21 +0,0 @@
1
- import { QdTabItemComponent } from './tab-item/tab-item.component';
2
- import { QdTabComponent } from './tab/tab.component';
3
- import { QdTabsComponent } from './tabs/tabs.component';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "./tab-action/tab-action.component";
6
- import * as i2 from "./tab/tab.component";
7
- import * as i3 from "./tab-item/tab-item.component";
8
- import * as i4 from "./tabs/tabs.component";
9
- import * as i5 from "./tab-pending-tasks/tab-pending-tasks.component";
10
- import * as i6 from "@angular/common";
11
- import * as i7 from "@ngx-translate/core";
12
- import * as i8 from "@angular/forms";
13
- import * as i9 from "../../button/button.module";
14
- import * as i10 from "../../grid/grid.module";
15
- import * as i11 from "../../icon/icon.module";
16
- export { QdTabComponent, QdTabItemComponent, QdTabsComponent };
17
- export declare class QdTabsModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTabsModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdTabsModule, [typeof i1.QdTabActionComponent, typeof i2.QdTabComponent, typeof i3.QdTabItemComponent, typeof i4.QdTabsComponent, typeof i5.QdTabPendingTasksComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.ReactiveFormsModule, typeof i9.QdButtonModule, typeof i10.QdGridModule, typeof i11.QdIconModule], [typeof i4.QdTabsComponent, typeof i2.QdTabComponent, typeof i3.QdTabItemComponent]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<QdTabsModule>;
21
- }
@@ -1,97 +0,0 @@
1
- @import "../settings/settings.colors";
2
-
3
- $spacing: 32px;
4
- $footer-height: 40px;
5
- $header-icon-height: 55px;
6
- $header-icon-height-small: 32px;
7
-
8
- .application {
9
- padding-bottom: $footer-height !important;
10
-
11
- .application-header {
12
- height: 61px !important;
13
-
14
- // to cancel collapsed view
15
- .header {
16
- display: flex;
17
- height: auto;
18
- }
19
-
20
- .application-header-action {
21
- width: 49px;
22
- padding: 0;
23
- }
24
-
25
- .application-brand {
26
- padding: $spacing-xs $spacing-md;
27
- }
28
-
29
- .application-brand-logo {
30
- width: $spacing;
31
- height: $spacing;
32
- margin: 0;
33
-
34
- img {
35
- width: auto;
36
- height: $header-icon-height;
37
- }
38
- }
39
-
40
- .application-brand-app-title {
41
- padding-left: $spacing-md;
42
- border: none;
43
- font-size: $spacing-md;
44
- line-height: $spacing;
45
- }
46
-
47
- .header-locale,
48
- .header-toggle {
49
- // to cancel collapsed view
50
- display: none;
51
- }
52
-
53
- // to cancel collapsed view
54
- .application-header-controls {
55
- visibility: visible;
56
- }
57
-
58
- .header-controls .control-item:last-child {
59
- padding-right: $spacing-md;
60
- }
61
-
62
- &.application-header-md {
63
- .application-brand-logo img {
64
- height: $header-icon-height-small;
65
- }
66
- }
67
- }
68
-
69
- .application-footer {
70
- background-color: $white;
71
-
72
- &.application-footer-sm {
73
- height: $footer-height;
74
- padding: 10px $spacing-md;
75
- font-size: $spacing-xs;
76
- line-height: 20px;
77
-
78
- // to cancel collapsed view
79
- @include for-screen-down(md) {
80
- height: auto;
81
- }
82
- }
83
-
84
- // to cancel collapsed view
85
- .footer-item-logo {
86
- display: none;
87
- }
88
-
89
- .footer-item-links li + li {
90
- padding-left: 20px;
91
- }
92
-
93
- a:not(:hover) {
94
- text-decoration: none;
95
- }
96
- }
97
- }