@quadrel-enterprise-ui/framework 20.27.6 → 20.27.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/quadrel-enterprise-ui-framework.mjs +634 -262
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/index.d.ts +115 -36
- package/package.json +1 -1
- package/src/assets/i18n/de.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- package/src/assets/i18n/it.json +1 -0
- package/fesm2022/quadrel-enterprise-ui-framework-dialog-confirm.module-BQLiEzSo.mjs +0 -42
- package/fesm2022/quadrel-enterprise-ui-framework-dialog-confirm.module-BQLiEzSo.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable, BehaviorSubject, Subject, Subscription, ReplaySubject } from 'rxjs';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i12 from '@angular/cdk/dialog';
|
|
4
4
|
import { DialogConfig, DialogRef } from '@angular/cdk/dialog';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { InjectionToken, EventEmitter, OnInit, PipeTransform, TemplateRef, AfterContentInit, AfterViewInit, DestroyRef, OnDestroy, OnChanges, AfterViewChecked, SimpleChanges, AfterContentChecked, Injector, ElementRef, QueryList, DoCheck, NgIterable, ViewContainerRef, TrackByFunction, Type, ModuleWithProviders } from '@angular/core';
|
|
@@ -9,18 +9,18 @@ import * as i2 from '@angular/common';
|
|
|
9
9
|
import { Moment } from 'moment/moment';
|
|
10
10
|
import * as i30 from '@angular/forms';
|
|
11
11
|
import { AbstractControl, UntypedFormGroup, ControlValueAccessor, UntypedFormControl, ValidationErrors, FormControlOptions, AsyncValidatorFn, ValidatorFn, UntypedFormArray, AbstractControlOptions, ɵTypedOrUntyped as _TypedOrUntyped, UntypedFormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
12
|
-
import * as
|
|
12
|
+
import * as i5 from '@ngx-translate/core';
|
|
13
13
|
import { TranslateService } from '@ngx-translate/core';
|
|
14
14
|
import { OverlayRef, OverlayPositionBuilder, Overlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
15
15
|
import * as i4 from '@angular/router';
|
|
16
16
|
import { Params } from '@angular/router';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i39 from 'ngx-editor';
|
|
18
18
|
import { Editor, Toolbar } from 'ngx-editor';
|
|
19
19
|
import { Moment as Moment$1 } from 'moment';
|
|
20
20
|
import { Highlightable, ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
21
21
|
import * as _quadrel_enterprise_ui_framework from '@quadrel-enterprise-ui/framework';
|
|
22
22
|
import * as i25 from '@ngrx/store';
|
|
23
|
-
import * as i5 from '@angular/cdk/stepper';
|
|
23
|
+
import * as i5$1 from '@angular/cdk/stepper';
|
|
24
24
|
import { CdkStep, CdkStepper, StepState, CdkStepHeader } from '@angular/cdk/stepper';
|
|
25
25
|
import * as i21 from '@angular/cdk/scrolling';
|
|
26
26
|
import * as rxjs_internal_scheduler_AsyncScheduler from 'rxjs/internal/scheduler/AsyncScheduler';
|
|
@@ -2505,7 +2505,7 @@ type QdDataFacetsType = 'blank' | 'boolean' | 'chip' | 'currency' | 'date' | 'ic
|
|
|
2505
2505
|
|
|
2506
2506
|
declare class QdDataFacetsModule {
|
|
2507
2507
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsModule, never>;
|
|
2508
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDataFacetsModule, [typeof QdDataFacetsBlankComponent, typeof QdDataFacetsBooleanComponent, typeof QdDataFacetsChipComponent, typeof QdDataFacetsCurrencyComponent, typeof QdDataFacetsDateComponent, typeof QdDataFacetsIconComponent, typeof QdDataFacetsIntegerComponent, typeof QdDataFacetsLinkComponent, typeof QdDataFacetsProgressComponent, typeof QdDataFacetsStatusComponent, typeof QdDataFacetsTextComponent, typeof QdDataFacetsChipTruncatedTooltipComponent, typeof QdDataFacetsChipTruncatedIndicatorComponent], [typeof i2.CommonModule, typeof
|
|
2508
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDataFacetsModule, [typeof QdDataFacetsBlankComponent, typeof QdDataFacetsBooleanComponent, typeof QdDataFacetsChipComponent, typeof QdDataFacetsCurrencyComponent, typeof QdDataFacetsDateComponent, typeof QdDataFacetsIconComponent, typeof QdDataFacetsIntegerComponent, typeof QdDataFacetsLinkComponent, typeof QdDataFacetsProgressComponent, typeof QdDataFacetsStatusComponent, typeof QdDataFacetsTextComponent, typeof QdDataFacetsChipTruncatedTooltipComponent, typeof QdDataFacetsChipTruncatedIndicatorComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdChipModule, typeof QdStatusIndicatorModule], never>;
|
|
2509
2509
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdDataFacetsModule>;
|
|
2510
2510
|
}
|
|
2511
2511
|
|
|
@@ -2665,13 +2665,13 @@ declare class QdPlaceholdersPipe implements PipeTransform {
|
|
|
2665
2665
|
|
|
2666
2666
|
declare class QdBreadcrumbsModule {
|
|
2667
2667
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdBreadcrumbsModule, never>;
|
|
2668
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdBreadcrumbsModule, [typeof QdBreadcrumbsComponent, typeof QdPlaceholdersPipe], [typeof i2.CommonModule, typeof i4.RouterModule, typeof
|
|
2668
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdBreadcrumbsModule, [typeof QdBreadcrumbsComponent, typeof QdPlaceholdersPipe], [typeof i2.CommonModule, typeof i4.RouterModule, typeof i5.TranslateModule], [typeof QdBreadcrumbsComponent]>;
|
|
2669
2669
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdBreadcrumbsModule>;
|
|
2670
2670
|
}
|
|
2671
2671
|
|
|
2672
2672
|
declare class QdCoreModule {
|
|
2673
2673
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdCoreModule, never>;
|
|
2674
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCoreModule, [typeof QdDisabledDirective, typeof QdFileSizePipe$1, typeof QdPlaceholderPipe, typeof QdProjectionGuardComponent, typeof QdRwdDisabledDirective, typeof QdVisuallyHiddenDirective, typeof QdViewportAdaptiveDirective], [typeof i2.CommonModule, typeof
|
|
2674
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCoreModule, [typeof QdDisabledDirective, typeof QdFileSizePipe$1, typeof QdPlaceholderPipe, typeof QdProjectionGuardComponent, typeof QdRwdDisabledDirective, typeof QdVisuallyHiddenDirective, typeof QdViewportAdaptiveDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdDataFacetsModule, typeof QdBreadcrumbsModule], [typeof QdDisabledDirective, typeof QdFileSizePipe$1, typeof QdPlaceholderPipe, typeof QdProjectionGuardComponent, typeof QdRwdDisabledDirective, typeof QdVisuallyHiddenDirective, typeof QdViewportAdaptiveDirective]>;
|
|
2675
2675
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdCoreModule>;
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
@@ -6138,6 +6138,7 @@ declare class QdCheckboxChipsComponent implements ControlValueAccessor, OnInit,
|
|
|
6138
6138
|
}
|
|
6139
6139
|
|
|
6140
6140
|
declare class QdCheckboxComponent implements ControlValueAccessor {
|
|
6141
|
+
private readonly keyboardDetection;
|
|
6141
6142
|
inputData: QdFormCheckboxOption;
|
|
6142
6143
|
value: string;
|
|
6143
6144
|
testId: string;
|
|
@@ -6281,6 +6282,7 @@ declare class QdCheckboxesComponent implements OnInit, OnChanges, OnDestroy, Con
|
|
|
6281
6282
|
registerOnTouched(fn: any): void;
|
|
6282
6283
|
writeValue(values: any): void;
|
|
6283
6284
|
setDisabledState(disabled: boolean): void;
|
|
6285
|
+
getCheckboxId(_index: number, checkbox: QdFormCheckboxOption): number;
|
|
6284
6286
|
handleClick(checkbox: any): void;
|
|
6285
6287
|
changeValue($event: any): void;
|
|
6286
6288
|
private haveOptionsChanged;
|
|
@@ -6403,6 +6405,7 @@ declare class QdDatepickerComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
6403
6405
|
displayedDateTime: string;
|
|
6404
6406
|
label: string;
|
|
6405
6407
|
hint: string;
|
|
6408
|
+
hasAutofocus: boolean;
|
|
6406
6409
|
readonlyAction: boolean;
|
|
6407
6410
|
viewonlyAction: boolean;
|
|
6408
6411
|
language: string;
|
|
@@ -6652,9 +6655,18 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6652
6655
|
*/
|
|
6653
6656
|
readonly valueChange: EventEmitter<string>;
|
|
6654
6657
|
/**
|
|
6655
|
-
* Emits
|
|
6658
|
+
* Emits when the dropdown is opened.
|
|
6659
|
+
*
|
|
6660
|
+
* @deprecated The name no longer reflects the behavior (it fires on every open, not just on a
|
|
6661
|
+
* click). Use {@link dropdownOpened} instead. Will be removed in v22.
|
|
6656
6662
|
*/
|
|
6657
6663
|
readonly enterClick: EventEmitter<any>;
|
|
6664
|
+
/**
|
|
6665
|
+
* Emits whenever the dropdown opens or closes, regardless of input modality
|
|
6666
|
+
* (mouse click or keyboard Enter/Space). The boolean payload is the open state:
|
|
6667
|
+
* `true` when opened, `false` when closed.
|
|
6668
|
+
*/
|
|
6669
|
+
readonly dropdownOpened: EventEmitter<boolean>;
|
|
6658
6670
|
/**
|
|
6659
6671
|
* Emits event when the hint is clicked/tapped. `hintAction` must be set to `true` for this.
|
|
6660
6672
|
*/
|
|
@@ -6735,7 +6747,7 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6735
6747
|
private updateSelectedOption;
|
|
6736
6748
|
private initOpModeSubscription;
|
|
6737
6749
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDropdownComponent, never>;
|
|
6738
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownComponent, "qd-dropdown", never, { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
|
|
6750
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownComponent, "qd-dropdown", never, { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "dropdownOpened": "dropdownOpened"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
|
|
6739
6751
|
}
|
|
6740
6752
|
|
|
6741
6753
|
/**
|
|
@@ -7315,6 +7327,9 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7315
7327
|
writeValue(value: QdInputValueWithUnit | QdInputValue): void;
|
|
7316
7328
|
setDisabledState(disabled: boolean): void;
|
|
7317
7329
|
handleInput(event: any): void;
|
|
7330
|
+
private handleNumberInput;
|
|
7331
|
+
private setInvalidCharactersError;
|
|
7332
|
+
private clearInvalidCharactersError;
|
|
7318
7333
|
handleOptionSelected(option: QdFormInputOption): void;
|
|
7319
7334
|
onOptionsOpened(): void;
|
|
7320
7335
|
onOptionsClosed(): void;
|
|
@@ -7911,6 +7926,7 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
|
|
|
7911
7926
|
private readonly controlContainer;
|
|
7912
7927
|
private readonly ngZone;
|
|
7913
7928
|
private readonly eventBrokerService;
|
|
7929
|
+
private readonly keyboardDetection;
|
|
7914
7930
|
/**
|
|
7915
7931
|
* The current form item value, if you are working with Model Binding.
|
|
7916
7932
|
*
|
|
@@ -7966,9 +7982,11 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
|
|
|
7966
7982
|
get hasHint(): boolean;
|
|
7967
7983
|
get required(): boolean;
|
|
7968
7984
|
get activeOptionAsList(): QdFormOption[];
|
|
7985
|
+
get tabStopValue(): string | null;
|
|
7969
7986
|
label: string;
|
|
7970
7987
|
align: 'vertical' | 'horizontal';
|
|
7971
7988
|
filter: boolean;
|
|
7989
|
+
hasAutofocus: boolean;
|
|
7972
7990
|
options: QdFormOption[];
|
|
7973
7991
|
isLabelDisabled: boolean;
|
|
7974
7992
|
id: string;
|
|
@@ -9033,6 +9051,12 @@ declare class QdAutofocusModule {
|
|
|
9033
9051
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdAutofocusModule>;
|
|
9034
9052
|
}
|
|
9035
9053
|
|
|
9054
|
+
declare class QdIconButtonModule {
|
|
9055
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdIconButtonModule, never>;
|
|
9056
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdIconButtonModule, [typeof QdIconButtonComponent], [typeof i2.CommonModule], [typeof QdIconButtonComponent]>;
|
|
9057
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QdIconButtonModule>;
|
|
9058
|
+
}
|
|
9059
|
+
|
|
9036
9060
|
declare class QdTooltipComponent {
|
|
9037
9061
|
content?: {
|
|
9038
9062
|
headline?: string;
|
|
@@ -9077,25 +9101,25 @@ declare class QdTooltipOnClickDirective implements OnDestroy {
|
|
|
9077
9101
|
|
|
9078
9102
|
declare class QdTooltipModule {
|
|
9079
9103
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTooltipModule, never>;
|
|
9080
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTooltipModule, [typeof QdTooltipComponent, typeof QdTooltipOnClickDirective, typeof QdTooltipAtIntersectionDirective, typeof QdTooltipIconComponent], [typeof i2.CommonModule, typeof
|
|
9104
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTooltipModule, [typeof QdTooltipComponent, typeof QdTooltipOnClickDirective, typeof QdTooltipAtIntersectionDirective, typeof QdTooltipIconComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule], [typeof QdTooltipOnClickDirective, typeof QdTooltipAtIntersectionDirective, typeof QdTooltipIconComponent]>;
|
|
9081
9105
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTooltipModule>;
|
|
9082
9106
|
}
|
|
9083
9107
|
|
|
9084
9108
|
declare class QdFormModule {
|
|
9085
9109
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormModule, never>;
|
|
9086
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFormModule, [typeof QdCalendarComponent, typeof QdCheckboxChipsComponent, typeof QdCheckboxChipsItemComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdDropdownOptionsComponent, typeof QdFilterFormItemsComponent, typeof QdFormErrorComponent, typeof QdFormHintComponent, typeof QdFormLabelComponent, typeof QdFormReadonlyComponent, typeof QdFormViewonlyComponent, typeof QdInputComponent, typeof QdInputUnitsComponent, typeof QdInputOptionsComponent, typeof QdMultiInputChipComponent, typeof QdMultiInputMenuComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdFormInputComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof
|
|
9110
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFormModule, [typeof QdCalendarComponent, typeof QdCheckboxChipsComponent, typeof QdCheckboxChipsItemComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdDropdownOptionsComponent, typeof QdFilterFormItemsComponent, typeof QdFormErrorComponent, typeof QdFormHintComponent, typeof QdFormLabelComponent, typeof QdFormReadonlyComponent, typeof QdFormViewonlyComponent, typeof QdInputComponent, typeof QdInputUnitsComponent, typeof QdInputOptionsComponent, typeof QdMultiInputChipComponent, typeof QdMultiInputMenuComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdFormInputComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i5.TranslateModule, typeof QdAutofocusModule, typeof QdChipModule, typeof QdCoreModule, typeof QdIconButtonModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof i39.NgxEditorModule], [typeof QdCheckboxChipsComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdFilterFormItemsComponent, typeof QdInputComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent]>;
|
|
9087
9111
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdFormModule>;
|
|
9088
9112
|
}
|
|
9089
9113
|
|
|
9090
9114
|
declare class QdNotificationsModule {
|
|
9091
9115
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdNotificationsModule, never>;
|
|
9092
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNotificationsModule, [typeof QdNotificationComponent, typeof QdNotificationContentComponent, typeof QdNotificationsComponent, typeof QdNotificationsSnackbarComponent, typeof QdNotificationsSnackbarListenerDirective], [typeof i2.CommonModule, typeof QdFormModule, typeof QdIconModule, typeof
|
|
9116
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNotificationsModule, [typeof QdNotificationComponent, typeof QdNotificationContentComponent, typeof QdNotificationsComponent, typeof QdNotificationsSnackbarComponent, typeof QdNotificationsSnackbarListenerDirective], [typeof i2.CommonModule, typeof QdFormModule, typeof QdIconModule, typeof i5.TranslateModule], [typeof QdNotificationComponent, typeof QdNotificationContentComponent, typeof QdNotificationsComponent, typeof QdNotificationsSnackbarListenerDirective]>;
|
|
9093
9117
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdNotificationsModule>;
|
|
9094
9118
|
}
|
|
9095
9119
|
|
|
9096
9120
|
declare class QdButtonModule {
|
|
9097
9121
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonModule, never>;
|
|
9098
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdButtonModule, [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof
|
|
9122
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdButtonModule, [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdMenuButtonComponent, typeof QdButtonAdditionalInfoComponent, typeof QdSanitizeHtmlPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdTextSectionModule, typeof QdPopoverModule, typeof QdCoreModule, typeof QdNotificationsModule, typeof QdIconButtonModule], [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdIconButtonComponent, typeof QdMenuButtonComponent]>;
|
|
9099
9123
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdButtonModule>;
|
|
9100
9124
|
}
|
|
9101
9125
|
|
|
@@ -9553,7 +9577,7 @@ declare class QdColumnDisableResponsiveColspansDirective implements OnInit, Afte
|
|
|
9553
9577
|
|
|
9554
9578
|
declare class QdGridModule {
|
|
9555
9579
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdGridModule, never>;
|
|
9556
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdGridModule, [typeof QdGridComponent, typeof QdSubgridComponent, typeof QdColumnsMaxDirective, typeof QdColumnsDisableAutoFillDirective, typeof QdColumnsDisableResponsiveColspansDirective, typeof QdColumnBreakBeforeDirective, typeof QdColumnNextInSameRowDirective, typeof QdColumnFullGridWidthDirective, typeof QdColumnAutoFillDirective, typeof QdColumnDisableResponsiveColspansDirective], [typeof i2.CommonModule, typeof QdColumnsDirective, typeof QdColumnDirective, typeof
|
|
9580
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdGridModule, [typeof QdGridComponent, typeof QdSubgridComponent, typeof QdColumnsMaxDirective, typeof QdColumnsDisableAutoFillDirective, typeof QdColumnsDisableResponsiveColspansDirective, typeof QdColumnBreakBeforeDirective, typeof QdColumnNextInSameRowDirective, typeof QdColumnFullGridWidthDirective, typeof QdColumnAutoFillDirective, typeof QdColumnDisableResponsiveColspansDirective], [typeof i2.CommonModule, typeof QdColumnsDirective, typeof QdColumnDirective, typeof i5.TranslateModule], [typeof QdGridComponent, typeof QdSubgridComponent, typeof QdColumnDirective, typeof QdColumnsDirective, typeof QdColumnsMaxDirective, typeof QdColumnsDisableAutoFillDirective, typeof QdColumnsDisableResponsiveColspansDirective, typeof QdColumnBreakBeforeDirective, typeof QdColumnNextInSameRowDirective, typeof QdColumnFullGridWidthDirective, typeof QdColumnAutoFillDirective, typeof QdColumnDisableResponsiveColspansDirective]>;
|
|
9557
9581
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdGridModule>;
|
|
9558
9582
|
}
|
|
9559
9583
|
|
|
@@ -10548,7 +10572,7 @@ declare class QdContactCardMenuComponent implements OnInit, OnDestroy {
|
|
|
10548
10572
|
|
|
10549
10573
|
declare class QdContactCardModule {
|
|
10550
10574
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdContactCardModule, never>;
|
|
10551
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdContactCardModule, [typeof QdContactCardComponent, typeof QdContactCardMenuComponent], [typeof i2.CommonModule, typeof QdCoreModule, typeof
|
|
10575
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdContactCardModule, [typeof QdContactCardComponent, typeof QdContactCardMenuComponent], [typeof i2.CommonModule, typeof QdCoreModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdButtonModule, typeof QdPopoverModule], [typeof QdContactCardComponent]>;
|
|
10552
10576
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdContactCardModule>;
|
|
10553
10577
|
}
|
|
10554
10578
|
|
|
@@ -10610,6 +10634,15 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
|
|
|
10610
10634
|
private changeDetectorRef;
|
|
10611
10635
|
private dialogChangeGuard;
|
|
10612
10636
|
private dialogService;
|
|
10637
|
+
/**
|
|
10638
|
+
* A static test ID for integration tests can be set. <br />
|
|
10639
|
+
* The value for the HTML attribute [data-test-id].
|
|
10640
|
+
*
|
|
10641
|
+
* Every element of the dialog derives its own test ID from this root,
|
|
10642
|
+
* for example `<root>-close-button`. A nested dialog passes its own root
|
|
10643
|
+
* down, so a stacked dialog stays reachable without structural selectors.
|
|
10644
|
+
*/
|
|
10645
|
+
testId: string;
|
|
10613
10646
|
body?: ElementRef<HTMLElement>;
|
|
10614
10647
|
infoBanners?: ElementRef<HTMLElement>;
|
|
10615
10648
|
get hasSectionsClass(): boolean;
|
|
@@ -10618,6 +10651,7 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
|
|
|
10618
10651
|
hasInfoBanner: boolean;
|
|
10619
10652
|
private _destroyed$;
|
|
10620
10653
|
private _pageDialogCanCloseFn;
|
|
10654
|
+
private _isConfirmingClose;
|
|
10621
10655
|
get isFullWidth(): boolean;
|
|
10622
10656
|
ngOnInit(): void;
|
|
10623
10657
|
ngAfterContentChecked(): void;
|
|
@@ -10632,7 +10666,7 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
|
|
|
10632
10666
|
private runCancelHandlerAndClose;
|
|
10633
10667
|
private bindEscToClose;
|
|
10634
10668
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogComponent, never>;
|
|
10635
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogComponent, "qd-dialog", never, {}, {}, never, ["qd-page-info-banner", "*", "qd-dialog-action"], false, never>;
|
|
10669
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogComponent, "qd-dialog", never, { "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["qd-page-info-banner", "*", "qd-dialog-action"], false, never>;
|
|
10636
10670
|
}
|
|
10637
10671
|
|
|
10638
10672
|
/**
|
|
@@ -11039,10 +11073,17 @@ declare class QdDialogAuthSessionEndComponent {
|
|
|
11039
11073
|
* Tracks pending changes inside a QdDialog by comparing the current form value with the initial value.
|
|
11040
11074
|
* Supports both Reactive Forms (FormGroupDirective) and Template-Driven Forms (NgForm).
|
|
11041
11075
|
*
|
|
11042
|
-
* Relevant when closing the dialog (X icon or Cancel button):
|
|
11076
|
+
* Relevant when closing the dialog (X icon, ESC or Cancel button):
|
|
11043
11077
|
* - if the current value equals the initial value, closing will not trigger a pending-changes warning
|
|
11044
11078
|
* - the form is reset to pristine, so the dialog behaves like “unchanged”
|
|
11045
11079
|
*
|
|
11080
|
+
* #### Notes & Best Practices:
|
|
11081
|
+
*
|
|
11082
|
+
* - Pending changes are reported for the dialog that hosts the form. Other open
|
|
11083
|
+
* dialogs are never affected.
|
|
11084
|
+
* - Outside a dialog there is nothing to guard. The form is still reset to
|
|
11085
|
+
* pristine, but no pending changes are reported.
|
|
11086
|
+
*
|
|
11046
11087
|
* #### **Usage (Reactive Form)**
|
|
11047
11088
|
*
|
|
11048
11089
|
* ```html
|
|
@@ -11056,18 +11097,46 @@ declare class QdDialogAuthSessionEndComponent {
|
|
|
11056
11097
|
declare class QdPendingChangesGuardDirective implements OnInit, OnDestroy {
|
|
11057
11098
|
private ngForm;
|
|
11058
11099
|
private formGroupDirective;
|
|
11100
|
+
private dialogRef;
|
|
11059
11101
|
private changeGuard;
|
|
11060
11102
|
private statusSubscription;
|
|
11061
11103
|
private initialValue;
|
|
11062
11104
|
private formGroup;
|
|
11063
11105
|
constructor();
|
|
11064
11106
|
ngOnInit(): void;
|
|
11065
|
-
private updateStatus;
|
|
11066
11107
|
ngOnDestroy(): void;
|
|
11108
|
+
private updateStatus;
|
|
11109
|
+
private reportPendingChanges;
|
|
11067
11110
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPendingChangesGuardDirective, never>;
|
|
11068
11111
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPendingChangesGuardDirective, "[qdPendingChangesGuard]", never, {}, {}, never, never, false, never>;
|
|
11069
11112
|
}
|
|
11070
11113
|
|
|
11114
|
+
interface QdDialogConfirmConfig {
|
|
11115
|
+
title?: {
|
|
11116
|
+
i18n: string;
|
|
11117
|
+
};
|
|
11118
|
+
message: {
|
|
11119
|
+
i18n: string;
|
|
11120
|
+
};
|
|
11121
|
+
confirm?: {
|
|
11122
|
+
i18n: string;
|
|
11123
|
+
};
|
|
11124
|
+
cancel?: {
|
|
11125
|
+
i18n: string;
|
|
11126
|
+
};
|
|
11127
|
+
}
|
|
11128
|
+
|
|
11129
|
+
declare class QdDialogConfirmComponent {
|
|
11130
|
+
private dialogRef;
|
|
11131
|
+
private data;
|
|
11132
|
+
config: QdDialogConfirmConfig;
|
|
11133
|
+
testId: string;
|
|
11134
|
+
close(): void;
|
|
11135
|
+
confirm(): void;
|
|
11136
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogConfirmComponent, never>;
|
|
11137
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogConfirmComponent, "qd-dialog-confirm", never, {}, {}, never, never, false, never>;
|
|
11138
|
+
}
|
|
11139
|
+
|
|
11071
11140
|
declare class QdPageDialogWithBreadcrumbsComponent {
|
|
11072
11141
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageDialogWithBreadcrumbsComponent, never>;
|
|
11073
11142
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageDialogWithBreadcrumbsComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -11086,7 +11155,7 @@ declare class QdSpinnerModule {
|
|
|
11086
11155
|
|
|
11087
11156
|
declare class QdDialogModule {
|
|
11088
11157
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogModule, never>;
|
|
11089
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDialogModule, [typeof QdDialogActionComponent, typeof QdDialogAuthSessionEndComponent, typeof QdDialogComponent, typeof QdDialogConfirmationComponent, typeof QdDialogConfirmationErrorDirective, typeof QdDialogConfirmationInfoDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPageDialogWithBreadcrumbsComponent, typeof QdPendingChangesGuardDirective], [typeof i2.CommonModule, typeof
|
|
11158
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDialogModule, [typeof QdDialogActionComponent, typeof QdDialogAuthSessionEndComponent, typeof QdDialogComponent, typeof QdDialogConfirmComponent, typeof QdDialogConfirmationComponent, typeof QdDialogConfirmationErrorDirective, typeof QdDialogConfirmationInfoDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPageDialogWithBreadcrumbsComponent, typeof QdPendingChangesGuardDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i4.RouterModule, typeof i12.DialogModule, typeof QdButtonModule, typeof QdFormModule, typeof QdIconModule, typeof QdNotificationsModule, typeof QdSpinnerModule, typeof QdTextSectionModule, typeof QdCoreModule, typeof QdBreadcrumbsModule], [typeof QdDialogActionComponent, typeof QdDialogAuthSessionEndComponent, typeof QdDialogComponent, typeof QdDialogConfirmationComponent, typeof QdDialogConfirmationErrorDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPendingChangesGuardDirective]>;
|
|
11090
11159
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdDialogModule>;
|
|
11091
11160
|
}
|
|
11092
11161
|
|
|
@@ -11560,7 +11629,7 @@ declare class QdProgressBarModule {
|
|
|
11560
11629
|
|
|
11561
11630
|
declare class QdFileCollectorModule {
|
|
11562
11631
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFileCollectorModule, never>;
|
|
11563
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFileCollectorModule, [typeof QdFileCollectorComponent, typeof QdFileCollectorAllowedFilesDescriptionComponent, typeof QdFileCollectorItemComponent, typeof QdFileCollectorItemNameComponent, typeof QdFileCollectorItemSizeComponent, typeof QdFileCollectorItemToolsComponent, typeof QdFileCollectorDialogComponent, typeof QdFileCollectorDialogItemComponent, typeof QdFileCollectorDialogItemProgressComponent, typeof QdFileCollectorDialogItemErrorComponent, typeof QdFileDeleteDialogComponent, typeof QdFileCollectorUploadTimestampComponent, typeof QdFileSizePipe, typeof QdUploadTimestampPipe], [typeof i2.CommonModule, typeof
|
|
11632
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFileCollectorModule, [typeof QdFileCollectorComponent, typeof QdFileCollectorAllowedFilesDescriptionComponent, typeof QdFileCollectorItemComponent, typeof QdFileCollectorItemNameComponent, typeof QdFileCollectorItemSizeComponent, typeof QdFileCollectorItemToolsComponent, typeof QdFileCollectorDialogComponent, typeof QdFileCollectorDialogItemComponent, typeof QdFileCollectorDialogItemProgressComponent, typeof QdFileCollectorDialogItemErrorComponent, typeof QdFileDeleteDialogComponent, typeof QdFileCollectorUploadTimestampComponent, typeof QdFileSizePipe, typeof QdUploadTimestampPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDialogModule, typeof QdButtonModule, typeof QdCoreModule, typeof QdIconModule, typeof QdProgressBarModule], [typeof QdFileCollectorComponent]>;
|
|
11564
11633
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdFileCollectorModule>;
|
|
11565
11634
|
}
|
|
11566
11635
|
|
|
@@ -12163,7 +12232,7 @@ declare class QdFilterItemSingleSelectComponent implements OnInit, OnDestroy {
|
|
|
12163
12232
|
|
|
12164
12233
|
declare class QdFilterModule {
|
|
12165
12234
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterModule, never>;
|
|
12166
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFilterModule, [typeof LocaleDatePipe, typeof QdFilterComponent, typeof QdFilterCategoryComponent, typeof QdFilterCategoryBooleanComponent, typeof QdFilterItemBooleanComponent, typeof QdFilterItemDateCategoryComponent, typeof QdFilterItemDateComponent, typeof QdFilterItemDateRangeCategoryComponent, typeof QdFilterItemDateRangeComponent, typeof QdFilterItemFreeTextCategoryComponent, typeof QdFilterItemFreeTextComponent, typeof QdFilterItemSelectCategoryComponent, typeof QdFilterItemMultiSelectComponent, typeof QdFilterItemSingleSelectComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof
|
|
12235
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFilterModule, [typeof LocaleDatePipe, typeof QdFilterComponent, typeof QdFilterCategoryComponent, typeof QdFilterCategoryBooleanComponent, typeof QdFilterItemBooleanComponent, typeof QdFilterItemDateCategoryComponent, typeof QdFilterItemDateComponent, typeof QdFilterItemDateRangeCategoryComponent, typeof QdFilterItemDateRangeComponent, typeof QdFilterItemFreeTextCategoryComponent, typeof QdFilterItemFreeTextComponent, typeof QdFilterItemSelectCategoryComponent, typeof QdFilterItemMultiSelectComponent, typeof QdFilterItemSingleSelectComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdChipModule, typeof QdCoreModule, typeof QdFormModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof i25.StoreFeatureModule], [typeof QdFilterComponent]>;
|
|
12167
12236
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdFilterModule>;
|
|
12168
12237
|
}
|
|
12169
12238
|
|
|
@@ -12479,7 +12548,7 @@ declare class NavigationTileComponent implements OnInit {
|
|
|
12479
12548
|
|
|
12480
12549
|
declare class QdNavigationTilesModule {
|
|
12481
12550
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdNavigationTilesModule, never>;
|
|
12482
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNavigationTilesModule, [typeof NavigationTilesComponent, typeof NavigationTileComponent], [typeof i2.CommonModule, typeof QdIconModule, typeof
|
|
12551
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNavigationTilesModule, [typeof NavigationTilesComponent, typeof NavigationTileComponent], [typeof i2.CommonModule, typeof QdIconModule, typeof i5.TranslateModule], [typeof NavigationTilesComponent, typeof NavigationTileComponent]>;
|
|
12483
12552
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdNavigationTilesModule>;
|
|
12484
12553
|
}
|
|
12485
12554
|
|
|
@@ -14314,6 +14383,7 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14314
14383
|
private bottomOffset$;
|
|
14315
14384
|
private readonly dialogRef;
|
|
14316
14385
|
private readonly navigationInterceptor;
|
|
14386
|
+
private readonly injector;
|
|
14317
14387
|
private readonly confirmationDialogService;
|
|
14318
14388
|
/**
|
|
14319
14389
|
* This property defines the configuration for the QdPage component, including the page type,
|
|
@@ -14402,6 +14472,11 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14402
14472
|
* - Snapshots store only raw values and are taken by the page/header workflow (e.g. on init, edit, save). The confirmation dialog may restore all registered form groups from the snapshot.
|
|
14403
14473
|
* - FormArrays are restored with dynamic resizing (length is aligned to snapshot before values are reset).
|
|
14404
14474
|
*
|
|
14475
|
+
* ### **Filling a form right after connecting it**
|
|
14476
|
+
* - You can fill a connected form right after registration — e.g. an `effect` that adds controls or pushes `FormArray` rows. This first fill is the form's starting point, not a user change.
|
|
14477
|
+
* - So loading data into a fresh form never triggers a false "unsaved changes" prompt. Only later edits count.
|
|
14478
|
+
* - This only covers fills that happen right after registration, in the same task. Data that arrives later — e.g. an HTTP response — counts as a user change. For async loads, render the form only once the data is there (e.g. with `@if`).
|
|
14479
|
+
*
|
|
14405
14480
|
* ### **Page-Dialog (FullWidth) – Unsaved-Changes Close Contract**
|
|
14406
14481
|
* - When a QdPage is embedded in a full-width page dialog, the directive’s registered form groups are also used to guard dialog closing.
|
|
14407
14482
|
* - The page dialog can only close (e.g. via ESC or backdrop) if no unsaved changes are detected ($hasValuesChanged() is false).
|
|
@@ -14414,8 +14489,10 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14414
14489
|
* ```html
|
|
14415
14490
|
* <qd-page [config]="pageConfig">
|
|
14416
14491
|
* <qd-section [config]="sectionConfig">
|
|
14417
|
-
* <qd-grid
|
|
14418
|
-
*
|
|
14492
|
+
* <qd-grid
|
|
14493
|
+
* qdConnectFormStateToPage="myFormGroup"
|
|
14494
|
+
* [formGroup]="myFormGroup">
|
|
14495
|
+
* My Section
|
|
14419
14496
|
* </qd-grid>
|
|
14420
14497
|
* </qd-section>
|
|
14421
14498
|
* </qd-page>
|
|
@@ -14435,13 +14512,14 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14435
14512
|
declare class QdConnectFormStateToPageDirective implements OnInit, OnDestroy {
|
|
14436
14513
|
private formGroupManagerService;
|
|
14437
14514
|
private formGroupDirective;
|
|
14515
|
+
private closeInitialBuildupHandle?;
|
|
14438
14516
|
/**
|
|
14439
14517
|
* This key is used to manage and track the form state within the page. It has to be unique for each FormGroup Connector. Use the property name of the FormGroup in your component.
|
|
14440
14518
|
*/
|
|
14441
14519
|
qdConnectFormStateToPage: string;
|
|
14442
14520
|
ngOnInit(): void;
|
|
14443
14521
|
ngOnDestroy(): void;
|
|
14444
|
-
|
|
14522
|
+
private scheduleInitialBaseline;
|
|
14445
14523
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdConnectFormStateToPageDirective, never>;
|
|
14446
14524
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QdConnectFormStateToPageDirective, "[qdConnectFormStateToPage]", never, { "qdConnectFormStateToPage": { "alias": "qdConnectFormStateToPage"; "required": false; }; }, {}, never, never, false, never>;
|
|
14447
14525
|
}
|
|
@@ -14515,6 +14593,7 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
|
|
|
14515
14593
|
private confirmationDialogService;
|
|
14516
14594
|
private contextService;
|
|
14517
14595
|
private resolverTriggerService;
|
|
14596
|
+
private readonly injector;
|
|
14518
14597
|
private pageStoreService;
|
|
14519
14598
|
config: QdPageConfig<T>;
|
|
14520
14599
|
hasNavigation: boolean;
|
|
@@ -15177,13 +15256,13 @@ declare function qdSearchParameterize(search: QdSearchPostBodyData | undefined):
|
|
|
15177
15256
|
|
|
15178
15257
|
declare class QdSearchModule {
|
|
15179
15258
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdSearchModule, never>;
|
|
15180
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSearchModule, [typeof QdSearchComponent], [typeof i2.CommonModule, typeof
|
|
15259
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSearchModule, [typeof QdSearchComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i25.StoreFeatureModule, typeof QdButtonModule, typeof QdFormModule, typeof QdIconModule, typeof QdTooltipModule], [typeof QdSearchComponent]>;
|
|
15181
15260
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdSearchModule>;
|
|
15182
15261
|
}
|
|
15183
15262
|
|
|
15184
15263
|
declare class QdSectionModule {
|
|
15185
15264
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdSectionModule, never>;
|
|
15186
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSectionModule, [typeof QdSectionComponent, typeof QdSectionToolbarComponent, typeof QdSectionToolbarActionComponent, typeof QdConnectorTableFilterDirective, typeof QdConnectorTableSearchDirective, typeof QdConnectorTableContextDirective, typeof QdSectionAdapterDirective], [typeof i2.CommonModule, typeof
|
|
15265
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSectionModule, [typeof QdSectionComponent, typeof QdSectionToolbarComponent, typeof QdSectionToolbarActionComponent, typeof QdConnectorTableFilterDirective, typeof QdConnectorTableSearchDirective, typeof QdConnectorTableContextDirective, typeof QdSectionAdapterDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdIconModule, typeof QdFilterModule, typeof QdSearchModule, typeof QdCoreModule, typeof QdTooltipModule], [typeof QdSectionComponent, typeof QdConnectorTableFilterDirective, typeof QdConnectorTableSearchDirective, typeof QdConnectorTableContextDirective, typeof QdSectionAdapterDirective, typeof QdSectionToolbarComponent]>;
|
|
15187
15266
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdSectionModule>;
|
|
15188
15267
|
}
|
|
15189
15268
|
|
|
@@ -16527,19 +16606,19 @@ declare class QdTreeRowActionsSecondaryMenuComponent<T extends string> implement
|
|
|
16527
16606
|
|
|
16528
16607
|
declare class QdTreeModule {
|
|
16529
16608
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTreeModule, never>;
|
|
16530
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTreeModule, [typeof QdTreeComponent, typeof QdTreeHeadComponent, typeof QdTreeBodyComponent, typeof QdTreeRowComponent, typeof QdTreeEmptyStateComponent, typeof QdTreeRowActionsSecondaryMenuComponent], [typeof i2.CommonModule, typeof
|
|
16609
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTreeModule, [typeof QdTreeComponent, typeof QdTreeHeadComponent, typeof QdTreeBodyComponent, typeof QdTreeRowComponent, typeof QdTreeEmptyStateComponent, typeof QdTreeRowActionsSecondaryMenuComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i25.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule], [typeof QdTreeComponent]>;
|
|
16531
16610
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTreeModule>;
|
|
16532
16611
|
}
|
|
16533
16612
|
|
|
16534
16613
|
declare class QdTableModule {
|
|
16535
16614
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTableModule, never>;
|
|
16536
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTableModule, [typeof QdScrollToPaginationDirective, typeof QdTableBodyComponent, typeof QdTableComponent, typeof QdTableEmptyStateComponent, typeof QdTableHeadComponent, typeof QdTablePaginatorComponent, typeof QdTablePaginatorPageSizeComponent, typeof QdTablePaginatorPageSizeDirective, typeof QdTableRowActionsSecondaryMenuComponent, typeof QdTableRowComponent, typeof QdTableRowSelectionComponent, typeof QdTableSortComponent], [typeof i2.CommonModule, typeof
|
|
16615
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTableModule, [typeof QdScrollToPaginationDirective, typeof QdTableBodyComponent, typeof QdTableComponent, typeof QdTableEmptyStateComponent, typeof QdTableHeadComponent, typeof QdTablePaginatorComponent, typeof QdTablePaginatorPageSizeComponent, typeof QdTablePaginatorPageSizeDirective, typeof QdTableRowActionsSecondaryMenuComponent, typeof QdTableRowComponent, typeof QdTableRowSelectionComponent, typeof QdTableSortComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i25.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdDialogModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule, typeof QdTreeModule], [typeof QdTableComponent, typeof QdTreeComponent]>;
|
|
16537
16616
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTableModule>;
|
|
16538
16617
|
}
|
|
16539
16618
|
|
|
16540
16619
|
declare class QdPageModule {
|
|
16541
16620
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageModule, never>;
|
|
16542
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageModule, [typeof QdPageComponent, typeof QdPageFooterComponent, typeof QdPageObjectHeaderComponent, typeof QdPageControlPanelComponent, typeof QdSingleSelectFacetComponent, typeof QdMultiSelectFacetComponent, typeof QdDateFacetComponent, typeof QdIconFacetComponent, typeof QdValueFacetComponent, typeof QdStatusFacetComponent, typeof QdDynamicFacetComponent, typeof QdDynamicFacetDirective, typeof QdCriticalityFacetComponent, typeof QdProgressFacetComponent, typeof QdReferencesFacetComponent, typeof QdConnectFormStateToPageDirective, typeof QdPageFooterCustomContentDirective, typeof QdContextSelectDialogComponent, typeof QdPageInfoBannerComponent], [typeof i2.CommonModule, typeof i21.ScrollingModule, typeof
|
|
16621
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageModule, [typeof QdPageComponent, typeof QdPageFooterComponent, typeof QdPageObjectHeaderComponent, typeof QdPageControlPanelComponent, typeof QdSingleSelectFacetComponent, typeof QdMultiSelectFacetComponent, typeof QdDateFacetComponent, typeof QdIconFacetComponent, typeof QdValueFacetComponent, typeof QdStatusFacetComponent, typeof QdDynamicFacetComponent, typeof QdDynamicFacetDirective, typeof QdCriticalityFacetComponent, typeof QdProgressFacetComponent, typeof QdReferencesFacetComponent, typeof QdConnectFormStateToPageDirective, typeof QdPageFooterCustomContentDirective, typeof QdContextSelectDialogComponent, typeof QdPageInfoBannerComponent], [typeof i2.CommonModule, typeof i21.ScrollingModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdButtonModule, typeof QdChipModule, typeof QdCoreModule, typeof QdDialogModule, typeof QdIconModule, typeof QdProgressBarModule, typeof QdSectionModule, typeof QdSpinnerModule, typeof QdStatusIndicatorModule, typeof QdTableModule, typeof QdTextSectionModule, typeof QdSearchModule, typeof QdPopoverModule], [typeof QdPageComponent, typeof QdPageFooterComponent, typeof QdConnectFormStateToPageDirective, typeof QdPageControlPanelComponent, typeof QdPageFooterCustomContentDirective, typeof QdPageInfoBannerComponent]>;
|
|
16543
16622
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPageModule>;
|
|
16544
16623
|
}
|
|
16545
16624
|
|
|
@@ -16716,7 +16795,7 @@ declare class QdPanelSectionActionsComponent {
|
|
|
16716
16795
|
|
|
16717
16796
|
declare class QdPanelSectionModule {
|
|
16718
16797
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPanelSectionModule, never>;
|
|
16719
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPanelSectionModule, [typeof QdPanelSectionComponent, typeof QdPanelSectionStatusComponent, typeof QdPanelSectionActionsComponent, typeof QdPanelSectionTextParagraphComponent], [typeof i2.CommonModule, typeof
|
|
16798
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPanelSectionModule, [typeof QdPanelSectionComponent, typeof QdPanelSectionStatusComponent, typeof QdPanelSectionActionsComponent, typeof QdPanelSectionTextParagraphComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdIconModule], [typeof QdPanelSectionComponent, typeof QdPanelSectionStatusComponent, typeof QdPanelSectionActionsComponent, typeof QdPanelSectionTextParagraphComponent]>;
|
|
16720
16799
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPanelSectionModule>;
|
|
16721
16800
|
}
|
|
16722
16801
|
|
|
@@ -18056,7 +18135,7 @@ declare class QdShellServiceNavigationModule {
|
|
|
18056
18135
|
|
|
18057
18136
|
declare class QdShellModule {
|
|
18058
18137
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdShellModule, never>;
|
|
18059
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdShellModule, [typeof QdCounterBadgeComponent, typeof QdShellComponent, typeof QdShellFooterComponent, typeof QdShellHeaderBannerComponent, typeof QdShellHeaderComponent, typeof QdShellHeaderSearchComponent, typeof QdShellHeaderWidgetComponent, typeof QdShellLeftComponent, typeof QdShellRightComponent, typeof QdShellRightToolbarComponent, typeof QdShellNotificationsComponent, typeof QdShellNotificationComponent, typeof QdShellNavigationComponent, typeof QdShellNavigationLinkComponent, typeof QdShellToolbarComponent, typeof QdShellToolbarItemComponent], [typeof i2.CommonModule, typeof i4.RouterModule, typeof i19.CdkDrag, typeof QdIconModule, typeof QdSearchModule, typeof
|
|
18138
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdShellModule, [typeof QdCounterBadgeComponent, typeof QdShellComponent, typeof QdShellFooterComponent, typeof QdShellHeaderBannerComponent, typeof QdShellHeaderComponent, typeof QdShellHeaderSearchComponent, typeof QdShellHeaderWidgetComponent, typeof QdShellLeftComponent, typeof QdShellRightComponent, typeof QdShellRightToolbarComponent, typeof QdShellNotificationsComponent, typeof QdShellNotificationComponent, typeof QdShellNavigationComponent, typeof QdShellNavigationLinkComponent, typeof QdShellToolbarComponent, typeof QdShellToolbarItemComponent], [typeof i2.CommonModule, typeof i4.RouterModule, typeof i19.CdkDrag, typeof QdIconModule, typeof QdSearchModule, typeof i5.TranslateModule, typeof QdNotificationsModule, typeof QdShellServiceNavigationModule], [typeof QdShellComponent]>;
|
|
18060
18139
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdShellModule>;
|
|
18061
18140
|
}
|
|
18062
18141
|
|
|
@@ -18199,7 +18278,7 @@ declare class QdStriphtmlPipe implements PipeTransform {
|
|
|
18199
18278
|
|
|
18200
18279
|
declare class QdCommentsModule {
|
|
18201
18280
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdCommentsModule, never>;
|
|
18202
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCommentsModule, [typeof QdCommentsComponent, typeof QdCommentMenuComponent, typeof AddCommentDialogComponent, typeof QdStriphtmlPipe], [typeof i2.CommonModule, typeof
|
|
18281
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCommentsModule, [typeof QdCommentsComponent, typeof QdCommentMenuComponent, typeof AddCommentDialogComponent, typeof QdStriphtmlPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdPopoverModule, typeof QdIconModule, typeof QdButtonModule, typeof QdFormModule, typeof QdDialogModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof QdCoreModule], [typeof QdCommentsComponent]>;
|
|
18203
18282
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdCommentsModule>;
|
|
18204
18283
|
}
|
|
18205
18284
|
|
|
@@ -18254,7 +18333,7 @@ declare class QdPageStepHeaderComponent extends CdkStepHeader {
|
|
|
18254
18333
|
|
|
18255
18334
|
declare class QdPageStepperModule {
|
|
18256
18335
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageStepperModule, never>;
|
|
18257
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageStepperModule, [typeof QdPageStepperCancelDialogComponent, typeof QdPageStepperAdapterDirective], [typeof i2.CommonModule, typeof
|
|
18336
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageStepperModule, [typeof QdPageStepperCancelDialogComponent, typeof QdPageStepperAdapterDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i5$1.CdkStepperModule, typeof QdIconModule, typeof QdButtonModule, typeof QdGridModule, typeof QdDialogModule, typeof QdTextSectionModule, typeof QdPageStepperComponent, typeof QdPageStepComponent, typeof QdPageStepHeaderComponent], [typeof QdPageStepperComponent, typeof QdPageStepComponent, typeof QdPageStepperAdapterDirective]>;
|
|
18258
18337
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPageStepperModule>;
|
|
18259
18338
|
}
|
|
18260
18339
|
|
|
@@ -18315,7 +18394,7 @@ declare class QdPageTabHeaderCountersComponent implements OnInit {
|
|
|
18315
18394
|
|
|
18316
18395
|
declare class QdPageTabsModule {
|
|
18317
18396
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageTabsModule, never>;
|
|
18318
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageTabsModule, [typeof QdPageTabsAdapterDirective], [typeof i2.CommonModule, typeof
|
|
18397
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageTabsModule, [typeof QdPageTabsAdapterDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdIconModule, typeof QdPageTabsComponent, typeof QdPageTabComponent, typeof QdPageTabHeaderComponent, typeof QdPageTabHeaderCountersComponent], [typeof QdPageTabsComponent, typeof QdPageTabComponent, typeof QdPageTabsAdapterDirective]>;
|
|
18319
18398
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPageTabsModule>;
|
|
18320
18399
|
}
|
|
18321
18400
|
|
|
@@ -18756,7 +18835,7 @@ declare class QdFocusableModule {
|
|
|
18756
18835
|
|
|
18757
18836
|
declare class QdQuickEditModule {
|
|
18758
18837
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdQuickEditModule, never>;
|
|
18759
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdQuickEditModule, [typeof QdQuickEditComponent, typeof QdCustomForDirective], [typeof QdCoreModule, typeof QdButtonModule, typeof i2.CommonModule, typeof QdFormModule, typeof i30.ReactiveFormsModule, typeof QdIconModule, typeof QdPopoverModule, typeof
|
|
18838
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdQuickEditModule, [typeof QdQuickEditComponent, typeof QdCustomForDirective], [typeof QdCoreModule, typeof QdButtonModule, typeof i2.CommonModule, typeof QdFormModule, typeof i30.ReactiveFormsModule, typeof QdIconModule, typeof QdPopoverModule, typeof i5.TranslateModule, typeof QdPageModule, typeof QdFocusableModule, typeof QdTooltipModule], [typeof QdQuickEditComponent]>;
|
|
18760
18839
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdQuickEditModule>;
|
|
18761
18840
|
}
|
|
18762
18841
|
|
package/package.json
CHANGED
package/src/assets/i18n/de.json
CHANGED
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"i18n.qd.tabs.tab.four": "Assessment",
|
|
147
147
|
"i18n.qd.dialog.action.primary": "Bestätigen",
|
|
148
148
|
"i18n.qd.dialog.action.cancel": "Abbrechen",
|
|
149
|
+
"i18n.qd.dialog.action.close": "Schließen",
|
|
149
150
|
"i18n.qd.dialog.confirmation.checkbox.label": "Daten vollständig und richtig",
|
|
150
151
|
"i18n.qd.section.actions.menuButton.label": "Aktionen",
|
|
151
152
|
"i18n.qd.comments.add.dialog.title": "Neuer Kommentar",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"i18n.qd.tabs.tab.four": "Assessment",
|
|
146
146
|
"i18n.qd.dialog.action.primary": "Submit",
|
|
147
147
|
"i18n.qd.dialog.action.cancel": "Cancel",
|
|
148
|
+
"i18n.qd.dialog.action.close": "Close",
|
|
148
149
|
"i18n.qd.dialog.confirmation.checkbox.label": "Data complete and correct",
|
|
149
150
|
"i18n.qd.section.actions.menuButton.label": "Actions",
|
|
150
151
|
"i18n.qd.comments.add.dialog.title": "New comment",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"i18n.qd.tabs.tab.four": "Assessment",
|
|
146
146
|
"i18n.qd.dialog.action.primary": "Valider",
|
|
147
147
|
"i18n.qd.dialog.action.cancel": "Annuler",
|
|
148
|
+
"i18n.qd.dialog.action.close": "Fermer",
|
|
148
149
|
"i18n.qd.dialog.confirmation.checkbox.label": "Données complètes et correctes",
|
|
149
150
|
"i18n.qd.section.actions.menuButton.label": "Actions",
|
|
150
151
|
"i18n.qd.comments.add.dialog.title": "Nouveau commentaire",
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"i18n.qd.tabs.tab.four": "Assessment",
|
|
146
146
|
"i18n.qd.dialog.action.primary": "Conferma",
|
|
147
147
|
"i18n.qd.dialog.action.cancel": "Annulla",
|
|
148
|
+
"i18n.qd.dialog.action.close": "Chiudi",
|
|
148
149
|
"i18n.qd.dialog.confirmation.checkbox.label": "Dati completi e corretti",
|
|
149
150
|
"i18n.qd.section.actions.menuButton.label": "Azioni",
|
|
150
151
|
"i18n.qd.comments.add.dialog.title": "Nuovo commento",
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, Component, NgModule } from '@angular/core';
|
|
4
|
-
import * as i3 from '@ngx-translate/core';
|
|
5
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
6
|
-
import { QdButtonComponent, QdButtonGhostDirective, QdTextSectionComponent, QdTextSectionParagraphComponent, QdDialogActionComponent, QdDialogComponent, QdButtonModule, QdTextSectionModule, QdDialogModule } from './quadrel-enterprise-ui-framework.mjs';
|
|
7
|
-
import { DialogRef, DIALOG_DATA } from '@angular/cdk/dialog';
|
|
8
|
-
|
|
9
|
-
class QdDialogConfirmComponent {
|
|
10
|
-
dialogRef = inject(DialogRef);
|
|
11
|
-
data = inject(DIALOG_DATA);
|
|
12
|
-
config = this.data;
|
|
13
|
-
testId = this.data?.testId ?? 'dialog-confirm';
|
|
14
|
-
close() {
|
|
15
|
-
this.dialogRef.close(false);
|
|
16
|
-
}
|
|
17
|
-
confirm() {
|
|
18
|
-
this.dialogRef.close(true);
|
|
19
|
-
}
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDialogConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdDialogConfirmComponent, isStandalone: false, selector: "qd-dialog-confirm", ngImport: i0, template: "<qd-dialog>\n <qd-text-section>\n <qd-text-section-paragraph>\n {{ config.message.i18n | translate }}\n </qd-text-section-paragraph>\n </qd-text-section>\n\n <qd-dialog-action>\n <button qdButton qdButtonGhost color=\"secondary\" (click)=\"close()\" [data-test-id]=\"testId + '-close'\">\n {{ config.cancel.i18n | translate }}\n </button>\n\n <button qdButton color=\"error\" (click)=\"confirm()\" [data-test-id]=\"testId + '-proceed'\">\n {{ config.confirm.i18n | translate }}\n </button>\n </qd-dialog-action>\n</qd-dialog>\n", dependencies: [{ kind: "component", type: QdButtonComponent, selector: "button[qdButton], a[qdButton], button[qd-button]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "component", type: QdTextSectionComponent, selector: "qd-text-section" }, { kind: "component", type: QdTextSectionParagraphComponent, selector: "qd-text-section-paragraph" }, { kind: "component", type: QdDialogActionComponent, selector: "qd-dialog-action" }, { kind: "component", type: QdDialogComponent, selector: "qd-dialog" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
22
|
-
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDialogConfirmComponent, decorators: [{
|
|
24
|
-
type: Component,
|
|
25
|
-
args: [{ selector: 'qd-dialog-confirm', standalone: false, template: "<qd-dialog>\n <qd-text-section>\n <qd-text-section-paragraph>\n {{ config.message.i18n | translate }}\n </qd-text-section-paragraph>\n </qd-text-section>\n\n <qd-dialog-action>\n <button qdButton qdButtonGhost color=\"secondary\" (click)=\"close()\" [data-test-id]=\"testId + '-close'\">\n {{ config.cancel.i18n | translate }}\n </button>\n\n <button qdButton color=\"error\" (click)=\"confirm()\" [data-test-id]=\"testId + '-proceed'\">\n {{ config.confirm.i18n | translate }}\n </button>\n </qd-dialog-action>\n</qd-dialog>\n" }]
|
|
26
|
-
}] });
|
|
27
|
-
|
|
28
|
-
class QdDialogConfirmModule {
|
|
29
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDialogConfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
30
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: QdDialogConfirmModule, declarations: [QdDialogConfirmComponent], imports: [CommonModule, TranslateModule, QdButtonModule, QdTextSectionModule, QdDialogModule] });
|
|
31
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDialogConfirmModule, imports: [CommonModule, TranslateModule, QdButtonModule, QdTextSectionModule, QdDialogModule] });
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDialogConfirmModule, decorators: [{
|
|
34
|
-
type: NgModule,
|
|
35
|
-
args: [{
|
|
36
|
-
imports: [CommonModule, TranslateModule, QdButtonModule, QdTextSectionModule, QdDialogModule],
|
|
37
|
-
declarations: [QdDialogConfirmComponent]
|
|
38
|
-
}]
|
|
39
|
-
}] });
|
|
40
|
-
|
|
41
|
-
export { QdDialogConfirmComponent, QdDialogConfirmModule };
|
|
42
|
-
//# sourceMappingURL=quadrel-enterprise-ui-framework-dialog-confirm.module-BQLiEzSo.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quadrel-enterprise-ui-framework-dialog-confirm.module-BQLiEzSo.mjs","sources":["../../../libs/qd-ui/src/lib/dialog/confirm/dialog-confirm.component.ts","../../../libs/qd-ui/src/lib/dialog/confirm/dialog-confirm.component.html","../../../libs/qd-ui/src/lib/dialog/confirm/dialog-confirm.module.ts"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\n\nimport { QdDialogConfirmConfig } from '../models/dialog-confirm.model';\n\n@Component({\n selector: 'qd-dialog-confirm',\n templateUrl: './dialog-confirm.component.html',\n standalone: false\n})\nexport class QdDialogConfirmComponent {\n private dialogRef = inject<DialogRef<boolean>>(DialogRef);\n private data = inject(DIALOG_DATA);\n\n config: QdDialogConfirmConfig = this.data;\n testId: string = this.data?.testId ?? 'dialog-confirm';\n\n close(): void {\n this.dialogRef.close(false);\n }\n\n confirm(): void {\n this.dialogRef.close(true);\n }\n}\n","<qd-dialog>\n <qd-text-section>\n <qd-text-section-paragraph>\n {{ config.message.i18n | translate }}\n </qd-text-section-paragraph>\n </qd-text-section>\n\n <qd-dialog-action>\n <button qdButton qdButtonGhost color=\"secondary\" (click)=\"close()\" [data-test-id]=\"testId + '-close'\">\n {{ config.cancel.i18n | translate }}\n </button>\n\n <button qdButton color=\"error\" (click)=\"confirm()\" [data-test-id]=\"testId + '-proceed'\">\n {{ config.confirm.i18n | translate }}\n </button>\n </qd-dialog-action>\n</qd-dialog>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\n\nimport { QdButtonModule } from '../../button/button.module';\nimport { QdTextSectionModule } from '../../text-section/text-section.module';\nimport { QdDialogModule } from '../dialog.module';\nimport { QdDialogConfirmComponent } from './dialog-confirm.component';\n\nexport { QdDialogConfirmComponent } from './dialog-confirm.component';\n\n@NgModule({\n imports: [CommonModule, TranslateModule, QdButtonModule, QdTextSectionModule, QdDialogModule],\n declarations: [QdDialogConfirmComponent]\n})\nexport class QdDialogConfirmModule {}\n"],"names":["i1.QdButtonComponent","i2.QdButtonGhostDirective","i3.QdTextSectionComponent","i4.QdTextSectionParagraphComponent","i5.QdDialogActionComponent","i6.QdDialogComponent","i7"],"mappings":";;;;;;;;MAUa,wBAAwB,CAAA;AAC3B,IAAA,SAAS,GAAG,MAAM,CAAqB,SAAS,CAAC;AACjD,IAAA,IAAI,GAAG,MAAM,CAAC,WAAW,CAAC;AAElC,IAAA,MAAM,GAA0B,IAAI,CAAC,IAAI;IACzC,MAAM,GAAW,IAAI,CAAC,IAAI,EAAE,MAAM,IAAI,gBAAgB;IAEtD,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC;IAC7B;IAEA,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAC5B;wGAbW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,8ECVrC,sjBAiBA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,iBAAA,EAAA,QAAA,EAAA,kDAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,cAAA,EAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,sBAAA,EAAA,QAAA,EAAA,yCAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,sBAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,+BAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,uBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,iBAAA,EAAA,QAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,aAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,CAAA;;4FDPa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,mBAAmB,cAEjB,KAAK,EAAA,QAAA,EAAA,sjBAAA,EAAA;;;MEON,qBAAqB,CAAA;wGAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAArB,qBAAqB,EAAA,YAAA,EAAA,CAFjB,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAD7B,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,CAAA,EAAA,CAAA;yGAGjF,qBAAqB,EAAA,OAAA,EAAA,CAHtB,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,CAAA,EAAA,CAAA;;4FAGjF,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,CAAC;oBAC7F,YAAY,EAAE,CAAC,wBAAwB;AACxC,iBAAA;;;;;"}
|