@quadrel-enterprise-ui/framework 21.3.0 → 21.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "21.3.0",
3
+ "version": "21.4.0",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -20,12 +20,12 @@ import * as _quadrel_enterprise_ui_framework from '@quadrel-enterprise-ui/framew
20
20
  import * as i40 from 'ngx-editor';
21
21
  import { Editor, Toolbar } from 'ngx-editor';
22
22
  import { Moment as Moment$1 } from 'moment';
23
+ import * as i13 from '@angular/cdk/drag-drop';
23
24
  import * as i26 from '@ngrx/store';
24
25
  import * as i5$1 from '@angular/cdk/stepper';
25
26
  import { CdkStep, CdkStepper, StepState, CdkStepHeader } from '@angular/cdk/stepper';
26
27
  import * as i22 from '@angular/cdk/scrolling';
27
28
  import * as rxjs_internal_scheduler_AsyncScheduler from 'rxjs/internal/scheduler/AsyncScheduler';
28
- import * as i18 from '@angular/cdk/drag-drop';
29
29
  import { ComponentType } from '@angular/cdk/portal';
30
30
 
31
31
  /**
@@ -49,6 +49,16 @@ interface QdDialogConfig extends DialogConfig {
49
49
  * FullWidth - 100%
50
50
  */
51
51
  dialogSize?: QdDialogSize;
52
+ /**
53
+ * Allows the user to move the dialog with the mouse by dragging its header.
54
+ *
55
+ * Has no effect on page dialogs (`QdDialogSize.FullWidth`) and on small screens,
56
+ * where the dialog covers the whole viewport. The position is not persisted and
57
+ * resets whenever the dialog is reopened.
58
+ *
59
+ * @default false
60
+ */
61
+ isDraggable?: boolean;
52
62
  /**
53
63
  * Additional data for the dialog.
54
64
  */
@@ -10678,7 +10688,8 @@ declare class QdDialogActionComponent {
10678
10688
  * i18n: "i18.my.modal.title",
10679
10689
  * },
10680
10690
  * dialogSize: QdDialogSize.Default,
10681
- * hideCloseHeaderButton: false
10691
+ * hideCloseHeaderButton: false,
10692
+ * isDraggable: true,
10682
10693
  * data: myData // API to provide data to the dialog
10683
10694
  * }
10684
10695
  *
@@ -10714,6 +10725,7 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
10714
10725
  private changeDetectorRef;
10715
10726
  private dialogChangeGuard;
10716
10727
  private dialogService;
10728
+ private breakpointService;
10717
10729
  /**
10718
10730
  * A static test ID for integration tests can be set. <br />
10719
10731
  * The value for the HTML attribute [data-test-id].
@@ -10729,10 +10741,12 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
10729
10741
  config: QdDialogConfig;
10730
10742
  hasSections: boolean;
10731
10743
  hasInfoBanner: boolean;
10744
+ isMobile: boolean;
10732
10745
  private _destroyed$;
10733
10746
  private _pageDialogCanCloseFn;
10734
10747
  private _isConfirmingClose;
10735
10748
  get isFullWidth(): boolean;
10749
+ get isDragEnabled(): boolean;
10736
10750
  ngOnInit(): void;
10737
10751
  ngAfterContentChecked(): void;
10738
10752
  ngAfterViewInit(): void;
@@ -11235,7 +11249,7 @@ declare class QdSpinnerModule {
11235
11249
 
11236
11250
  declare class QdDialogModule {
11237
11251
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogModule, never>;
11238
- 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]>;
11252
+ 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 i13.CdkDrag, 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]>;
11239
11253
  static ɵinj: i0.ɵɵInjectorDeclaration<QdDialogModule>;
11240
11254
  }
11241
11255
 
@@ -17968,7 +17982,7 @@ declare class QdShellServiceNavigationModule {
17968
17982
 
17969
17983
  declare class QdShellModule {
17970
17984
  static ɵfac: i0.ɵɵFactoryDeclaration<QdShellModule, never>;
17971
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdShellModule, [typeof QdCounterBadgeComponent, typeof QdShellComponent, typeof QdShellFooterComponent, typeof QdShellHeaderBannerComponent, typeof QdShellHeaderComponent, typeof QdShellHeaderSearchComponent, 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 i18.CdkDrag, typeof QdIconModule, typeof QdSearchModule, typeof i5.TranslateModule, typeof QdNotificationsModule, typeof QdShellServiceNavigationModule], [typeof QdShellComponent]>;
17985
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdShellModule, [typeof QdCounterBadgeComponent, typeof QdShellComponent, typeof QdShellFooterComponent, typeof QdShellHeaderBannerComponent, typeof QdShellHeaderComponent, typeof QdShellHeaderSearchComponent, 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 i13.CdkDrag, typeof QdIconModule, typeof QdSearchModule, typeof i5.TranslateModule, typeof QdNotificationsModule, typeof QdShellServiceNavigationModule], [typeof QdShellComponent]>;
17972
17986
  static ɵinj: i0.ɵɵInjectorDeclaration<QdShellModule>;
17973
17987
  }
17974
17988