@quadrel-enterprise-ui/framework 19.6.1-beta.63.1 → 19.6.1-beta.66.1
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 +26 -25
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/lib/dialog/dialog.module.d.ts +3 -3
- package/lib/dialog/dialog.module.d.ts.map +1 -1
- package/lib/dialog/directives/pending-changes-guard.directive.d.ts +19 -18
- package/lib/dialog/directives/pending-changes-guard.directive.d.ts.map +1 -1
- package/lib/dialog/models/dialog-config.model.d.ts +2 -0
- package/lib/dialog/models/dialog-config.model.d.ts.map +1 -1
- package/lib/shell/header/service-navigation/shell-service-navigation.component.d.ts +2 -2
- package/lib/shell/header/service-navigation/shell-service-navigation.component.d.ts.map +1 -1
- package/lib/shell/model/shell-service-navigation-config.interface.d.ts +1 -1
- package/lib/shell/model/shell-service-navigation-config.interface.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -18448,23 +18448,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
18448
18448
|
}] } });
|
|
18449
18449
|
|
|
18450
18450
|
/**
|
|
18451
|
-
*
|
|
18452
|
-
*
|
|
18453
|
-
*
|
|
18454
|
-
*
|
|
18455
|
-
*
|
|
18456
|
-
*
|
|
18457
|
-
*
|
|
18458
|
-
*
|
|
18459
|
-
*
|
|
18460
|
-
*
|
|
18461
|
-
*
|
|
18462
|
-
*
|
|
18463
|
-
*
|
|
18464
|
-
*
|
|
18465
|
-
*
|
|
18451
|
+
* Tracks pending changes inside a QdDialog by comparing the current form value with the initial value.
|
|
18452
|
+
* Supports both Reactive Forms (FormGroupDirective) and Template-Driven Forms (NgForm).
|
|
18453
|
+
*
|
|
18454
|
+
* Relevant when closing the dialog (X icon or Cancel button):
|
|
18455
|
+
* - if the current value equals the initial value, closing will not trigger a pending-changes warning
|
|
18456
|
+
* - the form is reset to pristine, so the dialog behaves like “unchanged”
|
|
18457
|
+
*
|
|
18458
|
+
* #### **Usage (Reactive Form)**
|
|
18459
|
+
*
|
|
18460
|
+
* ```html
|
|
18461
|
+
* <qd-dialog>
|
|
18462
|
+
* <form [formGroup]="myForm" qdPendingChangesGuard>
|
|
18463
|
+
* <input type="text" formControlName="name" />
|
|
18464
|
+
* </form>
|
|
18465
|
+
* </qd-dialog>
|
|
18466
|
+
* ```
|
|
18466
18467
|
*/
|
|
18467
|
-
class
|
|
18468
|
+
class QdPendingChangesGuardDirective {
|
|
18468
18469
|
ngForm;
|
|
18469
18470
|
formGroupDirective;
|
|
18470
18471
|
changeGuard;
|
|
@@ -18503,10 +18504,10 @@ class PendingChangesGuardDirective {
|
|
|
18503
18504
|
this.statusSubscription?.unsubscribe();
|
|
18504
18505
|
this.changeGuard.setPendingChangesStatus(false);
|
|
18505
18506
|
}
|
|
18506
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type:
|
|
18507
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type:
|
|
18507
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: QdPendingChangesGuardDirective, deps: [{ token: i1$4.NgForm, optional: true }, { token: i1$4.FormGroupDirective, optional: true }, { token: QdDialogChangeGuardService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18508
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: QdPendingChangesGuardDirective, isStandalone: false, selector: "[qdPendingChangesGuard]", ngImport: i0 });
|
|
18508
18509
|
}
|
|
18509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type:
|
|
18510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: QdPendingChangesGuardDirective, decorators: [{
|
|
18510
18511
|
type: Directive,
|
|
18511
18512
|
args: [{
|
|
18512
18513
|
selector: '[qdPendingChangesGuard]',
|
|
@@ -18563,7 +18564,7 @@ class QdDialogModule {
|
|
|
18563
18564
|
QdDialogConfirmationSuccessDirective,
|
|
18564
18565
|
QdDialogRecordStepperComponent,
|
|
18565
18566
|
QdPageDialogWithBreadcrumbsComponent,
|
|
18566
|
-
|
|
18567
|
+
QdPendingChangesGuardDirective,
|
|
18567
18568
|
QdCancelDialogComponent], imports: [CommonModule,
|
|
18568
18569
|
TranslateModule,
|
|
18569
18570
|
RouterModule,
|
|
@@ -18582,7 +18583,7 @@ class QdDialogModule {
|
|
|
18582
18583
|
QdDialogConfirmationErrorDirective,
|
|
18583
18584
|
QdDialogConfirmationSuccessDirective,
|
|
18584
18585
|
QdDialogRecordStepperComponent,
|
|
18585
|
-
|
|
18586
|
+
QdPendingChangesGuardDirective] });
|
|
18586
18587
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: QdDialogModule, imports: [CommonModule,
|
|
18587
18588
|
TranslateModule,
|
|
18588
18589
|
RouterModule,
|
|
@@ -18623,7 +18624,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
18623
18624
|
QdDialogConfirmationSuccessDirective,
|
|
18624
18625
|
QdDialogRecordStepperComponent,
|
|
18625
18626
|
QdPageDialogWithBreadcrumbsComponent,
|
|
18626
|
-
|
|
18627
|
+
QdPendingChangesGuardDirective,
|
|
18627
18628
|
QdCancelDialogComponent
|
|
18628
18629
|
],
|
|
18629
18630
|
exports: [
|
|
@@ -18634,7 +18635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
18634
18635
|
QdDialogConfirmationErrorDirective,
|
|
18635
18636
|
QdDialogConfirmationSuccessDirective,
|
|
18636
18637
|
QdDialogRecordStepperComponent,
|
|
18637
|
-
|
|
18638
|
+
QdPendingChangesGuardDirective
|
|
18638
18639
|
]
|
|
18639
18640
|
}]
|
|
18640
18641
|
}] });
|
|
@@ -30659,7 +30660,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30659
30660
|
type: Injectable
|
|
30660
30661
|
}], ctorParameters: () => [{ type: i1$2.TranslateService }, { type: QdShellEportalLanguageService }] });
|
|
30661
30662
|
|
|
30662
|
-
const DEFAULT_JAVASCRIPT_ASSET_PATH$1 = 'assets/service-navigation-web-component.js';
|
|
30663
|
+
const DEFAULT_JAVASCRIPT_ASSET_PATH$1 = 'assets/service-navigation-web-component.js?version=14.2.0';
|
|
30663
30664
|
class QdShellServiceNavigationComponent {
|
|
30664
30665
|
serviceNavigationService;
|
|
30665
30666
|
translateService;
|
|
@@ -33182,5 +33183,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
33182
33183
|
* Generated bundle index. Do not edit.
|
|
33183
33184
|
*/
|
|
33184
33185
|
|
|
33185
|
-
export { APP_ENVIRONMENT, AVAILABLE_ICONS, BACKEND_ERROR_CODES, MockLocaleDatePipe, NavigationTileComponent, NavigationTilesComponent,
|
|
33186
|
+
export { APP_ENVIRONMENT, AVAILABLE_ICONS, BACKEND_ERROR_CODES, MockLocaleDatePipe, NavigationTileComponent, NavigationTilesComponent, QD_DIALOG_CONFIRMATION_RESOLVER_TOKEN, QD_FILE_MANAGER_TOKEN, QD_FILE_UPLOAD_MANAGER_TOKEN, QD_FORM_OPTIONS_RESOLVER, QD_PAGE_OBJECT_RESOLVER_TOKEN, QD_PAGE_STEP_RESOLVER_TOKEN, QD_POPOVER_TOP_FIRST, QD_SAFE_BOTTOM_OFFSET, QD_TABLE_DATA_RESOLVER_TOKEN, QD_UPLOAD_HTTP_OPTIONS, QdButtonComponent, QdButtonGhostDirective, QdButtonGridComponent, QdButtonLinkDirective, QdButtonModule, QdButtonStackButtonComponent, QdButtonStackComponent, QdCheckboxChipsComponent, QdCheckboxComponent, QdCheckboxesComponent, QdChipComponent, QdChipModule, QdColumnAutoFillDirective, QdColumnBreakBeforeDirective, QdColumnDirective, QdColumnDisableResponsiveColspansDirective, QdColumnFullGridWidthDirective, QdColumnNextInSameRowDirective, QdColumnsDirective, QdColumnsDisableAutoFillDirective, QdColumnsDisableResponsiveColspansDirective, QdColumnsMaxDirective, QdCommentsComponent, QdCommentsModule, QdConnectFormStateToPageDirective, QdConnectorTableContextDirective, QdConnectorTableFilterDirective, QdConnectorTableSearchDirective, QdContactCardComponent, QdContactCardModule, QdContainerPairsCaptionComponent, QdContainerPairsContainerComponent, QdContainerPairsHeaderComponent, QdContainerPairsItemComponent, QdContainerPairsValueComponent, QdContextService, QdCoreModule, QdDatepickerComponent, QdDialogActionComponent, QdDialogAuthSessionEndComponent, QdDialogAuthSessionEndService, QdDialogComponent, QdDialogConfirmationComponent, QdDialogConfirmationErrorDirective, QdDialogConfirmationInfoDirective, QdDialogConfirmationSuccessDirective, QdDialogModule, QdDialogRecordStepperComponent, QdDialogService, QdDialogSize, QdDisabledDirective, QdDropdownComponent, QdFileCollectorComponent, QdFileCollectorModule, QdFileSizePipe$1 as QdFileSizePipe, QdFileUploadComponent, QdFileUploadService, QdFilterComponent, QdFilterFormItemsComponent, QdFilterModule, QdFilterRestParamBuilder, QdFilterService, QdFormArray, QdFormBuilder, QdFormControl, QdFormGroup, QdFormModule, QdGridComponent, QdGridModule, QdHorizontalPairsCaptionComponent, QdHorizontalPairsComponent, QdHorizontalPairsItemComponent, QdHorizontalPairsValueComponent, QdIconButtonComponent, QdIconComponent, QdIconModule, QdImageComponent, QdImageModule, QdIndeterminateProgressBarComponent, QdInputComponent, QdListModule, QdMenuButtonComponent, QdMockBreakpointService, QdMockButtonComponent, QdMockButtonGhostDirective, QdMockButtonGridComponent, QdMockButtonLinkDirective, QdMockButtonModule, QdMockButtonStackButtonComponent, QdMockButtonStackComponent, QdMockCalendarComponent, QdMockCheckboxChipsComponent, QdMockCheckboxComponent, QdMockCheckboxesComponent, QdMockChipComponent, QdMockChipModule, QdMockColumnDirective, QdMockColumnsDirective, QdMockContactCardComponent, QdMockContactCardModule, QdMockContainerPairsCaptionComponent, QdMockContainerPairsContainerComponent, QdMockContainerPairsHeaderComponent, QdMockContainerPairsItemComponent, QdMockContainerPairsValueComponent, QdMockCoreModule, QdMockCounterBadgeComponent, QdMockDatepickerComponent, QdMockDisabledDirective, QdMockDropdownComponent, QdMockFileCollectorComponent, QdMockFileCollectorModule, QdMockFilterCategoryBooleanComponent, QdMockFilterCategoryComponent, QdMockFilterCategoryDateComponent, QdMockFilterCategoryDateRangeComponent, QdMockFilterCategoryFreeTextComponent, QdMockFilterCategorySelectComponent, QdMockFilterComponent, QdMockFilterFormItemsComponent, QdMockFilterItemBooleanComponent, QdMockFilterItemDateComponent, QdMockFilterItemDateRangeComponent, QdMockFilterItemFreeTextComponent, QdMockFilterItemMultiSelectComponent, QdMockFilterItemSingleSelectComponent, QdMockFilterModule, QdMockFilterService, QdMockFormErrorComponent, QdMockFormGroupErrorComponent, QdMockFormHintComponent, QdMockFormLabelComponent, QdMockFormReadonlyComponent, QdMockFormViewonlyComponent, QdMockFormsModule, QdMockGridModule, QdMockIconButtonComponent, QdMockIconComponent, QdMockIconModule, QdMockImageComponent, QdMockImageModule, QdMockIndeterminateProgressBarComponent, QdMockInputComponent, QdMockListModule, QdMockNavigationTileComponent, QdMockNavigationTilesComponent, QdMockNavigationTilesModule, QdMockNotificationComponent, QdMockNotificationContentComponent, QdMockNotificationsComponent, QdMockNotificationsModule, QdMockNotificationsService, QdMockPageComponent, QdMockPageModule, QdMockPercentageProgressBarComponent, QdMockPinCodeComponent, QdMockPlaceHolderModule, QdMockPopoverOnClickDirective, QdMockProgressBarModule, QdMockQdPlaceHolderComponent, QdMockRadioButtonsComponent, QdMockRwdDisabledDirective, QdMockSearchComponent, QdMockSearchModule, QdMockSectionComponent, QdMockSectionModule, QdMockShellComponent, QdMockShellFooterComponent, QdMockShellHeaderBannerComponent, QdMockShellHeaderComponent, QdMockShellHeaderSearchComponent, QdMockShellHeaderWidgetComponent, QdMockShellModule, QdMockShellToolbarComponent, QdMockShellToolbarItemComponent, QdMockStatusIndicatorCaptionComponent, QdMockStatusIndicatorComponent, QdMockStatusIndicatorItemComponent, QdMockStatusIndicatorModule, QdMockStatusPairsCaptionComponent, QdMockStatusPairsComponent, QdMockStatusPairsErrorComponent, QdMockStatusPairsItemComponent, QdMockStatusPairsValueComponent, QdMockSwitchComponent, QdMockSwitchesComponent, QdMockTableComponent, QdMockTableModule, QdMockTextSectionComponent, QdMockTextSectionHeadlineComponent, QdMockTextSectionModule, QdMockTextSectionParagraphComponent, QdMockTextareaComponent, QdMockTileButtonListComponent, QdMockTileComponent, QdMockTileTextListComponent, QdMockTileTextListItemComponent, QdMockTileTitleComponent, QdMockTilesContainerComponent, QdMockTilesContainerTitleComponent, QdMockTilesModule, QdMockTranslatePipe, QdMockVisuallyHiddenDirective, QdMultiInputComponent, QdNavigationTilesModule, QdNotificationComponent, QdNotificationContentComponent, QdNotificationsComponent, QdNotificationsHttpInterceptorService, QdNotificationsModule, QdNotificationsService, QdNotificationsSnackbarListenerDirective, QdPageComponent, QdPageControlPanelComponent, QdPageFooterComponent, QdPageFooterCustomContentDirective, QdPageInfoBannerComponent, QdPageModule, QdPageStepComponent, QdPageStepperAdapterDirective, QdPageStepperComponent, QdPageStepperModule, QdPageStoreService, QdPageTabComponent, QdPageTabsAdapterDirective, QdPageTabsComponent, QdPageTabsModule, QdPanelSectionActionsComponent, QdPanelSectionComponent, QdPanelSectionModule, QdPanelSectionStatusComponent, QdPanelSectionTextParagraphComponent, QdPendingChangesGuardDirective, QdPercentageProgressBarComponent, QdPinCodeComponent, QdPlaceHolderComponent, QdPlaceHolderModule, QdPlaceholderPipe, QdProgressBarModule, QdProjectionGuardComponent, QdPushEventsService, QdQuickEditComponent, QdQuickEditModule, QdRadioButtonsComponent, QdRichtextComponent, QdRwdDisabledDirective, QdSearchComponent, QdSearchModule, QdSectionAdapterDirective, QdSectionComponent, QdSectionModule, QdSectionToolbarComponent, QdShellComponent, QdShellModule, QdSortDirection, QdSpinnerComponent, QdSpinnerModule, QdStatusIndicatorComponent, QdStatusIndicatorModule, QdStatusPairsCaptionComponent, QdStatusPairsComponent, QdStatusPairsErrorComponent, QdStatusPairsItemComponent, QdStatusPairsValueComponent, QdSubgridComponent, QdSwitchComponent, QdSwitchesComponent, QdTableComponent, QdTableModule, QdTableSpringTools, QdTextSectionComponent, QdTextSectionHeadlineComponent, QdTextSectionModule, QdTextSectionParagraphComponent, QdTextareaComponent, QdTileButtonListComponent, QdTileComponent, QdTileTextListComponent, QdTileTextListItemComponent, QdTileTitleComponent, QdTilesComponent, QdTilesModule, QdTilesTitleComponent, QdTooltipAtIntersectionDirective, QdTreeComponent, QdTreeModule, QdTreeRowExpanderService, QdUiMockModule, QdUiModule, QdUploadErrorType, QdValidators, QdViewportAdaptiveDirective, QdVisuallyHiddenDirective, chipColorDefault, updateHtmlLang };
|
|
33186
33187
|
//# sourceMappingURL=quadrel-enterprise-ui-framework.mjs.map
|