@quadrel-enterprise-ui/framework 21.12.8 → 21.12.10

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.12.8",
3
+ "version": "21.12.10",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -4607,7 +4607,9 @@ interface QdTableConfig<T extends string> {
4607
4607
  */
4608
4608
  columns: QdTableConfigColumn<T>[];
4609
4609
  /**
4610
- * @description Activates a pagination with configurable available page sizes
4610
+ * Activates a pagination with configurable available page sizes.
4611
+ *
4612
+ * Needs a data resolver provided with `QD_TABLE_DATA_RESOLVER_TOKEN`. Without it, the table logs an error and does not paginate.
4611
4613
  */
4612
4614
  pagination?: true | QdTablePagination;
4613
4615
  /**
@@ -5419,8 +5421,9 @@ declare class QdSanitizeHtmlPipe implements PipeTransform {
5419
5421
  * description: The panel names the text section in a slot and renders it above the panel sections.
5420
5422
  *
5421
5423
  * @parent qd-dialog-confirmation {supported}
5422
- * description: Marked with qdDialogConfirmInfo, qdDialogConfirmSuccess or qdDialogConfirmError, it is the
5423
- * text the confirmation dialog shows in that state.
5424
+ * description: Marked with qdDialogConfirmationInfo, qdDialogConfirmationSuccess or qdDialogConfirmationError,
5425
+ * it is the text the confirmation dialog shows in that state. The short attributes
5426
+ * qdDialogConfirmInfo, qdDialogConfirmSuccess and qdDialogConfirmError do the same.
5424
5427
  */
5425
5428
  declare class QdTextSectionComponent {
5426
5429
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTextSectionComponent, never>;
@@ -11665,17 +11668,29 @@ declare class QdDialogRecordStepperComponent implements OnInit, AfterContentInit
11665
11668
  static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogRecordStepperComponent, "qd-dialog-record-stepper", never, { "data": { "alias": "data"; "required": true; }; }, { "changeStep": "changeStep"; }, never, never, false, never>;
11666
11669
  }
11667
11670
 
11671
+ /**
11672
+ * Marks the content that the confirmation dialog shows while it asks for confirmation.
11673
+ * The short attribute qdDialogConfirmInfo does the same.
11674
+ */
11668
11675
  declare class QdDialogConfirmationInfoDirective {
11669
11676
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogConfirmationInfoDirective, never>;
11670
- static ɵdir: i0.ɵɵDirectiveDeclaration<QdDialogConfirmationInfoDirective, "[qdDialogConfirmationInfo]", never, {}, {}, never, never, false, never>;
11677
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QdDialogConfirmationInfoDirective, "[qdDialogConfirmationInfo], [qdDialogConfirmInfo]", never, {}, {}, never, never, false, never>;
11671
11678
  }
11679
+ /**
11680
+ * Marks the content that the confirmation dialog shows after the confirmation succeeded.
11681
+ * The short attribute qdDialogConfirmSuccess does the same.
11682
+ */
11672
11683
  declare class QdDialogConfirmationSuccessDirective {
11673
11684
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogConfirmationSuccessDirective, never>;
11674
- static ɵdir: i0.ɵɵDirectiveDeclaration<QdDialogConfirmationSuccessDirective, "[qdDialogConfirmationSuccess]", never, {}, {}, never, never, false, never>;
11685
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QdDialogConfirmationSuccessDirective, "[qdDialogConfirmationSuccess], [qdDialogConfirmSuccess]", never, {}, {}, never, never, false, never>;
11675
11686
  }
11687
+ /**
11688
+ * Marks the content that the confirmation dialog shows after the confirmation failed.
11689
+ * The short attribute qdDialogConfirmError does the same.
11690
+ */
11676
11691
  declare class QdDialogConfirmationErrorDirective {
11677
11692
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogConfirmationErrorDirective, never>;
11678
- static ɵdir: i0.ɵɵDirectiveDeclaration<QdDialogConfirmationErrorDirective, "[qdDialogConfirmationError]", never, {}, {}, never, never, false, never>;
11693
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QdDialogConfirmationErrorDirective, "[qdDialogConfirmationError], [qdDialogConfirmError]", never, {}, {}, never, never, false, never>;
11679
11694
  }
11680
11695
  /**
11681
11696
  * `QdDialogConfirmationComponent` represents a confirmation dialog for your application.
@@ -11744,23 +11759,29 @@ declare class QdDialogConfirmationErrorDirective {
11744
11759
  * @slot [qdDialogConfirmInfo] {custom-markup}
11745
11760
  * description: Holds the content the dialog shows while it asks for confirmation.
11746
11761
  * enforcedBy: ng-content-select
11747
- * status: defect
11748
- * instead: Write the bare attribute qdDialogConfirmInfo on your element. The qdDialogConfirmationInfo
11749
- * directive does not reach this slot.
11762
+ *
11763
+ * @slot [qdDialogConfirmationInfo] {custom-markup}
11764
+ * description: Holds the content marked with the qdDialogConfirmationInfo directive, which the dialog
11765
+ * shows while it asks for confirmation.
11766
+ * enforcedBy: ng-content-select
11750
11767
  *
11751
11768
  * @slot [qdDialogConfirmSuccess] {custom-markup}
11752
11769
  * description: Holds the content the dialog shows after the confirmation succeeded.
11753
11770
  * enforcedBy: ng-content-select
11754
- * status: defect
11755
- * instead: Write the bare attribute qdDialogConfirmSuccess on your element. The
11756
- * qdDialogConfirmationSuccess directive does not reach this slot.
11771
+ *
11772
+ * @slot [qdDialogConfirmationSuccess] {custom-markup}
11773
+ * description: Holds the content marked with the qdDialogConfirmationSuccess directive, which the dialog
11774
+ * shows after the confirmation succeeded.
11775
+ * enforcedBy: ng-content-select
11757
11776
  *
11758
11777
  * @slot [qdDialogConfirmError] {custom-markup}
11759
11778
  * description: Holds the content the dialog shows after the confirmation failed.
11760
11779
  * enforcedBy: ng-content-select
11761
- * status: defect
11762
- * instead: Write the bare attribute qdDialogConfirmError on your element. The qdDialogConfirmationError
11763
- * directive does not reach this slot.
11780
+ *
11781
+ * @slot [qdDialogConfirmationError] {custom-markup}
11782
+ * description: Holds the content marked with the qdDialogConfirmationError directive, which the dialog
11783
+ * shows after the confirmation failed.
11784
+ * enforcedBy: ng-content-select
11764
11785
  */
11765
11786
  declare class QdDialogConfirmationComponent implements OnInit, OnDestroy {
11766
11787
  private readonly confirmationResolver;
@@ -11796,7 +11817,7 @@ declare class QdDialogConfirmationComponent implements OnInit, OnDestroy {
11796
11817
  private handleError;
11797
11818
  private addErrorNotification;
11798
11819
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogConfirmationComponent, never>;
11799
- static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogConfirmationComponent, "qd-dialog-confirmation", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["[qdDialogConfirmInfo]", "[qdDialogConfirmSuccess]", "[qdDialogConfirmError]"], false, never>;
11820
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogConfirmationComponent, "qd-dialog-confirmation", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["[qdDialogConfirmInfo]", "[qdDialogConfirmationInfo]", "[qdDialogConfirmSuccess]", "[qdDialogConfirmationSuccess]", "[qdDialogConfirmError]", "[qdDialogConfirmationError]"], false, never>;
11800
11821
  }
11801
11822
 
11802
11823
  /**
@@ -11897,7 +11918,7 @@ declare class QdSpinnerModule {
11897
11918
 
11898
11919
  declare class QdDialogModule {
11899
11920
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogModule, never>;
11900
- 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]>;
11921
+ 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 QdDialogConfirmationInfoDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPendingChangesGuardDirective]>;
11901
11922
  static ɵinj: i0.ɵɵInjectorDeclaration<QdDialogModule>;
11902
11923
  }
11903
11924
 
@@ -12944,6 +12965,7 @@ interface QdFilterItemEntry {
12944
12965
  declare class QdFilterItemSelectCategoryComponent implements OnInit, AfterViewInit, QdFilterListboxHost {
12945
12966
  private readonly filterService;
12946
12967
  private readonly breakpointService;
12968
+ private readonly changeDetectorRef;
12947
12969
  readonly isMobile$: Observable<boolean>;
12948
12970
  filterId: string;
12949
12971
  categoryIndex: number;
@@ -12972,6 +12994,7 @@ declare class QdFilterItemSelectCategoryComponent implements OnInit, AfterViewIn
12972
12994
  private readonly registeredOptions;
12973
12995
  get closeButton(): boolean;
12974
12996
  get activeItemCount(): number;
12997
+ isInitialFocusOption(itemIndex: number): boolean;
12975
12998
  get selectedDropdownEntries(): QdFilterItemEntry[];
12976
12999
  get unselectedDropdownEntries(): QdFilterItemEntry[];
12977
13000
  get showSelectedSeparator(): boolean;
@@ -14061,7 +14084,6 @@ declare class QdPageStepComponent extends CdkStep implements OnInit, OnChanges,
14061
14084
  * The stepper only moves on to the next step when this form is valid. Optional steps skip this check.
14062
14085
  */
14063
14086
  stepControl: AbstractControl;
14064
- infoBanners: QueryList<QdPageInfoBannerComponent>;
14065
14087
  private _destroyed$;
14066
14088
  constructor();
14067
14089
  ngOnInit(): void;
@@ -14070,7 +14092,7 @@ declare class QdPageStepComponent extends CdkStep implements OnInit, OnChanges,
14070
14092
  private blockCdkInput;
14071
14093
  private validateLabel;
14072
14094
  static ɵfac: i0.ɵɵFactoryDeclaration<QdPageStepComponent, never>;
14073
- static ɵcmp: i0.ɵɵComponentDeclaration<QdPageStepComponent, "qd-page-step", never, { "config": { "alias": "config"; "required": false; }; "stepControl": { "alias": "stepControl"; "required": false; }; }, {}, ["infoBanners"], ["qd-page-info-banner", "*"], true, never>;
14095
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdPageStepComponent, "qd-page-step", never, { "config": { "alias": "config"; "required": false; }; "stepControl": { "alias": "stepControl"; "required": false; }; }, {}, never, ["qd-page-info-banner", "*"], true, never>;
14074
14096
  }
14075
14097
 
14076
14098
  /**
@@ -14225,6 +14247,12 @@ interface QdPageTabsConfig {
14225
14247
  *
14226
14248
  * @default false
14227
14249
  */
14250
+ scrollable?: boolean;
14251
+ /**
14252
+ * Determines whether tabs are horizontally scrollable on screens smaller than lg (1280px).
14253
+ *
14254
+ * @deprecated The name has a typo. Use {@link scrollable} instead. When both are set, `scrollable` wins. Will be removed in v22.
14255
+ */
14228
14256
  scrollabe?: boolean;
14229
14257
  /**
14230
14258
  * Enables synchronization of the active tab with the Angular Router.
@@ -14360,11 +14388,6 @@ declare class QdPageTabComponent implements OnInit {
14360
14388
  */
14361
14389
  get tabControl(): AbstractControl;
14362
14390
  set tabControl(tabControl: AbstractControl);
14363
- /**
14364
- * The `qd-page-info-banner` elements projected into this tab.
14365
- * They render above the tab content while the tab is selected.
14366
- */
14367
- infoBanners: QueryList<QdPageInfoBannerComponent>;
14368
14391
  /**
14369
14392
  * Template with the projected tab content. QdPageTabs renders it for the selected tab.
14370
14393
  */
@@ -14386,7 +14409,7 @@ declare class QdPageTabComponent implements OnInit {
14386
14409
  private markInteractedOnError;
14387
14410
  private hasAnyError;
14388
14411
  static ɵfac: i0.ɵɵFactoryDeclaration<QdPageTabComponent, never>;
14389
- static ɵcmp: i0.ɵɵComponentDeclaration<QdPageTabComponent, "qd-page-tab", never, { "config": { "alias": "config"; "required": false; }; "tabControl": { "alias": "tabControl"; "required": false; }; }, {}, ["infoBanners"], ["qd-page-info-banner", "*"], true, never>;
14412
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdPageTabComponent, "qd-page-tab", never, { "config": { "alias": "config"; "required": false; }; "tabControl": { "alias": "tabControl"; "required": false; }; }, {}, never, ["qd-page-info-banner", "*"], true, never>;
14390
14413
  }
14391
14414
 
14392
14415
  /**
@@ -15489,7 +15512,6 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
15489
15512
  tabsComponent?: QdPageTabsComponent;
15490
15513
  stepperAdapterDirective?: QdPageStepperAdapterDirective;
15491
15514
  tabsAdapterDirective?: QdPageTabsAdapterDirective;
15492
- infoBanners: QueryList<QdPageInfoBannerComponent>;
15493
15515
  footerHasContent$: Observable<boolean>;
15494
15516
  isFooterVisible: boolean | undefined;
15495
15517
  projectionGuardMessage: string;
@@ -15516,7 +15538,7 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
15516
15538
  private initSubmitValidation;
15517
15539
  private setupPageDialogCloseContract;
15518
15540
  static ɵfac: i0.ɵɵFactoryDeclaration<QdPageComponent<any>, never>;
15519
- static ɵcmp: i0.ɵɵComponentDeclaration<QdPageComponent<any>, "qd-page", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "operationModeChanged": "operationModeChanged"; }, ["controlPanel", "stepperComponent", "tabsComponent", "stepperAdapterDirective", "tabsAdapterDirective", "sections", "infoBanners"], ["[qdPageHeaderExtension]", "qd-page-info-banner", "qd-page-stepper", "[qdPageStepperAdapter]", "qd-page-tabs", "[qdPageTabsAdapter]", "qd-section", "[qdSectionAdapter]", "[qdPageFooter]", "qd-page-control-panel", "*"], false, never>;
15541
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdPageComponent<any>, "qd-page", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "operationModeChanged": "operationModeChanged"; }, ["controlPanel", "stepperComponent", "tabsComponent", "stepperAdapterDirective", "tabsAdapterDirective", "sections"], ["[qdPageHeaderExtension]", "qd-page-info-banner", "qd-page-stepper", "[qdPageStepperAdapter]", "qd-page-tabs", "[qdPageTabsAdapter]", "qd-section", "[qdSectionAdapter]", "[qdPageFooter]", "qd-page-control-panel", "*"], false, never>;
15520
15542
  }
15521
15543
 
15522
15544
  /**
@@ -15797,6 +15819,7 @@ declare class QdDynamicFacetComponent<T> implements OnInit, OnChanges {
15797
15819
  data: T;
15798
15820
  testId?: string;
15799
15821
  private ref;
15822
+ private inputNames;
15800
15823
  get component(): {
15801
15824
  data: Text;
15802
15825
  facet: QdPageHeaderFacetConfig<T>;
@@ -15804,6 +15827,7 @@ declare class QdDynamicFacetComponent<T> implements OnInit, OnChanges {
15804
15827
  };
15805
15828
  ngOnInit(): void;
15806
15829
  ngOnChanges(changes: SimpleChanges): void;
15830
+ private setFacetValue;
15807
15831
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDynamicFacetComponent<any>, never>;
15808
15832
  static ɵcmp: i0.ɵɵComponentDeclaration<QdDynamicFacetComponent<any>, "qd-dynamic-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
15809
15833
  }
@@ -15923,7 +15947,7 @@ declare class QdProgressBarModule {
15923
15947
  * **Context**
15924
15948
  *
15925
15949
  * To configure the context you can inject the QdContextService at any time and initialize it. The context then will automatically be shown depending on the current page types.
15926
- * On pages of type overview and custom, the context is also changeable for the user. If you don't want the contexts to be shown on any page, use the `hideContext` property
15950
+ * On pages of type overview and custom, the context is also changeable for the user. If you don't want the contexts to be shown on any page, use the `hideContexts` property
15927
15951
  * in the page's configuration to fully hide the context on any page.
15928
15952
  *
15929
15953
  * **Initialize the context**
@@ -19142,7 +19166,7 @@ declare class QdShellNotificationsComponent implements OnInit {
19142
19166
  }
19143
19167
 
19144
19168
  /**
19145
- * **QdNotification** displays a single notification item within a **QdNotifications** container.
19169
+ * **QdShellNotificationComponent** displays a single notification item within a **qd-shell-notifications** container.
19146
19170
  */
19147
19171
  declare class QdShellNotificationComponent implements OnInit, OnChanges, OnDestroy {
19148
19172
  private readonly notificationService;