@quadrel-enterprise-ui/framework 21.8.0 → 21.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "21.8.0",
3
+ "version": "21.8.1",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -14277,32 +14277,41 @@ interface QdPageTabCounters {
14277
14277
  * @parent qd-page-tabs {supported}
14278
14278
  * description: The only place for a tab. The tabs component collects them and renders the selected one.
14279
14279
  */
14280
- declare class QdPageTabComponent implements OnInit, OnChanges, OnDestroy {
14281
- private readonly _pageTabs;
14280
+ declare class QdPageTabComponent implements OnInit {
14282
14281
  /**
14283
- * Configuration of QdPageTabComponent.
14284
- *
14285
- * * @note The use of CDK attributes is not permitted. Please configure this component here.
14282
+ * Configuration of the tab: label, name, id, counters and disabled state.
14286
14283
  */
14287
14284
  config: QdPageTabConfig;
14288
- /** Form control for this tab. */
14289
- set tabControl(tabControl: AbstractControl);
14285
+ /**
14286
+ * Form control of this tab. Drives the error state of the tab header and is
14287
+ * marked as touched on submit. Leave it out for tabs without a form.
14288
+ */
14290
14289
  get tabControl(): AbstractControl;
14290
+ set tabControl(tabControl: AbstractControl);
14291
+ /**
14292
+ * The `qd-page-info-banner` elements projected into this tab.
14293
+ * They render above the tab content while the tab is selected.
14294
+ */
14291
14295
  infoBanners: QueryList<QdPageInfoBannerComponent>;
14292
- content: TemplateRef<any>;
14293
- stepControl?: AbstractControl;
14296
+ /**
14297
+ * Template with the projected tab content. QdPageTabs renders it for the selected tab.
14298
+ */
14299
+ content: TemplateRef<unknown>;
14294
14300
  interacted: boolean;
14295
14301
  editable: boolean;
14302
+ private readonly _pageTabs;
14303
+ private readonly _destroyRef;
14304
+ private _control?;
14296
14305
  get completed(): boolean;
14297
14306
  get hasError(): boolean;
14298
- private _destroyed$;
14299
- select(): void;
14300
14307
  ngOnInit(): void;
14301
- ngOnChanges(changes?: SimpleChanges): void;
14302
- ngOnDestroy(): void;
14303
- private blockCdkInput;
14308
+ /**
14309
+ * Selects this tab in the surrounding QdPageTabs.
14310
+ */
14311
+ select(): void;
14304
14312
  private validateLabel;
14305
14313
  private initErrorCheck;
14314
+ private markInteractedOnError;
14306
14315
  private hasAnyError;
14307
14316
  static ɵfac: i0.ɵɵFactoryDeclaration<QdPageTabComponent, never>;
14308
14317
  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>;